2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for numlib 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='numlib'
730 PACKAGE_TARNAME
='numlib'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='numlib 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="atotimet.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
877 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
962 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
964 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
967 -build |
--build |
--buil |
--bui |
--bu)
968 ac_prev
=build_alias
;;
969 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
970 build_alias
=$ac_optarg ;;
972 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
973 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
974 ac_prev
=cache_file
;;
975 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
976 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
977 cache_file
=$ac_optarg ;;
980 cache_file
=config.cache
;;
982 -datadir |
--datadir |
--datadi |
--datad)
984 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
985 datadir
=$ac_optarg ;;
987 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
988 |
--dataroo |
--dataro |
--datar)
989 ac_prev
=datarootdir
;;
990 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
991 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
992 datarootdir
=$ac_optarg ;;
994 -disable-* |
--disable-*)
995 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
998 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
999 { (exit 1); exit 1; }; }
1000 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1001 eval enable_
$ac_feature=no
;;
1003 -docdir |
--docdir |
--docdi |
--doc |
--do)
1005 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1006 docdir
=$ac_optarg ;;
1008 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1010 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1011 dvidir
=$ac_optarg ;;
1013 -enable-* |
--enable-*)
1014 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1017 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1020 eval enable_
$ac_feature=\
$ac_optarg ;;
1022 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1023 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1024 |
--exec |
--exe |
--ex)
1025 ac_prev
=exec_prefix
;;
1026 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1027 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1028 |
--exec=* |
--exe=* |
--ex=*)
1029 exec_prefix
=$ac_optarg ;;
1031 -gas |
--gas |
--ga |
--g)
1032 # Obsolete; use --with-gas.
1035 -help |
--help |
--hel |
--he |
-h)
1036 ac_init_help
=long
;;
1037 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1038 ac_init_help
=recursive
;;
1039 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1040 ac_init_help
=short
;;
1042 -host |
--host |
--hos |
--ho)
1043 ac_prev
=host_alias
;;
1044 -host=* |
--host=* |
--hos=* |
--ho=*)
1045 host_alias
=$ac_optarg ;;
1047 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1049 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1051 htmldir
=$ac_optarg ;;
1053 -includedir |
--includedir |
--includedi |
--included |
--include \
1054 |
--includ |
--inclu |
--incl |
--inc)
1055 ac_prev
=includedir
;;
1056 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1057 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1058 includedir
=$ac_optarg ;;
1060 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1062 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1063 infodir
=$ac_optarg ;;
1065 -libdir |
--libdir |
--libdi |
--libd)
1067 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1068 libdir
=$ac_optarg ;;
1070 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1071 |
--libexe |
--libex |
--libe)
1072 ac_prev
=libexecdir
;;
1073 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1074 |
--libexe=* |
--libex=* |
--libe=*)
1075 libexecdir
=$ac_optarg ;;
1077 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1078 ac_prev
=localedir
;;
1079 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1080 localedir
=$ac_optarg ;;
1082 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1083 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1084 ac_prev
=localstatedir
;;
1085 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1086 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1087 localstatedir
=$ac_optarg ;;
1089 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1091 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1092 mandir
=$ac_optarg ;;
1094 -nfp |
--nfp |
--nf)
1095 # Obsolete; use --without-fp.
1098 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1099 |
--no-cr |
--no-c |
-n)
1102 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1103 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1106 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1107 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1108 |
--oldin |
--oldi |
--old |
--ol |
--o)
1109 ac_prev
=oldincludedir
;;
1110 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1111 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1112 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1113 oldincludedir
=$ac_optarg ;;
1115 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1117 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1118 prefix
=$ac_optarg ;;
1120 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1121 |
--program-pre |
--program-pr |
--program-p)
1122 ac_prev
=program_prefix
;;
1123 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1124 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1125 program_prefix
=$ac_optarg ;;
1127 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1128 |
--program-suf |
--program-su |
--program-s)
1129 ac_prev
=program_suffix
;;
1130 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1131 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1132 program_suffix
=$ac_optarg ;;
1134 -program-transform-name |
--program-transform-name \
1135 |
--program-transform-nam |
--program-transform-na \
1136 |
--program-transform-n |
--program-transform- \
1137 |
--program-transform |
--program-transfor \
1138 |
--program-transfo |
--program-transf \
1139 |
--program-trans |
--program-tran \
1140 |
--progr-tra |
--program-tr |
--program-t)
1141 ac_prev
=program_transform_name
;;
1142 -program-transform-name=* |
--program-transform-name=* \
1143 |
--program-transform-nam=* |
--program-transform-na=* \
1144 |
--program-transform-n=* |
--program-transform-=* \
1145 |
--program-transform=* |
--program-transfor=* \
1146 |
--program-transfo=* |
--program-transf=* \
1147 |
--program-trans=* |
--program-tran=* \
1148 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1149 program_transform_name
=$ac_optarg ;;
1151 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1153 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1154 pdfdir
=$ac_optarg ;;
1156 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1158 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1162 |
-silent |
--silent |
--silen |
--sile |
--sil)
1165 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1167 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1169 sbindir
=$ac_optarg ;;
1171 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1172 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1173 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1175 ac_prev
=sharedstatedir
;;
1176 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1177 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1178 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1180 sharedstatedir
=$ac_optarg ;;
1182 -site |
--site |
--sit)
1184 -site=* |
--site=* |
--sit=*)
1187 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1189 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1190 srcdir
=$ac_optarg ;;
1192 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1193 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1194 ac_prev
=sysconfdir
;;
1195 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1196 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1197 sysconfdir
=$ac_optarg ;;
1199 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1200 ac_prev
=target_alias
;;
1201 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1202 target_alias
=$ac_optarg ;;
1204 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1207 -version |
--version |
--versio |
--versi |
--vers |
-V)
1208 ac_init_version
=: ;;
1211 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 { echo "$as_me: error: invalid package name: $ac_package" >&2
1215 { (exit 1); exit 1; }; }
1216 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1217 eval with_
$ac_package=\
$ac_optarg ;;
1219 -without-* |
--without-*)
1220 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_
$ac_package=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) { echo "$as_me: error: unrecognized option: $ac_option
1247 Try \`$0 --help' for more information." >&2
1248 { (exit 1); exit 1; }; }
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1255 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1256 { (exit 1); exit 1; }; }
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 { echo "$as_me: error: missing argument to $ac_option" >&2
1274 { (exit 1); exit 1; }; }
1277 # Be sure to have absolute directory names.
1278 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279 datadir sysconfdir sharedstatedir localstatedir includedir \
1280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281 libdir localedir mandir
1283 eval ac_val
=\$
$ac_var
1285 [\\/$
]* | ?
:[\\/]* ) continue;;
1286 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1288 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1289 { (exit 1); exit 1; }; }
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1297 target
=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x
; then
1301 if test "x$build_alias" = x
; then
1302 cross_compiling
=maybe
1303 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 { echo "$as_me: error: Working directory cannot be determined" >&2
1320 { (exit 1); exit 1; }; }
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 { echo "$as_me: error: pwd does not report name of working directory" >&2
1323 { (exit 1); exit 1; }; }
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$0" ||
1331 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$0" : 'X\(//\)[^/]' \| \
1333 X"$0" : 'X\(//\)$' \| \
1334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1363 { (exit 1); exit 1; }; }
1365 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1368 { (exit 1); exit 1; }; }
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1378 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures numlib 0.10 to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/numlib]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of numlib 0.10:";;
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --disable-dependency-tracking speeds up one-time build
1472 --enable-dependency-tracking do not reject slow dependency extractors
1473 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1474 --enable-static[=PKGS
] build static libraries
[default
=yes]
1475 --enable-fast-install[=PKGS
]
1476 optimize
for fast installation
[default
=yes]
1477 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1483 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1485 --with-tags[=TAGS
] include additional configurations
[automatic
]
1487 Some influential environment variables
:
1488 CC C compiler
command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1496 CXX C
++ compiler
command
1497 CXXFLAGS C
++ compiler flags
1498 CXXCPP C
++ preprocessor
1499 F77 Fortran
77 compiler
command
1500 FFLAGS Fortran
77 compiler flags
1502 Use these variables to override the choices made by
`configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <courier-users@lists.sourceforge.net>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" || continue
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 numlib configure 0.10
1567 generated by GNU Autoconf 2.61
1569 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1570 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1576 cat >config.log <<_ACEOF
1577 This file contains any messages produced by compilers while
1578 running configure, to aid debugging if configure makes a mistake.
1580 It was created by numlib $as_me 0.10, which was
1581 generated by GNU Autoconf 2.61. Invocation command line was
1593 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1594 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1595 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1596 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1597 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1599 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1600 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1602 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1604 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1606 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1608 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 echo "PATH: $as_dir"
1633 # Keep a trace of the command line.
1634 # Strip out --no-create and --no-recursion so they do not pile up.
1635 # Strip out --silent because we don't want to record it for future runs.
1636 # Also quote any args containing shell meta-characters.
1637 # Make two passes to allow for proper duplicate-argument suppression.
1641 ac_must_keep_next=false
1647 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1649 | -silent | --silent | --silen | --sile | --sil)
1652 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1655 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1657 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1658 if test $ac_must_keep_next = true; then
1659 ac_must_keep_next=false # Got value, back to normal.
1662 *=* | --config-cache | -C | -disable-* | --disable-* \
1663 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1664 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1665 | -with-* | --with-* | -without-* | --without-* | --x)
1666 case "$ac_configure_args0 " in
1667 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1670 -* ) ac_must_keep_next=true ;;
1673 ac_configure_args="$ac_configure_args '$ac_arg'"
1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1681 # When interrupted or exit'd, cleanup temporary files, and complete
1682 # config.log. We remove comments because anyway the quotes in there
1683 # would cause problems or look ugly.
1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1686 trap 'exit_status=$?
1687 # Save into config.log some information that might help in debugging.
1692 ## ---------------- ##
1693 ## Cache variables. ##
1694 ## ---------------- ##
1697 # The following way of writing the cache mishandles newlines in values,
1699 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1700 eval ac_val=\$$ac_var
1704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1708 _ | IFS | as_nl) ;; #(
1709 *) $as_unset $ac_var ;;
1714 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1715 *${as_nl}ac_space=\ *)
1717 "s/'\''/'\''\\\\'\'''\''/g;
1718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1729 ## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##
1734 for ac_var in $ac_subst_vars
1736 eval ac_val=\$$ac_var
1738 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1740 echo "$ac_var='\''$ac_val'\''"
1744 if test -n "$ac_subst_files"; then
1746 ## ------------------- ##
1747 ## File substitutions. ##
1748 ## ------------------- ##
1751 for ac_var in $ac_subst_files
1753 eval ac_val=\$$ac_var
1755 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1757 echo "$ac_var='\''$ac_val'\''"
1762 if test -s confdefs.h; then
1772 test "$ac_signal" != 0 &&
1773 echo "$as_me: caught signal $ac_signal"
1774 echo "$as_me: exit $exit_status"
1776 rm -f core *.core core.conftest.* &&
1777 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1780 for ac_signal in 1 2 13 15; do
1781 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1785 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1786 rm -f -r conftest* confdefs.h
1788 # Predefined preprocessor variables.
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_NAME "$PACKAGE_NAME"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_STRING "$PACKAGE_STRING"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1815 # Let the site file select an alternate cache file if it wants to.
1816 # Prefer explicitly selected file to automatically selected ones.
1817 if test -n "$CONFIG_SITE"; then
1818 set x "$CONFIG_SITE"
1819 elif test "x$prefix" != xNONE; then
1820 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1822 set x "$ac_default_prefix/share/config.site" \
1823 "$ac_default_prefix/etc/config.site"
1828 if test -r "$ac_site_file"; then
1829 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1830 echo "$as_me: loading site script $ac_site_file" >&6;}
1831 sed 's/^/| /' "$ac_site_file" >&5
1836 if test -r "$cache_file"; then
1837 # Some versions of bash will fail to source /dev/null (special
1838 # files actually), so we avoid doing that.
1839 if test -f "$cache_file"; then
1840 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1841 echo "$as_me: loading cache $cache_file" >&6;}
1843 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1844 *) . "./$cache_file";;
1848 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1849 echo "$as_me: creating cache $cache_file" >&6;}
1853 # Check that the precious variables saved in the cache have kept the same
1855 ac_cache_corrupted=false
1856 for ac_var in $ac_precious_vars; do
1857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1858 eval ac_new_set=\$ac_env_${ac_var}_set
1859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1860 eval ac_new_val=\$ac_env_${ac_var}_value
1861 case $ac_old_set,$ac_new_set in
1863 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1864 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1865 ac_cache_corrupted=: ;;
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1872 if test "x$ac_old_val" != "x$ac_new_val"; then
1873 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1874 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1875 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1876 echo "$as_me: former value
: $ac_old_val" >&2;}
1877 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1878 echo "$as_me: current value
: $ac_new_val" >&2;}
1879 ac_cache_corrupted=:
1882 # Pass precious variables to config.status.
1883 if test "$ac_new_set" = set; then
1885 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1886 *) ac_arg=$ac_var=$ac_new_val ;;
1888 case " $ac_configure_args " in
1889 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1890 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1894 if $ac_cache_corrupted; then
1895 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1896 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1897 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1898 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1899 { (exit 1); exit 1; }; }
1927 ac_cpp='$CPP $CPPFLAGS'
1928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1934 >confdefs.h # Kill PACKAGE_ macros
1937 ac_config_headers="$ac_config_headers config.h"
1939 am__api_version='1.10'
1942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1943 if test -f "$ac_dir/install-sh"; then
1945 ac_install_sh="$ac_aux_dir/install-sh -c"
1947 elif test -f "$ac_dir/install.sh"; then
1949 ac_install_sh="$ac_aux_dir/install.sh -c"
1951 elif test -f "$ac_dir/shtool"; then
1953 ac_install_sh="$ac_aux_dir/shtool install -c"
1957 if test -z "$ac_aux_dir"; then
1958 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1959 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1960 { (exit 1); exit 1; }; }
1963 # These three variables are undocumented and unsupported,
1964 # and are intended to be withdrawn in a future Autoconf release.
1965 # They can cause serious problems if a builder's source tree is in a directory
1966 # whose full name contains unusual characters.
1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 # Find a good install program. We prefer a C program (faster),
1973 # so one script is as good as another. But avoid the broken or
1974 # incompatible versions:
1975 # SysV /etc/install, /usr/sbin/install
1976 # SunOS /usr/etc/install
1977 # IRIX /sbin/install
1979 # AmigaOS /C/install, which installs bootblocks on floppy discs
1980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1983 # OS/2's system install, which has a completely different semantic
1984 # ./install, which can be erroneously created by make from ./install.sh.
1985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1987 if test -z "$INSTALL"; then
1988 if test "${ac_cv_path_install+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 # Account for people who put trailing slashes in PATH elements.
1998 ./ | .// | /cC/* | \
1999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2003 # OSF1 and SCO ODT 3.0 have their own names for install.
2004 # Don't use installbsd from OSF since it installs stuff as root
2006 for ac_prog in ginstall scoinst install; do
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2009 if test $ac_prog = install &&
2010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011 # AIX install. It has an incompatible calling convention.
2013 elif test $ac_prog = install &&
2014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # program-specific install script used by HP pwplus--don't use.
2018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2031 if test "${ac_cv_path_install+set}" = set; then
2032 INSTALL=$ac_cv_path_install
2034 # As a last resort, use the slow shell script. Don't cache a
2035 # value for INSTALL within a source directory, because that will
2036 # break other packages using the cache if that directory is
2037 # removed, or if the value is a relative name.
2038 INSTALL=$ac_install_sh
2041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2042 echo "${ECHO_T}$INSTALL" >&6; }
2044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045 # It thinks the first close brace ends the variable substitution.
2046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2052 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2053 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2056 echo timestamp > conftest.file
2057 # Do `set' in a subshell so we don't clobber the current shell
's
2058 # arguments. Must try -L first in case configure is actually a
2059 # symlink; some systems play weird games with the mod time of symlinks
2060 # (eg FreeBSD returns the mod time of the symlink's containing
2063 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2064 if test "$*" = "X"; then
2066 set X
`ls -t $srcdir/configure conftest.file`
2069 if test "$*" != "X $srcdir/configure conftest.file" \
2070 && test "$*" != "X conftest.file $srcdir/configure"; then
2072 # If neither matched, then we have a broken ls. This can happen
2073 # if, for instance, CONFIG_SHELL is bash and it inherits a
2074 # broken ls alias from the environment. This has actually
2075 # happened. Such a system could not be considered "sane".
2076 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2077 alias in your environment" >&5
2078 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&2;}
2080 { (exit 1); exit 1; }; }
2083 test "$2" = conftest.
file
2089 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2090 Check your system clock" >&5
2091 echo "$as_me: error: newly created file is older than distributed files!
2092 Check your system clock" >&2;}
2093 { (exit 1); exit 1; }; }
2095 { echo "$as_me:$LINENO: result: yes" >&5
2096 echo "${ECHO_T}yes" >&6; }
2097 test "$program_prefix" != NONE
&&
2098 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2099 # Use a double $ so make ignores it.
2100 test "$program_suffix" != NONE
&&
2101 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2102 # Double any \ or $. echo might interpret backslashes.
2103 # By default was `s,x,x', remove it if useless.
2104 cat <<\_ACEOF
>conftest.
sed
2105 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2107 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2110 # expand $ac_aux_dir to an absolute path
2111 am_aux_dir
=`cd $ac_aux_dir && pwd`
2113 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2114 # Use eval to expand $SHELL
2115 if eval "$MISSING --run true"; then
2116 am_missing_run
="$MISSING --run "
2119 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2120 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2123 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2124 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2125 if test -z "$MKDIR_P"; then
2126 if test "${ac_cv_path_mkdir+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_prog
in mkdir gmkdir
; do
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2137 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2138 'mkdir (GNU coreutils) '* | \
2139 'mkdir (coreutils) '* | \
2140 'mkdir (fileutils) '4.1*)
2141 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2151 if test "${ac_cv_path_mkdir+set}" = set; then
2152 MKDIR_P
="$ac_cv_path_mkdir -p"
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for MKDIR_P within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 test -d .
/--version && rmdir .
/--version
2159 MKDIR_P
="$ac_install_sh -d"
2162 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2163 echo "${ECHO_T}$MKDIR_P" >&6; }
2167 [\\/$
]* | ?
:[\\/]*) ;;
2168 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2171 for ac_prog
in gawk mawk nawk
awk
2173 # Extract the first word of "$ac_prog", so it can be a program name with args.
2174 set dummy
$ac_prog; ac_word
=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_AWK+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$AWK"; then
2181 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_AWK
="$ac_prog"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test -n "$AWK"; then
2202 { echo "$as_me:$LINENO: result: $AWK" >&5
2203 echo "${ECHO_T}$AWK" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2210 test -n "$AWK" && break
2213 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2214 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2215 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6; }
2238 { echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 rm -rf .tst
2>/dev
/null
2244 mkdir .tst
2>/dev
/null
2245 if test -d .tst
; then
2250 rmdir .tst
2>/dev
/null
2252 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2254 # is not polluted with repeated "-I."
2255 am__isrc
=' -I$(srcdir)'
2256 # test to see if srcdir already configured
2257 if test -f $srcdir/config.status
; then
2258 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2259 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2260 { (exit 1); exit 1; }; }
2264 # test whether we have cygpath
2265 if test -z "$CYGPATH_W"; then
2266 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2267 CYGPATH_W
='cygpath -w'
2274 # Define the identity of the package.
2279 # Some tools Automake needs.
2281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2295 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2297 # Installed binaries are usually stripped using `strip' when the user
2298 # run `make install-strip'. However `strip' might not be the right
2299 # tool to use in cross-compilation environments, therefore Automake
2300 # will honor the `STRIP' environment variable to overrule this program.
2301 if test "$cross_compiling" != no
; then
2302 if test -n "$ac_tool_prefix"; then
2303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_STRIP+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$STRIP"; then
2311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 STRIP
=$ac_cv_prog_STRIP
2331 if test -n "$STRIP"; then
2332 { echo "$as_me:$LINENO: result: $STRIP" >&5
2333 echo "${ECHO_T}$STRIP" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2341 if test -z "$ac_cv_prog_STRIP"; then
2343 # Extract the first word of "strip", so it can be a program name with args.
2344 set dummy strip
; ac_word
=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_STRIP"; then
2351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_STRIP
="strip"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2371 if test -n "$ac_ct_STRIP"; then
2372 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
2379 if test "x$ac_ct_STRIP" = x
; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
2387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390 ac_tool_warned
=yes ;;
2395 STRIP
="$ac_cv_prog_STRIP"
2399 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2407 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 for ac_prog
in gawk mawk nawk
awk
2416 # Extract the first word of "$ac_prog", so it can be a program name with args.
2417 set dummy
$ac_prog; ac_word
=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_AWK+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$AWK"; then
2424 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_AWK
="$ac_prog"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$AWK"; then
2445 { echo "$as_me:$LINENO: result: $AWK" >&5
2446 echo "${ECHO_T}$AWK" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2453 test -n "$AWK" && break
2457 ac_cpp
='$CPP $CPPFLAGS'
2458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2463 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$CC"; then
2470 ac_cv_prog_CC
="$CC" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 if test -n "$CC"; then
2491 { echo "$as_me:$LINENO: result: $CC" >&5
2492 echo "${ECHO_T}$CC" >&6; }
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
2500 if test -z "$ac_cv_prog_CC"; then
2502 # Extract the first word of "gcc", so it can be a program name with args.
2503 set dummy gcc
; ac_word
=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$ac_ct_CC"; then
2510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_ac_ct_CC
="gcc"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2530 if test -n "$ac_ct_CC"; then
2531 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2532 echo "${ECHO_T}$ac_ct_CC" >&6; }
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2538 if test "x$ac_ct_CC" = x
; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned
=yes ;;
2557 if test -z "$CC"; then
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2560 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2563 if test "${ac_cv_prog_CC+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$CC"; then
2567 ac_cv_prog_CC
="$CC" # Let the user override the test.
2569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir
=.
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 if test -n "$CC"; then
2588 { echo "$as_me:$LINENO: result: $CC" >&5
2589 echo "${ECHO_T}$CC" >&6; }
2591 { echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6; }
2598 if test -z "$CC"; then
2599 # Extract the first word of "cc", so it can be a program name with args.
2600 set dummy cc
; ac_word
=$2
2601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC
="$CC" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2618 ac_prog_rejected
=yes
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test $ac_prog_rejected = yes; then
2630 # We found a bogon in the path, so make sure we never use it.
2631 set dummy
$ac_cv_prog_CC
2633 if test $# != 0; then
2634 # We chose a different compiler from the bogus one.
2635 # However, it has the same basename, so the bogon will be chosen
2636 # first if we set CC to just the basename; use the full file name.
2638 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2644 if test -n "$CC"; then
2645 { echo "$as_me:$LINENO: result: $CC" >&5
2646 echo "${ECHO_T}$CC" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2654 if test -z "$CC"; then
2655 if test -n "$ac_tool_prefix"; then
2656 for ac_prog
in cl.exe
2658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2659 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2662 if test "${ac_cv_prog_CC+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 if test -n "$CC"; then
2666 ac_cv_prog_CC
="$CC" # Let the user override the test.
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$CC"; then
2687 { echo "$as_me:$LINENO: result: $CC" >&5
2688 echo "${ECHO_T}$CC" >&6; }
2690 { echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6; }
2695 test -n "$CC" && break
2698 if test -z "$CC"; then
2700 for ac_prog
in cl.exe
2702 # Extract the first word of "$ac_prog", so it can be a program name with args.
2703 set dummy
$ac_prog; ac_word
=$2
2704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 if test -n "$ac_ct_CC"; then
2710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_CC
="$ac_prog"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2730 if test -n "$ac_ct_CC"; then
2731 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2732 echo "${ECHO_T}$ac_ct_CC" >&6; }
2734 { echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6; }
2739 test -n "$ac_ct_CC" && break
2742 if test "x$ac_ct_CC" = x
; then
2745 case $cross_compiling:$ac_tool_warned in
2747 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2748 whose name does not start with the host triplet. If you think this
2749 configuration is useful to you, please write to autoconf@gnu.org." >&5
2750 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2751 whose name does not start with the host triplet. If you think this
2752 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2753 ac_tool_warned
=yes ;;
2762 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2763 See \`config.log' for more details." >&5
2764 echo "$as_me: error: no acceptable C compiler found in \$PATH
2765 See \`config.log' for more details." >&2;}
2766 { (exit 1); exit 1; }; }
2768 # Provide some information about the compiler.
2769 echo "$as_me:$LINENO: checking for C compiler version" >&5
2770 ac_compiler
=`set X $ac_compile; echo $2`
2771 { (ac_try
="$ac_compiler --version >&5"
2773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_compiler --version >&5") 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }
2781 { (ac_try="$ac_compiler -v >&5"
2783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2784 *) ac_try_echo
=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_compiler -v >&5") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }
2791 { (ac_try
="$ac_compiler -V >&5"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compiler -V >&5") 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }
2802 cat >conftest.$ac_ext <<_ACEOF
2805 cat confdefs.h >>conftest.$ac_ext
2806 cat >>conftest.$ac_ext <<_ACEOF
2807 /* end confdefs.h. */
2817 ac_clean_files_save=$ac_clean_files
2818 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2819 # Try to create an executable without -o first, disregard a.out.
2820 # It will help us diagnose broken compilers, and finding out an intuition
2822 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2823 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2824 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2826 # List of possible output files, starting from the most likely.
2827 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2828 # only as a last resort. b.out is created by i960 compilers.
2829 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2831 # The IRIX 6 linker writes into existing files which may not be
2832 # executable, retaining their permissions. Remove them first so a
2833 # subsequent execution test works.
2835 for ac_file in $ac_files
2838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2839 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2844 if { (ac_try="$ac_link_default"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_link_default") 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2855 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2856 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2857 # so that the user can short-circuit this test for compilers unknown to
2859 for ac_file
in $ac_files ''
2861 test -f "$ac_file" ||
continue
2863 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2866 # We found the default executable, but exeext='' is most
2870 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2872 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874 # We set ac_cv_exeext here because the later test for it is not
2875 # safe: cross compilers may not add the suffix if given an `-o'
2876 # argument, so we may need to know it at that point already.
2877 # Even if this section looks crufty: it has the advantage of
2884 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2890 { echo "$as_me:$LINENO: result: $ac_file" >&5
2891 echo "${ECHO_T}$ac_file" >&6; }
2892 if test -z "$ac_file"; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2896 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2897 See \`config.log' for more details." >&5
2898 echo "$as_me: error: C compiler cannot create executables
2899 See \`config.log' for more details." >&2;}
2900 { (exit 77); exit 77; }; }
2903 ac_exeext
=$ac_cv_exeext
2905 # Check that the compiler produces executables we can run. If not, either
2906 # the compiler is broken, or we cross compile.
2907 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2908 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2909 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2910 # If not cross compiling, check that we can run a simple program.
2911 if test "$cross_compiling" != yes; then
2912 if { ac_try
='./$ac_file'
2913 { (case "(($ac_try" in
2914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_try") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2924 if test "$cross_compiling" = maybe; then
2927 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2928 If you meant to cross compile, use \`--host'.
2929 See \`config.log' for more details.
" >&5
2930 echo "$as_me: error
: cannot run C compiled programs.
2931 If you meant to cross compile
, use \
`--host'.
2932 See \`config.log
' for more details." >&2;}
2933 { (exit 1); exit 1; }; }
2937 { echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6; }
2940 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2941 ac_clean_files=$ac_clean_files_save
2942 # Check that the compiler produces executables we can run. If not, either
2943 # the compiler is broken, or we cross compile.
2944 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2945 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2946 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2947 echo "${ECHO_T}$cross_compiling" >&6; }
2949 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2950 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2951 if { (ac_try="$ac_link"
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_link") 2>&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; then
2961 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2962 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2963 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2965 for ac_file
in conftest.exe conftest conftest.
*; do
2966 test -f "$ac_file" ||
continue
2968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2969 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2975 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&5
2977 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2978 See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }
2982 rm -f conftest
$ac_cv_exeext
2983 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2984 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2986 rm -f conftest.
$ac_ext
2987 EXEEXT
=$ac_cv_exeext
2989 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2990 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2991 if test "${ac_cv_objext+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3009 rm -f conftest.o conftest.obj
3010 if { (ac_try
="$ac_compile"
3012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_compile") 2>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; then
3020 for ac_file in conftest.o conftest.obj conftest.*; do
3021 test -f "$ac_file" || continue;
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3024 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3033 See \`config.log
' for more details." >&5
3034 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3035 See \`config.log' for more details.
" >&2;}
3036 { (exit 1); exit 1; }; }
3039 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3041 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3042 echo "${ECHO_T}$ac_cv_objext" >&6; }
3043 OBJEXT=$ac_cv_objext
3045 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3046 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3047 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3048 echo $ECHO_N "(cached
) $ECHO_C" >&6
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3068 rm -f conftest.$ac_objext
3069 if { (ac_try="$ac_compile"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_compile") 2>conftest.er1
3077 grep -v '^ *+' conftest.er1 >conftest.err
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3081 (exit $ac_status); } && {
3082 test -z "$ac_c_werror_flag" ||
3083 test ! -s conftest.err
3084 } && test -s conftest.$ac_objext; then
3087 echo "$as_me: failed program was
:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3097 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3098 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3099 GCC=`test $ac_compiler_gnu = yes && echo yes`
3100 ac_test_CFLAGS=${CFLAGS+set}
3101 ac_save_CFLAGS=$CFLAGS
3102 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3103 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3104 if test "${ac_cv_prog_cc_g+set}" = set; then
3105 echo $ECHO_N "(cached
) $ECHO_C" >&6
3107 ac_save_c_werror_flag=$ac_c_werror_flag
3108 ac_c_werror_flag=yes
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3145 echo "$as_me: failed program was
:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 cat >conftest.$ac_ext <<_ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3203 rm -f conftest.$ac_objext
3204 if { (ac_try="$ac_compile"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3222 echo "$as_me: failed program was
:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3238 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3239 if test "$ac_test_CFLAGS" = set; then
3240 CFLAGS=$ac_save_CFLAGS
3241 elif test $ac_cv_prog_cc_g = yes; then
3242 if test "$GCC" = yes; then
3248 if test "$GCC" = yes; then
3254 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3255 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3256 if test "${ac_cv_prog_cc_c89+set}" = set; then
3257 echo $ECHO_N "(cached
) $ECHO_C" >&6
3259 ac_cv_prog_cc_c89=no
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3272 struct buf { int x; };
3273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3274 static char *e (p, i)
3280 static char *f (char * (*g) (char **, int), char **p, ...)
3285 s = g (p, va_arg (v,int));
3290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3291 function prototypes and stuff, but not '\xHH' hex character constants.
3292 These don't provoke an error unfortunately, instead are silently treated
3293 as 'x'. The following induces an error, until -std is added to get
3294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3295 array size at least. It's necessary to write '\x00'==0 to get something
3296 that's true only with -std. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3300 inside strings and character constants. */
3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3304 int test (int i, double x);
3305 struct s1 {int (*f) (int a);};
3306 struct s2 {int (*f) (double a);};
3307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321 CC="$ac_save_CC $ac_arg"
3322 rm -f conftest.$ac_objext
3323 if { (ac_try="$ac_compile"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compile") 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3335 (exit $ac_status); } && {
3336 test -z "$ac_c_werror_flag" ||
3337 test ! -s conftest.err
3338 } && test -s conftest.$ac_objext; then
3339 ac_cv_prog_cc_c89=$ac_arg
3341 echo "$as_me: failed program was
:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3347 rm -f core conftest.err conftest.$ac_objext
3348 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3350 rm -f conftest.$ac_ext
3355 case "x
$ac_cv_prog_cc_c89" in
3357 { echo "$as_me:$LINENO: result
: none needed
" >&5
3358 echo "${ECHO_T}none needed
" >&6; } ;;
3360 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3361 echo "${ECHO_T}unsupported
" >&6; } ;;
3363 CC="$CC $ac_cv_prog_cc_c89"
3364 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3365 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3370 ac_cpp='$CPP $CPPFLAGS'
3371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 DEPDIR="${am__leading_dot}deps
"
3376 ac_config_commands="$ac_config_commands depfiles
"
3379 am_make=${MAKE-make}
3380 cat > confinc << 'END'
3385 # If we don't find an include directive, just comment out the code.
3386 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3387 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3391 # First try GNU make style include.
3392 echo "include confinc" > confmf
3393 # We grep out `Entering directory' and `Leaving directory'
3394 # messages which can occur if `w' ends up in MAKEFLAGS.
3395 # In particular we don't look at `^make:' because GNU make might
3396 # be invoked under some other name (usually "gmake"), in which
3397 # case it prints its new name instead of `make'.
3398 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3403 # Now try BSD make style include.
3404 if test "$am__include" = "#"; then
3405 echo '.include "confinc"' > confmf
3406 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3407 am__include
=.include
3414 { echo "$as_me:$LINENO: result: $_am_result" >&5
3415 echo "${ECHO_T}$_am_result" >&6; }
3416 rm -f confinc confmf
3418 # Check whether --enable-dependency-tracking was given.
3419 if test "${enable_dependency_tracking+set}" = set; then
3420 enableval
=$enable_dependency_tracking;
3423 if test "x$enable_dependency_tracking" != xno
; then
3424 am_depcomp
="$ac_aux_dir/depcomp"
3427 if test "x$enable_dependency_tracking" != xno; then
3437 depcc
="$CC" am_compiler_list
=
3439 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3440 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3441 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3445 # We make a subdir and do the tests there. Otherwise we can end up
3446 # making bogus files that we don't know about and never remove. For
3447 # instance it was reported that on HP-UX the gcc test will end up
3448 # making a dummy file named `D' -- because `-MD' means `put the output
3451 # Copy depcomp to subdir because otherwise we won't find it if we're
3452 # using a relative directory.
3453 cp "$am_depcomp" conftest.dir
3455 # We will build objects and dependencies in a subdirectory because
3456 # it helps to detect inapplicable dependency modes. For instance
3457 # both Tru64's cc and ICC support -MD to output dependencies as a
3458 # side effect of compilation, but ICC will put the dependencies in
3459 # the current directory while Tru64 will put them in the object
3463 am_cv_CC_dependencies_compiler_type
=none
3464 if test "$am_compiler_list" = ""; then
3465 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3467 for depmode
in $am_compiler_list; do
3468 # Setup a source with many dependencies, because some compilers
3469 # like to wrap large dependency lists on column 80 (with \), and
3470 # we should not choose a depcomp mode which is confused by this.
3472 # We need to recreate these files for each test, as the compiler may
3473 # overwrite some of them when testing with obscure command lines.
3474 # This happens at least with the AIX C compiler.
3476 for i
in 1 2 3 4 5 6; do
3477 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3478 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3479 # Solaris 8's {/usr,}/bin/sh.
3480 touch sub
/conftst
$i.h
3482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3486 # after this tag, mechanisms are not by side-effect, so they'll
3487 # only be used when explicitly requested
3488 if test "x$enable_dependency_tracking" = xyes
; then
3496 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3497 # mode. It turns out that the SunPro C++ compiler does not properly
3498 # handle `-M -o', and we need to detect this.
3499 if depmode
=$depmode \
3500 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3501 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3502 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3503 >/dev
/null
2>conftest.err
&&
3504 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3505 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3506 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3507 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3508 # icc doesn't choke on unknown options, it will just issue warnings
3509 # or remarks (even with -Werror). So we grep stderr for any message
3510 # that says an option was ignored or not supported.
3511 # When given -MP, icc 7.0 and 7.1 complain thusly:
3512 # icc: Command line warning: ignoring option '-M'; no argument required
3513 # The diagnosis changed in icc 8.0:
3514 # icc: Command line remark: option '-MP' not supported
3515 if (grep 'ignoring option' conftest.err ||
3516 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3517 am_cv_CC_dependencies_compiler_type
=$depmode
3526 am_cv_CC_dependencies_compiler_type
=none
3530 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3531 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3532 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3535 test "x$enable_dependency_tracking" != xno \
3536 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3538 am__fastdepCC_FALSE
='#'
3540 am__fastdepCC_TRUE
='#'
3541 am__fastdepCC_FALSE
=
3545 # Find a good install program. We prefer a C program (faster),
3546 # so one script is as good as another. But avoid the broken or
3547 # incompatible versions:
3548 # SysV /etc/install, /usr/sbin/install
3549 # SunOS /usr/etc/install
3550 # IRIX /sbin/install
3552 # AmigaOS /C/install, which installs bootblocks on floppy discs
3553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3556 # OS/2's system install, which has a completely different semantic
3557 # ./install, which can be erroneously created by make from ./install.sh.
3558 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3560 if test -z "$INSTALL"; then
3561 if test "${ac_cv_path_install+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 # Account for people who put trailing slashes in PATH elements.
3571 .
/ | .
// |
/cC
/* | \
3572 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3573 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3576 # OSF1 and SCO ODT 3.0 have their own names for install.
3577 # Don't use installbsd from OSF since it installs stuff as root
3579 for ac_prog
in ginstall scoinst
install; do
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3582 if test $ac_prog = install &&
3583 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3584 # AIX install. It has an incompatible calling convention.
3586 elif test $ac_prog = install &&
3587 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3588 # program-specific install script used by HP pwplus--don't use.
3591 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3604 if test "${ac_cv_path_install+set}" = set; then
3605 INSTALL
=$ac_cv_path_install
3607 # As a last resort, use the slow shell script. Don't cache a
3608 # value for INSTALL within a source directory, because that will
3609 # break other packages using the cache if that directory is
3610 # removed, or if the value is a relative name.
3611 INSTALL
=$ac_install_sh
3614 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3615 echo "${ECHO_T}$INSTALL" >&6; }
3617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3618 # It thinks the first close brace ends the variable substitution.
3619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3623 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3625 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3628 if test "$LN_S" = "ln -s"; then
3629 { echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6; }
3632 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3633 echo "${ECHO_T}no, using $LN_S" >&6; }
3636 # Check whether --enable-shared was given.
3637 if test "${enable_shared+set}" = set; then
3638 enableval
=$enable_shared; p
=${PACKAGE-default}
3640 yes) enable_shared
=yes ;;
3641 no
) enable_shared
=no
;;
3644 # Look at the argument we got. We use all the common list separators.
3645 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3646 for pkg
in $enableval; do
3648 if test "X$pkg" = "X$p"; then
3660 # Check whether --enable-static was given.
3661 if test "${enable_static+set}" = set; then
3662 enableval
=$enable_static; p
=${PACKAGE-default}
3664 yes) enable_static
=yes ;;
3665 no
) enable_static
=no
;;
3668 # Look at the argument we got. We use all the common list separators.
3669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3670 for pkg
in $enableval; do
3672 if test "X$pkg" = "X$p"; then
3684 # Check whether --enable-fast-install was given.
3685 if test "${enable_fast_install+set}" = set; then
3686 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3688 yes) enable_fast_install
=yes ;;
3689 no
) enable_fast_install
=no
;;
3691 enable_fast_install
=no
3692 # Look at the argument we got. We use all the common list separators.
3693 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3694 for pkg
in $enableval; do
3696 if test "X$pkg" = "X$p"; then
3697 enable_fast_install
=yes
3704 enable_fast_install
=yes
3708 # Make sure we can run config.sub.
3709 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3710 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3711 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3712 { (exit 1); exit 1; }; }
3714 { echo "$as_me:$LINENO: checking build system type" >&5
3715 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3716 if test "${ac_cv_build+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 ac_build_alias
=$build_alias
3720 test "x$ac_build_alias" = x
&&
3721 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3722 test "x$ac_build_alias" = x
&&
3723 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3724 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3725 { (exit 1); exit 1; }; }
3726 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3727 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3728 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3729 { (exit 1); exit 1; }; }
3732 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3733 echo "${ECHO_T}$ac_cv_build" >&6; }
3734 case $ac_cv_build in
3736 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3737 echo "$as_me: error: invalid value of canonical build" >&2;}
3738 { (exit 1); exit 1; }; };;
3741 ac_save_IFS
=$IFS; IFS
='-'
3747 # Remember, the first character of IFS is used to create $*,
3748 # except with old shells:
3751 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3754 { echo "$as_me:$LINENO: checking host system type" >&5
3755 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3756 if test "${ac_cv_host+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 if test "x$host_alias" = x
; then
3760 ac_cv_host
=$ac_cv_build
3762 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3763 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3764 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3765 { (exit 1); exit 1; }; }
3769 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3770 echo "${ECHO_T}$ac_cv_host" >&6; }
3773 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3774 echo "$as_me: error: invalid value of canonical host" >&2;}
3775 { (exit 1); exit 1; }; };;
3778 ac_save_IFS
=$IFS; IFS
='-'
3784 # Remember, the first character of IFS is used to create $*,
3785 # except with old shells:
3788 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3791 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3792 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3793 if test "${lt_cv_path_SED+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 # Loop through the user's path and test for sed and gsed.
3797 # Then use that list of sed's as ones to test for truncation.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for lt_ac_prog
in sed gsed
; do
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3806 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3814 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3815 # along with /bin/sed that truncates output.
3816 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3817 test ! -f $lt_ac_sed && continue
3818 cat /dev
/null
> conftest.
in
3820 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3821 # Check for GNU sed and select it if it is found.
3822 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3823 lt_cv_path_SED
=$lt_ac_sed
3827 cat conftest.
in conftest.
in >conftest.tmp
3828 mv conftest.tmp conftest.
in
3829 cp conftest.
in conftest.
nl
3831 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3832 cmp -s conftest.out conftest.
nl ||
break
3833 # 10000 chars as input seems more than enough
3834 test $lt_ac_count -gt 10 && break
3835 lt_ac_count
=`expr $lt_ac_count + 1`
3836 if test $lt_ac_count -gt $lt_ac_max; then
3837 lt_ac_max
=$lt_ac_count
3838 lt_cv_path_SED
=$lt_ac_sed
3847 { echo "$as_me:$LINENO: result: $SED" >&5
3848 echo "${ECHO_T}$SED" >&6; }
3850 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3851 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3852 if test "${ac_cv_path_GREP+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 # Extract the first word of "grep ggrep" to use in msg output
3856 if test -z "$GREP"; then
3857 set dummy
grep ggrep
; ac_prog_name
=$2
3858 if test "${ac_cv_path_GREP+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 ac_path_GREP_found
=false
3862 # Loop through the user's path and test for each of PROGNAME-LIST
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_prog
in grep ggrep
; do
3869 for ac_exec_ext
in '' $ac_executable_extensions; do
3870 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3871 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3872 # Check for GNU ac_path_GREP and select it if it is found.
3873 # Check for GNU $ac_path_GREP
3874 case `"$ac_path_GREP" --version 2>&1` in
3876 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3879 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3882 cat "conftest.in" "conftest.in" >"conftest.tmp"
3883 mv "conftest.tmp" "conftest.in"
3884 cp "conftest.in" "conftest.nl"
3885 echo 'GREP' >> "conftest.nl"
3886 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3887 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3888 ac_count
=`expr $ac_count + 1`
3889 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3890 # Best one so far, save it but keep looking for a better one
3891 ac_cv_path_GREP
="$ac_path_GREP"
3892 ac_path_GREP_max
=$ac_count
3894 # 10*(2^10) chars as input seems more than enough
3895 test $ac_count -gt 10 && break
3897 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3901 $ac_path_GREP_found && break 3
3911 GREP
="$ac_cv_path_GREP"
3912 if test -z "$GREP"; then
3913 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3914 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3915 { (exit 1); exit 1; }; }
3919 ac_cv_path_GREP
=$GREP
3924 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3925 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3926 GREP
="$ac_cv_path_GREP"
3929 { echo "$as_me:$LINENO: checking for egrep" >&5
3930 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3931 if test "${ac_cv_path_EGREP+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3935 then ac_cv_path_EGREP
="$GREP -E"
3937 # Extract the first word of "egrep" to use in msg output
3938 if test -z "$EGREP"; then
3939 set dummy
egrep; ac_prog_name
=$2
3940 if test "${ac_cv_path_EGREP+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 ac_path_EGREP_found
=false
3944 # Loop through the user's path and test for each of PROGNAME-LIST
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3949 test -z "$as_dir" && as_dir
=.
3950 for ac_prog
in egrep; do
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3953 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3954 # Check for GNU ac_path_EGREP and select it if it is found.
3955 # Check for GNU $ac_path_EGREP
3956 case `"$ac_path_EGREP" --version 2>&1` in
3958 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3961 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3964 cat "conftest.in" "conftest.in" >"conftest.tmp"
3965 mv "conftest.tmp" "conftest.in"
3966 cp "conftest.in" "conftest.nl"
3967 echo 'EGREP' >> "conftest.nl"
3968 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3970 ac_count
=`expr $ac_count + 1`
3971 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3972 # Best one so far, save it but keep looking for a better one
3973 ac_cv_path_EGREP
="$ac_path_EGREP"
3974 ac_path_EGREP_max
=$ac_count
3976 # 10*(2^10) chars as input seems more than enough
3977 test $ac_count -gt 10 && break
3979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3983 $ac_path_EGREP_found && break 3
3993 EGREP
="$ac_cv_path_EGREP"
3994 if test -z "$EGREP"; then
3995 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3996 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3997 { (exit 1); exit 1; }; }
4001 ac_cv_path_EGREP
=$EGREP
4007 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4008 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4009 EGREP
="$ac_cv_path_EGREP"
4013 # Check whether --with-gnu-ld was given.
4014 if test "${with_gnu_ld+set}" = set; then
4015 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4021 if test "$GCC" = yes; then
4022 # Check if gcc -print-prog-name=ld gives a path.
4023 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4024 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4027 # gcc leaves a trailing carriage return which upsets mingw
4028 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4030 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4033 # Accept absolute paths.
4035 re_direlt
='/[^/][^/]*/\.\./'
4036 # Canonicalize the pathname of ld
4037 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4038 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4039 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4041 test -z "$LD" && LD
="$ac_prog"
4044 # If it fails, then pretend we aren't using GCC.
4048 # If it is relative, then search for the first ld in PATH.
4052 elif test "$with_gnu_ld" = yes; then
4053 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4054 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4056 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4057 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4059 if test "${lt_cv_path_LD+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 if test -z "$LD"; then
4063 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4064 for ac_dir
in $PATH; do
4066 test -z "$ac_dir" && ac_dir
=.
4067 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4068 lt_cv_path_LD
="$ac_dir/$ac_prog"
4069 # Check to see if the program is GNU ld. I'd rather use --version,
4070 # but apparently some variants of GNU ld only accept -v.
4071 # Break only if it was the GNU/non-GNU ld that we prefer.
4072 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4073 *GNU
* |
*'with BFD'*)
4074 test "$with_gnu_ld" != no
&& break
4077 test "$with_gnu_ld" != yes && break
4084 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4089 if test -n "$LD"; then
4090 { echo "$as_me:$LINENO: result: $LD" >&5
4091 echo "${ECHO_T}$LD" >&6; }
4093 { echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6; }
4096 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4097 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4098 { (exit 1); exit 1; }; }
4099 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4100 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4101 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4105 case `$LD -v 2>&1 </dev/null` in
4106 *GNU
* |
*'with BFD'*)
4107 lt_cv_prog_gnu_ld
=yes
4110 lt_cv_prog_gnu_ld
=no
4114 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4115 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4116 with_gnu_ld
=$lt_cv_prog_gnu_ld
4119 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4120 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4121 if test "${lt_cv_ld_reload_flag+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 lt_cv_ld_reload_flag
='-r'
4126 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4127 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4128 reload_flag
=$lt_cv_ld_reload_flag
4129 case $reload_flag in
4131 *) reload_flag
=" $reload_flag" ;;
4133 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4136 if test "$GCC" = yes; then
4137 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4139 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4144 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4145 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4146 if test "${lt_cv_path_NM+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 if test -n "$NM"; then
4150 # Let the user override the test.
4153 lt_nm_to_check
="${ac_tool_prefix}nm"
4154 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4155 lt_nm_to_check
="$lt_nm_to_check nm"
4157 for lt_tmp_nm
in $lt_nm_to_check; do
4158 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4159 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4161 test -z "$ac_dir" && ac_dir
=.
4162 tmp_nm
="$ac_dir/$lt_tmp_nm"
4163 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4164 # Check to see if the nm accepts a BSD-compat flag.
4165 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4166 # nm: unknown option "B" ignored
4167 # Tru64's nm complains that /dev/null is an invalid object file
4168 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4169 */dev
/null
* |
*'Invalid file or object type'*)
4170 lt_cv_path_NM
="$tmp_nm -B"
4174 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4176 lt_cv_path_NM
="$tmp_nm -p"
4180 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4181 continue # so that we can try to find one that supports BSD flags
4190 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4193 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4194 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4197 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4198 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4199 if test "${lt_cv_deplibs_check_method+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4203 lt_cv_file_magic_test_file
=
4204 lt_cv_deplibs_check_method
='unknown'
4205 # Need to set the preceding variable on all platforms that support
4206 # interlibrary dependencies.
4207 # 'none' -- dependencies not supported.
4208 # `unknown' -- same as none, but documents that we really don't know.
4209 # 'pass_all' -- all dependencies passed with no checks.
4210 # 'test_compile' -- check by making test program.
4211 # 'file_magic [[regex]]' -- check by looking for files in library path
4212 # which responds to the $file_magic_cmd with a given extended regex.
4213 # If you have `file' or equivalent on your system and you're not sure
4214 # whether `pass_all' will *always* work, you probably want this one.
4218 lt_cv_deplibs_check_method
=pass_all
4222 lt_cv_deplibs_check_method
=pass_all
4226 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4227 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4228 lt_cv_file_magic_test_file
=/shlib
/libc.so
4232 # func_win32_libid is a shell function defined in ltmain.sh
4233 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4234 lt_cv_file_magic_cmd
='func_win32_libid'
4238 # Base MSYS/MinGW do not provide the 'file' command needed by
4239 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4240 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4241 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4244 darwin
* | rhapsody
*)
4245 lt_cv_deplibs_check_method
=pass_all
4248 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4249 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4252 # Not sure whether the presence of OpenBSD here was a mistake.
4253 # Let's accept both of them until this is cleared up.
4254 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4255 lt_cv_file_magic_cmd
=/usr
/bin
/file
4256 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4260 lt_cv_deplibs_check_method
=pass_all
4265 lt_cv_deplibs_check_method
=pass_all
4268 hpux10.20
* | hpux11
*)
4269 lt_cv_file_magic_cmd
=/usr
/bin
/file
4272 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4273 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4276 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]'
4277 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4280 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4281 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4287 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4288 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4291 irix5
* | irix6
* | nonstopux
*)
4293 *-32|
*"-32 ") libmagic
=32-bit;;
4294 *-n32|
*"-n32 ") libmagic
=N32
;;
4295 *-64|
*"-64 ") libmagic
=64-bit;;
4296 *) libmagic
=never-match
;;
4298 lt_cv_deplibs_check_method
=pass_all
4301 # This must be Linux ELF.
4303 lt_cv_deplibs_check_method
=pass_all
4307 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4308 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4310 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4315 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4316 lt_cv_file_magic_cmd
=/usr
/bin
/file
4317 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4321 lt_cv_deplibs_check_method
=unknown
4325 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4326 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4328 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4332 osf3
* | osf4
* | osf5
*)
4333 lt_cv_deplibs_check_method
=pass_all
4337 lt_cv_deplibs_check_method
=pass_all
4341 case $host_vendor in
4343 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]'
4344 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4347 lt_cv_deplibs_check_method
=pass_all
4350 lt_cv_file_magic_cmd
='/bin/file'
4351 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4354 lt_cv_file_magic_cmd
='/bin/file'
4355 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4356 lt_cv_file_magic_test_file
=/lib
/libc.so
4359 lt_cv_deplibs_check_method
=pass_all
4362 lt_cv_deplibs_check_method
=pass_all
4367 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4368 lt_cv_deplibs_check_method
=pass_all
4373 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4374 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4375 file_magic_cmd
=$lt_cv_file_magic_cmd
4376 deplibs_check_method
=$lt_cv_deplibs_check_method
4377 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4382 # If no C compiler was specified, use CC.
4385 # If no C compiler flags were specified, use CFLAGS.
4386 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4388 # Allow CC to be a program name with arguments.
4392 # Check whether --enable-libtool-lock was given.
4393 if test "${enable_libtool_lock+set}" = set; then
4394 enableval
=$enable_libtool_lock;
4397 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4399 # Some flags need to be propagated to the compiler or linker for good
4403 # Find out which ABI we are using.
4404 echo 'int i;' > conftest.
$ac_ext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; then
4410 case `/usr/bin/file conftest.$ac_objext` in
4422 # Find out which ABI we are using.
4423 echo '#line 4423 "configure"' > conftest.
$ac_ext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425 (eval $ac_compile) 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; then
4429 if test "$lt_cv_prog_gnu_ld" = yes; then
4430 case `/usr/bin/file conftest.$ac_objext` in
4432 LD
="${LD-ld} -melf32bsmip"
4435 LD
="${LD-ld} -melf32bmipn32"
4438 LD
="${LD-ld} -melf64bmip"
4442 case `/usr/bin/file conftest.$ac_objext` in
4458 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4459 # Find out which ABI we are using.
4460 echo 'int i;' > conftest.
$ac_ext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; then
4466 case `/usr/bin/file conftest.o` in
4470 LD
="${LD-ld} -m elf_i386"
4472 ppc64-
*linux
*|powerpc64-
*linux
*)
4473 LD
="${LD-ld} -m elf32ppclinux"
4476 LD
="${LD-ld} -m elf_s390"
4479 LD
="${LD-ld} -m elf32_sparc"
4486 LD
="${LD-ld} -m elf_x86_64"
4488 ppc
*-*linux
*|powerpc
*-*linux
*)
4489 LD
="${LD-ld} -m elf64ppc"
4492 LD
="${LD-ld} -m elf64_s390"
4495 LD
="${LD-ld} -m elf64_sparc"
4505 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4506 SAVE_CFLAGS
="$CFLAGS"
4507 CFLAGS
="$CFLAGS -belf"
4508 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4509 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4510 if test "${lt_cv_cc_needs_belf+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 ac_cpp
='$CPP $CPPFLAGS'
4515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4519 cat >conftest.
$ac_ext <<_ACEOF
4522 cat confdefs.h
>>conftest.
$ac_ext
4523 cat >>conftest.
$ac_ext <<_ACEOF
4524 /* end confdefs.h. */
4534 rm -f conftest.
$ac_objext conftest
$ac_exeext
4535 if { (ac_try
="$ac_link"
4537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 lt_cv_cc_needs_belf=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 lt_cv_cc_needs_belf=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4570 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4571 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4572 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4573 CFLAGS="$SAVE_CFLAGS"
4577 # Find out which ABI we are using.
4578 echo 'int i;' > conftest.$ac_ext
4579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4580 (eval $ac_compile) 2>&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; then
4584 case `/usr
/bin
/file conftest.o
` in
4586 case $lt_cv_prog_gnu_ld in
4587 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4588 *) LD="${LD-ld} -64" ;;
4599 need_locks="$enable_libtool_lock"
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4608 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4609 # On Suns, sometimes $CPP names a directory.
4610 if test -n "$CPP" && test -d "$CPP"; then
4613 if test -z "$CPP"; then
4614 if test "${ac_cv_prog_CPP+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 # Double quotes because CPP needs to be expanded
4618 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4621 for ac_c_preproc_warn_flag in '' yes
4623 # Use a header file that comes with gcc, so configuring glibc
4624 # with a fresh cross-compiler works.
4625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4626 # <limits.h> exists even on freestanding compilers.
4627 # On the NeXT, cc -E runs the code through the compiler's parser,
4628 # not just through cpp. "Syntax error" is here to catch this case.
4629 cat >conftest.$ac_ext <<_ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4636 # include <limits.h>
4638 # include <assert.h>
4642 if { (ac_try="$ac_cpp conftest.$ac_ext"
4644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4645 *) ac_try_echo
=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } >/dev
/null
&& {
4655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4663 # Broken: fails on valid input.
4667 rm -f conftest.err conftest.
$ac_ext
4669 # OK, works on sane cases. Now check whether nonexistent headers
4670 # can be detected and how.
4671 cat >conftest.
$ac_ext <<_ACEOF
4674 cat confdefs.h
>>conftest.
$ac_ext
4675 cat >>conftest.
$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 #include <ac_nonexistent.h>
4679 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } >/dev/null && {
4692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4695 # Broken: success on invalid input.
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.$ac_ext >&5
4701 # Passes both tests.
4706 rm -f conftest.err conftest.$ac_ext
4709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4710 rm -f conftest.err conftest.
$ac_ext
4711 if $ac_preproc_ok; then
4723 { echo "$as_me:$LINENO: result: $CPP" >&5
4724 echo "${ECHO_T}$CPP" >&6; }
4726 for ac_c_preproc_warn_flag
in '' yes
4728 # Use a header file that comes with gcc, so configuring glibc
4729 # with a fresh cross-compiler works.
4730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4731 # <limits.h> exists even on freestanding compilers.
4732 # On the NeXT, cc -E runs the code through the compiler's parser,
4733 # not just through cpp. "Syntax error" is here to catch this case.
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4741 # include <limits.h>
4743 # include <assert.h>
4747 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } >/dev/null && {
4760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4768 # Broken: fails on valid input.
4772 rm -f conftest.err conftest.$ac_ext
4774 # OK, works on sane cases. Now check whether nonexistent headers
4775 # can be detected and how.
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 #include <ac_nonexistent.h>
4784 if { (ac_try="$ac_cpp conftest.$ac_ext"
4786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4787 *) ac_try_echo
=$ac_try;;
4789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4792 grep -v '^ *+' conftest.er1
>conftest.err
4794 cat conftest.err
>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } >/dev
/null
&& {
4797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4798 test ! -s conftest.err
4800 # Broken: success on invalid input.
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4806 # Passes both tests.
4811 rm -f conftest.err conftest.
$ac_ext
4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4815 rm -f conftest.err conftest.
$ac_ext
4816 if $ac_preproc_ok; then
4819 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4820 See \`config.log' for more details." >&5
4821 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4822 See \`config.log' for more details." >&2;}
4823 { (exit 1); exit 1; }; }
4827 ac_cpp
='$CPP $CPPFLAGS'
4828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4833 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4834 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4835 if test "${ac_cv_header_stdc+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 cat >conftest.
$ac_ext <<_ACEOF
4841 cat confdefs.h
>>conftest.
$ac_ext
4842 cat >>conftest.
$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4857 rm -f conftest.
$ac_objext
4858 if { (ac_try
="$ac_compile"
4860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4864 (eval "$ac_compile") 2>conftest.er1
4866 grep -v '^ *+' conftest.er1 >conftest.err
4868 cat conftest.err >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } && {
4871 test -z "$ac_c_werror_flag" ||
4872 test ! -s conftest.err
4873 } && test -s conftest.$ac_objext; then
4874 ac_cv_header_stdc=yes
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.$ac_ext >&5
4879 ac_cv_header_stdc=no
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 if test $ac_cv_header_stdc = yes; then
4885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4896 $EGREP "memchr" >/dev/null 2>&1; then
4899 ac_cv_header_stdc=no
4905 if test $ac_cv_header_stdc = yes; then
4906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4907 cat >conftest.$ac_ext <<_ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4917 $EGREP "free" >/dev/null 2>&1; then
4920 ac_cv_header_stdc=no
4926 if test $ac_cv_header_stdc = yes; then
4927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4928 if test "$cross_compiling" = yes; then
4931 cat >conftest.$ac_ext <<_ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4939 #if ((' ' & 0x0FF) == 0x020)
4940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4943 # define ISLOWER(c) \
4944 (('a' <= (c) && (c) <= 'i') \
4945 || ('j' <= (c) && (c) <= 'r') \
4946 || ('s' <= (c) && (c) <= 'z'))
4947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4955 for (i = 0; i < 256; i++)
4956 if (XOR (islower (i), ISLOWER (i))
4957 || toupper (i) != TOUPPER (i))
4962 rm -f conftest$ac_exeext
4963 if { (ac_try="$ac_link"
4965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4966 *) ac_try_echo
=$ac_try;;
4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4969 (eval "$ac_link") 2>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4973 { (case "(($ac_try" in
4974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_try") 2>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4984 echo "$as_me: program exited with status $ac_status" >&5
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_header_stdc=no
4991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4997 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4998 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4999 if test $ac_cv_header_stdc = yes; then
5001 cat >>confdefs.h <<\_ACEOF
5002 #define STDC_HEADERS 1
5007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5017 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5018 inttypes.h stdint.h unistd.h
5020 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 cat >conftest.$ac_ext <<_ACEOF
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5032 $ac_includes_default
5034 #include <$ac_header>
5036 rm -f conftest.$ac_objext
5037 if { (ac_try="$ac_compile"
5039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5040 *) ac_try_echo
=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_compile") 2>conftest.er1
5045 grep -v '^ *+' conftest.er1
>conftest.err
5047 cat conftest.err
>&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } && {
5050 test -z "$ac_c_werror_flag" ||
5051 test ! -s conftest.err
5052 } && test -s conftest.
$ac_objext; then
5053 eval "$as_ac_Header=yes"
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.
$ac_ext >&5
5058 eval "$as_ac_Header=no"
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 ac_res
=`eval echo '${'$as_ac_Header'}'`
5064 { echo "$as_me:$LINENO: result: $ac_res" >&5
5065 echo "${ECHO_T}$ac_res" >&6; }
5066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5067 cat >>confdefs.h
<<_ACEOF
5068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5077 for ac_header
in dlfcn.h
5079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5080 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5083 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_res
=`eval echo '${'$as_ac_Header'}'`
5087 { echo "$as_me:$LINENO: result: $ac_res" >&5
5088 echo "${ECHO_T}$ac_res" >&6; }
5090 # Is the header compilable?
5091 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 $ac_includes_default
5100 #include <$ac_header>
5102 rm -f conftest.
$ac_objext
5103 if { (ac_try
="$ac_compile"
5105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5106 *) ac_try_echo=$ac_try;;
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_compile") 2>conftest.er1
5111 grep -v '^ *+' conftest.er1 >conftest.err
5113 cat conftest.err >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } && {
5116 test -z "$ac_c_werror_flag" ||
5117 test ! -s conftest.err
5118 } && test -s conftest.$ac_objext; then
5119 ac_header_compiler=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_header_compiler=no
5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5129 echo "${ECHO_T}$ac_header_compiler" >&6; }
5131 # Is the header present?
5132 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 #include <$ac_header>
5142 if { (ac_try="$ac_cpp conftest.$ac_ext"
5144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5145 *) ac_try_echo
=$ac_try;;
5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5150 grep -v '^ *+' conftest.er1
>conftest.err
5152 cat conftest.err
>&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } >/dev
/null
&& {
5155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5156 test ! -s conftest.err
5158 ac_header_preproc
=yes
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5163 ac_header_preproc
=no
5166 rm -f conftest.err conftest.
$ac_ext
5167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5168 echo "${ECHO_T}$ac_header_preproc" >&6; }
5170 # So? What about this header?
5171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5177 ac_header_preproc
=yes
5180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5193 ## -------------------------------------------------- ##
5194 ## Report this to courier-users@lists.sourceforge.net ##
5195 ## -------------------------------------------------- ##
5197 ) |
sed "s/^/$as_me: WARNING: /" >&2
5200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5202 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 eval "$as_ac_Header=\$ac_header_preproc"
5207 ac_res
=`eval echo '${'$as_ac_Header'}'`
5208 { echo "$as_me:$LINENO: result: $ac_res" >&5
5209 echo "${ECHO_T}$ac_res" >&6; }
5212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5213 cat >>confdefs.h
<<_ACEOF
5214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5222 ac_cpp
='$CXXCPP $CPPFLAGS'
5223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5226 if test -z "$CXX"; then
5227 if test -n "$CCC"; then
5230 if test -n "$ac_tool_prefix"; then
5231 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5234 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5237 if test "${ac_cv_prog_CXX+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 if test -n "$CXX"; then
5241 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 if test -n "$CXX"; then
5262 { echo "$as_me:$LINENO: result: $CXX" >&5
5263 echo "${ECHO_T}$CXX" >&6; }
5265 { echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6; }
5270 test -n "$CXX" && break
5273 if test -z "$CXX"; then
5275 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5277 # Extract the first word of "$ac_prog", so it can be a program name with args.
5278 set dummy
$ac_prog; ac_word
=$2
5279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$ac_ct_CXX"; then
5285 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5305 if test -n "$ac_ct_CXX"; then
5306 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5307 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5309 { echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6; }
5314 test -n "$ac_ct_CXX" && break
5317 if test "x$ac_ct_CXX" = x
; then
5320 case $cross_compiling:$ac_tool_warned in
5322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5323 whose name does not start with the host triplet. If you think this
5324 configuration is useful to you, please write to autoconf@gnu.org." >&5
5325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5326 whose name does not start with the host triplet. If you think this
5327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5328 ac_tool_warned
=yes ;;
5336 # Provide some information about the compiler.
5337 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5338 ac_compiler
=`set X $ac_compile; echo $2`
5339 { (ac_try
="$ac_compiler --version >&5"
5341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_compiler --version >&5") 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }
5349 { (ac_try="$ac_compiler -v >&5"
5351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5352 *) ac_try_echo
=$ac_try;;
5354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5355 (eval "$ac_compiler -v >&5") 2>&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }
5359 { (ac_try
="$ac_compiler -V >&5"
5361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5362 *) ac_try_echo=$ac_try;;
5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5365 (eval "$ac_compiler -V >&5") 2>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }
5370 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5371 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5372 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 cat >conftest.$ac_ext <<_ACEOF
5378 cat confdefs.h >>conftest.$ac_ext
5379 cat >>conftest.$ac_ext <<_ACEOF
5380 /* end confdefs.h. */
5393 rm -f conftest.$ac_objext
5394 if { (ac_try="$ac_compile"
5396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5397 *) ac_try_echo
=$ac_try;;
5399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5400 (eval "$ac_compile") 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } && {
5407 test -z "$ac_cxx_werror_flag" ||
5408 test ! -s conftest.err
5409 } && test -s conftest.
$ac_objext; then
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.
$ac_ext >&5
5418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5419 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5422 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5424 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5425 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5426 ac_save_CXXFLAGS
=$CXXFLAGS
5427 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5428 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_cxx_g+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5433 ac_cxx_werror_flag
=yes
5436 cat >conftest.
$ac_ext <<_ACEOF
5439 cat confdefs.h
>>conftest.
$ac_ext
5440 cat >>conftest.
$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5451 rm -f conftest.
$ac_objext
5452 if { (ac_try
="$ac_compile"
5454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458 (eval "$ac_compile") 2>conftest.er1
5460 grep -v '^ *+' conftest.er1 >conftest.err
5462 cat conftest.err >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } && {
5465 test -z "$ac_cxx_werror_flag" ||
5466 test ! -s conftest.err
5467 } && test -s conftest.$ac_objext; then
5468 ac_cv_prog_cxx_g=yes
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5474 cat >conftest.$ac_ext <<_ACEOF
5477 cat confdefs.h >>conftest.$ac_ext
5478 cat >>conftest.$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5489 rm -f conftest.$ac_objext
5490 if { (ac_try="$ac_compile"
5492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5493 *) ac_try_echo
=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_compile") 2>conftest.er1
5498 grep -v '^ *+' conftest.er1
>conftest.err
5500 cat conftest.err
>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && {
5503 test -z "$ac_cxx_werror_flag" ||
5504 test ! -s conftest.err
5505 } && test -s conftest.
$ac_objext; then
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.
$ac_ext >&5
5511 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5513 cat >conftest.
$ac_ext <<_ACEOF
5516 cat confdefs.h
>>conftest.
$ac_ext
5517 cat >>conftest.
$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5528 rm -f conftest.
$ac_objext
5529 if { (ac_try
="$ac_compile"
5531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5532 *) ac_try_echo=$ac_try;;
5534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5535 (eval "$ac_compile") 2>conftest.er1
5537 grep -v '^ *+' conftest.er1 >conftest.err
5539 cat conftest.err >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } && {
5542 test -z "$ac_cxx_werror_flag" ||
5543 test ! -s conftest.err
5544 } && test -s conftest.$ac_objext; then
5545 ac_cv_prog_cxx_g=yes
5547 echo "$as_me: failed program was:" >&5
5548 sed 's/^/| /' conftest.$ac_ext >&5
5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5563 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5564 if test "$ac_test_CXXFLAGS" = set; then
5565 CXXFLAGS=$ac_save_CXXFLAGS
5566 elif test $ac_cv_prog_cxx_g = yes; then
5567 if test "$GXX" = yes; then
5573 if test "$GXX" = yes; then
5580 ac_cpp='$CXXCPP $CPPFLAGS'
5581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5585 depcc="$CXX" am_compiler_list=
5587 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5588 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5589 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5593 # We make a subdir and do the tests there. Otherwise we can end up
5594 # making bogus files that we don't know about and never remove. For
5595 # instance it was reported that on HP-UX the gcc test will end up
5596 # making a dummy file named `D
' -- because `-MD' means
`put the output
5599 # Copy depcomp to subdir because otherwise we won't find it if we're
5600 # using a relative directory.
5601 cp "$am_depcomp" conftest.dir
5603 # We will build objects and dependencies in a subdirectory because
5604 # it helps to detect inapplicable dependency modes. For instance
5605 # both Tru64's cc and ICC support -MD to output dependencies as a
5606 # side effect of compilation, but ICC will put the dependencies in
5607 # the current directory while Tru64 will put them in the object
5611 am_cv_CXX_dependencies_compiler_type=none
5612 if test "$am_compiler_list" = ""; then
5613 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5615 for depmode in $am_compiler_list; do
5616 # Setup a source with many dependencies, because some compilers
5617 # like to wrap large dependency lists on column 80 (with \), and
5618 # we should not choose a depcomp mode which is confused by this.
5620 # We need to recreate these files for each test, as the compiler may
5621 # overwrite some of them when testing with obscure command lines.
5622 # This happens at least with the AIX C compiler.
5624 for i in 1 2 3 4 5 6; do
5625 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5626 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5627 # Solaris 8's
{/usr
,}/bin
/sh.
5628 touch sub
/conftst
$i.h
5630 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5634 # after this tag, mechanisms are not by side-effect, so they'll
5635 # only be used when explicitly requested
5636 if test "x$enable_dependency_tracking" = xyes
; then
5644 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5645 # mode. It turns out that the SunPro C++ compiler does not properly
5646 # handle `-M -o', and we need to detect this.
5647 if depmode
=$depmode \
5648 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5649 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5650 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5651 >/dev
/null
2>conftest.err
&&
5652 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5653 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5654 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5655 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5656 # icc doesn't choke on unknown options, it will just issue warnings
5657 # or remarks (even with -Werror). So we grep stderr for any message
5658 # that says an option was ignored or not supported.
5659 # When given -MP, icc 7.0 and 7.1 complain thusly:
5660 # icc: Command line warning: ignoring option '-M'; no argument required
5661 # The diagnosis changed in icc 8.0:
5662 # icc: Command line remark: option '-MP' not supported
5663 if (grep 'ignoring option' conftest.err ||
5664 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5665 am_cv_CXX_dependencies_compiler_type
=$depmode
5674 am_cv_CXX_dependencies_compiler_type
=none
5678 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5679 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5680 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5683 test "x$enable_dependency_tracking" != xno \
5684 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5685 am__fastdepCXX_TRUE
=
5686 am__fastdepCXX_FALSE
='#'
5688 am__fastdepCXX_TRUE
='#'
5689 am__fastdepCXX_FALSE
=
5695 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5696 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5697 (test "X$CXX" != "Xg++"))) ; then
5699 ac_cpp
='$CXXCPP $CPPFLAGS'
5700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5703 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5704 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5705 if test -z "$CXXCPP"; then
5706 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5707 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 # Double quotes because CXXCPP needs to be expanded
5710 for CXXCPP
in "$CXX -E" "/lib/cpp"
5713 for ac_cxx_preproc_warn_flag
in '' yes
5715 # Use a header file that comes with gcc, so configuring glibc
5716 # with a fresh cross-compiler works.
5717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5718 # <limits.h> exists even on freestanding compilers.
5719 # On the NeXT, cc -E runs the code through the compiler's parser,
5720 # not just through cpp. "Syntax error" is here to catch this case.
5721 cat >conftest.
$ac_ext <<_ACEOF
5724 cat confdefs.h
>>conftest.
$ac_ext
5725 cat >>conftest.
$ac_ext <<_ACEOF
5726 /* end confdefs.h. */
5728 # include <limits.h>
5730 # include <assert.h>
5734 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5742 grep -v '^ *+' conftest.er1 >conftest.err
5744 cat conftest.err >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } >/dev/null && {
5747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5748 test ! -s conftest.err
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.$ac_ext >&5
5755 # Broken: fails on valid input.
5759 rm -f conftest.err conftest.$ac_ext
5761 # OK, works on sane cases. Now check whether nonexistent headers
5762 # can be detected and how.
5763 cat >conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 #include <ac_nonexistent.h>
5771 if { (ac_try="$ac_cpp conftest.$ac_ext"
5773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5774 *) ac_try_echo
=$ac_try;;
5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5779 grep -v '^ *+' conftest.er1
>conftest.err
5781 cat conftest.err
>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } >/dev
/null
&& {
5784 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5785 test ! -s conftest.err
5787 # Broken: success on invalid input.
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5793 # Passes both tests.
5798 rm -f conftest.err conftest.
$ac_ext
5801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5802 rm -f conftest.err conftest.
$ac_ext
5803 if $ac_preproc_ok; then
5808 ac_cv_prog_CXXCPP
=$CXXCPP
5811 CXXCPP
=$ac_cv_prog_CXXCPP
5813 ac_cv_prog_CXXCPP
=$CXXCPP
5815 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5816 echo "${ECHO_T}$CXXCPP" >&6; }
5818 for ac_cxx_preproc_warn_flag
in '' yes
5820 # Use a header file that comes with gcc, so configuring glibc
5821 # with a fresh cross-compiler works.
5822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5823 # <limits.h> exists even on freestanding compilers.
5824 # On the NeXT, cc -E runs the code through the compiler's parser,
5825 # not just through cpp. "Syntax error" is here to catch this case.
5826 cat >conftest.
$ac_ext <<_ACEOF
5829 cat confdefs.h
>>conftest.
$ac_ext
5830 cat >>conftest.
$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5833 # include <limits.h>
5835 # include <assert.h>
5839 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5842 *) ac_try_echo=$ac_try;;
5844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5847 grep -v '^ *+' conftest.er1 >conftest.err
5849 cat conftest.err >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } >/dev/null && {
5852 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5853 test ! -s conftest.err
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5860 # Broken: fails on valid input.
5864 rm -f conftest.err conftest.$ac_ext
5866 # OK, works on sane cases. Now check whether nonexistent headers
5867 # can be detected and how.
5868 cat >conftest.$ac_ext <<_ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5874 #include <ac_nonexistent.h>
5876 if { (ac_try="$ac_cpp conftest.$ac_ext"
5878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5879 *) ac_try_echo
=$ac_try;;
5881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5884 grep -v '^ *+' conftest.er1
>conftest.err
5886 cat conftest.err
>&5
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); } >/dev
/null
&& {
5889 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5890 test ! -s conftest.err
5892 # Broken: success on invalid input.
5895 echo "$as_me: failed program was:" >&5
5896 sed 's/^/| /' conftest.
$ac_ext >&5
5898 # Passes both tests.
5903 rm -f conftest.err conftest.
$ac_ext
5906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5907 rm -f conftest.err conftest.
$ac_ext
5908 if $ac_preproc_ok; then
5911 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5912 See \`config.log' for more details." >&5
5913 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5914 See \`config.log' for more details." >&2;}
5915 { (exit 1); exit 1; }; }
5919 ac_cpp
='$CXXCPP $CPPFLAGS'
5920 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5921 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5922 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5928 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5929 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5930 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5931 if test -n "$ac_tool_prefix"; then
5932 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
5934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5938 if test "${ac_cv_prog_F77+set}" = set; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 if test -n "$F77"; then
5942 ac_cv_prog_F77
="$F77" # Let the user override the test.
5944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir
=.
5949 for ac_exec_ext
in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 if test -n "$F77"; then
5963 { echo "$as_me:$LINENO: result: $F77" >&5
5964 echo "${ECHO_T}$F77" >&6; }
5966 { echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6; }
5971 test -n "$F77" && break
5974 if test -z "$F77"; then
5976 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
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy
$ac_prog; ac_word
=$2
5980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5982 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 if test -n "$ac_ct_F77"; then
5986 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir
=.
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995 ac_cv_prog_ac_ct_F77
="$ac_prog"
5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6006 if test -n "$ac_ct_F77"; then
6007 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6008 echo "${ECHO_T}$ac_ct_F77" >&6; }
6010 { echo "$as_me:$LINENO: result: no" >&5
6011 echo "${ECHO_T}no" >&6; }
6015 test -n "$ac_ct_F77" && break
6018 if test "x$ac_ct_F77" = x
; then
6021 case $cross_compiling:$ac_tool_warned in
6023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6024 whose name does not start with the host triplet. If you think this
6025 configuration is useful to you, please write to autoconf@gnu.org." >&5
6026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6027 whose name does not start with the host triplet. If you think this
6028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6029 ac_tool_warned
=yes ;;
6036 # Provide some information about the compiler.
6037 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6038 ac_compiler
=`set X $ac_compile; echo $2`
6039 { (ac_try
="$ac_compiler --version >&5"
6041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6042 *) ac_try_echo=$ac_try;;
6044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6045 (eval "$ac_compiler --version >&5") 2>&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); }
6049 { (ac_try="$ac_compiler -v >&5"
6051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6052 *) ac_try_echo
=$ac_try;;
6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6055 (eval "$ac_compiler -v >&5") 2>&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }
6059 { (ac_try
="$ac_compiler -V >&5"
6061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6062 *) ac_try_echo=$ac_try;;
6064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6065 (eval "$ac_compiler -V >&5") 2>&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }
6071 # If we don't use `.F
' as extension, the preprocessor is not run on the
6072 # input file. (Note that this only needs to work for GNU compilers.)
6075 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6076 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6077 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 cat >conftest.$ac_ext <<_ACEOF
6088 rm -f conftest.$ac_objext
6089 if { (ac_try="$ac_compile"
6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6092 *) ac_try_echo=$ac_try;;
6094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6095 (eval "$ac_compile") 2>conftest.er1
6097 grep -v '^
*+' conftest.er1 >conftest.err
6099 cat conftest.err >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); } && {
6102 test -z "$ac_f77_werror_flag" ||
6103 test ! -s conftest.err
6104 } && test -s conftest.$ac_objext; then
6107 echo "$as_me: failed program was:" >&5
6108 sed 's
/^
/|
/' conftest.$ac_ext >&5
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6117 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6118 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6120 ac_test_FFLAGS=${FFLAGS+set}
6121 ac_save_FFLAGS=$FFLAGS
6123 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6124 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6125 if test "${ac_cv_prog_f77_g+set}" = set; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.$ac_ext <<_ACEOF
6134 rm -f conftest.$ac_objext
6135 if { (ac_try="$ac_compile"
6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6138 *) ac_try_echo=$ac_try;;
6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 (eval "$ac_compile") 2>conftest.er1
6143 grep -v '^
*+' conftest.er1 >conftest.err
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } && {
6148 test -z "$ac_f77_werror_flag" ||
6149 test ! -s conftest.err
6150 } && test -s conftest.$ac_objext; then
6151 ac_cv_prog_f77_g=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's
/^
/|
/' conftest.$ac_ext >&5
6159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6162 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6163 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6164 if test "$ac_test_FFLAGS" = set; then
6165 FFLAGS=$ac_save_FFLAGS
6166 elif test $ac_cv_prog_f77_g = yes; then
6167 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6173 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6180 G77=`test $ac_compiler_gnu = yes && echo yes`
6182 ac_cpp='$CPP $CPPFLAGS'
6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6184 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6189 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6191 # find the maximum length of command line arguments
6192 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6193 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6194 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 # On DJGPP, this test can blow up pretty badly due to problems in libc
6203 # (any single argument exceeding 2000 bytes causes a buffer overrun
6204 # during glob expansion). Even if it were fixed, the result of this
6205 # check would be larger than it should be.
6206 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6210 # Under GNU Hurd, this test is not required because there is
6211 # no limit to the length of command line arguments.
6212 # Libtool will interpret -1 as no limit whatsoever
6213 lt_cv_sys_max_cmd_len
=-1;
6217 # On Win9x/ME, this test blows up -- it succeeds, but takes
6218 # about 5 minutes as the teststring grows exponentially.
6219 # Worse, since 9x/ME are not pre-emptively multitasking,
6220 # you end up with a "frozen" computer, even though with patience
6221 # the test eventually succeeds (with a max line length of 256k).
6222 # Instead, let's just punt: use the minimum linelength reported by
6223 # all of the supported platforms: 8192 (on NT/2K/XP).
6224 lt_cv_sys_max_cmd_len
=8192;
6228 # On AmigaOS with pdksh, this test takes hours, literally.
6229 # So we just punt and use a minimum line length of 8192.
6230 lt_cv_sys_max_cmd_len
=8192;
6233 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6234 # This has been around since 386BSD, at least. Likely further.
6235 if test -x /sbin
/sysctl
; then
6236 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6237 elif test -x /usr
/sbin
/sysctl
; then
6238 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6240 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6242 # And add a safety zone
6243 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6244 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6248 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6249 lt_cv_sys_max_cmd_len
=196608
6253 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6254 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6255 # nice to cause kernel panics so lets avoid the loop below.
6256 # First set a reasonable default.
6257 lt_cv_sys_max_cmd_len
=16384
6259 if test -x /sbin
/sysconfig
; then
6260 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6261 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6266 lt_cv_sys_max_cmd_len
=102400
6268 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6269 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6270 if test -n "$kargmax"; then
6271 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6273 lt_cv_sys_max_cmd_len
=32768
6277 # If test is not a shell built-in, we'll probably end up computing a
6278 # maximum length that is only half of the actual maximum length, but
6280 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6281 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6282 = "XX$teststring") >/dev
/null
2>&1 &&
6283 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6284 lt_cv_sys_max_cmd_len
=$new_result &&
6285 test $i != 17 # 1/2 MB should be enough
6288 teststring
=$teststring$teststring
6291 # Add a significant safety factor because C++ compilers can tack on massive
6292 # amounts of additional arguments before passing them to the linker.
6293 # It appears as though 1/2 is a usable value.
6294 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6300 if test -n $lt_cv_sys_max_cmd_len ; then
6301 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6302 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6304 { echo "$as_me:$LINENO: result: none" >&5
6305 echo "${ECHO_T}none" >&6; }
6311 # Check for command to grab the raw symbol name followed by C symbol from nm.
6312 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6313 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6314 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 # These are sane defaults that work on at least a few old systems.
6319 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6321 # Character class describing NM global symbol codes.
6322 symcode
='[BCDEGRST]'
6324 # Regexp to match symbols that can be accessed directly from C.
6325 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6327 # Transform an extracted symbol line into a proper C declaration
6328 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6330 # Transform an extracted symbol line into symbol name and symbol address
6331 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'"
6333 # Define system-specific variables.
6338 cygwin
* | mingw
* | pw32
*)
6339 symcode
='[ABCDGISTW]'
6341 hpux
*) # Its linker distinguishes data from code symbols
6342 if test "$host_cpu" = ia64
; then
6343 symcode
='[ABCDEGRST]'
6345 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6346 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'"
6349 if test "$host_cpu" = ia64
; then
6350 symcode
='[ABCDGIRSTW]'
6351 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6352 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'"
6356 symcode
='[BCDEGRST]'
6359 symcode
='[BCDEGQRST]'
6370 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6378 # Handle CRLF in mingw tool chain
6382 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6386 # If we're using GNU nm, then use its standard symbol codes.
6387 case `$NM -V 2>&1` in
6388 *GNU
* |
*'with BFD'*)
6389 symcode
='[ABCDGIRSTW]' ;;
6392 # Try without a prefix undercore, then with it.
6393 for ac_symprfx
in "" "_"; do
6395 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6396 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6398 # Write the raw and C identifiers.
6399 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6401 # Check to see that the pipe works correctly.
6405 cat > conftest.
$ac_ext <<EOF
6410 void nm_test_func(){}
6414 int main(){nm_test_var='a';nm_test_func();return(0);}
6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6418 (eval $ac_compile) 2>&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; then
6422 # Now try to grab the symbols.
6424 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6425 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } && test -s "$nlist"; then
6429 # Try sorting and uniquifying the output.
6430 if sort "$nlist" |
uniq > "$nlist"T
; then
6431 mv -f "$nlist"T
"$nlist"
6436 # Make sure that we snagged all the symbols we need.
6437 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6438 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6439 cat <<EOF > conftest.$ac_ext
6445 # Now generate the symbol file.
6446 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6448 cat <<EOF >> conftest.$ac_ext
6449 #if defined (__STDC__) && __STDC__
6450 # define lt_ptr_t void *
6452 # define lt_ptr_t char *
6456 /* The mapping between symbol names and symbols. */
6461 lt_preloaded_symbols[] =
6464 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6465 cat <<\EOF
>> conftest.
$ac_ext
6473 # Now try linking the two files.
6474 mv conftest.
$ac_objext conftstm.
$ac_objext
6475 lt_save_LIBS
="$LIBS"
6476 lt_save_CFLAGS
="$CFLAGS"
6477 LIBS
="conftstm.$ac_objext"
6478 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6480 (eval $ac_link) 2>&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6486 LIBS
="$lt_save_LIBS"
6487 CFLAGS
="$lt_save_CFLAGS"
6489 echo "cannot find nm_test_func in $nlist" >&5
6492 echo "cannot find nm_test_var in $nlist" >&5
6495 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6498 echo "$progname: failed program was:" >&5
6499 cat conftest.
$ac_ext >&5
6501 rm -f conftest
* conftst
*
6503 # Do not use the global_symbol_pipe unless it works.
6504 if test "$pipe_works" = yes; then
6507 lt_cv_sys_global_symbol_pipe
=
6513 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6514 lt_cv_sys_global_symbol_to_cdecl
=
6516 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6517 { echo "$as_me:$LINENO: result: failed" >&5
6518 echo "${ECHO_T}failed" >&6; }
6520 { echo "$as_me:$LINENO: result: ok" >&5
6521 echo "${ECHO_T}ok" >&6; }
6524 { echo "$as_me:$LINENO: checking for objdir" >&5
6525 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6526 if test "${lt_cv_objdir+set}" = set; then
6527 echo $ECHO_N "(cached) $ECHO_C" >&6
6529 rm -f .libs
2>/dev
/null
6530 mkdir .libs
2>/dev
/null
6531 if test -d .libs
; then
6534 # MS-DOS does not allow filenames that begin with a dot.
6537 rmdir .libs
2>/dev
/null
6539 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6540 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6541 objdir
=$lt_cv_objdir
6549 # AIX sometimes has problems with the GCC collect2 program. For some
6550 # reason, if we set the COLLECT_NAMES environment variable, the problems
6551 # vanish in a puff of smoke.
6552 if test "X${COLLECT_NAMES+set}" != Xset
; then
6554 export COLLECT_NAMES
6559 # Sed substitution that helps us do robust quoting. It backslashifies
6560 # metacharacters that are still active within double-quoted strings.
6561 Xsed
='sed -e 1s/^X//'
6562 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6564 # Same as above, but do not quote variable references.
6565 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6567 # Sed substitution to delay expansion of an escaped shell variable in a
6568 # double_quote_subst'ed string.
6569 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6571 # Sed substitution to avoid accidental globbing in evaled expressions
6572 no_glob_subst
='s/\*/\\\*/g'
6578 default_ofile
=libtool
6579 can_build_shared
=yes
6581 # All known linkers require a `.a' archive for static linking (except MSVC,
6582 # which needs '.lib').
6584 ltmain
="$ac_aux_dir/ltmain.sh"
6585 ofile
="$default_ofile"
6586 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6588 if test -n "$ac_tool_prefix"; then
6589 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6590 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6593 if test "${ac_cv_prog_AR+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 if test -n "$AR"; then
6597 ac_cv_prog_AR
="$AR" # Let the user override the test.
6599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir
=.
6604 for ac_exec_ext
in '' $ac_executable_extensions; do
6605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 if test -n "$AR"; then
6618 { echo "$as_me:$LINENO: result: $AR" >&5
6619 echo "${ECHO_T}$AR" >&6; }
6621 { echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6; }
6627 if test -z "$ac_cv_prog_AR"; then
6629 # Extract the first word of "ar", so it can be a program name with args.
6630 set dummy
ar; ac_word
=$2
6631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6633 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 if test -n "$ac_ct_AR"; then
6637 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir
=.
6644 for ac_exec_ext
in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_ac_ct_AR
="ar"
6647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6657 if test -n "$ac_ct_AR"; then
6658 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6659 echo "${ECHO_T}$ac_ct_AR" >&6; }
6661 { echo "$as_me:$LINENO: result: no" >&5
6662 echo "${ECHO_T}no" >&6; }
6665 if test "x$ac_ct_AR" = x
; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6671 whose name does not start with the host triplet. If you think this
6672 configuration is useful to you, please write to autoconf@gnu.org." >&5
6673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6674 whose name does not start with the host triplet. If you think this
6675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6676 ac_tool_warned
=yes ;;
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6686 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6689 if test "${ac_cv_prog_RANLIB+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 if test -n "$RANLIB"; then
6693 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6699 test -z "$as_dir" && as_dir
=.
6700 for ac_exec_ext
in '' $ac_executable_extensions; do
6701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6702 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 RANLIB
=$ac_cv_prog_RANLIB
6713 if test -n "$RANLIB"; then
6714 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6715 echo "${ECHO_T}$RANLIB" >&6; }
6717 { echo "$as_me:$LINENO: result: no" >&5
6718 echo "${ECHO_T}no" >&6; }
6723 if test -z "$ac_cv_prog_RANLIB"; then
6724 ac_ct_RANLIB
=$RANLIB
6725 # Extract the first word of "ranlib", so it can be a program name with args.
6726 set dummy ranlib
; ac_word
=$2
6727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6729 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 if test -n "$ac_ct_RANLIB"; then
6733 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir
=.
6740 for ac_exec_ext
in '' $ac_executable_extensions; do
6741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6742 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6753 if test -n "$ac_ct_RANLIB"; then
6754 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6755 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6757 { echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6; }
6761 if test "x$ac_ct_RANLIB" = x
; then
6764 case $cross_compiling:$ac_tool_warned in
6766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6767 whose name does not start with the host triplet. If you think this
6768 configuration is useful to you, please write to autoconf@gnu.org." >&5
6769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6770 whose name does not start with the host triplet. If you think this
6771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6772 ac_tool_warned
=yes ;;
6774 RANLIB
=$ac_ct_RANLIB
6777 RANLIB
="$ac_cv_prog_RANLIB"
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6782 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6785 if test "${ac_cv_prog_STRIP+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 if test -n "$STRIP"; then
6789 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir
=.
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6798 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 STRIP
=$ac_cv_prog_STRIP
6809 if test -n "$STRIP"; then
6810 { echo "$as_me:$LINENO: result: $STRIP" >&5
6811 echo "${ECHO_T}$STRIP" >&6; }
6813 { echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6; }
6819 if test -z "$ac_cv_prog_STRIP"; then
6821 # Extract the first word of "strip", so it can be a program name with args.
6822 set dummy strip
; ac_word
=$2
6823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6825 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 if test -n "$ac_ct_STRIP"; then
6829 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir
=.
6836 for ac_exec_ext
in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_ac_ct_STRIP
="strip"
6839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6849 if test -n "$ac_ct_STRIP"; then
6850 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6851 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6853 { echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6; }
6857 if test "x$ac_ct_STRIP" = x
; then
6860 case $cross_compiling:$ac_tool_warned in
6862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6863 whose name does not start with the host triplet. If you think this
6864 configuration is useful to you, please write to autoconf@gnu.org." >&5
6865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6866 whose name does not start with the host triplet. If you think this
6867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6868 ac_tool_warned
=yes ;;
6873 STRIP
="$ac_cv_prog_STRIP"
6878 old_CFLAGS
="$CFLAGS"
6880 # Set sane defaults for various variables
6881 test -z "$AR" && AR
=ar
6882 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6883 test -z "$AS" && AS
=as
6884 test -z "$CC" && CC
=cc
6885 test -z "$LTCC" && LTCC
=$CC
6886 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6887 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6888 test -z "$LD" && LD
=ld
6889 test -z "$LN_S" && LN_S
="ln -s"
6890 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6891 test -z "$NM" && NM
=nm
6892 test -z "$SED" && SED
=sed
6893 test -z "$OBJDUMP" && OBJDUMP
=objdump
6894 test -z "$RANLIB" && RANLIB
=:
6895 test -z "$STRIP" && STRIP
=:
6896 test -z "$ac_objext" && ac_objext
=o
6898 # Determine commands to create old-style static archives.
6899 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6900 old_postinstall_cmds
='chmod 644 $oldlib'
6901 old_postuninstall_cmds
=
6903 if test -n "$RANLIB"; then
6906 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6909 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6912 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6915 for cc_temp
in $compiler""; do
6917 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6918 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6923 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6926 # Only perform the check for file, if the check method requires it
6927 case $deplibs_check_method in
6929 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6930 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6931 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6932 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6940 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6941 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6942 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6943 for ac_dir
in $ac_dummy; do
6945 test -z "$ac_dir" && ac_dir
=.
6946 if test -f $ac_dir/${ac_tool_prefix}file; then
6947 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6948 if test -n "$file_magic_test_file"; then
6949 case $deplibs_check_method in
6951 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6952 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6953 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6954 $EGREP "$file_magic_regex" > /dev
/null
; then
6959 *** Warning: the command libtool uses to detect shared libraries,
6960 *** $file_magic_cmd, produces output that libtool cannot recognize.
6961 *** The result is that libtool may fail to recognize shared libraries
6962 *** as such. This will affect the creation of libtool libraries that
6963 *** depend on shared libraries, but programs linked with such libtool
6964 *** libraries will work regardless of this problem. Nevertheless, you
6965 *** may want to report the problem to your system manager and/or to
6966 *** bug-libtool@gnu.org
6976 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6981 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6982 if test -n "$MAGIC_CMD"; then
6983 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6984 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6986 { echo "$as_me:$LINENO: result: no" >&5
6987 echo "${ECHO_T}no" >&6; }
6990 if test -z "$lt_cv_path_MAGIC_CMD"; then
6991 if test -n "$ac_tool_prefix"; then
6992 { echo "$as_me:$LINENO: checking for file" >&5
6993 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6994 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7002 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7003 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7004 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7005 for ac_dir
in $ac_dummy; do
7007 test -z "$ac_dir" && ac_dir
=.
7008 if test -f $ac_dir/file; then
7009 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7010 if test -n "$file_magic_test_file"; then
7011 case $deplibs_check_method in
7013 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7014 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7015 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7016 $EGREP "$file_magic_regex" > /dev
/null
; then
7021 *** Warning: the command libtool uses to detect shared libraries,
7022 *** $file_magic_cmd, produces output that libtool cannot recognize.
7023 *** The result is that libtool may fail to recognize shared libraries
7024 *** as such. This will affect the creation of libtool libraries that
7025 *** depend on shared libraries, but programs linked with such libtool
7026 *** libraries will work regardless of this problem. Nevertheless, you
7027 *** may want to report the problem to your system manager and/or to
7028 *** bug-libtool@gnu.org
7038 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7043 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7044 if test -n "$MAGIC_CMD"; then
7045 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7046 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7048 { echo "$as_me:$LINENO: result: no" >&5
7049 echo "${ECHO_T}no" >&6; }
7064 # Check whether --enable-libtool-lock was given.
7065 if test "${enable_libtool_lock+set}" = set; then
7066 enableval
=$enable_libtool_lock;
7069 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7072 # Check whether --with-pic was given.
7073 if test "${with_pic+set}" = set; then
7074 withval
=$with_pic; pic_mode
="$withval"
7079 test -z "$pic_mode" && pic_mode
=default
7081 # Use C for the default configuration in the libtool script
7085 ac_cpp
='$CPP $CPPFLAGS'
7086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7091 # Source file extension for C test sources.
7094 # Object file extension for compiled C test sources.
7098 # Code to be used in simple compile tests
7099 lt_simple_compile_test_code
="int some_variable = 0;\n"
7101 # Code to be used in simple link tests
7102 lt_simple_link_test_code
='int main(){return(0);}\n'
7105 # If no C compiler was specified, use CC.
7108 # If no C compiler flags were specified, use CFLAGS.
7109 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7111 # Allow CC to be a program name with arguments.
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile
=conftest.
$ac_objext
7117 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate
=`cat conftest.err`
7122 ac_outfile
=conftest.
$ac_objext
7123 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7124 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate
=`cat conftest.err`
7130 lt_prog_compiler_no_builtin_flag
=
7132 if test "$GCC" = yes; then
7133 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7136 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7137 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7138 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 lt_cv_prog_compiler_rtti_exceptions
=no
7142 ac_outfile
=conftest.
$ac_objext
7143 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7144 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7145 # Insert the option either (1) after the last *FLAGS variable, or
7146 # (2) before a word containing "conftest.", or (3) at the end.
7147 # Note that $ac_compile itself does not contain backslashes and begins
7148 # with a dollar sign (not a hyphen), so the echo should work correctly.
7149 # The option is referenced via a variable to avoid confusing sed.
7150 lt_compile
=`echo "$ac_compile" | $SED \
7151 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7153 -e 's:$: $lt_compiler_flag:'`
7154 (eval echo "\"\$as_me:7154: $lt_compile\"" >&5)
7155 (eval "$lt_compile" 2>conftest.err
)
7157 cat conftest.err
>&5
7158 echo "$as_me:7158: \$? = $ac_status" >&5
7159 if (exit $ac_status) && test -s "$ac_outfile"; then
7160 # The compiler can only warn and ignore the option if not recognized
7161 # So say no if there are warnings other than the usual output.
7162 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7163 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7164 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7165 lt_cv_prog_compiler_rtti_exceptions
=yes
7171 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7172 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7174 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7175 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7182 lt_prog_compiler_wl
=
7183 lt_prog_compiler_pic
=
7184 lt_prog_compiler_static
=
7186 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7187 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7189 if test "$GCC" = yes; then
7190 lt_prog_compiler_wl
='-Wl,'
7191 lt_prog_compiler_static
='-static'
7195 # All AIX code is PIC.
7196 if test "$host_cpu" = ia64
; then
7197 # AIX 5 now supports IA64 processor
7198 lt_prog_compiler_static
='-Bstatic'
7203 # FIXME: we need at least 68020 code to build shared libraries, but
7204 # adding the `-m68020' flag to GCC prevents building anything better,
7206 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7209 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7210 # PIC is the default for these OSes.
7213 mingw
* | pw32
* | os2
*)
7214 # This hack is so that the source file can tell whether it is being
7215 # built for inclusion in a dll (and should export symbols for example).
7216 lt_prog_compiler_pic
='-DDLL_EXPORT'
7219 darwin
* | rhapsody
*)
7220 # PIC is the default on this platform
7221 # Common symbols not allowed in MH_DYLIB files
7222 lt_prog_compiler_pic
='-fno-common'
7226 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7227 # Instead, we relocate shared libraries at runtime.
7231 # Just because we use GCC doesn't mean we suddenly get shared libraries
7232 # on systems that don't support them.
7233 lt_prog_compiler_can_build_shared
=no
7238 if test -d /usr
/nec
; then
7239 lt_prog_compiler_pic
=-Kconform_pic
7244 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7251 lt_prog_compiler_pic
='-fPIC'
7257 lt_prog_compiler_pic
='-fPIC'
7261 # PORTME Check for flag to pass linker flags through the system compiler.
7264 lt_prog_compiler_wl
='-Wl,'
7265 if test "$host_cpu" = ia64
; then
7266 # AIX 5 now supports IA64 processor
7267 lt_prog_compiler_static
='-Bstatic'
7269 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7273 # PIC is the default on this platform
7274 # Common symbols not allowed in MH_DYLIB files
7275 case $cc_basename in
7277 lt_prog_compiler_pic
='-qnocommon'
7278 lt_prog_compiler_wl
='-Wl,'
7283 mingw
* | pw32
* | os2
*)
7284 # This hack is so that the source file can tell whether it is being
7285 # built for inclusion in a dll (and should export symbols for example).
7286 lt_prog_compiler_pic
='-DDLL_EXPORT'
7289 hpux9
* | hpux10
* | hpux11
*)
7290 lt_prog_compiler_wl
='-Wl,'
7291 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7298 lt_prog_compiler_pic
='+Z'
7301 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7302 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7305 irix5
* | irix6
* | nonstopux
*)
7306 lt_prog_compiler_wl
='-Wl,'
7307 # PIC (with -KPIC) is the default.
7308 lt_prog_compiler_static
='-non_shared'
7312 lt_prog_compiler_pic
='-KPIC'
7313 lt_prog_compiler_static
='-Bstatic'
7317 case $cc_basename in
7319 lt_prog_compiler_wl
='-Wl,'
7320 lt_prog_compiler_pic
='-KPIC'
7321 lt_prog_compiler_static
='-static'
7323 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7324 # Portland Group compilers (*not* the Pentium gcc compiler,
7325 # which looks to be a dead project)
7326 lt_prog_compiler_wl
='-Wl,'
7327 lt_prog_compiler_pic
='-fpic'
7328 lt_prog_compiler_static
='-Bstatic'
7331 lt_prog_compiler_wl
='-Wl,'
7332 # All Alpha code is PIC.
7333 lt_prog_compiler_static
='-non_shared'
7338 osf3
* | osf4
* | osf5
*)
7339 lt_prog_compiler_wl
='-Wl,'
7340 # All OSF/1 code is PIC.
7341 lt_prog_compiler_static
='-non_shared'
7345 lt_prog_compiler_pic
='-KPIC'
7346 lt_prog_compiler_static
='-Bstatic'
7347 case $cc_basename in
7349 lt_prog_compiler_wl
='-Qoption ld ';;
7351 lt_prog_compiler_wl
='-Wl,';;
7356 lt_prog_compiler_wl
='-Qoption ld '
7357 lt_prog_compiler_pic
='-PIC'
7358 lt_prog_compiler_static
='-Bstatic'
7361 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7362 lt_prog_compiler_wl
='-Wl,'
7363 lt_prog_compiler_pic
='-KPIC'
7364 lt_prog_compiler_static
='-Bstatic'
7368 if test -d /usr
/nec
;then
7369 lt_prog_compiler_pic
='-Kconform_pic'
7370 lt_prog_compiler_static
='-Bstatic'
7374 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7375 lt_prog_compiler_wl
='-Wl,'
7376 lt_prog_compiler_pic
='-KPIC'
7377 lt_prog_compiler_static
='-Bstatic'
7381 lt_prog_compiler_wl
='-Wl,'
7382 lt_prog_compiler_can_build_shared
=no
7386 lt_prog_compiler_pic
='-pic'
7387 lt_prog_compiler_static
='-Bstatic'
7391 lt_prog_compiler_can_build_shared
=no
7396 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7397 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7400 # Check to make sure the PIC flag actually works.
7402 if test -n "$lt_prog_compiler_pic"; then
7404 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7405 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7406 if test "${lt_prog_compiler_pic_works+set}" = set; then
7407 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 lt_prog_compiler_pic_works
=no
7410 ac_outfile
=conftest.
$ac_objext
7411 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7412 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7413 # Insert the option either (1) after the last *FLAGS variable, or
7414 # (2) before a word containing "conftest.", or (3) at the end.
7415 # Note that $ac_compile itself does not contain backslashes and begins
7416 # with a dollar sign (not a hyphen), so the echo should work correctly.
7417 # The option is referenced via a variable to avoid confusing sed.
7418 lt_compile
=`echo "$ac_compile" | $SED \
7419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7421 -e 's:$: $lt_compiler_flag:'`
7422 (eval echo "\"\$as_me:7422: $lt_compile\"" >&5)
7423 (eval "$lt_compile" 2>conftest.err
)
7425 cat conftest.err
>&5
7426 echo "$as_me:7426: \$? = $ac_status" >&5
7427 if (exit $ac_status) && test -s "$ac_outfile"; then
7428 # The compiler can only warn and ignore the option if not recognized
7429 # So say no if there are warnings other than the usual output.
7430 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7431 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7432 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7433 lt_prog_compiler_pic_works
=yes
7439 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7440 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7442 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7443 case $lt_prog_compiler_pic in
7445 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7448 lt_prog_compiler_pic
=
7449 lt_prog_compiler_can_build_shared
=no
7454 # For platforms which do not support PIC, -DPIC is meaningless:
7456 lt_prog_compiler_pic
=
7459 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7464 # Check to make sure the static flag actually works.
7466 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7467 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7468 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7469 if test "${lt_prog_compiler_static_works+set}" = set; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 lt_prog_compiler_static_works
=no
7473 save_LDFLAGS
="$LDFLAGS"
7474 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7475 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7476 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7477 # The linker can only warn and ignore the option if not recognized
7478 # So say no if there are warnings
7479 if test -s conftest.err
; then
7480 # Append any errors to the config.log.
7481 cat conftest.err
1>&5
7482 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7483 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7484 if diff conftest.exp conftest.er2
>/dev
/null
; then
7485 lt_prog_compiler_static_works
=yes
7488 lt_prog_compiler_static_works
=yes
7492 LDFLAGS
="$save_LDFLAGS"
7495 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7496 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7498 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7501 lt_prog_compiler_static
=
7505 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7506 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7507 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 lt_cv_prog_compiler_c_o
=no
7511 $rm -r conftest
2>/dev
/null
7515 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7517 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7518 # Insert the option either (1) after the last *FLAGS variable, or
7519 # (2) before a word containing "conftest.", or (3) at the end.
7520 # Note that $ac_compile itself does not contain backslashes and begins
7521 # with a dollar sign (not a hyphen), so the echo should work correctly.
7522 lt_compile
=`echo "$ac_compile" | $SED \
7523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7525 -e 's:$: $lt_compiler_flag:'`
7526 (eval echo "\"\$as_me:7526: $lt_compile\"" >&5)
7527 (eval "$lt_compile" 2>out
/conftest.err
)
7529 cat out
/conftest.err
>&5
7530 echo "$as_me:7530: \$? = $ac_status" >&5
7531 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7533 # The compiler can only warn and ignore the option if not recognized
7534 # So say no if there are warnings
7535 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7536 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7537 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7538 lt_cv_prog_compiler_c_o
=yes
7543 # SGI C++ compiler will create directory out/ii_files/ for
7544 # template instantiation
7545 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7546 $rm out
/* && rmdir out
7552 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7553 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7556 hard_links
="nottested"
7557 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7558 # do not overwrite the value of need_locks provided by the user
7559 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7560 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7563 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7565 ln conftest.a conftest.b
2>&5 || hard_links
=no
7566 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7567 { echo "$as_me:$LINENO: result: $hard_links" >&5
7568 echo "${ECHO_T}$hard_links" >&6; }
7569 if test "$hard_links" = no
; then
7570 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7571 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7578 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7579 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7582 allow_undefined_flag
=
7583 enable_shared_with_static_runtimes
=no
7585 archive_expsym_cmds
=
7586 old_archive_From_new_cmds
=
7587 old_archive_from_expsyms_cmds
=
7588 export_dynamic_flag_spec
=
7589 whole_archive_flag_spec
=
7590 thread_safe_flag_spec
=
7591 hardcode_libdir_flag_spec
=
7592 hardcode_libdir_flag_spec_ld
=
7593 hardcode_libdir_separator
=
7596 hardcode_shlibpath_var
=unsupported
7597 link_all_deplibs
=unknown
7598 hardcode_automatic
=no
7601 always_export_symbols
=no
7602 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7603 # include_expsyms should be a list of space-separated symbols to be *always*
7604 # included in the symbol list
7606 # exclude_expsyms can be an extended regexp of symbols to exclude
7607 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7608 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7609 # as well as any symbol that contains `d'.
7610 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7611 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7612 # platforms (ab)use it in PIC code, but their linkers get confused if
7613 # the symbol is explicitly referenced. Since portable code cannot
7614 # rely on this symbol name, it's probably fine to never include it in
7615 # preloaded symbol tables.
7616 extract_expsyms_cmds
=
7617 # Just being paranoid about ensuring that cc_basename is set.
7618 for cc_temp
in $compiler""; do
7620 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7621 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7626 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7629 cygwin
* | mingw
* | pw32
*)
7630 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7631 # When not using gcc, we currently assume that we are using
7632 # Microsoft Visual C++.
7633 if test "$GCC" != yes; then
7638 # we just hope/assume this is gcc and not c89 (= MSVC++)
7647 if test "$with_gnu_ld" = yes; then
7648 # If archive_cmds runs LD, not CC, wlarc should be empty
7651 # Set some defaults for GNU ld with shared library support. These
7652 # are reset later if shared libraries are not supported. Putting them
7653 # here allows them to be overridden if necessary.
7654 runpath_var
=LD_RUN_PATH
7655 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7656 export_dynamic_flag_spec
='${wl}--export-dynamic'
7657 # ancient GNU ld didn't support --whole-archive et. al.
7658 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7659 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7661 whole_archive_flag_spec
=
7663 supports_anon_versioning
=no
7664 case `$LD -v 2>/dev/null` in
7665 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7666 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7667 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7668 *\
2.11.
*) ;; # other 2.11 versions
7669 *) supports_anon_versioning
=yes ;;
7672 # See if GNU ld supports shared libraries.
7674 aix3
* | aix4
* | aix5
*)
7675 # On AIX/PPC, the GNU linker is very broken
7676 if test "$host_cpu" != ia64
; then
7680 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7681 *** to be unable to reliably create shared libraries on AIX.
7682 *** Therefore, libtool is disabling shared libraries support. If you
7683 *** really care for shared libraries, you may want to modify your PATH
7684 *** so that a non-GNU linker is found, and then restart.
7691 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)'
7692 hardcode_libdir_flag_spec
='-L$libdir'
7693 hardcode_minus_L
=yes
7695 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7696 # that the semantics of dynamic libraries on AmigaOS, at least up
7697 # to version 4, is to share data among multiple programs linked
7698 # with the same dynamic library. Since this doesn't match the
7699 # behavior of shared libraries on other platforms, we can't use
7705 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7706 allow_undefined_flag
=unsupported
7707 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7708 # support --undefined. This deserves some investigation. FIXME
7709 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7715 cygwin
* | mingw
* | pw32
*)
7716 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7717 # as there is no search path for DLLs.
7718 hardcode_libdir_flag_spec
='-L$libdir'
7719 allow_undefined_flag
=unsupported
7720 always_export_symbols
=no
7721 enable_shared_with_static_runtimes
=yes
7722 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7724 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7725 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7726 # If the export-symbols file already is a .def file (1st line
7727 # is EXPORTS), use it as is; otherwise, prepend...
7728 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7729 cp $export_symbols $output_objdir/$soname.def;
7731 echo EXPORTS > $output_objdir/$soname.def;
7732 cat $export_symbols >> $output_objdir/$soname.def;
7734 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7742 hardcode_shlibpath_var
=no
7743 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7744 export_dynamic_flag_spec
='${wl}-E'
7745 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7746 # Instead, shared libraries are loaded at an image base (0x10000000 by
7747 # default) and relocated if they conflict, which is a slow very memory
7748 # consuming and fragmenting process. To avoid this, we pick a random,
7749 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7750 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7751 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7752 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'
7756 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7758 case $cc_basename,$host_cpu in
7759 pgcc
*) # Portland Group C compiler
7760 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'
7761 tmp_addflag
=' $pic_flag'
7763 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7764 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'
7765 tmp_addflag
=' $pic_flag -Mnomain' ;;
7766 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7767 tmp_addflag
=' -i_dynamic' ;;
7768 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7769 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7770 ifc
* | ifort
*) # Intel Fortran compiler
7771 tmp_addflag
=' -nofor_main' ;;
7773 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7775 if test $supports_anon_versioning = yes; then
7776 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7777 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7778 $echo "local: *; };" >> $output_objdir/$libname.ver~
7779 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7787 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7788 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7791 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7792 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7797 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7801 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7802 *** create shared libraries on Solaris systems. Therefore, libtool
7803 *** is disabling shared libraries support. We urge you to upgrade GNU
7804 *** binutils to release 2.9.1 or newer. Another option is to modify
7805 *** your PATH or compiler configuration so that the native linker is
7806 *** used, and then restart.
7809 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7810 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7811 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7817 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7818 case `$LD -v 2>&1` in
7819 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7823 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7824 *** reliably create shared libraries on SCO systems. Therefore, libtool
7825 *** is disabling shared libraries support. We urge you to upgrade GNU
7826 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7827 *** your PATH or compiler configuration so that the native linker is
7828 *** used, and then restart.
7833 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7834 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7835 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7836 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7845 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7848 hardcode_shlibpath_var
=no
7852 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7854 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7861 if test "$ld_shlibs" = no
; then
7863 hardcode_libdir_flag_spec
=
7864 export_dynamic_flag_spec
=
7865 whole_archive_flag_spec
=
7868 # PORTME fill in a description of your system's linker (not GNU ld)
7871 allow_undefined_flag
=unsupported
7872 always_export_symbols
=yes
7873 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'
7874 # Note: this linker hardcodes the directories in LIBPATH if there
7875 # are no directories specified by -L.
7876 hardcode_minus_L
=yes
7877 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7878 # Neither direct hardcoding nor static linking is supported with a
7880 hardcode_direct
=unsupported
7885 if test "$host_cpu" = ia64
; then
7886 # On IA64, the linker does run time linking by default, so we don't
7887 # have to do anything special.
7888 aix_use_runtimelinking
=no
7889 exp_sym_flag
='-Bexport'
7892 # If we're using GNU nm, then we don't want the "-C" option.
7893 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7894 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7895 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'
7897 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'
7899 aix_use_runtimelinking
=no
7901 # Test if we are trying to use run time linking or normal
7902 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7903 # need to do runtime linking.
7904 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7905 for ld_flag
in $LDFLAGS; do
7906 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7907 aix_use_runtimelinking
=yes
7914 exp_sym_flag
='-bexport'
7915 no_entry_flag
='-bnoentry'
7918 # When large executables or shared objects are built, AIX ld can
7919 # have problems creating the table of contents. If linking a library
7920 # or program results in "error TOC overflow" add -mminimal-toc to
7921 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7922 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7926 hardcode_libdir_separator
=':'
7927 link_all_deplibs
=yes
7929 if test "$GCC" = yes; then
7930 case $host_os in aix4.
[012]|aix4.
[012].
*)
7931 # We only want to do this on AIX 4.2 and lower, the check
7932 # below for broken collect2 doesn't work under 4.3+
7933 collect2name
=`${CC} -print-prog-name=collect2`
7934 if test -f "$collect2name" && \
7935 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7937 # We have reworked collect2
7940 # We have old collect2
7941 hardcode_direct
=unsupported
7942 # It fails to find uninstalled libraries when the uninstalled
7943 # path is not listed in the libpath. Setting hardcode_minus_L
7944 # to unsupported forces relinking
7945 hardcode_minus_L
=yes
7946 hardcode_libdir_flag_spec
='-L$libdir'
7947 hardcode_libdir_separator
=
7951 shared_flag
='-shared'
7952 if test "$aix_use_runtimelinking" = yes; then
7953 shared_flag
="$shared_flag "'${wl}-G'
7957 if test "$host_cpu" = ia64
; then
7958 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7959 # chokes on -Wl,-G. The following line is correct:
7962 if test "$aix_use_runtimelinking" = yes; then
7963 shared_flag
='${wl}-G'
7965 shared_flag
='${wl}-bM:SRE'
7970 # It seems that -bexpall does not export symbols beginning with
7971 # underscore (_), so it is better to generate a list of symbols to export.
7972 always_export_symbols
=yes
7973 if test "$aix_use_runtimelinking" = yes; then
7974 # Warning - without using the other runtime loading flags (-brtl),
7975 # -berok will link without error, but may produce a broken library.
7976 allow_undefined_flag
='-berok'
7977 # Determine the default libpath from the value encoded in an empty executable.
7978 cat >conftest.
$ac_ext <<_ACEOF
7981 cat confdefs.h
>>conftest.
$ac_ext
7982 cat >>conftest.
$ac_ext <<_ACEOF
7983 /* end confdefs.h. */
7993 rm -f conftest.
$ac_objext conftest
$ac_exeext
7994 if { (ac_try
="$ac_link"
7996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7997 *) ac_try_echo=$ac_try;;
7999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8000 (eval "$ac_link") 2>conftest.er1
8002 grep -v '^ *+' conftest.er1 >conftest.err
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } && {
8007 test -z "$ac_c_werror_flag" ||
8008 test ! -s conftest.err
8009 } && test -s conftest$ac_exeext &&
8010 $as_test_x conftest$ac_exeext; then
8012 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8014 # Check for a 64-bit object if we didn't find anything.
8015 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8025 conftest$ac_exeext conftest.$ac_ext
8026 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8028 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8029 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"
8031 if test "$host_cpu" = ia64; then
8032 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8033 allow_undefined_flag="-z nodefs"
8034 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"
8036 # Determine the default libpath from the value encoded in an empty executable.
8037 cat >conftest.$ac_ext <<_ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8052 rm -f conftest.$ac_objext conftest$ac_exeext
8053 if { (ac_try="$ac_link"
8055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8056 *) ac_try_echo
=$ac_try;;
8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_link") 2>conftest.er1
8061 grep -v '^ *+' conftest.er1
>conftest.err
8063 cat conftest.err
>&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); } && {
8066 test -z "$ac_c_werror_flag" ||
8067 test ! -s conftest.err
8068 } && test -s conftest
$ac_exeext &&
8069 $as_test_x conftest
$ac_exeext; then
8071 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8073 # Check for a 64-bit object if we didn't find anything.
8074 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8077 echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.
$ac_ext >&5
8083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8084 conftest
$ac_exeext conftest.
$ac_ext
8085 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8087 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8088 # Warning - without using the other run time loading flags,
8089 # -berok will link without error, but may produce a broken library.
8090 no_undefined_flag
=' ${wl}-bernotok'
8091 allow_undefined_flag
=' ${wl}-berok'
8092 # Exported symbols can be pulled into shared objects from archives
8093 whole_archive_flag_spec
='$convenience'
8094 archive_cmds_need_lc
=yes
8095 # This is similar to how AIX traditionally builds its shared libraries.
8096 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'
8102 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)'
8103 hardcode_libdir_flag_spec
='-L$libdir'
8104 hardcode_minus_L
=yes
8105 # see comment about different semantics on the GNU ld section
8110 export_dynamic_flag_spec
=-rdynamic
8113 cygwin
* | mingw
* | pw32
*)
8114 # When not using gcc, we currently assume that we are using
8115 # Microsoft Visual C++.
8116 # hardcode_libdir_flag_spec is actually meaningless, as there is
8117 # no search path for DLLs.
8118 hardcode_libdir_flag_spec
=' '
8119 allow_undefined_flag
=unsupported
8120 # Tell ltmain to make .lib files, not .a files.
8122 # Tell ltmain to make .dll files, not .so files.
8124 # FIXME: Setting linknames here is a bad hack.
8125 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8126 # The linker will automatically build a .lib file if we build a DLL.
8127 old_archive_From_new_cmds
='true'
8128 # FIXME: Should let the user specify the lib program.
8129 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8130 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8131 enable_shared_with_static_runtimes
=yes
8134 darwin
* | rhapsody
*)
8136 rhapsody
* | darwin1.
[012])
8137 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8140 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8141 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8143 case ${MACOSX_DEPLOYMENT_TARGET} in
8145 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8148 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8154 archive_cmds_need_lc
=no
8156 hardcode_automatic
=yes
8157 hardcode_shlibpath_var
=unsupported
8158 whole_archive_flag_spec
=''
8159 link_all_deplibs
=yes
8160 if test "$GCC" = yes ; then
8161 output_verbose_link_cmd
='echo'
8162 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8163 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8164 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8165 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}'
8166 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}'
8168 case $cc_basename in
8170 output_verbose_link_cmd
='echo'
8171 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8172 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8173 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8174 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8175 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}'
8185 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8186 hardcode_libdir_flag_spec
='-L$libdir'
8187 hardcode_shlibpath_var
=no
8194 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8195 # support. Future versions do this automatically, but an explicit c++rt0.o
8196 # does not break anything, and helps significantly (at the cost of a little
8199 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8200 hardcode_libdir_flag_spec
='-R$libdir'
8202 hardcode_shlibpath_var
=no
8205 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8207 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8209 hardcode_minus_L
=yes
8210 hardcode_shlibpath_var
=no
8213 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8214 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8215 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8216 hardcode_libdir_flag_spec
='-R$libdir'
8218 hardcode_shlibpath_var
=no
8222 if test "$GCC" = yes; then
8223 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'
8225 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'
8227 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8228 hardcode_libdir_separator
=:
8231 # hardcode_minus_L: Not really in the search PATH,
8232 # but as the default location of the library.
8233 hardcode_minus_L
=yes
8234 export_dynamic_flag_spec
='${wl}-E'
8238 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8239 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8241 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8243 if test "$with_gnu_ld" = no
; then
8244 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8245 hardcode_libdir_separator
=:
8248 export_dynamic_flag_spec
='${wl}-E'
8250 # hardcode_minus_L: Not really in the search PATH,
8251 # but as the default location of the library.
8252 hardcode_minus_L
=yes
8257 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8260 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8263 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8266 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8272 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8275 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8278 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8282 if test "$with_gnu_ld" = no
; then
8283 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8284 hardcode_libdir_separator
=:
8288 hardcode_libdir_flag_spec_ld
='+b $libdir'
8290 hardcode_shlibpath_var
=no
8294 export_dynamic_flag_spec
='${wl}-E'
8296 # hardcode_minus_L: Not really in the search PATH,
8297 # but as the default location of the library.
8298 hardcode_minus_L
=yes
8304 irix5
* | irix6
* | nonstopux
*)
8305 if test "$GCC" = yes; then
8306 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'
8308 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'
8309 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8311 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8312 hardcode_libdir_separator
=:
8313 link_all_deplibs
=yes
8317 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8318 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8320 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8322 hardcode_libdir_flag_spec
='-R$libdir'
8324 hardcode_shlibpath_var
=no
8328 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8330 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8331 hardcode_libdir_separator
=:
8332 hardcode_shlibpath_var
=no
8337 hardcode_shlibpath_var
=no
8338 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8339 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8340 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8341 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8342 export_dynamic_flag_spec
='${wl}-E'
8345 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8347 hardcode_libdir_flag_spec
='-R$libdir'
8350 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8351 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8358 hardcode_libdir_flag_spec
='-L$libdir'
8359 hardcode_minus_L
=yes
8360 allow_undefined_flag
=unsupported
8361 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'
8362 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8366 if test "$GCC" = yes; then
8367 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8368 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'
8370 allow_undefined_flag
=' -expect_unresolved \*'
8371 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'
8373 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8374 hardcode_libdir_separator
=:
8377 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8378 if test "$GCC" = yes; then
8379 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8380 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'
8381 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8383 allow_undefined_flag
=' -expect_unresolved \*'
8384 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'
8385 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8386 $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'
8388 # Both c and cxx compiler support -rpath directly
8389 hardcode_libdir_flag_spec
='-rpath $libdir'
8391 hardcode_libdir_separator
=:
8395 no_undefined_flag
=' -z text'
8396 if test "$GCC" = yes; then
8398 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8399 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8400 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8403 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8404 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8405 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8407 hardcode_libdir_flag_spec
='-R$libdir'
8408 hardcode_shlibpath_var
=no
8410 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8412 # The compiler driver will combine linker options so we
8413 # cannot just pass the convience library names through
8414 # without $wl, iff we do not link with $LD.
8415 # Luckily, gcc supports the same syntax we need for Sun Studio.
8416 # Supported since Solaris 2.6 (maybe 2.5.1?)
8419 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8421 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8424 link_all_deplibs
=yes
8428 if test "x$host_vendor" = xsequent
; then
8429 # Use $CC to link under sequent, because it throws in some extra .o
8430 # files that make .init and .fini sections work.
8431 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8433 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8435 hardcode_libdir_flag_spec
='-L$libdir'
8437 hardcode_minus_L
=yes
8438 hardcode_shlibpath_var
=no
8442 case $host_vendor in
8444 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_direct
=yes # is this really true???
8448 ## LD is ld it makes a PLAMLIB
8449 ## CC just makes a GrossModule.
8450 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8451 reload_cmds
='$CC -r -o $output$reload_objs'
8455 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8456 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8459 runpath_var
='LD_RUN_PATH'
8460 hardcode_shlibpath_var
=no
8464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8465 hardcode_shlibpath_var
=no
8466 export_dynamic_flag_spec
='-Bexport'
8470 if test -d /usr
/nec
; then
8471 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8472 hardcode_shlibpath_var
=no
8473 runpath_var
=LD_RUN_PATH
8474 hardcode_runpath_var
=yes
8479 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8480 no_undefined_flag
='${wl}-z,text'
8481 archive_cmds_need_lc
=no
8482 hardcode_shlibpath_var
=no
8483 runpath_var
='LD_RUN_PATH'
8485 if test "$GCC" = yes; then
8486 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8487 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8489 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8490 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8494 sysv5
* | sco3.2v5
* | sco5v6
*)
8495 # Note: We can NOT use -z defs as we might desire, because we do not
8496 # link with -lc, and that would cause any symbols used from libc to
8497 # always be unresolved, which means just about no library would
8498 # ever link correctly. If we're not using GNU ld we use -z text
8499 # though, which does catch some bad symbols but isn't as heavy-handed
8501 no_undefined_flag
='${wl}-z,text'
8502 allow_undefined_flag
='${wl}-z,nodefs'
8503 archive_cmds_need_lc
=no
8504 hardcode_shlibpath_var
=no
8505 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8506 hardcode_libdir_separator
=':'
8507 link_all_deplibs
=yes
8508 export_dynamic_flag_spec
='${wl}-Bexport'
8509 runpath_var
='LD_RUN_PATH'
8511 if test "$GCC" = yes; then
8512 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8513 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8516 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8521 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8522 hardcode_libdir_flag_spec
='-L$libdir'
8523 hardcode_shlibpath_var
=no
8532 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8533 echo "${ECHO_T}$ld_shlibs" >&6; }
8534 test "$ld_shlibs" = no
&& can_build_shared
=no
8537 # Do we need to explicitly link libc?
8539 case "x$archive_cmds_need_lc" in
8541 # Assume -lc should be added
8542 archive_cmds_need_lc
=yes
8544 if test "$enable_shared" = yes && test "$GCC" = yes; then
8545 case $archive_cmds in
8547 # FIXME: we may have to deal with multi-command sequences.
8550 # Test whether the compiler implicitly links with -lc since on some
8551 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8552 # to ld, don't add -lc before -lgcc.
8553 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8554 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8556 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8559 (eval $ac_compile) 2>&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } 2>conftest.err
; then
8565 libobjs
=conftest.
$ac_objext
8567 wl
=$lt_prog_compiler_wl
8568 pic_flag
=$lt_prog_compiler_pic
8574 lt_save_allow_undefined_flag
=$allow_undefined_flag
8575 allow_undefined_flag
=
8576 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8577 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); }
8582 archive_cmds_need_lc
=no
8584 archive_cmds_need_lc
=yes
8586 allow_undefined_flag
=$lt_save_allow_undefined_flag
8588 cat conftest.err
1>&5
8591 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8592 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8599 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8600 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8602 libname_spec
='lib$name'
8610 shlibpath_overrides_runpath
=unknown
8612 dynamic_linker
="$host_os ld.so"
8613 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8614 if test "$GCC" = yes; then
8615 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8616 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8617 # if the path contains ";" then we assume it to be the separator
8618 # otherwise default to the standard path separator (i.e. ":") - it is
8619 # assumed that no part of a normal pathname contains ";" but that should
8620 # okay in the real world where ";" in dirpaths is itself problematic.
8621 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8623 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8626 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8628 need_lib_prefix
=unknown
8629 hardcode_into_libs
=no
8631 # when you set need_version to no, make sure it does not cause -set_version
8632 # flags to be left without arguments
8633 need_version
=unknown
8638 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8639 shlibpath_var
=LIBPATH
8641 # AIX 3 has no versioning support, so we append a major version to the name.
8642 soname_spec
='${libname}${release}${shared_ext}$major'
8649 hardcode_into_libs
=yes
8650 if test "$host_cpu" = ia64
; then
8651 # AIX 5 supports IA64
8652 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8653 shlibpath_var
=LD_LIBRARY_PATH
8655 # With GCC up to 2.95.x, collect2 would create an import file
8656 # for dependence libraries. The import file would start with
8657 # the line `#! .'. This would cause the generated library to
8658 # depend on `.', always an invalid library. This was fixed in
8659 # development snapshots of GCC prior to 3.0.
8661 aix4 | aix4.
[01] | aix4.
[01].
*)
8662 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8664 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8671 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8672 # soname into executable. Probably we can add versioning support to
8673 # collect2, so additional links can be useful in future.
8674 if test "$aix_use_runtimelinking" = yes; then
8675 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8676 # instead of lib<name>.a to let people know that these are not
8677 # typical AIX shared libraries.
8678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8680 # We preserve .a as extension for shared libraries through AIX4.2
8681 # and later when we are not doing run time linking.
8682 library_names_spec
='${libname}${release}.a $libname.a'
8683 soname_spec
='${libname}${release}${shared_ext}$major'
8685 shlibpath_var
=LIBPATH
8690 library_names_spec
='$libname.ixlibrary $libname.a'
8691 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8692 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'
8696 library_names_spec
='${libname}${shared_ext}'
8697 dynamic_linker
="$host_os ld.so"
8698 shlibpath_var
=LIBRARY_PATH
8704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8705 soname_spec
='${libname}${release}${shared_ext}$major'
8706 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8707 shlibpath_var
=LD_LIBRARY_PATH
8708 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8709 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8710 # the default ld.so.conf also contains /usr/contrib/lib and
8711 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8712 # libtool to hard-code these into programs
8715 cygwin
* | mingw
* | pw32
*)
8716 version_type
=windows
8721 case $GCC,$host_os in
8722 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8723 library_names_spec
='$libname.dll.a'
8724 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8725 postinstall_cmds
='base_file=`basename \${file}`~
8726 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8727 dldir=$destdir/`dirname \$dlpath`~
8728 test -d \$dldir || mkdir -p \$dldir~
8729 $install_prog $dir/$dlname \$dldir/$dlname~
8730 chmod a+x \$dldir/$dlname'
8731 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8732 dlpath=$dir/\$dldll~
8734 shlibpath_overrides_runpath
=yes
8738 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8739 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8740 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8743 # MinGW DLLs use traditional 'lib' prefix
8744 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8745 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8746 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8747 # It is most probably a Windows format PATH printed by
8748 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8749 # path with ; separators, and with drive letters. We can handle the
8750 # drive letters (cygwin fileutils understands them), so leave them,
8751 # especially as we might pass files found there to a mingw objdump,
8752 # which wouldn't understand a cygwinified path. Ahh.
8753 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8755 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8759 # pw32 DLLs use 'pw' prefix rather than 'lib'
8760 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8766 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8769 dynamic_linker
='Win32 ld.exe'
8770 # FIXME: first we should search . and the directory the executable is in
8774 darwin
* | rhapsody
*)
8775 dynamic_linker
="$host_os dyld"
8779 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8780 soname_spec
='${libname}${release}${major}$shared_ext'
8781 shlibpath_overrides_runpath
=yes
8782 shlibpath_var
=DYLD_LIBRARY_PATH
8783 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8784 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8785 if test "$GCC" = yes; then
8786 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8788 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8790 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8798 soname_spec
='${libname}${release}${shared_ext}$major'
8799 shlibpath_var
=LD_LIBRARY_PATH
8810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8811 soname_spec
='${libname}${release}${shared_ext}$major'
8812 shlibpath_var
=LD_LIBRARY_PATH
8813 shlibpath_overrides_runpath
=no
8814 hardcode_into_libs
=yes
8815 dynamic_linker
='GNU ld.so'
8818 freebsd
* | dragonfly
*)
8819 # DragonFly does not have aout. When/if they implement a new
8820 # versioning mechanism, adjust this.
8821 if test -x /usr
/bin
/objformat
; then
8822 objformat
=`/usr/bin/objformat`
8825 freebsd
[123]*) objformat
=aout
;;
8829 version_type
=freebsd-
$objformat
8830 case $version_type in
8832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8841 shlibpath_var
=LD_LIBRARY_PATH
8844 shlibpath_overrides_runpath
=yes
8846 freebsd3.
[01]* | freebsdelf3.
[01]*)
8847 shlibpath_overrides_runpath
=yes
8848 hardcode_into_libs
=yes
8850 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8851 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8852 shlibpath_overrides_runpath
=no
8853 hardcode_into_libs
=yes
8855 freebsd
*) # from 4.6 on
8856 shlibpath_overrides_runpath
=yes
8857 hardcode_into_libs
=yes
8866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8867 soname_spec
='${libname}${release}${shared_ext}$major'
8868 shlibpath_var
=LD_LIBRARY_PATH
8869 hardcode_into_libs
=yes
8872 hpux9
* | hpux10
* | hpux11
*)
8873 # Give a soname corresponding to the major version so that dld.sl refuses to
8874 # link against other versions.
8881 hardcode_into_libs
=yes
8882 dynamic_linker
="$host_os dld.so"
8883 shlibpath_var
=LD_LIBRARY_PATH
8884 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8886 soname_spec
='${libname}${release}${shared_ext}$major'
8887 if test "X$HPUX_IA64_MODE" = X32
; then
8888 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8890 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8892 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8896 hardcode_into_libs
=yes
8897 dynamic_linker
="$host_os dld.sl"
8898 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8899 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 soname_spec
='${libname}${release}${shared_ext}$major'
8902 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8903 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8907 dynamic_linker
="$host_os dld.sl"
8908 shlibpath_var
=SHLIB_PATH
8909 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8911 soname_spec
='${libname}${release}${shared_ext}$major'
8914 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8915 postinstall_cmds
='chmod 555 $lib'
8922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8923 soname_spec
='${libname}${release}${shared_ext}$major'
8924 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8925 shlibpath_var
=LD_LIBRARY_PATH
8926 shlibpath_overrides_runpath
=no
8927 hardcode_into_libs
=yes
8930 irix5
* | irix6
* | nonstopux
*)
8932 nonstopux
*) version_type
=nonstopux
;;
8934 if test "$lt_cv_prog_gnu_ld" = yes; then
8942 soname_spec
='${libname}${release}${shared_ext}$major'
8943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8945 irix5
* | nonstopux
*)
8949 case $LD in # libtool.m4 will add one of these switches to LD
8950 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8951 libsuff
= shlibsuff
= libmagic
=32-bit;;
8952 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8953 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8954 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8955 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8956 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8960 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8961 shlibpath_overrides_runpath
=no
8962 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8963 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8964 hardcode_into_libs
=yes
8967 # No shared lib support for Linux oldld, aout, or coff.
8968 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8972 # This must be Linux ELF.
8977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8978 soname_spec
='${libname}${release}${shared_ext}$major'
8979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8980 shlibpath_var
=LD_LIBRARY_PATH
8981 shlibpath_overrides_runpath
=no
8982 # This implies no fast_install, which is unacceptable.
8983 # Some rework will be needed to allow for fast_install
8984 # before this can be enabled.
8985 hardcode_into_libs
=yes
8987 # find out which ABI we are using
8990 x86_64
*|s390x
*|powerpc64
*)
8991 echo '#line 8991 "configure"' > conftest.
$ac_ext
8992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8993 (eval $ac_compile) 2>&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); }; then
8997 case `/usr/bin/file conftest.$ac_objext` in
9000 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9008 # Append ld.so.conf contents to the search path
9009 if test -f /etc
/ld.so.conf
; then
9010 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9011 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9014 # We used to test for /lib/ld.so.1 and disable shared libraries on
9015 # powerpc, because MkLinux only supported shared libraries with the
9016 # GNU dynamic linker. Since this was broken with cross compilers,
9017 # most powerpc-linux boxes support dynamic linking these days and
9018 # people can always --disable-shared, the test was removed, and we
9019 # assume the GNU/Linux dynamic linker is in use.
9020 dynamic_linker
='GNU/Linux ld.so'
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9028 soname_spec
='${libname}${release}${shared_ext}$major'
9029 shlibpath_var
=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath
=no
9031 hardcode_into_libs
=yes
9032 dynamic_linker
='GNU ld.so'
9039 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9041 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9042 dynamic_linker
='NetBSD (a.out) ld.so'
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9045 soname_spec
='${libname}${release}${shared_ext}$major'
9046 dynamic_linker
='NetBSD ld.elf_so'
9048 shlibpath_var
=LD_LIBRARY_PATH
9049 shlibpath_overrides_runpath
=yes
9050 hardcode_into_libs
=yes
9055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9056 shlibpath_var
=LD_LIBRARY_PATH
9057 shlibpath_overrides_runpath
=yes
9064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9065 soname_spec
='${libname}${release}${shared_ext}$major'
9066 shlibpath_var
=LD_LIBRARY_PATH
9067 shlibpath_overrides_runpath
=yes
9072 sys_lib_dlsearch_path_spec
="/usr/lib"
9074 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9076 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9077 *) need_version
=no
;;
9079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9081 shlibpath_var
=LD_LIBRARY_PATH
9082 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9084 openbsd2.
[89] | openbsd2.
[89].
*)
9085 shlibpath_overrides_runpath
=no
9088 shlibpath_overrides_runpath
=yes
9092 shlibpath_overrides_runpath
=yes
9097 libname_spec
='$name'
9100 library_names_spec
='$libname${shared_ext} $libname.a'
9101 dynamic_linker
='OS/2 ld.exe'
9102 shlibpath_var
=LIBPATH
9105 osf3
* | osf4
* | osf5
*)
9109 soname_spec
='${libname}${release}${shared_ext}$major'
9110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9111 shlibpath_var
=LD_LIBRARY_PATH
9112 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9113 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 shlibpath_overrides_runpath
=yes
9124 hardcode_into_libs
=yes
9125 # ldd complains unless libraries are executable
9126 postinstall_cmds
='chmod +x $lib'
9131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9132 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9133 shlibpath_var
=LD_LIBRARY_PATH
9134 shlibpath_overrides_runpath
=yes
9135 if test "$with_gnu_ld" = yes; then
9143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9144 soname_spec
='${libname}${release}${shared_ext}$major'
9145 shlibpath_var
=LD_LIBRARY_PATH
9146 case $host_vendor in
9148 shlibpath_overrides_runpath
=no
9150 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9151 runpath_var
=LD_RUN_PATH
9159 shlibpath_overrides_runpath
=no
9160 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9166 if test -d /usr
/nec
;then
9168 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9169 soname_spec
='$libname${shared_ext}.$major'
9170 shlibpath_var
=LD_LIBRARY_PATH
9174 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9175 version_type
=freebsd-elf
9178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9179 soname_spec
='${libname}${release}${shared_ext}$major'
9180 shlibpath_var
=LD_LIBRARY_PATH
9181 hardcode_into_libs
=yes
9182 if test "$with_gnu_ld" = yes; then
9183 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9184 shlibpath_overrides_runpath
=no
9186 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9187 shlibpath_overrides_runpath
=yes
9190 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9194 sys_lib_dlsearch_path_spec
='/usr/lib'
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9200 soname_spec
='${libname}${release}${shared_ext}$major'
9201 shlibpath_var
=LD_LIBRARY_PATH
9208 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9209 echo "${ECHO_T}$dynamic_linker" >&6; }
9210 test "$dynamic_linker" = no
&& can_build_shared
=no
9212 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9213 if test "$GCC" = yes; then
9214 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9217 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9218 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9220 if test -n "$hardcode_libdir_flag_spec" || \
9221 test -n "$runpath_var" || \
9222 test "X$hardcode_automatic" = "Xyes" ; then
9224 # We can hardcode non-existant directories.
9225 if test "$hardcode_direct" != no
&&
9226 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9227 # have to relink, otherwise we might link with an installed library
9228 # when we should be linking with a yet-to-be-installed one
9229 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9230 test "$hardcode_minus_L" != no
; then
9231 # Linking always hardcodes the temporary library directory.
9232 hardcode_action
=relink
9234 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9235 hardcode_action
=immediate
9238 # We cannot hardcode anything, or else we can only hardcode existing
9240 hardcode_action
=unsupported
9242 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9243 echo "${ECHO_T}$hardcode_action" >&6; }
9245 if test "$hardcode_action" = relink
; then
9246 # Fast installation is not supported
9247 enable_fast_install
=no
9248 elif test "$shlibpath_overrides_runpath" = yes ||
9249 test "$enable_shared" = no
; then
9250 # Fast installation is not necessary
9251 enable_fast_install
=needless
9256 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9257 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9258 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9259 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9260 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9261 { echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6; }
9264 # FIXME - insert some real tests, host_os isn't really good enough
9267 if test -n "$STRIP" ; then
9268 striplib
="$STRIP -x"
9269 { echo "$as_me:$LINENO: result: yes" >&5
9270 echo "${ECHO_T}yes" >&6; }
9272 { echo "$as_me:$LINENO: result: no" >&5
9273 echo "${ECHO_T}no" >&6; }
9277 { echo "$as_me:$LINENO: result: no" >&5
9278 echo "${ECHO_T}no" >&6; }
9283 if test "x$enable_dlopen" != xyes
; then
9284 enable_dlopen
=unknown
9285 enable_dlopen_self
=unknown
9286 enable_dlopen_self_static
=unknown
9293 lt_cv_dlopen
="load_add_on"
9295 lt_cv_dlopen_self
=yes
9299 lt_cv_dlopen
="LoadLibrary"
9304 lt_cv_dlopen
="dlopen"
9309 # if libdl is installed we need to link against it
9310 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9311 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9312 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 ac_check_lib_save_LIBS
=$LIBS
9317 cat >conftest.
$ac_ext <<_ACEOF
9320 cat confdefs.h
>>conftest.
$ac_ext
9321 cat >>conftest.
$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9339 rm -f conftest.
$ac_objext conftest
$ac_exeext
9340 if { (ac_try
="$ac_link"
9342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9343 *) ac_try_echo=$ac_try;;
9345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9346 (eval "$ac_link") 2>conftest.er1
9348 grep -v '^ *+' conftest.er1 >conftest.err
9350 cat conftest.err >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); } && {
9353 test -z "$ac_c_werror_flag" ||
9354 test ! -s conftest.err
9355 } && test -s conftest$ac_exeext &&
9356 $as_test_x conftest$ac_exeext; then
9357 ac_cv_lib_dl_dlopen=yes
9359 echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.$ac_ext >&5
9362 ac_cv_lib_dl_dlopen=no
9365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9370 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9371 if test $ac_cv_lib_dl_dlopen = yes; then
9372 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9377 lt_cv_dlopen_self=yes
9384 { echo "$as_me:$LINENO: checking for shl_load" >&5
9385 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9386 if test "${ac_cv_func_shl_load+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 cat >conftest.$ac_ext <<_ACEOF
9392 cat confdefs.h >>conftest.$ac_ext
9393 cat >>conftest.$ac_ext <<_ACEOF
9394 /* end confdefs.h. */
9395 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9397 #define shl_load innocuous_shl_load
9399 /* System header to define __stub macros and hopefully few prototypes,
9400 which can conflict with char shl_load (); below.
9401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9402 <limits.h> exists even on freestanding compilers. */
9405 # include <limits.h>
9407 # include <assert.h>
9412 /* Override any GCC internal prototype to avoid an error.
9413 Use char because int might match the return type of a GCC
9414 builtin and then its argument prototype would still apply. */
9419 /* The GNU C library defines this for functions which it implements
9420 to always fail with ENOSYS. Some functions are actually named
9421 something starting with __ and the normal name is an alias. */
9422 #if defined __stub_shl_load || defined __stub___shl_load
9434 rm -f conftest.$ac_objext conftest$ac_exeext
9435 if { (ac_try="$ac_link"
9437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9438 *) ac_try_echo
=$ac_try;;
9440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9441 (eval "$ac_link") 2>conftest.er1
9443 grep -v '^ *+' conftest.er1
>conftest.err
9445 cat conftest.err
>&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } && {
9448 test -z "$ac_c_werror_flag" ||
9449 test ! -s conftest.err
9450 } && test -s conftest
$ac_exeext &&
9451 $as_test_x conftest
$ac_exeext; then
9452 ac_cv_func_shl_load
=yes
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.
$ac_ext >&5
9457 ac_cv_func_shl_load
=no
9460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9461 conftest
$ac_exeext conftest.
$ac_ext
9463 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9464 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9465 if test $ac_cv_func_shl_load = yes; then
9466 lt_cv_dlopen
="shl_load"
9468 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9469 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9470 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 ac_check_lib_save_LIBS
=$LIBS
9475 cat >conftest.
$ac_ext <<_ACEOF
9478 cat confdefs.h
>>conftest.
$ac_ext
9479 cat >>conftest.
$ac_ext <<_ACEOF
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9497 rm -f conftest.
$ac_objext conftest
$ac_exeext
9498 if { (ac_try
="$ac_link"
9500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9501 *) ac_try_echo=$ac_try;;
9503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9504 (eval "$ac_link") 2>conftest.er1
9506 grep -v '^ *+' conftest.er1 >conftest.err
9508 cat conftest.err >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } && {
9511 test -z "$ac_c_werror_flag" ||
9512 test ! -s conftest.err
9513 } && test -s conftest$ac_exeext &&
9514 $as_test_x conftest$ac_exeext; then
9515 ac_cv_lib_dld_shl_load=yes
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9520 ac_cv_lib_dld_shl_load=no
9523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_lib_save_LIBS
9527 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9528 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9529 if test $ac_cv_lib_dld_shl_load = yes; then
9530 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9532 { echo "$as_me:$LINENO: checking for dlopen" >&5
9533 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9534 if test "${ac_cv_func_dlopen+set}" = set; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9537 cat >conftest.$ac_ext <<_ACEOF
9540 cat confdefs.h >>conftest.$ac_ext
9541 cat >>conftest.$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9543 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9545 #define dlopen innocuous_dlopen
9547 /* System header to define __stub macros and hopefully few prototypes,
9548 which can conflict with char dlopen (); below.
9549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9550 <limits.h> exists even on freestanding compilers. */
9553 # include <limits.h>
9555 # include <assert.h>
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9567 /* The GNU C library defines this for functions which it implements
9568 to always fail with ENOSYS. Some functions are actually named
9569 something starting with __ and the normal name is an alias. */
9570 #if defined __stub_dlopen || defined __stub___dlopen
9582 rm -f conftest.$ac_objext conftest$ac_exeext
9583 if { (ac_try="$ac_link"
9585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9586 *) ac_try_echo
=$ac_try;;
9588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9589 (eval "$ac_link") 2>conftest.er1
9591 grep -v '^ *+' conftest.er1
>conftest.err
9593 cat conftest.err
>&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); } && {
9596 test -z "$ac_c_werror_flag" ||
9597 test ! -s conftest.err
9598 } && test -s conftest
$ac_exeext &&
9599 $as_test_x conftest
$ac_exeext; then
9600 ac_cv_func_dlopen
=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.
$ac_ext >&5
9605 ac_cv_func_dlopen
=no
9608 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9609 conftest
$ac_exeext conftest.
$ac_ext
9611 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9612 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9613 if test $ac_cv_func_dlopen = yes; then
9614 lt_cv_dlopen
="dlopen"
9616 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9617 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9618 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9619 echo $ECHO_N "(cached) $ECHO_C" >&6
9621 ac_check_lib_save_LIBS
=$LIBS
9623 cat >conftest.
$ac_ext <<_ACEOF
9626 cat confdefs.h
>>conftest.
$ac_ext
9627 cat >>conftest.
$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9645 rm -f conftest.
$ac_objext conftest
$ac_exeext
9646 if { (ac_try
="$ac_link"
9648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9649 *) ac_try_echo=$ac_try;;
9651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 (eval "$ac_link") 2>conftest.er1
9654 grep -v '^ *+' conftest.er1 >conftest.err
9656 cat conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } && {
9659 test -z "$ac_c_werror_flag" ||
9660 test ! -s conftest.err
9661 } && test -s conftest$ac_exeext &&
9662 $as_test_x conftest$ac_exeext; then
9663 ac_cv_lib_dl_dlopen=yes
9665 echo "$as_me: failed program was:" >&5
9666 sed 's/^/| /' conftest.$ac_ext >&5
9668 ac_cv_lib_dl_dlopen=no
9671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_lib_save_LIBS
9675 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9676 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9677 if test $ac_cv_lib_dl_dlopen = yes; then
9678 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9680 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9681 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9682 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 ac_check_lib_save_LIBS=$LIBS
9687 cat >conftest.$ac_ext <<_ACEOF
9690 cat confdefs.h >>conftest.$ac_ext
9691 cat >>conftest.$ac_ext <<_ACEOF
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (ac_try="$ac_link"
9712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9713 *) ac_try_echo
=$ac_try;;
9715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9716 (eval "$ac_link") 2>conftest.er1
9718 grep -v '^ *+' conftest.er1
>conftest.err
9720 cat conftest.err
>&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } && {
9723 test -z "$ac_c_werror_flag" ||
9724 test ! -s conftest.err
9725 } && test -s conftest
$ac_exeext &&
9726 $as_test_x conftest
$ac_exeext; then
9727 ac_cv_lib_svld_dlopen
=yes
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.
$ac_ext >&5
9732 ac_cv_lib_svld_dlopen
=no
9735 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_lib_save_LIBS
9739 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9740 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9741 if test $ac_cv_lib_svld_dlopen = yes; then
9742 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9744 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9745 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9746 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 ac_check_lib_save_LIBS
=$LIBS
9751 cat >conftest.
$ac_ext <<_ACEOF
9754 cat confdefs.h
>>conftest.
$ac_ext
9755 cat >>conftest.
$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9773 rm -f conftest.
$ac_objext conftest
$ac_exeext
9774 if { (ac_try
="$ac_link"
9776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9777 *) ac_try_echo=$ac_try;;
9779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9780 (eval "$ac_link") 2>conftest.er1
9782 grep -v '^ *+' conftest.er1 >conftest.err
9784 cat conftest.err >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); } && {
9787 test -z "$ac_c_werror_flag" ||
9788 test ! -s conftest.err
9789 } && test -s conftest$ac_exeext &&
9790 $as_test_x conftest$ac_exeext; then
9791 ac_cv_lib_dld_dld_link=yes
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9796 ac_cv_lib_dld_dld_link=no
9799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9800 conftest$ac_exeext conftest.$ac_ext
9801 LIBS=$ac_check_lib_save_LIBS
9803 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9804 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9805 if test $ac_cv_lib_dld_dld_link = yes; then
9806 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9827 if test "x$lt_cv_dlopen" != xno; then
9833 case $lt_cv_dlopen in
9835 save_CPPFLAGS="$CPPFLAGS"
9836 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9838 save_LDFLAGS="$LDFLAGS"
9839 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9842 LIBS="$lt_cv_dlopen_libs $LIBS"
9844 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9845 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9846 if test "${lt_cv_dlopen_self+set}" = set; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 if test "$cross_compiling" = yes; then :
9850 lt_cv_dlopen_self=cross
9852 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9853 lt_status=$lt_dlunknown
9854 cat > conftest.$ac_ext <<EOF
9855 #line 9855 "configure"
9856 #include "confdefs.h"
9865 # define LT_DLGLOBAL RTLD_GLOBAL
9868 # define LT_DLGLOBAL DL_GLOBAL
9870 # define LT_DLGLOBAL 0
9874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9875 find out it does not work in some platform. */
9876 #ifndef LT_DLLAZY_OR_NOW
9878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9881 # define LT_DLLAZY_OR_NOW DL_LAZY
9884 # define LT_DLLAZY_OR_NOW RTLD_NOW
9887 # define LT_DLLAZY_OR_NOW DL_NOW
9889 # define LT_DLLAZY_OR_NOW 0
9897 extern "C" void exit (int);
9900 void fnord() { int i=42;}
9903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9904 int status = $lt_dlunknown;
9908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9909 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9910 /* dlclose (self); */
9918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9919 (eval $ac_link) 2>&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9923 (./conftest; exit; ) >&5 2>/dev/null
9926 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9927 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9928 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9931 # compilation failed
9932 lt_cv_dlopen_self=no
9939 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9940 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9942 if test "x$lt_cv_dlopen_self" = xyes; then
9943 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9944 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9945 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9946 if test "${lt_cv_dlopen_self_static+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 if test "$cross_compiling" = yes; then :
9950 lt_cv_dlopen_self_static=cross
9952 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9953 lt_status=$lt_dlunknown
9954 cat > conftest.$ac_ext <<EOF
9955 #line 9955 "configure"
9956 #include "confdefs.h"
9965 # define LT_DLGLOBAL RTLD_GLOBAL
9968 # define LT_DLGLOBAL DL_GLOBAL
9970 # define LT_DLGLOBAL 0
9974 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9975 find out it does not work in some platform. */
9976 #ifndef LT_DLLAZY_OR_NOW
9978 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9981 # define LT_DLLAZY_OR_NOW DL_LAZY
9984 # define LT_DLLAZY_OR_NOW RTLD_NOW
9987 # define LT_DLLAZY_OR_NOW DL_NOW
9989 # define LT_DLLAZY_OR_NOW 0
9997 extern "C" void exit (int);
10000 void fnord() { int i=42;}
10003 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10004 int status = $lt_dlunknown;
10008 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10009 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10010 /* dlclose (self); */
10018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10019 (eval $ac_link) 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10023 (./conftest; exit; ) >&5 2>/dev/null
10025 case x$lt_status in
10026 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10027 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10028 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10031 # compilation failed
10032 lt_cv_dlopen_self_static=no
10039 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10040 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10043 CPPFLAGS="$save_CPPFLAGS"
10044 LDFLAGS="$save_LDFLAGS"
10049 case $lt_cv_dlopen_self in
10050 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10051 *) enable_dlopen_self=unknown ;;
10054 case $lt_cv_dlopen_self_static in
10055 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10056 *) enable_dlopen_self_static=unknown ;;
10061 # Report which library types will actually be built
10062 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10063 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10064 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10065 echo "${ECHO_T}$can_build_shared" >&6; }
10067 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10068 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10069 test "$can_build_shared" = "no" && enable_shared=no
10071 # On AIX, shared libraries and static libraries use the same namespace, and
10072 # are all built from PIC.
10075 test "$enable_shared" = yes && enable_static=no
10076 if test -n "$RANLIB"; then
10077 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10078 postinstall_cmds='$RANLIB $lib'
10083 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10084 test "$enable_shared" = yes && enable_static=no
10088 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10089 echo "${ECHO_T}$enable_shared" >&6; }
10091 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10092 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10093 # Make sure either enable_shared or enable_static is yes.
10094 test "$enable_shared" = yes || enable_static=yes
10095 { echo "$as_me:$LINENO: result: $enable_static" >&5
10096 echo "${ECHO_T}$enable_static" >&6; }
10098 # The else clause should only fire when bootstrapping the
10099 # libtool distribution, otherwise you forgot to ship ltmain.sh
10100 # with your package, and you will get complaints that there are
10101 # no rules to generate ltmain.sh.
10102 if test -f "$ltmain"; then
10103 # See if we are running on zsh, and set the options which allow our commands through
10104 # without removal of \ escapes.
10105 if test -n "${ZSH_VERSION+set}" ; then
10106 setopt NO_GLOB_SUBST
10108 # Now quote all the things that may contain metacharacters while being
10109 # careful not to overquote the AC_SUBSTed values. We take copies of the
10110 # variables and quote the copies for generation of the libtool script.
10111 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10113 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10114 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10115 deplibs_check_method reload_flag reload_cmds need_locks \
10116 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10117 lt_cv_sys_global_symbol_to_c_name_address \
10118 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10119 old_postinstall_cmds old_postuninstall_cmds \
10123 lt_prog_compiler_wl \
10124 lt_prog_compiler_pic \
10125 lt_prog_compiler_static \
10126 lt_prog_compiler_no_builtin_flag \
10127 export_dynamic_flag_spec \
10128 thread_safe_flag_spec \
10129 whole_archive_flag_spec \
10130 enable_shared_with_static_runtimes \
10132 old_archive_from_new_cmds \
10137 compiler_lib_search_path \
10139 archive_expsym_cmds \
10141 postuninstall_cmds \
10142 old_archive_from_expsyms_cmds \
10143 allow_undefined_flag \
10144 no_undefined_flag \
10145 export_symbols_cmds \
10146 hardcode_libdir_flag_spec \
10147 hardcode_libdir_flag_spec_ld \
10148 hardcode_libdir_separator \
10149 hardcode_automatic \
10151 module_expsym_cmds \
10152 lt_cv_prog_compiler_c_o \
10154 include_expsyms; do
10157 old_archive_cmds | \
10158 old_archive_from_new_cmds | \
10160 archive_expsym_cmds | \
10162 module_expsym_cmds | \
10163 old_archive_from_expsyms_cmds | \
10164 export_symbols_cmds | \
10165 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10166 postinstall_cmds | postuninstall_cmds | \
10167 old_postinstall_cmds | old_postuninstall_cmds | \
10168 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10169 # Double-quote double-evaled strings.
10170 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10173 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10179 *'\$0 --fallback-echo"')
10180 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10184 cfgfile="${ofile}T"
10185 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10187 { echo "$as_me:$LINENO: creating $ofile" >&5
10188 echo "$as_me: creating $ofile" >&6;}
10190 cat <<__EOF__ >> "$cfgfile"
10193 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10194 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10195 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10197 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10198 # Free Software Foundation, Inc.
10200 # This file is part of GNU Libtool:
10201 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10203 # This program is free software; you can redistribute it and/or modify
10204 # it under the terms of the GNU General Public License as published by
10205 # the Free Software Foundation; either version 2 of the License, or
10206 # (at your option) any later version.
10208 # This program is distributed in the hope that it will be useful, but
10209 # WITHOUT ANY WARRANTY; without even the implied warranty of
10210 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10211 # General Public License for more details.
10213 # You should have received a copy of the GNU General Public License
10214 # along with this program; if not, write to the Free Software
10215 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10217 # As a special exception to the GNU General Public License, if you
10218 # distribute this file as part of a program that contains a
10219 # configuration script generated by Autoconf, you may include it under
10220 # the same distribution terms that you use for the rest of that program.
10222 # A sed program that does not truncate output.
10225 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10226 Xsed="$SED -e 1s/^X//"
10228 # The HP-UX ksh and POSIX shell print the target directory to stdout
10229 # if CDPATH is set.
10230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10232 # The names of the tagged configurations supported by this script.
10235 # ### BEGIN LIBTOOL CONFIG
10237 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10239 # Shell to use when invoking shell scripts.
10242 # Whether or not to build shared libraries.
10243 build_libtool_libs=$enable_shared
10245 # Whether or not to build static libraries.
10246 build_old_libs=$enable_static
10248 # Whether or not to add -lc for building shared libraries.
10249 build_libtool_need_lc=$archive_cmds_need_lc
10251 # Whether or not to disallow shared libs when runtime libs are static
10252 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10254 # Whether or not to optimize for fast installation.
10255 fast_install=$enable_fast_install
10258 host_alias=$host_alias
10262 # The build system.
10263 build_alias=$build_alias
10267 # An echo program that does not interpret backslashes.
10272 AR_FLAGS=$lt_AR_FLAGS
10277 # LTCC compiler flags.
10278 LTCFLAGS=$lt_LTCFLAGS
10280 # A language-specific compiler.
10283 # Is the compiler the GNU C compiler?
10289 # The linker used to build libraries.
10292 # Whether we need hard or soft links.
10295 # A BSD-compatible nm program.
10298 # A symbol stripping program
10301 # Used to examine libraries when file_magic_cmd begins "file"
10302 MAGIC_CMD=$MAGIC_CMD
10304 # Used on cygwin: DLL creation program.
10307 # Used on cygwin: object dumper.
10310 # Used on cygwin: assembler.
10313 # The name of the directory that contains temporary libtool files.
10316 # How to create reloadable object files.
10317 reload_flag=$lt_reload_flag
10318 reload_cmds=$lt_reload_cmds
10320 # How to pass a linker flag through the compiler.
10321 wl=$lt_lt_prog_compiler_wl
10323 # Object file suffix (normally "o").
10324 objext="$ac_objext"
10326 # Old archive suffix (normally "a").
10329 # Shared library suffix (normally ".so").
10330 shrext_cmds='$shrext_cmds'
10332 # Executable file suffix (normally "").
10335 # Additional compiler flags for building library objects.
10336 pic_flag=$lt_lt_prog_compiler_pic
10339 # What is the maximum length of a command?
10340 max_cmd_len=$lt_cv_sys_max_cmd_len
10342 # Does compiler simultaneously support -c and -o options?
10343 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10345 # Must we lock files when doing compilation?
10346 need_locks=$lt_need_locks
10348 # Do we need the lib prefix for modules?
10349 need_lib_prefix=$need_lib_prefix
10351 # Do we need a version for libraries?
10352 need_version=$need_version
10354 # Whether dlopen is supported.
10355 dlopen_support=$enable_dlopen
10357 # Whether dlopen of programs is supported.
10358 dlopen_self=$enable_dlopen_self
10360 # Whether dlopen of statically linked programs is supported.
10361 dlopen_self_static=$enable_dlopen_self_static
10363 # Compiler flag to prevent dynamic linking.
10364 link_static_flag=$lt_lt_prog_compiler_static
10366 # Compiler flag to turn off builtin functions.
10367 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10369 # Compiler flag to allow reflexive dlopens.
10370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10372 # Compiler flag to generate shared objects directly from archives.
10373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10375 # Compiler flag to generate thread-safe objects.
10376 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10378 # Library versioning type.
10379 version_type=$version_type
10381 # Format of library name prefix.
10382 libname_spec=$lt_libname_spec
10384 # List of archive names. First name is the real one, the rest are links.
10385 # The last name is the one that the linker finds with -lNAME.
10386 library_names_spec=$lt_library_names_spec
10388 # The coded name of the library, if different from the real name.
10389 soname_spec=$lt_soname_spec
10391 # Commands used to build and install an old-style archive.
10393 old_archive_cmds=$lt_old_archive_cmds
10394 old_postinstall_cmds=$lt_old_postinstall_cmds
10395 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10397 # Create an old-style archive from a shared archive.
10398 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10400 # Create a temporary old-style archive to link instead of a shared archive.
10401 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10403 # Commands used to build and install a shared archive.
10404 archive_cmds=$lt_archive_cmds
10405 archive_expsym_cmds=$lt_archive_expsym_cmds
10406 postinstall_cmds=$lt_postinstall_cmds
10407 postuninstall_cmds=$lt_postuninstall_cmds
10409 # Commands used to build a loadable module (assumed same as above if empty)
10410 module_cmds=$lt_module_cmds
10411 module_expsym_cmds=$lt_module_expsym_cmds
10413 # Commands to strip libraries.
10414 old_striplib=$lt_old_striplib
10415 striplib=$lt_striplib
10417 # Dependencies to place before the objects being linked to create a
10419 predep_objects=$lt_predep_objects
10421 # Dependencies to place after the objects being linked to create a
10423 postdep_objects=$lt_postdep_objects
10425 # Dependencies to place before the objects being linked to create a
10427 predeps=$lt_predeps
10429 # Dependencies to place after the objects being linked to create a
10431 postdeps=$lt_postdeps
10433 # The library search path used internally by the compiler when linking
10434 # a shared library.
10435 compiler_lib_search_path=$lt_compiler_lib_search_path
10437 # Method to check whether dependent libraries are shared objects.
10438 deplibs_check_method=$lt_deplibs_check_method
10440 # Command to use when deplibs_check_method == file_magic.
10441 file_magic_cmd=$lt_file_magic_cmd
10443 # Flag that allows shared libraries with undefined symbols to be built.
10444 allow_undefined_flag=$lt_allow_undefined_flag
10446 # Flag that forces no undefined symbols.
10447 no_undefined_flag=$lt_no_undefined_flag
10449 # Commands used to finish a libtool library installation in a directory.
10450 finish_cmds=$lt_finish_cmds
10452 # Same as above, but a single script fragment to be evaled but not shown.
10453 finish_eval=$lt_finish_eval
10455 # Take the output of nm and produce a listing of raw symbols and C names.
10456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10458 # Transform the output of nm in a proper C declaration
10459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10461 # Transform the output of nm in a C name address pair
10462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10464 # This is the shared library runtime path variable.
10465 runpath_var=$runpath_var
10467 # This is the shared library path variable.
10468 shlibpath_var=$shlibpath_var
10470 # Is shlibpath searched before the hard-coded library search path?
10471 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10473 # How to hardcode a shared library path into an executable.
10474 hardcode_action=$hardcode_action
10476 # Whether we should hardcode library paths into libraries.
10477 hardcode_into_libs=$hardcode_into_libs
10479 # Flag to hardcode \$libdir into a binary during linking.
10480 # This must work even if \$libdir does not exist.
10481 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10483 # If ld is used when linking, flag to hardcode \$libdir into
10484 # a binary during linking. This must work even if \$libdir does
10486 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10488 # Whether we need a single -rpath flag with a separated argument.
10489 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10491 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10492 # resulting binary.
10493 hardcode_direct=$hardcode_direct
10495 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10496 # resulting binary.
10497 hardcode_minus_L=$hardcode_minus_L
10499 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10500 # the resulting binary.
10501 hardcode_shlibpath_var=$hardcode_shlibpath_var
10503 # Set to yes if building a shared library automatically hardcodes DIR into the library
10504 # and all subsequent libraries and executables linked against it.
10505 hardcode_automatic=$hardcode_automatic
10507 # Variables whose values should be saved in libtool wrapper scripts and
10508 # restored at relink time.
10509 variables_saved_for_relink="$variables_saved_for_relink"
10511 # Whether libtool must link a program against all its dependency libraries.
10512 link_all_deplibs=$link_all_deplibs
10514 # Compile-time system search path for libraries
10515 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10517 # Run-time system search path for libraries
10518 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10520 # Fix the shell variable \$srcfile for the compiler.
10521 fix_srcfile_path="$fix_srcfile_path"
10523 # Set to yes if exported symbols are required.
10524 always_export_symbols=$always_export_symbols
10526 # The commands to list exported symbols.
10527 export_symbols_cmds=$lt_export_symbols_cmds
10529 # The commands to extract the exported symbol list from a shared archive.
10530 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10532 # Symbols that should not be listed in the preloaded symbols.
10533 exclude_expsyms=$lt_exclude_expsyms
10535 # Symbols that must always be exported.
10536 include_expsyms=$lt_include_expsyms
10538 # ### END LIBTOOL CONFIG
10545 cat <<\EOF >> "$cfgfile"
10547 # AIX sometimes has problems with the GCC collect2 program. For some
10548 # reason, if we set the COLLECT_NAMES environment variable, the problems
10549 # vanish in a puff of smoke.
10550 if test "X${COLLECT_NAMES+set}" != Xset; then
10552 export COLLECT_NAMES
10558 # We use sed instead of cat because bash on DJGPP gets confused if
10559 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10560 # text mode, it properly converts lines to CR/LF. This bash problem
10561 # is reportedly fixed, but why not run on old versions too?
10562 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10564 mv -f "$cfgfile" "$ofile" || \
10565 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10569 # If there is no Makefile yet, we rely on a make rule to execute
10570 # `config.status
--recheck' to rerun these tests and create the
10571 # libtool script then.
10572 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10573 if test -f "$ltmain_in"; then
10574 test -f Makefile && make "$ltmain"
10580 ac_cpp='$CPP $CPPFLAGS'
10581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10582 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10588 # Check whether --with-tags was given.
10589 if test "${with_tags+set}" = set; then
10590 withval=$with_tags; tagnames="$withval"
10594 if test -f "$ltmain" && test -n "$tagnames"; then
10595 if test ! -f "${ofile}"; then
10596 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10597 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10600 if test -z "$LTCC"; then
10601 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10602 if test -z "$LTCC"; then
10603 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10604 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10606 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10607 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10610 if test -z "$LTCFLAGS"; then
10611 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10614 # Extract list of available tagged configurations in $ofile.
10615 # Note that this assumes the entire list is on one line.
10616 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10618 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10619 for tagname in $tagnames; do
10621 # Check whether tagname contains only valid characters
10622 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10624 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10625 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10626 { (exit 1); exit 1; }; }
10630 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10632 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10633 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10634 { (exit 1); exit 1; }; }
10637 # Update the list of available tags.
10638 if test -n "$tagname"; then
10639 echo appending configuration tag \"$tagname\" to $ofile
10643 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10644 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10645 (test "X$CXX" != "Xg++"))) ; then
10647 ac_cpp='$CXXCPP $CPPFLAGS'
10648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10655 archive_cmds_need_lc_CXX=no
10656 allow_undefined_flag_CXX=
10657 always_export_symbols_CXX=no
10658 archive_expsym_cmds_CXX=
10659 export_dynamic_flag_spec_CXX=
10660 hardcode_direct_CXX=no
10661 hardcode_libdir_flag_spec_CXX=
10662 hardcode_libdir_flag_spec_ld_CXX=
10663 hardcode_libdir_separator_CXX=
10664 hardcode_minus_L_CXX=no
10665 hardcode_shlibpath_var_CXX=unsupported
10666 hardcode_automatic_CXX=no
10668 module_expsym_cmds_CXX=
10669 link_all_deplibs_CXX=unknown
10670 old_archive_cmds_CXX=$old_archive_cmds
10671 no_undefined_flag_CXX=
10672 whole_archive_flag_spec_CXX=
10673 enable_shared_with_static_runtimes_CXX=no
10675 # Dependencies to place before and after the object being linked:
10676 predep_objects_CXX=
10677 postdep_objects_CXX=
10680 compiler_lib_search_path_CXX=
10682 # Source file extension for C++ test sources.
10685 # Object file extension for compiled C++ test sources.
10689 # Code to be used in simple compile tests
10690 lt_simple_compile_test_code="int some_variable = 0;\n"
10692 # Code to be used in simple link tests
10693 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10695 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10697 # If no C compiler was specified, use CC.
10700 # If no C compiler flags were specified, use CFLAGS.
10701 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10703 # Allow CC to be a program name with arguments.
10707 # save warnings/boilerplate of simple test code
10708 ac_outfile=conftest.$ac_objext
10709 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10710 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10711 _lt_compiler_boilerplate=`cat conftest.err
`
10714 ac_outfile=conftest.$ac_objext
10715 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10716 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10717 _lt_linker_boilerplate=`cat conftest.err
`
10721 # Allow CC to be a program name with arguments.
10726 lt_save_with_gnu_ld=$with_gnu_ld
10727 lt_save_path_LD=$lt_cv_path_LD
10728 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10729 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10731 $as_unset lt_cv_prog_gnu_ld
10733 if test -n "${lt_cv_path_LDCXX+set}"; then
10734 lt_cv_path_LD=$lt_cv_path_LDCXX
10736 $as_unset lt_cv_path_LD
10738 test -z "${LDCXX+set}" || LD=$LDCXX
10742 for cc_temp in $compiler""; do
10744 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10745 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10750 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10753 # We don't want -fno-exception wen compiling C++ code, so set the
10754 # no_builtin_flag separately
10755 if test "$GXX" = yes; then
10756 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10758 lt_prog_compiler_no_builtin_flag_CXX=
10761 if test "$GXX" = yes; then
10762 # Set up default GNU C++ configuration
10765 # Check whether --with-gnu-ld was given.
10766 if test "${with_gnu_ld+set}" = set; then
10767 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10773 if test "$GCC" = yes; then
10774 # Check if gcc -print-prog-name=ld gives a path.
10775 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10776 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10779 # gcc leaves a trailing carriage return which upsets mingw
10780 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10782 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10785 # Accept absolute paths.
10787 re_direlt='/[^/][^/]*/\.\./'
10788 # Canonicalize the pathname of ld
10789 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10790 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10791 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10793 test -z "$LD" && LD="$ac_prog"
10796 # If it fails, then pretend we aren't using GCC.
10800 # If it is relative, then search for the first ld in PATH.
10801 with_gnu_ld=unknown
10804 elif test "$with_gnu_ld" = yes; then
10805 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10806 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10808 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10809 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10811 if test "${lt_cv_path_LD+set}" = set; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 if test -z "$LD"; then
10815 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10816 for ac_dir in $PATH; do
10818 test -z "$ac_dir" && ac_dir=.
10819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10820 lt_cv_path_LD="$ac_dir/$ac_prog"
10821 # Check to see if the program is GNU ld. I'd rather use --version,
10822 # but apparently some variants of GNU ld only accept -v.
10823 # Break only if it was the GNU/non-GNU ld that we prefer.
10824 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10825 *GNU* | *'with BFD'*)
10826 test "$with_gnu_ld" != no && break
10829 test "$with_gnu_ld" != yes && break
10836 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10840 LD="$lt_cv_path_LD"
10841 if test -n "$LD"; then
10842 { echo "$as_me:$LINENO: result: $LD" >&5
10843 echo "${ECHO_T}$LD" >&6; }
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10848 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10849 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10850 { (exit 1); exit 1; }; }
10851 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10852 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10853 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10857 case `$LD -v 2>&1 </dev
/null
` in
10858 *GNU* | *'with BFD'*)
10859 lt_cv_prog_gnu_ld=yes
10862 lt_cv_prog_gnu_ld=no
10866 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10867 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10868 with_gnu_ld=$lt_cv_prog_gnu_ld
10872 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10873 # archiving commands below assume that GNU ld is being used.
10874 if test "$with_gnu_ld" = yes; then
10875 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10876 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'
10878 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10879 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10881 # If archive_cmds runs LD, not CC, wlarc should be empty
10882 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10883 # investigate it a little bit more. (MM)
10886 # ancient GNU ld didn't support --whole-archive et. al.
10887 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10888 grep 'no-whole-archive' > /dev/null; then
10889 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10891 whole_archive_flag_spec_CXX=
10897 # A generic and very simple default shared library creation
10898 # command for GNU C++ for the case where it uses the native
10899 # linker, instead of GNU ld. If possible, this setting should
10900 # overridden to take advantage of the native linker features on
10901 # the platform it is being used on.
10902 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10905 # Commands to make compiler produce verbose output that lists
10906 # what "hidden" libraries, object files and flags are used when
10907 # linking a shared library.
10908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10916 # PORTME: fill in a description of your system's C++ link characteristics
10917 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10918 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10922 # FIXME: insert proper C++ library support
10926 if test "$host_cpu" = ia64; then
10927 # On IA64, the linker does run time linking by default, so we don't
10928 # have to do anything special.
10929 aix_use_runtimelinking=no
10930 exp_sym_flag='-Bexport'
10933 aix_use_runtimelinking=no
10935 # Test if we are trying to use run time linking or normal
10936 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10937 # need to do runtime linking.
10938 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10939 for ld_flag in $LDFLAGS; do
10942 aix_use_runtimelinking=yes
10950 exp_sym_flag='-bexport'
10951 no_entry_flag='-bnoentry'
10954 # When large executables or shared objects are built, AIX ld can
10955 # have problems creating the table of contents. If linking a library
10956 # or program results in "error TOC overflow" add -mminimal-toc to
10957 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10958 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10960 archive_cmds_CXX=''
10961 hardcode_direct_CXX=yes
10962 hardcode_libdir_separator_CXX=':'
10963 link_all_deplibs_CXX=yes
10965 if test "$GXX" = yes; then
10966 case $host_os in aix4.[012]|aix4.[012].*)
10967 # We only want to do this on AIX 4.2 and lower, the check
10968 # below for broken collect2 doesn't work under 4.3+
10969 collect2name=`${CC} -print-prog-name=collect2
`
10970 if test -f "$collect2name" && \
10971 strings "$collect2name" | grep resolve_lib_name >/dev/null
10973 # We have reworked collect2
10974 hardcode_direct_CXX=yes
10976 # We have old collect2
10977 hardcode_direct_CXX=unsupported
10978 # It fails to find uninstalled libraries when the uninstalled
10979 # path is not listed in the libpath. Setting hardcode_minus_L
10980 # to unsupported forces relinking
10981 hardcode_minus_L_CXX=yes
10982 hardcode_libdir_flag_spec_CXX='-L$libdir'
10983 hardcode_libdir_separator_CXX=
10987 shared_flag='-shared'
10988 if test "$aix_use_runtimelinking" = yes; then
10989 shared_flag="$shared_flag "'${wl}-G'
10993 if test "$host_cpu" = ia64; then
10994 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10995 # chokes on -Wl,-G. The following line is correct:
10998 if test "$aix_use_runtimelinking" = yes; then
10999 shared_flag='${wl}-G'
11001 shared_flag='${wl}-bM:SRE'
11006 # It seems that -bexpall does not export symbols beginning with
11007 # underscore (_), so it is better to generate a list of symbols to export.
11008 always_export_symbols_CXX=yes
11009 if test "$aix_use_runtimelinking" = yes; then
11010 # Warning - without using the other runtime loading flags (-brtl),
11011 # -berok will link without error, but may produce a broken library.
11012 allow_undefined_flag_CXX='-berok'
11013 # Determine the default libpath from the value encoded in an empty executable.
11014 cat >conftest.$ac_ext <<_ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11029 rm -f conftest.$ac_objext conftest$ac_exeext
11030 if { (ac_try="$ac_link"
11031 case "(($ac_try" in
11032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11033 *) ac_try_echo
=$ac_try;;
11035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11036 (eval "$ac_link") 2>conftest.er1
11038 grep -v '^ *+' conftest.er1
>conftest.err
11040 cat conftest.err
>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); } && {
11043 test -z "$ac_cxx_werror_flag" ||
11044 test ! -s conftest.err
11045 } && test -s conftest
$ac_exeext &&
11046 $as_test_x conftest
$ac_exeext; then
11048 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11050 # Check for a 64-bit object if we didn't find anything.
11051 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.
$ac_ext >&5
11060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11061 conftest
$ac_exeext conftest.
$ac_ext
11062 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11064 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11066 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"
11068 if test "$host_cpu" = ia64
; then
11069 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11070 allow_undefined_flag_CXX
="-z nodefs"
11071 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"
11073 # Determine the default libpath from the value encoded in an empty executable.
11074 cat >conftest.
$ac_ext <<_ACEOF
11077 cat confdefs.h
>>conftest.
$ac_ext
11078 cat >>conftest.
$ac_ext <<_ACEOF
11079 /* end confdefs.h. */
11089 rm -f conftest.
$ac_objext conftest
$ac_exeext
11090 if { (ac_try
="$ac_link"
11091 case "(($ac_try" in
11092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11093 *) ac_try_echo=$ac_try;;
11095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11096 (eval "$ac_link") 2>conftest.er1
11098 grep -v '^ *+' conftest.er1 >conftest.err
11100 cat conftest.err >&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); } && {
11103 test -z "$ac_cxx_werror_flag" ||
11104 test ! -s conftest.err
11105 } && test -s conftest$ac_exeext &&
11106 $as_test_x conftest$ac_exeext; then
11108 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11110 # Check for a 64-bit object if we didn't find anything.
11111 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11121 conftest$ac_exeext conftest.$ac_ext
11122 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11124 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11125 # Warning - without using the other run time loading flags,
11126 # -berok will link without error, but may produce a broken library.
11127 no_undefined_flag_CXX=' ${wl}-bernotok'
11128 allow_undefined_flag_CXX=' ${wl}-berok'
11129 # Exported symbols can be pulled into shared objects from archives
11130 whole_archive_flag_spec_CXX='$convenience'
11131 archive_cmds_need_lc_CXX=yes
11132 # This is similar to how AIX traditionally builds its shared libraries.
11133 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'
11139 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11140 allow_undefined_flag_CXX=unsupported
11141 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11142 # support --undefined. This deserves some investigation. FIXME
11143 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11150 case $cc_basename in
11152 # FIXME: insert proper C++ library support
11158 cygwin* | mingw* | pw32*)
11159 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11160 # as there is no search path for DLLs.
11161 hardcode_libdir_flag_spec_CXX='-L$libdir'
11162 allow_undefined_flag_CXX=unsupported
11163 always_export_symbols_CXX=no
11164 enable_shared_with_static_runtimes_CXX=yes
11166 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11167 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'
11168 # If the export-symbols file already is a .def file (1st line
11169 # is EXPORTS), use it as is; otherwise, prepend...
11170 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11171 cp $export_symbols $output_objdir/$soname.def;
11173 echo EXPORTS > $output_objdir/$soname.def;
11174 cat $export_symbols >> $output_objdir/$soname.def;
11176 $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'
11181 darwin* | rhapsody*)
11183 rhapsody* | darwin1.[012])
11184 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11187 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11188 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11190 case ${MACOSX_DEPLOYMENT_TARGET} in
11192 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11195 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11201 archive_cmds_need_lc_CXX=no
11202 hardcode_direct_CXX=no
11203 hardcode_automatic_CXX=yes
11204 hardcode_shlibpath_var_CXX=unsupported
11205 whole_archive_flag_spec_CXX=''
11206 link_all_deplibs_CXX=yes
11208 if test "$GXX" = yes ; then
11209 lt_int_apple_cc_single_mod=no
11210 output_verbose_link_cmd='echo'
11211 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11212 lt_int_apple_cc_single_mod=yes
11214 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11215 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11217 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'
11219 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11220 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11221 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11222 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}'
11224 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}'
11226 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}'
11228 case $cc_basename in
11230 output_verbose_link_cmd='echo'
11231 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11232 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11233 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11234 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11235 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}'
11245 case $cc_basename in
11247 # FIXME: insert proper C++ library support
11251 # Green Hills C++ Compiler
11252 # FIXME: insert proper C++ library support
11256 # FIXME: insert proper C++ library support
11262 # C++ shared libraries reported to be fairly broken before switch to ELF
11266 archive_cmds_need_lc_CXX=no
11268 freebsd* | kfreebsd*-gnu | dragonfly*)
11269 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11276 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11277 hardcode_libdir_separator_CXX=:
11278 export_dynamic_flag_spec_CXX='${wl}-E'
11279 hardcode_direct_CXX=yes
11280 hardcode_minus_L_CXX=yes # Not in the search PATH,
11281 # but as the default
11282 # location of the library.
11284 case $cc_basename in
11286 # FIXME: insert proper C++ library support
11290 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'
11291 # Commands to make compiler produce verbose output that lists
11292 # what "hidden" libraries, object files and flags are used when
11293 # linking a shared library.
11295 # There doesn't appear to be a way to prevent this compiler from
11296 # explicitly linking system object files so we need to strip them
11297 # from the output so that they don't get included in the library
11299 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'
11302 if test "$GXX" = yes; then
11303 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'
11305 # FIXME: insert proper C++ library support
11312 if test $with_gnu_ld = no; then
11313 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11314 hardcode_libdir_separator_CXX=:
11318 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11321 export_dynamic_flag_spec_CXX='${wl}-E'
11327 hardcode_direct_CXX=no
11328 hardcode_shlibpath_var_CXX=no
11331 hardcode_direct_CXX=yes
11332 hardcode_minus_L_CXX=yes # Not in the search PATH,
11333 # but as the default
11334 # location of the library.
11338 case $cc_basename in
11340 # FIXME: insert proper C++ library support
11346 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11349 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11352 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11355 # Commands to make compiler produce verbose output that lists
11356 # what "hidden" libraries, object files and flags are used when
11357 # linking a shared library.
11359 # There doesn't appear to be a way to prevent this compiler from
11360 # explicitly linking system object files so we need to strip them
11361 # from the output so that they don't get included in the library
11363 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'
11366 if test "$GXX" = yes; then
11367 if test $with_gnu_ld = no; then
11370 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11373 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11376 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'
11381 # FIXME: insert proper C++ library support
11388 hardcode_direct_CXX=no
11389 hardcode_shlibpath_var_CXX=no
11390 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11391 export_dynamic_flag_spec_CXX='${wl}-E'
11392 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11393 # Instead, shared libraries are loaded at an image base (0x10000000 by
11394 # default) and relocated if they conflict, which is a slow very memory
11395 # consuming and fragmenting process. To avoid this, we pick a random,
11396 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11397 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11398 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'
11399 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'
11402 case $cc_basename in
11405 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'
11407 # Archives containing C++ object files must be created using
11408 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11409 # necessary to make sure instantiated templates are included
11411 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11414 if test "$GXX" = yes; then
11415 if test "$with_gnu_ld" = no; then
11416 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'
11418 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'
11421 link_all_deplibs_CXX=yes
11424 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11425 hardcode_libdir_separator_CXX=:
11428 case $cc_basename in
11430 # Kuck and Associates, Inc. (KAI) C++ Compiler
11432 # KCC will only create a shared library if the output file
11433 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11434 # to its proper name (with version) after linking.
11435 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'
11436 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'
11437 # Commands to make compiler produce verbose output that lists
11438 # what "hidden" libraries, object files and flags are used when
11439 # linking a shared library.
11441 # There doesn't appear to be a way to prevent this compiler from
11442 # explicitly linking system object files so we need to strip them
11443 # from the output so that they don't get included in the library
11445 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'
11447 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11448 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11450 # Archives containing C++ object files must be created using
11451 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11452 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11457 # version 8.0 and above of icpc choke on multiply defined symbols
11458 # if we add $predep_objects and $postdep_objects, however 7.1 and
11459 # earlier do not add the objects themselves.
11460 case `$CC -V 2>&1` in
11462 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11463 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'
11465 *) # Version 8.0 or newer
11468 ia64
*) tmp_idyn
=' -i_dynamic';;
11470 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11471 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'
11474 archive_cmds_need_lc_CXX
=no
11475 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11476 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11477 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11480 # Portland Group C++ compiler
11481 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11482 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'
11484 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11485 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11486 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'
11490 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11491 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'
11493 runpath_var
=LD_RUN_PATH
11494 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11495 hardcode_libdir_separator_CXX
=:
11497 # Commands to make compiler produce verbose output that lists
11498 # what "hidden" libraries, object files and flags are used when
11499 # linking a shared library.
11501 # There doesn't appear to be a way to prevent this compiler from
11502 # explicitly linking system object files so we need to strip them
11503 # from the output so that they don't get included in the library
11505 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'
11510 # FIXME: insert proper C++ library support
11514 # FIXME: insert proper C++ library support
11518 case $cc_basename in
11520 # FIXME: insert proper C++ library support
11524 # FIXME: insert proper C++ library support
11530 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11531 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11533 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11534 hardcode_direct_CXX
=yes
11535 hardcode_shlibpath_var_CXX
=no
11537 # Workaround some broken pre-1.5 toolchains
11538 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11541 # C++ shared libraries are fairly broken
11545 hardcode_direct_CXX
=yes
11546 hardcode_shlibpath_var_CXX
=no
11547 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11548 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11549 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11550 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11551 export_dynamic_flag_spec_CXX
='${wl}-E'
11552 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11554 output_verbose_link_cmd
='echo'
11557 case $cc_basename in
11559 # Kuck and Associates, Inc. (KAI) C++ Compiler
11561 # KCC will only create a shared library if the output file
11562 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11563 # to its proper name (with version) after linking.
11564 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'
11566 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11567 hardcode_libdir_separator_CXX
=:
11569 # Archives containing C++ object files must be created using
11570 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11571 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11575 # Rational C++ 2.4.1
11576 # FIXME: insert proper C++ library support
11580 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11581 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'
11583 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11584 hardcode_libdir_separator_CXX
=:
11586 # Commands to make compiler produce verbose output that lists
11587 # what "hidden" libraries, object files and flags are used when
11588 # linking a shared library.
11590 # There doesn't appear to be a way to prevent this compiler from
11591 # explicitly linking system object files so we need to strip them
11592 # from the output so that they don't get included in the library
11594 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'
11597 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11598 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11599 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'
11601 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11602 hardcode_libdir_separator_CXX
=:
11604 # Commands to make compiler produce verbose output that lists
11605 # what "hidden" libraries, object files and flags are used when
11606 # linking a shared library.
11607 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11610 # FIXME: insert proper C++ library support
11617 case $cc_basename in
11619 # Kuck and Associates, Inc. (KAI) C++ Compiler
11621 # KCC will only create a shared library if the output file
11622 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11623 # to its proper name (with version) after linking.
11624 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'
11626 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11627 hardcode_libdir_separator_CXX
=:
11629 # Archives containing C++ object files must be created using
11630 # the KAI C++ compiler.
11631 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11634 # Rational C++ 2.4.1
11635 # FIXME: insert proper C++ library support
11639 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11640 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'
11641 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11642 echo "-hidden">> $lib.exp~
11643 $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~
11646 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11647 hardcode_libdir_separator_CXX
=:
11649 # Commands to make compiler produce verbose output that lists
11650 # what "hidden" libraries, object files and flags are used when
11651 # linking a shared library.
11653 # There doesn't appear to be a way to prevent this compiler from
11654 # explicitly linking system object files so we need to strip them
11655 # from the output so that they don't get included in the library
11657 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'
11660 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11661 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11662 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'
11664 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11665 hardcode_libdir_separator_CXX
=:
11667 # Commands to make compiler produce verbose output that lists
11668 # what "hidden" libraries, object files and flags are used when
11669 # linking a shared library.
11670 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11673 # FIXME: insert proper C++ library support
11680 # FIXME: insert proper C++ library support
11684 case $cc_basename in
11687 # FIXME: insert proper C++ library support
11692 # FIXME: insert proper C++ library support
11696 # FIXME: insert proper C++ library support
11702 case $cc_basename in
11704 # Sun C++ 4.2, 5.x and Centerline C++
11705 archive_cmds_need_lc_CXX
=yes
11706 no_undefined_flag_CXX
=' -zdefs'
11707 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11708 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11709 $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'
11711 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11712 hardcode_shlibpath_var_CXX
=no
11714 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11716 # The C++ compiler is used as linker so we must use $wl
11717 # flag to pass the commands to the underlying system
11718 # linker. We must also pass each convience library through
11719 # to the system linker between allextract/defaultextract.
11720 # The C++ compiler will combine linker options so we
11721 # cannot just pass the convience library names through
11723 # Supported since Solaris 2.6 (maybe 2.5.1?)
11724 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11727 link_all_deplibs_CXX
=yes
11729 output_verbose_link_cmd
='echo'
11731 # Archives containing C++ object files must be created using
11732 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11733 # necessary to make sure instantiated templates are included
11735 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11738 # Green Hills C++ Compiler
11739 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11741 # The C++ compiler must be used to create the archive.
11742 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11745 # GNU C++ compiler with Solaris linker
11746 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11747 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11748 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11749 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11750 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11751 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11753 # Commands to make compiler produce verbose output that lists
11754 # what "hidden" libraries, object files and flags are used when
11755 # linking a shared library.
11756 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11758 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11760 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11761 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11762 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11764 # Commands to make compiler produce verbose output that lists
11765 # what "hidden" libraries, object files and flags are used when
11766 # linking a shared library.
11767 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11770 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11775 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11776 no_undefined_flag_CXX
='${wl}-z,text'
11777 archive_cmds_need_lc_CXX
=no
11778 hardcode_shlibpath_var_CXX
=no
11779 runpath_var
='LD_RUN_PATH'
11781 case $cc_basename in
11783 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11784 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11787 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11792 sysv5
* | sco3.2v5
* | sco5v6
*)
11793 # Note: We can NOT use -z defs as we might desire, because we do not
11794 # link with -lc, and that would cause any symbols used from libc to
11795 # always be unresolved, which means just about no library would
11796 # ever link correctly. If we're not using GNU ld we use -z text
11797 # though, which does catch some bad symbols but isn't as heavy-handed
11799 # For security reasons, it is highly recommended that you always
11800 # use absolute paths for naming shared libraries, and exclude the
11801 # DT_RUNPATH tag from executables and libraries. But doing so
11802 # requires that you compile everything twice, which is a pain.
11803 # So that behaviour is only enabled if SCOABSPATH is set to a
11804 # non-empty value in the environment. Most likely only useful for
11805 # creating official distributions of packages.
11806 # This is a hack until libtool officially supports absolute path
11807 # names for shared libraries.
11808 no_undefined_flag_CXX
='${wl}-z,text'
11809 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11810 archive_cmds_need_lc_CXX
=no
11811 hardcode_shlibpath_var_CXX
=no
11812 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11813 hardcode_libdir_separator_CXX
=':'
11814 link_all_deplibs_CXX
=yes
11815 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11816 runpath_var
='LD_RUN_PATH'
11818 case $cc_basename in
11820 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11821 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11824 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11825 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11830 case $cc_basename in
11832 # NonStop-UX NCC 3.20
11833 # FIXME: insert proper C++ library support
11837 # FIXME: insert proper C++ library support
11843 # FIXME: insert proper C++ library support
11847 # FIXME: insert proper C++ library support
11851 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11852 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11853 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11859 cat > conftest.
$ac_ext <<EOF
11863 Foo (void) { a = 0; }
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; then
11874 # Parse the compiler output and extract the necessary
11875 # objects, libraries and library flags.
11877 # Sentinel used to keep track of whether or not we are before
11878 # the conftest object file.
11879 pre_test_object_deps_done
=no
11881 # The `*' in the case matches for architectures that use `case' in
11882 # $output_verbose_cmd can trigger glob expansion during the loop
11883 # eval without this substitution.
11884 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11886 for p
in `eval $output_verbose_link_cmd`; do
11890 # Some compilers place space between "-{L,R}" and the path.
11891 # Remove the space.
11892 if test $p = "-L" \
11893 ||
test $p = "-R"; then
11900 if test "$pre_test_object_deps_done" = no
; then
11903 # Internal compiler library paths should come after those
11904 # provided the user. The postdeps already come after the
11905 # user supplied libs so there is no need to process them.
11906 if test -z "$compiler_lib_search_path_CXX"; then
11907 compiler_lib_search_path_CXX
="${prev}${p}"
11909 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11912 # The "-l" case would never come before the object being
11913 # linked, so don't bother handling this case.
11916 if test -z "$postdeps_CXX"; then
11917 postdeps_CXX
="${prev}${p}"
11919 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11925 # This assumes that the test object file only shows up
11926 # once in the compiler output.
11927 if test "$p" = "conftest.$objext"; then
11928 pre_test_object_deps_done
=yes
11932 if test "$pre_test_object_deps_done" = no
; then
11933 if test -z "$predep_objects_CXX"; then
11934 predep_objects_CXX
="$p"
11936 predep_objects_CXX
="$predep_objects_CXX $p"
11939 if test -z "$postdep_objects_CXX"; then
11940 postdep_objects_CXX
="$p"
11942 postdep_objects_CXX
="$postdep_objects_CXX $p"
11947 *) ;; # Ignore the rest.
11955 echo "libtool.m4: error: problem compiling CXX test program"
11958 $rm -f confest.
$objext
11960 # PORTME: override above test on systems where it is broken
11963 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11964 # hack all around it, let's just trust "g++" to DTRT.
11965 predep_objects_CXX
=
11966 postdep_objects_CXX
=
11971 case $cc_basename in
11973 # Adding this requires a known-good setup of shared libraries for
11974 # Sun compiler versions before 5.6, else PIC objects from an old
11975 # archive will be linked into the output, leading to subtle bugs.
11976 postdeps_CXX
='-lCstd -lCrun'
11983 case " $postdeps_CXX " in
11984 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11987 lt_prog_compiler_wl_CXX
=
11988 lt_prog_compiler_pic_CXX
=
11989 lt_prog_compiler_static_CXX
=
11991 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11992 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11994 # C++ specific cases for pic, static, wl, etc.
11995 if test "$GXX" = yes; then
11996 lt_prog_compiler_wl_CXX
='-Wl,'
11997 lt_prog_compiler_static_CXX
='-static'
12001 # All AIX code is PIC.
12002 if test "$host_cpu" = ia64
; then
12003 # AIX 5 now supports IA64 processor
12004 lt_prog_compiler_static_CXX
='-Bstatic'
12008 # FIXME: we need at least 68020 code to build shared libraries, but
12009 # adding the `-m68020' flag to GCC prevents building anything better,
12011 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12013 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12014 # PIC is the default for these OSes.
12016 mingw
* | os2
* | pw32
*)
12017 # This hack is so that the source file can tell whether it is being
12018 # built for inclusion in a dll (and should export symbols for example).
12019 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12021 darwin
* | rhapsody
*)
12022 # PIC is the default on this platform
12023 # Common symbols not allowed in MH_DYLIB files
12024 lt_prog_compiler_pic_CXX
='-fno-common'
12027 # DJGPP does not support shared libraries at all
12028 lt_prog_compiler_pic_CXX
=
12031 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12032 # Instead, we relocate shared libraries at runtime.
12035 if test -d /usr
/nec
; then
12036 lt_prog_compiler_pic_CXX
=-Kconform_pic
12040 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12041 # not for PA HP-UX.
12046 lt_prog_compiler_pic_CXX
='-fPIC'
12051 lt_prog_compiler_pic_CXX
='-fPIC'
12057 # All AIX code is PIC.
12058 if test "$host_cpu" = ia64
; then
12059 # AIX 5 now supports IA64 processor
12060 lt_prog_compiler_static_CXX
='-Bstatic'
12062 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12066 case $cc_basename in
12068 # Green Hills C++ Compiler
12069 # _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"
12074 # PIC is the default on this platform
12075 # Common symbols not allowed in MH_DYLIB files
12076 case $cc_basename in
12078 lt_prog_compiler_pic_CXX
='-qnocommon'
12079 lt_prog_compiler_wl_CXX
='-Wl,'
12084 case $cc_basename in
12086 lt_prog_compiler_pic_CXX
='-KPIC'
12089 # Green Hills C++ Compiler
12090 lt_prog_compiler_pic_CXX
='-pic'
12096 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12097 # FreeBSD uses GNU C++
12099 hpux9
* | hpux10
* | hpux11
*)
12100 case $cc_basename in
12102 lt_prog_compiler_wl_CXX
='-Wl,'
12103 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12104 if test "$host_cpu" != ia64
; then
12105 lt_prog_compiler_pic_CXX
='+Z'
12109 lt_prog_compiler_wl_CXX
='-Wl,'
12110 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12116 lt_prog_compiler_pic_CXX
='+Z'
12125 # This is c89, which is MS Visual C++ (no shared libs)
12126 # Anyone wants to do a port?
12128 irix5
* | irix6
* | nonstopux
*)
12129 case $cc_basename in
12131 lt_prog_compiler_wl_CXX
='-Wl,'
12132 lt_prog_compiler_static_CXX
='-non_shared'
12133 # CC pic flag -KPIC is the default.
12140 case $cc_basename in
12143 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12144 lt_prog_compiler_pic_CXX
='-fPIC'
12148 lt_prog_compiler_wl_CXX
='-Wl,'
12149 lt_prog_compiler_pic_CXX
='-KPIC'
12150 lt_prog_compiler_static_CXX
='-static'
12153 # Portland Group C++ compiler.
12154 lt_prog_compiler_wl_CXX
='-Wl,'
12155 lt_prog_compiler_pic_CXX
='-fpic'
12156 lt_prog_compiler_static_CXX
='-Bstatic'
12160 # Make sure the PIC flag is empty. It appears that all Alpha
12161 # Linux and Compaq Tru64 Unix objects are PIC.
12162 lt_prog_compiler_pic_CXX
=
12163 lt_prog_compiler_static_CXX
='-non_shared'
12174 case $cc_basename in
12176 lt_prog_compiler_pic_CXX
='-W c,exportall'
12184 osf3
* | osf4
* | osf5
*)
12185 case $cc_basename in
12187 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12190 # Rational C++ 2.4.1
12191 lt_prog_compiler_pic_CXX
='-pic'
12194 # Digital/Compaq C++
12195 lt_prog_compiler_wl_CXX
='-Wl,'
12196 # Make sure the PIC flag is empty. It appears that all Alpha
12197 # Linux and Compaq Tru64 Unix objects are PIC.
12198 lt_prog_compiler_pic_CXX
=
12199 lt_prog_compiler_static_CXX
='-non_shared'
12208 case $cc_basename in
12210 # Sun C++ 4.2, 5.x and Centerline C++
12211 lt_prog_compiler_pic_CXX
='-KPIC'
12212 lt_prog_compiler_static_CXX
='-Bstatic'
12213 lt_prog_compiler_wl_CXX
='-Qoption ld '
12216 # Green Hills C++ Compiler
12217 lt_prog_compiler_pic_CXX
='-PIC'
12224 case $cc_basename in
12227 lt_prog_compiler_pic_CXX
='-pic'
12228 lt_prog_compiler_static_CXX
='-Bstatic'
12232 lt_prog_compiler_pic_CXX
='-pic'
12239 case $cc_basename in
12241 # NonStop-UX NCC 3.20
12242 lt_prog_compiler_pic_CXX
='-KPIC'
12248 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12249 case $cc_basename in
12251 lt_prog_compiler_wl_CXX
='-Wl,'
12252 lt_prog_compiler_pic_CXX
='-KPIC'
12253 lt_prog_compiler_static_CXX
='-Bstatic'
12260 lt_prog_compiler_can_build_shared_CXX
=no
12265 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12266 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12269 # Check to make sure the PIC flag actually works.
12271 if test -n "$lt_prog_compiler_pic_CXX"; then
12273 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12274 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12275 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 lt_prog_compiler_pic_works_CXX
=no
12279 ac_outfile
=conftest.
$ac_objext
12280 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12281 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12282 # Insert the option either (1) after the last *FLAGS variable, or
12283 # (2) before a word containing "conftest.", or (3) at the end.
12284 # Note that $ac_compile itself does not contain backslashes and begins
12285 # with a dollar sign (not a hyphen), so the echo should work correctly.
12286 # The option is referenced via a variable to avoid confusing sed.
12287 lt_compile
=`echo "$ac_compile" | $SED \
12288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12290 -e 's:$: $lt_compiler_flag:'`
12291 (eval echo "\"\$as_me:12291: $lt_compile\"" >&5)
12292 (eval "$lt_compile" 2>conftest.err
)
12294 cat conftest.err
>&5
12295 echo "$as_me:12295: \$? = $ac_status" >&5
12296 if (exit $ac_status) && test -s "$ac_outfile"; then
12297 # The compiler can only warn and ignore the option if not recognized
12298 # So say no if there are warnings other than the usual output.
12299 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12300 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12301 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12302 lt_prog_compiler_pic_works_CXX
=yes
12308 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12309 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12311 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12312 case $lt_prog_compiler_pic_CXX in
12314 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12317 lt_prog_compiler_pic_CXX
=
12318 lt_prog_compiler_can_build_shared_CXX
=no
12323 # For platforms which do not support PIC, -DPIC is meaningless:
12325 lt_prog_compiler_pic_CXX
=
12328 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12333 # Check to make sure the static flag actually works.
12335 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12336 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12337 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12338 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 lt_prog_compiler_static_works_CXX
=no
12342 save_LDFLAGS
="$LDFLAGS"
12343 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12344 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12345 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12346 # The linker can only warn and ignore the option if not recognized
12347 # So say no if there are warnings
12348 if test -s conftest.err
; then
12349 # Append any errors to the config.log.
12350 cat conftest.err
1>&5
12351 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12352 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12353 if diff conftest.exp conftest.er2
>/dev
/null
; then
12354 lt_prog_compiler_static_works_CXX
=yes
12357 lt_prog_compiler_static_works_CXX
=yes
12361 LDFLAGS
="$save_LDFLAGS"
12364 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12365 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12367 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12370 lt_prog_compiler_static_CXX
=
12374 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12375 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12376 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 lt_cv_prog_compiler_c_o_CXX
=no
12380 $rm -r conftest
2>/dev
/null
12384 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12386 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12387 # Insert the option either (1) after the last *FLAGS variable, or
12388 # (2) before a word containing "conftest.", or (3) at the end.
12389 # Note that $ac_compile itself does not contain backslashes and begins
12390 # with a dollar sign (not a hyphen), so the echo should work correctly.
12391 lt_compile
=`echo "$ac_compile" | $SED \
12392 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12393 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12394 -e 's:$: $lt_compiler_flag:'`
12395 (eval echo "\"\$as_me:12395: $lt_compile\"" >&5)
12396 (eval "$lt_compile" 2>out
/conftest.err
)
12398 cat out
/conftest.err
>&5
12399 echo "$as_me:12399: \$? = $ac_status" >&5
12400 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12402 # The compiler can only warn and ignore the option if not recognized
12403 # So say no if there are warnings
12404 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12405 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12406 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12407 lt_cv_prog_compiler_c_o_CXX
=yes
12412 # SGI C++ compiler will create directory out/ii_files/ for
12413 # template instantiation
12414 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12415 $rm out
/* && rmdir out
12421 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12422 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12425 hard_links
="nottested"
12426 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12427 # do not overwrite the value of need_locks provided by the user
12428 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12429 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12432 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12434 ln conftest.a conftest.b
2>&5 || hard_links
=no
12435 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12436 { echo "$as_me:$LINENO: result: $hard_links" >&5
12437 echo "${ECHO_T}$hard_links" >&6; }
12438 if test "$hard_links" = no
; then
12439 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12440 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12447 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12448 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12450 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12453 # If we're using GNU nm, then we don't want the "-C" option.
12454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12455 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12456 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'
12458 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'
12462 export_symbols_cmds_CXX
="$ltdll_cmds"
12465 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'
12468 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12472 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12473 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12474 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12477 # Do we need to explicitly link libc?
12479 case "x$archive_cmds_need_lc_CXX" in
12481 # Assume -lc should be added
12482 archive_cmds_need_lc_CXX
=yes
12484 if test "$enable_shared" = yes && test "$GCC" = yes; then
12485 case $archive_cmds_CXX in
12487 # FIXME: we may have to deal with multi-command sequences.
12490 # Test whether the compiler implicitly links with -lc since on some
12491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12492 # to ld, don't add -lc before -lgcc.
12493 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12494 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12496 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12499 (eval $ac_compile) 2>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } 2>conftest.err
; then
12505 libobjs
=conftest.
$ac_objext
12507 wl
=$lt_prog_compiler_wl_CXX
12508 pic_flag
=$lt_prog_compiler_pic_CXX
12514 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12515 allow_undefined_flag_CXX
=
12516 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12517 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }
12522 archive_cmds_need_lc_CXX
=no
12524 archive_cmds_need_lc_CXX
=yes
12526 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12528 cat conftest.err
1>&5
12531 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12532 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12539 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12540 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12541 library_names_spec
=
12542 libname_spec
='lib$name'
12546 postuninstall_cmds
=
12550 shlibpath_overrides_runpath
=unknown
12552 dynamic_linker
="$host_os ld.so"
12553 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12554 if test "$GCC" = yes; then
12555 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12556 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12557 # if the path contains ";" then we assume it to be the separator
12558 # otherwise default to the standard path separator (i.e. ":") - it is
12559 # assumed that no part of a normal pathname contains ";" but that should
12560 # okay in the real world where ";" in dirpaths is itself problematic.
12561 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12563 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12566 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12568 need_lib_prefix
=unknown
12569 hardcode_into_libs
=no
12571 # when you set need_version to no, make sure it does not cause -set_version
12572 # flags to be left without arguments
12573 need_version
=unknown
12578 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12579 shlibpath_var
=LIBPATH
12581 # AIX 3 has no versioning support, so we append a major version to the name.
12582 soname_spec
='${libname}${release}${shared_ext}$major'
12589 hardcode_into_libs
=yes
12590 if test "$host_cpu" = ia64
; then
12591 # AIX 5 supports IA64
12592 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12593 shlibpath_var
=LD_LIBRARY_PATH
12595 # With GCC up to 2.95.x, collect2 would create an import file
12596 # for dependence libraries. The import file would start with
12597 # the line `#! .'. This would cause the generated library to
12598 # depend on `.', always an invalid library. This was fixed in
12599 # development snapshots of GCC prior to 3.0.
12601 aix4 | aix4.
[01] | aix4.
[01].
*)
12602 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12604 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12607 can_build_shared
=no
12611 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12612 # soname into executable. Probably we can add versioning support to
12613 # collect2, so additional links can be useful in future.
12614 if test "$aix_use_runtimelinking" = yes; then
12615 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12616 # instead of lib<name>.a to let people know that these are not
12617 # typical AIX shared libraries.
12618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12620 # We preserve .a as extension for shared libraries through AIX4.2
12621 # and later when we are not doing run time linking.
12622 library_names_spec
='${libname}${release}.a $libname.a'
12623 soname_spec
='${libname}${release}${shared_ext}$major'
12625 shlibpath_var
=LIBPATH
12630 library_names_spec
='$libname.ixlibrary $libname.a'
12631 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12632 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'
12636 library_names_spec
='${libname}${shared_ext}'
12637 dynamic_linker
="$host_os ld.so"
12638 shlibpath_var
=LIBRARY_PATH
12644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645 soname_spec
='${libname}${release}${shared_ext}$major'
12646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12647 shlibpath_var
=LD_LIBRARY_PATH
12648 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12649 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12650 # the default ld.so.conf also contains /usr/contrib/lib and
12651 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12652 # libtool to hard-code these into programs
12655 cygwin
* | mingw
* | pw32
*)
12656 version_type
=windows
12661 case $GCC,$host_os in
12662 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12663 library_names_spec
='$libname.dll.a'
12664 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12665 postinstall_cmds
='base_file=`basename \${file}`~
12666 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12667 dldir=$destdir/`dirname \$dlpath`~
12668 test -d \$dldir || mkdir -p \$dldir~
12669 $install_prog $dir/$dlname \$dldir/$dlname~
12670 chmod a+x \$dldir/$dlname'
12671 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12672 dlpath=$dir/\$dldll~
12674 shlibpath_overrides_runpath
=yes
12678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12679 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12680 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12683 # MinGW DLLs use traditional 'lib' prefix
12684 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12685 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12686 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12687 # It is most probably a Windows format PATH printed by
12688 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12689 # path with ; separators, and with drive letters. We can handle the
12690 # drive letters (cygwin fileutils understands them), so leave them,
12691 # especially as we might pass files found there to a mingw objdump,
12692 # which wouldn't understand a cygwinified path. Ahh.
12693 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12695 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12699 # pw32 DLLs use 'pw' prefix rather than 'lib'
12700 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12706 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12709 dynamic_linker
='Win32 ld.exe'
12710 # FIXME: first we should search . and the directory the executable is in
12714 darwin
* | rhapsody
*)
12715 dynamic_linker
="$host_os dyld"
12716 version_type
=darwin
12719 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12720 soname_spec
='${libname}${release}${major}$shared_ext'
12721 shlibpath_overrides_runpath
=yes
12722 shlibpath_var
=DYLD_LIBRARY_PATH
12723 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12724 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12725 if test "$GCC" = yes; then
12726 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12728 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12730 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12738 soname_spec
='${libname}${release}${shared_ext}$major'
12739 shlibpath_var
=LD_LIBRARY_PATH
12750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12751 soname_spec
='${libname}${release}${shared_ext}$major'
12752 shlibpath_var
=LD_LIBRARY_PATH
12753 shlibpath_overrides_runpath
=no
12754 hardcode_into_libs
=yes
12755 dynamic_linker
='GNU ld.so'
12758 freebsd
* | dragonfly
*)
12759 # DragonFly does not have aout. When/if they implement a new
12760 # versioning mechanism, adjust this.
12761 if test -x /usr
/bin
/objformat
; then
12762 objformat
=`/usr/bin/objformat`
12765 freebsd
[123]*) objformat
=aout
;;
12766 *) objformat
=elf
;;
12769 version_type
=freebsd-
$objformat
12770 case $version_type in
12772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12777 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12781 shlibpath_var
=LD_LIBRARY_PATH
12784 shlibpath_overrides_runpath
=yes
12786 freebsd3.
[01]* | freebsdelf3.
[01]*)
12787 shlibpath_overrides_runpath
=yes
12788 hardcode_into_libs
=yes
12790 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12791 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12792 shlibpath_overrides_runpath
=no
12793 hardcode_into_libs
=yes
12795 freebsd
*) # from 4.6 on
12796 shlibpath_overrides_runpath
=yes
12797 hardcode_into_libs
=yes
12806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12807 soname_spec
='${libname}${release}${shared_ext}$major'
12808 shlibpath_var
=LD_LIBRARY_PATH
12809 hardcode_into_libs
=yes
12812 hpux9
* | hpux10
* | hpux11
*)
12813 # Give a soname corresponding to the major version so that dld.sl refuses to
12814 # link against other versions.
12821 hardcode_into_libs
=yes
12822 dynamic_linker
="$host_os dld.so"
12823 shlibpath_var
=LD_LIBRARY_PATH
12824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12826 soname_spec
='${libname}${release}${shared_ext}$major'
12827 if test "X$HPUX_IA64_MODE" = X32
; then
12828 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12830 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12832 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12836 hardcode_into_libs
=yes
12837 dynamic_linker
="$host_os dld.sl"
12838 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12841 soname_spec
='${libname}${release}${shared_ext}$major'
12842 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12847 dynamic_linker
="$host_os dld.sl"
12848 shlibpath_var
=SHLIB_PATH
12849 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12851 soname_spec
='${libname}${release}${shared_ext}$major'
12854 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12855 postinstall_cmds
='chmod 555 $lib'
12862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12863 soname_spec
='${libname}${release}${shared_ext}$major'
12864 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12865 shlibpath_var
=LD_LIBRARY_PATH
12866 shlibpath_overrides_runpath
=no
12867 hardcode_into_libs
=yes
12870 irix5
* | irix6
* | nonstopux
*)
12872 nonstopux
*) version_type
=nonstopux
;;
12874 if test "$lt_cv_prog_gnu_ld" = yes; then
12882 soname_spec
='${libname}${release}${shared_ext}$major'
12883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12885 irix5
* | nonstopux
*)
12886 libsuff
= shlibsuff
=
12889 case $LD in # libtool.m4 will add one of these switches to LD
12890 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12891 libsuff
= shlibsuff
= libmagic
=32-bit;;
12892 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12893 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12894 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12895 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12896 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12900 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12901 shlibpath_overrides_runpath
=no
12902 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12903 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12904 hardcode_into_libs
=yes
12907 # No shared lib support for Linux oldld, aout, or coff.
12908 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12912 # This must be Linux ELF.
12917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12918 soname_spec
='${libname}${release}${shared_ext}$major'
12919 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12920 shlibpath_var
=LD_LIBRARY_PATH
12921 shlibpath_overrides_runpath
=no
12922 # This implies no fast_install, which is unacceptable.
12923 # Some rework will be needed to allow for fast_install
12924 # before this can be enabled.
12925 hardcode_into_libs
=yes
12927 # find out which ABI we are using
12929 case "$host_cpu" in
12930 x86_64
*|s390x
*|powerpc64
*)
12931 echo '#line 12931 "configure"' > conftest.
$ac_ext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; then
12937 case `/usr/bin/file conftest.$ac_objext` in
12940 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12948 # Append ld.so.conf contents to the search path
12949 if test -f /etc
/ld.so.conf
; then
12950 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12951 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12954 # We used to test for /lib/ld.so.1 and disable shared libraries on
12955 # powerpc, because MkLinux only supported shared libraries with the
12956 # GNU dynamic linker. Since this was broken with cross compilers,
12957 # most powerpc-linux boxes support dynamic linking these days and
12958 # people can always --disable-shared, the test was removed, and we
12959 # assume the GNU/Linux dynamic linker is in use.
12960 dynamic_linker
='GNU/Linux ld.so'
12967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12968 soname_spec
='${libname}${release}${shared_ext}$major'
12969 shlibpath_var
=LD_LIBRARY_PATH
12970 shlibpath_overrides_runpath
=no
12971 hardcode_into_libs
=yes
12972 dynamic_linker
='GNU ld.so'
12979 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12982 dynamic_linker
='NetBSD (a.out) ld.so'
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12985 soname_spec
='${libname}${release}${shared_ext}$major'
12986 dynamic_linker
='NetBSD ld.elf_so'
12988 shlibpath_var
=LD_LIBRARY_PATH
12989 shlibpath_overrides_runpath
=yes
12990 hardcode_into_libs
=yes
12995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12996 shlibpath_var
=LD_LIBRARY_PATH
12997 shlibpath_overrides_runpath
=yes
13004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13005 soname_spec
='${libname}${release}${shared_ext}$major'
13006 shlibpath_var
=LD_LIBRARY_PATH
13007 shlibpath_overrides_runpath
=yes
13012 sys_lib_dlsearch_path_spec
="/usr/lib"
13014 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13016 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13017 *) need_version
=no
;;
13019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13020 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13021 shlibpath_var
=LD_LIBRARY_PATH
13022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13024 openbsd2.
[89] | openbsd2.
[89].
*)
13025 shlibpath_overrides_runpath
=no
13028 shlibpath_overrides_runpath
=yes
13032 shlibpath_overrides_runpath
=yes
13037 libname_spec
='$name'
13040 library_names_spec
='$libname${shared_ext} $libname.a'
13041 dynamic_linker
='OS/2 ld.exe'
13042 shlibpath_var
=LIBPATH
13045 osf3
* | osf4
* | osf5
*)
13049 soname_spec
='${libname}${release}${shared_ext}$major'
13050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13051 shlibpath_var
=LD_LIBRARY_PATH
13052 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13053 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13061 soname_spec
='${libname}${release}${shared_ext}$major'
13062 shlibpath_var
=LD_LIBRARY_PATH
13063 shlibpath_overrides_runpath
=yes
13064 hardcode_into_libs
=yes
13065 # ldd complains unless libraries are executable
13066 postinstall_cmds
='chmod +x $lib'
13071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13072 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13073 shlibpath_var
=LD_LIBRARY_PATH
13074 shlibpath_overrides_runpath
=yes
13075 if test "$with_gnu_ld" = yes; then
13083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13084 soname_spec
='${libname}${release}${shared_ext}$major'
13085 shlibpath_var
=LD_LIBRARY_PATH
13086 case $host_vendor in
13088 shlibpath_overrides_runpath
=no
13090 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13091 runpath_var
=LD_RUN_PATH
13099 shlibpath_overrides_runpath
=no
13100 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13106 if test -d /usr
/nec
;then
13108 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13109 soname_spec
='$libname${shared_ext}.$major'
13110 shlibpath_var
=LD_LIBRARY_PATH
13114 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13115 version_type
=freebsd-elf
13118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13119 soname_spec
='${libname}${release}${shared_ext}$major'
13120 shlibpath_var
=LD_LIBRARY_PATH
13121 hardcode_into_libs
=yes
13122 if test "$with_gnu_ld" = yes; then
13123 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13124 shlibpath_overrides_runpath
=no
13126 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13127 shlibpath_overrides_runpath
=yes
13130 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13134 sys_lib_dlsearch_path_spec
='/usr/lib'
13139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13140 soname_spec
='${libname}${release}${shared_ext}$major'
13141 shlibpath_var
=LD_LIBRARY_PATH
13148 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13149 echo "${ECHO_T}$dynamic_linker" >&6; }
13150 test "$dynamic_linker" = no
&& can_build_shared
=no
13152 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13153 if test "$GCC" = yes; then
13154 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13157 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13158 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13159 hardcode_action_CXX
=
13160 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13161 test -n "$runpath_var_CXX" || \
13162 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13164 # We can hardcode non-existant directories.
13165 if test "$hardcode_direct_CXX" != no
&&
13166 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13167 # have to relink, otherwise we might link with an installed library
13168 # when we should be linking with a yet-to-be-installed one
13169 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13170 test "$hardcode_minus_L_CXX" != no
; then
13171 # Linking always hardcodes the temporary library directory.
13172 hardcode_action_CXX
=relink
13174 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13175 hardcode_action_CXX
=immediate
13178 # We cannot hardcode anything, or else we can only hardcode existing
13180 hardcode_action_CXX
=unsupported
13182 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13183 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13185 if test "$hardcode_action_CXX" = relink
; then
13186 # Fast installation is not supported
13187 enable_fast_install
=no
13188 elif test "$shlibpath_overrides_runpath" = yes ||
13189 test "$enable_shared" = no
; then
13190 # Fast installation is not necessary
13191 enable_fast_install
=needless
13195 # The else clause should only fire when bootstrapping the
13196 # libtool distribution, otherwise you forgot to ship ltmain.sh
13197 # with your package, and you will get complaints that there are
13198 # no rules to generate ltmain.sh.
13199 if test -f "$ltmain"; then
13200 # See if we are running on zsh, and set the options which allow our commands through
13201 # without removal of \ escapes.
13202 if test -n "${ZSH_VERSION+set}" ; then
13203 setopt NO_GLOB_SUBST
13205 # Now quote all the things that may contain metacharacters while being
13206 # careful not to overquote the AC_SUBSTed values. We take copies of the
13207 # variables and quote the copies for generation of the libtool script.
13208 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13210 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13211 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13212 deplibs_check_method reload_flag reload_cmds need_locks \
13213 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13214 lt_cv_sys_global_symbol_to_c_name_address \
13215 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13216 old_postinstall_cmds old_postuninstall_cmds \
13220 lt_prog_compiler_wl_CXX \
13221 lt_prog_compiler_pic_CXX \
13222 lt_prog_compiler_static_CXX \
13223 lt_prog_compiler_no_builtin_flag_CXX \
13224 export_dynamic_flag_spec_CXX \
13225 thread_safe_flag_spec_CXX \
13226 whole_archive_flag_spec_CXX \
13227 enable_shared_with_static_runtimes_CXX \
13228 old_archive_cmds_CXX \
13229 old_archive_from_new_cmds_CXX \
13230 predep_objects_CXX \
13231 postdep_objects_CXX \
13234 compiler_lib_search_path_CXX \
13236 archive_expsym_cmds_CXX \
13237 postinstall_cmds_CXX \
13238 postuninstall_cmds_CXX \
13239 old_archive_from_expsyms_cmds_CXX \
13240 allow_undefined_flag_CXX \
13241 no_undefined_flag_CXX \
13242 export_symbols_cmds_CXX \
13243 hardcode_libdir_flag_spec_CXX \
13244 hardcode_libdir_flag_spec_ld_CXX \
13245 hardcode_libdir_separator_CXX \
13246 hardcode_automatic_CXX \
13248 module_expsym_cmds_CXX \
13249 lt_cv_prog_compiler_c_o_CXX \
13250 exclude_expsyms_CXX \
13251 include_expsyms_CXX
; do
13254 old_archive_cmds_CXX | \
13255 old_archive_from_new_cmds_CXX | \
13256 archive_cmds_CXX | \
13257 archive_expsym_cmds_CXX | \
13258 module_cmds_CXX | \
13259 module_expsym_cmds_CXX | \
13260 old_archive_from_expsyms_cmds_CXX | \
13261 export_symbols_cmds_CXX | \
13262 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13263 postinstall_cmds | postuninstall_cmds | \
13264 old_postinstall_cmds | old_postuninstall_cmds | \
13265 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13266 # Double-quote double-evaled strings.
13267 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13270 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13276 *'\$0 --fallback-echo"')
13277 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13283 cat <<__EOF__ >> "$cfgfile"
13284 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13288 # Shell to use when invoking shell scripts.
13291 # Whether or not to build shared libraries.
13292 build_libtool_libs=$enable_shared
13294 # Whether or not to build static libraries.
13295 build_old_libs=$enable_static
13297 # Whether or not to add -lc for building shared libraries.
13298 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13300 # Whether or not to disallow shared libs when runtime libs are static
13301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13303 # Whether or not to optimize for fast installation.
13304 fast_install=$enable_fast_install
13307 host_alias=$host_alias
13311 # The build system.
13312 build_alias=$build_alias
13316 # An echo program that does not interpret backslashes.
13321 AR_FLAGS=$lt_AR_FLAGS
13326 # LTCC compiler flags.
13327 LTCFLAGS=$lt_LTCFLAGS
13329 # A language-specific compiler.
13330 CC=$lt_compiler_CXX
13332 # Is the compiler the GNU C compiler?
13338 # The linker used to build libraries.
13341 # Whether we need hard or soft links.
13344 # A BSD-compatible nm program.
13347 # A symbol stripping program
13350 # Used to examine libraries when file_magic_cmd begins "file"
13351 MAGIC_CMD=$MAGIC_CMD
13353 # Used on cygwin: DLL creation program.
13356 # Used on cygwin: object dumper.
13359 # Used on cygwin: assembler.
13362 # The name of the directory that contains temporary libtool files.
13365 # How to create reloadable object files.
13366 reload_flag=$lt_reload_flag
13367 reload_cmds=$lt_reload_cmds
13369 # How to pass a linker flag through the compiler.
13370 wl=$lt_lt_prog_compiler_wl_CXX
13372 # Object file suffix (normally "o").
13373 objext="$ac_objext"
13375 # Old archive suffix (normally "a").
13378 # Shared library suffix (normally ".so").
13379 shrext_cmds='$shrext_cmds'
13381 # Executable file suffix (normally "").
13384 # Additional compiler flags for building library objects.
13385 pic_flag=$lt_lt_prog_compiler_pic_CXX
13388 # What is the maximum length of a command?
13389 max_cmd_len=$lt_cv_sys_max_cmd_len
13391 # Does compiler simultaneously support -c and -o options?
13392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13394 # Must we lock files when doing compilation?
13395 need_locks=$lt_need_locks
13397 # Do we need the lib prefix for modules?
13398 need_lib_prefix=$need_lib_prefix
13400 # Do we need a version for libraries?
13401 need_version=$need_version
13403 # Whether dlopen is supported.
13404 dlopen_support=$enable_dlopen
13406 # Whether dlopen of programs is supported.
13407 dlopen_self=$enable_dlopen_self
13409 # Whether dlopen of statically linked programs is supported.
13410 dlopen_self_static=$enable_dlopen_self_static
13412 # Compiler flag to prevent dynamic linking.
13413 link_static_flag=$lt_lt_prog_compiler_static_CXX
13415 # Compiler flag to turn off builtin functions.
13416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13418 # Compiler flag to allow reflexive dlopens.
13419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13421 # Compiler flag to generate shared objects directly from archives.
13422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13424 # Compiler flag to generate thread-safe objects.
13425 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13427 # Library versioning type.
13428 version_type=$version_type
13430 # Format of library name prefix.
13431 libname_spec=$lt_libname_spec
13433 # List of archive names. First name is the real one, the rest are links.
13434 # The last name is the one that the linker finds with -lNAME.
13435 library_names_spec=$lt_library_names_spec
13437 # The coded name of the library, if different from the real name.
13438 soname_spec=$lt_soname_spec
13440 # Commands used to build and install an old-style archive.
13442 old_archive_cmds=$lt_old_archive_cmds_CXX
13443 old_postinstall_cmds=$lt_old_postinstall_cmds
13444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13446 # Create an old-style archive from a shared archive.
13447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13449 # Create a temporary old-style archive to link instead of a shared archive.
13450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13452 # Commands used to build and install a shared archive.
13453 archive_cmds=$lt_archive_cmds_CXX
13454 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13455 postinstall_cmds=$lt_postinstall_cmds
13456 postuninstall_cmds=$lt_postuninstall_cmds
13458 # Commands used to build a loadable module (assumed same as above if empty)
13459 module_cmds=$lt_module_cmds_CXX
13460 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13462 # Commands to strip libraries.
13463 old_striplib=$lt_old_striplib
13464 striplib=$lt_striplib
13466 # Dependencies to place before the objects being linked to create a
13468 predep_objects=$lt_predep_objects_CXX
13470 # Dependencies to place after the objects being linked to create a
13472 postdep_objects=$lt_postdep_objects_CXX
13474 # Dependencies to place before the objects being linked to create a
13476 predeps=$lt_predeps_CXX
13478 # Dependencies to place after the objects being linked to create a
13480 postdeps=$lt_postdeps_CXX
13482 # The library search path used internally by the compiler when linking
13483 # a shared library.
13484 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13486 # Method to check whether dependent libraries are shared objects.
13487 deplibs_check_method=$lt_deplibs_check_method
13489 # Command to use when deplibs_check_method == file_magic.
13490 file_magic_cmd=$lt_file_magic_cmd
13492 # Flag that allows shared libraries with undefined symbols to be built.
13493 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13495 # Flag that forces no undefined symbols.
13496 no_undefined_flag=$lt_no_undefined_flag_CXX
13498 # Commands used to finish a libtool library installation in a directory.
13499 finish_cmds=$lt_finish_cmds
13501 # Same as above, but a single script fragment to be evaled but not shown.
13502 finish_eval=$lt_finish_eval
13504 # Take the output of nm and produce a listing of raw symbols and C names.
13505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13507 # Transform the output of nm in a proper C declaration
13508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13510 # Transform the output of nm in a C name address pair
13511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13513 # This is the shared library runtime path variable.
13514 runpath_var=$runpath_var
13516 # This is the shared library path variable.
13517 shlibpath_var=$shlibpath_var
13519 # Is shlibpath searched before the hard-coded library search path?
13520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13522 # How to hardcode a shared library path into an executable.
13523 hardcode_action=$hardcode_action_CXX
13525 # Whether we should hardcode library paths into libraries.
13526 hardcode_into_libs=$hardcode_into_libs
13528 # Flag to hardcode \$libdir into a binary during linking.
13529 # This must work even if \$libdir does not exist.
13530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13532 # If ld is used when linking, flag to hardcode \$libdir into
13533 # a binary during linking. This must work even if \$libdir does
13535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13537 # Whether we need a single -rpath flag with a separated argument.
13538 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13541 # resulting binary.
13542 hardcode_direct=$hardcode_direct_CXX
13544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13545 # resulting binary.
13546 hardcode_minus_L=$hardcode_minus_L_CXX
13548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13549 # the resulting binary.
13550 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13552 # Set to yes if building a shared library automatically hardcodes DIR into the library
13553 # and all subsequent libraries and executables linked against it.
13554 hardcode_automatic=$hardcode_automatic_CXX
13556 # Variables whose values should be saved in libtool wrapper scripts and
13557 # restored at relink time.
13558 variables_saved_for_relink="$variables_saved_for_relink"
13560 # Whether libtool must link a program against all its dependency libraries.
13561 link_all_deplibs=$link_all_deplibs_CXX
13563 # Compile-time system search path for libraries
13564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13566 # Run-time system search path for libraries
13567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13569 # Fix the shell variable \$srcfile for the compiler.
13570 fix_srcfile_path="$fix_srcfile_path_CXX"
13572 # Set to yes if exported symbols are required.
13573 always_export_symbols=$always_export_symbols_CXX
13575 # The commands to list exported symbols.
13576 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13578 # The commands to extract the exported symbol list from a shared archive.
13579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13581 # Symbols that should not be listed in the preloaded symbols.
13582 exclude_expsyms=$lt_exclude_expsyms_CXX
13584 # Symbols that must always be exported.
13585 include_expsyms=$lt_include_expsyms_CXX
13587 # ### END LIBTOOL TAG CONFIG: $tagname
13593 # If there is no Makefile yet, we rely on a make rule to execute
13594 # `config.status --recheck' to rerun these tests and create the
13595 # libtool script then.
13596 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13597 if test -f "$ltmain_in"; then
13598 test -f Makefile
&& make "$ltmain"
13604 ac_cpp
='$CPP $CPPFLAGS'
13605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13613 with_gnu_ldcxx
=$with_gnu_ld
13614 with_gnu_ld
=$lt_save_with_gnu_ld
13615 lt_cv_path_LDCXX
=$lt_cv_path_LD
13616 lt_cv_path_LD
=$lt_save_path_LD
13617 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13618 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13626 if test -n "$F77" && test "X$F77" != "Xno"; then
13629 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13630 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13634 archive_cmds_need_lc_F77
=no
13635 allow_undefined_flag_F77
=
13636 always_export_symbols_F77
=no
13637 archive_expsym_cmds_F77
=
13638 export_dynamic_flag_spec_F77
=
13639 hardcode_direct_F77
=no
13640 hardcode_libdir_flag_spec_F77
=
13641 hardcode_libdir_flag_spec_ld_F77
=
13642 hardcode_libdir_separator_F77
=
13643 hardcode_minus_L_F77
=no
13644 hardcode_automatic_F77
=no
13646 module_expsym_cmds_F77
=
13647 link_all_deplibs_F77
=unknown
13648 old_archive_cmds_F77
=$old_archive_cmds
13649 no_undefined_flag_F77
=
13650 whole_archive_flag_spec_F77
=
13651 enable_shared_with_static_runtimes_F77
=no
13653 # Source file extension for f77 test sources.
13656 # Object file extension for compiled f77 test sources.
13660 # Code to be used in simple compile tests
13661 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13663 # Code to be used in simple link tests
13664 lt_simple_link_test_code
=" program t\n end\n"
13666 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13668 # If no C compiler was specified, use CC.
13671 # If no C compiler flags were specified, use CFLAGS.
13672 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13674 # Allow CC to be a program name with arguments.
13678 # save warnings/boilerplate of simple test code
13679 ac_outfile
=conftest.
$ac_objext
13680 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13681 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13682 _lt_compiler_boilerplate
=`cat conftest.err`
13685 ac_outfile
=conftest.
$ac_objext
13686 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13687 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13688 _lt_linker_boilerplate
=`cat conftest.err`
13692 # Allow CC to be a program name with arguments.
13697 for cc_temp
in $compiler""; do
13699 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13700 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13705 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13708 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13709 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13710 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13711 echo "${ECHO_T}$can_build_shared" >&6; }
13713 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13714 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13715 test "$can_build_shared" = "no" && enable_shared
=no
13717 # On AIX, shared libraries and static libraries use the same namespace, and
13718 # are all built from PIC.
13721 test "$enable_shared" = yes && enable_static
=no
13722 if test -n "$RANLIB"; then
13723 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13724 postinstall_cmds
='$RANLIB $lib'
13728 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13729 test "$enable_shared" = yes && enable_static
=no
13733 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13734 echo "${ECHO_T}$enable_shared" >&6; }
13736 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13737 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13738 # Make sure either enable_shared or enable_static is yes.
13739 test "$enable_shared" = yes || enable_static
=yes
13740 { echo "$as_me:$LINENO: result: $enable_static" >&5
13741 echo "${ECHO_T}$enable_static" >&6; }
13746 lt_prog_compiler_wl_F77
=
13747 lt_prog_compiler_pic_F77
=
13748 lt_prog_compiler_static_F77
=
13750 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13751 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13753 if test "$GCC" = yes; then
13754 lt_prog_compiler_wl_F77
='-Wl,'
13755 lt_prog_compiler_static_F77
='-static'
13759 # All AIX code is PIC.
13760 if test "$host_cpu" = ia64
; then
13761 # AIX 5 now supports IA64 processor
13762 lt_prog_compiler_static_F77
='-Bstatic'
13767 # FIXME: we need at least 68020 code to build shared libraries, but
13768 # adding the `-m68020' flag to GCC prevents building anything better,
13770 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13773 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13774 # PIC is the default for these OSes.
13777 mingw
* | pw32
* | os2
*)
13778 # This hack is so that the source file can tell whether it is being
13779 # built for inclusion in a dll (and should export symbols for example).
13780 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13783 darwin
* | rhapsody
*)
13784 # PIC is the default on this platform
13785 # Common symbols not allowed in MH_DYLIB files
13786 lt_prog_compiler_pic_F77
='-fno-common'
13790 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13791 # Instead, we relocate shared libraries at runtime.
13795 # Just because we use GCC doesn't mean we suddenly get shared libraries
13796 # on systems that don't support them.
13797 lt_prog_compiler_can_build_shared_F77
=no
13802 if test -d /usr
/nec
; then
13803 lt_prog_compiler_pic_F77
=-Kconform_pic
13808 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13809 # not for PA HP-UX.
13815 lt_prog_compiler_pic_F77
='-fPIC'
13821 lt_prog_compiler_pic_F77
='-fPIC'
13825 # PORTME Check for flag to pass linker flags through the system compiler.
13828 lt_prog_compiler_wl_F77
='-Wl,'
13829 if test "$host_cpu" = ia64
; then
13830 # AIX 5 now supports IA64 processor
13831 lt_prog_compiler_static_F77
='-Bstatic'
13833 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13837 # PIC is the default on this platform
13838 # Common symbols not allowed in MH_DYLIB files
13839 case $cc_basename in
13841 lt_prog_compiler_pic_F77
='-qnocommon'
13842 lt_prog_compiler_wl_F77
='-Wl,'
13847 mingw
* | pw32
* | os2
*)
13848 # This hack is so that the source file can tell whether it is being
13849 # built for inclusion in a dll (and should export symbols for example).
13850 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13853 hpux9
* | hpux10
* | hpux11
*)
13854 lt_prog_compiler_wl_F77
='-Wl,'
13855 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13856 # not for PA HP-UX.
13862 lt_prog_compiler_pic_F77
='+Z'
13865 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13866 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13869 irix5
* | irix6
* | nonstopux
*)
13870 lt_prog_compiler_wl_F77
='-Wl,'
13871 # PIC (with -KPIC) is the default.
13872 lt_prog_compiler_static_F77
='-non_shared'
13876 lt_prog_compiler_pic_F77
='-KPIC'
13877 lt_prog_compiler_static_F77
='-Bstatic'
13881 case $cc_basename in
13883 lt_prog_compiler_wl_F77
='-Wl,'
13884 lt_prog_compiler_pic_F77
='-KPIC'
13885 lt_prog_compiler_static_F77
='-static'
13887 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13888 # Portland Group compilers (*not* the Pentium gcc compiler,
13889 # which looks to be a dead project)
13890 lt_prog_compiler_wl_F77
='-Wl,'
13891 lt_prog_compiler_pic_F77
='-fpic'
13892 lt_prog_compiler_static_F77
='-Bstatic'
13895 lt_prog_compiler_wl_F77
='-Wl,'
13896 # All Alpha code is PIC.
13897 lt_prog_compiler_static_F77
='-non_shared'
13902 osf3
* | osf4
* | osf5
*)
13903 lt_prog_compiler_wl_F77
='-Wl,'
13904 # All OSF/1 code is PIC.
13905 lt_prog_compiler_static_F77
='-non_shared'
13909 lt_prog_compiler_pic_F77
='-KPIC'
13910 lt_prog_compiler_static_F77
='-Bstatic'
13911 case $cc_basename in
13912 f77
* | f90
* | f95
*)
13913 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13915 lt_prog_compiler_wl_F77
='-Wl,';;
13920 lt_prog_compiler_wl_F77
='-Qoption ld '
13921 lt_prog_compiler_pic_F77
='-PIC'
13922 lt_prog_compiler_static_F77
='-Bstatic'
13925 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13926 lt_prog_compiler_wl_F77
='-Wl,'
13927 lt_prog_compiler_pic_F77
='-KPIC'
13928 lt_prog_compiler_static_F77
='-Bstatic'
13932 if test -d /usr
/nec
;then
13933 lt_prog_compiler_pic_F77
='-Kconform_pic'
13934 lt_prog_compiler_static_F77
='-Bstatic'
13938 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13939 lt_prog_compiler_wl_F77
='-Wl,'
13940 lt_prog_compiler_pic_F77
='-KPIC'
13941 lt_prog_compiler_static_F77
='-Bstatic'
13945 lt_prog_compiler_wl_F77
='-Wl,'
13946 lt_prog_compiler_can_build_shared_F77
=no
13950 lt_prog_compiler_pic_F77
='-pic'
13951 lt_prog_compiler_static_F77
='-Bstatic'
13955 lt_prog_compiler_can_build_shared_F77
=no
13960 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13961 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13964 # Check to make sure the PIC flag actually works.
13966 if test -n "$lt_prog_compiler_pic_F77"; then
13968 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13969 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13970 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 lt_prog_compiler_pic_works_F77
=no
13974 ac_outfile
=conftest.
$ac_objext
13975 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13976 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13977 # Insert the option either (1) after the last *FLAGS variable, or
13978 # (2) before a word containing "conftest.", or (3) at the end.
13979 # Note that $ac_compile itself does not contain backslashes and begins
13980 # with a dollar sign (not a hyphen), so the echo should work correctly.
13981 # The option is referenced via a variable to avoid confusing sed.
13982 lt_compile
=`echo "$ac_compile" | $SED \
13983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13985 -e 's:$: $lt_compiler_flag:'`
13986 (eval echo "\"\$as_me:13986: $lt_compile\"" >&5)
13987 (eval "$lt_compile" 2>conftest.err
)
13989 cat conftest.err
>&5
13990 echo "$as_me:13990: \$? = $ac_status" >&5
13991 if (exit $ac_status) && test -s "$ac_outfile"; then
13992 # The compiler can only warn and ignore the option if not recognized
13993 # So say no if there are warnings other than the usual output.
13994 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13995 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13996 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13997 lt_prog_compiler_pic_works_F77
=yes
14003 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14004 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14006 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14007 case $lt_prog_compiler_pic_F77 in
14009 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14012 lt_prog_compiler_pic_F77
=
14013 lt_prog_compiler_can_build_shared_F77
=no
14018 # For platforms which do not support PIC, -DPIC is meaningless:
14020 lt_prog_compiler_pic_F77
=
14023 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14028 # Check to make sure the static flag actually works.
14030 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14031 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14032 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14033 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 lt_prog_compiler_static_works_F77
=no
14037 save_LDFLAGS
="$LDFLAGS"
14038 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14039 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14040 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14041 # The linker can only warn and ignore the option if not recognized
14042 # So say no if there are warnings
14043 if test -s conftest.err
; then
14044 # Append any errors to the config.log.
14045 cat conftest.err
1>&5
14046 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14047 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14048 if diff conftest.exp conftest.er2
>/dev
/null
; then
14049 lt_prog_compiler_static_works_F77
=yes
14052 lt_prog_compiler_static_works_F77
=yes
14056 LDFLAGS
="$save_LDFLAGS"
14059 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14060 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14062 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14065 lt_prog_compiler_static_F77
=
14069 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14070 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14071 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 lt_cv_prog_compiler_c_o_F77
=no
14075 $rm -r conftest
2>/dev
/null
14079 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14081 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14082 # Insert the option either (1) after the last *FLAGS variable, or
14083 # (2) before a word containing "conftest.", or (3) at the end.
14084 # Note that $ac_compile itself does not contain backslashes and begins
14085 # with a dollar sign (not a hyphen), so the echo should work correctly.
14086 lt_compile
=`echo "$ac_compile" | $SED \
14087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14089 -e 's:$: $lt_compiler_flag:'`
14090 (eval echo "\"\$as_me:14090: $lt_compile\"" >&5)
14091 (eval "$lt_compile" 2>out
/conftest.err
)
14093 cat out
/conftest.err
>&5
14094 echo "$as_me:14094: \$? = $ac_status" >&5
14095 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14097 # The compiler can only warn and ignore the option if not recognized
14098 # So say no if there are warnings
14099 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14100 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14101 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14102 lt_cv_prog_compiler_c_o_F77
=yes
14107 # SGI C++ compiler will create directory out/ii_files/ for
14108 # template instantiation
14109 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14110 $rm out
/* && rmdir out
14116 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14117 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14120 hard_links
="nottested"
14121 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14122 # do not overwrite the value of need_locks provided by the user
14123 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14124 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14127 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14129 ln conftest.a conftest.b
2>&5 || hard_links
=no
14130 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14131 { echo "$as_me:$LINENO: result: $hard_links" >&5
14132 echo "${ECHO_T}$hard_links" >&6; }
14133 if test "$hard_links" = no
; then
14134 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14135 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14142 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14143 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14146 allow_undefined_flag_F77
=
14147 enable_shared_with_static_runtimes_F77
=no
14149 archive_expsym_cmds_F77
=
14150 old_archive_From_new_cmds_F77
=
14151 old_archive_from_expsyms_cmds_F77
=
14152 export_dynamic_flag_spec_F77
=
14153 whole_archive_flag_spec_F77
=
14154 thread_safe_flag_spec_F77
=
14155 hardcode_libdir_flag_spec_F77
=
14156 hardcode_libdir_flag_spec_ld_F77
=
14157 hardcode_libdir_separator_F77
=
14158 hardcode_direct_F77
=no
14159 hardcode_minus_L_F77
=no
14160 hardcode_shlibpath_var_F77
=unsupported
14161 link_all_deplibs_F77
=unknown
14162 hardcode_automatic_F77
=no
14164 module_expsym_cmds_F77
=
14165 always_export_symbols_F77
=no
14166 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14167 # include_expsyms should be a list of space-separated symbols to be *always*
14168 # included in the symbol list
14169 include_expsyms_F77
=
14170 # exclude_expsyms can be an extended regexp of symbols to exclude
14171 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14172 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14173 # as well as any symbol that contains `d'.
14174 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14175 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14176 # platforms (ab)use it in PIC code, but their linkers get confused if
14177 # the symbol is explicitly referenced. Since portable code cannot
14178 # rely on this symbol name, it's probably fine to never include it in
14179 # preloaded symbol tables.
14180 extract_expsyms_cmds
=
14181 # Just being paranoid about ensuring that cc_basename is set.
14182 for cc_temp
in $compiler""; do
14184 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14185 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14190 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14193 cygwin
* | mingw
* | pw32
*)
14194 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14195 # When not using gcc, we currently assume that we are using
14196 # Microsoft Visual C++.
14197 if test "$GCC" != yes; then
14202 # we just hope/assume this is gcc and not c89 (= MSVC++)
14211 if test "$with_gnu_ld" = yes; then
14212 # If archive_cmds runs LD, not CC, wlarc should be empty
14215 # Set some defaults for GNU ld with shared library support. These
14216 # are reset later if shared libraries are not supported. Putting them
14217 # here allows them to be overridden if necessary.
14218 runpath_var
=LD_RUN_PATH
14219 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14220 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14221 # ancient GNU ld didn't support --whole-archive et. al.
14222 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14223 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14225 whole_archive_flag_spec_F77
=
14227 supports_anon_versioning
=no
14228 case `$LD -v 2>/dev/null` in
14229 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14230 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14231 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14232 *\
2.11.
*) ;; # other 2.11 versions
14233 *) supports_anon_versioning
=yes ;;
14236 # See if GNU ld supports shared libraries.
14238 aix3
* | aix4
* | aix5
*)
14239 # On AIX/PPC, the GNU linker is very broken
14240 if test "$host_cpu" != ia64
; then
14244 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14245 *** to be unable to reliably create shared libraries on AIX.
14246 *** Therefore, libtool is disabling shared libraries support. If you
14247 *** really care for shared libraries, you may want to modify your PATH
14248 *** so that a non-GNU linker is found, and then restart.
14255 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)'
14256 hardcode_libdir_flag_spec_F77
='-L$libdir'
14257 hardcode_minus_L_F77
=yes
14259 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14260 # that the semantics of dynamic libraries on AmigaOS, at least up
14261 # to version 4, is to share data among multiple programs linked
14262 # with the same dynamic library. Since this doesn't match the
14263 # behavior of shared libraries on other platforms, we can't use
14269 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14270 allow_undefined_flag_F77
=unsupported
14271 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14272 # support --undefined. This deserves some investigation. FIXME
14273 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14279 cygwin
* | mingw
* | pw32
*)
14280 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14281 # as there is no search path for DLLs.
14282 hardcode_libdir_flag_spec_F77
='-L$libdir'
14283 allow_undefined_flag_F77
=unsupported
14284 always_export_symbols_F77
=no
14285 enable_shared_with_static_runtimes_F77
=yes
14286 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14288 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14289 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14290 # If the export-symbols file already is a .def file (1st line
14291 # is EXPORTS), use it as is; otherwise, prepend...
14292 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14293 cp $export_symbols $output_objdir/$soname.def;
14295 echo EXPORTS > $output_objdir/$soname.def;
14296 cat $export_symbols >> $output_objdir/$soname.def;
14298 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14305 hardcode_direct_F77
=no
14306 hardcode_shlibpath_var_F77
=no
14307 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14308 export_dynamic_flag_spec_F77
='${wl}-E'
14309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14310 # Instead, shared libraries are loaded at an image base (0x10000000 by
14311 # default) and relocated if they conflict, which is a slow very memory
14312 # consuming and fragmenting process. To avoid this, we pick a random,
14313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14315 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'
14316 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'
14320 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14322 case $cc_basename,$host_cpu in
14323 pgcc
*) # Portland Group C compiler
14324 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'
14325 tmp_addflag
=' $pic_flag'
14327 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14328 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'
14329 tmp_addflag
=' $pic_flag -Mnomain' ;;
14330 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14331 tmp_addflag
=' -i_dynamic' ;;
14332 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14333 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14334 ifc
* | ifort
*) # Intel Fortran compiler
14335 tmp_addflag
=' -nofor_main' ;;
14337 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14339 if test $supports_anon_versioning = yes; then
14340 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14341 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14342 $echo "local: *; };" >> $output_objdir/$libname.ver~
14343 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14351 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14352 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14355 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14356 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14361 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14365 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14366 *** create shared libraries on Solaris systems. Therefore, libtool
14367 *** is disabling shared libraries support. We urge you to upgrade GNU
14368 *** binutils to release 2.9.1 or newer. Another option is to modify
14369 *** your PATH or compiler configuration so that the native linker is
14370 *** used, and then restart.
14373 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14374 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14375 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14381 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14382 case `$LD -v 2>&1` in
14383 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14387 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14388 *** reliably create shared libraries on SCO systems. Therefore, libtool
14389 *** is disabling shared libraries support. We urge you to upgrade GNU
14390 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14391 *** your PATH or compiler configuration so that the native linker is
14392 *** used, and then restart.
14397 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14398 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14399 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14400 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14409 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14411 hardcode_direct_F77
=yes
14412 hardcode_shlibpath_var_F77
=no
14416 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14417 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14418 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14425 if test "$ld_shlibs_F77" = no
; then
14427 hardcode_libdir_flag_spec_F77
=
14428 export_dynamic_flag_spec_F77
=
14429 whole_archive_flag_spec_F77
=
14432 # PORTME fill in a description of your system's linker (not GNU ld)
14435 allow_undefined_flag_F77
=unsupported
14436 always_export_symbols_F77
=yes
14437 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'
14438 # Note: this linker hardcodes the directories in LIBPATH if there
14439 # are no directories specified by -L.
14440 hardcode_minus_L_F77
=yes
14441 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14442 # Neither direct hardcoding nor static linking is supported with a
14444 hardcode_direct_F77
=unsupported
14449 if test "$host_cpu" = ia64
; then
14450 # On IA64, the linker does run time linking by default, so we don't
14451 # have to do anything special.
14452 aix_use_runtimelinking
=no
14453 exp_sym_flag
='-Bexport'
14456 # If we're using GNU nm, then we don't want the "-C" option.
14457 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14458 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14459 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'
14461 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'
14463 aix_use_runtimelinking
=no
14465 # Test if we are trying to use run time linking or normal
14466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14467 # need to do runtime linking.
14468 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14469 for ld_flag
in $LDFLAGS; do
14470 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14471 aix_use_runtimelinking
=yes
14478 exp_sym_flag
='-bexport'
14479 no_entry_flag
='-bnoentry'
14482 # When large executables or shared objects are built, AIX ld can
14483 # have problems creating the table of contents. If linking a library
14484 # or program results in "error TOC overflow" add -mminimal-toc to
14485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14488 archive_cmds_F77
=''
14489 hardcode_direct_F77
=yes
14490 hardcode_libdir_separator_F77
=':'
14491 link_all_deplibs_F77
=yes
14493 if test "$GCC" = yes; then
14494 case $host_os in aix4.
[012]|aix4.
[012].
*)
14495 # We only want to do this on AIX 4.2 and lower, the check
14496 # below for broken collect2 doesn't work under 4.3+
14497 collect2name
=`${CC} -print-prog-name=collect2`
14498 if test -f "$collect2name" && \
14499 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14501 # We have reworked collect2
14502 hardcode_direct_F77
=yes
14504 # We have old collect2
14505 hardcode_direct_F77
=unsupported
14506 # It fails to find uninstalled libraries when the uninstalled
14507 # path is not listed in the libpath. Setting hardcode_minus_L
14508 # to unsupported forces relinking
14509 hardcode_minus_L_F77
=yes
14510 hardcode_libdir_flag_spec_F77
='-L$libdir'
14511 hardcode_libdir_separator_F77
=
14515 shared_flag
='-shared'
14516 if test "$aix_use_runtimelinking" = yes; then
14517 shared_flag
="$shared_flag "'${wl}-G'
14521 if test "$host_cpu" = ia64
; then
14522 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14523 # chokes on -Wl,-G. The following line is correct:
14526 if test "$aix_use_runtimelinking" = yes; then
14527 shared_flag
='${wl}-G'
14529 shared_flag
='${wl}-bM:SRE'
14534 # It seems that -bexpall does not export symbols beginning with
14535 # underscore (_), so it is better to generate a list of symbols to export.
14536 always_export_symbols_F77
=yes
14537 if test "$aix_use_runtimelinking" = yes; then
14538 # Warning - without using the other runtime loading flags (-brtl),
14539 # -berok will link without error, but may produce a broken library.
14540 allow_undefined_flag_F77
='-berok'
14541 # Determine the default libpath from the value encoded in an empty executable.
14542 cat >conftest.
$ac_ext <<_ACEOF
14547 rm -f conftest.
$ac_objext conftest
$ac_exeext
14548 if { (ac_try
="$ac_link"
14549 case "(($ac_try" in
14550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14551 *) ac_try_echo=$ac_try;;
14553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14554 (eval "$ac_link") 2>conftest.er1
14556 grep -v '^ *+' conftest.er1 >conftest.err
14558 cat conftest.err >&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } && {
14561 test -z "$ac_f77_werror_flag" ||
14562 test ! -s conftest.err
14563 } && test -s conftest$ac_exeext &&
14564 $as_test_x conftest$ac_exeext; then
14566 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14568 # Check for a 64-bit object if we didn't find anything.
14569 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14579 conftest$ac_exeext conftest.$ac_ext
14580 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14582 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14583 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"
14585 if test "$host_cpu" = ia64; then
14586 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14587 allow_undefined_flag_F77="-z nodefs"
14588 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"
14590 # Determine the default libpath from the value encoded in an empty executable.
14591 cat >conftest.$ac_ext <<_ACEOF
14596 rm -f conftest.$ac_objext conftest$ac_exeext
14597 if { (ac_try="$ac_link"
14598 case "(($ac_try" in
14599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14600 *) ac_try_echo
=$ac_try;;
14602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14603 (eval "$ac_link") 2>conftest.er1
14605 grep -v '^ *+' conftest.er1
>conftest.err
14607 cat conftest.err
>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } && {
14610 test -z "$ac_f77_werror_flag" ||
14611 test ! -s conftest.err
14612 } && test -s conftest
$ac_exeext &&
14613 $as_test_x conftest
$ac_exeext; then
14615 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14617 # Check for a 64-bit object if we didn't find anything.
14618 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14627 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14628 conftest
$ac_exeext conftest.
$ac_ext
14629 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14631 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14632 # Warning - without using the other run time loading flags,
14633 # -berok will link without error, but may produce a broken library.
14634 no_undefined_flag_F77
=' ${wl}-bernotok'
14635 allow_undefined_flag_F77
=' ${wl}-berok'
14636 # Exported symbols can be pulled into shared objects from archives
14637 whole_archive_flag_spec_F77
='$convenience'
14638 archive_cmds_need_lc_F77
=yes
14639 # This is similar to how AIX traditionally builds its shared libraries.
14640 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'
14646 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)'
14647 hardcode_libdir_flag_spec_F77
='-L$libdir'
14648 hardcode_minus_L_F77
=yes
14649 # see comment about different semantics on the GNU ld section
14654 export_dynamic_flag_spec_F77
=-rdynamic
14657 cygwin
* | mingw
* | pw32
*)
14658 # When not using gcc, we currently assume that we are using
14659 # Microsoft Visual C++.
14660 # hardcode_libdir_flag_spec is actually meaningless, as there is
14661 # no search path for DLLs.
14662 hardcode_libdir_flag_spec_F77
=' '
14663 allow_undefined_flag_F77
=unsupported
14664 # Tell ltmain to make .lib files, not .a files.
14666 # Tell ltmain to make .dll files, not .so files.
14668 # FIXME: Setting linknames here is a bad hack.
14669 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14670 # The linker will automatically build a .lib file if we build a DLL.
14671 old_archive_From_new_cmds_F77
='true'
14672 # FIXME: Should let the user specify the lib program.
14673 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14674 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14675 enable_shared_with_static_runtimes_F77
=yes
14678 darwin
* | rhapsody
*)
14680 rhapsody
* | darwin1.
[012])
14681 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14684 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14685 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14687 case ${MACOSX_DEPLOYMENT_TARGET} in
14689 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14692 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14698 archive_cmds_need_lc_F77
=no
14699 hardcode_direct_F77
=no
14700 hardcode_automatic_F77
=yes
14701 hardcode_shlibpath_var_F77
=unsupported
14702 whole_archive_flag_spec_F77
=''
14703 link_all_deplibs_F77
=yes
14704 if test "$GCC" = yes ; then
14705 output_verbose_link_cmd
='echo'
14706 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14707 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14708 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14709 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}'
14710 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}'
14712 case $cc_basename in
14714 output_verbose_link_cmd
='echo'
14715 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14716 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14717 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14718 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14719 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}'
14729 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14730 hardcode_libdir_flag_spec_F77
='-L$libdir'
14731 hardcode_shlibpath_var_F77
=no
14738 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14739 # support. Future versions do this automatically, but an explicit c++rt0.o
14740 # does not break anything, and helps significantly (at the cost of a little
14743 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14744 hardcode_libdir_flag_spec_F77
='-R$libdir'
14745 hardcode_direct_F77
=yes
14746 hardcode_shlibpath_var_F77
=no
14749 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14751 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14752 hardcode_direct_F77
=yes
14753 hardcode_minus_L_F77
=yes
14754 hardcode_shlibpath_var_F77
=no
14757 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14758 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14759 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14760 hardcode_libdir_flag_spec_F77
='-R$libdir'
14761 hardcode_direct_F77
=yes
14762 hardcode_shlibpath_var_F77
=no
14766 if test "$GCC" = yes; then
14767 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'
14769 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'
14771 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14772 hardcode_libdir_separator_F77
=:
14773 hardcode_direct_F77
=yes
14775 # hardcode_minus_L: Not really in the search PATH,
14776 # but as the default location of the library.
14777 hardcode_minus_L_F77
=yes
14778 export_dynamic_flag_spec_F77
='${wl}-E'
14782 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14783 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14785 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14787 if test "$with_gnu_ld" = no
; then
14788 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14789 hardcode_libdir_separator_F77
=:
14791 hardcode_direct_F77
=yes
14792 export_dynamic_flag_spec_F77
='${wl}-E'
14794 # hardcode_minus_L: Not really in the search PATH,
14795 # but as the default location of the library.
14796 hardcode_minus_L_F77
=yes
14801 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14804 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14807 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14810 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14816 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14819 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14822 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14826 if test "$with_gnu_ld" = no
; then
14827 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14828 hardcode_libdir_separator_F77
=:
14832 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14833 hardcode_direct_F77
=no
14834 hardcode_shlibpath_var_F77
=no
14837 hardcode_direct_F77
=yes
14838 export_dynamic_flag_spec_F77
='${wl}-E'
14840 # hardcode_minus_L: Not really in the search PATH,
14841 # but as the default location of the library.
14842 hardcode_minus_L_F77
=yes
14848 irix5
* | irix6
* | nonstopux
*)
14849 if test "$GCC" = yes; then
14850 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'
14852 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'
14853 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14855 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14856 hardcode_libdir_separator_F77
=:
14857 link_all_deplibs_F77
=yes
14861 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14862 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14864 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14866 hardcode_libdir_flag_spec_F77
='-R$libdir'
14867 hardcode_direct_F77
=yes
14868 hardcode_shlibpath_var_F77
=no
14872 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14873 hardcode_direct_F77
=yes
14874 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14875 hardcode_libdir_separator_F77
=:
14876 hardcode_shlibpath_var_F77
=no
14880 hardcode_direct_F77
=yes
14881 hardcode_shlibpath_var_F77
=no
14882 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14883 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14884 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14885 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14886 export_dynamic_flag_spec_F77
='${wl}-E'
14889 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14890 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14891 hardcode_libdir_flag_spec_F77
='-R$libdir'
14894 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14895 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14902 hardcode_libdir_flag_spec_F77
='-L$libdir'
14903 hardcode_minus_L_F77
=yes
14904 allow_undefined_flag_F77
=unsupported
14905 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'
14906 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14910 if test "$GCC" = yes; then
14911 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14912 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'
14914 allow_undefined_flag_F77
=' -expect_unresolved \*'
14915 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'
14917 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14918 hardcode_libdir_separator_F77
=:
14921 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14922 if test "$GCC" = yes; then
14923 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14924 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'
14925 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14927 allow_undefined_flag_F77
=' -expect_unresolved \*'
14928 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'
14929 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~
14930 $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'
14932 # Both c and cxx compiler support -rpath directly
14933 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14935 hardcode_libdir_separator_F77
=:
14939 no_undefined_flag_F77
=' -z text'
14940 if test "$GCC" = yes; then
14942 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14943 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14944 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14947 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14948 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14949 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14951 hardcode_libdir_flag_spec_F77
='-R$libdir'
14952 hardcode_shlibpath_var_F77
=no
14954 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14956 # The compiler driver will combine linker options so we
14957 # cannot just pass the convience library names through
14958 # without $wl, iff we do not link with $LD.
14959 # Luckily, gcc supports the same syntax we need for Sun Studio.
14960 # Supported since Solaris 2.6 (maybe 2.5.1?)
14963 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14965 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14968 link_all_deplibs_F77
=yes
14972 if test "x$host_vendor" = xsequent
; then
14973 # Use $CC to link under sequent, because it throws in some extra .o
14974 # files that make .init and .fini sections work.
14975 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14977 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14979 hardcode_libdir_flag_spec_F77
='-L$libdir'
14980 hardcode_direct_F77
=yes
14981 hardcode_minus_L_F77
=yes
14982 hardcode_shlibpath_var_F77
=no
14986 case $host_vendor in
14988 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14989 hardcode_direct_F77
=yes # is this really true???
14992 ## LD is ld it makes a PLAMLIB
14993 ## CC just makes a GrossModule.
14994 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14995 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14996 hardcode_direct_F77
=no
14999 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15000 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15003 runpath_var
='LD_RUN_PATH'
15004 hardcode_shlibpath_var_F77
=no
15008 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15009 hardcode_shlibpath_var_F77
=no
15010 export_dynamic_flag_spec_F77
='-Bexport'
15014 if test -d /usr
/nec
; then
15015 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15016 hardcode_shlibpath_var_F77
=no
15017 runpath_var
=LD_RUN_PATH
15018 hardcode_runpath_var
=yes
15023 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15024 no_undefined_flag_F77
='${wl}-z,text'
15025 archive_cmds_need_lc_F77
=no
15026 hardcode_shlibpath_var_F77
=no
15027 runpath_var
='LD_RUN_PATH'
15029 if test "$GCC" = yes; then
15030 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15031 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15033 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15034 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15038 sysv5
* | sco3.2v5
* | sco5v6
*)
15039 # Note: We can NOT use -z defs as we might desire, because we do not
15040 # link with -lc, and that would cause any symbols used from libc to
15041 # always be unresolved, which means just about no library would
15042 # ever link correctly. If we're not using GNU ld we use -z text
15043 # though, which does catch some bad symbols but isn't as heavy-handed
15045 no_undefined_flag_F77
='${wl}-z,text'
15046 allow_undefined_flag_F77
='${wl}-z,nodefs'
15047 archive_cmds_need_lc_F77
=no
15048 hardcode_shlibpath_var_F77
=no
15049 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15050 hardcode_libdir_separator_F77
=':'
15051 link_all_deplibs_F77
=yes
15052 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15053 runpath_var
='LD_RUN_PATH'
15055 if test "$GCC" = yes; then
15056 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15057 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15059 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15060 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15065 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15066 hardcode_libdir_flag_spec_F77
='-L$libdir'
15067 hardcode_shlibpath_var_F77
=no
15076 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15077 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15078 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15081 # Do we need to explicitly link libc?
15083 case "x$archive_cmds_need_lc_F77" in
15085 # Assume -lc should be added
15086 archive_cmds_need_lc_F77
=yes
15088 if test "$enable_shared" = yes && test "$GCC" = yes; then
15089 case $archive_cmds_F77 in
15091 # FIXME: we may have to deal with multi-command sequences.
15094 # Test whether the compiler implicitly links with -lc since on some
15095 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15096 # to ld, don't add -lc before -lgcc.
15097 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15098 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15100 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103 (eval $ac_compile) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } 2>conftest.err
; then
15109 libobjs
=conftest.
$ac_objext
15111 wl
=$lt_prog_compiler_wl_F77
15112 pic_flag
=$lt_prog_compiler_pic_F77
15118 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15119 allow_undefined_flag_F77
=
15120 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15121 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }
15126 archive_cmds_need_lc_F77
=no
15128 archive_cmds_need_lc_F77
=yes
15130 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15132 cat conftest.err
1>&5
15135 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15136 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15143 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15144 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15145 library_names_spec
=
15146 libname_spec
='lib$name'
15150 postuninstall_cmds
=
15154 shlibpath_overrides_runpath
=unknown
15156 dynamic_linker
="$host_os ld.so"
15157 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15158 if test "$GCC" = yes; then
15159 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15160 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15161 # if the path contains ";" then we assume it to be the separator
15162 # otherwise default to the standard path separator (i.e. ":") - it is
15163 # assumed that no part of a normal pathname contains ";" but that should
15164 # okay in the real world where ";" in dirpaths is itself problematic.
15165 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15167 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15170 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15172 need_lib_prefix
=unknown
15173 hardcode_into_libs
=no
15175 # when you set need_version to no, make sure it does not cause -set_version
15176 # flags to be left without arguments
15177 need_version
=unknown
15182 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15183 shlibpath_var
=LIBPATH
15185 # AIX 3 has no versioning support, so we append a major version to the name.
15186 soname_spec
='${libname}${release}${shared_ext}$major'
15193 hardcode_into_libs
=yes
15194 if test "$host_cpu" = ia64
; then
15195 # AIX 5 supports IA64
15196 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15197 shlibpath_var
=LD_LIBRARY_PATH
15199 # With GCC up to 2.95.x, collect2 would create an import file
15200 # for dependence libraries. The import file would start with
15201 # the line `#! .'. This would cause the generated library to
15202 # depend on `.', always an invalid library. This was fixed in
15203 # development snapshots of GCC prior to 3.0.
15205 aix4 | aix4.
[01] | aix4.
[01].
*)
15206 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15208 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15211 can_build_shared
=no
15215 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15216 # soname into executable. Probably we can add versioning support to
15217 # collect2, so additional links can be useful in future.
15218 if test "$aix_use_runtimelinking" = yes; then
15219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15220 # instead of lib<name>.a to let people know that these are not
15221 # typical AIX shared libraries.
15222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15224 # We preserve .a as extension for shared libraries through AIX4.2
15225 # and later when we are not doing run time linking.
15226 library_names_spec
='${libname}${release}.a $libname.a'
15227 soname_spec
='${libname}${release}${shared_ext}$major'
15229 shlibpath_var
=LIBPATH
15234 library_names_spec
='$libname.ixlibrary $libname.a'
15235 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15236 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'
15240 library_names_spec
='${libname}${shared_ext}'
15241 dynamic_linker
="$host_os ld.so"
15242 shlibpath_var
=LIBRARY_PATH
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15250 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15251 shlibpath_var
=LD_LIBRARY_PATH
15252 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15253 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15254 # the default ld.so.conf also contains /usr/contrib/lib and
15255 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15256 # libtool to hard-code these into programs
15259 cygwin
* | mingw
* | pw32
*)
15260 version_type
=windows
15265 case $GCC,$host_os in
15266 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15267 library_names_spec
='$libname.dll.a'
15268 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15269 postinstall_cmds
='base_file=`basename \${file}`~
15270 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15271 dldir=$destdir/`dirname \$dlpath`~
15272 test -d \$dldir || mkdir -p \$dldir~
15273 $install_prog $dir/$dlname \$dldir/$dlname~
15274 chmod a+x \$dldir/$dlname'
15275 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15276 dlpath=$dir/\$dldll~
15278 shlibpath_overrides_runpath
=yes
15282 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15283 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15284 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15287 # MinGW DLLs use traditional 'lib' prefix
15288 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15289 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15290 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15291 # It is most probably a Windows format PATH printed by
15292 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15293 # path with ; separators, and with drive letters. We can handle the
15294 # drive letters (cygwin fileutils understands them), so leave them,
15295 # especially as we might pass files found there to a mingw objdump,
15296 # which wouldn't understand a cygwinified path. Ahh.
15297 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15299 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15303 # pw32 DLLs use 'pw' prefix rather than 'lib'
15304 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15310 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15313 dynamic_linker
='Win32 ld.exe'
15314 # FIXME: first we should search . and the directory the executable is in
15318 darwin
* | rhapsody
*)
15319 dynamic_linker
="$host_os dyld"
15320 version_type
=darwin
15323 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15324 soname_spec
='${libname}${release}${major}$shared_ext'
15325 shlibpath_overrides_runpath
=yes
15326 shlibpath_var
=DYLD_LIBRARY_PATH
15327 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15328 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15329 if test "$GCC" = yes; then
15330 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15332 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15334 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15342 soname_spec
='${libname}${release}${shared_ext}$major'
15343 shlibpath_var
=LD_LIBRARY_PATH
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15355 soname_spec
='${libname}${release}${shared_ext}$major'
15356 shlibpath_var
=LD_LIBRARY_PATH
15357 shlibpath_overrides_runpath
=no
15358 hardcode_into_libs
=yes
15359 dynamic_linker
='GNU ld.so'
15362 freebsd
* | dragonfly
*)
15363 # DragonFly does not have aout. When/if they implement a new
15364 # versioning mechanism, adjust this.
15365 if test -x /usr
/bin
/objformat
; then
15366 objformat
=`/usr/bin/objformat`
15369 freebsd
[123]*) objformat
=aout
;;
15370 *) objformat
=elf
;;
15373 version_type
=freebsd-
$objformat
15374 case $version_type in
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15385 shlibpath_var
=LD_LIBRARY_PATH
15388 shlibpath_overrides_runpath
=yes
15390 freebsd3.
[01]* | freebsdelf3.
[01]*)
15391 shlibpath_overrides_runpath
=yes
15392 hardcode_into_libs
=yes
15394 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15395 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15396 shlibpath_overrides_runpath
=no
15397 hardcode_into_libs
=yes
15399 freebsd
*) # from 4.6 on
15400 shlibpath_overrides_runpath
=yes
15401 hardcode_into_libs
=yes
15410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15411 soname_spec
='${libname}${release}${shared_ext}$major'
15412 shlibpath_var
=LD_LIBRARY_PATH
15413 hardcode_into_libs
=yes
15416 hpux9
* | hpux10
* | hpux11
*)
15417 # Give a soname corresponding to the major version so that dld.sl refuses to
15418 # link against other versions.
15425 hardcode_into_libs
=yes
15426 dynamic_linker
="$host_os dld.so"
15427 shlibpath_var
=LD_LIBRARY_PATH
15428 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 soname_spec
='${libname}${release}${shared_ext}$major'
15431 if test "X$HPUX_IA64_MODE" = X32
; then
15432 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15434 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15436 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15440 hardcode_into_libs
=yes
15441 dynamic_linker
="$host_os dld.sl"
15442 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15443 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec
='${libname}${release}${shared_ext}$major'
15446 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15447 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15451 dynamic_linker
="$host_os dld.sl"
15452 shlibpath_var
=SHLIB_PATH
15453 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15458 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15459 postinstall_cmds
='chmod 555 $lib'
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15467 soname_spec
='${libname}${release}${shared_ext}$major'
15468 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15469 shlibpath_var
=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath
=no
15471 hardcode_into_libs
=yes
15474 irix5
* | irix6
* | nonstopux
*)
15476 nonstopux
*) version_type
=nonstopux
;;
15478 if test "$lt_cv_prog_gnu_ld" = yes; then
15486 soname_spec
='${libname}${release}${shared_ext}$major'
15487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15489 irix5
* | nonstopux
*)
15490 libsuff
= shlibsuff
=
15493 case $LD in # libtool.m4 will add one of these switches to LD
15494 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15495 libsuff
= shlibsuff
= libmagic
=32-bit;;
15496 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15497 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15498 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15499 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15500 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15504 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15505 shlibpath_overrides_runpath
=no
15506 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15507 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15508 hardcode_into_libs
=yes
15511 # No shared lib support for Linux oldld, aout, or coff.
15512 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15516 # This must be Linux ELF.
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15524 shlibpath_var
=LD_LIBRARY_PATH
15525 shlibpath_overrides_runpath
=no
15526 # This implies no fast_install, which is unacceptable.
15527 # Some rework will be needed to allow for fast_install
15528 # before this can be enabled.
15529 hardcode_into_libs
=yes
15531 # find out which ABI we are using
15533 case "$host_cpu" in
15534 x86_64
*|s390x
*|powerpc64
*)
15535 echo '#line 15535 "configure"' > conftest.
$ac_ext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; then
15541 case `/usr/bin/file conftest.$ac_objext` in
15544 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15552 # Append ld.so.conf contents to the search path
15553 if test -f /etc
/ld.so.conf
; then
15554 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15555 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15558 # We used to test for /lib/ld.so.1 and disable shared libraries on
15559 # powerpc, because MkLinux only supported shared libraries with the
15560 # GNU dynamic linker. Since this was broken with cross compilers,
15561 # most powerpc-linux boxes support dynamic linking these days and
15562 # people can always --disable-shared, the test was removed, and we
15563 # assume the GNU/Linux dynamic linker is in use.
15564 dynamic_linker
='GNU/Linux ld.so'
15571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15572 soname_spec
='${libname}${release}${shared_ext}$major'
15573 shlibpath_var
=LD_LIBRARY_PATH
15574 shlibpath_overrides_runpath
=no
15575 hardcode_into_libs
=yes
15576 dynamic_linker
='GNU ld.so'
15583 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15585 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15586 dynamic_linker
='NetBSD (a.out) ld.so'
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15590 dynamic_linker
='NetBSD ld.elf_so'
15592 shlibpath_var
=LD_LIBRARY_PATH
15593 shlibpath_overrides_runpath
=yes
15594 hardcode_into_libs
=yes
15599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15600 shlibpath_var
=LD_LIBRARY_PATH
15601 shlibpath_overrides_runpath
=yes
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15610 shlibpath_var
=LD_LIBRARY_PATH
15611 shlibpath_overrides_runpath
=yes
15616 sys_lib_dlsearch_path_spec
="/usr/lib"
15618 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15620 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15621 *) need_version
=no
;;
15623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15624 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15625 shlibpath_var
=LD_LIBRARY_PATH
15626 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15628 openbsd2.
[89] | openbsd2.
[89].
*)
15629 shlibpath_overrides_runpath
=no
15632 shlibpath_overrides_runpath
=yes
15636 shlibpath_overrides_runpath
=yes
15641 libname_spec
='$name'
15644 library_names_spec
='$libname${shared_ext} $libname.a'
15645 dynamic_linker
='OS/2 ld.exe'
15646 shlibpath_var
=LIBPATH
15649 osf3
* | osf4
* | osf5
*)
15653 soname_spec
='${libname}${release}${shared_ext}$major'
15654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15655 shlibpath_var
=LD_LIBRARY_PATH
15656 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15657 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15665 soname_spec
='${libname}${release}${shared_ext}$major'
15666 shlibpath_var
=LD_LIBRARY_PATH
15667 shlibpath_overrides_runpath
=yes
15668 hardcode_into_libs
=yes
15669 # ldd complains unless libraries are executable
15670 postinstall_cmds
='chmod +x $lib'
15675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15676 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15677 shlibpath_var
=LD_LIBRARY_PATH
15678 shlibpath_overrides_runpath
=yes
15679 if test "$with_gnu_ld" = yes; then
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15688 soname_spec
='${libname}${release}${shared_ext}$major'
15689 shlibpath_var
=LD_LIBRARY_PATH
15690 case $host_vendor in
15692 shlibpath_overrides_runpath
=no
15694 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15695 runpath_var
=LD_RUN_PATH
15703 shlibpath_overrides_runpath
=no
15704 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15710 if test -d /usr
/nec
;then
15712 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15713 soname_spec
='$libname${shared_ext}.$major'
15714 shlibpath_var
=LD_LIBRARY_PATH
15718 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15719 version_type
=freebsd-elf
15722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15723 soname_spec
='${libname}${release}${shared_ext}$major'
15724 shlibpath_var
=LD_LIBRARY_PATH
15725 hardcode_into_libs
=yes
15726 if test "$with_gnu_ld" = yes; then
15727 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15728 shlibpath_overrides_runpath
=no
15730 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15731 shlibpath_overrides_runpath
=yes
15734 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15738 sys_lib_dlsearch_path_spec
='/usr/lib'
15743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15744 soname_spec
='${libname}${release}${shared_ext}$major'
15745 shlibpath_var
=LD_LIBRARY_PATH
15752 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15753 echo "${ECHO_T}$dynamic_linker" >&6; }
15754 test "$dynamic_linker" = no
&& can_build_shared
=no
15756 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15757 if test "$GCC" = yes; then
15758 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15761 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15762 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15763 hardcode_action_F77
=
15764 if test -n "$hardcode_libdir_flag_spec_F77" || \
15765 test -n "$runpath_var_F77" || \
15766 test "X$hardcode_automatic_F77" = "Xyes" ; then
15768 # We can hardcode non-existant directories.
15769 if test "$hardcode_direct_F77" != no
&&
15770 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15771 # have to relink, otherwise we might link with an installed library
15772 # when we should be linking with a yet-to-be-installed one
15773 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15774 test "$hardcode_minus_L_F77" != no
; then
15775 # Linking always hardcodes the temporary library directory.
15776 hardcode_action_F77
=relink
15778 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15779 hardcode_action_F77
=immediate
15782 # We cannot hardcode anything, or else we can only hardcode existing
15784 hardcode_action_F77
=unsupported
15786 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15787 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15789 if test "$hardcode_action_F77" = relink
; then
15790 # Fast installation is not supported
15791 enable_fast_install
=no
15792 elif test "$shlibpath_overrides_runpath" = yes ||
15793 test "$enable_shared" = no
; then
15794 # Fast installation is not necessary
15795 enable_fast_install
=needless
15799 # The else clause should only fire when bootstrapping the
15800 # libtool distribution, otherwise you forgot to ship ltmain.sh
15801 # with your package, and you will get complaints that there are
15802 # no rules to generate ltmain.sh.
15803 if test -f "$ltmain"; then
15804 # See if we are running on zsh, and set the options which allow our commands through
15805 # without removal of \ escapes.
15806 if test -n "${ZSH_VERSION+set}" ; then
15807 setopt NO_GLOB_SUBST
15809 # Now quote all the things that may contain metacharacters while being
15810 # careful not to overquote the AC_SUBSTed values. We take copies of the
15811 # variables and quote the copies for generation of the libtool script.
15812 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15814 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15815 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15816 deplibs_check_method reload_flag reload_cmds need_locks \
15817 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15818 lt_cv_sys_global_symbol_to_c_name_address \
15819 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15820 old_postinstall_cmds old_postuninstall_cmds \
15824 lt_prog_compiler_wl_F77 \
15825 lt_prog_compiler_pic_F77 \
15826 lt_prog_compiler_static_F77 \
15827 lt_prog_compiler_no_builtin_flag_F77 \
15828 export_dynamic_flag_spec_F77 \
15829 thread_safe_flag_spec_F77 \
15830 whole_archive_flag_spec_F77 \
15831 enable_shared_with_static_runtimes_F77 \
15832 old_archive_cmds_F77 \
15833 old_archive_from_new_cmds_F77 \
15834 predep_objects_F77 \
15835 postdep_objects_F77 \
15838 compiler_lib_search_path_F77 \
15840 archive_expsym_cmds_F77 \
15841 postinstall_cmds_F77 \
15842 postuninstall_cmds_F77 \
15843 old_archive_from_expsyms_cmds_F77 \
15844 allow_undefined_flag_F77 \
15845 no_undefined_flag_F77 \
15846 export_symbols_cmds_F77 \
15847 hardcode_libdir_flag_spec_F77 \
15848 hardcode_libdir_flag_spec_ld_F77 \
15849 hardcode_libdir_separator_F77 \
15850 hardcode_automatic_F77 \
15852 module_expsym_cmds_F77 \
15853 lt_cv_prog_compiler_c_o_F77 \
15854 exclude_expsyms_F77 \
15855 include_expsyms_F77
; do
15858 old_archive_cmds_F77 | \
15859 old_archive_from_new_cmds_F77 | \
15860 archive_cmds_F77 | \
15861 archive_expsym_cmds_F77 | \
15862 module_cmds_F77 | \
15863 module_expsym_cmds_F77 | \
15864 old_archive_from_expsyms_cmds_F77 | \
15865 export_symbols_cmds_F77 | \
15866 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15867 postinstall_cmds | postuninstall_cmds | \
15868 old_postinstall_cmds | old_postuninstall_cmds | \
15869 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15870 # Double-quote double-evaled strings.
15871 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15874 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15880 *'\$0 --fallback-echo"')
15881 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15887 cat <<__EOF__ >> "$cfgfile"
15888 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15890 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15892 # Shell to use when invoking shell scripts.
15895 # Whether or not to build shared libraries.
15896 build_libtool_libs=$enable_shared
15898 # Whether or not to build static libraries.
15899 build_old_libs=$enable_static
15901 # Whether or not to add -lc for building shared libraries.
15902 build_libtool_need_lc=$archive_cmds_need_lc_F77
15904 # Whether or not to disallow shared libs when runtime libs are static
15905 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15907 # Whether or not to optimize for fast installation.
15908 fast_install=$enable_fast_install
15911 host_alias=$host_alias
15915 # The build system.
15916 build_alias=$build_alias
15920 # An echo program that does not interpret backslashes.
15925 AR_FLAGS=$lt_AR_FLAGS
15930 # LTCC compiler flags.
15931 LTCFLAGS=$lt_LTCFLAGS
15933 # A language-specific compiler.
15934 CC=$lt_compiler_F77
15936 # Is the compiler the GNU C compiler?
15942 # The linker used to build libraries.
15945 # Whether we need hard or soft links.
15948 # A BSD-compatible nm program.
15951 # A symbol stripping program
15954 # Used to examine libraries when file_magic_cmd begins "file"
15955 MAGIC_CMD=$MAGIC_CMD
15957 # Used on cygwin: DLL creation program.
15960 # Used on cygwin: object dumper.
15963 # Used on cygwin: assembler.
15966 # The name of the directory that contains temporary libtool files.
15969 # How to create reloadable object files.
15970 reload_flag=$lt_reload_flag
15971 reload_cmds=$lt_reload_cmds
15973 # How to pass a linker flag through the compiler.
15974 wl=$lt_lt_prog_compiler_wl_F77
15976 # Object file suffix (normally "o").
15977 objext="$ac_objext"
15979 # Old archive suffix (normally "a").
15982 # Shared library suffix (normally ".so").
15983 shrext_cmds='$shrext_cmds'
15985 # Executable file suffix (normally "").
15988 # Additional compiler flags for building library objects.
15989 pic_flag=$lt_lt_prog_compiler_pic_F77
15992 # What is the maximum length of a command?
15993 max_cmd_len=$lt_cv_sys_max_cmd_len
15995 # Does compiler simultaneously support -c and -o options?
15996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15998 # Must we lock files when doing compilation?
15999 need_locks=$lt_need_locks
16001 # Do we need the lib prefix for modules?
16002 need_lib_prefix=$need_lib_prefix
16004 # Do we need a version for libraries?
16005 need_version=$need_version
16007 # Whether dlopen is supported.
16008 dlopen_support=$enable_dlopen
16010 # Whether dlopen of programs is supported.
16011 dlopen_self=$enable_dlopen_self
16013 # Whether dlopen of statically linked programs is supported.
16014 dlopen_self_static=$enable_dlopen_self_static
16016 # Compiler flag to prevent dynamic linking.
16017 link_static_flag=$lt_lt_prog_compiler_static_F77
16019 # Compiler flag to turn off builtin functions.
16020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16022 # Compiler flag to allow reflexive dlopens.
16023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16025 # Compiler flag to generate shared objects directly from archives.
16026 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16028 # Compiler flag to generate thread-safe objects.
16029 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16031 # Library versioning type.
16032 version_type=$version_type
16034 # Format of library name prefix.
16035 libname_spec=$lt_libname_spec
16037 # List of archive names. First name is the real one, the rest are links.
16038 # The last name is the one that the linker finds with -lNAME.
16039 library_names_spec=$lt_library_names_spec
16041 # The coded name of the library, if different from the real name.
16042 soname_spec=$lt_soname_spec
16044 # Commands used to build and install an old-style archive.
16046 old_archive_cmds=$lt_old_archive_cmds_F77
16047 old_postinstall_cmds=$lt_old_postinstall_cmds
16048 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16050 # Create an old-style archive from a shared archive.
16051 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16053 # Create a temporary old-style archive to link instead of a shared archive.
16054 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16056 # Commands used to build and install a shared archive.
16057 archive_cmds=$lt_archive_cmds_F77
16058 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16059 postinstall_cmds=$lt_postinstall_cmds
16060 postuninstall_cmds=$lt_postuninstall_cmds
16062 # Commands used to build a loadable module (assumed same as above if empty)
16063 module_cmds=$lt_module_cmds_F77
16064 module_expsym_cmds=$lt_module_expsym_cmds_F77
16066 # Commands to strip libraries.
16067 old_striplib=$lt_old_striplib
16068 striplib=$lt_striplib
16070 # Dependencies to place before the objects being linked to create a
16072 predep_objects=$lt_predep_objects_F77
16074 # Dependencies to place after the objects being linked to create a
16076 postdep_objects=$lt_postdep_objects_F77
16078 # Dependencies to place before the objects being linked to create a
16080 predeps=$lt_predeps_F77
16082 # Dependencies to place after the objects being linked to create a
16084 postdeps=$lt_postdeps_F77
16086 # The library search path used internally by the compiler when linking
16087 # a shared library.
16088 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16090 # Method to check whether dependent libraries are shared objects.
16091 deplibs_check_method=$lt_deplibs_check_method
16093 # Command to use when deplibs_check_method == file_magic.
16094 file_magic_cmd=$lt_file_magic_cmd
16096 # Flag that allows shared libraries with undefined symbols to be built.
16097 allow_undefined_flag=$lt_allow_undefined_flag_F77
16099 # Flag that forces no undefined symbols.
16100 no_undefined_flag=$lt_no_undefined_flag_F77
16102 # Commands used to finish a libtool library installation in a directory.
16103 finish_cmds=$lt_finish_cmds
16105 # Same as above, but a single script fragment to be evaled but not shown.
16106 finish_eval=$lt_finish_eval
16108 # Take the output of nm and produce a listing of raw symbols and C names.
16109 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16111 # Transform the output of nm in a proper C declaration
16112 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16114 # Transform the output of nm in a C name address pair
16115 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16117 # This is the shared library runtime path variable.
16118 runpath_var=$runpath_var
16120 # This is the shared library path variable.
16121 shlibpath_var=$shlibpath_var
16123 # Is shlibpath searched before the hard-coded library search path?
16124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16126 # How to hardcode a shared library path into an executable.
16127 hardcode_action=$hardcode_action_F77
16129 # Whether we should hardcode library paths into libraries.
16130 hardcode_into_libs=$hardcode_into_libs
16132 # Flag to hardcode \$libdir into a binary during linking.
16133 # This must work even if \$libdir does not exist.
16134 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16136 # If ld is used when linking, flag to hardcode \$libdir into
16137 # a binary during linking. This must work even if \$libdir does
16139 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16141 # Whether we need a single -rpath flag with a separated argument.
16142 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16144 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16145 # resulting binary.
16146 hardcode_direct=$hardcode_direct_F77
16148 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16149 # resulting binary.
16150 hardcode_minus_L=$hardcode_minus_L_F77
16152 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16153 # the resulting binary.
16154 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16156 # Set to yes if building a shared library automatically hardcodes DIR into the library
16157 # and all subsequent libraries and executables linked against it.
16158 hardcode_automatic=$hardcode_automatic_F77
16160 # Variables whose values should be saved in libtool wrapper scripts and
16161 # restored at relink time.
16162 variables_saved_for_relink="$variables_saved_for_relink"
16164 # Whether libtool must link a program against all its dependency libraries.
16165 link_all_deplibs=$link_all_deplibs_F77
16167 # Compile-time system search path for libraries
16168 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16170 # Run-time system search path for libraries
16171 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16173 # Fix the shell variable \$srcfile for the compiler.
16174 fix_srcfile_path="$fix_srcfile_path_F77"
16176 # Set to yes if exported symbols are required.
16177 always_export_symbols=$always_export_symbols_F77
16179 # The commands to list exported symbols.
16180 export_symbols_cmds=$lt_export_symbols_cmds_F77
16182 # The commands to extract the exported symbol list from a shared archive.
16183 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16185 # Symbols that should not be listed in the preloaded symbols.
16186 exclude_expsyms=$lt_exclude_expsyms_F77
16188 # Symbols that must always be exported.
16189 include_expsyms=$lt_include_expsyms_F77
16191 # ### END LIBTOOL TAG CONFIG: $tagname
16197 # If there is no Makefile yet, we rely on a make rule to execute
16198 # `config.status --recheck' to rerun these tests and create the
16199 # libtool script then.
16200 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16201 if test -f "$ltmain_in"; then
16202 test -f Makefile
&& make "$ltmain"
16208 ac_cpp
='$CPP $CPPFLAGS'
16209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16221 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16224 # Source file extension for Java test sources.
16227 # Object file extension for compiled Java test sources.
16231 # Code to be used in simple compile tests
16232 lt_simple_compile_test_code
="class foo {}\n"
16234 # Code to be used in simple link tests
16235 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16237 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16239 # If no C compiler was specified, use CC.
16242 # If no C compiler flags were specified, use CFLAGS.
16243 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16245 # Allow CC to be a program name with arguments.
16249 # save warnings/boilerplate of simple test code
16250 ac_outfile
=conftest.
$ac_objext
16251 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16252 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16253 _lt_compiler_boilerplate
=`cat conftest.err`
16256 ac_outfile
=conftest.
$ac_objext
16257 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16258 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16259 _lt_linker_boilerplate
=`cat conftest.err`
16263 # Allow CC to be a program name with arguments.
16268 for cc_temp
in $compiler""; do
16270 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16271 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16276 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16279 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16280 archive_cmds_need_lc_GCJ
=no
16282 old_archive_cmds_GCJ
=$old_archive_cmds
16285 lt_prog_compiler_no_builtin_flag_GCJ
=
16287 if test "$GCC" = yes; then
16288 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16291 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16292 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16293 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 lt_cv_prog_compiler_rtti_exceptions
=no
16297 ac_outfile
=conftest.
$ac_objext
16298 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16299 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16300 # Insert the option either (1) after the last *FLAGS variable, or
16301 # (2) before a word containing "conftest.", or (3) at the end.
16302 # Note that $ac_compile itself does not contain backslashes and begins
16303 # with a dollar sign (not a hyphen), so the echo should work correctly.
16304 # The option is referenced via a variable to avoid confusing sed.
16305 lt_compile
=`echo "$ac_compile" | $SED \
16306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16308 -e 's:$: $lt_compiler_flag:'`
16309 (eval echo "\"\$as_me:16309: $lt_compile\"" >&5)
16310 (eval "$lt_compile" 2>conftest.err
)
16312 cat conftest.err
>&5
16313 echo "$as_me:16313: \$? = $ac_status" >&5
16314 if (exit $ac_status) && test -s "$ac_outfile"; then
16315 # The compiler can only warn and ignore the option if not recognized
16316 # So say no if there are warnings other than the usual output.
16317 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16318 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16319 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16320 lt_cv_prog_compiler_rtti_exceptions
=yes
16326 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16327 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16329 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16330 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16337 lt_prog_compiler_wl_GCJ
=
16338 lt_prog_compiler_pic_GCJ
=
16339 lt_prog_compiler_static_GCJ
=
16341 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16342 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16344 if test "$GCC" = yes; then
16345 lt_prog_compiler_wl_GCJ
='-Wl,'
16346 lt_prog_compiler_static_GCJ
='-static'
16350 # All AIX code is PIC.
16351 if test "$host_cpu" = ia64
; then
16352 # AIX 5 now supports IA64 processor
16353 lt_prog_compiler_static_GCJ
='-Bstatic'
16358 # FIXME: we need at least 68020 code to build shared libraries, but
16359 # adding the `-m68020' flag to GCC prevents building anything better,
16361 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16364 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16365 # PIC is the default for these OSes.
16368 mingw
* | pw32
* | os2
*)
16369 # This hack is so that the source file can tell whether it is being
16370 # built for inclusion in a dll (and should export symbols for example).
16371 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16374 darwin
* | rhapsody
*)
16375 # PIC is the default on this platform
16376 # Common symbols not allowed in MH_DYLIB files
16377 lt_prog_compiler_pic_GCJ
='-fno-common'
16381 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16382 # Instead, we relocate shared libraries at runtime.
16386 # Just because we use GCC doesn't mean we suddenly get shared libraries
16387 # on systems that don't support them.
16388 lt_prog_compiler_can_build_shared_GCJ
=no
16393 if test -d /usr
/nec
; then
16394 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16399 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16400 # not for PA HP-UX.
16406 lt_prog_compiler_pic_GCJ
='-fPIC'
16412 lt_prog_compiler_pic_GCJ
='-fPIC'
16416 # PORTME Check for flag to pass linker flags through the system compiler.
16419 lt_prog_compiler_wl_GCJ
='-Wl,'
16420 if test "$host_cpu" = ia64
; then
16421 # AIX 5 now supports IA64 processor
16422 lt_prog_compiler_static_GCJ
='-Bstatic'
16424 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16428 # PIC is the default on this platform
16429 # Common symbols not allowed in MH_DYLIB files
16430 case $cc_basename in
16432 lt_prog_compiler_pic_GCJ
='-qnocommon'
16433 lt_prog_compiler_wl_GCJ
='-Wl,'
16438 mingw
* | pw32
* | os2
*)
16439 # This hack is so that the source file can tell whether it is being
16440 # built for inclusion in a dll (and should export symbols for example).
16441 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16444 hpux9
* | hpux10
* | hpux11
*)
16445 lt_prog_compiler_wl_GCJ
='-Wl,'
16446 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16447 # not for PA HP-UX.
16453 lt_prog_compiler_pic_GCJ
='+Z'
16456 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16457 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16460 irix5
* | irix6
* | nonstopux
*)
16461 lt_prog_compiler_wl_GCJ
='-Wl,'
16462 # PIC (with -KPIC) is the default.
16463 lt_prog_compiler_static_GCJ
='-non_shared'
16467 lt_prog_compiler_pic_GCJ
='-KPIC'
16468 lt_prog_compiler_static_GCJ
='-Bstatic'
16472 case $cc_basename in
16474 lt_prog_compiler_wl_GCJ
='-Wl,'
16475 lt_prog_compiler_pic_GCJ
='-KPIC'
16476 lt_prog_compiler_static_GCJ
='-static'
16478 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16479 # Portland Group compilers (*not* the Pentium gcc compiler,
16480 # which looks to be a dead project)
16481 lt_prog_compiler_wl_GCJ
='-Wl,'
16482 lt_prog_compiler_pic_GCJ
='-fpic'
16483 lt_prog_compiler_static_GCJ
='-Bstatic'
16486 lt_prog_compiler_wl_GCJ
='-Wl,'
16487 # All Alpha code is PIC.
16488 lt_prog_compiler_static_GCJ
='-non_shared'
16493 osf3
* | osf4
* | osf5
*)
16494 lt_prog_compiler_wl_GCJ
='-Wl,'
16495 # All OSF/1 code is PIC.
16496 lt_prog_compiler_static_GCJ
='-non_shared'
16500 lt_prog_compiler_pic_GCJ
='-KPIC'
16501 lt_prog_compiler_static_GCJ
='-Bstatic'
16502 case $cc_basename in
16503 f77
* | f90
* | f95
*)
16504 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16506 lt_prog_compiler_wl_GCJ
='-Wl,';;
16511 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16512 lt_prog_compiler_pic_GCJ
='-PIC'
16513 lt_prog_compiler_static_GCJ
='-Bstatic'
16516 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16517 lt_prog_compiler_wl_GCJ
='-Wl,'
16518 lt_prog_compiler_pic_GCJ
='-KPIC'
16519 lt_prog_compiler_static_GCJ
='-Bstatic'
16523 if test -d /usr
/nec
;then
16524 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16525 lt_prog_compiler_static_GCJ
='-Bstatic'
16529 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16530 lt_prog_compiler_wl_GCJ
='-Wl,'
16531 lt_prog_compiler_pic_GCJ
='-KPIC'
16532 lt_prog_compiler_static_GCJ
='-Bstatic'
16536 lt_prog_compiler_wl_GCJ
='-Wl,'
16537 lt_prog_compiler_can_build_shared_GCJ
=no
16541 lt_prog_compiler_pic_GCJ
='-pic'
16542 lt_prog_compiler_static_GCJ
='-Bstatic'
16546 lt_prog_compiler_can_build_shared_GCJ
=no
16551 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16552 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16555 # Check to make sure the PIC flag actually works.
16557 if test -n "$lt_prog_compiler_pic_GCJ"; then
16559 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16560 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16561 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 lt_prog_compiler_pic_works_GCJ
=no
16565 ac_outfile
=conftest.
$ac_objext
16566 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16567 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16568 # Insert the option either (1) after the last *FLAGS variable, or
16569 # (2) before a word containing "conftest.", or (3) at the end.
16570 # Note that $ac_compile itself does not contain backslashes and begins
16571 # with a dollar sign (not a hyphen), so the echo should work correctly.
16572 # The option is referenced via a variable to avoid confusing sed.
16573 lt_compile
=`echo "$ac_compile" | $SED \
16574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16576 -e 's:$: $lt_compiler_flag:'`
16577 (eval echo "\"\$as_me:16577: $lt_compile\"" >&5)
16578 (eval "$lt_compile" 2>conftest.err
)
16580 cat conftest.err
>&5
16581 echo "$as_me:16581: \$? = $ac_status" >&5
16582 if (exit $ac_status) && test -s "$ac_outfile"; then
16583 # The compiler can only warn and ignore the option if not recognized
16584 # So say no if there are warnings other than the usual output.
16585 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16587 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16588 lt_prog_compiler_pic_works_GCJ
=yes
16594 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16595 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16597 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16598 case $lt_prog_compiler_pic_GCJ in
16600 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16603 lt_prog_compiler_pic_GCJ
=
16604 lt_prog_compiler_can_build_shared_GCJ
=no
16609 # For platforms which do not support PIC, -DPIC is meaningless:
16611 lt_prog_compiler_pic_GCJ
=
16614 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16619 # Check to make sure the static flag actually works.
16621 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16622 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16623 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16624 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16625 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 lt_prog_compiler_static_works_GCJ
=no
16628 save_LDFLAGS
="$LDFLAGS"
16629 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16630 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16631 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16632 # The linker can only warn and ignore the option if not recognized
16633 # So say no if there are warnings
16634 if test -s conftest.err
; then
16635 # Append any errors to the config.log.
16636 cat conftest.err
1>&5
16637 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16638 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16639 if diff conftest.exp conftest.er2
>/dev
/null
; then
16640 lt_prog_compiler_static_works_GCJ
=yes
16643 lt_prog_compiler_static_works_GCJ
=yes
16647 LDFLAGS
="$save_LDFLAGS"
16650 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16651 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16653 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16656 lt_prog_compiler_static_GCJ
=
16660 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16661 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16662 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 lt_cv_prog_compiler_c_o_GCJ
=no
16666 $rm -r conftest
2>/dev
/null
16670 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16672 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16673 # Insert the option either (1) after the last *FLAGS variable, or
16674 # (2) before a word containing "conftest.", or (3) at the end.
16675 # Note that $ac_compile itself does not contain backslashes and begins
16676 # with a dollar sign (not a hyphen), so the echo should work correctly.
16677 lt_compile
=`echo "$ac_compile" | $SED \
16678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16680 -e 's:$: $lt_compiler_flag:'`
16681 (eval echo "\"\$as_me:16681: $lt_compile\"" >&5)
16682 (eval "$lt_compile" 2>out
/conftest.err
)
16684 cat out
/conftest.err
>&5
16685 echo "$as_me:16685: \$? = $ac_status" >&5
16686 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16688 # The compiler can only warn and ignore the option if not recognized
16689 # So say no if there are warnings
16690 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16691 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16692 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16693 lt_cv_prog_compiler_c_o_GCJ
=yes
16698 # SGI C++ compiler will create directory out/ii_files/ for
16699 # template instantiation
16700 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16701 $rm out
/* && rmdir out
16707 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16708 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16711 hard_links
="nottested"
16712 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16713 # do not overwrite the value of need_locks provided by the user
16714 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16715 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16718 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16720 ln conftest.a conftest.b
2>&5 || hard_links
=no
16721 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16722 { echo "$as_me:$LINENO: result: $hard_links" >&5
16723 echo "${ECHO_T}$hard_links" >&6; }
16724 if test "$hard_links" = no
; then
16725 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16726 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16733 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16734 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16737 allow_undefined_flag_GCJ
=
16738 enable_shared_with_static_runtimes_GCJ
=no
16740 archive_expsym_cmds_GCJ
=
16741 old_archive_From_new_cmds_GCJ
=
16742 old_archive_from_expsyms_cmds_GCJ
=
16743 export_dynamic_flag_spec_GCJ
=
16744 whole_archive_flag_spec_GCJ
=
16745 thread_safe_flag_spec_GCJ
=
16746 hardcode_libdir_flag_spec_GCJ
=
16747 hardcode_libdir_flag_spec_ld_GCJ
=
16748 hardcode_libdir_separator_GCJ
=
16749 hardcode_direct_GCJ
=no
16750 hardcode_minus_L_GCJ
=no
16751 hardcode_shlibpath_var_GCJ
=unsupported
16752 link_all_deplibs_GCJ
=unknown
16753 hardcode_automatic_GCJ
=no
16755 module_expsym_cmds_GCJ
=
16756 always_export_symbols_GCJ
=no
16757 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16758 # include_expsyms should be a list of space-separated symbols to be *always*
16759 # included in the symbol list
16760 include_expsyms_GCJ
=
16761 # exclude_expsyms can be an extended regexp of symbols to exclude
16762 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16763 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16764 # as well as any symbol that contains `d'.
16765 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16766 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16767 # platforms (ab)use it in PIC code, but their linkers get confused if
16768 # the symbol is explicitly referenced. Since portable code cannot
16769 # rely on this symbol name, it's probably fine to never include it in
16770 # preloaded symbol tables.
16771 extract_expsyms_cmds
=
16772 # Just being paranoid about ensuring that cc_basename is set.
16773 for cc_temp
in $compiler""; do
16775 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16776 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16781 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16784 cygwin
* | mingw
* | pw32
*)
16785 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16786 # When not using gcc, we currently assume that we are using
16787 # Microsoft Visual C++.
16788 if test "$GCC" != yes; then
16793 # we just hope/assume this is gcc and not c89 (= MSVC++)
16802 if test "$with_gnu_ld" = yes; then
16803 # If archive_cmds runs LD, not CC, wlarc should be empty
16806 # Set some defaults for GNU ld with shared library support. These
16807 # are reset later if shared libraries are not supported. Putting them
16808 # here allows them to be overridden if necessary.
16809 runpath_var
=LD_RUN_PATH
16810 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16811 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16812 # ancient GNU ld didn't support --whole-archive et. al.
16813 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16814 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16816 whole_archive_flag_spec_GCJ
=
16818 supports_anon_versioning
=no
16819 case `$LD -v 2>/dev/null` in
16820 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16821 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16822 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16823 *\
2.11.
*) ;; # other 2.11 versions
16824 *) supports_anon_versioning
=yes ;;
16827 # See if GNU ld supports shared libraries.
16829 aix3
* | aix4
* | aix5
*)
16830 # On AIX/PPC, the GNU linker is very broken
16831 if test "$host_cpu" != ia64
; then
16835 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16836 *** to be unable to reliably create shared libraries on AIX.
16837 *** Therefore, libtool is disabling shared libraries support. If you
16838 *** really care for shared libraries, you may want to modify your PATH
16839 *** so that a non-GNU linker is found, and then restart.
16846 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)'
16847 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16848 hardcode_minus_L_GCJ
=yes
16850 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16851 # that the semantics of dynamic libraries on AmigaOS, at least up
16852 # to version 4, is to share data among multiple programs linked
16853 # with the same dynamic library. Since this doesn't match the
16854 # behavior of shared libraries on other platforms, we can't use
16860 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16861 allow_undefined_flag_GCJ
=unsupported
16862 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16863 # support --undefined. This deserves some investigation. FIXME
16864 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16870 cygwin
* | mingw
* | pw32
*)
16871 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16872 # as there is no search path for DLLs.
16873 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16874 allow_undefined_flag_GCJ
=unsupported
16875 always_export_symbols_GCJ
=no
16876 enable_shared_with_static_runtimes_GCJ
=yes
16877 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16879 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16880 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16881 # If the export-symbols file already is a .def file (1st line
16882 # is EXPORTS), use it as is; otherwise, prepend...
16883 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16884 cp $export_symbols $output_objdir/$soname.def;
16886 echo EXPORTS > $output_objdir/$soname.def;
16887 cat $export_symbols >> $output_objdir/$soname.def;
16889 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16896 hardcode_direct_GCJ
=no
16897 hardcode_shlibpath_var_GCJ
=no
16898 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16899 export_dynamic_flag_spec_GCJ
='${wl}-E'
16900 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16901 # Instead, shared libraries are loaded at an image base (0x10000000 by
16902 # default) and relocated if they conflict, which is a slow very memory
16903 # consuming and fragmenting process. To avoid this, we pick a random,
16904 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16905 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16906 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'
16907 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'
16911 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16913 case $cc_basename,$host_cpu in
16914 pgcc
*) # Portland Group C compiler
16915 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'
16916 tmp_addflag
=' $pic_flag'
16918 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16919 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'
16920 tmp_addflag
=' $pic_flag -Mnomain' ;;
16921 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16922 tmp_addflag
=' -i_dynamic' ;;
16923 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16924 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16925 ifc
* | ifort
*) # Intel Fortran compiler
16926 tmp_addflag
=' -nofor_main' ;;
16928 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16930 if test $supports_anon_versioning = yes; then
16931 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16933 $echo "local: *; };" >> $output_objdir/$libname.ver~
16934 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16942 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16943 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16946 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16947 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16952 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16956 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16957 *** create shared libraries on Solaris systems. Therefore, libtool
16958 *** is disabling shared libraries support. We urge you to upgrade GNU
16959 *** binutils to release 2.9.1 or newer. Another option is to modify
16960 *** your PATH or compiler configuration so that the native linker is
16961 *** used, and then restart.
16964 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16965 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16966 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16972 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16973 case `$LD -v 2>&1` in
16974 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16978 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16979 *** reliably create shared libraries on SCO systems. Therefore, libtool
16980 *** is disabling shared libraries support. We urge you to upgrade GNU
16981 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16982 *** your PATH or compiler configuration so that the native linker is
16983 *** used, and then restart.
16988 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16989 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16990 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16991 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17000 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17002 hardcode_direct_GCJ
=yes
17003 hardcode_shlibpath_var_GCJ
=no
17007 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17008 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17009 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17016 if test "$ld_shlibs_GCJ" = no
; then
17018 hardcode_libdir_flag_spec_GCJ
=
17019 export_dynamic_flag_spec_GCJ
=
17020 whole_archive_flag_spec_GCJ
=
17023 # PORTME fill in a description of your system's linker (not GNU ld)
17026 allow_undefined_flag_GCJ
=unsupported
17027 always_export_symbols_GCJ
=yes
17028 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'
17029 # Note: this linker hardcodes the directories in LIBPATH if there
17030 # are no directories specified by -L.
17031 hardcode_minus_L_GCJ
=yes
17032 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17033 # Neither direct hardcoding nor static linking is supported with a
17035 hardcode_direct_GCJ
=unsupported
17040 if test "$host_cpu" = ia64
; then
17041 # On IA64, the linker does run time linking by default, so we don't
17042 # have to do anything special.
17043 aix_use_runtimelinking
=no
17044 exp_sym_flag
='-Bexport'
17047 # If we're using GNU nm, then we don't want the "-C" option.
17048 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17049 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17050 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'
17052 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'
17054 aix_use_runtimelinking
=no
17056 # Test if we are trying to use run time linking or normal
17057 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17058 # need to do runtime linking.
17059 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17060 for ld_flag
in $LDFLAGS; do
17061 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17062 aix_use_runtimelinking
=yes
17069 exp_sym_flag
='-bexport'
17070 no_entry_flag
='-bnoentry'
17073 # When large executables or shared objects are built, AIX ld can
17074 # have problems creating the table of contents. If linking a library
17075 # or program results in "error TOC overflow" add -mminimal-toc to
17076 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17077 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17079 archive_cmds_GCJ
=''
17080 hardcode_direct_GCJ
=yes
17081 hardcode_libdir_separator_GCJ
=':'
17082 link_all_deplibs_GCJ
=yes
17084 if test "$GCC" = yes; then
17085 case $host_os in aix4.
[012]|aix4.
[012].
*)
17086 # We only want to do this on AIX 4.2 and lower, the check
17087 # below for broken collect2 doesn't work under 4.3+
17088 collect2name
=`${CC} -print-prog-name=collect2`
17089 if test -f "$collect2name" && \
17090 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17092 # We have reworked collect2
17093 hardcode_direct_GCJ
=yes
17095 # We have old collect2
17096 hardcode_direct_GCJ
=unsupported
17097 # It fails to find uninstalled libraries when the uninstalled
17098 # path is not listed in the libpath. Setting hardcode_minus_L
17099 # to unsupported forces relinking
17100 hardcode_minus_L_GCJ
=yes
17101 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17102 hardcode_libdir_separator_GCJ
=
17106 shared_flag
='-shared'
17107 if test "$aix_use_runtimelinking" = yes; then
17108 shared_flag
="$shared_flag "'${wl}-G'
17112 if test "$host_cpu" = ia64
; then
17113 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17114 # chokes on -Wl,-G. The following line is correct:
17117 if test "$aix_use_runtimelinking" = yes; then
17118 shared_flag
='${wl}-G'
17120 shared_flag
='${wl}-bM:SRE'
17125 # It seems that -bexpall does not export symbols beginning with
17126 # underscore (_), so it is better to generate a list of symbols to export.
17127 always_export_symbols_GCJ
=yes
17128 if test "$aix_use_runtimelinking" = yes; then
17129 # Warning - without using the other runtime loading flags (-brtl),
17130 # -berok will link without error, but may produce a broken library.
17131 allow_undefined_flag_GCJ
='-berok'
17132 # Determine the default libpath from the value encoded in an empty executable.
17133 cat >conftest.
$ac_ext <<_ACEOF
17136 cat confdefs.h
>>conftest.
$ac_ext
17137 cat >>conftest.
$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17148 rm -f conftest.
$ac_objext conftest
$ac_exeext
17149 if { (ac_try
="$ac_link"
17150 case "(($ac_try" in
17151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17152 *) ac_try_echo=$ac_try;;
17154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17155 (eval "$ac_link") 2>conftest.er1
17157 grep -v '^ *+' conftest.er1 >conftest.err
17159 cat conftest.err >&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } && {
17162 test -z "$ac_c_werror_flag" ||
17163 test ! -s conftest.err
17164 } && test -s conftest$ac_exeext &&
17165 $as_test_x conftest$ac_exeext; then
17167 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17169 # Check for a 64-bit object if we didn't find anything.
17170 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 conftest$ac_exeext conftest.$ac_ext
17181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17183 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17184 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"
17186 if test "$host_cpu" = ia64; then
17187 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17188 allow_undefined_flag_GCJ="-z nodefs"
17189 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"
17191 # Determine the default libpath from the value encoded in an empty executable.
17192 cat >conftest.$ac_ext <<_ACEOF
17195 cat confdefs.h >>conftest.$ac_ext
17196 cat >>conftest.$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17207 rm -f conftest.$ac_objext conftest$ac_exeext
17208 if { (ac_try="$ac_link"
17209 case "(($ac_try" in
17210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17211 *) ac_try_echo
=$ac_try;;
17213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17214 (eval "$ac_link") 2>conftest.er1
17216 grep -v '^ *+' conftest.er1
>conftest.err
17218 cat conftest.err
>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } && {
17221 test -z "$ac_c_werror_flag" ||
17222 test ! -s conftest.err
17223 } && test -s conftest
$ac_exeext &&
17224 $as_test_x conftest
$ac_exeext; then
17226 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17228 # Check for a 64-bit object if we didn't find anything.
17229 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.
$ac_ext >&5
17238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17239 conftest
$ac_exeext conftest.
$ac_ext
17240 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17242 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17243 # Warning - without using the other run time loading flags,
17244 # -berok will link without error, but may produce a broken library.
17245 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17246 allow_undefined_flag_GCJ
=' ${wl}-berok'
17247 # Exported symbols can be pulled into shared objects from archives
17248 whole_archive_flag_spec_GCJ
='$convenience'
17249 archive_cmds_need_lc_GCJ
=yes
17250 # This is similar to how AIX traditionally builds its shared libraries.
17251 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'
17257 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)'
17258 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17259 hardcode_minus_L_GCJ
=yes
17260 # see comment about different semantics on the GNU ld section
17265 export_dynamic_flag_spec_GCJ
=-rdynamic
17268 cygwin
* | mingw
* | pw32
*)
17269 # When not using gcc, we currently assume that we are using
17270 # Microsoft Visual C++.
17271 # hardcode_libdir_flag_spec is actually meaningless, as there is
17272 # no search path for DLLs.
17273 hardcode_libdir_flag_spec_GCJ
=' '
17274 allow_undefined_flag_GCJ
=unsupported
17275 # Tell ltmain to make .lib files, not .a files.
17277 # Tell ltmain to make .dll files, not .so files.
17279 # FIXME: Setting linknames here is a bad hack.
17280 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17281 # The linker will automatically build a .lib file if we build a DLL.
17282 old_archive_From_new_cmds_GCJ
='true'
17283 # FIXME: Should let the user specify the lib program.
17284 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17285 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17286 enable_shared_with_static_runtimes_GCJ
=yes
17289 darwin
* | rhapsody
*)
17291 rhapsody
* | darwin1.
[012])
17292 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17295 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17296 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17298 case ${MACOSX_DEPLOYMENT_TARGET} in
17300 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17303 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17309 archive_cmds_need_lc_GCJ
=no
17310 hardcode_direct_GCJ
=no
17311 hardcode_automatic_GCJ
=yes
17312 hardcode_shlibpath_var_GCJ
=unsupported
17313 whole_archive_flag_spec_GCJ
=''
17314 link_all_deplibs_GCJ
=yes
17315 if test "$GCC" = yes ; then
17316 output_verbose_link_cmd
='echo'
17317 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17318 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17319 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17320 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}'
17321 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}'
17323 case $cc_basename in
17325 output_verbose_link_cmd
='echo'
17326 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17327 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17328 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17329 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17330 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}'
17340 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17341 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17342 hardcode_shlibpath_var_GCJ
=no
17349 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17350 # support. Future versions do this automatically, but an explicit c++rt0.o
17351 # does not break anything, and helps significantly (at the cost of a little
17354 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17355 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17356 hardcode_direct_GCJ
=yes
17357 hardcode_shlibpath_var_GCJ
=no
17360 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17362 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17363 hardcode_direct_GCJ
=yes
17364 hardcode_minus_L_GCJ
=yes
17365 hardcode_shlibpath_var_GCJ
=no
17368 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17369 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17370 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17371 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17372 hardcode_direct_GCJ
=yes
17373 hardcode_shlibpath_var_GCJ
=no
17377 if test "$GCC" = yes; then
17378 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'
17380 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'
17382 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17383 hardcode_libdir_separator_GCJ
=:
17384 hardcode_direct_GCJ
=yes
17386 # hardcode_minus_L: Not really in the search PATH,
17387 # but as the default location of the library.
17388 hardcode_minus_L_GCJ
=yes
17389 export_dynamic_flag_spec_GCJ
='${wl}-E'
17393 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17394 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17396 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17398 if test "$with_gnu_ld" = no
; then
17399 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17400 hardcode_libdir_separator_GCJ
=:
17402 hardcode_direct_GCJ
=yes
17403 export_dynamic_flag_spec_GCJ
='${wl}-E'
17405 # hardcode_minus_L: Not really in the search PATH,
17406 # but as the default location of the library.
17407 hardcode_minus_L_GCJ
=yes
17412 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17415 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17418 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17421 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17427 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17430 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17433 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17437 if test "$with_gnu_ld" = no
; then
17438 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17439 hardcode_libdir_separator_GCJ
=:
17443 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17444 hardcode_direct_GCJ
=no
17445 hardcode_shlibpath_var_GCJ
=no
17448 hardcode_direct_GCJ
=yes
17449 export_dynamic_flag_spec_GCJ
='${wl}-E'
17451 # hardcode_minus_L: Not really in the search PATH,
17452 # but as the default location of the library.
17453 hardcode_minus_L_GCJ
=yes
17459 irix5
* | irix6
* | nonstopux
*)
17460 if test "$GCC" = yes; then
17461 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'
17463 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'
17464 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17466 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17467 hardcode_libdir_separator_GCJ
=:
17468 link_all_deplibs_GCJ
=yes
17472 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17473 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17475 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17477 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17478 hardcode_direct_GCJ
=yes
17479 hardcode_shlibpath_var_GCJ
=no
17483 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17484 hardcode_direct_GCJ
=yes
17485 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17486 hardcode_libdir_separator_GCJ
=:
17487 hardcode_shlibpath_var_GCJ
=no
17491 hardcode_direct_GCJ
=yes
17492 hardcode_shlibpath_var_GCJ
=no
17493 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17494 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17495 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17496 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17497 export_dynamic_flag_spec_GCJ
='${wl}-E'
17500 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17501 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17502 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17505 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17506 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17513 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17514 hardcode_minus_L_GCJ
=yes
17515 allow_undefined_flag_GCJ
=unsupported
17516 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'
17517 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17521 if test "$GCC" = yes; then
17522 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17523 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'
17525 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17526 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'
17528 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17529 hardcode_libdir_separator_GCJ
=:
17532 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17533 if test "$GCC" = yes; then
17534 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17535 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'
17536 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17538 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17539 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'
17540 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~
17541 $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'
17543 # Both c and cxx compiler support -rpath directly
17544 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17546 hardcode_libdir_separator_GCJ
=:
17550 no_undefined_flag_GCJ
=' -z text'
17551 if test "$GCC" = yes; then
17553 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17554 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17555 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17558 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17559 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17560 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17562 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17563 hardcode_shlibpath_var_GCJ
=no
17565 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17567 # The compiler driver will combine linker options so we
17568 # cannot just pass the convience library names through
17569 # without $wl, iff we do not link with $LD.
17570 # Luckily, gcc supports the same syntax we need for Sun Studio.
17571 # Supported since Solaris 2.6 (maybe 2.5.1?)
17574 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17576 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17579 link_all_deplibs_GCJ
=yes
17583 if test "x$host_vendor" = xsequent
; then
17584 # Use $CC to link under sequent, because it throws in some extra .o
17585 # files that make .init and .fini sections work.
17586 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17588 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17590 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17591 hardcode_direct_GCJ
=yes
17592 hardcode_minus_L_GCJ
=yes
17593 hardcode_shlibpath_var_GCJ
=no
17597 case $host_vendor in
17599 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17600 hardcode_direct_GCJ
=yes # is this really true???
17603 ## LD is ld it makes a PLAMLIB
17604 ## CC just makes a GrossModule.
17605 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17606 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17607 hardcode_direct_GCJ
=no
17610 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17611 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17614 runpath_var
='LD_RUN_PATH'
17615 hardcode_shlibpath_var_GCJ
=no
17619 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17620 hardcode_shlibpath_var_GCJ
=no
17621 export_dynamic_flag_spec_GCJ
='-Bexport'
17625 if test -d /usr
/nec
; then
17626 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17627 hardcode_shlibpath_var_GCJ
=no
17628 runpath_var
=LD_RUN_PATH
17629 hardcode_runpath_var
=yes
17634 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17635 no_undefined_flag_GCJ
='${wl}-z,text'
17636 archive_cmds_need_lc_GCJ
=no
17637 hardcode_shlibpath_var_GCJ
=no
17638 runpath_var
='LD_RUN_PATH'
17640 if test "$GCC" = yes; then
17641 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17642 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17644 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17645 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17649 sysv5
* | sco3.2v5
* | sco5v6
*)
17650 # Note: We can NOT use -z defs as we might desire, because we do not
17651 # link with -lc, and that would cause any symbols used from libc to
17652 # always be unresolved, which means just about no library would
17653 # ever link correctly. If we're not using GNU ld we use -z text
17654 # though, which does catch some bad symbols but isn't as heavy-handed
17656 no_undefined_flag_GCJ
='${wl}-z,text'
17657 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17658 archive_cmds_need_lc_GCJ
=no
17659 hardcode_shlibpath_var_GCJ
=no
17660 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17661 hardcode_libdir_separator_GCJ
=':'
17662 link_all_deplibs_GCJ
=yes
17663 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17664 runpath_var
='LD_RUN_PATH'
17666 if test "$GCC" = yes; then
17667 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17668 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17670 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17671 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17676 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17677 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17678 hardcode_shlibpath_var_GCJ
=no
17687 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17688 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17689 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17692 # Do we need to explicitly link libc?
17694 case "x$archive_cmds_need_lc_GCJ" in
17696 # Assume -lc should be added
17697 archive_cmds_need_lc_GCJ
=yes
17699 if test "$enable_shared" = yes && test "$GCC" = yes; then
17700 case $archive_cmds_GCJ in
17702 # FIXME: we may have to deal with multi-command sequences.
17705 # Test whether the compiler implicitly links with -lc since on some
17706 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17707 # to ld, don't add -lc before -lgcc.
17708 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17709 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17711 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17714 (eval $ac_compile) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } 2>conftest.err
; then
17720 libobjs
=conftest.
$ac_objext
17722 wl
=$lt_prog_compiler_wl_GCJ
17723 pic_flag
=$lt_prog_compiler_pic_GCJ
17729 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17730 allow_undefined_flag_GCJ
=
17731 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17732 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }
17737 archive_cmds_need_lc_GCJ
=no
17739 archive_cmds_need_lc_GCJ
=yes
17741 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17743 cat conftest.err
1>&5
17746 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17747 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17754 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17755 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17756 library_names_spec
=
17757 libname_spec
='lib$name'
17761 postuninstall_cmds
=
17765 shlibpath_overrides_runpath
=unknown
17767 dynamic_linker
="$host_os ld.so"
17768 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17769 if test "$GCC" = yes; then
17770 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17771 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17772 # if the path contains ";" then we assume it to be the separator
17773 # otherwise default to the standard path separator (i.e. ":") - it is
17774 # assumed that no part of a normal pathname contains ";" but that should
17775 # okay in the real world where ";" in dirpaths is itself problematic.
17776 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17778 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17781 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17783 need_lib_prefix
=unknown
17784 hardcode_into_libs
=no
17786 # when you set need_version to no, make sure it does not cause -set_version
17787 # flags to be left without arguments
17788 need_version
=unknown
17793 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17794 shlibpath_var
=LIBPATH
17796 # AIX 3 has no versioning support, so we append a major version to the name.
17797 soname_spec
='${libname}${release}${shared_ext}$major'
17804 hardcode_into_libs
=yes
17805 if test "$host_cpu" = ia64
; then
17806 # AIX 5 supports IA64
17807 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17808 shlibpath_var
=LD_LIBRARY_PATH
17810 # With GCC up to 2.95.x, collect2 would create an import file
17811 # for dependence libraries. The import file would start with
17812 # the line `#! .'. This would cause the generated library to
17813 # depend on `.', always an invalid library. This was fixed in
17814 # development snapshots of GCC prior to 3.0.
17816 aix4 | aix4.
[01] | aix4.
[01].
*)
17817 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17819 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17822 can_build_shared
=no
17826 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17827 # soname into executable. Probably we can add versioning support to
17828 # collect2, so additional links can be useful in future.
17829 if test "$aix_use_runtimelinking" = yes; then
17830 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17831 # instead of lib<name>.a to let people know that these are not
17832 # typical AIX shared libraries.
17833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17835 # We preserve .a as extension for shared libraries through AIX4.2
17836 # and later when we are not doing run time linking.
17837 library_names_spec
='${libname}${release}.a $libname.a'
17838 soname_spec
='${libname}${release}${shared_ext}$major'
17840 shlibpath_var
=LIBPATH
17845 library_names_spec
='$libname.ixlibrary $libname.a'
17846 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17847 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'
17851 library_names_spec
='${libname}${shared_ext}'
17852 dynamic_linker
="$host_os ld.so"
17853 shlibpath_var
=LIBRARY_PATH
17859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17860 soname_spec
='${libname}${release}${shared_ext}$major'
17861 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17862 shlibpath_var
=LD_LIBRARY_PATH
17863 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17864 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17865 # the default ld.so.conf also contains /usr/contrib/lib and
17866 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17867 # libtool to hard-code these into programs
17870 cygwin
* | mingw
* | pw32
*)
17871 version_type
=windows
17876 case $GCC,$host_os in
17877 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17878 library_names_spec
='$libname.dll.a'
17879 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17880 postinstall_cmds
='base_file=`basename \${file}`~
17881 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17882 dldir=$destdir/`dirname \$dlpath`~
17883 test -d \$dldir || mkdir -p \$dldir~
17884 $install_prog $dir/$dlname \$dldir/$dlname~
17885 chmod a+x \$dldir/$dlname'
17886 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17887 dlpath=$dir/\$dldll~
17889 shlibpath_overrides_runpath
=yes
17893 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17894 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17895 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17898 # MinGW DLLs use traditional 'lib' prefix
17899 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17900 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17901 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17902 # It is most probably a Windows format PATH printed by
17903 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17904 # path with ; separators, and with drive letters. We can handle the
17905 # drive letters (cygwin fileutils understands them), so leave them,
17906 # especially as we might pass files found there to a mingw objdump,
17907 # which wouldn't understand a cygwinified path. Ahh.
17908 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17910 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17914 # pw32 DLLs use 'pw' prefix rather than 'lib'
17915 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17921 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17924 dynamic_linker
='Win32 ld.exe'
17925 # FIXME: first we should search . and the directory the executable is in
17929 darwin
* | rhapsody
*)
17930 dynamic_linker
="$host_os dyld"
17931 version_type
=darwin
17934 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17935 soname_spec
='${libname}${release}${major}$shared_ext'
17936 shlibpath_overrides_runpath
=yes
17937 shlibpath_var
=DYLD_LIBRARY_PATH
17938 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17939 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17940 if test "$GCC" = yes; then
17941 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17943 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17945 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17953 soname_spec
='${libname}${release}${shared_ext}$major'
17954 shlibpath_var
=LD_LIBRARY_PATH
17965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17966 soname_spec
='${libname}${release}${shared_ext}$major'
17967 shlibpath_var
=LD_LIBRARY_PATH
17968 shlibpath_overrides_runpath
=no
17969 hardcode_into_libs
=yes
17970 dynamic_linker
='GNU ld.so'
17973 freebsd
* | dragonfly
*)
17974 # DragonFly does not have aout. When/if they implement a new
17975 # versioning mechanism, adjust this.
17976 if test -x /usr
/bin
/objformat
; then
17977 objformat
=`/usr/bin/objformat`
17980 freebsd
[123]*) objformat
=aout
;;
17981 *) objformat
=elf
;;
17984 version_type
=freebsd-
$objformat
17985 case $version_type in
17987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17992 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17996 shlibpath_var
=LD_LIBRARY_PATH
17999 shlibpath_overrides_runpath
=yes
18001 freebsd3.
[01]* | freebsdelf3.
[01]*)
18002 shlibpath_overrides_runpath
=yes
18003 hardcode_into_libs
=yes
18005 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18006 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18007 shlibpath_overrides_runpath
=no
18008 hardcode_into_libs
=yes
18010 freebsd
*) # from 4.6 on
18011 shlibpath_overrides_runpath
=yes
18012 hardcode_into_libs
=yes
18021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18022 soname_spec
='${libname}${release}${shared_ext}$major'
18023 shlibpath_var
=LD_LIBRARY_PATH
18024 hardcode_into_libs
=yes
18027 hpux9
* | hpux10
* | hpux11
*)
18028 # Give a soname corresponding to the major version so that dld.sl refuses to
18029 # link against other versions.
18036 hardcode_into_libs
=yes
18037 dynamic_linker
="$host_os dld.so"
18038 shlibpath_var
=LD_LIBRARY_PATH
18039 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18041 soname_spec
='${libname}${release}${shared_ext}$major'
18042 if test "X$HPUX_IA64_MODE" = X32
; then
18043 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18045 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18047 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18051 hardcode_into_libs
=yes
18052 dynamic_linker
="$host_os dld.sl"
18053 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18054 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18056 soname_spec
='${libname}${release}${shared_ext}$major'
18057 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18058 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18062 dynamic_linker
="$host_os dld.sl"
18063 shlibpath_var
=SHLIB_PATH
18064 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18066 soname_spec
='${libname}${release}${shared_ext}$major'
18069 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18070 postinstall_cmds
='chmod 555 $lib'
18077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18078 soname_spec
='${libname}${release}${shared_ext}$major'
18079 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18080 shlibpath_var
=LD_LIBRARY_PATH
18081 shlibpath_overrides_runpath
=no
18082 hardcode_into_libs
=yes
18085 irix5
* | irix6
* | nonstopux
*)
18087 nonstopux
*) version_type
=nonstopux
;;
18089 if test "$lt_cv_prog_gnu_ld" = yes; then
18097 soname_spec
='${libname}${release}${shared_ext}$major'
18098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18100 irix5
* | nonstopux
*)
18101 libsuff
= shlibsuff
=
18104 case $LD in # libtool.m4 will add one of these switches to LD
18105 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18106 libsuff
= shlibsuff
= libmagic
=32-bit;;
18107 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18108 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18109 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18110 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18111 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18115 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18116 shlibpath_overrides_runpath
=no
18117 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18118 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18119 hardcode_into_libs
=yes
18122 # No shared lib support for Linux oldld, aout, or coff.
18123 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18127 # This must be Linux ELF.
18132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18133 soname_spec
='${libname}${release}${shared_ext}$major'
18134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18135 shlibpath_var
=LD_LIBRARY_PATH
18136 shlibpath_overrides_runpath
=no
18137 # This implies no fast_install, which is unacceptable.
18138 # Some rework will be needed to allow for fast_install
18139 # before this can be enabled.
18140 hardcode_into_libs
=yes
18142 # find out which ABI we are using
18144 case "$host_cpu" in
18145 x86_64
*|s390x
*|powerpc64
*)
18146 echo '#line 18146 "configure"' > conftest.
$ac_ext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148 (eval $ac_compile) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; then
18152 case `/usr/bin/file conftest.$ac_objext` in
18155 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18163 # Append ld.so.conf contents to the search path
18164 if test -f /etc
/ld.so.conf
; then
18165 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18166 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18169 # We used to test for /lib/ld.so.1 and disable shared libraries on
18170 # powerpc, because MkLinux only supported shared libraries with the
18171 # GNU dynamic linker. Since this was broken with cross compilers,
18172 # most powerpc-linux boxes support dynamic linking these days and
18173 # people can always --disable-shared, the test was removed, and we
18174 # assume the GNU/Linux dynamic linker is in use.
18175 dynamic_linker
='GNU/Linux ld.so'
18182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18183 soname_spec
='${libname}${release}${shared_ext}$major'
18184 shlibpath_var
=LD_LIBRARY_PATH
18185 shlibpath_overrides_runpath
=no
18186 hardcode_into_libs
=yes
18187 dynamic_linker
='GNU ld.so'
18194 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18197 dynamic_linker
='NetBSD (a.out) ld.so'
18199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18200 soname_spec
='${libname}${release}${shared_ext}$major'
18201 dynamic_linker
='NetBSD ld.elf_so'
18203 shlibpath_var
=LD_LIBRARY_PATH
18204 shlibpath_overrides_runpath
=yes
18205 hardcode_into_libs
=yes
18210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18211 shlibpath_var
=LD_LIBRARY_PATH
18212 shlibpath_overrides_runpath
=yes
18219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18220 soname_spec
='${libname}${release}${shared_ext}$major'
18221 shlibpath_var
=LD_LIBRARY_PATH
18222 shlibpath_overrides_runpath
=yes
18227 sys_lib_dlsearch_path_spec
="/usr/lib"
18229 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18231 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18232 *) need_version
=no
;;
18234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18235 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18236 shlibpath_var
=LD_LIBRARY_PATH
18237 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18239 openbsd2.
[89] | openbsd2.
[89].
*)
18240 shlibpath_overrides_runpath
=no
18243 shlibpath_overrides_runpath
=yes
18247 shlibpath_overrides_runpath
=yes
18252 libname_spec
='$name'
18255 library_names_spec
='$libname${shared_ext} $libname.a'
18256 dynamic_linker
='OS/2 ld.exe'
18257 shlibpath_var
=LIBPATH
18260 osf3
* | osf4
* | osf5
*)
18264 soname_spec
='${libname}${release}${shared_ext}$major'
18265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18266 shlibpath_var
=LD_LIBRARY_PATH
18267 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18268 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18276 soname_spec
='${libname}${release}${shared_ext}$major'
18277 shlibpath_var
=LD_LIBRARY_PATH
18278 shlibpath_overrides_runpath
=yes
18279 hardcode_into_libs
=yes
18280 # ldd complains unless libraries are executable
18281 postinstall_cmds
='chmod +x $lib'
18286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18287 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18288 shlibpath_var
=LD_LIBRARY_PATH
18289 shlibpath_overrides_runpath
=yes
18290 if test "$with_gnu_ld" = yes; then
18298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18299 soname_spec
='${libname}${release}${shared_ext}$major'
18300 shlibpath_var
=LD_LIBRARY_PATH
18301 case $host_vendor in
18303 shlibpath_overrides_runpath
=no
18305 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18306 runpath_var
=LD_RUN_PATH
18314 shlibpath_overrides_runpath
=no
18315 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18321 if test -d /usr
/nec
;then
18323 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18324 soname_spec
='$libname${shared_ext}.$major'
18325 shlibpath_var
=LD_LIBRARY_PATH
18329 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18330 version_type
=freebsd-elf
18333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18334 soname_spec
='${libname}${release}${shared_ext}$major'
18335 shlibpath_var
=LD_LIBRARY_PATH
18336 hardcode_into_libs
=yes
18337 if test "$with_gnu_ld" = yes; then
18338 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18339 shlibpath_overrides_runpath
=no
18341 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18342 shlibpath_overrides_runpath
=yes
18345 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18349 sys_lib_dlsearch_path_spec
='/usr/lib'
18354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18355 soname_spec
='${libname}${release}${shared_ext}$major'
18356 shlibpath_var
=LD_LIBRARY_PATH
18363 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18364 echo "${ECHO_T}$dynamic_linker" >&6; }
18365 test "$dynamic_linker" = no
&& can_build_shared
=no
18367 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18368 if test "$GCC" = yes; then
18369 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18372 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18373 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18374 hardcode_action_GCJ
=
18375 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18376 test -n "$runpath_var_GCJ" || \
18377 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18379 # We can hardcode non-existant directories.
18380 if test "$hardcode_direct_GCJ" != no
&&
18381 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18382 # have to relink, otherwise we might link with an installed library
18383 # when we should be linking with a yet-to-be-installed one
18384 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18385 test "$hardcode_minus_L_GCJ" != no
; then
18386 # Linking always hardcodes the temporary library directory.
18387 hardcode_action_GCJ
=relink
18389 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18390 hardcode_action_GCJ
=immediate
18393 # We cannot hardcode anything, or else we can only hardcode existing
18395 hardcode_action_GCJ
=unsupported
18397 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18398 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18400 if test "$hardcode_action_GCJ" = relink
; then
18401 # Fast installation is not supported
18402 enable_fast_install
=no
18403 elif test "$shlibpath_overrides_runpath" = yes ||
18404 test "$enable_shared" = no
; then
18405 # Fast installation is not necessary
18406 enable_fast_install
=needless
18410 # The else clause should only fire when bootstrapping the
18411 # libtool distribution, otherwise you forgot to ship ltmain.sh
18412 # with your package, and you will get complaints that there are
18413 # no rules to generate ltmain.sh.
18414 if test -f "$ltmain"; then
18415 # See if we are running on zsh, and set the options which allow our commands through
18416 # without removal of \ escapes.
18417 if test -n "${ZSH_VERSION+set}" ; then
18418 setopt NO_GLOB_SUBST
18420 # Now quote all the things that may contain metacharacters while being
18421 # careful not to overquote the AC_SUBSTed values. We take copies of the
18422 # variables and quote the copies for generation of the libtool script.
18423 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18425 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18426 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18427 deplibs_check_method reload_flag reload_cmds need_locks \
18428 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18429 lt_cv_sys_global_symbol_to_c_name_address \
18430 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18431 old_postinstall_cmds old_postuninstall_cmds \
18435 lt_prog_compiler_wl_GCJ \
18436 lt_prog_compiler_pic_GCJ \
18437 lt_prog_compiler_static_GCJ \
18438 lt_prog_compiler_no_builtin_flag_GCJ \
18439 export_dynamic_flag_spec_GCJ \
18440 thread_safe_flag_spec_GCJ \
18441 whole_archive_flag_spec_GCJ \
18442 enable_shared_with_static_runtimes_GCJ \
18443 old_archive_cmds_GCJ \
18444 old_archive_from_new_cmds_GCJ \
18445 predep_objects_GCJ \
18446 postdep_objects_GCJ \
18449 compiler_lib_search_path_GCJ \
18451 archive_expsym_cmds_GCJ \
18452 postinstall_cmds_GCJ \
18453 postuninstall_cmds_GCJ \
18454 old_archive_from_expsyms_cmds_GCJ \
18455 allow_undefined_flag_GCJ \
18456 no_undefined_flag_GCJ \
18457 export_symbols_cmds_GCJ \
18458 hardcode_libdir_flag_spec_GCJ \
18459 hardcode_libdir_flag_spec_ld_GCJ \
18460 hardcode_libdir_separator_GCJ \
18461 hardcode_automatic_GCJ \
18463 module_expsym_cmds_GCJ \
18464 lt_cv_prog_compiler_c_o_GCJ \
18465 exclude_expsyms_GCJ \
18466 include_expsyms_GCJ
; do
18469 old_archive_cmds_GCJ | \
18470 old_archive_from_new_cmds_GCJ | \
18471 archive_cmds_GCJ | \
18472 archive_expsym_cmds_GCJ | \
18473 module_cmds_GCJ | \
18474 module_expsym_cmds_GCJ | \
18475 old_archive_from_expsyms_cmds_GCJ | \
18476 export_symbols_cmds_GCJ | \
18477 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18478 postinstall_cmds | postuninstall_cmds | \
18479 old_postinstall_cmds | old_postuninstall_cmds | \
18480 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18481 # Double-quote double-evaled strings.
18482 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18485 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18491 *'\$0 --fallback-echo"')
18492 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18498 cat <<__EOF__ >> "$cfgfile"
18499 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18501 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18503 # Shell to use when invoking shell scripts.
18506 # Whether or not to build shared libraries.
18507 build_libtool_libs=$enable_shared
18509 # Whether or not to build static libraries.
18510 build_old_libs=$enable_static
18512 # Whether or not to add -lc for building shared libraries.
18513 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18515 # Whether or not to disallow shared libs when runtime libs are static
18516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18518 # Whether or not to optimize for fast installation.
18519 fast_install=$enable_fast_install
18522 host_alias=$host_alias
18526 # The build system.
18527 build_alias=$build_alias
18531 # An echo program that does not interpret backslashes.
18536 AR_FLAGS=$lt_AR_FLAGS
18541 # LTCC compiler flags.
18542 LTCFLAGS=$lt_LTCFLAGS
18544 # A language-specific compiler.
18545 CC=$lt_compiler_GCJ
18547 # Is the compiler the GNU C compiler?
18553 # The linker used to build libraries.
18556 # Whether we need hard or soft links.
18559 # A BSD-compatible nm program.
18562 # A symbol stripping program
18565 # Used to examine libraries when file_magic_cmd begins "file"
18566 MAGIC_CMD=$MAGIC_CMD
18568 # Used on cygwin: DLL creation program.
18571 # Used on cygwin: object dumper.
18574 # Used on cygwin: assembler.
18577 # The name of the directory that contains temporary libtool files.
18580 # How to create reloadable object files.
18581 reload_flag=$lt_reload_flag
18582 reload_cmds=$lt_reload_cmds
18584 # How to pass a linker flag through the compiler.
18585 wl=$lt_lt_prog_compiler_wl_GCJ
18587 # Object file suffix (normally "o").
18588 objext="$ac_objext"
18590 # Old archive suffix (normally "a").
18593 # Shared library suffix (normally ".so").
18594 shrext_cmds='$shrext_cmds'
18596 # Executable file suffix (normally "").
18599 # Additional compiler flags for building library objects.
18600 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18603 # What is the maximum length of a command?
18604 max_cmd_len=$lt_cv_sys_max_cmd_len
18606 # Does compiler simultaneously support -c and -o options?
18607 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18609 # Must we lock files when doing compilation?
18610 need_locks=$lt_need_locks
18612 # Do we need the lib prefix for modules?
18613 need_lib_prefix=$need_lib_prefix
18615 # Do we need a version for libraries?
18616 need_version=$need_version
18618 # Whether dlopen is supported.
18619 dlopen_support=$enable_dlopen
18621 # Whether dlopen of programs is supported.
18622 dlopen_self=$enable_dlopen_self
18624 # Whether dlopen of statically linked programs is supported.
18625 dlopen_self_static=$enable_dlopen_self_static
18627 # Compiler flag to prevent dynamic linking.
18628 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18630 # Compiler flag to turn off builtin functions.
18631 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18633 # Compiler flag to allow reflexive dlopens.
18634 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18636 # Compiler flag to generate shared objects directly from archives.
18637 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18639 # Compiler flag to generate thread-safe objects.
18640 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18642 # Library versioning type.
18643 version_type=$version_type
18645 # Format of library name prefix.
18646 libname_spec=$lt_libname_spec
18648 # List of archive names. First name is the real one, the rest are links.
18649 # The last name is the one that the linker finds with -lNAME.
18650 library_names_spec=$lt_library_names_spec
18652 # The coded name of the library, if different from the real name.
18653 soname_spec=$lt_soname_spec
18655 # Commands used to build and install an old-style archive.
18657 old_archive_cmds=$lt_old_archive_cmds_GCJ
18658 old_postinstall_cmds=$lt_old_postinstall_cmds
18659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18661 # Create an old-style archive from a shared archive.
18662 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18664 # Create a temporary old-style archive to link instead of a shared archive.
18665 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18667 # Commands used to build and install a shared archive.
18668 archive_cmds=$lt_archive_cmds_GCJ
18669 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18670 postinstall_cmds=$lt_postinstall_cmds
18671 postuninstall_cmds=$lt_postuninstall_cmds
18673 # Commands used to build a loadable module (assumed same as above if empty)
18674 module_cmds=$lt_module_cmds_GCJ
18675 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18677 # Commands to strip libraries.
18678 old_striplib=$lt_old_striplib
18679 striplib=$lt_striplib
18681 # Dependencies to place before the objects being linked to create a
18683 predep_objects=$lt_predep_objects_GCJ
18685 # Dependencies to place after the objects being linked to create a
18687 postdep_objects=$lt_postdep_objects_GCJ
18689 # Dependencies to place before the objects being linked to create a
18691 predeps=$lt_predeps_GCJ
18693 # Dependencies to place after the objects being linked to create a
18695 postdeps=$lt_postdeps_GCJ
18697 # The library search path used internally by the compiler when linking
18698 # a shared library.
18699 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18701 # Method to check whether dependent libraries are shared objects.
18702 deplibs_check_method=$lt_deplibs_check_method
18704 # Command to use when deplibs_check_method == file_magic.
18705 file_magic_cmd=$lt_file_magic_cmd
18707 # Flag that allows shared libraries with undefined symbols to be built.
18708 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18710 # Flag that forces no undefined symbols.
18711 no_undefined_flag=$lt_no_undefined_flag_GCJ
18713 # Commands used to finish a libtool library installation in a directory.
18714 finish_cmds=$lt_finish_cmds
18716 # Same as above, but a single script fragment to be evaled but not shown.
18717 finish_eval=$lt_finish_eval
18719 # Take the output of nm and produce a listing of raw symbols and C names.
18720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18722 # Transform the output of nm in a proper C declaration
18723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18725 # Transform the output of nm in a C name address pair
18726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18728 # This is the shared library runtime path variable.
18729 runpath_var=$runpath_var
18731 # This is the shared library path variable.
18732 shlibpath_var=$shlibpath_var
18734 # Is shlibpath searched before the hard-coded library search path?
18735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18737 # How to hardcode a shared library path into an executable.
18738 hardcode_action=$hardcode_action_GCJ
18740 # Whether we should hardcode library paths into libraries.
18741 hardcode_into_libs=$hardcode_into_libs
18743 # Flag to hardcode \$libdir into a binary during linking.
18744 # This must work even if \$libdir does not exist.
18745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18747 # If ld is used when linking, flag to hardcode \$libdir into
18748 # a binary during linking. This must work even if \$libdir does
18750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18752 # Whether we need a single -rpath flag with a separated argument.
18753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18756 # resulting binary.
18757 hardcode_direct=$hardcode_direct_GCJ
18759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18760 # resulting binary.
18761 hardcode_minus_L=$hardcode_minus_L_GCJ
18763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18764 # the resulting binary.
18765 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18767 # Set to yes if building a shared library automatically hardcodes DIR into the library
18768 # and all subsequent libraries and executables linked against it.
18769 hardcode_automatic=$hardcode_automatic_GCJ
18771 # Variables whose values should be saved in libtool wrapper scripts and
18772 # restored at relink time.
18773 variables_saved_for_relink="$variables_saved_for_relink"
18775 # Whether libtool must link a program against all its dependency libraries.
18776 link_all_deplibs=$link_all_deplibs_GCJ
18778 # Compile-time system search path for libraries
18779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18781 # Run-time system search path for libraries
18782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18784 # Fix the shell variable \$srcfile for the compiler.
18785 fix_srcfile_path="$fix_srcfile_path_GCJ"
18787 # Set to yes if exported symbols are required.
18788 always_export_symbols=$always_export_symbols_GCJ
18790 # The commands to list exported symbols.
18791 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18793 # The commands to extract the exported symbol list from a shared archive.
18794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18796 # Symbols that should not be listed in the preloaded symbols.
18797 exclude_expsyms=$lt_exclude_expsyms_GCJ
18799 # Symbols that must always be exported.
18800 include_expsyms=$lt_include_expsyms_GCJ
18802 # ### END LIBTOOL TAG CONFIG: $tagname
18808 # If there is no Makefile yet, we rely on a make rule to execute
18809 # `config.status --recheck' to rerun these tests and create the
18810 # libtool script then.
18811 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18812 if test -f "$ltmain_in"; then
18813 test -f Makefile
&& make "$ltmain"
18819 ac_cpp
='$CPP $CPPFLAGS'
18820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18834 # Source file extension for RC test sources.
18837 # Object file extension for compiled RC test sources.
18841 # Code to be used in simple compile tests
18842 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18844 # Code to be used in simple link tests
18845 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18847 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18849 # If no C compiler was specified, use CC.
18852 # If no C compiler flags were specified, use CFLAGS.
18853 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18855 # Allow CC to be a program name with arguments.
18859 # save warnings/boilerplate of simple test code
18860 ac_outfile
=conftest.
$ac_objext
18861 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18862 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18863 _lt_compiler_boilerplate
=`cat conftest.err`
18866 ac_outfile
=conftest.
$ac_objext
18867 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18868 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18869 _lt_linker_boilerplate
=`cat conftest.err`
18873 # Allow CC to be a program name with arguments.
18878 for cc_temp
in $compiler""; do
18880 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18881 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18886 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18888 lt_cv_prog_compiler_c_o_RC
=yes
18890 # The else clause should only fire when bootstrapping the
18891 # libtool distribution, otherwise you forgot to ship ltmain.sh
18892 # with your package, and you will get complaints that there are
18893 # no rules to generate ltmain.sh.
18894 if test -f "$ltmain"; then
18895 # See if we are running on zsh, and set the options which allow our commands through
18896 # without removal of \ escapes.
18897 if test -n "${ZSH_VERSION+set}" ; then
18898 setopt NO_GLOB_SUBST
18900 # Now quote all the things that may contain metacharacters while being
18901 # careful not to overquote the AC_SUBSTed values. We take copies of the
18902 # variables and quote the copies for generation of the libtool script.
18903 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18905 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18906 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18907 deplibs_check_method reload_flag reload_cmds need_locks \
18908 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18909 lt_cv_sys_global_symbol_to_c_name_address \
18910 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18911 old_postinstall_cmds old_postuninstall_cmds \
18915 lt_prog_compiler_wl_RC \
18916 lt_prog_compiler_pic_RC \
18917 lt_prog_compiler_static_RC \
18918 lt_prog_compiler_no_builtin_flag_RC \
18919 export_dynamic_flag_spec_RC \
18920 thread_safe_flag_spec_RC \
18921 whole_archive_flag_spec_RC \
18922 enable_shared_with_static_runtimes_RC \
18923 old_archive_cmds_RC \
18924 old_archive_from_new_cmds_RC \
18925 predep_objects_RC \
18926 postdep_objects_RC \
18929 compiler_lib_search_path_RC \
18931 archive_expsym_cmds_RC \
18932 postinstall_cmds_RC \
18933 postuninstall_cmds_RC \
18934 old_archive_from_expsyms_cmds_RC \
18935 allow_undefined_flag_RC \
18936 no_undefined_flag_RC \
18937 export_symbols_cmds_RC \
18938 hardcode_libdir_flag_spec_RC \
18939 hardcode_libdir_flag_spec_ld_RC \
18940 hardcode_libdir_separator_RC \
18941 hardcode_automatic_RC \
18943 module_expsym_cmds_RC \
18944 lt_cv_prog_compiler_c_o_RC \
18945 exclude_expsyms_RC \
18946 include_expsyms_RC
; do
18949 old_archive_cmds_RC | \
18950 old_archive_from_new_cmds_RC | \
18951 archive_cmds_RC | \
18952 archive_expsym_cmds_RC | \
18954 module_expsym_cmds_RC | \
18955 old_archive_from_expsyms_cmds_RC | \
18956 export_symbols_cmds_RC | \
18957 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18958 postinstall_cmds | postuninstall_cmds | \
18959 old_postinstall_cmds | old_postuninstall_cmds | \
18960 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18961 # Double-quote double-evaled strings.
18962 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18965 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18971 *'\$0 --fallback-echo"')
18972 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18978 cat <<__EOF__ >> "$cfgfile"
18979 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18981 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18983 # Shell to use when invoking shell scripts.
18986 # Whether or not to build shared libraries.
18987 build_libtool_libs=$enable_shared
18989 # Whether or not to build static libraries.
18990 build_old_libs=$enable_static
18992 # Whether or not to add -lc for building shared libraries.
18993 build_libtool_need_lc=$archive_cmds_need_lc_RC
18995 # Whether or not to disallow shared libs when runtime libs are static
18996 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18998 # Whether or not to optimize for fast installation.
18999 fast_install=$enable_fast_install
19002 host_alias=$host_alias
19006 # The build system.
19007 build_alias=$build_alias
19011 # An echo program that does not interpret backslashes.
19016 AR_FLAGS=$lt_AR_FLAGS
19021 # LTCC compiler flags.
19022 LTCFLAGS=$lt_LTCFLAGS
19024 # A language-specific compiler.
19027 # Is the compiler the GNU C compiler?
19033 # The linker used to build libraries.
19036 # Whether we need hard or soft links.
19039 # A BSD-compatible nm program.
19042 # A symbol stripping program
19045 # Used to examine libraries when file_magic_cmd begins "file"
19046 MAGIC_CMD=$MAGIC_CMD
19048 # Used on cygwin: DLL creation program.
19051 # Used on cygwin: object dumper.
19054 # Used on cygwin: assembler.
19057 # The name of the directory that contains temporary libtool files.
19060 # How to create reloadable object files.
19061 reload_flag=$lt_reload_flag
19062 reload_cmds=$lt_reload_cmds
19064 # How to pass a linker flag through the compiler.
19065 wl=$lt_lt_prog_compiler_wl_RC
19067 # Object file suffix (normally "o").
19068 objext="$ac_objext"
19070 # Old archive suffix (normally "a").
19073 # Shared library suffix (normally ".so").
19074 shrext_cmds='$shrext_cmds'
19076 # Executable file suffix (normally "").
19079 # Additional compiler flags for building library objects.
19080 pic_flag=$lt_lt_prog_compiler_pic_RC
19083 # What is the maximum length of a command?
19084 max_cmd_len=$lt_cv_sys_max_cmd_len
19086 # Does compiler simultaneously support -c and -o options?
19087 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19089 # Must we lock files when doing compilation?
19090 need_locks=$lt_need_locks
19092 # Do we need the lib prefix for modules?
19093 need_lib_prefix=$need_lib_prefix
19095 # Do we need a version for libraries?
19096 need_version=$need_version
19098 # Whether dlopen is supported.
19099 dlopen_support=$enable_dlopen
19101 # Whether dlopen of programs is supported.
19102 dlopen_self=$enable_dlopen_self
19104 # Whether dlopen of statically linked programs is supported.
19105 dlopen_self_static=$enable_dlopen_self_static
19107 # Compiler flag to prevent dynamic linking.
19108 link_static_flag=$lt_lt_prog_compiler_static_RC
19110 # Compiler flag to turn off builtin functions.
19111 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19113 # Compiler flag to allow reflexive dlopens.
19114 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19116 # Compiler flag to generate shared objects directly from archives.
19117 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19119 # Compiler flag to generate thread-safe objects.
19120 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19122 # Library versioning type.
19123 version_type=$version_type
19125 # Format of library name prefix.
19126 libname_spec=$lt_libname_spec
19128 # List of archive names. First name is the real one, the rest are links.
19129 # The last name is the one that the linker finds with -lNAME.
19130 library_names_spec=$lt_library_names_spec
19132 # The coded name of the library, if different from the real name.
19133 soname_spec=$lt_soname_spec
19135 # Commands used to build and install an old-style archive.
19137 old_archive_cmds=$lt_old_archive_cmds_RC
19138 old_postinstall_cmds=$lt_old_postinstall_cmds
19139 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19141 # Create an old-style archive from a shared archive.
19142 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19144 # Create a temporary old-style archive to link instead of a shared archive.
19145 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19147 # Commands used to build and install a shared archive.
19148 archive_cmds=$lt_archive_cmds_RC
19149 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19150 postinstall_cmds=$lt_postinstall_cmds
19151 postuninstall_cmds=$lt_postuninstall_cmds
19153 # Commands used to build a loadable module (assumed same as above if empty)
19154 module_cmds=$lt_module_cmds_RC
19155 module_expsym_cmds=$lt_module_expsym_cmds_RC
19157 # Commands to strip libraries.
19158 old_striplib=$lt_old_striplib
19159 striplib=$lt_striplib
19161 # Dependencies to place before the objects being linked to create a
19163 predep_objects=$lt_predep_objects_RC
19165 # Dependencies to place after the objects being linked to create a
19167 postdep_objects=$lt_postdep_objects_RC
19169 # Dependencies to place before the objects being linked to create a
19171 predeps=$lt_predeps_RC
19173 # Dependencies to place after the objects being linked to create a
19175 postdeps=$lt_postdeps_RC
19177 # The library search path used internally by the compiler when linking
19178 # a shared library.
19179 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19181 # Method to check whether dependent libraries are shared objects.
19182 deplibs_check_method=$lt_deplibs_check_method
19184 # Command to use when deplibs_check_method == file_magic.
19185 file_magic_cmd=$lt_file_magic_cmd
19187 # Flag that allows shared libraries with undefined symbols to be built.
19188 allow_undefined_flag=$lt_allow_undefined_flag_RC
19190 # Flag that forces no undefined symbols.
19191 no_undefined_flag=$lt_no_undefined_flag_RC
19193 # Commands used to finish a libtool library installation in a directory.
19194 finish_cmds=$lt_finish_cmds
19196 # Same as above, but a single script fragment to be evaled but not shown.
19197 finish_eval=$lt_finish_eval
19199 # Take the output of nm and produce a listing of raw symbols and C names.
19200 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19202 # Transform the output of nm in a proper C declaration
19203 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19205 # Transform the output of nm in a C name address pair
19206 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19208 # This is the shared library runtime path variable.
19209 runpath_var=$runpath_var
19211 # This is the shared library path variable.
19212 shlibpath_var=$shlibpath_var
19214 # Is shlibpath searched before the hard-coded library search path?
19215 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19217 # How to hardcode a shared library path into an executable.
19218 hardcode_action=$hardcode_action_RC
19220 # Whether we should hardcode library paths into libraries.
19221 hardcode_into_libs=$hardcode_into_libs
19223 # Flag to hardcode \$libdir into a binary during linking.
19224 # This must work even if \$libdir does not exist.
19225 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19227 # If ld is used when linking, flag to hardcode \$libdir into
19228 # a binary during linking. This must work even if \$libdir does
19230 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19232 # Whether we need a single -rpath flag with a separated argument.
19233 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19235 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19236 # resulting binary.
19237 hardcode_direct=$hardcode_direct_RC
19239 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19240 # resulting binary.
19241 hardcode_minus_L=$hardcode_minus_L_RC
19243 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19244 # the resulting binary.
19245 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19247 # Set to yes if building a shared library automatically hardcodes DIR into the library
19248 # and all subsequent libraries and executables linked against it.
19249 hardcode_automatic=$hardcode_automatic_RC
19251 # Variables whose values should be saved in libtool wrapper scripts and
19252 # restored at relink time.
19253 variables_saved_for_relink="$variables_saved_for_relink"
19255 # Whether libtool must link a program against all its dependency libraries.
19256 link_all_deplibs=$link_all_deplibs_RC
19258 # Compile-time system search path for libraries
19259 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19261 # Run-time system search path for libraries
19262 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19264 # Fix the shell variable \$srcfile for the compiler.
19265 fix_srcfile_path="$fix_srcfile_path_RC"
19267 # Set to yes if exported symbols are required.
19268 always_export_symbols=$always_export_symbols_RC
19270 # The commands to list exported symbols.
19271 export_symbols_cmds=$lt_export_symbols_cmds_RC
19273 # The commands to extract the exported symbol list from a shared archive.
19274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19276 # Symbols that should not be listed in the preloaded symbols.
19277 exclude_expsyms=$lt_exclude_expsyms_RC
19279 # Symbols that must always be exported.
19280 include_expsyms=$lt_include_expsyms_RC
19282 # ### END LIBTOOL TAG CONFIG: $tagname
19288 # If there is no Makefile yet, we rely on a make rule to execute
19289 # `config.status --recheck' to rerun these tests and create the
19290 # libtool script then.
19291 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19292 if test -f "$ltmain_in"; then
19293 test -f Makefile
&& make "$ltmain"
19299 ac_cpp
='$CPP $CPPFLAGS'
19300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19309 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19310 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19311 { (exit 1); exit 1; }; }
19315 # Append the new tag name to the list of available tags.
19316 if test -n "$tagname" ; then
19317 available_tags
="$available_tags $tagname"
19323 # Now substitute the updated list of available tags.
19324 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19325 mv "${ofile}T" "$ofile"
19329 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19330 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19331 { (exit 1); exit 1; }; }
19337 # This can be used to rebuild libtool when needed
19338 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19340 # Always use our own libtool.
19341 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19343 # Prevent multiple expansion
19365 if test "$GCC" = "yes"
19367 CFLAGS
="$CFLAGS -Wall"
19373 for ac_header
in unistd.h
19375 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19376 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19379 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 ac_res
=`eval echo '${'$as_ac_Header'}'`
19383 { echo "$as_me:$LINENO: result: $ac_res" >&5
19384 echo "${ECHO_T}$ac_res" >&6; }
19386 # Is the header compilable?
19387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19389 cat >conftest.
$ac_ext <<_ACEOF
19392 cat confdefs.h
>>conftest.
$ac_ext
19393 cat >>conftest.
$ac_ext <<_ACEOF
19394 /* end confdefs.h. */
19395 $ac_includes_default
19396 #include <$ac_header>
19398 rm -f conftest.
$ac_objext
19399 if { (ac_try
="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 ac_header_compiler=yes
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 ac_header_compiler=no
19423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19425 echo "${ECHO_T}$ac_header_compiler" >&6; }
19427 # Is the header present?
19428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19430 cat >conftest.$ac_ext <<_ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 #include <$ac_header>
19438 if { (ac_try="$ac_cpp conftest.$ac_ext"
19439 case "(($ac_try" in
19440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19441 *) ac_try_echo
=$ac_try;;
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } >/dev
/null
&& {
19451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19454 ac_header_preproc
=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 ac_header_preproc
=no
19462 rm -f conftest.err conftest.
$ac_ext
19463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19464 echo "${ECHO_T}$ac_header_preproc" >&6; }
19466 # So? What about this header?
19467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19473 ac_header_preproc
=yes
19476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19489 ## -------------------------------------------------- ##
19490 ## Report this to courier-users@lists.sourceforge.net ##
19491 ## -------------------------------------------------- ##
19493 ) |
sed "s/^/$as_me: WARNING: /" >&2
19496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19498 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 eval "$as_ac_Header=\$ac_header_preproc"
19503 ac_res
=`eval echo '${'$as_ac_Header'}'`
19504 { echo "$as_me:$LINENO: result: $ac_res" >&5
19505 echo "${ECHO_T}$ac_res" >&6; }
19508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19509 cat >>confdefs.h
<<_ACEOF
19510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19518 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19519 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
19520 if test "${ac_cv_type_uid_t+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 #include <sys/types.h>
19532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19533 $EGREP "uid_t" >/dev
/null
2>&1; then
19534 ac_cv_type_uid_t
=yes
19536 ac_cv_type_uid_t
=no
19541 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19542 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
19543 if test $ac_cv_type_uid_t = no
; then
19545 cat >>confdefs.h
<<\_ACEOF
19550 cat >>confdefs.h
<<\_ACEOF
19556 { echo "$as_me:$LINENO: checking for pid_t" >&5
19557 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19558 if test "${ac_cv_type_pid_t+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 $ac_includes_default
19568 typedef pid_t ac__type_new_;
19572 if ((ac__type_new_ *) 0)
19574 if (sizeof (ac__type_new_))
19580 rm -f conftest.
$ac_objext
19581 if { (ac_try
="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19589 grep -v '^ *+' conftest.er1 >conftest.err
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_c_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 ac_cv_type_pid_t=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 ac_cv_type_pid_t=no
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19608 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19609 if test $ac_cv_type_pid_t = yes; then
19613 cat >>confdefs.h <<_ACEOF
19623 for ac_func in setgroups initgroups
19625 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
19626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 cat >conftest.$ac_ext <<_ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19639 #define $ac_func innocuous_$ac_func
19641 /* System header to define __stub macros and hopefully few prototypes,
19642 which can conflict with char $ac_func (); below.
19643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19644 <limits.h> exists even on freestanding compilers. */
19647 # include <limits.h>
19649 # include <assert.h>
19654 /* Override any GCC internal prototype to avoid an error.
19655 Use char because int might match the return type of a GCC
19656 builtin and then its argument prototype would still apply. */
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined __stub_$ac_func || defined __stub___$ac_func
19671 return $ac_func ();
19676 rm -f conftest.$ac_objext conftest$ac_exeext
19677 if { (ac_try="$ac_link"
19678 case "(($ac_try" in
19679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19680 *) ac_try_echo
=$ac_try;;
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_link") 2>conftest.er1
19685 grep -v '^ *+' conftest.er1
>conftest.err
19687 cat conftest.err
>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } && {
19690 test -z "$ac_c_werror_flag" ||
19691 test ! -s conftest.err
19692 } && test -s conftest
$ac_exeext &&
19693 $as_test_x conftest
$ac_exeext; then
19694 eval "$as_ac_var=yes"
19696 echo "$as_me: failed program was:" >&5
19697 sed 's/^/| /' conftest.
$ac_ext >&5
19699 eval "$as_ac_var=no"
19702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19703 conftest
$ac_exeext conftest.
$ac_ext
19705 ac_res
=`eval echo '${'$as_ac_var'}'`
19706 { echo "$as_me:$LINENO: result: $ac_res" >&5
19707 echo "${ECHO_T}$ac_res" >&6; }
19708 if test `eval echo '${'$as_ac_var'}'` = yes; then
19709 cat >>confdefs.h
<<_ACEOF
19710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19716 ac_config_files
="$ac_config_files Makefile"
19718 cat >confcache
<<\_ACEOF
19719 # This file is a shell script that caches the results of configure
19720 # tests run on this system so they can be shared between configure
19721 # scripts and configure runs, see configure's option --config-cache.
19722 # It is not useful on other systems. If it contains results you don't
19723 # want to keep, you may remove or edit it.
19725 # config.status only pays attention to the cache file if you give it
19726 # the --recheck option to rerun configure.
19728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19730 # following values.
19734 # The following way of writing the cache mishandles newlines in values,
19735 # but we know of no workaround that is simple, portable, and efficient.
19736 # So, we kill variables containing newlines.
19737 # Ultrix sh set writes to stderr and can't be redirected directly,
19738 # and sets the high bit in the cache file unless we assign to the vars.
19740 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19741 eval ac_val
=\$
$ac_var
19745 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19746 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19749 _ | IFS | as_nl
) ;; #(
19750 *) $as_unset $ac_var ;;
19756 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19757 *${as_nl}ac_space
=\
*)
19758 # `set' does not quote correctly, so add quotes (double-quote
19759 # substitution turns \\\\ into \\, and sed turns \\ into \).
19762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19765 # `set' quotes correctly as required by POSIX, so do not add quotes.
19766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19777 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19779 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19780 if test -w "$cache_file"; then
19781 test "x$cache_file" != "x/dev/null" &&
19782 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19783 echo "$as_me: updating cache $cache_file" >&6;}
19784 cat confcache
>$cache_file
19786 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19787 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19792 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19793 # Let make expand exec_prefix.
19794 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19796 DEFS
=-DHAVE_CONFIG_H
19800 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19801 # 1. Remove the extension, and $U if already installed.
19802 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19803 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19805 # will be set to the directory where LIBOBJS objects are built.
19806 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19807 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19809 LIBOBJS
=$ac_libobjs
19811 LTLIBOBJS
=$ac_ltlibobjs
19814 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19815 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19816 Usually this means the macro was only invoked conditionally." >&5
19817 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19818 Usually this means the macro was only invoked conditionally." >&2;}
19819 { (exit 1); exit 1; }; }
19821 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19822 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19823 Usually this means the macro was only invoked conditionally." >&5
19824 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19825 Usually this means the macro was only invoked conditionally." >&2;}
19826 { (exit 1); exit 1; }; }
19828 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19829 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19830 Usually this means the macro was only invoked conditionally." >&5
19831 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19832 Usually this means the macro was only invoked conditionally." >&2;}
19833 { (exit 1); exit 1; }; }
19836 : ${CONFIG_STATUS=./config.status}
19837 ac_clean_files_save
=$ac_clean_files
19838 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19841 cat >$CONFIG_STATUS <<_ACEOF
19843 # Generated by $as_me.
19844 # Run this file to recreate the current configuration.
19845 # Compiler output produced by configure, useful for debugging
19846 # configure, is in config.log if it exists.
19849 ac_cs_recheck=false
19851 SHELL=\${CONFIG_SHELL-$SHELL}
19854 cat >>$CONFIG_STATUS <<\_ACEOF
19855 ## --------------------- ##
19856 ## M4sh Initialization. ##
19857 ## --------------------- ##
19859 # Be more Bourne compatible
19860 DUALCASE
=1; export DUALCASE
# for MKS sh
19861 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19864 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19865 # is contrary to our usage. Disable this feature.
19866 alias -g '${1+"$@"}'='"$@"'
19867 setopt NO_GLOB_SUBST
19869 case `(set -o) 2>/dev/null` in
19870 *posix
*) set -o posix
;;
19879 # Avoid depending upon Character Ranges.
19880 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19881 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19882 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19883 as_cr_digits
='0123456789'
19884 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19886 # The user is always right.
19887 if test "${PATH_SEPARATOR+set}" != set; then
19888 echo "#! /bin/sh" >conf$$.sh
19889 echo "exit 0" >>conf$$.sh
19891 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19899 # Support unset when possible.
19900 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19908 # We need space, tab and new line, in precisely that order. Quoting is
19909 # there to prevent editors from complaining about space-tab.
19910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19911 # splitting by setting IFS to empty value.)
19916 # Find who we are. Look in the path if we contain no directory separator.
19918 *[\\/]* ) as_myself
=$0 ;;
19919 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19920 for as_dir
in $PATH
19923 test -z "$as_dir" && as_dir
=.
19924 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19930 # We did not find ourselves, most probably we were run as `sh COMMAND'
19931 # in which case we are not to be found in the path.
19932 if test "x$as_myself" = x
; then
19935 if test ! -f "$as_myself"; then
19936 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19937 { (exit 1); exit 1; }
19940 # Work around bugs in pre-3.0 UWIN ksh.
19941 for as_var
in ENV MAIL MAILPATH
19942 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19950 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19951 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19952 LC_TELEPHONE LC_TIME
19954 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19955 eval $as_var=C
; export $as_var
19957 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19961 # Required to use basename.
19962 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19963 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19969 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19970 as_basename
=basename
19976 # Name of the executable.
19977 as_me
=`$as_basename -- "$0" ||
19978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19979 X"$0" : 'X\(//\)$' \| \
19980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19982 sed '/^.*\/\([^/][^/]*\)\/*$/{
20001 as_lineno_1
=$LINENO
20002 as_lineno_2
=$LINENO
20003 test "x$as_lineno_1" != "x$as_lineno_2" &&
20004 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20007 # uniformly replaced by the line number. The first 'sed' inserts a
20008 # line-number line after each line using $LINENO; the second 'sed'
20009 # does the real work. The second script uses 'N' to pair each
20010 # line-number line with the line containing $LINENO, and appends
20011 # trailing '-' during substitution so that $LINENO is not a special
20012 # case at line end.
20013 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20014 # scripts with optimization help from Paolo Bonzini. Blame Lee
20015 # E. McMahon (1931-1989) for sed's syntax. :-)
20027 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20030 ' >$as_me.lineno
&&
20031 chmod +x
"$as_me.lineno" ||
20032 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20033 { (exit 1); exit 1; }; }
20035 # Don't try to exec as it changes $[0], causing all sort of problems
20036 # (the dirname of $[0] is not the place where we might find the
20037 # original and so on. Autoconf is especially sensitive to this).
20038 .
"./$as_me.lineno"
20039 # Exit status is that of the last command.
20044 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20050 ECHO_C
= ECHO_N
= ECHO_T
=
20051 case `echo -n x` in
20053 case `echo 'x\c'` in
20054 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20061 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20062 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20068 rm -f conf$$ conf$$.exe conf$$.
file
20069 if test -d conf$$.dir
; then
20070 rm -f conf$$.dir
/conf$$.
file
20076 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20078 # ... but there are two gotchas:
20079 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20080 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20081 # In both cases, we have to default to `cp -p'.
20082 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20084 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20089 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20090 rmdir conf$$.dir
2>/dev
/null
20092 if mkdir
-p .
2>/dev
/null
; then
20095 test -d .
/-p && rmdir .
/-p
20099 if test -x / >/dev
/null
2>&1; then
20100 as_test_x
='test -x'
20102 if ls -dL / >/dev
/null
2>&1; then
20109 if test -d "$1"; then
20115 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20116 ???[sx]*):;;*)false;;esac;fi
20120 as_executable_p
=$as_test_x
20122 # Sed expression to map a string onto a valid CPP name.
20123 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20125 # Sed expression to map a string onto a valid variable name.
20126 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20131 # Save the log message, to keep $[0] and so on meaningful, and to
20132 # report actual input values of CONFIG_FILES etc. instead of their
20133 # values after options handling.
20135 This file was extended by numlib $as_me 0.10, which was
20136 generated by GNU Autoconf 2.61. Invocation command line was
20138 CONFIG_FILES = $CONFIG_FILES
20139 CONFIG_HEADERS = $CONFIG_HEADERS
20140 CONFIG_LINKS = $CONFIG_LINKS
20141 CONFIG_COMMANDS = $CONFIG_COMMANDS
20144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20149 cat >>$CONFIG_STATUS <<_ACEOF
20150 # Files that config.status was made for.
20151 config_files="$ac_config_files"
20152 config_headers="$ac_config_headers"
20153 config_commands="$ac_config_commands"
20157 cat >>$CONFIG_STATUS <<\_ACEOF
20159 \`$as_me' instantiates files from templates according to the
20160 current configuration.
20162 Usage: $0 [OPTIONS] [FILE]...
20164 -h, --help print this help, then exit
20165 -V, --version print version number and configuration settings, then exit
20166 -q, --quiet do not print progress messages
20167 -d, --debug don't remove temporary files
20168 --recheck update $as_me by reconfiguring in the same conditions
20169 --file=FILE[:TEMPLATE]
20170 instantiate the configuration file FILE
20171 --header=FILE[:TEMPLATE]
20172 instantiate the configuration header FILE
20174 Configuration files:
20177 Configuration headers:
20180 Configuration commands:
20183 Report bugs to <bug-autoconf@gnu.org>."
20186 cat >>$CONFIG_STATUS <<_ACEOF
20188 numlib config.status 0.10
20189 configured by $0, generated by GNU Autoconf 2.61,
20190 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20192 Copyright (C) 2006 Free Software Foundation, Inc.
20193 This config.status script is free software; the Free Software Foundation
20194 gives unlimited permission to copy, distribute and modify it."
20202 cat >>$CONFIG_STATUS <<\_ACEOF
20203 # If no file are specified by the user, then we need to provide default
20204 # value. By we need to know if files were specified by the user.
20210 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20211 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20222 # Handling of the options.
20223 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20225 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20226 echo "$ac_cs_version"; exit ;;
20227 --debug |
--debu |
--deb |
--de |
--d |
-d )
20229 --file |
--fil |
--fi |
--f )
20231 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20232 ac_need_defaults
=false
;;
20233 --header |
--heade |
--head |
--hea )
20235 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20236 ac_need_defaults
=false
;;
20238 # Conflict between --help and --header
20239 { echo "$as_me: error: ambiguous option: $1
20240 Try \`$0 --help' for more information." >&2
20241 { (exit 1); exit 1; }; };;
20242 --help |
--hel |
-h )
20243 echo "$ac_cs_usage"; exit ;;
20244 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20245 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20248 # This is an error.
20249 -*) { echo "$as_me: error: unrecognized option: $1
20250 Try \`$0 --help' for more information." >&2
20251 { (exit 1); exit 1; }; } ;;
20253 *) ac_config_targets
="$ac_config_targets $1"
20254 ac_need_defaults
=false
;;
20260 ac_configure_extra_args
=
20262 if $ac_cs_silent; then
20264 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20268 cat >>$CONFIG_STATUS <<_ACEOF
20269 if \$ac_cs_recheck; then
20270 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20271 CONFIG_SHELL=$SHELL
20272 export CONFIG_SHELL
20273 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20277 cat >>$CONFIG_STATUS <<\_ACEOF
20281 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20282 ## Running $as_me. ##
20288 cat >>$CONFIG_STATUS <<_ACEOF
20292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20296 cat >>$CONFIG_STATUS <<\_ACEOF
20298 # Handling of arguments.
20299 for ac_config_target
in $ac_config_targets
20301 case $ac_config_target in
20302 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20303 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20304 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20306 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20307 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20308 { (exit 1); exit 1; }; };;
20313 # If the user did not use the arguments to specify the items to instantiate,
20314 # then the envvar interface is used. Set only those that are not.
20315 # We use the long form for the default assignment because of an extremely
20316 # bizarre bug on SunOS 4.1.3.
20317 if $ac_need_defaults; then
20318 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20319 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20320 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20323 # Have a temporary directory for convenience. Make it in the build tree
20324 # simply because there is no reason against having it here, and in addition,
20325 # creating and moving files from /tmp can sometimes cause problems.
20326 # Hook for its removal unless debugging.
20327 # Note that there is a small window in which the directory will not be cleaned:
20328 # after its creation but before its name has been assigned to `$tmp'.
20332 trap 'exit_status=$?
20333 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20335 trap '{ (exit 1); exit 1; }' 1 2 13 15
20337 # Create a (secure) tmp directory for tmp files.
20340 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20341 test -n "$tmp" && test -d "$tmp"
20344 tmp
=.
/conf$$
-$RANDOM
20345 (umask 077 && mkdir
"$tmp")
20348 echo "$me: cannot create a temporary directory in ." >&2
20349 { (exit 1); exit 1; }
20353 # Set up the sed scripts for CONFIG_FILES section.
20356 # No need to generate the scripts if there are no CONFIG_FILES.
20357 # This happens for instance when ./config.status config.h
20358 if test -n "$CONFIG_FILES"; then
20365 for ac_last_try
in false false false false false
:; do
20366 cat >conf$
$subs.
sed <<_ACEOF
20367 SHELL!$SHELL$ac_delim
20368 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20369 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20370 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20371 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20372 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20373 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20374 exec_prefix!$exec_prefix$ac_delim
20375 prefix!$prefix$ac_delim
20376 program_transform_name!$program_transform_name$ac_delim
20377 bindir!$bindir$ac_delim
20378 sbindir!$sbindir$ac_delim
20379 libexecdir!$libexecdir$ac_delim
20380 datarootdir!$datarootdir$ac_delim
20381 datadir!$datadir$ac_delim
20382 sysconfdir!$sysconfdir$ac_delim
20383 sharedstatedir!$sharedstatedir$ac_delim
20384 localstatedir!$localstatedir$ac_delim
20385 includedir!$includedir$ac_delim
20386 oldincludedir!$oldincludedir$ac_delim
20387 docdir!$docdir$ac_delim
20388 infodir!$infodir$ac_delim
20389 htmldir!$htmldir$ac_delim
20390 dvidir!$dvidir$ac_delim
20391 pdfdir!$pdfdir$ac_delim
20392 psdir!$psdir$ac_delim
20393 libdir!$libdir$ac_delim
20394 localedir!$localedir$ac_delim
20395 mandir!$mandir$ac_delim
20396 DEFS!$DEFS$ac_delim
20397 ECHO_C!$ECHO_C$ac_delim
20398 ECHO_N!$ECHO_N$ac_delim
20399 ECHO_T!$ECHO_T$ac_delim
20400 LIBS!$LIBS$ac_delim
20401 build_alias!$build_alias$ac_delim
20402 host_alias!$host_alias$ac_delim
20403 target_alias!$target_alias$ac_delim
20404 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20405 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20406 INSTALL_DATA!$INSTALL_DATA$ac_delim
20407 am__isrc!$am__isrc$ac_delim
20408 CYGPATH_W!$CYGPATH_W$ac_delim
20409 PACKAGE!$PACKAGE$ac_delim
20410 VERSION!$VERSION$ac_delim
20411 ACLOCAL!$ACLOCAL$ac_delim
20412 AUTOCONF!$AUTOCONF$ac_delim
20413 AUTOMAKE!$AUTOMAKE$ac_delim
20414 AUTOHEADER!$AUTOHEADER$ac_delim
20415 MAKEINFO!$MAKEINFO$ac_delim
20416 install_sh!$install_sh$ac_delim
20417 STRIP!$STRIP$ac_delim
20418 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20419 mkdir_p!$mkdir_p$ac_delim
20421 SET_MAKE!$SET_MAKE$ac_delim
20422 am__leading_dot!$am__leading_dot$ac_delim
20423 AMTAR!$AMTAR$ac_delim
20424 am__tar!$am__tar$ac_delim
20425 am__untar!$am__untar$ac_delim
20427 CFLAGS!$CFLAGS$ac_delim
20428 LDFLAGS!$LDFLAGS$ac_delim
20429 CPPFLAGS!$CPPFLAGS$ac_delim
20430 ac_ct_CC!$ac_ct_CC$ac_delim
20431 EXEEXT!$EXEEXT$ac_delim
20432 OBJEXT!$OBJEXT$ac_delim
20433 DEPDIR!$DEPDIR$ac_delim
20434 am__include!$am__include$ac_delim
20435 am__quote!$am__quote$ac_delim
20436 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20437 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20438 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20439 CCDEPMODE!$CCDEPMODE$ac_delim
20440 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20441 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20442 LN_S!$LN_S$ac_delim
20443 build!$build$ac_delim
20444 build_cpu!$build_cpu$ac_delim
20445 build_vendor!$build_vendor$ac_delim
20446 build_os!$build_os$ac_delim
20447 host!$host$ac_delim
20448 host_cpu!$host_cpu$ac_delim
20449 host_vendor!$host_vendor$ac_delim
20450 host_os!$host_os$ac_delim
20452 GREP!$GREP$ac_delim
20453 EGREP!$EGREP$ac_delim
20454 ECHO!$ECHO$ac_delim
20456 RANLIB!$RANLIB$ac_delim
20459 CXXFLAGS!$CXXFLAGS$ac_delim
20460 ac_ct_CXX!$ac_ct_CXX$ac_delim
20461 CXXDEPMODE!$CXXDEPMODE$ac_delim
20462 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20463 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20466 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20468 elif $ac_last_try; then
20469 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20470 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20471 { (exit 1); exit 1; }; }
20473 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20477 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20478 if test -n "$ac_eof"; then
20479 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20480 ac_eof
=`expr $ac_eof + 1`
20483 cat >>$CONFIG_STATUS <<_ACEOF
20484 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20488 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20489 s/^/s,@/; s/!/@,|#_!!_#|/
20492 s/'"$ac_delim"'$/,g/; t
20494 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20495 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20496 rm -f conf$
$subs.
sed
20497 cat >>$CONFIG_STATUS <<_ACEOF
20503 for ac_last_try
in false false false false false
:; do
20504 cat >conf$
$subs.
sed <<_ACEOF
20505 CXXCPP!$CXXCPP$ac_delim
20507 FFLAGS!$FFLAGS$ac_delim
20508 ac_ct_F77!$ac_ct_F77$ac_delim
20509 LIBTOOL!$LIBTOOL$ac_delim
20510 LIBOBJS!$LIBOBJS$ac_delim
20511 LTLIBOBJS!$LTLIBOBJS$ac_delim
20514 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
20516 elif $ac_last_try; then
20517 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20518 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20519 { (exit 1); exit 1; }; }
20521 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20525 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20526 if test -n "$ac_eof"; then
20527 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20528 ac_eof
=`expr $ac_eof + 1`
20531 cat >>$CONFIG_STATUS <<_ACEOF
20532 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20533 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20536 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20537 s/^/s,@/; s/!/@,|#_!!_#|/
20540 s/'"$ac_delim"'$/,g/; t
20542 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20543 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20544 rm -f conf$
$subs.
sed
20545 cat >>$CONFIG_STATUS <<_ACEOF
20552 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20553 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20554 # trailing colons and then remove the whole line if VPATH becomes empty
20555 # (actually we leave an empty line to preserve line numbers).
20556 if test "x$srcdir" = x.
; then
20557 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20558 s/:*\$(srcdir):*/:/
20559 s/:*\${srcdir}:*/:/
20561 s/^\([^=]*=[ ]*\):*/\1/
20567 cat >>$CONFIG_STATUS <<\_ACEOF
20568 fi # test -n "$CONFIG_FILES"
20571 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20574 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20576 case $ac_mode$ac_tag in
20578 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20579 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20580 { (exit 1); exit 1; }; };;
20581 :[FH
]-) ac_tag
=-:-;;
20582 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20599 -) ac_f
="$tmp/stdin";;
20600 *) # Look for the file first in the build tree, then in the source tree
20601 # (if the path is not absolute). The absolute path cannot be DOS-style,
20602 # because $ac_f cannot contain `:'.
20606 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20608 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20609 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20610 { (exit 1); exit 1; }; };;
20612 ac_file_inputs
="$ac_file_inputs $ac_f"
20615 # Let's still pretend it is `configure' which instantiates (i.e., don't
20616 # use $as_me), people would be surprised to read:
20617 # /* config.h. Generated by config.status. */
20618 configure_input
="Generated from "`IFS=:
20619 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20620 if test x
"$ac_file" != x-
; then
20621 configure_input
="$ac_file. $configure_input"
20622 { echo "$as_me:$LINENO: creating $ac_file" >&5
20623 echo "$as_me: creating $ac_file" >&6;}
20627 *:-:* |
*:-) cat >"$tmp/stdin";;
20632 ac_dir
=`$as_dirname -- "$ac_file" ||
20633 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20634 X"$ac_file" : 'X\(//\)[^/]' \| \
20635 X"$ac_file" : 'X\(//\)$' \| \
20636 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20642 /^X\(\/\/\)[^/].*/{
20657 -*) as_dir
=.
/$as_dir;;
20659 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20663 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20664 *) as_qdir
=$as_dir;;
20666 as_dirs
="'$as_qdir' $as_dirs"
20667 as_dir
=`$as_dirname -- "$as_dir" ||
20668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20669 X"$as_dir" : 'X\(//\)[^/]' \| \
20670 X"$as_dir" : 'X\(//\)$' \| \
20671 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20677 /^X\(\/\/\)[^/].*/{
20690 test -d "$as_dir" && break
20692 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20693 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20694 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20695 { (exit 1); exit 1; }; }; }
20699 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20701 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20702 # A ".." for each directory in $ac_dir_suffix.
20703 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20704 case $ac_top_builddir_sub in
20705 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20706 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20709 ac_abs_top_builddir
=$ac_pwd
20710 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20711 # for backward compatibility:
20712 ac_top_builddir
=$ac_top_build_prefix
20715 .
) # We are building in place.
20717 ac_top_srcdir
=$ac_top_builddir_sub
20718 ac_abs_top_srcdir
=$ac_pwd ;;
20719 [\\/]* | ?
:[\\/]* ) # Absolute name.
20720 ac_srcdir
=$srcdir$ac_dir_suffix;
20721 ac_top_srcdir
=$srcdir
20722 ac_abs_top_srcdir
=$srcdir ;;
20723 *) # Relative name.
20724 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20725 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20726 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20728 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20738 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20739 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20741 ac_MKDIR_P
=$MKDIR_P
20743 [\\/$
]* | ?
:[\\/]* ) ;;
20744 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20748 cat >>$CONFIG_STATUS <<\_ACEOF
20749 # If the template does not know about datarootdir, expand it.
20750 # FIXME: This hack should be removed a few years after 2.60.
20751 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20753 case `sed -n '/datarootdir/ {
20762 ' $ac_file_inputs` in
20763 *datarootdir
*) ac_datarootdir_seen
=yes;;
20764 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20765 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20766 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20768 cat >>$CONFIG_STATUS <<_ACEOF
20769 ac_datarootdir_hack='
20770 s&@datadir@&$datadir&g
20771 s&@docdir@&$docdir&g
20772 s&@infodir@&$infodir&g
20773 s&@localedir@&$localedir&g
20774 s&@mandir@&$mandir&g
20775 s&\\\${datarootdir}&$datarootdir&g' ;;
20779 # Neutralize VPATH when `$srcdir' = `.'.
20780 # Shell code in configure.ac might set extrasub.
20781 # FIXME: do we really want to maintain this feature?
20782 cat >>$CONFIG_STATUS <<_ACEOF
20786 cat >>$CONFIG_STATUS <<\_ACEOF
20788 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20789 s
&@configure_input@
&$configure_input&;t t
20790 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20791 s
&@srcdir@
&$ac_srcdir&;t t
20792 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20793 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20794 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20795 s
&@builddir@
&$ac_builddir&;t t
20796 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20797 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20798 s
&@INSTALL@
&$ac_INSTALL&;t t
20799 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20800 $ac_datarootdir_hack
20801 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20803 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20804 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20805 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20806 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20807 which seems to be undefined. Please make sure it is defined." >&5
20808 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20809 which seems to be undefined. Please make sure it is defined." >&2;}
20813 -) cat "$tmp/out"; rm -f "$tmp/out";;
20814 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20823 # Transform confdefs.h into a sed script `conftest.defines', that
20824 # substitutes the proper values into config.h.in to produce config.h.
20825 rm -f conftest.defines conftest.
tail
20826 # First, append a space to every undef/define line, to ease matching.
20827 echo 's/$/ /' >conftest.defines
20828 # Then, protect against being on the right side of a sed subst, or in
20829 # an unquoted here document, in config.status. If some macros were
20830 # called several times there might be several #defines for the same
20831 # symbol, which is useless. But do not sort them, since the last
20832 # AC_DEFINE must be honored.
20833 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20834 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20835 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20836 # PARAMS is the parameter list in the macro definition--in most cases, it's
20837 # just an empty string.
20838 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20839 ac_dB
='\\)[ (].*,\\1define\\2'
20847 s/^[ ]*#[ ]*define[ ][ ]*//
20852 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20853 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20854 ' >>conftest.defines
20856 # Remove the space that was appended to ease matching.
20857 # Then replace #undef with comments. This is necessary, for
20858 # example, in the case of _POSIX_SOURCE, which is predefined and required
20859 # on some systems where configure will not decide to define it.
20860 # (The regexp can be short, since the line contains either #define or #undef.)
20862 s,^[ #]*u.*,/* & */,' >>conftest.defines
20864 # Break up conftest.defines:
20865 ac_max_sed_lines
=50
20867 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20868 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20869 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20871 ac_in
='$ac_file_inputs'
20872 ac_out
='"$tmp/out1"'
20873 ac_nxt
='"$tmp/out2"'
20877 # Write a here document:
20878 cat >>$CONFIG_STATUS <<_ACEOF
20879 # First, check the format of the line:
20880 cat >"\$tmp/defines.sed" <<\\CEOF
20881 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20882 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20886 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
20888 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20889 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
20890 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
20891 grep . conftest.
tail >/dev
/null ||
break
20892 rm -f conftest.defines
20893 mv conftest.
tail conftest.defines
20895 rm -f conftest.defines conftest.
tail
20897 echo "ac_result=$ac_in" >>$CONFIG_STATUS
20898 cat >>$CONFIG_STATUS <<\_ACEOF
20899 if test x
"$ac_file" != x-
; then
20900 echo "/* $configure_input */" >"$tmp/config.h"
20901 cat "$ac_result" >>"$tmp/config.h"
20902 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
20903 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20904 echo "$as_me: $ac_file is unchanged" >&6;}
20907 mv "$tmp/config.h" $ac_file
20910 echo "/* $configure_input */"
20914 # Compute $ac_file's index in $config_headers.
20916 for _am_header
in $config_headers :; do
20917 case $_am_header in
20918 $ac_file |
$ac_file:* )
20921 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20924 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
20925 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20926 X$ac_file : 'X\(//\)[^/]' \| \
20927 X$ac_file : 'X\(//\)$' \| \
20928 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20934 /^X\(\/\/\)[^/].*/{
20946 s/.*/./; q'`/stamp-h
$_am_stamp_count
20949 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20950 echo "$as_me: executing $ac_file commands" >&6;}
20955 case $ac_file$ac_mode in
20956 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20957 # Strip MF so we end up with the name of the file.
20958 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20959 # Check whether this is an Automake generated Makefile or not.
20960 # We used to match only the files named `Makefile.in', but
20961 # some people rename them; so instead we look at the file content.
20962 # Grep'ing the first line is not enough: some people post-process
20963 # each Makefile.in and add a new line on top of each file to say so.
20964 # Grep'ing the whole file is not good either: AIX grep has a line
20965 # limit of 2048, but all sed's we know have understand at least 4000.
20966 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
20967 dirpart
=`$as_dirname -- "$mf" ||
20968 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20969 X"$mf" : 'X\(//\)[^/]' \| \
20970 X"$mf" : 'X\(//\)$' \| \
20971 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20977 /^X\(\/\/\)[^/].*/{
20993 # Extract the definition of DEPDIR, am__include, and am__quote
20994 # from the Makefile without running `make'.
20995 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20996 test -z "$DEPDIR" && continue
20997 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20998 test -z "am__include" && continue
20999 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21000 # When using ansi2knr, U may be empty or an underscore; expand it
21001 U
=`sed -n 's/^U = //p' < "$mf"`
21002 # Find all dependency output files, they are included files with
21003 # $(DEPDIR) in their names. We invoke sed twice because it is the
21004 # simplest approach to changing $(DEPDIR) to its actual value in the
21006 for file in `sed -n "
21007 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21008 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21009 # Make sure the directory exists.
21010 test -f "$dirpart/$file" && continue
21011 fdir
=`$as_dirname -- "$file" ||
21012 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21013 X"$file" : 'X\(//\)[^/]' \| \
21014 X"$file" : 'X\(//\)$' \| \
21015 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21021 /^X\(\/\/\)[^/].*/{
21034 { as_dir
=$dirpart/$fdir
21036 -*) as_dir
=.
/$as_dir;;
21038 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21042 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21043 *) as_qdir
=$as_dir;;
21045 as_dirs
="'$as_qdir' $as_dirs"
21046 as_dir
=`$as_dirname -- "$as_dir" ||
21047 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21048 X"$as_dir" : 'X\(//\)[^/]' \| \
21049 X"$as_dir" : 'X\(//\)$' \| \
21050 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21056 /^X\(\/\/\)[^/].*/{
21069 test -d "$as_dir" && break
21071 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21072 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21073 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21074 { (exit 1); exit 1; }; }; }
21075 # echo "creating $dirpart/$file"
21076 echo '# dummy' > "$dirpart/$file"
21085 { (exit 0); exit 0; }
21087 chmod +x
$CONFIG_STATUS
21088 ac_clean_files
=$ac_clean_files_save
21091 # configure is writing to config.log, and then calls config.status.
21092 # config.status does its own redirection, appending to config.log.
21093 # Unfortunately, on DOS this fails, as config.log is still kept open
21094 # by configure, so config.status won't be able to write to it; its
21095 # output is simply discarded. So we exec the FD to /dev/null,
21096 # effectively closing config.log, so it can be properly (re)opened and
21097 # appended to by config.status. When coming back to configure, we
21098 # need to make the FD available again.
21099 if test "$no_create" != yes; then
21101 ac_config_status_args
=
21102 test "$silent" = yes &&
21103 ac_config_status_args
="$ac_config_status_args --quiet"
21105 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21107 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21108 # would make configure fail if this is the last instruction.
21109 $ac_cs_success ||
{ (exit 1); exit 1; }