2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libhmac 1.00.
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
='libhmac'
730 PACKAGE_TARNAME
='libhmac'
731 PACKAGE_VERSION
='1.00'
732 PACKAGE_STRING
='libhmac 1.00'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="hmac.h"
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
879 ac_precious_vars
='build_alias
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
966 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
969 -build |
--build |
--buil |
--bui |
--bu)
970 ac_prev
=build_alias
;;
971 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
972 build_alias
=$ac_optarg ;;
974 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
975 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
976 ac_prev
=cache_file
;;
977 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
978 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
979 cache_file
=$ac_optarg ;;
982 cache_file
=config.cache
;;
984 -datadir |
--datadir |
--datadi |
--datad)
986 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
987 datadir
=$ac_optarg ;;
989 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
990 |
--dataroo |
--dataro |
--datar)
991 ac_prev
=datarootdir
;;
992 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
993 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
994 datarootdir
=$ac_optarg ;;
996 -disable-* |
--disable-*)
997 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_
$ac_feature=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_
$ac_feature=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_
$ac_package=\
$ac_optarg ;;
1221 -without-* |
--without-*)
1222 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_
$ac_package=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures libhmac 1.00 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/libhmac]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive
) echo "Configuration of libhmac 1.00:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1489 Some influential environment variables
:
1490 CC C compiler
command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1498 CXX C
++ compiler
command
1499 CXXFLAGS C
++ compiler flags
1500 CXXCPP C
++ preprocessor
1501 F77 Fortran
77 compiler
command
1502 FFLAGS Fortran
77 compiler flags
1504 Use these variables to override the choices made by
`configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <courier-users@lists.sourceforge.net>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" || continue
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 libhmac configure 1.00
1569 generated by GNU Autoconf 2.61
1571 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1572 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by libhmac $as_me 1.00, which was
1583 generated by GNU Autoconf 2.61. Invocation command line was
1595 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1596 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1597 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1598 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1599 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1601 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1602 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1604 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1606 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1608 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1610 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1659 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 ac_configure_args="$ac_configure_args '$ac_arg'"
1680 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1681 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1694 ## ---------------- ##
1695 ## Cache variables. ##
1696 ## ---------------- ##
1699 # The following way of writing the cache mishandles newlines in values,
1701 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1702 eval ac_val=\$$ac_var
1706 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1710 _ | IFS | as_nl) ;; #(
1711 *) $as_unset $ac_var ;;
1716 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1717 *${as_nl}ac_space=\ *)
1719 "s/'\''/'\''\\\\'\'''\''/g;
1720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731 ## ----------------- ##
1732 ## Output variables. ##
1733 ## ----------------- ##
1736 for ac_var in $ac_subst_vars
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1746 if test -n "$ac_subst_files"; then
1748 ## ------------------- ##
1749 ## File substitutions. ##
1750 ## ------------------- ##
1753 for ac_var in $ac_subst_files
1755 eval ac_val=\$$ac_var
1757 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759 echo "$ac_var='\''$ac_val'\''"
1764 if test -s confdefs.h; then
1774 test "$ac_signal" != 0 &&
1775 echo "$as_me: caught signal $ac_signal"
1776 echo "$as_me: exit $exit_status"
1778 rm -f core *.core core.conftest.* &&
1779 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1782 for ac_signal in 1 2 13 15; do
1783 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1787 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1788 rm -f -r conftest* confdefs.h
1790 # Predefined preprocessor variables.
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_NAME "$PACKAGE_NAME"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_STRING "$PACKAGE_STRING"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1817 # Let the site file select an alternate cache file if it wants to.
1818 # Prefer explicitly selected file to automatically selected ones.
1819 if test -n "$CONFIG_SITE"; then
1820 set x "$CONFIG_SITE"
1821 elif test "x$prefix" != xNONE; then
1822 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1824 set x "$ac_default_prefix/share/config.site" \
1825 "$ac_default_prefix/etc/config.site"
1830 if test -r "$ac_site_file"; then
1831 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1832 echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special
1840 # files actually), so we avoid doing that.
1841 if test -f "$cache_file"; then
1842 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1843 echo "$as_me: loading cache $cache_file" >&6;}
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1850 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1851 echo "$as_me: creating cache $cache_file" >&6;}
1855 # Check that the precious variables saved in the cache have kept the same
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1865 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1866 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1869 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1870 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1876 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1877 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1878 echo "$as_me: former value
: $ac_old_val" >&2;}
1879 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1880 echo "$as_me: current value
: $ac_new_val" >&2;}
1881 ac_cache_corrupted=:
1884 # Pass precious variables to config.status.
1885 if test "$ac_new_set" = set; then
1887 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1888 *) ac_arg=$ac_var=$ac_new_val ;;
1890 case " $ac_configure_args " in
1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1892 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1896 if $ac_cache_corrupted; then
1897 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1898 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1899 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1900 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1901 { (exit 1); exit 1; }; }
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936 >confdefs.h # Kill PACKAGE_ macros
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 -'
2415 ac_config_headers
="$ac_config_headers config.h"
2418 for ac_prog
in gawk mawk nawk
awk
2420 # Extract the first word of "$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_prog; ac_word
=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_AWK+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$AWK"; then
2428 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_AWK
="$ac_prog"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$AWK"; then
2449 { echo "$as_me:$LINENO: result: $AWK" >&5
2450 echo "${ECHO_T}$AWK" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2457 test -n "$AWK" && break
2460 # Find a good install program. We prefer a C program (faster),
2461 # so one script is as good as another. But avoid the broken or
2462 # incompatible versions:
2463 # SysV /etc/install, /usr/sbin/install
2464 # SunOS /usr/etc/install
2465 # IRIX /sbin/install
2467 # AmigaOS /C/install, which installs bootblocks on floppy discs
2468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2471 # OS/2's system install, which has a completely different semantic
2472 # ./install, which can be erroneously created by make from ./install.sh.
2473 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2474 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2475 if test -z "$INSTALL"; then
2476 if test "${ac_cv_path_install+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 # Account for people who put trailing slashes in PATH elements.
2486 .
/ | .
// |
/cC
/* | \
2487 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2488 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2491 # OSF1 and SCO ODT 3.0 have their own names for install.
2492 # Don't use installbsd from OSF since it installs stuff as root
2494 for ac_prog
in ginstall scoinst
install; do
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2497 if test $ac_prog = install &&
2498 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2499 # AIX install. It has an incompatible calling convention.
2501 elif test $ac_prog = install &&
2502 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2503 # program-specific install script used by HP pwplus--don't use.
2506 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2519 if test "${ac_cv_path_install+set}" = set; then
2520 INSTALL
=$ac_cv_path_install
2522 # As a last resort, use the slow shell script. Don't cache a
2523 # value for INSTALL within a source directory, because that will
2524 # break other packages using the cache if that directory is
2525 # removed, or if the value is a relative name.
2526 INSTALL
=$ac_install_sh
2529 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2530 echo "${ECHO_T}$INSTALL" >&6; }
2532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2533 # It thinks the first close brace ends the variable substitution.
2534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2540 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2541 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2543 if test "$LN_S" = "ln -s"; then
2544 { echo "$as_me:$LINENO: result: yes" >&5
2545 echo "${ECHO_T}yes" >&6; }
2547 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2548 echo "${ECHO_T}no, using $LN_S" >&6; }
2552 ac_cpp
='$CPP $CPPFLAGS'
2553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC
="$CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$CC"; then
2586 { echo "$as_me:$LINENO: result: $CC" >&5
2587 echo "${ECHO_T}$CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2595 if test -z "$ac_cv_prog_CC"; then
2597 # Extract the first word of "gcc", so it can be a program name with args.
2598 set dummy gcc
; ac_word
=$2
2599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$ac_ct_CC"; then
2605 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_CC
="gcc"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2627 echo "${ECHO_T}$ac_ct_CC" >&6; }
2629 { echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6; }
2633 if test "x$ac_ct_CC" = x
; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2639 whose name does not start with the host triplet. If you think this
2640 configuration is useful to you, please write to autoconf@gnu.org." >&5
2641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2642 whose name does not start with the host triplet. If you think this
2643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2644 ac_tool_warned
=yes ;;
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC
="$CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 if test -n "$CC"; then
2683 { echo "$as_me:$LINENO: result: $CC" >&5
2684 echo "${ECHO_T}$CC" >&6; }
2686 { echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6; }
2693 if test -z "$CC"; then
2694 # Extract the first word of "cc", so it can be a program name with args.
2695 set dummy cc
; ac_word
=$2
2696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698 if test "${ac_cv_prog_CC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 if test -n "$CC"; then
2702 ac_cv_prog_CC
="$CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2713 ac_prog_rejected
=yes
2717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test $ac_prog_rejected = yes; then
2725 # We found a bogon in the path, so make sure we never use it.
2726 set dummy
$ac_cv_prog_CC
2728 if test $# != 0; then
2729 # We chose a different compiler from the bogus one.
2730 # However, it has the same basename, so the bogon will be chosen
2731 # first if we set CC to just the basename; use the full file name.
2733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2739 if test -n "$CC"; then
2740 { echo "$as_me:$LINENO: result: $CC" >&5
2741 echo "${ECHO_T}$CC" >&6; }
2743 { echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6; }
2749 if test -z "$CC"; then
2750 if test -n "$ac_tool_prefix"; then
2751 for ac_prog
in cl.exe
2753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2757 if test "${ac_cv_prog_CC+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$CC"; then
2761 ac_cv_prog_CC
="$CC" # Let the user override the test.
2763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir
=.
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 if test -n "$CC"; then
2782 { echo "$as_me:$LINENO: result: $CC" >&5
2783 echo "${ECHO_T}$CC" >&6; }
2785 { echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6; }
2790 test -n "$CC" && break
2793 if test -z "$CC"; then
2795 for ac_prog
in cl.exe
2797 # Extract the first word of "$ac_prog", so it can be a program name with args.
2798 set dummy
$ac_prog; ac_word
=$2
2799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -n "$ac_ct_CC"; then
2805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814 ac_cv_prog_ac_ct_CC
="$ac_prog"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2825 if test -n "$ac_ct_CC"; then
2826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2827 echo "${ECHO_T}$ac_ct_CC" >&6; }
2829 { echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6; }
2834 test -n "$ac_ct_CC" && break
2837 if test "x$ac_ct_CC" = x
; then
2840 case $cross_compiling:$ac_tool_warned in
2842 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2843 whose name does not start with the host triplet. If you think this
2844 configuration is useful to you, please write to autoconf@gnu.org." >&5
2845 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2846 whose name does not start with the host triplet. If you think this
2847 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2848 ac_tool_warned
=yes ;;
2857 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: no acceptable C compiler found in \$PATH
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2863 # Provide some information about the compiler.
2864 echo "$as_me:$LINENO: checking for C compiler version" >&5
2865 ac_compiler
=`set X $ac_compile; echo $2`
2866 { (ac_try
="$ac_compiler --version >&5"
2868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2872 (eval "$ac_compiler --version >&5") 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }
2876 { (ac_try="$ac_compiler -v >&5"
2878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2879 *) ac_try_echo
=$ac_try;;
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compiler -v >&5") 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2886 { (ac_try
="$ac_compiler -V >&5"
2888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_compiler -V >&5") 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2912 ac_clean_files_save=$ac_clean_files
2913 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2914 # Try to create an executable without -o first, disregard a.out.
2915 # It will help us diagnose broken compilers, and finding out an intuition
2917 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2918 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2919 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2921 # List of possible output files, starting from the most likely.
2922 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2923 # only as a last resort. b.out is created by i960 compilers.
2924 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2926 # The IRIX 6 linker writes into existing files which may not be
2927 # executable, retaining their permissions. Remove them first so a
2928 # subsequent execution test works.
2930 for ac_file in $ac_files
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2934 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2939 if { (ac_try="$ac_link_default"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_link_default") 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; then
2949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2952 # so that the user can short-circuit this test for compilers unknown to
2954 for ac_file
in $ac_files ''
2956 test -f "$ac_file" ||
continue
2958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2961 # We found the default executable, but exeext='' is most
2965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2967 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2969 # We set ac_cv_exeext here because the later test for it is not
2970 # safe: cross compilers may not add the suffix if given an `-o'
2971 # argument, so we may need to know it at that point already.
2972 # Even if this section looks crufty: it has the advantage of
2979 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2985 { echo "$as_me:$LINENO: result: $ac_file" >&5
2986 echo "${ECHO_T}$ac_file" >&6; }
2987 if test -z "$ac_file"; then
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.
$ac_ext >&5
2991 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2992 See \`config.log' for more details." >&5
2993 echo "$as_me: error: C compiler cannot create executables
2994 See \`config.log' for more details." >&2;}
2995 { (exit 77); exit 77; }; }
2998 ac_exeext
=$ac_cv_exeext
3000 # Check that the compiler produces executables we can run. If not, either
3001 # the compiler is broken, or we cross compile.
3002 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3003 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3004 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3005 # If not cross compiling, check that we can run a simple program.
3006 if test "$cross_compiling" != yes; then
3007 if { ac_try
='./$ac_file'
3008 { (case "(($ac_try" in
3009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_try") 2>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3019 if test "$cross_compiling" = maybe; then
3022 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3023 If you meant to cross compile, use \`--host'.
3024 See \`config.log' for more details.
" >&5
3025 echo "$as_me: error
: cannot run C compiled programs.
3026 If you meant to cross compile
, use \
`--host'.
3027 See \`config.log
' for more details." >&2;}
3028 { (exit 1); exit 1; }; }
3032 { echo "$as_me:$LINENO: result: yes" >&5
3033 echo "${ECHO_T}yes" >&6; }
3035 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3036 ac_clean_files=$ac_clean_files_save
3037 # Check that the compiler produces executables we can run. If not, either
3038 # the compiler is broken, or we cross compile.
3039 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3040 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3041 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3042 echo "${ECHO_T}$cross_compiling" >&6; }
3044 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3045 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3046 if { (ac_try="$ac_link"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_link") 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; then
3056 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3057 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3058 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3060 for ac_file
in conftest.exe conftest conftest.
*; do
3061 test -f "$ac_file" ||
continue
3063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3064 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3070 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3071 See \`config.log' for more details." >&5
3072 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3073 See \`config.log' for more details." >&2;}
3074 { (exit 1); exit 1; }; }
3077 rm -f conftest
$ac_cv_exeext
3078 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3079 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3081 rm -f conftest.
$ac_ext
3082 EXEEXT
=$ac_cv_exeext
3084 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3085 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3086 if test "${ac_cv_objext+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3104 rm -f conftest.o conftest.obj
3105 if { (ac_try
="$ac_compile"
3107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3111 (eval "$ac_compile") 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; then
3115 for ac_file in conftest.o conftest.obj conftest.*; do
3116 test -f "$ac_file" || continue;
3118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3119 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3128 See \`config.log
' for more details." >&5
3129 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3130 See \`config.log' for more details.
" >&2;}
3131 { (exit 1); exit 1; }; }
3134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3136 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3137 echo "${ECHO_T}$ac_cv_objext" >&6; }
3138 OBJEXT=$ac_cv_objext
3140 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3141 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3142 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3143 echo $ECHO_N "(cached
) $ECHO_C" >&6
3145 cat >conftest.$ac_ext <<_ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3163 rm -f conftest.$ac_objext
3164 if { (ac_try="$ac_compile"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 echo "$as_me: failed program was
:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3192 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3193 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3194 GCC=`test $ac_compiler_gnu = yes && echo yes`
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3198 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then
3200 echo $ECHO_N "(cached
) $ECHO_C" >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_compile") 2>conftest.er1
3230 grep -v '^ *+' conftest.er1 >conftest.err
3232 cat conftest.err >&5
3233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3234 (exit $ac_status); } && {
3235 test -z "$ac_c_werror_flag" ||
3236 test ! -s conftest.err
3237 } && test -s conftest.$ac_objext; then
3240 echo "$as_me: failed program was
:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3259 rm -f conftest.$ac_objext
3260 if { (ac_try="$ac_compile"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3266 (eval "$ac_compile") 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3272 (exit $ac_status); } && {
3273 test -z "$ac_c_werror_flag" ||
3274 test ! -s conftest.err
3275 } && test -s conftest.$ac_objext; then
3278 echo "$as_me: failed program was
:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3281 ac_c_werror_flag=$ac_save_c_werror_flag
3283 cat >conftest.$ac_ext <<_ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3317 echo "$as_me: failed program was
:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_c_werror_flag=$ac_save_c_werror_flag
3332 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3333 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3334 if test "$ac_test_CFLAGS" = set; then
3335 CFLAGS=$ac_save_CFLAGS
3336 elif test $ac_cv_prog_cc_g = yes; then
3337 if test "$GCC" = yes; then
3343 if test "$GCC" = yes; then
3349 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3350 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3351 if test "${ac_cv_prog_cc_c89+set}" = set; then
3352 echo $ECHO_N "(cached
) $ECHO_C" >&6
3354 ac_cv_prog_cc_c89=no
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3364 #include <sys/types.h>
3365 #include <sys/stat.h>
3366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3367 struct buf { int x; };
3368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3369 static char *e (p, i)
3375 static char *f (char * (*g) (char **, int), char **p, ...)
3380 s = g (p, va_arg (v,int));
3385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3386 function prototypes and stuff, but not '\xHH' hex character constants.
3387 These don't provoke an error unfortunately, instead are silently treated
3388 as 'x'. The following induces an error, until -std is added to get
3389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3390 array size at least. It's necessary to write '\x00'==0 to get something
3391 that's true only with -std. */
3392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3394 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3395 inside strings and character constants. */
3397 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3399 int test (int i, double x);
3400 struct s1 {int (*f) (int a);};
3401 struct s2 {int (*f) (double a);};
3402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3413 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3416 CC="$ac_save_CC $ac_arg"
3417 rm -f conftest.$ac_objext
3418 if { (ac_try="$ac_compile"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3424 (eval "$ac_compile") 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3430 (exit $ac_status); } && {
3431 test -z "$ac_c_werror_flag" ||
3432 test ! -s conftest.err
3433 } && test -s conftest.$ac_objext; then
3434 ac_cv_prog_cc_c89=$ac_arg
3436 echo "$as_me: failed program was
:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3442 rm -f core conftest.err conftest.$ac_objext
3443 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3445 rm -f conftest.$ac_ext
3450 case "x
$ac_cv_prog_cc_c89" in
3452 { echo "$as_me:$LINENO: result
: none needed
" >&5
3453 echo "${ECHO_T}none needed
" >&6; } ;;
3455 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3456 echo "${ECHO_T}unsupported
" >&6; } ;;
3458 CC="$CC $ac_cv_prog_cc_c89"
3459 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3460 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 DEPDIR="${am__leading_dot}deps
"
3471 ac_config_commands="$ac_config_commands depfiles
"
3474 am_make=${MAKE-make}
3475 cat > confinc << 'END'
3480 # If we don't find an include directive, just comment out the code.
3481 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3482 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3486 # First try GNU make style include.
3487 echo "include confinc" > confmf
3488 # We grep out `Entering directory' and `Leaving directory'
3489 # messages which can occur if `w' ends up in MAKEFLAGS.
3490 # In particular we don't look at `^make:' because GNU make might
3491 # be invoked under some other name (usually "gmake"), in which
3492 # case it prints its new name instead of `make'.
3493 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3498 # Now try BSD make style include.
3499 if test "$am__include" = "#"; then
3500 echo '.include "confinc"' > confmf
3501 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3502 am__include
=.include
3509 { echo "$as_me:$LINENO: result: $_am_result" >&5
3510 echo "${ECHO_T}$_am_result" >&6; }
3511 rm -f confinc confmf
3513 # Check whether --enable-dependency-tracking was given.
3514 if test "${enable_dependency_tracking+set}" = set; then
3515 enableval
=$enable_dependency_tracking;
3518 if test "x$enable_dependency_tracking" != xno
; then
3519 am_depcomp
="$ac_aux_dir/depcomp"
3522 if test "x$enable_dependency_tracking" != xno; then
3532 depcc
="$CC" am_compiler_list
=
3534 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3535 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3536 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3540 # We make a subdir and do the tests there. Otherwise we can end up
3541 # making bogus files that we don't know about and never remove. For
3542 # instance it was reported that on HP-UX the gcc test will end up
3543 # making a dummy file named `D' -- because `-MD' means `put the output
3546 # Copy depcomp to subdir because otherwise we won't find it if we're
3547 # using a relative directory.
3548 cp "$am_depcomp" conftest.dir
3550 # We will build objects and dependencies in a subdirectory because
3551 # it helps to detect inapplicable dependency modes. For instance
3552 # both Tru64's cc and ICC support -MD to output dependencies as a
3553 # side effect of compilation, but ICC will put the dependencies in
3554 # the current directory while Tru64 will put them in the object
3558 am_cv_CC_dependencies_compiler_type
=none
3559 if test "$am_compiler_list" = ""; then
3560 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3562 for depmode
in $am_compiler_list; do
3563 # Setup a source with many dependencies, because some compilers
3564 # like to wrap large dependency lists on column 80 (with \), and
3565 # we should not choose a depcomp mode which is confused by this.
3567 # We need to recreate these files for each test, as the compiler may
3568 # overwrite some of them when testing with obscure command lines.
3569 # This happens at least with the AIX C compiler.
3571 for i
in 1 2 3 4 5 6; do
3572 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3573 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3574 # Solaris 8's {/usr,}/bin/sh.
3575 touch sub
/conftst
$i.h
3577 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3581 # after this tag, mechanisms are not by side-effect, so they'll
3582 # only be used when explicitly requested
3583 if test "x$enable_dependency_tracking" = xyes
; then
3591 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3592 # mode. It turns out that the SunPro C++ compiler does not properly
3593 # handle `-M -o', and we need to detect this.
3594 if depmode
=$depmode \
3595 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3596 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3597 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3598 >/dev
/null
2>conftest.err
&&
3599 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3600 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3601 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3602 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3603 # icc doesn't choke on unknown options, it will just issue warnings
3604 # or remarks (even with -Werror). So we grep stderr for any message
3605 # that says an option was ignored or not supported.
3606 # When given -MP, icc 7.0 and 7.1 complain thusly:
3607 # icc: Command line warning: ignoring option '-M'; no argument required
3608 # The diagnosis changed in icc 8.0:
3609 # icc: Command line remark: option '-MP' not supported
3610 if (grep 'ignoring option' conftest.err ||
3611 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3612 am_cv_CC_dependencies_compiler_type
=$depmode
3621 am_cv_CC_dependencies_compiler_type
=none
3625 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3626 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3627 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3630 test "x$enable_dependency_tracking" != xno \
3631 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3633 am__fastdepCC_FALSE
='#'
3635 am__fastdepCC_TRUE
='#'
3636 am__fastdepCC_FALSE
=
3640 # Check whether --enable-shared was given.
3641 if test "${enable_shared+set}" = set; then
3642 enableval
=$enable_shared; p
=${PACKAGE-default}
3644 yes) enable_shared
=yes ;;
3645 no
) enable_shared
=no
;;
3648 # Look at the argument we got. We use all the common list separators.
3649 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3650 for pkg
in $enableval; do
3652 if test "X$pkg" = "X$p"; then
3664 # Check whether --enable-static was given.
3665 if test "${enable_static+set}" = set; then
3666 enableval
=$enable_static; p
=${PACKAGE-default}
3668 yes) enable_static
=yes ;;
3669 no
) enable_static
=no
;;
3672 # Look at the argument we got. We use all the common list separators.
3673 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3674 for pkg
in $enableval; do
3676 if test "X$pkg" = "X$p"; then
3688 # Check whether --enable-fast-install was given.
3689 if test "${enable_fast_install+set}" = set; then
3690 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3692 yes) enable_fast_install
=yes ;;
3693 no
) enable_fast_install
=no
;;
3695 enable_fast_install
=no
3696 # Look at the argument we got. We use all the common list separators.
3697 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3698 for pkg
in $enableval; do
3700 if test "X$pkg" = "X$p"; then
3701 enable_fast_install
=yes
3708 enable_fast_install
=yes
3712 # Make sure we can run config.sub.
3713 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3714 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3715 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3716 { (exit 1); exit 1; }; }
3718 { echo "$as_me:$LINENO: checking build system type" >&5
3719 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3720 if test "${ac_cv_build+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 ac_build_alias
=$build_alias
3724 test "x$ac_build_alias" = x
&&
3725 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3726 test "x$ac_build_alias" = x
&&
3727 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3728 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3729 { (exit 1); exit 1; }; }
3730 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3732 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3733 { (exit 1); exit 1; }; }
3736 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3737 echo "${ECHO_T}$ac_cv_build" >&6; }
3738 case $ac_cv_build in
3740 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3741 echo "$as_me: error: invalid value of canonical build" >&2;}
3742 { (exit 1); exit 1; }; };;
3745 ac_save_IFS
=$IFS; IFS
='-'
3751 # Remember, the first character of IFS is used to create $*,
3752 # except with old shells:
3755 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3758 { echo "$as_me:$LINENO: checking host system type" >&5
3759 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3760 if test "${ac_cv_host+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 if test "x$host_alias" = x
; then
3764 ac_cv_host
=$ac_cv_build
3766 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3768 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3769 { (exit 1); exit 1; }; }
3773 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3774 echo "${ECHO_T}$ac_cv_host" >&6; }
3777 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3778 echo "$as_me: error: invalid value of canonical host" >&2;}
3779 { (exit 1); exit 1; }; };;
3782 ac_save_IFS
=$IFS; IFS
='-'
3788 # Remember, the first character of IFS is used to create $*,
3789 # except with old shells:
3792 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3795 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3796 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3797 if test "${lt_cv_path_SED+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 # Loop through the user's path and test for sed and gsed.
3801 # Then use that list of sed's as ones to test for truncation.
3802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir
=.
3807 for lt_ac_prog
in sed gsed
; do
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3810 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3818 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3819 # along with /bin/sed that truncates output.
3820 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3821 test ! -f $lt_ac_sed && continue
3822 cat /dev
/null
> conftest.
in
3824 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3825 # Check for GNU sed and select it if it is found.
3826 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3827 lt_cv_path_SED
=$lt_ac_sed
3831 cat conftest.
in conftest.
in >conftest.tmp
3832 mv conftest.tmp conftest.
in
3833 cp conftest.
in conftest.
nl
3835 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3836 cmp -s conftest.out conftest.
nl ||
break
3837 # 10000 chars as input seems more than enough
3838 test $lt_ac_count -gt 10 && break
3839 lt_ac_count
=`expr $lt_ac_count + 1`
3840 if test $lt_ac_count -gt $lt_ac_max; then
3841 lt_ac_max
=$lt_ac_count
3842 lt_cv_path_SED
=$lt_ac_sed
3851 { echo "$as_me:$LINENO: result: $SED" >&5
3852 echo "${ECHO_T}$SED" >&6; }
3854 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3855 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3856 if test "${ac_cv_path_GREP+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 # Extract the first word of "grep ggrep" to use in msg output
3860 if test -z "$GREP"; then
3861 set dummy
grep ggrep
; ac_prog_name
=$2
3862 if test "${ac_cv_path_GREP+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 ac_path_GREP_found
=false
3866 # Loop through the user's path and test for each of PROGNAME-LIST
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_prog
in grep ggrep
; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3875 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3876 # Check for GNU ac_path_GREP and select it if it is found.
3877 # Check for GNU $ac_path_GREP
3878 case `"$ac_path_GREP" --version 2>&1` in
3880 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3883 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3886 cat "conftest.in" "conftest.in" >"conftest.tmp"
3887 mv "conftest.tmp" "conftest.in"
3888 cp "conftest.in" "conftest.nl"
3889 echo 'GREP' >> "conftest.nl"
3890 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3891 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3892 ac_count
=`expr $ac_count + 1`
3893 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3894 # Best one so far, save it but keep looking for a better one
3895 ac_cv_path_GREP
="$ac_path_GREP"
3896 ac_path_GREP_max
=$ac_count
3898 # 10*(2^10) chars as input seems more than enough
3899 test $ac_count -gt 10 && break
3901 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3905 $ac_path_GREP_found && break 3
3915 GREP
="$ac_cv_path_GREP"
3916 if test -z "$GREP"; then
3917 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3918 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3919 { (exit 1); exit 1; }; }
3923 ac_cv_path_GREP
=$GREP
3928 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3929 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3930 GREP
="$ac_cv_path_GREP"
3933 { echo "$as_me:$LINENO: checking for egrep" >&5
3934 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3935 if test "${ac_cv_path_EGREP+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3939 then ac_cv_path_EGREP
="$GREP -E"
3941 # Extract the first word of "egrep" to use in msg output
3942 if test -z "$EGREP"; then
3943 set dummy
egrep; ac_prog_name
=$2
3944 if test "${ac_cv_path_EGREP+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 ac_path_EGREP_found
=false
3948 # Loop through the user's path and test for each of PROGNAME-LIST
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_prog
in egrep; do
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3957 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3958 # Check for GNU ac_path_EGREP and select it if it is found.
3959 # Check for GNU $ac_path_EGREP
3960 case `"$ac_path_EGREP" --version 2>&1` in
3962 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3965 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3968 cat "conftest.in" "conftest.in" >"conftest.tmp"
3969 mv "conftest.tmp" "conftest.in"
3970 cp "conftest.in" "conftest.nl"
3971 echo 'EGREP' >> "conftest.nl"
3972 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3974 ac_count
=`expr $ac_count + 1`
3975 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3976 # Best one so far, save it but keep looking for a better one
3977 ac_cv_path_EGREP
="$ac_path_EGREP"
3978 ac_path_EGREP_max
=$ac_count
3980 # 10*(2^10) chars as input seems more than enough
3981 test $ac_count -gt 10 && break
3983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3987 $ac_path_EGREP_found && break 3
3997 EGREP
="$ac_cv_path_EGREP"
3998 if test -z "$EGREP"; then
3999 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4000 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4001 { (exit 1); exit 1; }; }
4005 ac_cv_path_EGREP
=$EGREP
4011 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4012 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4013 EGREP
="$ac_cv_path_EGREP"
4017 # Check whether --with-gnu-ld was given.
4018 if test "${with_gnu_ld+set}" = set; then
4019 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4025 if test "$GCC" = yes; then
4026 # Check if gcc -print-prog-name=ld gives a path.
4027 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4028 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4031 # gcc leaves a trailing carriage return which upsets mingw
4032 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4034 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4037 # Accept absolute paths.
4039 re_direlt
='/[^/][^/]*/\.\./'
4040 # Canonicalize the pathname of ld
4041 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4042 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4043 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4045 test -z "$LD" && LD
="$ac_prog"
4048 # If it fails, then pretend we aren't using GCC.
4052 # If it is relative, then search for the first ld in PATH.
4056 elif test "$with_gnu_ld" = yes; then
4057 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4058 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4060 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4061 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4063 if test "${lt_cv_path_LD+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if test -z "$LD"; then
4067 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4068 for ac_dir
in $PATH; do
4070 test -z "$ac_dir" && ac_dir
=.
4071 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4072 lt_cv_path_LD
="$ac_dir/$ac_prog"
4073 # Check to see if the program is GNU ld. I'd rather use --version,
4074 # but apparently some variants of GNU ld only accept -v.
4075 # Break only if it was the GNU/non-GNU ld that we prefer.
4076 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4077 *GNU
* |
*'with BFD'*)
4078 test "$with_gnu_ld" != no
&& break
4081 test "$with_gnu_ld" != yes && break
4088 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4093 if test -n "$LD"; then
4094 { echo "$as_me:$LINENO: result: $LD" >&5
4095 echo "${ECHO_T}$LD" >&6; }
4097 { echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6; }
4100 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4101 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4102 { (exit 1); exit 1; }; }
4103 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4104 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4108 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4109 case `$LD -v 2>&1 </dev/null` in
4110 *GNU
* |
*'with BFD'*)
4111 lt_cv_prog_gnu_ld
=yes
4114 lt_cv_prog_gnu_ld
=no
4118 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4119 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4120 with_gnu_ld
=$lt_cv_prog_gnu_ld
4123 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4124 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4125 if test "${lt_cv_ld_reload_flag+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 lt_cv_ld_reload_flag
='-r'
4130 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4131 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4132 reload_flag
=$lt_cv_ld_reload_flag
4133 case $reload_flag in
4135 *) reload_flag
=" $reload_flag" ;;
4137 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4140 if test "$GCC" = yes; then
4141 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4143 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4148 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4149 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4150 if test "${lt_cv_path_NM+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 if test -n "$NM"; then
4154 # Let the user override the test.
4157 lt_nm_to_check
="${ac_tool_prefix}nm"
4158 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4159 lt_nm_to_check
="$lt_nm_to_check nm"
4161 for lt_tmp_nm
in $lt_nm_to_check; do
4162 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4163 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4165 test -z "$ac_dir" && ac_dir
=.
4166 tmp_nm
="$ac_dir/$lt_tmp_nm"
4167 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4168 # Check to see if the nm accepts a BSD-compat flag.
4169 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4170 # nm: unknown option "B" ignored
4171 # Tru64's nm complains that /dev/null is an invalid object file
4172 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4173 */dev
/null
* |
*'Invalid file or object type'*)
4174 lt_cv_path_NM
="$tmp_nm -B"
4178 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4180 lt_cv_path_NM
="$tmp_nm -p"
4184 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4185 continue # so that we can try to find one that supports BSD flags
4194 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4197 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4198 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4201 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4202 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4203 if test "${lt_cv_deplibs_check_method+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4207 lt_cv_file_magic_test_file
=
4208 lt_cv_deplibs_check_method
='unknown'
4209 # Need to set the preceding variable on all platforms that support
4210 # interlibrary dependencies.
4211 # 'none' -- dependencies not supported.
4212 # `unknown' -- same as none, but documents that we really don't know.
4213 # 'pass_all' -- all dependencies passed with no checks.
4214 # 'test_compile' -- check by making test program.
4215 # 'file_magic [[regex]]' -- check by looking for files in library path
4216 # which responds to the $file_magic_cmd with a given extended regex.
4217 # If you have `file' or equivalent on your system and you're not sure
4218 # whether `pass_all' will *always* work, you probably want this one.
4222 lt_cv_deplibs_check_method
=pass_all
4226 lt_cv_deplibs_check_method
=pass_all
4230 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4231 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4232 lt_cv_file_magic_test_file
=/shlib
/libc.so
4236 # func_win32_libid is a shell function defined in ltmain.sh
4237 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4238 lt_cv_file_magic_cmd
='func_win32_libid'
4242 # Base MSYS/MinGW do not provide the 'file' command needed by
4243 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4244 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4245 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4248 darwin
* | rhapsody
*)
4249 lt_cv_deplibs_check_method
=pass_all
4252 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4253 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4256 # Not sure whether the presence of OpenBSD here was a mistake.
4257 # Let's accept both of them until this is cleared up.
4258 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4259 lt_cv_file_magic_cmd
=/usr
/bin
/file
4260 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4264 lt_cv_deplibs_check_method
=pass_all
4269 lt_cv_deplibs_check_method
=pass_all
4272 hpux10.20
* | hpux11
*)
4273 lt_cv_file_magic_cmd
=/usr
/bin
/file
4276 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4277 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4280 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]'
4281 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4284 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4285 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4291 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4292 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4295 irix5
* | irix6
* | nonstopux
*)
4297 *-32|
*"-32 ") libmagic
=32-bit;;
4298 *-n32|
*"-n32 ") libmagic
=N32
;;
4299 *-64|
*"-64 ") libmagic
=64-bit;;
4300 *) libmagic
=never-match
;;
4302 lt_cv_deplibs_check_method
=pass_all
4305 # This must be Linux ELF.
4307 lt_cv_deplibs_check_method
=pass_all
4311 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4312 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4314 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4319 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4320 lt_cv_file_magic_cmd
=/usr
/bin
/file
4321 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4325 lt_cv_deplibs_check_method
=unknown
4329 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4330 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4332 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4336 osf3
* | osf4
* | osf5
*)
4337 lt_cv_deplibs_check_method
=pass_all
4341 lt_cv_deplibs_check_method
=pass_all
4345 case $host_vendor in
4347 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]'
4348 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4351 lt_cv_deplibs_check_method
=pass_all
4354 lt_cv_file_magic_cmd
='/bin/file'
4355 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4358 lt_cv_file_magic_cmd
='/bin/file'
4359 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4360 lt_cv_file_magic_test_file
=/lib
/libc.so
4363 lt_cv_deplibs_check_method
=pass_all
4366 lt_cv_deplibs_check_method
=pass_all
4371 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4372 lt_cv_deplibs_check_method
=pass_all
4377 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4378 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4379 file_magic_cmd
=$lt_cv_file_magic_cmd
4380 deplibs_check_method
=$lt_cv_deplibs_check_method
4381 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4386 # If no C compiler was specified, use CC.
4389 # If no C compiler flags were specified, use CFLAGS.
4390 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4392 # Allow CC to be a program name with arguments.
4396 # Check whether --enable-libtool-lock was given.
4397 if test "${enable_libtool_lock+set}" = set; then
4398 enableval
=$enable_libtool_lock;
4401 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4403 # Some flags need to be propagated to the compiler or linker for good
4407 # Find out which ABI we are using.
4408 echo 'int i;' > conftest.
$ac_ext
4409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4410 (eval $ac_compile) 2>&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; then
4414 case `/usr/bin/file conftest.$ac_objext` in
4426 # Find out which ABI we are using.
4427 echo '#line 4427 "configure"' > conftest.
$ac_ext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; then
4433 if test "$lt_cv_prog_gnu_ld" = yes; then
4434 case `/usr/bin/file conftest.$ac_objext` in
4436 LD
="${LD-ld} -melf32bsmip"
4439 LD
="${LD-ld} -melf32bmipn32"
4442 LD
="${LD-ld} -melf64bmip"
4446 case `/usr/bin/file conftest.$ac_objext` in
4462 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4463 # Find out which ABI we are using.
4464 echo 'int i;' > conftest.
$ac_ext
4465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4466 (eval $ac_compile) 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; then
4470 case `/usr/bin/file conftest.o` in
4474 LD
="${LD-ld} -m elf_i386"
4476 ppc64-
*linux
*|powerpc64-
*linux
*)
4477 LD
="${LD-ld} -m elf32ppclinux"
4480 LD
="${LD-ld} -m elf_s390"
4483 LD
="${LD-ld} -m elf32_sparc"
4490 LD
="${LD-ld} -m elf_x86_64"
4492 ppc
*-*linux
*|powerpc
*-*linux
*)
4493 LD
="${LD-ld} -m elf64ppc"
4496 LD
="${LD-ld} -m elf64_s390"
4499 LD
="${LD-ld} -m elf64_sparc"
4509 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4510 SAVE_CFLAGS
="$CFLAGS"
4511 CFLAGS
="$CFLAGS -belf"
4512 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4513 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4514 if test "${lt_cv_cc_needs_belf+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 ac_cpp
='$CPP $CPPFLAGS'
4519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4523 cat >conftest.
$ac_ext <<_ACEOF
4526 cat confdefs.h
>>conftest.
$ac_ext
4527 cat >>conftest.
$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4538 rm -f conftest.
$ac_objext conftest
$ac_exeext
4539 if { (ac_try
="$ac_link"
4541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4545 (eval "$ac_link") 2>conftest.er1
4547 grep -v '^ *+' conftest.er1 >conftest.err
4549 cat conftest.err >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } && {
4552 test -z "$ac_c_werror_flag" ||
4553 test ! -s conftest.err
4554 } && test -s conftest$ac_exeext &&
4555 $as_test_x conftest$ac_exeext; then
4556 lt_cv_cc_needs_belf=yes
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.$ac_ext >&5
4561 lt_cv_cc_needs_belf=no
4564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4565 conftest$ac_exeext conftest.$ac_ext
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4574 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4575 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4576 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4577 CFLAGS="$SAVE_CFLAGS"
4581 # Find out which ABI we are using.
4582 echo 'int i;' > conftest.$ac_ext
4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4584 (eval $ac_compile) 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; then
4588 case `/usr
/bin
/file conftest.o
` in
4590 case $lt_cv_prog_gnu_ld in
4591 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4592 *) LD="${LD-ld} -64" ;;
4603 need_locks="$enable_libtool_lock"
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4611 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4612 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4613 # On Suns, sometimes $CPP names a directory.
4614 if test -n "$CPP" && test -d "$CPP"; then
4617 if test -z "$CPP"; then
4618 if test "${ac_cv_prog_CPP+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 # Double quotes because CPP needs to be expanded
4622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 for ac_c_preproc_warn_flag in '' yes
4627 # Use a header file that comes with gcc, so configuring glibc
4628 # with a fresh cross-compiler works.
4629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4630 # <limits.h> exists even on freestanding compilers.
4631 # On the NeXT, cc -E runs the code through the compiler's parser,
4632 # not just through cpp. "Syntax error" is here to catch this case.
4633 cat >conftest.$ac_ext <<_ACEOF
4636 cat confdefs.h >>conftest.$ac_ext
4637 cat >>conftest.$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4640 # include <limits.h>
4642 # include <assert.h>
4646 if { (ac_try="$ac_cpp conftest.$ac_ext"
4648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4649 *) ac_try_echo
=$ac_try;;
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4654 grep -v '^ *+' conftest.er1
>conftest.err
4656 cat conftest.err
>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } >/dev
/null
&& {
4659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4660 test ! -s conftest.err
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.
$ac_ext >&5
4667 # Broken: fails on valid input.
4671 rm -f conftest.err conftest.
$ac_ext
4673 # OK, works on sane cases. Now check whether nonexistent headers
4674 # can be detected and how.
4675 cat >conftest.
$ac_ext <<_ACEOF
4678 cat confdefs.h
>>conftest.
$ac_ext
4679 cat >>conftest.
$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4681 #include <ac_nonexistent.h>
4683 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4691 grep -v '^ *+' conftest.er1 >conftest.err
4693 cat conftest.err >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } >/dev/null && {
4696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4697 test ! -s conftest.err
4699 # Broken: success on invalid input.
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4705 # Passes both tests.
4710 rm -f conftest.err conftest.$ac_ext
4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4714 rm -f conftest.err conftest.
$ac_ext
4715 if $ac_preproc_ok; then
4727 { echo "$as_me:$LINENO: result: $CPP" >&5
4728 echo "${ECHO_T}$CPP" >&6; }
4730 for ac_c_preproc_warn_flag
in '' yes
4732 # Use a header file that comes with gcc, so configuring glibc
4733 # with a fresh cross-compiler works.
4734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4735 # <limits.h> exists even on freestanding compilers.
4736 # On the NeXT, cc -E runs the code through the compiler's parser,
4737 # not just through cpp. "Syntax error" is here to catch this case.
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4745 # include <limits.h>
4747 # include <assert.h>
4751 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4754 *) ac_try_echo=$ac_try;;
4756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4759 grep -v '^ *+' conftest.er1 >conftest.err
4761 cat conftest.err >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } >/dev/null && {
4764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4765 test ! -s conftest.err
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.$ac_ext >&5
4772 # Broken: fails on valid input.
4776 rm -f conftest.err conftest.$ac_ext
4778 # OK, works on sane cases. Now check whether nonexistent headers
4779 # can be detected and how.
4780 cat >conftest.$ac_ext <<_ACEOF
4783 cat confdefs.h >>conftest.$ac_ext
4784 cat >>conftest.$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4786 #include <ac_nonexistent.h>
4788 if { (ac_try="$ac_cpp conftest.$ac_ext"
4790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4791 *) ac_try_echo
=$ac_try;;
4793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } >/dev
/null
&& {
4801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4802 test ! -s conftest.err
4804 # Broken: success on invalid input.
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.
$ac_ext >&5
4810 # Passes both tests.
4815 rm -f conftest.err conftest.
$ac_ext
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.err conftest.
$ac_ext
4820 if $ac_preproc_ok; then
4823 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4824 See \`config.log' for more details." >&5
4825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details." >&2;}
4827 { (exit 1); exit 1; }; }
4831 ac_cpp
='$CPP $CPPFLAGS'
4832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4837 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4838 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4839 if test "${ac_cv_header_stdc+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4861 rm -f conftest.
$ac_objext
4862 if { (ac_try
="$ac_compile"
4864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;;
4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868 (eval "$ac_compile") 2>conftest.er1
4870 grep -v '^ *+' conftest.er1 >conftest.err
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && {
4875 test -z "$ac_c_werror_flag" ||
4876 test ! -s conftest.err
4877 } && test -s conftest.$ac_objext; then
4878 ac_cv_header_stdc=yes
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4883 ac_cv_header_stdc=no
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888 if test $ac_cv_header_stdc = yes; then
4889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4900 $EGREP "memchr" >/dev/null 2>&1; then
4903 ac_cv_header_stdc=no
4909 if test $ac_cv_header_stdc = yes; then
4910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4921 $EGREP "free" >/dev/null 2>&1; then
4924 ac_cv_header_stdc=no
4930 if test $ac_cv_header_stdc = yes; then
4931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4932 if test "$cross_compiling" = yes; then
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4943 #if ((' ' & 0x0FF) == 0x020)
4944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4947 # define ISLOWER(c) \
4948 (('a' <= (c) && (c) <= 'i') \
4949 || ('j' <= (c) && (c) <= 'r') \
4950 || ('s' <= (c) && (c) <= 'z'))
4951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4959 for (i = 0; i < 256; i++)
4960 if (XOR (islower (i), ISLOWER (i))
4961 || toupper (i) != TOUPPER (i))
4966 rm -f conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4970 *) ac_try_echo
=$ac_try;;
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4977 { (case "(($ac_try" in
4978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_try") 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; }; then
4988 echo "$as_me: program exited with status $ac_status" >&5
4989 echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.$ac_ext >&5
4993 ac_cv_header_stdc=no
4995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5001 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5002 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5003 if test $ac_cv_header_stdc = yes; then
5005 cat >>confdefs.h <<\_ACEOF
5006 #define STDC_HEADERS 1
5011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5021 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5022 inttypes.h stdint.h unistd.h
5024 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5036 $ac_includes_default
5038 #include <$ac_header>
5040 rm -f conftest.$ac_objext
5041 if { (ac_try="$ac_compile"
5043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5044 *) ac_try_echo
=$ac_try;;
5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5047 (eval "$ac_compile") 2>conftest.er1
5049 grep -v '^ *+' conftest.er1
>conftest.err
5051 cat conftest.err
>&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } && {
5054 test -z "$ac_c_werror_flag" ||
5055 test ! -s conftest.err
5056 } && test -s conftest.
$ac_objext; then
5057 eval "$as_ac_Header=yes"
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.
$ac_ext >&5
5062 eval "$as_ac_Header=no"
5065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5067 ac_res
=`eval echo '${'$as_ac_Header'}'`
5068 { echo "$as_me:$LINENO: result: $ac_res" >&5
5069 echo "${ECHO_T}$ac_res" >&6; }
5070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5071 cat >>confdefs.h
<<_ACEOF
5072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5081 for ac_header
in dlfcn.h
5083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5084 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5087 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 ac_res
=`eval echo '${'$as_ac_Header'}'`
5091 { echo "$as_me:$LINENO: result: $ac_res" >&5
5092 echo "${ECHO_T}$ac_res" >&6; }
5094 # Is the header compilable?
5095 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5097 cat >conftest.
$ac_ext <<_ACEOF
5100 cat confdefs.h
>>conftest.
$ac_ext
5101 cat >>conftest.
$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 $ac_includes_default
5104 #include <$ac_header>
5106 rm -f conftest.
$ac_objext
5107 if { (ac_try
="$ac_compile"
5109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5110 *) ac_try_echo=$ac_try;;
5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5113 (eval "$ac_compile") 2>conftest.er1
5115 grep -v '^ *+' conftest.er1 >conftest.err
5117 cat conftest.err >&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); } && {
5120 test -z "$ac_c_werror_flag" ||
5121 test ! -s conftest.err
5122 } && test -s conftest.$ac_objext; then
5123 ac_header_compiler=yes
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_header_compiler=no
5131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5133 echo "${ECHO_T}$ac_header_compiler" >&6; }
5135 # Is the header present?
5136 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5138 cat >conftest.$ac_ext <<_ACEOF
5141 cat confdefs.h >>conftest.$ac_ext
5142 cat >>conftest.$ac_ext <<_ACEOF
5143 /* end confdefs.h. */
5144 #include <$ac_header>
5146 if { (ac_try="$ac_cpp conftest.$ac_ext"
5148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5149 *) ac_try_echo
=$ac_try;;
5151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5154 grep -v '^ *+' conftest.er1
>conftest.err
5156 cat conftest.err
>&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); } >/dev
/null
&& {
5159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5160 test ! -s conftest.err
5162 ac_header_preproc
=yes
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.
$ac_ext >&5
5167 ac_header_preproc
=no
5170 rm -f conftest.err conftest.
$ac_ext
5171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5172 echo "${ECHO_T}$ac_header_preproc" >&6; }
5174 # So? What about this header?
5175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5181 ac_header_preproc
=yes
5184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5197 ## -------------------------------------------------- ##
5198 ## Report this to courier-users@lists.sourceforge.net ##
5199 ## -------------------------------------------------- ##
5201 ) |
sed "s/^/$as_me: WARNING: /" >&2
5204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5206 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 eval "$as_ac_Header=\$ac_header_preproc"
5211 ac_res
=`eval echo '${'$as_ac_Header'}'`
5212 { echo "$as_me:$LINENO: result: $ac_res" >&5
5213 echo "${ECHO_T}$ac_res" >&6; }
5216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5217 cat >>confdefs.h
<<_ACEOF
5218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5226 ac_cpp
='$CXXCPP $CPPFLAGS'
5227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5230 if test -z "$CXX"; then
5231 if test -n "$CCC"; then
5234 if test -n "$ac_tool_prefix"; then
5235 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5238 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_CXX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$CXX"; then
5245 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 if test -n "$CXX"; then
5266 { echo "$as_me:$LINENO: result: $CXX" >&5
5267 echo "${ECHO_T}$CXX" >&6; }
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$CXX" && break
5277 if test -z "$CXX"; then
5279 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy
$ac_prog; ac_word
=$2
5283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5288 if test -n "$ac_ct_CXX"; then
5289 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5309 if test -n "$ac_ct_CXX"; then
5310 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5311 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5313 { echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6; }
5318 test -n "$ac_ct_CXX" && break
5321 if test "x$ac_ct_CXX" = x
; then
5324 case $cross_compiling:$ac_tool_warned in
5326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5327 whose name does not start with the host triplet. If you think this
5328 configuration is useful to you, please write to autoconf@gnu.org." >&5
5329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5330 whose name does not start with the host triplet. If you think this
5331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5332 ac_tool_warned
=yes ;;
5340 # Provide some information about the compiler.
5341 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5342 ac_compiler
=`set X $ac_compile; echo $2`
5343 { (ac_try
="$ac_compiler --version >&5"
5345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5349 (eval "$ac_compiler --version >&5") 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }
5353 { (ac_try="$ac_compiler -v >&5"
5355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5356 *) ac_try_echo
=$ac_try;;
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_compiler -v >&5") 2>&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }
5363 { (ac_try
="$ac_compiler -V >&5"
5365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5366 *) ac_try_echo=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_compiler -V >&5") 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }
5374 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5375 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5376 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 cat >conftest.$ac_ext <<_ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5397 rm -f conftest.$ac_objext
5398 if { (ac_try="$ac_compile"
5400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5401 *) ac_try_echo
=$ac_try;;
5403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5404 (eval "$ac_compile") 2>conftest.er1
5406 grep -v '^ *+' conftest.er1
>conftest.err
5408 cat conftest.err
>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_cxx_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest.
$ac_objext; then
5416 echo "$as_me: failed program was:" >&5
5417 sed 's/^/| /' conftest.
$ac_ext >&5
5422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5426 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5427 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5428 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5429 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5430 ac_save_CXXFLAGS
=$CXXFLAGS
5431 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5432 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5433 if test "${ac_cv_prog_cxx_g+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5437 ac_cxx_werror_flag
=yes
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5455 rm -f conftest.
$ac_objext
5456 if { (ac_try
="$ac_compile"
5458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5459 *) ac_try_echo=$ac_try;;
5461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5462 (eval "$ac_compile") 2>conftest.er1
5464 grep -v '^ *+' conftest.er1 >conftest.err
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_cxx_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest.$ac_objext; then
5472 ac_cv_prog_cxx_g=yes
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.$ac_ext >&5
5478 cat >conftest.$ac_ext <<_ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5493 rm -f conftest.$ac_objext
5494 if { (ac_try="$ac_compile"
5496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5497 *) ac_try_echo
=$ac_try;;
5499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5500 (eval "$ac_compile") 2>conftest.er1
5502 grep -v '^ *+' conftest.er1
>conftest.err
5504 cat conftest.err
>&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } && {
5507 test -z "$ac_cxx_werror_flag" ||
5508 test ! -s conftest.err
5509 } && test -s conftest.
$ac_objext; then
5512 echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.
$ac_ext >&5
5515 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5517 cat >conftest.
$ac_ext <<_ACEOF
5520 cat confdefs.h
>>conftest.
$ac_ext
5521 cat >>conftest.
$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5532 rm -f conftest.
$ac_objext
5533 if { (ac_try
="$ac_compile"
5535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5539 (eval "$ac_compile") 2>conftest.er1
5541 grep -v '^ *+' conftest.er1 >conftest.err
5543 cat conftest.err >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } && {
5546 test -z "$ac_cxx_werror_flag" ||
5547 test ! -s conftest.err
5548 } && test -s conftest.$ac_objext; then
5549 ac_cv_prog_cxx_g=yes
5551 echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.$ac_ext >&5
5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5564 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5566 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5567 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5568 if test "$ac_test_CXXFLAGS" = set; then
5569 CXXFLAGS=$ac_save_CXXFLAGS
5570 elif test $ac_cv_prog_cxx_g = yes; then
5571 if test "$GXX" = yes; then
5577 if test "$GXX" = yes; then
5584 ac_cpp='$CXXCPP $CPPFLAGS'
5585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5589 depcc="$CXX" am_compiler_list=
5591 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5592 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5593 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5597 # We make a subdir and do the tests there. Otherwise we can end up
5598 # making bogus files that we don't know about and never remove. For
5599 # instance it was reported that on HP-UX the gcc test will end up
5600 # making a dummy file named `D
' -- because `-MD' means
`put the output
5603 # Copy depcomp to subdir because otherwise we won't find it if we're
5604 # using a relative directory.
5605 cp "$am_depcomp" conftest.dir
5607 # We will build objects and dependencies in a subdirectory because
5608 # it helps to detect inapplicable dependency modes. For instance
5609 # both Tru64's cc and ICC support -MD to output dependencies as a
5610 # side effect of compilation, but ICC will put the dependencies in
5611 # the current directory while Tru64 will put them in the object
5615 am_cv_CXX_dependencies_compiler_type=none
5616 if test "$am_compiler_list" = ""; then
5617 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5619 for depmode in $am_compiler_list; do
5620 # Setup a source with many dependencies, because some compilers
5621 # like to wrap large dependency lists on column 80 (with \), and
5622 # we should not choose a depcomp mode which is confused by this.
5624 # We need to recreate these files for each test, as the compiler may
5625 # overwrite some of them when testing with obscure command lines.
5626 # This happens at least with the AIX C compiler.
5628 for i in 1 2 3 4 5 6; do
5629 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5630 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5631 # Solaris 8's
{/usr
,}/bin
/sh.
5632 touch sub
/conftst
$i.h
5634 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5638 # after this tag, mechanisms are not by side-effect, so they'll
5639 # only be used when explicitly requested
5640 if test "x$enable_dependency_tracking" = xyes
; then
5648 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5649 # mode. It turns out that the SunPro C++ compiler does not properly
5650 # handle `-M -o', and we need to detect this.
5651 if depmode
=$depmode \
5652 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5653 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5654 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5655 >/dev
/null
2>conftest.err
&&
5656 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5657 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5658 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5659 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5660 # icc doesn't choke on unknown options, it will just issue warnings
5661 # or remarks (even with -Werror). So we grep stderr for any message
5662 # that says an option was ignored or not supported.
5663 # When given -MP, icc 7.0 and 7.1 complain thusly:
5664 # icc: Command line warning: ignoring option '-M'; no argument required
5665 # The diagnosis changed in icc 8.0:
5666 # icc: Command line remark: option '-MP' not supported
5667 if (grep 'ignoring option' conftest.err ||
5668 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5669 am_cv_CXX_dependencies_compiler_type
=$depmode
5678 am_cv_CXX_dependencies_compiler_type
=none
5682 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5683 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5684 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5687 test "x$enable_dependency_tracking" != xno \
5688 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5689 am__fastdepCXX_TRUE
=
5690 am__fastdepCXX_FALSE
='#'
5692 am__fastdepCXX_TRUE
='#'
5693 am__fastdepCXX_FALSE
=
5699 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5700 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5701 (test "X$CXX" != "Xg++"))) ; then
5703 ac_cpp
='$CXXCPP $CPPFLAGS'
5704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5707 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5708 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5709 if test -z "$CXXCPP"; then
5710 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 # Double quotes because CXXCPP needs to be expanded
5714 for CXXCPP
in "$CXX -E" "/lib/cpp"
5717 for ac_cxx_preproc_warn_flag
in '' yes
5719 # Use a header file that comes with gcc, so configuring glibc
5720 # with a fresh cross-compiler works.
5721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5722 # <limits.h> exists even on freestanding compilers.
5723 # On the NeXT, cc -E runs the code through the compiler's parser,
5724 # not just through cpp. "Syntax error" is here to catch this case.
5725 cat >conftest.
$ac_ext <<_ACEOF
5728 cat confdefs.h
>>conftest.
$ac_ext
5729 cat >>conftest.
$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5732 # include <limits.h>
5734 # include <assert.h>
5738 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1 >conftest.err
5748 cat conftest.err >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } >/dev/null && {
5751 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5752 test ! -s conftest.err
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.$ac_ext >&5
5759 # Broken: fails on valid input.
5763 rm -f conftest.err conftest.$ac_ext
5765 # OK, works on sane cases. Now check whether nonexistent headers
5766 # can be detected and how.
5767 cat >conftest.$ac_ext <<_ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5773 #include <ac_nonexistent.h>
5775 if { (ac_try="$ac_cpp conftest.$ac_ext"
5777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5778 *) ac_try_echo
=$ac_try;;
5780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } >/dev
/null
&& {
5788 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5789 test ! -s conftest.err
5791 # Broken: success on invalid input.
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 # Passes both tests.
5802 rm -f conftest.err conftest.
$ac_ext
5805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5806 rm -f conftest.err conftest.
$ac_ext
5807 if $ac_preproc_ok; then
5812 ac_cv_prog_CXXCPP
=$CXXCPP
5815 CXXCPP
=$ac_cv_prog_CXXCPP
5817 ac_cv_prog_CXXCPP
=$CXXCPP
5819 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5820 echo "${ECHO_T}$CXXCPP" >&6; }
5822 for ac_cxx_preproc_warn_flag
in '' yes
5824 # Use a header file that comes with gcc, so configuring glibc
5825 # with a fresh cross-compiler works.
5826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5827 # <limits.h> exists even on freestanding compilers.
5828 # On the NeXT, cc -E runs the code through the compiler's parser,
5829 # not just through cpp. "Syntax error" is here to catch this case.
5830 cat >conftest.
$ac_ext <<_ACEOF
5833 cat confdefs.h
>>conftest.
$ac_ext
5834 cat >>conftest.
$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 # include <limits.h>
5839 # include <assert.h>
5843 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5846 *) ac_try_echo=$ac_try;;
5848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } >/dev/null && {
5856 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5857 test ! -s conftest.err
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5864 # Broken: fails on valid input.
5868 rm -f conftest.err conftest.$ac_ext
5870 # OK, works on sane cases. Now check whether nonexistent headers
5871 # can be detected and how.
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #include <ac_nonexistent.h>
5880 if { (ac_try="$ac_cpp conftest.$ac_ext"
5882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5883 *) ac_try_echo
=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } >/dev
/null
&& {
5893 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5894 test ! -s conftest.err
5896 # Broken: success on invalid input.
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5902 # Passes both tests.
5907 rm -f conftest.err conftest.
$ac_ext
5910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5911 rm -f conftest.err conftest.
$ac_ext
5912 if $ac_preproc_ok; then
5915 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5916 See \`config.log' for more details." >&5
5917 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5918 See \`config.log' for more details." >&2;}
5919 { (exit 1); exit 1; }; }
5923 ac_cpp
='$CXXCPP $CPPFLAGS'
5924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5932 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5933 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5934 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5935 if test -n "$ac_tool_prefix"; then
5936 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
5938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5942 if test "${ac_cv_prog_F77+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 if test -n "$F77"; then
5946 ac_cv_prog_F77
="$F77" # Let the user override the test.
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 for ac_exec_ext
in '' $ac_executable_extensions; do
5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 if test -n "$F77"; then
5967 { echo "$as_me:$LINENO: result: $F77" >&5
5968 echo "${ECHO_T}$F77" >&6; }
5970 { echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6; }
5975 test -n "$F77" && break
5978 if test -z "$F77"; then
5980 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
5982 # Extract the first word of "$ac_prog", so it can be a program name with args.
5983 set dummy
$ac_prog; ac_word
=$2
5984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5986 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 if test -n "$ac_ct_F77"; then
5990 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir
=.
5997 for ac_exec_ext
in '' $ac_executable_extensions; do
5998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999 ac_cv_prog_ac_ct_F77
="$ac_prog"
6000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6010 if test -n "$ac_ct_F77"; then
6011 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6012 echo "${ECHO_T}$ac_ct_F77" >&6; }
6014 { echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6; }
6019 test -n "$ac_ct_F77" && break
6022 if test "x$ac_ct_F77" = x
; then
6025 case $cross_compiling:$ac_tool_warned in
6027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6028 whose name does not start with the host triplet. If you think this
6029 configuration is useful to you, please write to autoconf@gnu.org." >&5
6030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet. If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6033 ac_tool_warned
=yes ;;
6040 # Provide some information about the compiler.
6041 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6042 ac_compiler
=`set X $ac_compile; echo $2`
6043 { (ac_try
="$ac_compiler --version >&5"
6045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6046 *) ac_try_echo=$ac_try;;
6048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6049 (eval "$ac_compiler --version >&5") 2>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }
6053 { (ac_try="$ac_compiler -v >&5"
6055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6056 *) ac_try_echo
=$ac_try;;
6058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6059 (eval "$ac_compiler -v >&5") 2>&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }
6063 { (ac_try
="$ac_compiler -V >&5"
6065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6066 *) ac_try_echo=$ac_try;;
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 (eval "$ac_compiler -V >&5") 2>&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }
6075 # If we don't use `.F
' as extension, the preprocessor is not run on the
6076 # input file. (Note that this only needs to work for GNU compilers.)
6079 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6080 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6081 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 cat >conftest.$ac_ext <<_ACEOF
6092 rm -f conftest.$ac_objext
6093 if { (ac_try="$ac_compile"
6095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6096 *) ac_try_echo=$ac_try;;
6098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6099 (eval "$ac_compile") 2>conftest.er1
6101 grep -v '^
*+' conftest.er1 >conftest.err
6103 cat conftest.err >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } && {
6106 test -z "$ac_f77_werror_flag" ||
6107 test ! -s conftest.err
6108 } && test -s conftest.$ac_objext; then
6111 echo "$as_me: failed program was:" >&5
6112 sed 's
/^
/|
/' conftest.$ac_ext >&5
6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6118 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6121 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6122 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6124 ac_test_FFLAGS=${FFLAGS+set}
6125 ac_save_FFLAGS=$FFLAGS
6127 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6128 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6129 if test "${ac_cv_prog_f77_g+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 cat >conftest.$ac_ext <<_ACEOF
6138 rm -f conftest.$ac_objext
6139 if { (ac_try="$ac_compile"
6141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142 *) ac_try_echo=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_compile") 2>conftest.er1
6147 grep -v '^
*+' conftest.er1 >conftest.err
6149 cat conftest.err >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } && {
6152 test -z "$ac_f77_werror_flag" ||
6153 test ! -s conftest.err
6154 } && test -s conftest.$ac_objext; then
6155 ac_cv_prog_f77_g=yes
6157 echo "$as_me: failed program was:" >&5
6158 sed 's
/^
/|
/' conftest.$ac_ext >&5
6163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6167 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6168 if test "$ac_test_FFLAGS" = set; then
6169 FFLAGS=$ac_save_FFLAGS
6170 elif test $ac_cv_prog_f77_g = yes; then
6171 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6177 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6184 G77=`test $ac_compiler_gnu = yes && echo yes`
6186 ac_cpp='$CPP $CPPFLAGS'
6187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6188 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6193 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6195 # find the maximum length of command line arguments
6196 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6197 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6198 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 # On DJGPP, this test can blow up pretty badly due to problems in libc
6207 # (any single argument exceeding 2000 bytes causes a buffer overrun
6208 # during glob expansion). Even if it were fixed, the result of this
6209 # check would be larger than it should be.
6210 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6214 # Under GNU Hurd, this test is not required because there is
6215 # no limit to the length of command line arguments.
6216 # Libtool will interpret -1 as no limit whatsoever
6217 lt_cv_sys_max_cmd_len
=-1;
6221 # On Win9x/ME, this test blows up -- it succeeds, but takes
6222 # about 5 minutes as the teststring grows exponentially.
6223 # Worse, since 9x/ME are not pre-emptively multitasking,
6224 # you end up with a "frozen" computer, even though with patience
6225 # the test eventually succeeds (with a max line length of 256k).
6226 # Instead, let's just punt: use the minimum linelength reported by
6227 # all of the supported platforms: 8192 (on NT/2K/XP).
6228 lt_cv_sys_max_cmd_len
=8192;
6232 # On AmigaOS with pdksh, this test takes hours, literally.
6233 # So we just punt and use a minimum line length of 8192.
6234 lt_cv_sys_max_cmd_len
=8192;
6237 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6238 # This has been around since 386BSD, at least. Likely further.
6239 if test -x /sbin
/sysctl
; then
6240 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6241 elif test -x /usr
/sbin
/sysctl
; then
6242 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6244 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6246 # And add a safety zone
6247 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6248 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6252 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6253 lt_cv_sys_max_cmd_len
=196608
6257 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6258 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6259 # nice to cause kernel panics so lets avoid the loop below.
6260 # First set a reasonable default.
6261 lt_cv_sys_max_cmd_len
=16384
6263 if test -x /sbin
/sysconfig
; then
6264 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6265 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6270 lt_cv_sys_max_cmd_len
=102400
6272 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6273 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6274 if test -n "$kargmax"; then
6275 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6277 lt_cv_sys_max_cmd_len
=32768
6281 # If test is not a shell built-in, we'll probably end up computing a
6282 # maximum length that is only half of the actual maximum length, but
6284 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6285 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6286 = "XX$teststring") >/dev
/null
2>&1 &&
6287 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6288 lt_cv_sys_max_cmd_len
=$new_result &&
6289 test $i != 17 # 1/2 MB should be enough
6292 teststring
=$teststring$teststring
6295 # Add a significant safety factor because C++ compilers can tack on massive
6296 # amounts of additional arguments before passing them to the linker.
6297 # It appears as though 1/2 is a usable value.
6298 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6304 if test -n $lt_cv_sys_max_cmd_len ; then
6305 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6306 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6308 { echo "$as_me:$LINENO: result: none" >&5
6309 echo "${ECHO_T}none" >&6; }
6315 # Check for command to grab the raw symbol name followed by C symbol from nm.
6316 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6317 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6318 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 # These are sane defaults that work on at least a few old systems.
6323 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6325 # Character class describing NM global symbol codes.
6326 symcode
='[BCDEGRST]'
6328 # Regexp to match symbols that can be accessed directly from C.
6329 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6331 # Transform an extracted symbol line into a proper C declaration
6332 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6334 # Transform an extracted symbol line into symbol name and symbol address
6335 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'"
6337 # Define system-specific variables.
6342 cygwin
* | mingw
* | pw32
*)
6343 symcode
='[ABCDGISTW]'
6345 hpux
*) # Its linker distinguishes data from code symbols
6346 if test "$host_cpu" = ia64
; then
6347 symcode
='[ABCDEGRST]'
6349 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6350 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'"
6353 if test "$host_cpu" = ia64
; then
6354 symcode
='[ABCDGIRSTW]'
6355 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6356 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'"
6360 symcode
='[BCDEGRST]'
6363 symcode
='[BCDEGQRST]'
6374 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6382 # Handle CRLF in mingw tool chain
6386 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6390 # If we're using GNU nm, then use its standard symbol codes.
6391 case `$NM -V 2>&1` in
6392 *GNU
* |
*'with BFD'*)
6393 symcode
='[ABCDGIRSTW]' ;;
6396 # Try without a prefix undercore, then with it.
6397 for ac_symprfx
in "" "_"; do
6399 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6400 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6402 # Write the raw and C identifiers.
6403 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6405 # Check to see that the pipe works correctly.
6409 cat > conftest.
$ac_ext <<EOF
6414 void nm_test_func(){}
6418 int main(){nm_test_var='a';nm_test_func();return(0);}
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; then
6426 # Now try to grab the symbols.
6428 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6429 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && test -s "$nlist"; then
6433 # Try sorting and uniquifying the output.
6434 if sort "$nlist" |
uniq > "$nlist"T
; then
6435 mv -f "$nlist"T
"$nlist"
6440 # Make sure that we snagged all the symbols we need.
6441 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6442 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6443 cat <<EOF > conftest.$ac_ext
6449 # Now generate the symbol file.
6450 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6452 cat <<EOF >> conftest.$ac_ext
6453 #if defined (__STDC__) && __STDC__
6454 # define lt_ptr_t void *
6456 # define lt_ptr_t char *
6460 /* The mapping between symbol names and symbols. */
6465 lt_preloaded_symbols[] =
6468 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6469 cat <<\EOF
>> conftest.
$ac_ext
6477 # Now try linking the two files.
6478 mv conftest.
$ac_objext conftstm.
$ac_objext
6479 lt_save_LIBS
="$LIBS"
6480 lt_save_CFLAGS
="$CFLAGS"
6481 LIBS
="conftstm.$ac_objext"
6482 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6484 (eval $ac_link) 2>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6490 LIBS
="$lt_save_LIBS"
6491 CFLAGS
="$lt_save_CFLAGS"
6493 echo "cannot find nm_test_func in $nlist" >&5
6496 echo "cannot find nm_test_var in $nlist" >&5
6499 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6502 echo "$progname: failed program was:" >&5
6503 cat conftest.
$ac_ext >&5
6505 rm -f conftest
* conftst
*
6507 # Do not use the global_symbol_pipe unless it works.
6508 if test "$pipe_works" = yes; then
6511 lt_cv_sys_global_symbol_pipe
=
6517 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6518 lt_cv_sys_global_symbol_to_cdecl
=
6520 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6521 { echo "$as_me:$LINENO: result: failed" >&5
6522 echo "${ECHO_T}failed" >&6; }
6524 { echo "$as_me:$LINENO: result: ok" >&5
6525 echo "${ECHO_T}ok" >&6; }
6528 { echo "$as_me:$LINENO: checking for objdir" >&5
6529 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6530 if test "${lt_cv_objdir+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 rm -f .libs
2>/dev
/null
6534 mkdir .libs
2>/dev
/null
6535 if test -d .libs
; then
6538 # MS-DOS does not allow filenames that begin with a dot.
6541 rmdir .libs
2>/dev
/null
6543 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6544 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6545 objdir
=$lt_cv_objdir
6553 # AIX sometimes has problems with the GCC collect2 program. For some
6554 # reason, if we set the COLLECT_NAMES environment variable, the problems
6555 # vanish in a puff of smoke.
6556 if test "X${COLLECT_NAMES+set}" != Xset
; then
6558 export COLLECT_NAMES
6563 # Sed substitution that helps us do robust quoting. It backslashifies
6564 # metacharacters that are still active within double-quoted strings.
6565 Xsed
='sed -e 1s/^X//'
6566 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6568 # Same as above, but do not quote variable references.
6569 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6571 # Sed substitution to delay expansion of an escaped shell variable in a
6572 # double_quote_subst'ed string.
6573 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6575 # Sed substitution to avoid accidental globbing in evaled expressions
6576 no_glob_subst
='s/\*/\\\*/g'
6582 default_ofile
=libtool
6583 can_build_shared
=yes
6585 # All known linkers require a `.a' archive for static linking (except MSVC,
6586 # which needs '.lib').
6588 ltmain
="$ac_aux_dir/ltmain.sh"
6589 ofile
="$default_ofile"
6590 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6592 if test -n "$ac_tool_prefix"; then
6593 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6594 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6597 if test "${ac_cv_prog_AR+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 if test -n "$AR"; then
6601 ac_cv_prog_AR
="$AR" # Let the user override the test.
6603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6607 test -z "$as_dir" && as_dir
=.
6608 for ac_exec_ext
in '' $ac_executable_extensions; do
6609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6610 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 if test -n "$AR"; then
6622 { echo "$as_me:$LINENO: result: $AR" >&5
6623 echo "${ECHO_T}$AR" >&6; }
6625 { echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6; }
6631 if test -z "$ac_cv_prog_AR"; then
6633 # Extract the first word of "ar", so it can be a program name with args.
6634 set dummy
ar; ac_word
=$2
6635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6637 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 if test -n "$ac_ct_AR"; then
6641 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir
=.
6648 for ac_exec_ext
in '' $ac_executable_extensions; do
6649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6650 ac_cv_prog_ac_ct_AR
="ar"
6651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6661 if test -n "$ac_ct_AR"; then
6662 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6663 echo "${ECHO_T}$ac_ct_AR" >&6; }
6665 { echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6; }
6669 if test "x$ac_ct_AR" = x
; then
6672 case $cross_compiling:$ac_tool_warned in
6674 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6675 whose name does not start with the host triplet. If you think this
6676 configuration is useful to you, please write to autoconf@gnu.org." >&5
6677 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6678 whose name does not start with the host triplet. If you think this
6679 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6680 ac_tool_warned
=yes ;;
6688 if test -n "$ac_tool_prefix"; then
6689 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6690 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6693 if test "${ac_cv_prog_RANLIB+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6696 if test -n "$RANLIB"; then
6697 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6703 test -z "$as_dir" && as_dir
=.
6704 for ac_exec_ext
in '' $ac_executable_extensions; do
6705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6706 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 RANLIB
=$ac_cv_prog_RANLIB
6717 if test -n "$RANLIB"; then
6718 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6719 echo "${ECHO_T}$RANLIB" >&6; }
6721 { echo "$as_me:$LINENO: result: no" >&5
6722 echo "${ECHO_T}no" >&6; }
6727 if test -z "$ac_cv_prog_RANLIB"; then
6728 ac_ct_RANLIB
=$RANLIB
6729 # Extract the first word of "ranlib", so it can be a program name with args.
6730 set dummy ranlib
; ac_word
=$2
6731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6733 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6734 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 if test -n "$ac_ct_RANLIB"; then
6737 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir
=.
6744 for ac_exec_ext
in '' $ac_executable_extensions; do
6745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6746 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6756 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6757 if test -n "$ac_ct_RANLIB"; then
6758 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6759 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6761 { echo "$as_me:$LINENO: result: no" >&5
6762 echo "${ECHO_T}no" >&6; }
6765 if test "x$ac_ct_RANLIB" = x
; then
6768 case $cross_compiling:$ac_tool_warned in
6770 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6771 whose name does not start with the host triplet. If you think this
6772 configuration is useful to you, please write to autoconf@gnu.org." >&5
6773 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6774 whose name does not start with the host triplet. If you think this
6775 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6776 ac_tool_warned
=yes ;;
6778 RANLIB
=$ac_ct_RANLIB
6781 RANLIB
="$ac_cv_prog_RANLIB"
6784 if test -n "$ac_tool_prefix"; then
6785 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6786 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6789 if test "${ac_cv_prog_STRIP+set}" = set; then
6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 if test -n "$STRIP"; then
6793 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir
=.
6800 for ac_exec_ext
in '' $ac_executable_extensions; do
6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6802 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 STRIP
=$ac_cv_prog_STRIP
6813 if test -n "$STRIP"; then
6814 { echo "$as_me:$LINENO: result: $STRIP" >&5
6815 echo "${ECHO_T}$STRIP" >&6; }
6817 { echo "$as_me:$LINENO: result: no" >&5
6818 echo "${ECHO_T}no" >&6; }
6823 if test -z "$ac_cv_prog_STRIP"; then
6825 # Extract the first word of "strip", so it can be a program name with args.
6826 set dummy strip
; ac_word
=$2
6827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6829 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6830 echo $ECHO_N "(cached) $ECHO_C" >&6
6832 if test -n "$ac_ct_STRIP"; then
6833 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir
=.
6840 for ac_exec_ext
in '' $ac_executable_extensions; do
6841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6842 ac_cv_prog_ac_ct_STRIP
="strip"
6843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6853 if test -n "$ac_ct_STRIP"; then
6854 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6855 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6857 { echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6; }
6861 if test "x$ac_ct_STRIP" = x
; then
6864 case $cross_compiling:$ac_tool_warned in
6866 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6867 whose name does not start with the host triplet. If you think this
6868 configuration is useful to you, please write to autoconf@gnu.org." >&5
6869 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6870 whose name does not start with the host triplet. If you think this
6871 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6872 ac_tool_warned
=yes ;;
6877 STRIP
="$ac_cv_prog_STRIP"
6882 old_CFLAGS
="$CFLAGS"
6884 # Set sane defaults for various variables
6885 test -z "$AR" && AR
=ar
6886 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6887 test -z "$AS" && AS
=as
6888 test -z "$CC" && CC
=cc
6889 test -z "$LTCC" && LTCC
=$CC
6890 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6891 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6892 test -z "$LD" && LD
=ld
6893 test -z "$LN_S" && LN_S
="ln -s"
6894 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6895 test -z "$NM" && NM
=nm
6896 test -z "$SED" && SED
=sed
6897 test -z "$OBJDUMP" && OBJDUMP
=objdump
6898 test -z "$RANLIB" && RANLIB
=:
6899 test -z "$STRIP" && STRIP
=:
6900 test -z "$ac_objext" && ac_objext
=o
6902 # Determine commands to create old-style static archives.
6903 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6904 old_postinstall_cmds
='chmod 644 $oldlib'
6905 old_postuninstall_cmds
=
6907 if test -n "$RANLIB"; then
6910 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6913 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6916 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6919 for cc_temp
in $compiler""; do
6921 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6922 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6927 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6930 # Only perform the check for file, if the check method requires it
6931 case $deplibs_check_method in
6933 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6934 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6935 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6936 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6944 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6945 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6946 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6947 for ac_dir
in $ac_dummy; do
6949 test -z "$ac_dir" && ac_dir
=.
6950 if test -f $ac_dir/${ac_tool_prefix}file; then
6951 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6952 if test -n "$file_magic_test_file"; then
6953 case $deplibs_check_method in
6955 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6956 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6957 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6958 $EGREP "$file_magic_regex" > /dev
/null
; then
6963 *** Warning: the command libtool uses to detect shared libraries,
6964 *** $file_magic_cmd, produces output that libtool cannot recognize.
6965 *** The result is that libtool may fail to recognize shared libraries
6966 *** as such. This will affect the creation of libtool libraries that
6967 *** depend on shared libraries, but programs linked with such libtool
6968 *** libraries will work regardless of this problem. Nevertheless, you
6969 *** may want to report the problem to your system manager and/or to
6970 *** bug-libtool@gnu.org
6980 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6985 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6986 if test -n "$MAGIC_CMD"; then
6987 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6988 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6994 if test -z "$lt_cv_path_MAGIC_CMD"; then
6995 if test -n "$ac_tool_prefix"; then
6996 { echo "$as_me:$LINENO: checking for file" >&5
6997 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6998 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7006 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7007 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7008 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7009 for ac_dir
in $ac_dummy; do
7011 test -z "$ac_dir" && ac_dir
=.
7012 if test -f $ac_dir/file; then
7013 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7014 if test -n "$file_magic_test_file"; then
7015 case $deplibs_check_method in
7017 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7019 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7020 $EGREP "$file_magic_regex" > /dev
/null
; then
7025 *** Warning: the command libtool uses to detect shared libraries,
7026 *** $file_magic_cmd, produces output that libtool cannot recognize.
7027 *** The result is that libtool may fail to recognize shared libraries
7028 *** as such. This will affect the creation of libtool libraries that
7029 *** depend on shared libraries, but programs linked with such libtool
7030 *** libraries will work regardless of this problem. Nevertheless, you
7031 *** may want to report the problem to your system manager and/or to
7032 *** bug-libtool@gnu.org
7042 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7048 if test -n "$MAGIC_CMD"; then
7049 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7050 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7052 { echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6; }
7068 # Check whether --enable-libtool-lock was given.
7069 if test "${enable_libtool_lock+set}" = set; then
7070 enableval
=$enable_libtool_lock;
7073 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7076 # Check whether --with-pic was given.
7077 if test "${with_pic+set}" = set; then
7078 withval
=$with_pic; pic_mode
="$withval"
7083 test -z "$pic_mode" && pic_mode
=default
7085 # Use C for the default configuration in the libtool script
7089 ac_cpp
='$CPP $CPPFLAGS'
7090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7095 # Source file extension for C test sources.
7098 # Object file extension for compiled C test sources.
7102 # Code to be used in simple compile tests
7103 lt_simple_compile_test_code
="int some_variable = 0;\n"
7105 # Code to be used in simple link tests
7106 lt_simple_link_test_code
='int main(){return(0);}\n'
7109 # If no C compiler was specified, use CC.
7112 # If no C compiler flags were specified, use CFLAGS.
7113 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7115 # Allow CC to be a program name with arguments.
7119 # save warnings/boilerplate of simple test code
7120 ac_outfile
=conftest.
$ac_objext
7121 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7122 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7123 _lt_compiler_boilerplate
=`cat conftest.err`
7126 ac_outfile
=conftest.
$ac_objext
7127 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7128 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7129 _lt_linker_boilerplate
=`cat conftest.err`
7134 lt_prog_compiler_no_builtin_flag
=
7136 if test "$GCC" = yes; then
7137 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7140 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 lt_cv_prog_compiler_rtti_exceptions
=no
7146 ac_outfile
=conftest.
$ac_objext
7147 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7148 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile
=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err
)
7161 cat conftest.err
>&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7168 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7169 lt_cv_prog_compiler_rtti_exceptions
=yes
7175 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7178 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7179 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7186 lt_prog_compiler_wl
=
7187 lt_prog_compiler_pic
=
7188 lt_prog_compiler_static
=
7190 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7191 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7193 if test "$GCC" = yes; then
7194 lt_prog_compiler_wl
='-Wl,'
7195 lt_prog_compiler_static
='-static'
7199 # All AIX code is PIC.
7200 if test "$host_cpu" = ia64
; then
7201 # AIX 5 now supports IA64 processor
7202 lt_prog_compiler_static
='-Bstatic'
7207 # FIXME: we need at least 68020 code to build shared libraries, but
7208 # adding the `-m68020' flag to GCC prevents building anything better,
7210 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7213 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7214 # PIC is the default for these OSes.
7217 mingw
* | pw32
* | os2
*)
7218 # This hack is so that the source file can tell whether it is being
7219 # built for inclusion in a dll (and should export symbols for example).
7220 lt_prog_compiler_pic
='-DDLL_EXPORT'
7223 darwin
* | rhapsody
*)
7224 # PIC is the default on this platform
7225 # Common symbols not allowed in MH_DYLIB files
7226 lt_prog_compiler_pic
='-fno-common'
7230 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7231 # Instead, we relocate shared libraries at runtime.
7235 # Just because we use GCC doesn't mean we suddenly get shared libraries
7236 # on systems that don't support them.
7237 lt_prog_compiler_can_build_shared
=no
7242 if test -d /usr
/nec
; then
7243 lt_prog_compiler_pic
=-Kconform_pic
7248 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7255 lt_prog_compiler_pic
='-fPIC'
7261 lt_prog_compiler_pic
='-fPIC'
7265 # PORTME Check for flag to pass linker flags through the system compiler.
7268 lt_prog_compiler_wl
='-Wl,'
7269 if test "$host_cpu" = ia64
; then
7270 # AIX 5 now supports IA64 processor
7271 lt_prog_compiler_static
='-Bstatic'
7273 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7277 # PIC is the default on this platform
7278 # Common symbols not allowed in MH_DYLIB files
7279 case $cc_basename in
7281 lt_prog_compiler_pic
='-qnocommon'
7282 lt_prog_compiler_wl
='-Wl,'
7287 mingw
* | pw32
* | os2
*)
7288 # This hack is so that the source file can tell whether it is being
7289 # built for inclusion in a dll (and should export symbols for example).
7290 lt_prog_compiler_pic
='-DDLL_EXPORT'
7293 hpux9
* | hpux10
* | hpux11
*)
7294 lt_prog_compiler_wl
='-Wl,'
7295 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7302 lt_prog_compiler_pic
='+Z'
7305 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7306 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7309 irix5
* | irix6
* | nonstopux
*)
7310 lt_prog_compiler_wl
='-Wl,'
7311 # PIC (with -KPIC) is the default.
7312 lt_prog_compiler_static
='-non_shared'
7316 lt_prog_compiler_pic
='-KPIC'
7317 lt_prog_compiler_static
='-Bstatic'
7321 case $cc_basename in
7323 lt_prog_compiler_wl
='-Wl,'
7324 lt_prog_compiler_pic
='-KPIC'
7325 lt_prog_compiler_static
='-static'
7327 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7328 # Portland Group compilers (*not* the Pentium gcc compiler,
7329 # which looks to be a dead project)
7330 lt_prog_compiler_wl
='-Wl,'
7331 lt_prog_compiler_pic
='-fpic'
7332 lt_prog_compiler_static
='-Bstatic'
7335 lt_prog_compiler_wl
='-Wl,'
7336 # All Alpha code is PIC.
7337 lt_prog_compiler_static
='-non_shared'
7342 osf3
* | osf4
* | osf5
*)
7343 lt_prog_compiler_wl
='-Wl,'
7344 # All OSF/1 code is PIC.
7345 lt_prog_compiler_static
='-non_shared'
7349 lt_prog_compiler_pic
='-KPIC'
7350 lt_prog_compiler_static
='-Bstatic'
7351 case $cc_basename in
7353 lt_prog_compiler_wl
='-Qoption ld ';;
7355 lt_prog_compiler_wl
='-Wl,';;
7360 lt_prog_compiler_wl
='-Qoption ld '
7361 lt_prog_compiler_pic
='-PIC'
7362 lt_prog_compiler_static
='-Bstatic'
7365 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7366 lt_prog_compiler_wl
='-Wl,'
7367 lt_prog_compiler_pic
='-KPIC'
7368 lt_prog_compiler_static
='-Bstatic'
7372 if test -d /usr
/nec
;then
7373 lt_prog_compiler_pic
='-Kconform_pic'
7374 lt_prog_compiler_static
='-Bstatic'
7378 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7379 lt_prog_compiler_wl
='-Wl,'
7380 lt_prog_compiler_pic
='-KPIC'
7381 lt_prog_compiler_static
='-Bstatic'
7385 lt_prog_compiler_wl
='-Wl,'
7386 lt_prog_compiler_can_build_shared
=no
7390 lt_prog_compiler_pic
='-pic'
7391 lt_prog_compiler_static
='-Bstatic'
7395 lt_prog_compiler_can_build_shared
=no
7400 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7401 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7404 # Check to make sure the PIC flag actually works.
7406 if test -n "$lt_prog_compiler_pic"; then
7408 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7409 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7410 if test "${lt_prog_compiler_pic_works+set}" = set; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 lt_prog_compiler_pic_works
=no
7414 ac_outfile
=conftest.
$ac_objext
7415 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7416 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7417 # Insert the option either (1) after the last *FLAGS variable, or
7418 # (2) before a word containing "conftest.", or (3) at the end.
7419 # Note that $ac_compile itself does not contain backslashes and begins
7420 # with a dollar sign (not a hyphen), so the echo should work correctly.
7421 # The option is referenced via a variable to avoid confusing sed.
7422 lt_compile
=`echo "$ac_compile" | $SED \
7423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7425 -e 's:$: $lt_compiler_flag:'`
7426 (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7427 (eval "$lt_compile" 2>conftest.err
)
7429 cat conftest.err
>&5
7430 echo "$as_me:7430: \$? = $ac_status" >&5
7431 if (exit $ac_status) && test -s "$ac_outfile"; then
7432 # The compiler can only warn and ignore the option if not recognized
7433 # So say no if there are warnings other than the usual output.
7434 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7435 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7436 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7437 lt_prog_compiler_pic_works
=yes
7443 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7444 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7446 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7447 case $lt_prog_compiler_pic in
7449 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7452 lt_prog_compiler_pic
=
7453 lt_prog_compiler_can_build_shared
=no
7458 # For platforms which do not support PIC, -DPIC is meaningless:
7460 lt_prog_compiler_pic
=
7463 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7468 # Check to make sure the static flag actually works.
7470 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7471 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7472 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7473 if test "${lt_prog_compiler_static_works+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 lt_prog_compiler_static_works
=no
7477 save_LDFLAGS
="$LDFLAGS"
7478 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7479 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7480 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7481 # The linker can only warn and ignore the option if not recognized
7482 # So say no if there are warnings
7483 if test -s conftest.err
; then
7484 # Append any errors to the config.log.
7485 cat conftest.err
1>&5
7486 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7487 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7488 if diff conftest.exp conftest.er2
>/dev
/null
; then
7489 lt_prog_compiler_static_works
=yes
7492 lt_prog_compiler_static_works
=yes
7496 LDFLAGS
="$save_LDFLAGS"
7499 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7500 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7502 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7505 lt_prog_compiler_static
=
7509 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7510 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7511 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7512 echo $ECHO_N "(cached) $ECHO_C" >&6
7514 lt_cv_prog_compiler_c_o
=no
7515 $rm -r conftest
2>/dev
/null
7519 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7521 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7522 # Insert the option either (1) after the last *FLAGS variable, or
7523 # (2) before a word containing "conftest.", or (3) at the end.
7524 # Note that $ac_compile itself does not contain backslashes and begins
7525 # with a dollar sign (not a hyphen), so the echo should work correctly.
7526 lt_compile
=`echo "$ac_compile" | $SED \
7527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7529 -e 's:$: $lt_compiler_flag:'`
7530 (eval echo "\"\$as_me:7530: $lt_compile\"" >&5)
7531 (eval "$lt_compile" 2>out
/conftest.err
)
7533 cat out
/conftest.err
>&5
7534 echo "$as_me:7534: \$? = $ac_status" >&5
7535 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7537 # The compiler can only warn and ignore the option if not recognized
7538 # So say no if there are warnings
7539 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7540 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7541 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7542 lt_cv_prog_compiler_c_o
=yes
7547 # SGI C++ compiler will create directory out/ii_files/ for
7548 # template instantiation
7549 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7550 $rm out
/* && rmdir out
7556 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7557 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7560 hard_links
="nottested"
7561 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7562 # do not overwrite the value of need_locks provided by the user
7563 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7564 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7567 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7569 ln conftest.a conftest.b
2>&5 || hard_links
=no
7570 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7571 { echo "$as_me:$LINENO: result: $hard_links" >&5
7572 echo "${ECHO_T}$hard_links" >&6; }
7573 if test "$hard_links" = no
; then
7574 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7575 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7582 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7583 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7586 allow_undefined_flag
=
7587 enable_shared_with_static_runtimes
=no
7589 archive_expsym_cmds
=
7590 old_archive_From_new_cmds
=
7591 old_archive_from_expsyms_cmds
=
7592 export_dynamic_flag_spec
=
7593 whole_archive_flag_spec
=
7594 thread_safe_flag_spec
=
7595 hardcode_libdir_flag_spec
=
7596 hardcode_libdir_flag_spec_ld
=
7597 hardcode_libdir_separator
=
7600 hardcode_shlibpath_var
=unsupported
7601 link_all_deplibs
=unknown
7602 hardcode_automatic
=no
7605 always_export_symbols
=no
7606 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7607 # include_expsyms should be a list of space-separated symbols to be *always*
7608 # included in the symbol list
7610 # exclude_expsyms can be an extended regexp of symbols to exclude
7611 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7612 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7613 # as well as any symbol that contains `d'.
7614 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7615 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7616 # platforms (ab)use it in PIC code, but their linkers get confused if
7617 # the symbol is explicitly referenced. Since portable code cannot
7618 # rely on this symbol name, it's probably fine to never include it in
7619 # preloaded symbol tables.
7620 extract_expsyms_cmds
=
7621 # Just being paranoid about ensuring that cc_basename is set.
7622 for cc_temp
in $compiler""; do
7624 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7625 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7630 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7633 cygwin
* | mingw
* | pw32
*)
7634 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7635 # When not using gcc, we currently assume that we are using
7636 # Microsoft Visual C++.
7637 if test "$GCC" != yes; then
7642 # we just hope/assume this is gcc and not c89 (= MSVC++)
7651 if test "$with_gnu_ld" = yes; then
7652 # If archive_cmds runs LD, not CC, wlarc should be empty
7655 # Set some defaults for GNU ld with shared library support. These
7656 # are reset later if shared libraries are not supported. Putting them
7657 # here allows them to be overridden if necessary.
7658 runpath_var
=LD_RUN_PATH
7659 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7660 export_dynamic_flag_spec
='${wl}--export-dynamic'
7661 # ancient GNU ld didn't support --whole-archive et. al.
7662 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7663 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7665 whole_archive_flag_spec
=
7667 supports_anon_versioning
=no
7668 case `$LD -v 2>/dev/null` in
7669 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7670 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7671 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7672 *\
2.11.
*) ;; # other 2.11 versions
7673 *) supports_anon_versioning
=yes ;;
7676 # See if GNU ld supports shared libraries.
7678 aix3
* | aix4
* | aix5
*)
7679 # On AIX/PPC, the GNU linker is very broken
7680 if test "$host_cpu" != ia64
; then
7684 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7685 *** to be unable to reliably create shared libraries on AIX.
7686 *** Therefore, libtool is disabling shared libraries support. If you
7687 *** really care for shared libraries, you may want to modify your PATH
7688 *** so that a non-GNU linker is found, and then restart.
7695 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)'
7696 hardcode_libdir_flag_spec
='-L$libdir'
7697 hardcode_minus_L
=yes
7699 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7700 # that the semantics of dynamic libraries on AmigaOS, at least up
7701 # to version 4, is to share data among multiple programs linked
7702 # with the same dynamic library. Since this doesn't match the
7703 # behavior of shared libraries on other platforms, we can't use
7709 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7710 allow_undefined_flag
=unsupported
7711 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7712 # support --undefined. This deserves some investigation. FIXME
7713 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7719 cygwin
* | mingw
* | pw32
*)
7720 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7721 # as there is no search path for DLLs.
7722 hardcode_libdir_flag_spec
='-L$libdir'
7723 allow_undefined_flag
=unsupported
7724 always_export_symbols
=no
7725 enable_shared_with_static_runtimes
=yes
7726 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7728 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7729 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7730 # If the export-symbols file already is a .def file (1st line
7731 # is EXPORTS), use it as is; otherwise, prepend...
7732 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7733 cp $export_symbols $output_objdir/$soname.def;
7735 echo EXPORTS > $output_objdir/$soname.def;
7736 cat $export_symbols >> $output_objdir/$soname.def;
7738 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7746 hardcode_shlibpath_var
=no
7747 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7748 export_dynamic_flag_spec
='${wl}-E'
7749 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7750 # Instead, shared libraries are loaded at an image base (0x10000000 by
7751 # default) and relocated if they conflict, which is a slow very memory
7752 # consuming and fragmenting process. To avoid this, we pick a random,
7753 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7754 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7755 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7756 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'
7760 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7762 case $cc_basename,$host_cpu in
7763 pgcc
*) # Portland Group C compiler
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'
7767 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7768 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'
7769 tmp_addflag
=' $pic_flag -Mnomain' ;;
7770 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7771 tmp_addflag
=' -i_dynamic' ;;
7772 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7773 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7774 ifc
* | ifort
*) # Intel Fortran compiler
7775 tmp_addflag
=' -nofor_main' ;;
7777 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7779 if test $supports_anon_versioning = yes; then
7780 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7782 $echo "local: *; };" >> $output_objdir/$libname.ver~
7783 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7791 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7792 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7795 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7796 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7801 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7805 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7806 *** create shared libraries on Solaris systems. Therefore, libtool
7807 *** is disabling shared libraries support. We urge you to upgrade GNU
7808 *** binutils to release 2.9.1 or newer. Another option is to modify
7809 *** your PATH or compiler configuration so that the native linker is
7810 *** used, and then restart.
7813 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7815 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7821 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7822 case `$LD -v 2>&1` in
7823 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7827 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7828 *** reliably create shared libraries on SCO systems. Therefore, libtool
7829 *** is disabling shared libraries support. We urge you to upgrade GNU
7830 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7831 *** your PATH or compiler configuration so that the native linker is
7832 *** used, and then restart.
7837 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7838 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7839 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7840 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7849 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7852 hardcode_shlibpath_var
=no
7856 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7857 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7858 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7865 if test "$ld_shlibs" = no
; then
7867 hardcode_libdir_flag_spec
=
7868 export_dynamic_flag_spec
=
7869 whole_archive_flag_spec
=
7872 # PORTME fill in a description of your system's linker (not GNU ld)
7875 allow_undefined_flag
=unsupported
7876 always_export_symbols
=yes
7877 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'
7878 # Note: this linker hardcodes the directories in LIBPATH if there
7879 # are no directories specified by -L.
7880 hardcode_minus_L
=yes
7881 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7882 # Neither direct hardcoding nor static linking is supported with a
7884 hardcode_direct
=unsupported
7889 if test "$host_cpu" = ia64
; then
7890 # On IA64, the linker does run time linking by default, so we don't
7891 # have to do anything special.
7892 aix_use_runtimelinking
=no
7893 exp_sym_flag
='-Bexport'
7896 # If we're using GNU nm, then we don't want the "-C" option.
7897 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7898 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7899 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'
7901 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'
7903 aix_use_runtimelinking
=no
7905 # Test if we are trying to use run time linking or normal
7906 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7907 # need to do runtime linking.
7908 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7909 for ld_flag
in $LDFLAGS; do
7910 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7911 aix_use_runtimelinking
=yes
7918 exp_sym_flag
='-bexport'
7919 no_entry_flag
='-bnoentry'
7922 # When large executables or shared objects are built, AIX ld can
7923 # have problems creating the table of contents. If linking a library
7924 # or program results in "error TOC overflow" add -mminimal-toc to
7925 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7926 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7930 hardcode_libdir_separator
=':'
7931 link_all_deplibs
=yes
7933 if test "$GCC" = yes; then
7934 case $host_os in aix4.
[012]|aix4.
[012].
*)
7935 # We only want to do this on AIX 4.2 and lower, the check
7936 # below for broken collect2 doesn't work under 4.3+
7937 collect2name
=`${CC} -print-prog-name=collect2`
7938 if test -f "$collect2name" && \
7939 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7941 # We have reworked collect2
7944 # We have old collect2
7945 hardcode_direct
=unsupported
7946 # It fails to find uninstalled libraries when the uninstalled
7947 # path is not listed in the libpath. Setting hardcode_minus_L
7948 # to unsupported forces relinking
7949 hardcode_minus_L
=yes
7950 hardcode_libdir_flag_spec
='-L$libdir'
7951 hardcode_libdir_separator
=
7955 shared_flag
='-shared'
7956 if test "$aix_use_runtimelinking" = yes; then
7957 shared_flag
="$shared_flag "'${wl}-G'
7961 if test "$host_cpu" = ia64
; then
7962 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7963 # chokes on -Wl,-G. The following line is correct:
7966 if test "$aix_use_runtimelinking" = yes; then
7967 shared_flag
='${wl}-G'
7969 shared_flag
='${wl}-bM:SRE'
7974 # It seems that -bexpall does not export symbols beginning with
7975 # underscore (_), so it is better to generate a list of symbols to export.
7976 always_export_symbols
=yes
7977 if test "$aix_use_runtimelinking" = yes; then
7978 # Warning - without using the other runtime loading flags (-brtl),
7979 # -berok will link without error, but may produce a broken library.
7980 allow_undefined_flag
='-berok'
7981 # Determine the default libpath from the value encoded in an empty executable.
7982 cat >conftest.
$ac_ext <<_ACEOF
7985 cat confdefs.h
>>conftest.
$ac_ext
7986 cat >>conftest.
$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7997 rm -f conftest.
$ac_objext conftest
$ac_exeext
7998 if { (ac_try
="$ac_link"
8000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8001 *) ac_try_echo=$ac_try;;
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8006 grep -v '^ *+' conftest.er1 >conftest.err
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest$ac_exeext &&
8014 $as_test_x conftest$ac_exeext; then
8016 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8018 # Check for a 64-bit object if we didn't find anything.
8019 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; }
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8029 conftest$ac_exeext conftest.$ac_ext
8030 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8032 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8033 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"
8035 if test "$host_cpu" = ia64; then
8036 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8037 allow_undefined_flag="-z nodefs"
8038 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"
8040 # Determine the default libpath from the value encoded in an empty executable.
8041 cat >conftest.$ac_ext <<_ACEOF
8044 cat confdefs.h >>conftest.$ac_ext
8045 cat >>conftest.$ac_ext <<_ACEOF
8046 /* end confdefs.h. */
8056 rm -f conftest.$ac_objext conftest$ac_exeext
8057 if { (ac_try="$ac_link"
8059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8060 *) ac_try_echo
=$ac_try;;
8062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8063 (eval "$ac_link") 2>conftest.er1
8065 grep -v '^ *+' conftest.er1
>conftest.err
8067 cat conftest.err
>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } && {
8070 test -z "$ac_c_werror_flag" ||
8071 test ! -s conftest.err
8072 } && test -s conftest
$ac_exeext &&
8073 $as_test_x conftest
$ac_exeext; then
8075 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8077 # Check for a 64-bit object if we didn't find anything.
8078 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; }
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.
$ac_ext >&5
8087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8088 conftest
$ac_exeext conftest.
$ac_ext
8089 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8091 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8092 # Warning - without using the other run time loading flags,
8093 # -berok will link without error, but may produce a broken library.
8094 no_undefined_flag
=' ${wl}-bernotok'
8095 allow_undefined_flag
=' ${wl}-berok'
8096 # Exported symbols can be pulled into shared objects from archives
8097 whole_archive_flag_spec
='$convenience'
8098 archive_cmds_need_lc
=yes
8099 # This is similar to how AIX traditionally builds its shared libraries.
8100 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'
8106 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)'
8107 hardcode_libdir_flag_spec
='-L$libdir'
8108 hardcode_minus_L
=yes
8109 # see comment about different semantics on the GNU ld section
8114 export_dynamic_flag_spec
=-rdynamic
8117 cygwin
* | mingw
* | pw32
*)
8118 # When not using gcc, we currently assume that we are using
8119 # Microsoft Visual C++.
8120 # hardcode_libdir_flag_spec is actually meaningless, as there is
8121 # no search path for DLLs.
8122 hardcode_libdir_flag_spec
=' '
8123 allow_undefined_flag
=unsupported
8124 # Tell ltmain to make .lib files, not .a files.
8126 # Tell ltmain to make .dll files, not .so files.
8128 # FIXME: Setting linknames here is a bad hack.
8129 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8130 # The linker will automatically build a .lib file if we build a DLL.
8131 old_archive_From_new_cmds
='true'
8132 # FIXME: Should let the user specify the lib program.
8133 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8134 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8135 enable_shared_with_static_runtimes
=yes
8138 darwin
* | rhapsody
*)
8140 rhapsody
* | darwin1.
[012])
8141 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8144 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8145 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8147 case ${MACOSX_DEPLOYMENT_TARGET} in
8149 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8152 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8158 archive_cmds_need_lc
=no
8160 hardcode_automatic
=yes
8161 hardcode_shlibpath_var
=unsupported
8162 whole_archive_flag_spec
=''
8163 link_all_deplibs
=yes
8164 if test "$GCC" = yes ; then
8165 output_verbose_link_cmd
='echo'
8166 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8167 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8168 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8169 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}'
8170 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}'
8172 case $cc_basename in
8174 output_verbose_link_cmd
='echo'
8175 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8176 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8177 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8178 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}'
8179 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}'
8189 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8190 hardcode_libdir_flag_spec
='-L$libdir'
8191 hardcode_shlibpath_var
=no
8198 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8199 # support. Future versions do this automatically, but an explicit c++rt0.o
8200 # does not break anything, and helps significantly (at the cost of a little
8203 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8204 hardcode_libdir_flag_spec
='-R$libdir'
8206 hardcode_shlibpath_var
=no
8209 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8211 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8213 hardcode_minus_L
=yes
8214 hardcode_shlibpath_var
=no
8217 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8218 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8219 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8220 hardcode_libdir_flag_spec
='-R$libdir'
8222 hardcode_shlibpath_var
=no
8226 if test "$GCC" = yes; then
8227 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'
8229 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'
8231 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8232 hardcode_libdir_separator
=:
8235 # hardcode_minus_L: Not really in the search PATH,
8236 # but as the default location of the library.
8237 hardcode_minus_L
=yes
8238 export_dynamic_flag_spec
='${wl}-E'
8242 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8243 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8245 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8247 if test "$with_gnu_ld" = no
; then
8248 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8249 hardcode_libdir_separator
=:
8252 export_dynamic_flag_spec
='${wl}-E'
8254 # hardcode_minus_L: Not really in the search PATH,
8255 # but as the default location of the library.
8256 hardcode_minus_L
=yes
8261 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8264 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8267 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8270 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8276 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8279 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8286 if test "$with_gnu_ld" = no
; then
8287 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8288 hardcode_libdir_separator
=:
8292 hardcode_libdir_flag_spec_ld
='+b $libdir'
8294 hardcode_shlibpath_var
=no
8298 export_dynamic_flag_spec
='${wl}-E'
8300 # hardcode_minus_L: Not really in the search PATH,
8301 # but as the default location of the library.
8302 hardcode_minus_L
=yes
8308 irix5
* | irix6
* | nonstopux
*)
8309 if test "$GCC" = yes; then
8310 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'
8312 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'
8313 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8315 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8316 hardcode_libdir_separator
=:
8317 link_all_deplibs
=yes
8321 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8322 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8324 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8326 hardcode_libdir_flag_spec
='-R$libdir'
8328 hardcode_shlibpath_var
=no
8332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8334 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8335 hardcode_libdir_separator
=:
8336 hardcode_shlibpath_var
=no
8341 hardcode_shlibpath_var
=no
8342 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8343 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8344 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8345 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8346 export_dynamic_flag_spec
='${wl}-E'
8349 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8350 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8351 hardcode_libdir_flag_spec
='-R$libdir'
8354 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8355 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8362 hardcode_libdir_flag_spec
='-L$libdir'
8363 hardcode_minus_L
=yes
8364 allow_undefined_flag
=unsupported
8365 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'
8366 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8370 if test "$GCC" = yes; then
8371 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8372 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'
8374 allow_undefined_flag
=' -expect_unresolved \*'
8375 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'
8377 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8378 hardcode_libdir_separator
=:
8381 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8382 if test "$GCC" = yes; then
8383 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8384 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'
8385 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8387 allow_undefined_flag
=' -expect_unresolved \*'
8388 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'
8389 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8390 $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'
8392 # Both c and cxx compiler support -rpath directly
8393 hardcode_libdir_flag_spec
='-rpath $libdir'
8395 hardcode_libdir_separator
=:
8399 no_undefined_flag
=' -z text'
8400 if test "$GCC" = yes; then
8402 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8403 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8404 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8407 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8409 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8411 hardcode_libdir_flag_spec
='-R$libdir'
8412 hardcode_shlibpath_var
=no
8414 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8416 # The compiler driver will combine linker options so we
8417 # cannot just pass the convience library names through
8418 # without $wl, iff we do not link with $LD.
8419 # Luckily, gcc supports the same syntax we need for Sun Studio.
8420 # Supported since Solaris 2.6 (maybe 2.5.1?)
8423 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8425 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' ;;
8428 link_all_deplibs
=yes
8432 if test "x$host_vendor" = xsequent
; then
8433 # Use $CC to link under sequent, because it throws in some extra .o
8434 # files that make .init and .fini sections work.
8435 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8437 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8439 hardcode_libdir_flag_spec
='-L$libdir'
8441 hardcode_minus_L
=yes
8442 hardcode_shlibpath_var
=no
8446 case $host_vendor in
8448 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8449 hardcode_direct
=yes # is this really true???
8452 ## LD is ld it makes a PLAMLIB
8453 ## CC just makes a GrossModule.
8454 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8455 reload_cmds
='$CC -r -o $output$reload_objs'
8459 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8460 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8463 runpath_var
='LD_RUN_PATH'
8464 hardcode_shlibpath_var
=no
8468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8469 hardcode_shlibpath_var
=no
8470 export_dynamic_flag_spec
='-Bexport'
8474 if test -d /usr
/nec
; then
8475 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8476 hardcode_shlibpath_var
=no
8477 runpath_var
=LD_RUN_PATH
8478 hardcode_runpath_var
=yes
8483 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8484 no_undefined_flag
='${wl}-z,text'
8485 archive_cmds_need_lc
=no
8486 hardcode_shlibpath_var
=no
8487 runpath_var
='LD_RUN_PATH'
8489 if test "$GCC" = yes; then
8490 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8491 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8493 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8494 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8498 sysv5
* | sco3.2v5
* | sco5v6
*)
8499 # Note: We can NOT use -z defs as we might desire, because we do not
8500 # link with -lc, and that would cause any symbols used from libc to
8501 # always be unresolved, which means just about no library would
8502 # ever link correctly. If we're not using GNU ld we use -z text
8503 # though, which does catch some bad symbols but isn't as heavy-handed
8505 no_undefined_flag
='${wl}-z,text'
8506 allow_undefined_flag
='${wl}-z,nodefs'
8507 archive_cmds_need_lc
=no
8508 hardcode_shlibpath_var
=no
8509 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8510 hardcode_libdir_separator
=':'
8511 link_all_deplibs
=yes
8512 export_dynamic_flag_spec
='${wl}-Bexport'
8513 runpath_var
='LD_RUN_PATH'
8515 if test "$GCC" = yes; then
8516 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8517 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8519 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8520 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8525 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8526 hardcode_libdir_flag_spec
='-L$libdir'
8527 hardcode_shlibpath_var
=no
8536 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8537 echo "${ECHO_T}$ld_shlibs" >&6; }
8538 test "$ld_shlibs" = no
&& can_build_shared
=no
8541 # Do we need to explicitly link libc?
8543 case "x$archive_cmds_need_lc" in
8545 # Assume -lc should be added
8546 archive_cmds_need_lc
=yes
8548 if test "$enable_shared" = yes && test "$GCC" = yes; then
8549 case $archive_cmds in
8551 # FIXME: we may have to deal with multi-command sequences.
8554 # Test whether the compiler implicitly links with -lc since on some
8555 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8556 # to ld, don't add -lc before -lgcc.
8557 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8558 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8560 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8563 (eval $ac_compile) 2>&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } 2>conftest.err
; then
8569 libobjs
=conftest.
$ac_objext
8571 wl
=$lt_prog_compiler_wl
8572 pic_flag
=$lt_prog_compiler_pic
8578 lt_save_allow_undefined_flag
=$allow_undefined_flag
8579 allow_undefined_flag
=
8580 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8581 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }
8586 archive_cmds_need_lc
=no
8588 archive_cmds_need_lc
=yes
8590 allow_undefined_flag
=$lt_save_allow_undefined_flag
8592 cat conftest.err
1>&5
8595 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8596 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8603 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8604 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8606 libname_spec
='lib$name'
8614 shlibpath_overrides_runpath
=unknown
8616 dynamic_linker
="$host_os ld.so"
8617 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8618 if test "$GCC" = yes; then
8619 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8620 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8621 # if the path contains ";" then we assume it to be the separator
8622 # otherwise default to the standard path separator (i.e. ":") - it is
8623 # assumed that no part of a normal pathname contains ";" but that should
8624 # okay in the real world where ";" in dirpaths is itself problematic.
8625 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8627 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8630 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8632 need_lib_prefix
=unknown
8633 hardcode_into_libs
=no
8635 # when you set need_version to no, make sure it does not cause -set_version
8636 # flags to be left without arguments
8637 need_version
=unknown
8642 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8643 shlibpath_var
=LIBPATH
8645 # AIX 3 has no versioning support, so we append a major version to the name.
8646 soname_spec
='${libname}${release}${shared_ext}$major'
8653 hardcode_into_libs
=yes
8654 if test "$host_cpu" = ia64
; then
8655 # AIX 5 supports IA64
8656 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8657 shlibpath_var
=LD_LIBRARY_PATH
8659 # With GCC up to 2.95.x, collect2 would create an import file
8660 # for dependence libraries. The import file would start with
8661 # the line `#! .'. This would cause the generated library to
8662 # depend on `.', always an invalid library. This was fixed in
8663 # development snapshots of GCC prior to 3.0.
8665 aix4 | aix4.
[01] | aix4.
[01].
*)
8666 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8668 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8675 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8676 # soname into executable. Probably we can add versioning support to
8677 # collect2, so additional links can be useful in future.
8678 if test "$aix_use_runtimelinking" = yes; then
8679 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8680 # instead of lib<name>.a to let people know that these are not
8681 # typical AIX shared libraries.
8682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8684 # We preserve .a as extension for shared libraries through AIX4.2
8685 # and later when we are not doing run time linking.
8686 library_names_spec
='${libname}${release}.a $libname.a'
8687 soname_spec
='${libname}${release}${shared_ext}$major'
8689 shlibpath_var
=LIBPATH
8694 library_names_spec
='$libname.ixlibrary $libname.a'
8695 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8696 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'
8700 library_names_spec
='${libname}${shared_ext}'
8701 dynamic_linker
="$host_os ld.so"
8702 shlibpath_var
=LIBRARY_PATH
8708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8709 soname_spec
='${libname}${release}${shared_ext}$major'
8710 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8711 shlibpath_var
=LD_LIBRARY_PATH
8712 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8713 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8714 # the default ld.so.conf also contains /usr/contrib/lib and
8715 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8716 # libtool to hard-code these into programs
8719 cygwin
* | mingw
* | pw32
*)
8720 version_type
=windows
8725 case $GCC,$host_os in
8726 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8727 library_names_spec
='$libname.dll.a'
8728 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8729 postinstall_cmds
='base_file=`basename \${file}`~
8730 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8731 dldir=$destdir/`dirname \$dlpath`~
8732 test -d \$dldir || mkdir -p \$dldir~
8733 $install_prog $dir/$dlname \$dldir/$dlname~
8734 chmod a+x \$dldir/$dlname'
8735 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8736 dlpath=$dir/\$dldll~
8738 shlibpath_overrides_runpath
=yes
8742 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8743 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8744 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8747 # MinGW DLLs use traditional 'lib' prefix
8748 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8749 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8750 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8751 # It is most probably a Windows format PATH printed by
8752 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8753 # path with ; separators, and with drive letters. We can handle the
8754 # drive letters (cygwin fileutils understands them), so leave them,
8755 # especially as we might pass files found there to a mingw objdump,
8756 # which wouldn't understand a cygwinified path. Ahh.
8757 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8759 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8763 # pw32 DLLs use 'pw' prefix rather than 'lib'
8764 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8770 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8773 dynamic_linker
='Win32 ld.exe'
8774 # FIXME: first we should search . and the directory the executable is in
8778 darwin
* | rhapsody
*)
8779 dynamic_linker
="$host_os dyld"
8783 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8784 soname_spec
='${libname}${release}${major}$shared_ext'
8785 shlibpath_overrides_runpath
=yes
8786 shlibpath_var
=DYLD_LIBRARY_PATH
8787 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8788 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8789 if test "$GCC" = yes; then
8790 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"`
8792 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8794 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8802 soname_spec
='${libname}${release}${shared_ext}$major'
8803 shlibpath_var
=LD_LIBRARY_PATH
8814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8815 soname_spec
='${libname}${release}${shared_ext}$major'
8816 shlibpath_var
=LD_LIBRARY_PATH
8817 shlibpath_overrides_runpath
=no
8818 hardcode_into_libs
=yes
8819 dynamic_linker
='GNU ld.so'
8822 freebsd
* | dragonfly
*)
8823 # DragonFly does not have aout. When/if they implement a new
8824 # versioning mechanism, adjust this.
8825 if test -x /usr
/bin
/objformat
; then
8826 objformat
=`/usr/bin/objformat`
8829 freebsd
[123]*) objformat
=aout
;;
8833 version_type
=freebsd-
$objformat
8834 case $version_type in
8836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8841 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8845 shlibpath_var
=LD_LIBRARY_PATH
8848 shlibpath_overrides_runpath
=yes
8850 freebsd3.
[01]* | freebsdelf3.
[01]*)
8851 shlibpath_overrides_runpath
=yes
8852 hardcode_into_libs
=yes
8854 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8855 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8856 shlibpath_overrides_runpath
=no
8857 hardcode_into_libs
=yes
8859 freebsd
*) # from 4.6 on
8860 shlibpath_overrides_runpath
=yes
8861 hardcode_into_libs
=yes
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8872 shlibpath_var
=LD_LIBRARY_PATH
8873 hardcode_into_libs
=yes
8876 hpux9
* | hpux10
* | hpux11
*)
8877 # Give a soname corresponding to the major version so that dld.sl refuses to
8878 # link against other versions.
8885 hardcode_into_libs
=yes
8886 dynamic_linker
="$host_os dld.so"
8887 shlibpath_var
=LD_LIBRARY_PATH
8888 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8890 soname_spec
='${libname}${release}${shared_ext}$major'
8891 if test "X$HPUX_IA64_MODE" = X32
; then
8892 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8894 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8896 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8900 hardcode_into_libs
=yes
8901 dynamic_linker
="$host_os dld.sl"
8902 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8903 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8905 soname_spec
='${libname}${release}${shared_ext}$major'
8906 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8911 dynamic_linker
="$host_os dld.sl"
8912 shlibpath_var
=SHLIB_PATH
8913 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8915 soname_spec
='${libname}${release}${shared_ext}$major'
8918 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8919 postinstall_cmds
='chmod 555 $lib'
8926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8927 soname_spec
='${libname}${release}${shared_ext}$major'
8928 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8929 shlibpath_var
=LD_LIBRARY_PATH
8930 shlibpath_overrides_runpath
=no
8931 hardcode_into_libs
=yes
8934 irix5
* | irix6
* | nonstopux
*)
8936 nonstopux
*) version_type
=nonstopux
;;
8938 if test "$lt_cv_prog_gnu_ld" = yes; then
8946 soname_spec
='${libname}${release}${shared_ext}$major'
8947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8949 irix5
* | nonstopux
*)
8953 case $LD in # libtool.m4 will add one of these switches to LD
8954 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8955 libsuff
= shlibsuff
= libmagic
=32-bit;;
8956 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8957 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8958 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8959 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8960 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8964 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8965 shlibpath_overrides_runpath
=no
8966 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8967 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8968 hardcode_into_libs
=yes
8971 # No shared lib support for Linux oldld, aout, or coff.
8972 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8976 # This must be Linux ELF.
8981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8982 soname_spec
='${libname}${release}${shared_ext}$major'
8983 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8984 shlibpath_var
=LD_LIBRARY_PATH
8985 shlibpath_overrides_runpath
=no
8986 # This implies no fast_install, which is unacceptable.
8987 # Some rework will be needed to allow for fast_install
8988 # before this can be enabled.
8989 hardcode_into_libs
=yes
8991 # find out which ABI we are using
8994 x86_64
*|s390x
*|powerpc64
*)
8995 echo '#line 8995 "configure"' > conftest.
$ac_ext
8996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8997 (eval $ac_compile) 2>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; then
9001 case `/usr/bin/file conftest.$ac_objext` in
9004 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9012 # Append ld.so.conf contents to the search path
9013 if test -f /etc
/ld.so.conf
; then
9014 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' ' '`
9015 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9018 # We used to test for /lib/ld.so.1 and disable shared libraries on
9019 # powerpc, because MkLinux only supported shared libraries with the
9020 # GNU dynamic linker. Since this was broken with cross compilers,
9021 # most powerpc-linux boxes support dynamic linking these days and
9022 # people can always --disable-shared, the test was removed, and we
9023 # assume the GNU/Linux dynamic linker is in use.
9024 dynamic_linker
='GNU/Linux ld.so'
9031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9032 soname_spec
='${libname}${release}${shared_ext}$major'
9033 shlibpath_var
=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath
=no
9035 hardcode_into_libs
=yes
9036 dynamic_linker
='GNU ld.so'
9043 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9045 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9046 dynamic_linker
='NetBSD (a.out) ld.so'
9048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9049 soname_spec
='${libname}${release}${shared_ext}$major'
9050 dynamic_linker
='NetBSD ld.elf_so'
9052 shlibpath_var
=LD_LIBRARY_PATH
9053 shlibpath_overrides_runpath
=yes
9054 hardcode_into_libs
=yes
9059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath
=yes
9068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9069 soname_spec
='${libname}${release}${shared_ext}$major'
9070 shlibpath_var
=LD_LIBRARY_PATH
9071 shlibpath_overrides_runpath
=yes
9076 sys_lib_dlsearch_path_spec
="/usr/lib"
9078 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9080 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9081 *) need_version
=no
;;
9083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9084 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9085 shlibpath_var
=LD_LIBRARY_PATH
9086 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9088 openbsd2.
[89] | openbsd2.
[89].
*)
9089 shlibpath_overrides_runpath
=no
9092 shlibpath_overrides_runpath
=yes
9096 shlibpath_overrides_runpath
=yes
9101 libname_spec
='$name'
9104 library_names_spec
='$libname${shared_ext} $libname.a'
9105 dynamic_linker
='OS/2 ld.exe'
9106 shlibpath_var
=LIBPATH
9109 osf3
* | osf4
* | osf5
*)
9113 soname_spec
='${libname}${release}${shared_ext}$major'
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9115 shlibpath_var
=LD_LIBRARY_PATH
9116 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9117 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9125 soname_spec
='${libname}${release}${shared_ext}$major'
9126 shlibpath_var
=LD_LIBRARY_PATH
9127 shlibpath_overrides_runpath
=yes
9128 hardcode_into_libs
=yes
9129 # ldd complains unless libraries are executable
9130 postinstall_cmds
='chmod +x $lib'
9135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9136 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9137 shlibpath_var
=LD_LIBRARY_PATH
9138 shlibpath_overrides_runpath
=yes
9139 if test "$with_gnu_ld" = yes; then
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9148 soname_spec
='${libname}${release}${shared_ext}$major'
9149 shlibpath_var
=LD_LIBRARY_PATH
9150 case $host_vendor in
9152 shlibpath_overrides_runpath
=no
9154 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9155 runpath_var
=LD_RUN_PATH
9163 shlibpath_overrides_runpath
=no
9164 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9170 if test -d /usr
/nec
;then
9172 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9173 soname_spec
='$libname${shared_ext}.$major'
9174 shlibpath_var
=LD_LIBRARY_PATH
9178 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9179 version_type
=freebsd-elf
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 shlibpath_var
=LD_LIBRARY_PATH
9185 hardcode_into_libs
=yes
9186 if test "$with_gnu_ld" = yes; then
9187 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9188 shlibpath_overrides_runpath
=no
9190 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9191 shlibpath_overrides_runpath
=yes
9194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9198 sys_lib_dlsearch_path_spec
='/usr/lib'
9203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9204 soname_spec
='${libname}${release}${shared_ext}$major'
9205 shlibpath_var
=LD_LIBRARY_PATH
9212 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9213 echo "${ECHO_T}$dynamic_linker" >&6; }
9214 test "$dynamic_linker" = no
&& can_build_shared
=no
9216 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9217 if test "$GCC" = yes; then
9218 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9221 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9222 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9224 if test -n "$hardcode_libdir_flag_spec" || \
9225 test -n "$runpath_var" || \
9226 test "X$hardcode_automatic" = "Xyes" ; then
9228 # We can hardcode non-existant directories.
9229 if test "$hardcode_direct" != no
&&
9230 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9231 # have to relink, otherwise we might link with an installed library
9232 # when we should be linking with a yet-to-be-installed one
9233 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9234 test "$hardcode_minus_L" != no
; then
9235 # Linking always hardcodes the temporary library directory.
9236 hardcode_action
=relink
9238 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9239 hardcode_action
=immediate
9242 # We cannot hardcode anything, or else we can only hardcode existing
9244 hardcode_action
=unsupported
9246 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9247 echo "${ECHO_T}$hardcode_action" >&6; }
9249 if test "$hardcode_action" = relink
; then
9250 # Fast installation is not supported
9251 enable_fast_install
=no
9252 elif test "$shlibpath_overrides_runpath" = yes ||
9253 test "$enable_shared" = no
; then
9254 # Fast installation is not necessary
9255 enable_fast_install
=needless
9260 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9261 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9262 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9263 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9264 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9265 { echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6; }
9268 # FIXME - insert some real tests, host_os isn't really good enough
9271 if test -n "$STRIP" ; then
9272 striplib
="$STRIP -x"
9273 { echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6; }
9276 { echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6; }
9281 { echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6; }
9287 if test "x$enable_dlopen" != xyes
; then
9288 enable_dlopen
=unknown
9289 enable_dlopen_self
=unknown
9290 enable_dlopen_self_static
=unknown
9297 lt_cv_dlopen
="load_add_on"
9299 lt_cv_dlopen_self
=yes
9303 lt_cv_dlopen
="LoadLibrary"
9308 lt_cv_dlopen
="dlopen"
9313 # if libdl is installed we need to link against it
9314 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9315 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9316 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 ac_check_lib_save_LIBS
=$LIBS
9321 cat >conftest.
$ac_ext <<_ACEOF
9324 cat confdefs.h
>>conftest.
$ac_ext
9325 cat >>conftest.
$ac_ext <<_ACEOF
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9343 rm -f conftest.
$ac_objext conftest
$ac_exeext
9344 if { (ac_try
="$ac_link"
9346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9347 *) ac_try_echo=$ac_try;;
9349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9350 (eval "$ac_link") 2>conftest.er1
9352 grep -v '^ *+' conftest.er1 >conftest.err
9354 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } && {
9357 test -z "$ac_c_werror_flag" ||
9358 test ! -s conftest.err
9359 } && test -s conftest$ac_exeext &&
9360 $as_test_x conftest$ac_exeext; then
9361 ac_cv_lib_dl_dlopen=yes
9363 echo "$as_me: failed program was:" >&5
9364 sed 's/^/| /' conftest.$ac_ext >&5
9366 ac_cv_lib_dl_dlopen=no
9369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9370 conftest$ac_exeext conftest.$ac_ext
9371 LIBS=$ac_check_lib_save_LIBS
9373 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9374 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9375 if test $ac_cv_lib_dl_dlopen = yes; then
9376 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9381 lt_cv_dlopen_self=yes
9388 { echo "$as_me:$LINENO: checking for shl_load" >&5
9389 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9390 if test "${ac_cv_func_shl_load+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 cat >conftest.$ac_ext <<_ACEOF
9396 cat confdefs.h >>conftest.$ac_ext
9397 cat >>conftest.$ac_ext <<_ACEOF
9398 /* end confdefs.h. */
9399 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9401 #define shl_load innocuous_shl_load
9403 /* System header to define __stub macros and hopefully few prototypes,
9404 which can conflict with char shl_load (); below.
9405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9406 <limits.h> exists even on freestanding compilers. */
9409 # include <limits.h>
9411 # include <assert.h>
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9423 /* The GNU C library defines this for functions which it implements
9424 to always fail with ENOSYS. Some functions are actually named
9425 something starting with __ and the normal name is an alias. */
9426 #if defined __stub_shl_load || defined __stub___shl_load
9438 rm -f conftest.$ac_objext conftest$ac_exeext
9439 if { (ac_try="$ac_link"
9441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9442 *) ac_try_echo
=$ac_try;;
9444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9445 (eval "$ac_link") 2>conftest.er1
9447 grep -v '^ *+' conftest.er1
>conftest.err
9449 cat conftest.err
>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } && {
9452 test -z "$ac_c_werror_flag" ||
9453 test ! -s conftest.err
9454 } && test -s conftest
$ac_exeext &&
9455 $as_test_x conftest
$ac_exeext; then
9456 ac_cv_func_shl_load
=yes
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.
$ac_ext >&5
9461 ac_cv_func_shl_load
=no
9464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9465 conftest
$ac_exeext conftest.
$ac_ext
9467 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9468 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9469 if test $ac_cv_func_shl_load = yes; then
9470 lt_cv_dlopen
="shl_load"
9472 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9473 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9474 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 ac_check_lib_save_LIBS
=$LIBS
9479 cat >conftest.
$ac_ext <<_ACEOF
9482 cat confdefs.h
>>conftest.
$ac_ext
9483 cat >>conftest.
$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9501 rm -f conftest.
$ac_objext conftest
$ac_exeext
9502 if { (ac_try
="$ac_link"
9504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_link") 2>conftest.er1
9510 grep -v '^ *+' conftest.er1 >conftest.err
9512 cat conftest.err >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest$ac_exeext &&
9518 $as_test_x conftest$ac_exeext; then
9519 ac_cv_lib_dld_shl_load=yes
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.$ac_ext >&5
9524 ac_cv_lib_dld_shl_load=no
9527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9528 conftest$ac_exeext conftest.$ac_ext
9529 LIBS=$ac_check_lib_save_LIBS
9531 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9532 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9533 if test $ac_cv_lib_dld_shl_load = yes; then
9534 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9536 { echo "$as_me:$LINENO: checking for dlopen" >&5
9537 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9538 if test "${ac_cv_func_dlopen+set}" = set; then
9539 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 cat >conftest.$ac_ext <<_ACEOF
9544 cat confdefs.h >>conftest.$ac_ext
9545 cat >>conftest.$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9547 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9549 #define dlopen innocuous_dlopen
9551 /* System header to define __stub macros and hopefully few prototypes,
9552 which can conflict with char dlopen (); below.
9553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9554 <limits.h> exists even on freestanding compilers. */
9557 # include <limits.h>
9559 # include <assert.h>
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9571 /* The GNU C library defines this for functions which it implements
9572 to always fail with ENOSYS. Some functions are actually named
9573 something starting with __ and the normal name is an alias. */
9574 #if defined __stub_dlopen || defined __stub___dlopen
9586 rm -f conftest.$ac_objext conftest$ac_exeext
9587 if { (ac_try="$ac_link"
9589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9590 *) ac_try_echo
=$ac_try;;
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_link") 2>conftest.er1
9595 grep -v '^ *+' conftest.er1
>conftest.err
9597 cat conftest.err
>&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest
$ac_exeext &&
9603 $as_test_x conftest
$ac_exeext; then
9604 ac_cv_func_dlopen
=yes
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.
$ac_ext >&5
9609 ac_cv_func_dlopen
=no
9612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9613 conftest
$ac_exeext conftest.
$ac_ext
9615 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9616 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9617 if test $ac_cv_func_dlopen = yes; then
9618 lt_cv_dlopen
="dlopen"
9620 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9621 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9622 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 ac_check_lib_save_LIBS
=$LIBS
9627 cat >conftest.
$ac_ext <<_ACEOF
9630 cat confdefs.h
>>conftest.
$ac_ext
9631 cat >>conftest.
$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9649 rm -f conftest.
$ac_objext conftest
$ac_exeext
9650 if { (ac_try
="$ac_link"
9652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_link") 2>conftest.er1
9658 grep -v '^ *+' conftest.er1 >conftest.err
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest$ac_exeext &&
9666 $as_test_x conftest$ac_exeext; then
9667 ac_cv_lib_dl_dlopen=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9672 ac_cv_lib_dl_dlopen=no
9675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9680 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9681 if test $ac_cv_lib_dl_dlopen = yes; then
9682 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9684 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9685 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9686 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 ac_check_lib_save_LIBS=$LIBS
9691 cat >conftest.$ac_ext <<_ACEOF
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (ac_try="$ac_link"
9716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9717 *) ac_try_echo
=$ac_try;;
9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9720 (eval "$ac_link") 2>conftest.er1
9722 grep -v '^ *+' conftest.er1
>conftest.err
9724 cat conftest.err
>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } && {
9727 test -z "$ac_c_werror_flag" ||
9728 test ! -s conftest.err
9729 } && test -s conftest
$ac_exeext &&
9730 $as_test_x conftest
$ac_exeext; then
9731 ac_cv_lib_svld_dlopen
=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.
$ac_ext >&5
9736 ac_cv_lib_svld_dlopen
=no
9739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9740 conftest
$ac_exeext conftest.
$ac_ext
9741 LIBS
=$ac_check_lib_save_LIBS
9743 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9744 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9745 if test $ac_cv_lib_svld_dlopen = yes; then
9746 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9748 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9749 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9750 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 ac_check_lib_save_LIBS
=$LIBS
9755 cat >conftest.
$ac_ext <<_ACEOF
9758 cat confdefs.h
>>conftest.
$ac_ext
9759 cat >>conftest.
$ac_ext <<_ACEOF
9760 /* end confdefs.h. */
9762 /* Override any GCC internal prototype to avoid an error.
9763 Use char because int might match the return type of a GCC
9764 builtin and then its argument prototype would still apply. */
9777 rm -f conftest.
$ac_objext conftest
$ac_exeext
9778 if { (ac_try
="$ac_link"
9780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9781 *) ac_try_echo=$ac_try;;
9783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9784 (eval "$ac_link") 2>conftest.er1
9786 grep -v '^ *+' conftest.er1 >conftest.err
9788 cat conftest.err >&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); } && {
9791 test -z "$ac_c_werror_flag" ||
9792 test ! -s conftest.err
9793 } && test -s conftest$ac_exeext &&
9794 $as_test_x conftest$ac_exeext; then
9795 ac_cv_lib_dld_dld_link=yes
9797 echo "$as_me: failed program was:" >&5
9798 sed 's/^/| /' conftest.$ac_ext >&5
9800 ac_cv_lib_dld_dld_link=no
9803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_lib_save_LIBS
9807 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9808 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9809 if test $ac_cv_lib_dld_dld_link = yes; then
9810 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9831 if test "x$lt_cv_dlopen" != xno; then
9837 case $lt_cv_dlopen in
9839 save_CPPFLAGS="$CPPFLAGS"
9840 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9842 save_LDFLAGS="$LDFLAGS"
9843 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9846 LIBS="$lt_cv_dlopen_libs $LIBS"
9848 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9849 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9850 if test "${lt_cv_dlopen_self+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 if test "$cross_compiling" = yes; then :
9854 lt_cv_dlopen_self=cross
9856 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9857 lt_status=$lt_dlunknown
9858 cat > conftest.$ac_ext <<EOF
9859 #line 9859 "configure"
9860 #include "confdefs.h"
9869 # define LT_DLGLOBAL RTLD_GLOBAL
9872 # define LT_DLGLOBAL DL_GLOBAL
9874 # define LT_DLGLOBAL 0
9878 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9879 find out it does not work in some platform. */
9880 #ifndef LT_DLLAZY_OR_NOW
9882 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9885 # define LT_DLLAZY_OR_NOW DL_LAZY
9888 # define LT_DLLAZY_OR_NOW RTLD_NOW
9891 # define LT_DLLAZY_OR_NOW DL_NOW
9893 # define LT_DLLAZY_OR_NOW 0
9901 extern "C" void exit (int);
9904 void fnord() { int i=42;}
9907 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9908 int status = $lt_dlunknown;
9912 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9913 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9914 /* dlclose (self); */
9922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9923 (eval $ac_link) 2>&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9927 (./conftest; exit; ) >&5 2>/dev/null
9930 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9931 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9932 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9935 # compilation failed
9936 lt_cv_dlopen_self=no
9943 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9944 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9946 if test "x$lt_cv_dlopen_self" = xyes; then
9947 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9948 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9949 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9950 if test "${lt_cv_dlopen_self_static+set}" = set; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 if test "$cross_compiling" = yes; then :
9954 lt_cv_dlopen_self_static=cross
9956 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9957 lt_status=$lt_dlunknown
9958 cat > conftest.$ac_ext <<EOF
9959 #line 9959 "configure"
9960 #include "confdefs.h"
9969 # define LT_DLGLOBAL RTLD_GLOBAL
9972 # define LT_DLGLOBAL DL_GLOBAL
9974 # define LT_DLGLOBAL 0
9978 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9979 find out it does not work in some platform. */
9980 #ifndef LT_DLLAZY_OR_NOW
9982 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9985 # define LT_DLLAZY_OR_NOW DL_LAZY
9988 # define LT_DLLAZY_OR_NOW RTLD_NOW
9991 # define LT_DLLAZY_OR_NOW DL_NOW
9993 # define LT_DLLAZY_OR_NOW 0
10001 extern "C" void exit (int);
10004 void fnord() { int i=42;}
10007 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10008 int status = $lt_dlunknown;
10012 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10013 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10014 /* dlclose (self); */
10022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10023 (eval $ac_link) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10027 (./conftest; exit; ) >&5 2>/dev/null
10029 case x$lt_status in
10030 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10031 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10032 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10035 # compilation failed
10036 lt_cv_dlopen_self_static=no
10043 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10044 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10047 CPPFLAGS="$save_CPPFLAGS"
10048 LDFLAGS="$save_LDFLAGS"
10053 case $lt_cv_dlopen_self in
10054 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10055 *) enable_dlopen_self=unknown ;;
10058 case $lt_cv_dlopen_self_static in
10059 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10060 *) enable_dlopen_self_static=unknown ;;
10065 # Report which library types will actually be built
10066 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10067 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10068 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10069 echo "${ECHO_T}$can_build_shared" >&6; }
10071 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10072 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10073 test "$can_build_shared" = "no" && enable_shared=no
10075 # On AIX, shared libraries and static libraries use the same namespace, and
10076 # are all built from PIC.
10079 test "$enable_shared" = yes && enable_static=no
10080 if test -n "$RANLIB"; then
10081 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10082 postinstall_cmds='$RANLIB $lib'
10087 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10088 test "$enable_shared" = yes && enable_static=no
10092 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10093 echo "${ECHO_T}$enable_shared" >&6; }
10095 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10096 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10097 # Make sure either enable_shared or enable_static is yes.
10098 test "$enable_shared" = yes || enable_static=yes
10099 { echo "$as_me:$LINENO: result: $enable_static" >&5
10100 echo "${ECHO_T}$enable_static" >&6; }
10102 # The else clause should only fire when bootstrapping the
10103 # libtool distribution, otherwise you forgot to ship ltmain.sh
10104 # with your package, and you will get complaints that there are
10105 # no rules to generate ltmain.sh.
10106 if test -f "$ltmain"; then
10107 # See if we are running on zsh, and set the options which allow our commands through
10108 # without removal of \ escapes.
10109 if test -n "${ZSH_VERSION+set}" ; then
10110 setopt NO_GLOB_SUBST
10112 # Now quote all the things that may contain metacharacters while being
10113 # careful not to overquote the AC_SUBSTed values. We take copies of the
10114 # variables and quote the copies for generation of the libtool script.
10115 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10117 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10118 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10119 deplibs_check_method reload_flag reload_cmds need_locks \
10120 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10121 lt_cv_sys_global_symbol_to_c_name_address \
10122 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10123 old_postinstall_cmds old_postuninstall_cmds \
10127 lt_prog_compiler_wl \
10128 lt_prog_compiler_pic \
10129 lt_prog_compiler_static \
10130 lt_prog_compiler_no_builtin_flag \
10131 export_dynamic_flag_spec \
10132 thread_safe_flag_spec \
10133 whole_archive_flag_spec \
10134 enable_shared_with_static_runtimes \
10136 old_archive_from_new_cmds \
10141 compiler_lib_search_path \
10143 archive_expsym_cmds \
10145 postuninstall_cmds \
10146 old_archive_from_expsyms_cmds \
10147 allow_undefined_flag \
10148 no_undefined_flag \
10149 export_symbols_cmds \
10150 hardcode_libdir_flag_spec \
10151 hardcode_libdir_flag_spec_ld \
10152 hardcode_libdir_separator \
10153 hardcode_automatic \
10155 module_expsym_cmds \
10156 lt_cv_prog_compiler_c_o \
10158 include_expsyms; do
10161 old_archive_cmds | \
10162 old_archive_from_new_cmds | \
10164 archive_expsym_cmds | \
10166 module_expsym_cmds | \
10167 old_archive_from_expsyms_cmds | \
10168 export_symbols_cmds | \
10169 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10170 postinstall_cmds | postuninstall_cmds | \
10171 old_postinstall_cmds | old_postuninstall_cmds | \
10172 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10173 # Double-quote double-evaled strings.
10174 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10177 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10183 *'\$0 --fallback-echo"')
10184 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10188 cfgfile="${ofile}T"
10189 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10191 { echo "$as_me:$LINENO: creating $ofile" >&5
10192 echo "$as_me: creating $ofile" >&6;}
10194 cat <<__EOF__ >> "$cfgfile"
10197 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10198 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10199 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10201 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10202 # Free Software Foundation, Inc.
10204 # This file is part of GNU Libtool:
10205 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10207 # This program is free software; you can redistribute it and/or modify
10208 # it under the terms of the GNU General Public License as published by
10209 # the Free Software Foundation; either version 2 of the License, or
10210 # (at your option) any later version.
10212 # This program is distributed in the hope that it will be useful, but
10213 # WITHOUT ANY WARRANTY; without even the implied warranty of
10214 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10215 # General Public License for more details.
10217 # You should have received a copy of the GNU General Public License
10218 # along with this program; if not, write to the Free Software
10219 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10221 # As a special exception to the GNU General Public License, if you
10222 # distribute this file as part of a program that contains a
10223 # configuration script generated by Autoconf, you may include it under
10224 # the same distribution terms that you use for the rest of that program.
10226 # A sed program that does not truncate output.
10229 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10230 Xsed="$SED -e 1s/^X//"
10232 # The HP-UX ksh and POSIX shell print the target directory to stdout
10233 # if CDPATH is set.
10234 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10236 # The names of the tagged configurations supported by this script.
10239 # ### BEGIN LIBTOOL CONFIG
10241 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10243 # Shell to use when invoking shell scripts.
10246 # Whether or not to build shared libraries.
10247 build_libtool_libs=$enable_shared
10249 # Whether or not to build static libraries.
10250 build_old_libs=$enable_static
10252 # Whether or not to add -lc for building shared libraries.
10253 build_libtool_need_lc=$archive_cmds_need_lc
10255 # Whether or not to disallow shared libs when runtime libs are static
10256 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10258 # Whether or not to optimize for fast installation.
10259 fast_install=$enable_fast_install
10262 host_alias=$host_alias
10266 # The build system.
10267 build_alias=$build_alias
10271 # An echo program that does not interpret backslashes.
10276 AR_FLAGS=$lt_AR_FLAGS
10281 # LTCC compiler flags.
10282 LTCFLAGS=$lt_LTCFLAGS
10284 # A language-specific compiler.
10287 # Is the compiler the GNU C compiler?
10293 # The linker used to build libraries.
10296 # Whether we need hard or soft links.
10299 # A BSD-compatible nm program.
10302 # A symbol stripping program
10305 # Used to examine libraries when file_magic_cmd begins "file"
10306 MAGIC_CMD=$MAGIC_CMD
10308 # Used on cygwin: DLL creation program.
10311 # Used on cygwin: object dumper.
10314 # Used on cygwin: assembler.
10317 # The name of the directory that contains temporary libtool files.
10320 # How to create reloadable object files.
10321 reload_flag=$lt_reload_flag
10322 reload_cmds=$lt_reload_cmds
10324 # How to pass a linker flag through the compiler.
10325 wl=$lt_lt_prog_compiler_wl
10327 # Object file suffix (normally "o").
10328 objext="$ac_objext"
10330 # Old archive suffix (normally "a").
10333 # Shared library suffix (normally ".so").
10334 shrext_cmds='$shrext_cmds'
10336 # Executable file suffix (normally "").
10339 # Additional compiler flags for building library objects.
10340 pic_flag=$lt_lt_prog_compiler_pic
10343 # What is the maximum length of a command?
10344 max_cmd_len=$lt_cv_sys_max_cmd_len
10346 # Does compiler simultaneously support -c and -o options?
10347 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10349 # Must we lock files when doing compilation?
10350 need_locks=$lt_need_locks
10352 # Do we need the lib prefix for modules?
10353 need_lib_prefix=$need_lib_prefix
10355 # Do we need a version for libraries?
10356 need_version=$need_version
10358 # Whether dlopen is supported.
10359 dlopen_support=$enable_dlopen
10361 # Whether dlopen of programs is supported.
10362 dlopen_self=$enable_dlopen_self
10364 # Whether dlopen of statically linked programs is supported.
10365 dlopen_self_static=$enable_dlopen_self_static
10367 # Compiler flag to prevent dynamic linking.
10368 link_static_flag=$lt_lt_prog_compiler_static
10370 # Compiler flag to turn off builtin functions.
10371 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10373 # Compiler flag to allow reflexive dlopens.
10374 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10376 # Compiler flag to generate shared objects directly from archives.
10377 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10379 # Compiler flag to generate thread-safe objects.
10380 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10382 # Library versioning type.
10383 version_type=$version_type
10385 # Format of library name prefix.
10386 libname_spec=$lt_libname_spec
10388 # List of archive names. First name is the real one, the rest are links.
10389 # The last name is the one that the linker finds with -lNAME.
10390 library_names_spec=$lt_library_names_spec
10392 # The coded name of the library, if different from the real name.
10393 soname_spec=$lt_soname_spec
10395 # Commands used to build and install an old-style archive.
10397 old_archive_cmds=$lt_old_archive_cmds
10398 old_postinstall_cmds=$lt_old_postinstall_cmds
10399 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10401 # Create an old-style archive from a shared archive.
10402 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10404 # Create a temporary old-style archive to link instead of a shared archive.
10405 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10407 # Commands used to build and install a shared archive.
10408 archive_cmds=$lt_archive_cmds
10409 archive_expsym_cmds=$lt_archive_expsym_cmds
10410 postinstall_cmds=$lt_postinstall_cmds
10411 postuninstall_cmds=$lt_postuninstall_cmds
10413 # Commands used to build a loadable module (assumed same as above if empty)
10414 module_cmds=$lt_module_cmds
10415 module_expsym_cmds=$lt_module_expsym_cmds
10417 # Commands to strip libraries.
10418 old_striplib=$lt_old_striplib
10419 striplib=$lt_striplib
10421 # Dependencies to place before the objects being linked to create a
10423 predep_objects=$lt_predep_objects
10425 # Dependencies to place after the objects being linked to create a
10427 postdep_objects=$lt_postdep_objects
10429 # Dependencies to place before the objects being linked to create a
10431 predeps=$lt_predeps
10433 # Dependencies to place after the objects being linked to create a
10435 postdeps=$lt_postdeps
10437 # The library search path used internally by the compiler when linking
10438 # a shared library.
10439 compiler_lib_search_path=$lt_compiler_lib_search_path
10441 # Method to check whether dependent libraries are shared objects.
10442 deplibs_check_method=$lt_deplibs_check_method
10444 # Command to use when deplibs_check_method == file_magic.
10445 file_magic_cmd=$lt_file_magic_cmd
10447 # Flag that allows shared libraries with undefined symbols to be built.
10448 allow_undefined_flag=$lt_allow_undefined_flag
10450 # Flag that forces no undefined symbols.
10451 no_undefined_flag=$lt_no_undefined_flag
10453 # Commands used to finish a libtool library installation in a directory.
10454 finish_cmds=$lt_finish_cmds
10456 # Same as above, but a single script fragment to be evaled but not shown.
10457 finish_eval=$lt_finish_eval
10459 # Take the output of nm and produce a listing of raw symbols and C names.
10460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10462 # Transform the output of nm in a proper C declaration
10463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10465 # Transform the output of nm in a C name address pair
10466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10468 # This is the shared library runtime path variable.
10469 runpath_var=$runpath_var
10471 # This is the shared library path variable.
10472 shlibpath_var=$shlibpath_var
10474 # Is shlibpath searched before the hard-coded library search path?
10475 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10477 # How to hardcode a shared library path into an executable.
10478 hardcode_action=$hardcode_action
10480 # Whether we should hardcode library paths into libraries.
10481 hardcode_into_libs=$hardcode_into_libs
10483 # Flag to hardcode \$libdir into a binary during linking.
10484 # This must work even if \$libdir does not exist.
10485 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10487 # If ld is used when linking, flag to hardcode \$libdir into
10488 # a binary during linking. This must work even if \$libdir does
10490 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10492 # Whether we need a single -rpath flag with a separated argument.
10493 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10495 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10496 # resulting binary.
10497 hardcode_direct=$hardcode_direct
10499 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10500 # resulting binary.
10501 hardcode_minus_L=$hardcode_minus_L
10503 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10504 # the resulting binary.
10505 hardcode_shlibpath_var=$hardcode_shlibpath_var
10507 # Set to yes if building a shared library automatically hardcodes DIR into the library
10508 # and all subsequent libraries and executables linked against it.
10509 hardcode_automatic=$hardcode_automatic
10511 # Variables whose values should be saved in libtool wrapper scripts and
10512 # restored at relink time.
10513 variables_saved_for_relink="$variables_saved_for_relink"
10515 # Whether libtool must link a program against all its dependency libraries.
10516 link_all_deplibs=$link_all_deplibs
10518 # Compile-time system search path for libraries
10519 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10521 # Run-time system search path for libraries
10522 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10524 # Fix the shell variable \$srcfile for the compiler.
10525 fix_srcfile_path="$fix_srcfile_path"
10527 # Set to yes if exported symbols are required.
10528 always_export_symbols=$always_export_symbols
10530 # The commands to list exported symbols.
10531 export_symbols_cmds=$lt_export_symbols_cmds
10533 # The commands to extract the exported symbol list from a shared archive.
10534 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10536 # Symbols that should not be listed in the preloaded symbols.
10537 exclude_expsyms=$lt_exclude_expsyms
10539 # Symbols that must always be exported.
10540 include_expsyms=$lt_include_expsyms
10542 # ### END LIBTOOL CONFIG
10549 cat <<\EOF >> "$cfgfile"
10551 # AIX sometimes has problems with the GCC collect2 program. For some
10552 # reason, if we set the COLLECT_NAMES environment variable, the problems
10553 # vanish in a puff of smoke.
10554 if test "X${COLLECT_NAMES+set}" != Xset; then
10556 export COLLECT_NAMES
10562 # We use sed instead of cat because bash on DJGPP gets confused if
10563 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10564 # text mode, it properly converts lines to CR/LF. This bash problem
10565 # is reportedly fixed, but why not run on old versions too?
10566 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10568 mv -f "$cfgfile" "$ofile" || \
10569 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10573 # If there is no Makefile yet, we rely on a make rule to execute
10574 # `config.status
--recheck' to rerun these tests and create the
10575 # libtool script then.
10576 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10577 if test -f "$ltmain_in"; then
10578 test -f Makefile && make "$ltmain"
10584 ac_cpp='$CPP $CPPFLAGS'
10585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10586 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10592 # Check whether --with-tags was given.
10593 if test "${with_tags+set}" = set; then
10594 withval=$with_tags; tagnames="$withval"
10598 if test -f "$ltmain" && test -n "$tagnames"; then
10599 if test ! -f "${ofile}"; then
10600 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10601 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10604 if test -z "$LTCC"; then
10605 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10606 if test -z "$LTCC"; then
10607 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10608 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10610 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10611 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10614 if test -z "$LTCFLAGS"; then
10615 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10618 # Extract list of available tagged configurations in $ofile.
10619 # Note that this assumes the entire list is on one line.
10620 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10622 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10623 for tagname in $tagnames; do
10625 # Check whether tagname contains only valid characters
10626 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10628 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10629 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10630 { (exit 1); exit 1; }; }
10634 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10636 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10637 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10638 { (exit 1); exit 1; }; }
10641 # Update the list of available tags.
10642 if test -n "$tagname"; then
10643 echo appending configuration tag \"$tagname\" to $ofile
10647 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10648 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10649 (test "X$CXX" != "Xg++"))) ; then
10651 ac_cpp='$CXXCPP $CPPFLAGS'
10652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10659 archive_cmds_need_lc_CXX=no
10660 allow_undefined_flag_CXX=
10661 always_export_symbols_CXX=no
10662 archive_expsym_cmds_CXX=
10663 export_dynamic_flag_spec_CXX=
10664 hardcode_direct_CXX=no
10665 hardcode_libdir_flag_spec_CXX=
10666 hardcode_libdir_flag_spec_ld_CXX=
10667 hardcode_libdir_separator_CXX=
10668 hardcode_minus_L_CXX=no
10669 hardcode_shlibpath_var_CXX=unsupported
10670 hardcode_automatic_CXX=no
10672 module_expsym_cmds_CXX=
10673 link_all_deplibs_CXX=unknown
10674 old_archive_cmds_CXX=$old_archive_cmds
10675 no_undefined_flag_CXX=
10676 whole_archive_flag_spec_CXX=
10677 enable_shared_with_static_runtimes_CXX=no
10679 # Dependencies to place before and after the object being linked:
10680 predep_objects_CXX=
10681 postdep_objects_CXX=
10684 compiler_lib_search_path_CXX=
10686 # Source file extension for C++ test sources.
10689 # Object file extension for compiled C++ test sources.
10693 # Code to be used in simple compile tests
10694 lt_simple_compile_test_code="int some_variable = 0;\n"
10696 # Code to be used in simple link tests
10697 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10699 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10701 # If no C compiler was specified, use CC.
10704 # If no C compiler flags were specified, use CFLAGS.
10705 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10707 # Allow CC to be a program name with arguments.
10711 # save warnings/boilerplate of simple test code
10712 ac_outfile=conftest.$ac_objext
10713 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10714 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10715 _lt_compiler_boilerplate=`cat conftest.err
`
10718 ac_outfile=conftest.$ac_objext
10719 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10720 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10721 _lt_linker_boilerplate=`cat conftest.err
`
10725 # Allow CC to be a program name with arguments.
10730 lt_save_with_gnu_ld=$with_gnu_ld
10731 lt_save_path_LD=$lt_cv_path_LD
10732 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10733 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10735 $as_unset lt_cv_prog_gnu_ld
10737 if test -n "${lt_cv_path_LDCXX+set}"; then
10738 lt_cv_path_LD=$lt_cv_path_LDCXX
10740 $as_unset lt_cv_path_LD
10742 test -z "${LDCXX+set}" || LD=$LDCXX
10746 for cc_temp in $compiler""; do
10748 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10749 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10754 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10757 # We don't want -fno-exception wen compiling C++ code, so set the
10758 # no_builtin_flag separately
10759 if test "$GXX" = yes; then
10760 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10762 lt_prog_compiler_no_builtin_flag_CXX=
10765 if test "$GXX" = yes; then
10766 # Set up default GNU C++ configuration
10769 # Check whether --with-gnu-ld was given.
10770 if test "${with_gnu_ld+set}" = set; then
10771 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10777 if test "$GCC" = yes; then
10778 # Check if gcc -print-prog-name=ld gives a path.
10779 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10780 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10783 # gcc leaves a trailing carriage return which upsets mingw
10784 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10786 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10789 # Accept absolute paths.
10791 re_direlt='/[^/][^/]*/\.\./'
10792 # Canonicalize the pathname of ld
10793 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10794 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10795 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10797 test -z "$LD" && LD="$ac_prog"
10800 # If it fails, then pretend we aren't using GCC.
10804 # If it is relative, then search for the first ld in PATH.
10805 with_gnu_ld=unknown
10808 elif test "$with_gnu_ld" = yes; then
10809 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10810 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10812 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10813 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10815 if test "${lt_cv_path_LD+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 if test -z "$LD"; then
10819 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10820 for ac_dir in $PATH; do
10822 test -z "$ac_dir" && ac_dir=.
10823 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10824 lt_cv_path_LD="$ac_dir/$ac_prog"
10825 # Check to see if the program is GNU ld. I'd rather use --version,
10826 # but apparently some variants of GNU ld only accept -v.
10827 # Break only if it was the GNU/non-GNU ld that we prefer.
10828 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10829 *GNU* | *'with BFD'*)
10830 test "$with_gnu_ld" != no && break
10833 test "$with_gnu_ld" != yes && break
10840 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10844 LD="$lt_cv_path_LD"
10845 if test -n "$LD"; then
10846 { echo "$as_me:$LINENO: result: $LD" >&5
10847 echo "${ECHO_T}$LD" >&6; }
10849 { echo "$as_me:$LINENO: result: no" >&5
10850 echo "${ECHO_T}no" >&6; }
10852 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10853 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10854 { (exit 1); exit 1; }; }
10855 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10856 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10857 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10860 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10861 case `$LD -v 2>&1 </dev
/null
` in
10862 *GNU* | *'with BFD'*)
10863 lt_cv_prog_gnu_ld=yes
10866 lt_cv_prog_gnu_ld=no
10870 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10871 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10872 with_gnu_ld=$lt_cv_prog_gnu_ld
10876 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10877 # archiving commands below assume that GNU ld is being used.
10878 if test "$with_gnu_ld" = yes; then
10879 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10880 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'
10882 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10883 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10885 # If archive_cmds runs LD, not CC, wlarc should be empty
10886 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10887 # investigate it a little bit more. (MM)
10890 # ancient GNU ld didn't support --whole-archive et. al.
10891 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10892 grep 'no-whole-archive' > /dev/null; then
10893 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10895 whole_archive_flag_spec_CXX=
10901 # A generic and very simple default shared library creation
10902 # command for GNU C++ for the case where it uses the native
10903 # linker, instead of GNU ld. If possible, this setting should
10904 # overridden to take advantage of the native linker features on
10905 # the platform it is being used on.
10906 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10909 # Commands to make compiler produce verbose output that lists
10910 # what "hidden" libraries, object files and flags are used when
10911 # linking a shared library.
10912 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10920 # PORTME: fill in a description of your system's C++ link characteristics
10921 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10922 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10926 # FIXME: insert proper C++ library support
10930 if test "$host_cpu" = ia64; then
10931 # On IA64, the linker does run time linking by default, so we don't
10932 # have to do anything special.
10933 aix_use_runtimelinking=no
10934 exp_sym_flag='-Bexport'
10937 aix_use_runtimelinking=no
10939 # Test if we are trying to use run time linking or normal
10940 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10941 # need to do runtime linking.
10942 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10943 for ld_flag in $LDFLAGS; do
10946 aix_use_runtimelinking=yes
10954 exp_sym_flag='-bexport'
10955 no_entry_flag='-bnoentry'
10958 # When large executables or shared objects are built, AIX ld can
10959 # have problems creating the table of contents. If linking a library
10960 # or program results in "error TOC overflow" add -mminimal-toc to
10961 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10962 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10964 archive_cmds_CXX=''
10965 hardcode_direct_CXX=yes
10966 hardcode_libdir_separator_CXX=':'
10967 link_all_deplibs_CXX=yes
10969 if test "$GXX" = yes; then
10970 case $host_os in aix4.[012]|aix4.[012].*)
10971 # We only want to do this on AIX 4.2 and lower, the check
10972 # below for broken collect2 doesn't work under 4.3+
10973 collect2name=`${CC} -print-prog-name=collect2
`
10974 if test -f "$collect2name" && \
10975 strings "$collect2name" | grep resolve_lib_name >/dev/null
10977 # We have reworked collect2
10978 hardcode_direct_CXX=yes
10980 # We have old collect2
10981 hardcode_direct_CXX=unsupported
10982 # It fails to find uninstalled libraries when the uninstalled
10983 # path is not listed in the libpath. Setting hardcode_minus_L
10984 # to unsupported forces relinking
10985 hardcode_minus_L_CXX=yes
10986 hardcode_libdir_flag_spec_CXX='-L$libdir'
10987 hardcode_libdir_separator_CXX=
10991 shared_flag='-shared'
10992 if test "$aix_use_runtimelinking" = yes; then
10993 shared_flag="$shared_flag "'${wl}-G'
10997 if test "$host_cpu" = ia64; then
10998 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10999 # chokes on -Wl,-G. The following line is correct:
11002 if test "$aix_use_runtimelinking" = yes; then
11003 shared_flag='${wl}-G'
11005 shared_flag='${wl}-bM:SRE'
11010 # It seems that -bexpall does not export symbols beginning with
11011 # underscore (_), so it is better to generate a list of symbols to export.
11012 always_export_symbols_CXX=yes
11013 if test "$aix_use_runtimelinking" = yes; then
11014 # Warning - without using the other runtime loading flags (-brtl),
11015 # -berok will link without error, but may produce a broken library.
11016 allow_undefined_flag_CXX='-berok'
11017 # Determine the default libpath from the value encoded in an empty executable.
11018 cat >conftest.$ac_ext <<_ACEOF
11021 cat confdefs.h >>conftest.$ac_ext
11022 cat >>conftest.$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (ac_try="$ac_link"
11035 case "(($ac_try" in
11036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11037 *) ac_try_echo
=$ac_try;;
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1
>conftest.err
11044 cat conftest.err
>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_cxx_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest
$ac_exeext &&
11050 $as_test_x conftest
$ac_exeext; then
11052 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11054 # Check for a 64-bit object if we didn't find anything.
11055 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; }
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.
$ac_ext >&5
11064 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11065 conftest
$ac_exeext conftest.
$ac_ext
11066 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11068 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11070 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"
11072 if test "$host_cpu" = ia64
; then
11073 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11074 allow_undefined_flag_CXX
="-z nodefs"
11075 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"
11077 # Determine the default libpath from the value encoded in an empty executable.
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11093 rm -f conftest.
$ac_objext conftest
$ac_exeext
11094 if { (ac_try
="$ac_link"
11095 case "(($ac_try" in
11096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11097 *) ac_try_echo=$ac_try;;
11099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11100 (eval "$ac_link") 2>conftest.er1
11102 grep -v '^ *+' conftest.er1 >conftest.err
11104 cat conftest.err >&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); } && {
11107 test -z "$ac_cxx_werror_flag" ||
11108 test ! -s conftest.err
11109 } && test -s conftest$ac_exeext &&
11110 $as_test_x conftest$ac_exeext; then
11112 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11114 # Check for a 64-bit object if we didn't find anything.
11115 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; }
11118 echo "$as_me: failed program was:" >&5
11119 sed 's/^/| /' conftest.$ac_ext >&5
11124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11125 conftest$ac_exeext conftest.$ac_ext
11126 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11128 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11129 # Warning - without using the other run time loading flags,
11130 # -berok will link without error, but may produce a broken library.
11131 no_undefined_flag_CXX=' ${wl}-bernotok'
11132 allow_undefined_flag_CXX=' ${wl}-berok'
11133 # Exported symbols can be pulled into shared objects from archives
11134 whole_archive_flag_spec_CXX='$convenience'
11135 archive_cmds_need_lc_CXX=yes
11136 # This is similar to how AIX traditionally builds its shared libraries.
11137 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'
11143 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11144 allow_undefined_flag_CXX=unsupported
11145 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11146 # support --undefined. This deserves some investigation. FIXME
11147 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11154 case $cc_basename in
11156 # FIXME: insert proper C++ library support
11162 cygwin* | mingw* | pw32*)
11163 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11164 # as there is no search path for DLLs.
11165 hardcode_libdir_flag_spec_CXX='-L$libdir'
11166 allow_undefined_flag_CXX=unsupported
11167 always_export_symbols_CXX=no
11168 enable_shared_with_static_runtimes_CXX=yes
11170 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11171 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'
11172 # If the export-symbols file already is a .def file (1st line
11173 # is EXPORTS), use it as is; otherwise, prepend...
11174 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11175 cp $export_symbols $output_objdir/$soname.def;
11177 echo EXPORTS > $output_objdir/$soname.def;
11178 cat $export_symbols >> $output_objdir/$soname.def;
11180 $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'
11185 darwin* | rhapsody*)
11187 rhapsody* | darwin1.[012])
11188 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11191 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11192 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11194 case ${MACOSX_DEPLOYMENT_TARGET} in
11196 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11199 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11205 archive_cmds_need_lc_CXX=no
11206 hardcode_direct_CXX=no
11207 hardcode_automatic_CXX=yes
11208 hardcode_shlibpath_var_CXX=unsupported
11209 whole_archive_flag_spec_CXX=''
11210 link_all_deplibs_CXX=yes
11212 if test "$GXX" = yes ; then
11213 lt_int_apple_cc_single_mod=no
11214 output_verbose_link_cmd='echo'
11215 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11216 lt_int_apple_cc_single_mod=yes
11218 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11219 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11221 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'
11223 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11224 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11225 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11226 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}'
11228 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}'
11230 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}'
11232 case $cc_basename in
11234 output_verbose_link_cmd='echo'
11235 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'
11236 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11237 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11238 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}'
11239 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}'
11249 case $cc_basename in
11251 # FIXME: insert proper C++ library support
11255 # Green Hills C++ Compiler
11256 # FIXME: insert proper C++ library support
11260 # FIXME: insert proper C++ library support
11266 # C++ shared libraries reported to be fairly broken before switch to ELF
11270 archive_cmds_need_lc_CXX=no
11272 freebsd* | kfreebsd*-gnu | dragonfly*)
11273 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11280 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11281 hardcode_libdir_separator_CXX=:
11282 export_dynamic_flag_spec_CXX='${wl}-E'
11283 hardcode_direct_CXX=yes
11284 hardcode_minus_L_CXX=yes # Not in the search PATH,
11285 # but as the default
11286 # location of the library.
11288 case $cc_basename in
11290 # FIXME: insert proper C++ library support
11294 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'
11295 # Commands to make compiler produce verbose output that lists
11296 # what "hidden" libraries, object files and flags are used when
11297 # linking a shared library.
11299 # There doesn't appear to be a way to prevent this compiler from
11300 # explicitly linking system object files so we need to strip them
11301 # from the output so that they don't get included in the library
11303 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'
11306 if test "$GXX" = yes; then
11307 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'
11309 # FIXME: insert proper C++ library support
11316 if test $with_gnu_ld = no; then
11317 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11318 hardcode_libdir_separator_CXX=:
11322 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11325 export_dynamic_flag_spec_CXX='${wl}-E'
11331 hardcode_direct_CXX=no
11332 hardcode_shlibpath_var_CXX=no
11335 hardcode_direct_CXX=yes
11336 hardcode_minus_L_CXX=yes # Not in the search PATH,
11337 # but as the default
11338 # location of the library.
11342 case $cc_basename in
11344 # FIXME: insert proper C++ library support
11350 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11353 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11356 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11359 # Commands to make compiler produce verbose output that lists
11360 # what "hidden" libraries, object files and flags are used when
11361 # linking a shared library.
11363 # There doesn't appear to be a way to prevent this compiler from
11364 # explicitly linking system object files so we need to strip them
11365 # from the output so that they don't get included in the library
11367 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'
11370 if test "$GXX" = yes; then
11371 if test $with_gnu_ld = no; then
11374 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11377 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11380 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'
11385 # FIXME: insert proper C++ library support
11392 hardcode_direct_CXX=no
11393 hardcode_shlibpath_var_CXX=no
11394 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11395 export_dynamic_flag_spec_CXX='${wl}-E'
11396 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11397 # Instead, shared libraries are loaded at an image base (0x10000000 by
11398 # default) and relocated if they conflict, which is a slow very memory
11399 # consuming and fragmenting process. To avoid this, we pick a random,
11400 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11401 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11402 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'
11403 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'
11406 case $cc_basename in
11409 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'
11411 # Archives containing C++ object files must be created using
11412 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11413 # necessary to make sure instantiated templates are included
11415 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11418 if test "$GXX" = yes; then
11419 if test "$with_gnu_ld" = no; then
11420 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'
11422 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'
11425 link_all_deplibs_CXX=yes
11428 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11429 hardcode_libdir_separator_CXX=:
11432 case $cc_basename in
11434 # Kuck and Associates, Inc. (KAI) C++ Compiler
11436 # KCC will only create a shared library if the output file
11437 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11438 # to its proper name (with version) after linking.
11439 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'
11440 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'
11441 # Commands to make compiler produce verbose output that lists
11442 # what "hidden" libraries, object files and flags are used when
11443 # linking a shared library.
11445 # There doesn't appear to be a way to prevent this compiler from
11446 # explicitly linking system object files so we need to strip them
11447 # from the output so that they don't get included in the library
11449 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'
11451 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11452 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11454 # Archives containing C++ object files must be created using
11455 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11456 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11461 # version 8.0 and above of icpc choke on multiply defined symbols
11462 # if we add $predep_objects and $postdep_objects, however 7.1 and
11463 # earlier do not add the objects themselves.
11464 case `$CC -V 2>&1` in
11466 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11467 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'
11469 *) # Version 8.0 or newer
11472 ia64
*) tmp_idyn
=' -i_dynamic';;
11474 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11475 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'
11478 archive_cmds_need_lc_CXX
=no
11479 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11480 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11481 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11484 # Portland Group C++ compiler
11485 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11486 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'
11488 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11489 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11490 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'
11494 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11495 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'
11497 runpath_var
=LD_RUN_PATH
11498 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11499 hardcode_libdir_separator_CXX
=:
11501 # Commands to make compiler produce verbose output that lists
11502 # what "hidden" libraries, object files and flags are used when
11503 # linking a shared library.
11505 # There doesn't appear to be a way to prevent this compiler from
11506 # explicitly linking system object files so we need to strip them
11507 # from the output so that they don't get included in the library
11509 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'
11514 # FIXME: insert proper C++ library support
11518 # FIXME: insert proper C++ library support
11522 case $cc_basename in
11524 # FIXME: insert proper C++ library support
11528 # FIXME: insert proper C++ library support
11534 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11535 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11537 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11538 hardcode_direct_CXX
=yes
11539 hardcode_shlibpath_var_CXX
=no
11541 # Workaround some broken pre-1.5 toolchains
11542 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11545 # C++ shared libraries are fairly broken
11549 hardcode_direct_CXX
=yes
11550 hardcode_shlibpath_var_CXX
=no
11551 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11552 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11553 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11554 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11555 export_dynamic_flag_spec_CXX
='${wl}-E'
11556 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11558 output_verbose_link_cmd
='echo'
11561 case $cc_basename in
11563 # Kuck and Associates, Inc. (KAI) C++ Compiler
11565 # KCC will only create a shared library if the output file
11566 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11567 # to its proper name (with version) after linking.
11568 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'
11570 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11571 hardcode_libdir_separator_CXX
=:
11573 # Archives containing C++ object files must be created using
11574 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11575 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11579 # Rational C++ 2.4.1
11580 # FIXME: insert proper C++ library support
11584 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11585 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'
11587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11588 hardcode_libdir_separator_CXX
=:
11590 # Commands to make compiler produce verbose output that lists
11591 # what "hidden" libraries, object files and flags are used when
11592 # linking a shared library.
11594 # There doesn't appear to be a way to prevent this compiler from
11595 # explicitly linking system object files so we need to strip them
11596 # from the output so that they don't get included in the library
11598 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'
11601 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11602 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11603 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'
11605 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11606 hardcode_libdir_separator_CXX
=:
11608 # Commands to make compiler produce verbose output that lists
11609 # what "hidden" libraries, object files and flags are used when
11610 # linking a shared library.
11611 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11614 # FIXME: insert proper C++ library support
11621 case $cc_basename in
11623 # Kuck and Associates, Inc. (KAI) C++ Compiler
11625 # KCC will only create a shared library if the output file
11626 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11627 # to its proper name (with version) after linking.
11628 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'
11630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11631 hardcode_libdir_separator_CXX
=:
11633 # Archives containing C++ object files must be created using
11634 # the KAI C++ compiler.
11635 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11638 # Rational C++ 2.4.1
11639 # FIXME: insert proper C++ library support
11643 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11644 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'
11645 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11646 echo "-hidden">> $lib.exp~
11647 $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~
11650 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11651 hardcode_libdir_separator_CXX
=:
11653 # Commands to make compiler produce verbose output that lists
11654 # what "hidden" libraries, object files and flags are used when
11655 # linking a shared library.
11657 # There doesn't appear to be a way to prevent this compiler from
11658 # explicitly linking system object files so we need to strip them
11659 # from the output so that they don't get included in the library
11661 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'
11664 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11665 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11666 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'
11668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11669 hardcode_libdir_separator_CXX
=:
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11674 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11677 # FIXME: insert proper C++ library support
11684 # FIXME: insert proper C++ library support
11688 case $cc_basename in
11691 # FIXME: insert proper C++ library support
11696 # FIXME: insert proper C++ library support
11700 # FIXME: insert proper C++ library support
11706 case $cc_basename in
11708 # Sun C++ 4.2, 5.x and Centerline C++
11709 archive_cmds_need_lc_CXX
=yes
11710 no_undefined_flag_CXX
=' -zdefs'
11711 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11712 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11713 $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'
11715 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11716 hardcode_shlibpath_var_CXX
=no
11718 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11720 # The C++ compiler is used as linker so we must use $wl
11721 # flag to pass the commands to the underlying system
11722 # linker. We must also pass each convience library through
11723 # to the system linker between allextract/defaultextract.
11724 # The C++ compiler will combine linker options so we
11725 # cannot just pass the convience library names through
11727 # Supported since Solaris 2.6 (maybe 2.5.1?)
11728 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'
11731 link_all_deplibs_CXX
=yes
11733 output_verbose_link_cmd
='echo'
11735 # Archives containing C++ object files must be created using
11736 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11737 # necessary to make sure instantiated templates are included
11739 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11742 # Green Hills C++ Compiler
11743 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11745 # The C++ compiler must be used to create the archive.
11746 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11749 # GNU C++ compiler with Solaris linker
11750 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11751 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11752 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11753 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11754 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11755 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11757 # Commands to make compiler produce verbose output that lists
11758 # what "hidden" libraries, object files and flags are used when
11759 # linking a shared library.
11760 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11762 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11764 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11765 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11766 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11768 # Commands to make compiler produce verbose output that lists
11769 # what "hidden" libraries, object files and flags are used when
11770 # linking a shared library.
11771 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11774 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11779 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11780 no_undefined_flag_CXX
='${wl}-z,text'
11781 archive_cmds_need_lc_CXX
=no
11782 hardcode_shlibpath_var_CXX
=no
11783 runpath_var
='LD_RUN_PATH'
11785 case $cc_basename in
11787 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11791 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11792 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11796 sysv5
* | sco3.2v5
* | sco5v6
*)
11797 # Note: We can NOT use -z defs as we might desire, because we do not
11798 # link with -lc, and that would cause any symbols used from libc to
11799 # always be unresolved, which means just about no library would
11800 # ever link correctly. If we're not using GNU ld we use -z text
11801 # though, which does catch some bad symbols but isn't as heavy-handed
11803 # For security reasons, it is highly recommended that you always
11804 # use absolute paths for naming shared libraries, and exclude the
11805 # DT_RUNPATH tag from executables and libraries. But doing so
11806 # requires that you compile everything twice, which is a pain.
11807 # So that behaviour is only enabled if SCOABSPATH is set to a
11808 # non-empty value in the environment. Most likely only useful for
11809 # creating official distributions of packages.
11810 # This is a hack until libtool officially supports absolute path
11811 # names for shared libraries.
11812 no_undefined_flag_CXX
='${wl}-z,text'
11813 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11814 archive_cmds_need_lc_CXX
=no
11815 hardcode_shlibpath_var_CXX
=no
11816 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11817 hardcode_libdir_separator_CXX
=':'
11818 link_all_deplibs_CXX
=yes
11819 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11820 runpath_var
='LD_RUN_PATH'
11822 case $cc_basename in
11824 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11825 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11828 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11829 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11834 case $cc_basename in
11836 # NonStop-UX NCC 3.20
11837 # FIXME: insert proper C++ library support
11841 # FIXME: insert proper C++ library support
11847 # FIXME: insert proper C++ library support
11851 # FIXME: insert proper C++ library support
11855 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11856 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11857 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11863 cat > conftest.
$ac_ext <<EOF
11867 Foo (void) { a = 0; }
11873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11874 (eval $ac_compile) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; then
11878 # Parse the compiler output and extract the necessary
11879 # objects, libraries and library flags.
11881 # Sentinel used to keep track of whether or not we are before
11882 # the conftest object file.
11883 pre_test_object_deps_done
=no
11885 # The `*' in the case matches for architectures that use `case' in
11886 # $output_verbose_cmd can trigger glob expansion during the loop
11887 # eval without this substitution.
11888 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11890 for p
in `eval $output_verbose_link_cmd`; do
11894 # Some compilers place space between "-{L,R}" and the path.
11895 # Remove the space.
11896 if test $p = "-L" \
11897 ||
test $p = "-R"; then
11904 if test "$pre_test_object_deps_done" = no
; then
11907 # Internal compiler library paths should come after those
11908 # provided the user. The postdeps already come after the
11909 # user supplied libs so there is no need to process them.
11910 if test -z "$compiler_lib_search_path_CXX"; then
11911 compiler_lib_search_path_CXX
="${prev}${p}"
11913 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11916 # The "-l" case would never come before the object being
11917 # linked, so don't bother handling this case.
11920 if test -z "$postdeps_CXX"; then
11921 postdeps_CXX
="${prev}${p}"
11923 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11929 # This assumes that the test object file only shows up
11930 # once in the compiler output.
11931 if test "$p" = "conftest.$objext"; then
11932 pre_test_object_deps_done
=yes
11936 if test "$pre_test_object_deps_done" = no
; then
11937 if test -z "$predep_objects_CXX"; then
11938 predep_objects_CXX
="$p"
11940 predep_objects_CXX
="$predep_objects_CXX $p"
11943 if test -z "$postdep_objects_CXX"; then
11944 postdep_objects_CXX
="$p"
11946 postdep_objects_CXX
="$postdep_objects_CXX $p"
11951 *) ;; # Ignore the rest.
11959 echo "libtool.m4: error: problem compiling CXX test program"
11962 $rm -f confest.
$objext
11964 # PORTME: override above test on systems where it is broken
11967 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11968 # hack all around it, let's just trust "g++" to DTRT.
11969 predep_objects_CXX
=
11970 postdep_objects_CXX
=
11975 case $cc_basename in
11977 # Adding this requires a known-good setup of shared libraries for
11978 # Sun compiler versions before 5.6, else PIC objects from an old
11979 # archive will be linked into the output, leading to subtle bugs.
11980 postdeps_CXX
='-lCstd -lCrun'
11987 case " $postdeps_CXX " in
11988 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11991 lt_prog_compiler_wl_CXX
=
11992 lt_prog_compiler_pic_CXX
=
11993 lt_prog_compiler_static_CXX
=
11995 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11996 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11998 # C++ specific cases for pic, static, wl, etc.
11999 if test "$GXX" = yes; then
12000 lt_prog_compiler_wl_CXX
='-Wl,'
12001 lt_prog_compiler_static_CXX
='-static'
12005 # All AIX code is PIC.
12006 if test "$host_cpu" = ia64
; then
12007 # AIX 5 now supports IA64 processor
12008 lt_prog_compiler_static_CXX
='-Bstatic'
12012 # FIXME: we need at least 68020 code to build shared libraries, but
12013 # adding the `-m68020' flag to GCC prevents building anything better,
12015 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12017 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12018 # PIC is the default for these OSes.
12020 mingw
* | os2
* | pw32
*)
12021 # This hack is so that the source file can tell whether it is being
12022 # built for inclusion in a dll (and should export symbols for example).
12023 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12025 darwin
* | rhapsody
*)
12026 # PIC is the default on this platform
12027 # Common symbols not allowed in MH_DYLIB files
12028 lt_prog_compiler_pic_CXX
='-fno-common'
12031 # DJGPP does not support shared libraries at all
12032 lt_prog_compiler_pic_CXX
=
12035 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12036 # Instead, we relocate shared libraries at runtime.
12039 if test -d /usr
/nec
; then
12040 lt_prog_compiler_pic_CXX
=-Kconform_pic
12044 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12045 # not for PA HP-UX.
12050 lt_prog_compiler_pic_CXX
='-fPIC'
12055 lt_prog_compiler_pic_CXX
='-fPIC'
12061 # All AIX code is PIC.
12062 if test "$host_cpu" = ia64
; then
12063 # AIX 5 now supports IA64 processor
12064 lt_prog_compiler_static_CXX
='-Bstatic'
12066 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12070 case $cc_basename in
12072 # Green Hills C++ Compiler
12073 # _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"
12078 # PIC is the default on this platform
12079 # Common symbols not allowed in MH_DYLIB files
12080 case $cc_basename in
12082 lt_prog_compiler_pic_CXX
='-qnocommon'
12083 lt_prog_compiler_wl_CXX
='-Wl,'
12088 case $cc_basename in
12090 lt_prog_compiler_pic_CXX
='-KPIC'
12093 # Green Hills C++ Compiler
12094 lt_prog_compiler_pic_CXX
='-pic'
12100 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12101 # FreeBSD uses GNU C++
12103 hpux9
* | hpux10
* | hpux11
*)
12104 case $cc_basename in
12106 lt_prog_compiler_wl_CXX
='-Wl,'
12107 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12108 if test "$host_cpu" != ia64
; then
12109 lt_prog_compiler_pic_CXX
='+Z'
12113 lt_prog_compiler_wl_CXX
='-Wl,'
12114 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12120 lt_prog_compiler_pic_CXX
='+Z'
12129 # This is c89, which is MS Visual C++ (no shared libs)
12130 # Anyone wants to do a port?
12132 irix5
* | irix6
* | nonstopux
*)
12133 case $cc_basename in
12135 lt_prog_compiler_wl_CXX
='-Wl,'
12136 lt_prog_compiler_static_CXX
='-non_shared'
12137 # CC pic flag -KPIC is the default.
12144 case $cc_basename in
12147 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12148 lt_prog_compiler_pic_CXX
='-fPIC'
12152 lt_prog_compiler_wl_CXX
='-Wl,'
12153 lt_prog_compiler_pic_CXX
='-KPIC'
12154 lt_prog_compiler_static_CXX
='-static'
12157 # Portland Group C++ compiler.
12158 lt_prog_compiler_wl_CXX
='-Wl,'
12159 lt_prog_compiler_pic_CXX
='-fpic'
12160 lt_prog_compiler_static_CXX
='-Bstatic'
12164 # Make sure the PIC flag is empty. It appears that all Alpha
12165 # Linux and Compaq Tru64 Unix objects are PIC.
12166 lt_prog_compiler_pic_CXX
=
12167 lt_prog_compiler_static_CXX
='-non_shared'
12178 case $cc_basename in
12180 lt_prog_compiler_pic_CXX
='-W c,exportall'
12188 osf3
* | osf4
* | osf5
*)
12189 case $cc_basename in
12191 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12194 # Rational C++ 2.4.1
12195 lt_prog_compiler_pic_CXX
='-pic'
12198 # Digital/Compaq C++
12199 lt_prog_compiler_wl_CXX
='-Wl,'
12200 # Make sure the PIC flag is empty. It appears that all Alpha
12201 # Linux and Compaq Tru64 Unix objects are PIC.
12202 lt_prog_compiler_pic_CXX
=
12203 lt_prog_compiler_static_CXX
='-non_shared'
12212 case $cc_basename in
12214 # Sun C++ 4.2, 5.x and Centerline C++
12215 lt_prog_compiler_pic_CXX
='-KPIC'
12216 lt_prog_compiler_static_CXX
='-Bstatic'
12217 lt_prog_compiler_wl_CXX
='-Qoption ld '
12220 # Green Hills C++ Compiler
12221 lt_prog_compiler_pic_CXX
='-PIC'
12228 case $cc_basename in
12231 lt_prog_compiler_pic_CXX
='-pic'
12232 lt_prog_compiler_static_CXX
='-Bstatic'
12236 lt_prog_compiler_pic_CXX
='-pic'
12243 case $cc_basename in
12245 # NonStop-UX NCC 3.20
12246 lt_prog_compiler_pic_CXX
='-KPIC'
12252 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12253 case $cc_basename in
12255 lt_prog_compiler_wl_CXX
='-Wl,'
12256 lt_prog_compiler_pic_CXX
='-KPIC'
12257 lt_prog_compiler_static_CXX
='-Bstatic'
12264 lt_prog_compiler_can_build_shared_CXX
=no
12269 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12270 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12273 # Check to make sure the PIC flag actually works.
12275 if test -n "$lt_prog_compiler_pic_CXX"; then
12277 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12278 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12279 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 lt_prog_compiler_pic_works_CXX
=no
12283 ac_outfile
=conftest.
$ac_objext
12284 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12285 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12286 # Insert the option either (1) after the last *FLAGS variable, or
12287 # (2) before a word containing "conftest.", or (3) at the end.
12288 # Note that $ac_compile itself does not contain backslashes and begins
12289 # with a dollar sign (not a hyphen), so the echo should work correctly.
12290 # The option is referenced via a variable to avoid confusing sed.
12291 lt_compile
=`echo "$ac_compile" | $SED \
12292 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12293 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12294 -e 's:$: $lt_compiler_flag:'`
12295 (eval echo "\"\$as_me:12295: $lt_compile\"" >&5)
12296 (eval "$lt_compile" 2>conftest.err
)
12298 cat conftest.err
>&5
12299 echo "$as_me:12299: \$? = $ac_status" >&5
12300 if (exit $ac_status) && test -s "$ac_outfile"; then
12301 # The compiler can only warn and ignore the option if not recognized
12302 # So say no if there are warnings other than the usual output.
12303 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12304 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12305 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12306 lt_prog_compiler_pic_works_CXX
=yes
12312 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12313 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12315 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12316 case $lt_prog_compiler_pic_CXX in
12318 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12321 lt_prog_compiler_pic_CXX
=
12322 lt_prog_compiler_can_build_shared_CXX
=no
12327 # For platforms which do not support PIC, -DPIC is meaningless:
12329 lt_prog_compiler_pic_CXX
=
12332 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12337 # Check to make sure the static flag actually works.
12339 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12340 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12341 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12342 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 lt_prog_compiler_static_works_CXX
=no
12346 save_LDFLAGS
="$LDFLAGS"
12347 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12348 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12349 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12350 # The linker can only warn and ignore the option if not recognized
12351 # So say no if there are warnings
12352 if test -s conftest.err
; then
12353 # Append any errors to the config.log.
12354 cat conftest.err
1>&5
12355 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12356 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12357 if diff conftest.exp conftest.er2
>/dev
/null
; then
12358 lt_prog_compiler_static_works_CXX
=yes
12361 lt_prog_compiler_static_works_CXX
=yes
12365 LDFLAGS
="$save_LDFLAGS"
12368 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12369 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12371 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12374 lt_prog_compiler_static_CXX
=
12378 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12379 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12380 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12381 echo $ECHO_N "(cached) $ECHO_C" >&6
12383 lt_cv_prog_compiler_c_o_CXX
=no
12384 $rm -r conftest
2>/dev
/null
12388 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12390 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12391 # Insert the option either (1) after the last *FLAGS variable, or
12392 # (2) before a word containing "conftest.", or (3) at the end.
12393 # Note that $ac_compile itself does not contain backslashes and begins
12394 # with a dollar sign (not a hyphen), so the echo should work correctly.
12395 lt_compile
=`echo "$ac_compile" | $SED \
12396 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12398 -e 's:$: $lt_compiler_flag:'`
12399 (eval echo "\"\$as_me:12399: $lt_compile\"" >&5)
12400 (eval "$lt_compile" 2>out
/conftest.err
)
12402 cat out
/conftest.err
>&5
12403 echo "$as_me:12403: \$? = $ac_status" >&5
12404 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12406 # The compiler can only warn and ignore the option if not recognized
12407 # So say no if there are warnings
12408 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12409 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12410 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12411 lt_cv_prog_compiler_c_o_CXX
=yes
12416 # SGI C++ compiler will create directory out/ii_files/ for
12417 # template instantiation
12418 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12419 $rm out
/* && rmdir out
12425 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12426 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12429 hard_links
="nottested"
12430 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12431 # do not overwrite the value of need_locks provided by the user
12432 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12433 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12436 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12438 ln conftest.a conftest.b
2>&5 || hard_links
=no
12439 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12440 { echo "$as_me:$LINENO: result: $hard_links" >&5
12441 echo "${ECHO_T}$hard_links" >&6; }
12442 if test "$hard_links" = no
; then
12443 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12444 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12451 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12452 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12454 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12457 # If we're using GNU nm, then we don't want the "-C" option.
12458 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12459 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12460 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'
12462 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'
12466 export_symbols_cmds_CXX
="$ltdll_cmds"
12469 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'
12472 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12476 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12477 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12478 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12481 # Do we need to explicitly link libc?
12483 case "x$archive_cmds_need_lc_CXX" in
12485 # Assume -lc should be added
12486 archive_cmds_need_lc_CXX
=yes
12488 if test "$enable_shared" = yes && test "$GCC" = yes; then
12489 case $archive_cmds_CXX in
12491 # FIXME: we may have to deal with multi-command sequences.
12494 # Test whether the compiler implicitly links with -lc since on some
12495 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12496 # to ld, don't add -lc before -lgcc.
12497 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12498 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12500 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } 2>conftest.err
; then
12509 libobjs
=conftest.
$ac_objext
12511 wl
=$lt_prog_compiler_wl_CXX
12512 pic_flag
=$lt_prog_compiler_pic_CXX
12518 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12519 allow_undefined_flag_CXX
=
12520 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12521 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }
12526 archive_cmds_need_lc_CXX
=no
12528 archive_cmds_need_lc_CXX
=yes
12530 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12532 cat conftest.err
1>&5
12535 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12536 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12543 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12544 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12545 library_names_spec
=
12546 libname_spec
='lib$name'
12550 postuninstall_cmds
=
12554 shlibpath_overrides_runpath
=unknown
12556 dynamic_linker
="$host_os ld.so"
12557 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12558 if test "$GCC" = yes; then
12559 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12560 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12561 # if the path contains ";" then we assume it to be the separator
12562 # otherwise default to the standard path separator (i.e. ":") - it is
12563 # assumed that no part of a normal pathname contains ";" but that should
12564 # okay in the real world where ";" in dirpaths is itself problematic.
12565 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12567 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12570 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12572 need_lib_prefix
=unknown
12573 hardcode_into_libs
=no
12575 # when you set need_version to no, make sure it does not cause -set_version
12576 # flags to be left without arguments
12577 need_version
=unknown
12582 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12583 shlibpath_var
=LIBPATH
12585 # AIX 3 has no versioning support, so we append a major version to the name.
12586 soname_spec
='${libname}${release}${shared_ext}$major'
12593 hardcode_into_libs
=yes
12594 if test "$host_cpu" = ia64
; then
12595 # AIX 5 supports IA64
12596 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12597 shlibpath_var
=LD_LIBRARY_PATH
12599 # With GCC up to 2.95.x, collect2 would create an import file
12600 # for dependence libraries. The import file would start with
12601 # the line `#! .'. This would cause the generated library to
12602 # depend on `.', always an invalid library. This was fixed in
12603 # development snapshots of GCC prior to 3.0.
12605 aix4 | aix4.
[01] | aix4.
[01].
*)
12606 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12608 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12611 can_build_shared
=no
12615 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12616 # soname into executable. Probably we can add versioning support to
12617 # collect2, so additional links can be useful in future.
12618 if test "$aix_use_runtimelinking" = yes; then
12619 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12620 # instead of lib<name>.a to let people know that these are not
12621 # typical AIX shared libraries.
12622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12624 # We preserve .a as extension for shared libraries through AIX4.2
12625 # and later when we are not doing run time linking.
12626 library_names_spec
='${libname}${release}.a $libname.a'
12627 soname_spec
='${libname}${release}${shared_ext}$major'
12629 shlibpath_var
=LIBPATH
12634 library_names_spec
='$libname.ixlibrary $libname.a'
12635 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12636 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'
12640 library_names_spec
='${libname}${shared_ext}'
12641 dynamic_linker
="$host_os ld.so"
12642 shlibpath_var
=LIBRARY_PATH
12648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12649 soname_spec
='${libname}${release}${shared_ext}$major'
12650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12651 shlibpath_var
=LD_LIBRARY_PATH
12652 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12653 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12654 # the default ld.so.conf also contains /usr/contrib/lib and
12655 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12656 # libtool to hard-code these into programs
12659 cygwin
* | mingw
* | pw32
*)
12660 version_type
=windows
12665 case $GCC,$host_os in
12666 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12667 library_names_spec
='$libname.dll.a'
12668 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12669 postinstall_cmds
='base_file=`basename \${file}`~
12670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12671 dldir=$destdir/`dirname \$dlpath`~
12672 test -d \$dldir || mkdir -p \$dldir~
12673 $install_prog $dir/$dlname \$dldir/$dlname~
12674 chmod a+x \$dldir/$dlname'
12675 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12676 dlpath=$dir/\$dldll~
12678 shlibpath_overrides_runpath
=yes
12682 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12683 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12684 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12687 # MinGW DLLs use traditional 'lib' prefix
12688 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12689 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12690 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12691 # It is most probably a Windows format PATH printed by
12692 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12693 # path with ; separators, and with drive letters. We can handle the
12694 # drive letters (cygwin fileutils understands them), so leave them,
12695 # especially as we might pass files found there to a mingw objdump,
12696 # which wouldn't understand a cygwinified path. Ahh.
12697 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12699 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12703 # pw32 DLLs use 'pw' prefix rather than 'lib'
12704 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12710 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12713 dynamic_linker
='Win32 ld.exe'
12714 # FIXME: first we should search . and the directory the executable is in
12718 darwin
* | rhapsody
*)
12719 dynamic_linker
="$host_os dyld"
12720 version_type
=darwin
12723 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12724 soname_spec
='${libname}${release}${major}$shared_ext'
12725 shlibpath_overrides_runpath
=yes
12726 shlibpath_var
=DYLD_LIBRARY_PATH
12727 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12728 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12729 if test "$GCC" = yes; then
12730 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"`
12732 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12734 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12742 soname_spec
='${libname}${release}${shared_ext}$major'
12743 shlibpath_var
=LD_LIBRARY_PATH
12754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12755 soname_spec
='${libname}${release}${shared_ext}$major'
12756 shlibpath_var
=LD_LIBRARY_PATH
12757 shlibpath_overrides_runpath
=no
12758 hardcode_into_libs
=yes
12759 dynamic_linker
='GNU ld.so'
12762 freebsd
* | dragonfly
*)
12763 # DragonFly does not have aout. When/if they implement a new
12764 # versioning mechanism, adjust this.
12765 if test -x /usr
/bin
/objformat
; then
12766 objformat
=`/usr/bin/objformat`
12769 freebsd
[123]*) objformat
=aout
;;
12770 *) objformat
=elf
;;
12773 version_type
=freebsd-
$objformat
12774 case $version_type in
12776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12781 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12785 shlibpath_var
=LD_LIBRARY_PATH
12788 shlibpath_overrides_runpath
=yes
12790 freebsd3.
[01]* | freebsdelf3.
[01]*)
12791 shlibpath_overrides_runpath
=yes
12792 hardcode_into_libs
=yes
12794 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12795 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12796 shlibpath_overrides_runpath
=no
12797 hardcode_into_libs
=yes
12799 freebsd
*) # from 4.6 on
12800 shlibpath_overrides_runpath
=yes
12801 hardcode_into_libs
=yes
12810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12811 soname_spec
='${libname}${release}${shared_ext}$major'
12812 shlibpath_var
=LD_LIBRARY_PATH
12813 hardcode_into_libs
=yes
12816 hpux9
* | hpux10
* | hpux11
*)
12817 # Give a soname corresponding to the major version so that dld.sl refuses to
12818 # link against other versions.
12825 hardcode_into_libs
=yes
12826 dynamic_linker
="$host_os dld.so"
12827 shlibpath_var
=LD_LIBRARY_PATH
12828 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12830 soname_spec
='${libname}${release}${shared_ext}$major'
12831 if test "X$HPUX_IA64_MODE" = X32
; then
12832 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12834 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12836 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12840 hardcode_into_libs
=yes
12841 dynamic_linker
="$host_os dld.sl"
12842 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12843 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12845 soname_spec
='${libname}${release}${shared_ext}$major'
12846 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12847 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12851 dynamic_linker
="$host_os dld.sl"
12852 shlibpath_var
=SHLIB_PATH
12853 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12855 soname_spec
='${libname}${release}${shared_ext}$major'
12858 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12859 postinstall_cmds
='chmod 555 $lib'
12866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12867 soname_spec
='${libname}${release}${shared_ext}$major'
12868 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12869 shlibpath_var
=LD_LIBRARY_PATH
12870 shlibpath_overrides_runpath
=no
12871 hardcode_into_libs
=yes
12874 irix5
* | irix6
* | nonstopux
*)
12876 nonstopux
*) version_type
=nonstopux
;;
12878 if test "$lt_cv_prog_gnu_ld" = yes; then
12886 soname_spec
='${libname}${release}${shared_ext}$major'
12887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12889 irix5
* | nonstopux
*)
12890 libsuff
= shlibsuff
=
12893 case $LD in # libtool.m4 will add one of these switches to LD
12894 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12895 libsuff
= shlibsuff
= libmagic
=32-bit;;
12896 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12897 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12898 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12899 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12900 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12904 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12905 shlibpath_overrides_runpath
=no
12906 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12907 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12908 hardcode_into_libs
=yes
12911 # No shared lib support for Linux oldld, aout, or coff.
12912 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12916 # This must be Linux ELF.
12921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12922 soname_spec
='${libname}${release}${shared_ext}$major'
12923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12924 shlibpath_var
=LD_LIBRARY_PATH
12925 shlibpath_overrides_runpath
=no
12926 # This implies no fast_install, which is unacceptable.
12927 # Some rework will be needed to allow for fast_install
12928 # before this can be enabled.
12929 hardcode_into_libs
=yes
12931 # find out which ABI we are using
12933 case "$host_cpu" in
12934 x86_64
*|s390x
*|powerpc64
*)
12935 echo '#line 12935 "configure"' > conftest.
$ac_ext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 (eval $ac_compile) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; then
12941 case `/usr/bin/file conftest.$ac_objext` in
12944 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12952 # Append ld.so.conf contents to the search path
12953 if test -f /etc
/ld.so.conf
; then
12954 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' ' '`
12955 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12958 # We used to test for /lib/ld.so.1 and disable shared libraries on
12959 # powerpc, because MkLinux only supported shared libraries with the
12960 # GNU dynamic linker. Since this was broken with cross compilers,
12961 # most powerpc-linux boxes support dynamic linking these days and
12962 # people can always --disable-shared, the test was removed, and we
12963 # assume the GNU/Linux dynamic linker is in use.
12964 dynamic_linker
='GNU/Linux ld.so'
12971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12972 soname_spec
='${libname}${release}${shared_ext}$major'
12973 shlibpath_var
=LD_LIBRARY_PATH
12974 shlibpath_overrides_runpath
=no
12975 hardcode_into_libs
=yes
12976 dynamic_linker
='GNU ld.so'
12983 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12986 dynamic_linker
='NetBSD (a.out) ld.so'
12988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12989 soname_spec
='${libname}${release}${shared_ext}$major'
12990 dynamic_linker
='NetBSD ld.elf_so'
12992 shlibpath_var
=LD_LIBRARY_PATH
12993 shlibpath_overrides_runpath
=yes
12994 hardcode_into_libs
=yes
12999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13000 shlibpath_var
=LD_LIBRARY_PATH
13001 shlibpath_overrides_runpath
=yes
13008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13009 soname_spec
='${libname}${release}${shared_ext}$major'
13010 shlibpath_var
=LD_LIBRARY_PATH
13011 shlibpath_overrides_runpath
=yes
13016 sys_lib_dlsearch_path_spec
="/usr/lib"
13018 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13020 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13021 *) need_version
=no
;;
13023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13025 shlibpath_var
=LD_LIBRARY_PATH
13026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13028 openbsd2.
[89] | openbsd2.
[89].
*)
13029 shlibpath_overrides_runpath
=no
13032 shlibpath_overrides_runpath
=yes
13036 shlibpath_overrides_runpath
=yes
13041 libname_spec
='$name'
13044 library_names_spec
='$libname${shared_ext} $libname.a'
13045 dynamic_linker
='OS/2 ld.exe'
13046 shlibpath_var
=LIBPATH
13049 osf3
* | osf4
* | osf5
*)
13053 soname_spec
='${libname}${release}${shared_ext}$major'
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13055 shlibpath_var
=LD_LIBRARY_PATH
13056 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13057 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13065 soname_spec
='${libname}${release}${shared_ext}$major'
13066 shlibpath_var
=LD_LIBRARY_PATH
13067 shlibpath_overrides_runpath
=yes
13068 hardcode_into_libs
=yes
13069 # ldd complains unless libraries are executable
13070 postinstall_cmds
='chmod +x $lib'
13075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13076 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13077 shlibpath_var
=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath
=yes
13079 if test "$with_gnu_ld" = yes; then
13087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13088 soname_spec
='${libname}${release}${shared_ext}$major'
13089 shlibpath_var
=LD_LIBRARY_PATH
13090 case $host_vendor in
13092 shlibpath_overrides_runpath
=no
13094 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13095 runpath_var
=LD_RUN_PATH
13103 shlibpath_overrides_runpath
=no
13104 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13110 if test -d /usr
/nec
;then
13112 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13113 soname_spec
='$libname${shared_ext}.$major'
13114 shlibpath_var
=LD_LIBRARY_PATH
13118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13119 version_type
=freebsd-elf
13122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13123 soname_spec
='${libname}${release}${shared_ext}$major'
13124 shlibpath_var
=LD_LIBRARY_PATH
13125 hardcode_into_libs
=yes
13126 if test "$with_gnu_ld" = yes; then
13127 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13128 shlibpath_overrides_runpath
=no
13130 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13131 shlibpath_overrides_runpath
=yes
13134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13138 sys_lib_dlsearch_path_spec
='/usr/lib'
13143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13144 soname_spec
='${libname}${release}${shared_ext}$major'
13145 shlibpath_var
=LD_LIBRARY_PATH
13152 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13153 echo "${ECHO_T}$dynamic_linker" >&6; }
13154 test "$dynamic_linker" = no
&& can_build_shared
=no
13156 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13157 if test "$GCC" = yes; then
13158 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13161 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13162 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13163 hardcode_action_CXX
=
13164 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13165 test -n "$runpath_var_CXX" || \
13166 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13168 # We can hardcode non-existant directories.
13169 if test "$hardcode_direct_CXX" != no
&&
13170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13171 # have to relink, otherwise we might link with an installed library
13172 # when we should be linking with a yet-to-be-installed one
13173 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13174 test "$hardcode_minus_L_CXX" != no
; then
13175 # Linking always hardcodes the temporary library directory.
13176 hardcode_action_CXX
=relink
13178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13179 hardcode_action_CXX
=immediate
13182 # We cannot hardcode anything, or else we can only hardcode existing
13184 hardcode_action_CXX
=unsupported
13186 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13187 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13189 if test "$hardcode_action_CXX" = relink
; then
13190 # Fast installation is not supported
13191 enable_fast_install
=no
13192 elif test "$shlibpath_overrides_runpath" = yes ||
13193 test "$enable_shared" = no
; then
13194 # Fast installation is not necessary
13195 enable_fast_install
=needless
13199 # The else clause should only fire when bootstrapping the
13200 # libtool distribution, otherwise you forgot to ship ltmain.sh
13201 # with your package, and you will get complaints that there are
13202 # no rules to generate ltmain.sh.
13203 if test -f "$ltmain"; then
13204 # See if we are running on zsh, and set the options which allow our commands through
13205 # without removal of \ escapes.
13206 if test -n "${ZSH_VERSION+set}" ; then
13207 setopt NO_GLOB_SUBST
13209 # Now quote all the things that may contain metacharacters while being
13210 # careful not to overquote the AC_SUBSTed values. We take copies of the
13211 # variables and quote the copies for generation of the libtool script.
13212 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13214 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13215 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13216 deplibs_check_method reload_flag reload_cmds need_locks \
13217 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13218 lt_cv_sys_global_symbol_to_c_name_address \
13219 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13220 old_postinstall_cmds old_postuninstall_cmds \
13224 lt_prog_compiler_wl_CXX \
13225 lt_prog_compiler_pic_CXX \
13226 lt_prog_compiler_static_CXX \
13227 lt_prog_compiler_no_builtin_flag_CXX \
13228 export_dynamic_flag_spec_CXX \
13229 thread_safe_flag_spec_CXX \
13230 whole_archive_flag_spec_CXX \
13231 enable_shared_with_static_runtimes_CXX \
13232 old_archive_cmds_CXX \
13233 old_archive_from_new_cmds_CXX \
13234 predep_objects_CXX \
13235 postdep_objects_CXX \
13238 compiler_lib_search_path_CXX \
13240 archive_expsym_cmds_CXX \
13241 postinstall_cmds_CXX \
13242 postuninstall_cmds_CXX \
13243 old_archive_from_expsyms_cmds_CXX \
13244 allow_undefined_flag_CXX \
13245 no_undefined_flag_CXX \
13246 export_symbols_cmds_CXX \
13247 hardcode_libdir_flag_spec_CXX \
13248 hardcode_libdir_flag_spec_ld_CXX \
13249 hardcode_libdir_separator_CXX \
13250 hardcode_automatic_CXX \
13252 module_expsym_cmds_CXX \
13253 lt_cv_prog_compiler_c_o_CXX \
13254 exclude_expsyms_CXX \
13255 include_expsyms_CXX
; do
13258 old_archive_cmds_CXX | \
13259 old_archive_from_new_cmds_CXX | \
13260 archive_cmds_CXX | \
13261 archive_expsym_cmds_CXX | \
13262 module_cmds_CXX | \
13263 module_expsym_cmds_CXX | \
13264 old_archive_from_expsyms_cmds_CXX | \
13265 export_symbols_cmds_CXX | \
13266 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13267 postinstall_cmds | postuninstall_cmds | \
13268 old_postinstall_cmds | old_postuninstall_cmds | \
13269 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13270 # Double-quote double-evaled strings.
13271 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13274 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13280 *'\$0 --fallback-echo"')
13281 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13287 cat <<__EOF__ >> "$cfgfile"
13288 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13290 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13292 # Shell to use when invoking shell scripts.
13295 # Whether or not to build shared libraries.
13296 build_libtool_libs=$enable_shared
13298 # Whether or not to build static libraries.
13299 build_old_libs=$enable_static
13301 # Whether or not to add -lc for building shared libraries.
13302 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13304 # Whether or not to disallow shared libs when runtime libs are static
13305 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13307 # Whether or not to optimize for fast installation.
13308 fast_install=$enable_fast_install
13311 host_alias=$host_alias
13315 # The build system.
13316 build_alias=$build_alias
13320 # An echo program that does not interpret backslashes.
13325 AR_FLAGS=$lt_AR_FLAGS
13330 # LTCC compiler flags.
13331 LTCFLAGS=$lt_LTCFLAGS
13333 # A language-specific compiler.
13334 CC=$lt_compiler_CXX
13336 # Is the compiler the GNU C compiler?
13342 # The linker used to build libraries.
13345 # Whether we need hard or soft links.
13348 # A BSD-compatible nm program.
13351 # A symbol stripping program
13354 # Used to examine libraries when file_magic_cmd begins "file"
13355 MAGIC_CMD=$MAGIC_CMD
13357 # Used on cygwin: DLL creation program.
13360 # Used on cygwin: object dumper.
13363 # Used on cygwin: assembler.
13366 # The name of the directory that contains temporary libtool files.
13369 # How to create reloadable object files.
13370 reload_flag=$lt_reload_flag
13371 reload_cmds=$lt_reload_cmds
13373 # How to pass a linker flag through the compiler.
13374 wl=$lt_lt_prog_compiler_wl_CXX
13376 # Object file suffix (normally "o").
13377 objext="$ac_objext"
13379 # Old archive suffix (normally "a").
13382 # Shared library suffix (normally ".so").
13383 shrext_cmds='$shrext_cmds'
13385 # Executable file suffix (normally "").
13388 # Additional compiler flags for building library objects.
13389 pic_flag=$lt_lt_prog_compiler_pic_CXX
13392 # What is the maximum length of a command?
13393 max_cmd_len=$lt_cv_sys_max_cmd_len
13395 # Does compiler simultaneously support -c and -o options?
13396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13398 # Must we lock files when doing compilation?
13399 need_locks=$lt_need_locks
13401 # Do we need the lib prefix for modules?
13402 need_lib_prefix=$need_lib_prefix
13404 # Do we need a version for libraries?
13405 need_version=$need_version
13407 # Whether dlopen is supported.
13408 dlopen_support=$enable_dlopen
13410 # Whether dlopen of programs is supported.
13411 dlopen_self=$enable_dlopen_self
13413 # Whether dlopen of statically linked programs is supported.
13414 dlopen_self_static=$enable_dlopen_self_static
13416 # Compiler flag to prevent dynamic linking.
13417 link_static_flag=$lt_lt_prog_compiler_static_CXX
13419 # Compiler flag to turn off builtin functions.
13420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13422 # Compiler flag to allow reflexive dlopens.
13423 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13425 # Compiler flag to generate shared objects directly from archives.
13426 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13428 # Compiler flag to generate thread-safe objects.
13429 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13431 # Library versioning type.
13432 version_type=$version_type
13434 # Format of library name prefix.
13435 libname_spec=$lt_libname_spec
13437 # List of archive names. First name is the real one, the rest are links.
13438 # The last name is the one that the linker finds with -lNAME.
13439 library_names_spec=$lt_library_names_spec
13441 # The coded name of the library, if different from the real name.
13442 soname_spec=$lt_soname_spec
13444 # Commands used to build and install an old-style archive.
13446 old_archive_cmds=$lt_old_archive_cmds_CXX
13447 old_postinstall_cmds=$lt_old_postinstall_cmds
13448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13450 # Create an old-style archive from a shared archive.
13451 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13453 # Create a temporary old-style archive to link instead of a shared archive.
13454 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13456 # Commands used to build and install a shared archive.
13457 archive_cmds=$lt_archive_cmds_CXX
13458 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13459 postinstall_cmds=$lt_postinstall_cmds
13460 postuninstall_cmds=$lt_postuninstall_cmds
13462 # Commands used to build a loadable module (assumed same as above if empty)
13463 module_cmds=$lt_module_cmds_CXX
13464 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13466 # Commands to strip libraries.
13467 old_striplib=$lt_old_striplib
13468 striplib=$lt_striplib
13470 # Dependencies to place before the objects being linked to create a
13472 predep_objects=$lt_predep_objects_CXX
13474 # Dependencies to place after the objects being linked to create a
13476 postdep_objects=$lt_postdep_objects_CXX
13478 # Dependencies to place before the objects being linked to create a
13480 predeps=$lt_predeps_CXX
13482 # Dependencies to place after the objects being linked to create a
13484 postdeps=$lt_postdeps_CXX
13486 # The library search path used internally by the compiler when linking
13487 # a shared library.
13488 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13490 # Method to check whether dependent libraries are shared objects.
13491 deplibs_check_method=$lt_deplibs_check_method
13493 # Command to use when deplibs_check_method == file_magic.
13494 file_magic_cmd=$lt_file_magic_cmd
13496 # Flag that allows shared libraries with undefined symbols to be built.
13497 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13499 # Flag that forces no undefined symbols.
13500 no_undefined_flag=$lt_no_undefined_flag_CXX
13502 # Commands used to finish a libtool library installation in a directory.
13503 finish_cmds=$lt_finish_cmds
13505 # Same as above, but a single script fragment to be evaled but not shown.
13506 finish_eval=$lt_finish_eval
13508 # Take the output of nm and produce a listing of raw symbols and C names.
13509 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13511 # Transform the output of nm in a proper C declaration
13512 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13514 # Transform the output of nm in a C name address pair
13515 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13517 # This is the shared library runtime path variable.
13518 runpath_var=$runpath_var
13520 # This is the shared library path variable.
13521 shlibpath_var=$shlibpath_var
13523 # Is shlibpath searched before the hard-coded library search path?
13524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13526 # How to hardcode a shared library path into an executable.
13527 hardcode_action=$hardcode_action_CXX
13529 # Whether we should hardcode library paths into libraries.
13530 hardcode_into_libs=$hardcode_into_libs
13532 # Flag to hardcode \$libdir into a binary during linking.
13533 # This must work even if \$libdir does not exist.
13534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13536 # If ld is used when linking, flag to hardcode \$libdir into
13537 # a binary during linking. This must work even if \$libdir does
13539 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13541 # Whether we need a single -rpath flag with a separated argument.
13542 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13544 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13545 # resulting binary.
13546 hardcode_direct=$hardcode_direct_CXX
13548 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13549 # resulting binary.
13550 hardcode_minus_L=$hardcode_minus_L_CXX
13552 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13553 # the resulting binary.
13554 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13556 # Set to yes if building a shared library automatically hardcodes DIR into the library
13557 # and all subsequent libraries and executables linked against it.
13558 hardcode_automatic=$hardcode_automatic_CXX
13560 # Variables whose values should be saved in libtool wrapper scripts and
13561 # restored at relink time.
13562 variables_saved_for_relink="$variables_saved_for_relink"
13564 # Whether libtool must link a program against all its dependency libraries.
13565 link_all_deplibs=$link_all_deplibs_CXX
13567 # Compile-time system search path for libraries
13568 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13570 # Run-time system search path for libraries
13571 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13573 # Fix the shell variable \$srcfile for the compiler.
13574 fix_srcfile_path="$fix_srcfile_path_CXX"
13576 # Set to yes if exported symbols are required.
13577 always_export_symbols=$always_export_symbols_CXX
13579 # The commands to list exported symbols.
13580 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13582 # The commands to extract the exported symbol list from a shared archive.
13583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13585 # Symbols that should not be listed in the preloaded symbols.
13586 exclude_expsyms=$lt_exclude_expsyms_CXX
13588 # Symbols that must always be exported.
13589 include_expsyms=$lt_include_expsyms_CXX
13591 # ### END LIBTOOL TAG CONFIG: $tagname
13597 # If there is no Makefile yet, we rely on a make rule to execute
13598 # `config.status --recheck' to rerun these tests and create the
13599 # libtool script then.
13600 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13601 if test -f "$ltmain_in"; then
13602 test -f Makefile
&& make "$ltmain"
13608 ac_cpp
='$CPP $CPPFLAGS'
13609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13617 with_gnu_ldcxx
=$with_gnu_ld
13618 with_gnu_ld
=$lt_save_with_gnu_ld
13619 lt_cv_path_LDCXX
=$lt_cv_path_LD
13620 lt_cv_path_LD
=$lt_save_path_LD
13621 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13622 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13630 if test -n "$F77" && test "X$F77" != "Xno"; then
13633 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13634 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13635 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13638 archive_cmds_need_lc_F77
=no
13639 allow_undefined_flag_F77
=
13640 always_export_symbols_F77
=no
13641 archive_expsym_cmds_F77
=
13642 export_dynamic_flag_spec_F77
=
13643 hardcode_direct_F77
=no
13644 hardcode_libdir_flag_spec_F77
=
13645 hardcode_libdir_flag_spec_ld_F77
=
13646 hardcode_libdir_separator_F77
=
13647 hardcode_minus_L_F77
=no
13648 hardcode_automatic_F77
=no
13650 module_expsym_cmds_F77
=
13651 link_all_deplibs_F77
=unknown
13652 old_archive_cmds_F77
=$old_archive_cmds
13653 no_undefined_flag_F77
=
13654 whole_archive_flag_spec_F77
=
13655 enable_shared_with_static_runtimes_F77
=no
13657 # Source file extension for f77 test sources.
13660 # Object file extension for compiled f77 test sources.
13664 # Code to be used in simple compile tests
13665 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13667 # Code to be used in simple link tests
13668 lt_simple_link_test_code
=" program t\n end\n"
13670 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13672 # If no C compiler was specified, use CC.
13675 # If no C compiler flags were specified, use CFLAGS.
13676 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13678 # Allow CC to be a program name with arguments.
13682 # save warnings/boilerplate of simple test code
13683 ac_outfile
=conftest.
$ac_objext
13684 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13685 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13686 _lt_compiler_boilerplate
=`cat conftest.err`
13689 ac_outfile
=conftest.
$ac_objext
13690 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13691 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13692 _lt_linker_boilerplate
=`cat conftest.err`
13696 # Allow CC to be a program name with arguments.
13701 for cc_temp
in $compiler""; do
13703 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13704 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13709 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13712 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13713 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13714 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13715 echo "${ECHO_T}$can_build_shared" >&6; }
13717 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13718 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13719 test "$can_build_shared" = "no" && enable_shared
=no
13721 # On AIX, shared libraries and static libraries use the same namespace, and
13722 # are all built from PIC.
13725 test "$enable_shared" = yes && enable_static
=no
13726 if test -n "$RANLIB"; then
13727 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13728 postinstall_cmds
='$RANLIB $lib'
13732 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13733 test "$enable_shared" = yes && enable_static
=no
13737 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13738 echo "${ECHO_T}$enable_shared" >&6; }
13740 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13741 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13742 # Make sure either enable_shared or enable_static is yes.
13743 test "$enable_shared" = yes || enable_static
=yes
13744 { echo "$as_me:$LINENO: result: $enable_static" >&5
13745 echo "${ECHO_T}$enable_static" >&6; }
13750 lt_prog_compiler_wl_F77
=
13751 lt_prog_compiler_pic_F77
=
13752 lt_prog_compiler_static_F77
=
13754 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13755 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13757 if test "$GCC" = yes; then
13758 lt_prog_compiler_wl_F77
='-Wl,'
13759 lt_prog_compiler_static_F77
='-static'
13763 # All AIX code is PIC.
13764 if test "$host_cpu" = ia64
; then
13765 # AIX 5 now supports IA64 processor
13766 lt_prog_compiler_static_F77
='-Bstatic'
13771 # FIXME: we need at least 68020 code to build shared libraries, but
13772 # adding the `-m68020' flag to GCC prevents building anything better,
13774 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13777 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13778 # PIC is the default for these OSes.
13781 mingw
* | pw32
* | os2
*)
13782 # This hack is so that the source file can tell whether it is being
13783 # built for inclusion in a dll (and should export symbols for example).
13784 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13787 darwin
* | rhapsody
*)
13788 # PIC is the default on this platform
13789 # Common symbols not allowed in MH_DYLIB files
13790 lt_prog_compiler_pic_F77
='-fno-common'
13794 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13795 # Instead, we relocate shared libraries at runtime.
13799 # Just because we use GCC doesn't mean we suddenly get shared libraries
13800 # on systems that don't support them.
13801 lt_prog_compiler_can_build_shared_F77
=no
13806 if test -d /usr
/nec
; then
13807 lt_prog_compiler_pic_F77
=-Kconform_pic
13812 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13813 # not for PA HP-UX.
13819 lt_prog_compiler_pic_F77
='-fPIC'
13825 lt_prog_compiler_pic_F77
='-fPIC'
13829 # PORTME Check for flag to pass linker flags through the system compiler.
13832 lt_prog_compiler_wl_F77
='-Wl,'
13833 if test "$host_cpu" = ia64
; then
13834 # AIX 5 now supports IA64 processor
13835 lt_prog_compiler_static_F77
='-Bstatic'
13837 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13841 # PIC is the default on this platform
13842 # Common symbols not allowed in MH_DYLIB files
13843 case $cc_basename in
13845 lt_prog_compiler_pic_F77
='-qnocommon'
13846 lt_prog_compiler_wl_F77
='-Wl,'
13851 mingw
* | pw32
* | os2
*)
13852 # This hack is so that the source file can tell whether it is being
13853 # built for inclusion in a dll (and should export symbols for example).
13854 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13857 hpux9
* | hpux10
* | hpux11
*)
13858 lt_prog_compiler_wl_F77
='-Wl,'
13859 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13860 # not for PA HP-UX.
13866 lt_prog_compiler_pic_F77
='+Z'
13869 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13870 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13873 irix5
* | irix6
* | nonstopux
*)
13874 lt_prog_compiler_wl_F77
='-Wl,'
13875 # PIC (with -KPIC) is the default.
13876 lt_prog_compiler_static_F77
='-non_shared'
13880 lt_prog_compiler_pic_F77
='-KPIC'
13881 lt_prog_compiler_static_F77
='-Bstatic'
13885 case $cc_basename in
13887 lt_prog_compiler_wl_F77
='-Wl,'
13888 lt_prog_compiler_pic_F77
='-KPIC'
13889 lt_prog_compiler_static_F77
='-static'
13891 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13892 # Portland Group compilers (*not* the Pentium gcc compiler,
13893 # which looks to be a dead project)
13894 lt_prog_compiler_wl_F77
='-Wl,'
13895 lt_prog_compiler_pic_F77
='-fpic'
13896 lt_prog_compiler_static_F77
='-Bstatic'
13899 lt_prog_compiler_wl_F77
='-Wl,'
13900 # All Alpha code is PIC.
13901 lt_prog_compiler_static_F77
='-non_shared'
13906 osf3
* | osf4
* | osf5
*)
13907 lt_prog_compiler_wl_F77
='-Wl,'
13908 # All OSF/1 code is PIC.
13909 lt_prog_compiler_static_F77
='-non_shared'
13913 lt_prog_compiler_pic_F77
='-KPIC'
13914 lt_prog_compiler_static_F77
='-Bstatic'
13915 case $cc_basename in
13916 f77
* | f90
* | f95
*)
13917 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13919 lt_prog_compiler_wl_F77
='-Wl,';;
13924 lt_prog_compiler_wl_F77
='-Qoption ld '
13925 lt_prog_compiler_pic_F77
='-PIC'
13926 lt_prog_compiler_static_F77
='-Bstatic'
13929 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13930 lt_prog_compiler_wl_F77
='-Wl,'
13931 lt_prog_compiler_pic_F77
='-KPIC'
13932 lt_prog_compiler_static_F77
='-Bstatic'
13936 if test -d /usr
/nec
;then
13937 lt_prog_compiler_pic_F77
='-Kconform_pic'
13938 lt_prog_compiler_static_F77
='-Bstatic'
13942 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13943 lt_prog_compiler_wl_F77
='-Wl,'
13944 lt_prog_compiler_pic_F77
='-KPIC'
13945 lt_prog_compiler_static_F77
='-Bstatic'
13949 lt_prog_compiler_wl_F77
='-Wl,'
13950 lt_prog_compiler_can_build_shared_F77
=no
13954 lt_prog_compiler_pic_F77
='-pic'
13955 lt_prog_compiler_static_F77
='-Bstatic'
13959 lt_prog_compiler_can_build_shared_F77
=no
13964 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13965 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13968 # Check to make sure the PIC flag actually works.
13970 if test -n "$lt_prog_compiler_pic_F77"; then
13972 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13973 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13974 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 lt_prog_compiler_pic_works_F77
=no
13978 ac_outfile
=conftest.
$ac_objext
13979 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13980 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13981 # Insert the option either (1) after the last *FLAGS variable, or
13982 # (2) before a word containing "conftest.", or (3) at the end.
13983 # Note that $ac_compile itself does not contain backslashes and begins
13984 # with a dollar sign (not a hyphen), so the echo should work correctly.
13985 # The option is referenced via a variable to avoid confusing sed.
13986 lt_compile
=`echo "$ac_compile" | $SED \
13987 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13989 -e 's:$: $lt_compiler_flag:'`
13990 (eval echo "\"\$as_me:13990: $lt_compile\"" >&5)
13991 (eval "$lt_compile" 2>conftest.err
)
13993 cat conftest.err
>&5
13994 echo "$as_me:13994: \$? = $ac_status" >&5
13995 if (exit $ac_status) && test -s "$ac_outfile"; then
13996 # The compiler can only warn and ignore the option if not recognized
13997 # So say no if there are warnings other than the usual output.
13998 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13999 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14000 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14001 lt_prog_compiler_pic_works_F77
=yes
14007 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14008 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14010 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14011 case $lt_prog_compiler_pic_F77 in
14013 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14016 lt_prog_compiler_pic_F77
=
14017 lt_prog_compiler_can_build_shared_F77
=no
14022 # For platforms which do not support PIC, -DPIC is meaningless:
14024 lt_prog_compiler_pic_F77
=
14027 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14032 # Check to make sure the static flag actually works.
14034 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14035 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14036 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14037 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 lt_prog_compiler_static_works_F77
=no
14041 save_LDFLAGS
="$LDFLAGS"
14042 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14043 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14044 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14045 # The linker can only warn and ignore the option if not recognized
14046 # So say no if there are warnings
14047 if test -s conftest.err
; then
14048 # Append any errors to the config.log.
14049 cat conftest.err
1>&5
14050 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14051 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14052 if diff conftest.exp conftest.er2
>/dev
/null
; then
14053 lt_prog_compiler_static_works_F77
=yes
14056 lt_prog_compiler_static_works_F77
=yes
14060 LDFLAGS
="$save_LDFLAGS"
14063 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14064 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14066 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14069 lt_prog_compiler_static_F77
=
14073 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14074 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14075 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 lt_cv_prog_compiler_c_o_F77
=no
14079 $rm -r conftest
2>/dev
/null
14083 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14085 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14086 # Insert the option either (1) after the last *FLAGS variable, or
14087 # (2) before a word containing "conftest.", or (3) at the end.
14088 # Note that $ac_compile itself does not contain backslashes and begins
14089 # with a dollar sign (not a hyphen), so the echo should work correctly.
14090 lt_compile
=`echo "$ac_compile" | $SED \
14091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14093 -e 's:$: $lt_compiler_flag:'`
14094 (eval echo "\"\$as_me:14094: $lt_compile\"" >&5)
14095 (eval "$lt_compile" 2>out
/conftest.err
)
14097 cat out
/conftest.err
>&5
14098 echo "$as_me:14098: \$? = $ac_status" >&5
14099 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14101 # The compiler can only warn and ignore the option if not recognized
14102 # So say no if there are warnings
14103 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14104 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14105 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14106 lt_cv_prog_compiler_c_o_F77
=yes
14111 # SGI C++ compiler will create directory out/ii_files/ for
14112 # template instantiation
14113 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14114 $rm out
/* && rmdir out
14120 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14121 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14124 hard_links
="nottested"
14125 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14126 # do not overwrite the value of need_locks provided by the user
14127 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14128 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14131 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14133 ln conftest.a conftest.b
2>&5 || hard_links
=no
14134 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14135 { echo "$as_me:$LINENO: result: $hard_links" >&5
14136 echo "${ECHO_T}$hard_links" >&6; }
14137 if test "$hard_links" = no
; then
14138 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14139 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14146 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14147 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14150 allow_undefined_flag_F77
=
14151 enable_shared_with_static_runtimes_F77
=no
14153 archive_expsym_cmds_F77
=
14154 old_archive_From_new_cmds_F77
=
14155 old_archive_from_expsyms_cmds_F77
=
14156 export_dynamic_flag_spec_F77
=
14157 whole_archive_flag_spec_F77
=
14158 thread_safe_flag_spec_F77
=
14159 hardcode_libdir_flag_spec_F77
=
14160 hardcode_libdir_flag_spec_ld_F77
=
14161 hardcode_libdir_separator_F77
=
14162 hardcode_direct_F77
=no
14163 hardcode_minus_L_F77
=no
14164 hardcode_shlibpath_var_F77
=unsupported
14165 link_all_deplibs_F77
=unknown
14166 hardcode_automatic_F77
=no
14168 module_expsym_cmds_F77
=
14169 always_export_symbols_F77
=no
14170 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14171 # include_expsyms should be a list of space-separated symbols to be *always*
14172 # included in the symbol list
14173 include_expsyms_F77
=
14174 # exclude_expsyms can be an extended regexp of symbols to exclude
14175 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14176 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14177 # as well as any symbol that contains `d'.
14178 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14179 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14180 # platforms (ab)use it in PIC code, but their linkers get confused if
14181 # the symbol is explicitly referenced. Since portable code cannot
14182 # rely on this symbol name, it's probably fine to never include it in
14183 # preloaded symbol tables.
14184 extract_expsyms_cmds
=
14185 # Just being paranoid about ensuring that cc_basename is set.
14186 for cc_temp
in $compiler""; do
14188 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14189 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14194 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14197 cygwin
* | mingw
* | pw32
*)
14198 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14199 # When not using gcc, we currently assume that we are using
14200 # Microsoft Visual C++.
14201 if test "$GCC" != yes; then
14206 # we just hope/assume this is gcc and not c89 (= MSVC++)
14215 if test "$with_gnu_ld" = yes; then
14216 # If archive_cmds runs LD, not CC, wlarc should be empty
14219 # Set some defaults for GNU ld with shared library support. These
14220 # are reset later if shared libraries are not supported. Putting them
14221 # here allows them to be overridden if necessary.
14222 runpath_var
=LD_RUN_PATH
14223 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14224 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14225 # ancient GNU ld didn't support --whole-archive et. al.
14226 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14227 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14229 whole_archive_flag_spec_F77
=
14231 supports_anon_versioning
=no
14232 case `$LD -v 2>/dev/null` in
14233 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14234 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14235 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14236 *\
2.11.
*) ;; # other 2.11 versions
14237 *) supports_anon_versioning
=yes ;;
14240 # See if GNU ld supports shared libraries.
14242 aix3
* | aix4
* | aix5
*)
14243 # On AIX/PPC, the GNU linker is very broken
14244 if test "$host_cpu" != ia64
; then
14248 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14249 *** to be unable to reliably create shared libraries on AIX.
14250 *** Therefore, libtool is disabling shared libraries support. If you
14251 *** really care for shared libraries, you may want to modify your PATH
14252 *** so that a non-GNU linker is found, and then restart.
14259 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)'
14260 hardcode_libdir_flag_spec_F77
='-L$libdir'
14261 hardcode_minus_L_F77
=yes
14263 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14264 # that the semantics of dynamic libraries on AmigaOS, at least up
14265 # to version 4, is to share data among multiple programs linked
14266 # with the same dynamic library. Since this doesn't match the
14267 # behavior of shared libraries on other platforms, we can't use
14273 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14274 allow_undefined_flag_F77
=unsupported
14275 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14276 # support --undefined. This deserves some investigation. FIXME
14277 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14283 cygwin
* | mingw
* | pw32
*)
14284 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14285 # as there is no search path for DLLs.
14286 hardcode_libdir_flag_spec_F77
='-L$libdir'
14287 allow_undefined_flag_F77
=unsupported
14288 always_export_symbols_F77
=no
14289 enable_shared_with_static_runtimes_F77
=yes
14290 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14292 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14293 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14294 # If the export-symbols file already is a .def file (1st line
14295 # is EXPORTS), use it as is; otherwise, prepend...
14296 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14297 cp $export_symbols $output_objdir/$soname.def;
14299 echo EXPORTS > $output_objdir/$soname.def;
14300 cat $export_symbols >> $output_objdir/$soname.def;
14302 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14309 hardcode_direct_F77
=no
14310 hardcode_shlibpath_var_F77
=no
14311 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14312 export_dynamic_flag_spec_F77
='${wl}-E'
14313 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14314 # Instead, shared libraries are loaded at an image base (0x10000000 by
14315 # default) and relocated if they conflict, which is a slow very memory
14316 # consuming and fragmenting process. To avoid this, we pick a random,
14317 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14318 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14319 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'
14320 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'
14324 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14326 case $cc_basename,$host_cpu in
14327 pgcc
*) # Portland Group C compiler
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'
14331 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14332 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'
14333 tmp_addflag
=' $pic_flag -Mnomain' ;;
14334 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14335 tmp_addflag
=' -i_dynamic' ;;
14336 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14337 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14338 ifc
* | ifort
*) # Intel Fortran compiler
14339 tmp_addflag
=' -nofor_main' ;;
14341 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14343 if test $supports_anon_versioning = yes; then
14344 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14346 $echo "local: *; };" >> $output_objdir/$libname.ver~
14347 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14355 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14356 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14359 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14360 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14365 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14369 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14370 *** create shared libraries on Solaris systems. Therefore, libtool
14371 *** is disabling shared libraries support. We urge you to upgrade GNU
14372 *** binutils to release 2.9.1 or newer. Another option is to modify
14373 *** your PATH or compiler configuration so that the native linker is
14374 *** used, and then restart.
14377 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14378 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14379 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14385 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14386 case `$LD -v 2>&1` in
14387 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14391 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14392 *** reliably create shared libraries on SCO systems. Therefore, libtool
14393 *** is disabling shared libraries support. We urge you to upgrade GNU
14394 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14395 *** your PATH or compiler configuration so that the native linker is
14396 *** used, and then restart.
14401 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14402 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14403 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14404 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14413 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14415 hardcode_direct_F77
=yes
14416 hardcode_shlibpath_var_F77
=no
14420 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14421 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14422 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14429 if test "$ld_shlibs_F77" = no
; then
14431 hardcode_libdir_flag_spec_F77
=
14432 export_dynamic_flag_spec_F77
=
14433 whole_archive_flag_spec_F77
=
14436 # PORTME fill in a description of your system's linker (not GNU ld)
14439 allow_undefined_flag_F77
=unsupported
14440 always_export_symbols_F77
=yes
14441 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'
14442 # Note: this linker hardcodes the directories in LIBPATH if there
14443 # are no directories specified by -L.
14444 hardcode_minus_L_F77
=yes
14445 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14446 # Neither direct hardcoding nor static linking is supported with a
14448 hardcode_direct_F77
=unsupported
14453 if test "$host_cpu" = ia64
; then
14454 # On IA64, the linker does run time linking by default, so we don't
14455 # have to do anything special.
14456 aix_use_runtimelinking
=no
14457 exp_sym_flag
='-Bexport'
14460 # If we're using GNU nm, then we don't want the "-C" option.
14461 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14462 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14463 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'
14465 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'
14467 aix_use_runtimelinking
=no
14469 # Test if we are trying to use run time linking or normal
14470 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14471 # need to do runtime linking.
14472 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14473 for ld_flag
in $LDFLAGS; do
14474 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14475 aix_use_runtimelinking
=yes
14482 exp_sym_flag
='-bexport'
14483 no_entry_flag
='-bnoentry'
14486 # When large executables or shared objects are built, AIX ld can
14487 # have problems creating the table of contents. If linking a library
14488 # or program results in "error TOC overflow" add -mminimal-toc to
14489 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14490 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14492 archive_cmds_F77
=''
14493 hardcode_direct_F77
=yes
14494 hardcode_libdir_separator_F77
=':'
14495 link_all_deplibs_F77
=yes
14497 if test "$GCC" = yes; then
14498 case $host_os in aix4.
[012]|aix4.
[012].
*)
14499 # We only want to do this on AIX 4.2 and lower, the check
14500 # below for broken collect2 doesn't work under 4.3+
14501 collect2name
=`${CC} -print-prog-name=collect2`
14502 if test -f "$collect2name" && \
14503 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14505 # We have reworked collect2
14506 hardcode_direct_F77
=yes
14508 # We have old collect2
14509 hardcode_direct_F77
=unsupported
14510 # It fails to find uninstalled libraries when the uninstalled
14511 # path is not listed in the libpath. Setting hardcode_minus_L
14512 # to unsupported forces relinking
14513 hardcode_minus_L_F77
=yes
14514 hardcode_libdir_flag_spec_F77
='-L$libdir'
14515 hardcode_libdir_separator_F77
=
14519 shared_flag
='-shared'
14520 if test "$aix_use_runtimelinking" = yes; then
14521 shared_flag
="$shared_flag "'${wl}-G'
14525 if test "$host_cpu" = ia64
; then
14526 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14527 # chokes on -Wl,-G. The following line is correct:
14530 if test "$aix_use_runtimelinking" = yes; then
14531 shared_flag
='${wl}-G'
14533 shared_flag
='${wl}-bM:SRE'
14538 # It seems that -bexpall does not export symbols beginning with
14539 # underscore (_), so it is better to generate a list of symbols to export.
14540 always_export_symbols_F77
=yes
14541 if test "$aix_use_runtimelinking" = yes; then
14542 # Warning - without using the other runtime loading flags (-brtl),
14543 # -berok will link without error, but may produce a broken library.
14544 allow_undefined_flag_F77
='-berok'
14545 # Determine the default libpath from the value encoded in an empty executable.
14546 cat >conftest.
$ac_ext <<_ACEOF
14551 rm -f conftest.
$ac_objext conftest
$ac_exeext
14552 if { (ac_try
="$ac_link"
14553 case "(($ac_try" in
14554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_link") 2>conftest.er1
14560 grep -v '^ *+' conftest.er1 >conftest.err
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } && {
14565 test -z "$ac_f77_werror_flag" ||
14566 test ! -s conftest.err
14567 } && test -s conftest$ac_exeext &&
14568 $as_test_x conftest$ac_exeext; then
14570 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14572 # Check for a 64-bit object if we didn't find anything.
14573 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; }
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14583 conftest$ac_exeext conftest.$ac_ext
14584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14586 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14587 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"
14589 if test "$host_cpu" = ia64; then
14590 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14591 allow_undefined_flag_F77="-z nodefs"
14592 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"
14594 # Determine the default libpath from the value encoded in an empty executable.
14595 cat >conftest.$ac_ext <<_ACEOF
14600 rm -f conftest.$ac_objext conftest$ac_exeext
14601 if { (ac_try="$ac_link"
14602 case "(($ac_try" in
14603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14604 *) ac_try_echo
=$ac_try;;
14606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14607 (eval "$ac_link") 2>conftest.er1
14609 grep -v '^ *+' conftest.er1
>conftest.err
14611 cat conftest.err
>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } && {
14614 test -z "$ac_f77_werror_flag" ||
14615 test ! -s conftest.err
14616 } && test -s conftest
$ac_exeext &&
14617 $as_test_x conftest
$ac_exeext; then
14619 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14621 # Check for a 64-bit object if we didn't find anything.
14622 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; }
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.
$ac_ext >&5
14631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14635 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14636 # Warning - without using the other run time loading flags,
14637 # -berok will link without error, but may produce a broken library.
14638 no_undefined_flag_F77
=' ${wl}-bernotok'
14639 allow_undefined_flag_F77
=' ${wl}-berok'
14640 # Exported symbols can be pulled into shared objects from archives
14641 whole_archive_flag_spec_F77
='$convenience'
14642 archive_cmds_need_lc_F77
=yes
14643 # This is similar to how AIX traditionally builds its shared libraries.
14644 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'
14650 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)'
14651 hardcode_libdir_flag_spec_F77
='-L$libdir'
14652 hardcode_minus_L_F77
=yes
14653 # see comment about different semantics on the GNU ld section
14658 export_dynamic_flag_spec_F77
=-rdynamic
14661 cygwin
* | mingw
* | pw32
*)
14662 # When not using gcc, we currently assume that we are using
14663 # Microsoft Visual C++.
14664 # hardcode_libdir_flag_spec is actually meaningless, as there is
14665 # no search path for DLLs.
14666 hardcode_libdir_flag_spec_F77
=' '
14667 allow_undefined_flag_F77
=unsupported
14668 # Tell ltmain to make .lib files, not .a files.
14670 # Tell ltmain to make .dll files, not .so files.
14672 # FIXME: Setting linknames here is a bad hack.
14673 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14674 # The linker will automatically build a .lib file if we build a DLL.
14675 old_archive_From_new_cmds_F77
='true'
14676 # FIXME: Should let the user specify the lib program.
14677 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14678 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14679 enable_shared_with_static_runtimes_F77
=yes
14682 darwin
* | rhapsody
*)
14684 rhapsody
* | darwin1.
[012])
14685 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14688 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14689 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14691 case ${MACOSX_DEPLOYMENT_TARGET} in
14693 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14696 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14702 archive_cmds_need_lc_F77
=no
14703 hardcode_direct_F77
=no
14704 hardcode_automatic_F77
=yes
14705 hardcode_shlibpath_var_F77
=unsupported
14706 whole_archive_flag_spec_F77
=''
14707 link_all_deplibs_F77
=yes
14708 if test "$GCC" = yes ; then
14709 output_verbose_link_cmd
='echo'
14710 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14711 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14712 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14713 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}'
14714 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}'
14716 case $cc_basename in
14718 output_verbose_link_cmd
='echo'
14719 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14720 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14721 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14722 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}'
14723 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}'
14733 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14734 hardcode_libdir_flag_spec_F77
='-L$libdir'
14735 hardcode_shlibpath_var_F77
=no
14742 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14743 # support. Future versions do this automatically, but an explicit c++rt0.o
14744 # does not break anything, and helps significantly (at the cost of a little
14747 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14748 hardcode_libdir_flag_spec_F77
='-R$libdir'
14749 hardcode_direct_F77
=yes
14750 hardcode_shlibpath_var_F77
=no
14753 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14755 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14756 hardcode_direct_F77
=yes
14757 hardcode_minus_L_F77
=yes
14758 hardcode_shlibpath_var_F77
=no
14761 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14762 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14763 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14764 hardcode_libdir_flag_spec_F77
='-R$libdir'
14765 hardcode_direct_F77
=yes
14766 hardcode_shlibpath_var_F77
=no
14770 if test "$GCC" = yes; then
14771 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'
14773 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'
14775 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14776 hardcode_libdir_separator_F77
=:
14777 hardcode_direct_F77
=yes
14779 # hardcode_minus_L: Not really in the search PATH,
14780 # but as the default location of the library.
14781 hardcode_minus_L_F77
=yes
14782 export_dynamic_flag_spec_F77
='${wl}-E'
14786 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14787 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14789 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14791 if test "$with_gnu_ld" = no
; then
14792 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14793 hardcode_libdir_separator_F77
=:
14795 hardcode_direct_F77
=yes
14796 export_dynamic_flag_spec_F77
='${wl}-E'
14798 # hardcode_minus_L: Not really in the search PATH,
14799 # but as the default location of the library.
14800 hardcode_minus_L_F77
=yes
14805 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14808 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14811 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14814 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14820 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14826 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14830 if test "$with_gnu_ld" = no
; then
14831 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14832 hardcode_libdir_separator_F77
=:
14836 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14837 hardcode_direct_F77
=no
14838 hardcode_shlibpath_var_F77
=no
14841 hardcode_direct_F77
=yes
14842 export_dynamic_flag_spec_F77
='${wl}-E'
14844 # hardcode_minus_L: Not really in the search PATH,
14845 # but as the default location of the library.
14846 hardcode_minus_L_F77
=yes
14852 irix5
* | irix6
* | nonstopux
*)
14853 if test "$GCC" = yes; then
14854 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'
14856 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'
14857 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14859 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14860 hardcode_libdir_separator_F77
=:
14861 link_all_deplibs_F77
=yes
14865 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14866 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14868 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14870 hardcode_libdir_flag_spec_F77
='-R$libdir'
14871 hardcode_direct_F77
=yes
14872 hardcode_shlibpath_var_F77
=no
14876 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14877 hardcode_direct_F77
=yes
14878 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14879 hardcode_libdir_separator_F77
=:
14880 hardcode_shlibpath_var_F77
=no
14884 hardcode_direct_F77
=yes
14885 hardcode_shlibpath_var_F77
=no
14886 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14887 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14888 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14889 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14890 export_dynamic_flag_spec_F77
='${wl}-E'
14893 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14894 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14895 hardcode_libdir_flag_spec_F77
='-R$libdir'
14898 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14899 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14906 hardcode_libdir_flag_spec_F77
='-L$libdir'
14907 hardcode_minus_L_F77
=yes
14908 allow_undefined_flag_F77
=unsupported
14909 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'
14910 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14914 if test "$GCC" = yes; then
14915 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14916 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'
14918 allow_undefined_flag_F77
=' -expect_unresolved \*'
14919 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'
14921 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14922 hardcode_libdir_separator_F77
=:
14925 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14926 if test "$GCC" = yes; then
14927 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14928 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'
14929 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14931 allow_undefined_flag_F77
=' -expect_unresolved \*'
14932 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'
14933 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~
14934 $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'
14936 # Both c and cxx compiler support -rpath directly
14937 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14939 hardcode_libdir_separator_F77
=:
14943 no_undefined_flag_F77
=' -z text'
14944 if test "$GCC" = yes; then
14946 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14947 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14948 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14951 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14952 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14953 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14955 hardcode_libdir_flag_spec_F77
='-R$libdir'
14956 hardcode_shlibpath_var_F77
=no
14958 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14960 # The compiler driver will combine linker options so we
14961 # cannot just pass the convience library names through
14962 # without $wl, iff we do not link with $LD.
14963 # Luckily, gcc supports the same syntax we need for Sun Studio.
14964 # Supported since Solaris 2.6 (maybe 2.5.1?)
14967 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14969 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' ;;
14972 link_all_deplibs_F77
=yes
14976 if test "x$host_vendor" = xsequent
; then
14977 # Use $CC to link under sequent, because it throws in some extra .o
14978 # files that make .init and .fini sections work.
14979 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14983 hardcode_libdir_flag_spec_F77
='-L$libdir'
14984 hardcode_direct_F77
=yes
14985 hardcode_minus_L_F77
=yes
14986 hardcode_shlibpath_var_F77
=no
14990 case $host_vendor in
14992 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14993 hardcode_direct_F77
=yes # is this really true???
14996 ## LD is ld it makes a PLAMLIB
14997 ## CC just makes a GrossModule.
14998 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14999 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15000 hardcode_direct_F77
=no
15003 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15004 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15007 runpath_var
='LD_RUN_PATH'
15008 hardcode_shlibpath_var_F77
=no
15012 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15013 hardcode_shlibpath_var_F77
=no
15014 export_dynamic_flag_spec_F77
='-Bexport'
15018 if test -d /usr
/nec
; then
15019 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15020 hardcode_shlibpath_var_F77
=no
15021 runpath_var
=LD_RUN_PATH
15022 hardcode_runpath_var
=yes
15027 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15028 no_undefined_flag_F77
='${wl}-z,text'
15029 archive_cmds_need_lc_F77
=no
15030 hardcode_shlibpath_var_F77
=no
15031 runpath_var
='LD_RUN_PATH'
15033 if test "$GCC" = yes; then
15034 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15035 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15037 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15038 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15042 sysv5
* | sco3.2v5
* | sco5v6
*)
15043 # Note: We can NOT use -z defs as we might desire, because we do not
15044 # link with -lc, and that would cause any symbols used from libc to
15045 # always be unresolved, which means just about no library would
15046 # ever link correctly. If we're not using GNU ld we use -z text
15047 # though, which does catch some bad symbols but isn't as heavy-handed
15049 no_undefined_flag_F77
='${wl}-z,text'
15050 allow_undefined_flag_F77
='${wl}-z,nodefs'
15051 archive_cmds_need_lc_F77
=no
15052 hardcode_shlibpath_var_F77
=no
15053 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15054 hardcode_libdir_separator_F77
=':'
15055 link_all_deplibs_F77
=yes
15056 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15057 runpath_var
='LD_RUN_PATH'
15059 if test "$GCC" = yes; then
15060 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15061 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15063 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15064 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15069 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15070 hardcode_libdir_flag_spec_F77
='-L$libdir'
15071 hardcode_shlibpath_var_F77
=no
15080 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15081 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15082 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15085 # Do we need to explicitly link libc?
15087 case "x$archive_cmds_need_lc_F77" in
15089 # Assume -lc should be added
15090 archive_cmds_need_lc_F77
=yes
15092 if test "$enable_shared" = yes && test "$GCC" = yes; then
15093 case $archive_cmds_F77 in
15095 # FIXME: we may have to deal with multi-command sequences.
15098 # Test whether the compiler implicitly links with -lc since on some
15099 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15100 # to ld, don't add -lc before -lgcc.
15101 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15102 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15104 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15107 (eval $ac_compile) 2>&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); } 2>conftest.err
; then
15113 libobjs
=conftest.
$ac_objext
15115 wl
=$lt_prog_compiler_wl_F77
15116 pic_flag
=$lt_prog_compiler_pic_F77
15122 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15123 allow_undefined_flag_F77
=
15124 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15125 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }
15130 archive_cmds_need_lc_F77
=no
15132 archive_cmds_need_lc_F77
=yes
15134 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15136 cat conftest.err
1>&5
15139 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15140 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15147 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15148 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15149 library_names_spec
=
15150 libname_spec
='lib$name'
15154 postuninstall_cmds
=
15158 shlibpath_overrides_runpath
=unknown
15160 dynamic_linker
="$host_os ld.so"
15161 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15162 if test "$GCC" = yes; then
15163 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15164 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15165 # if the path contains ";" then we assume it to be the separator
15166 # otherwise default to the standard path separator (i.e. ":") - it is
15167 # assumed that no part of a normal pathname contains ";" but that should
15168 # okay in the real world where ";" in dirpaths is itself problematic.
15169 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15171 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15174 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15176 need_lib_prefix
=unknown
15177 hardcode_into_libs
=no
15179 # when you set need_version to no, make sure it does not cause -set_version
15180 # flags to be left without arguments
15181 need_version
=unknown
15186 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15187 shlibpath_var
=LIBPATH
15189 # AIX 3 has no versioning support, so we append a major version to the name.
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15197 hardcode_into_libs
=yes
15198 if test "$host_cpu" = ia64
; then
15199 # AIX 5 supports IA64
15200 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15201 shlibpath_var
=LD_LIBRARY_PATH
15203 # With GCC up to 2.95.x, collect2 would create an import file
15204 # for dependence libraries. The import file would start with
15205 # the line `#! .'. This would cause the generated library to
15206 # depend on `.', always an invalid library. This was fixed in
15207 # development snapshots of GCC prior to 3.0.
15209 aix4 | aix4.
[01] | aix4.
[01].
*)
15210 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15212 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15215 can_build_shared
=no
15219 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15220 # soname into executable. Probably we can add versioning support to
15221 # collect2, so additional links can be useful in future.
15222 if test "$aix_use_runtimelinking" = yes; then
15223 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15224 # instead of lib<name>.a to let people know that these are not
15225 # typical AIX shared libraries.
15226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15228 # We preserve .a as extension for shared libraries through AIX4.2
15229 # and later when we are not doing run time linking.
15230 library_names_spec
='${libname}${release}.a $libname.a'
15231 soname_spec
='${libname}${release}${shared_ext}$major'
15233 shlibpath_var
=LIBPATH
15238 library_names_spec
='$libname.ixlibrary $libname.a'
15239 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15240 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'
15244 library_names_spec
='${libname}${shared_ext}'
15245 dynamic_linker
="$host_os ld.so"
15246 shlibpath_var
=LIBRARY_PATH
15252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15253 soname_spec
='${libname}${release}${shared_ext}$major'
15254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15255 shlibpath_var
=LD_LIBRARY_PATH
15256 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15257 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15258 # the default ld.so.conf also contains /usr/contrib/lib and
15259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15260 # libtool to hard-code these into programs
15263 cygwin
* | mingw
* | pw32
*)
15264 version_type
=windows
15269 case $GCC,$host_os in
15270 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15271 library_names_spec
='$libname.dll.a'
15272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15273 postinstall_cmds
='base_file=`basename \${file}`~
15274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15275 dldir=$destdir/`dirname \$dlpath`~
15276 test -d \$dldir || mkdir -p \$dldir~
15277 $install_prog $dir/$dlname \$dldir/$dlname~
15278 chmod a+x \$dldir/$dlname'
15279 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15280 dlpath=$dir/\$dldll~
15282 shlibpath_overrides_runpath
=yes
15286 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15287 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15288 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15291 # MinGW DLLs use traditional 'lib' prefix
15292 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15293 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15294 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15295 # It is most probably a Windows format PATH printed by
15296 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15297 # path with ; separators, and with drive letters. We can handle the
15298 # drive letters (cygwin fileutils understands them), so leave them,
15299 # especially as we might pass files found there to a mingw objdump,
15300 # which wouldn't understand a cygwinified path. Ahh.
15301 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15303 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15307 # pw32 DLLs use 'pw' prefix rather than 'lib'
15308 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15314 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15317 dynamic_linker
='Win32 ld.exe'
15318 # FIXME: first we should search . and the directory the executable is in
15322 darwin
* | rhapsody
*)
15323 dynamic_linker
="$host_os dyld"
15324 version_type
=darwin
15327 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15328 soname_spec
='${libname}${release}${major}$shared_ext'
15329 shlibpath_overrides_runpath
=yes
15330 shlibpath_var
=DYLD_LIBRARY_PATH
15331 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15332 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15333 if test "$GCC" = yes; then
15334 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"`
15336 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15338 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 shlibpath_var
=LD_LIBRARY_PATH
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15359 soname_spec
='${libname}${release}${shared_ext}$major'
15360 shlibpath_var
=LD_LIBRARY_PATH
15361 shlibpath_overrides_runpath
=no
15362 hardcode_into_libs
=yes
15363 dynamic_linker
='GNU ld.so'
15366 freebsd
* | dragonfly
*)
15367 # DragonFly does not have aout. When/if they implement a new
15368 # versioning mechanism, adjust this.
15369 if test -x /usr
/bin
/objformat
; then
15370 objformat
=`/usr/bin/objformat`
15373 freebsd
[123]*) objformat
=aout
;;
15374 *) objformat
=elf
;;
15377 version_type
=freebsd-
$objformat
15378 case $version_type in
15380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15385 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15389 shlibpath_var
=LD_LIBRARY_PATH
15392 shlibpath_overrides_runpath
=yes
15394 freebsd3.
[01]* | freebsdelf3.
[01]*)
15395 shlibpath_overrides_runpath
=yes
15396 hardcode_into_libs
=yes
15398 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15399 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15400 shlibpath_overrides_runpath
=no
15401 hardcode_into_libs
=yes
15403 freebsd
*) # from 4.6 on
15404 shlibpath_overrides_runpath
=yes
15405 hardcode_into_libs
=yes
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15415 soname_spec
='${libname}${release}${shared_ext}$major'
15416 shlibpath_var
=LD_LIBRARY_PATH
15417 hardcode_into_libs
=yes
15420 hpux9
* | hpux10
* | hpux11
*)
15421 # Give a soname corresponding to the major version so that dld.sl refuses to
15422 # link against other versions.
15429 hardcode_into_libs
=yes
15430 dynamic_linker
="$host_os dld.so"
15431 shlibpath_var
=LD_LIBRARY_PATH
15432 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15434 soname_spec
='${libname}${release}${shared_ext}$major'
15435 if test "X$HPUX_IA64_MODE" = X32
; then
15436 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15438 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15440 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15444 hardcode_into_libs
=yes
15445 dynamic_linker
="$host_os dld.sl"
15446 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15447 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15449 soname_spec
='${libname}${release}${shared_ext}$major'
15450 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15451 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15455 dynamic_linker
="$host_os dld.sl"
15456 shlibpath_var
=SHLIB_PATH
15457 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459 soname_spec
='${libname}${release}${shared_ext}$major'
15462 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15463 postinstall_cmds
='chmod 555 $lib'
15470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15471 soname_spec
='${libname}${release}${shared_ext}$major'
15472 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15473 shlibpath_var
=LD_LIBRARY_PATH
15474 shlibpath_overrides_runpath
=no
15475 hardcode_into_libs
=yes
15478 irix5
* | irix6
* | nonstopux
*)
15480 nonstopux
*) version_type
=nonstopux
;;
15482 if test "$lt_cv_prog_gnu_ld" = yes; then
15490 soname_spec
='${libname}${release}${shared_ext}$major'
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15493 irix5
* | nonstopux
*)
15494 libsuff
= shlibsuff
=
15497 case $LD in # libtool.m4 will add one of these switches to LD
15498 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15499 libsuff
= shlibsuff
= libmagic
=32-bit;;
15500 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15501 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15502 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15503 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15504 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15508 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15509 shlibpath_overrides_runpath
=no
15510 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15511 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15512 hardcode_into_libs
=yes
15515 # No shared lib support for Linux oldld, aout, or coff.
15516 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15520 # This must be Linux ELF.
15525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526 soname_spec
='${libname}${release}${shared_ext}$major'
15527 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15528 shlibpath_var
=LD_LIBRARY_PATH
15529 shlibpath_overrides_runpath
=no
15530 # This implies no fast_install, which is unacceptable.
15531 # Some rework will be needed to allow for fast_install
15532 # before this can be enabled.
15533 hardcode_into_libs
=yes
15535 # find out which ABI we are using
15537 case "$host_cpu" in
15538 x86_64
*|s390x
*|powerpc64
*)
15539 echo '#line 15539 "configure"' > conftest.
$ac_ext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; then
15545 case `/usr/bin/file conftest.$ac_objext` in
15548 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15556 # Append ld.so.conf contents to the search path
15557 if test -f /etc
/ld.so.conf
; then
15558 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' ' '`
15559 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15562 # We used to test for /lib/ld.so.1 and disable shared libraries on
15563 # powerpc, because MkLinux only supported shared libraries with the
15564 # GNU dynamic linker. Since this was broken with cross compilers,
15565 # most powerpc-linux boxes support dynamic linking these days and
15566 # people can always --disable-shared, the test was removed, and we
15567 # assume the GNU/Linux dynamic linker is in use.
15568 dynamic_linker
='GNU/Linux ld.so'
15575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15576 soname_spec
='${libname}${release}${shared_ext}$major'
15577 shlibpath_var
=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath
=no
15579 hardcode_into_libs
=yes
15580 dynamic_linker
='GNU ld.so'
15587 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15590 dynamic_linker
='NetBSD (a.out) ld.so'
15592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15593 soname_spec
='${libname}${release}${shared_ext}$major'
15594 dynamic_linker
='NetBSD ld.elf_so'
15596 shlibpath_var
=LD_LIBRARY_PATH
15597 shlibpath_overrides_runpath
=yes
15598 hardcode_into_libs
=yes
15603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 shlibpath_overrides_runpath
=yes
15612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15613 soname_spec
='${libname}${release}${shared_ext}$major'
15614 shlibpath_var
=LD_LIBRARY_PATH
15615 shlibpath_overrides_runpath
=yes
15620 sys_lib_dlsearch_path_spec
="/usr/lib"
15622 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15624 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15625 *) need_version
=no
;;
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15629 shlibpath_var
=LD_LIBRARY_PATH
15630 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15632 openbsd2.
[89] | openbsd2.
[89].
*)
15633 shlibpath_overrides_runpath
=no
15636 shlibpath_overrides_runpath
=yes
15640 shlibpath_overrides_runpath
=yes
15645 libname_spec
='$name'
15648 library_names_spec
='$libname${shared_ext} $libname.a'
15649 dynamic_linker
='OS/2 ld.exe'
15650 shlibpath_var
=LIBPATH
15653 osf3
* | osf4
* | osf5
*)
15657 soname_spec
='${libname}${release}${shared_ext}$major'
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15661 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15669 soname_spec
='${libname}${release}${shared_ext}$major'
15670 shlibpath_var
=LD_LIBRARY_PATH
15671 shlibpath_overrides_runpath
=yes
15672 hardcode_into_libs
=yes
15673 # ldd complains unless libraries are executable
15674 postinstall_cmds
='chmod +x $lib'
15679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15680 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15681 shlibpath_var
=LD_LIBRARY_PATH
15682 shlibpath_overrides_runpath
=yes
15683 if test "$with_gnu_ld" = yes; then
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15692 soname_spec
='${libname}${release}${shared_ext}$major'
15693 shlibpath_var
=LD_LIBRARY_PATH
15694 case $host_vendor in
15696 shlibpath_overrides_runpath
=no
15698 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15699 runpath_var
=LD_RUN_PATH
15707 shlibpath_overrides_runpath
=no
15708 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15714 if test -d /usr
/nec
;then
15716 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15717 soname_spec
='$libname${shared_ext}.$major'
15718 shlibpath_var
=LD_LIBRARY_PATH
15722 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15723 version_type
=freebsd-elf
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15727 soname_spec
='${libname}${release}${shared_ext}$major'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 hardcode_into_libs
=yes
15730 if test "$with_gnu_ld" = yes; then
15731 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15732 shlibpath_overrides_runpath
=no
15734 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15735 shlibpath_overrides_runpath
=yes
15738 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15742 sys_lib_dlsearch_path_spec
='/usr/lib'
15747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15748 soname_spec
='${libname}${release}${shared_ext}$major'
15749 shlibpath_var
=LD_LIBRARY_PATH
15756 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15757 echo "${ECHO_T}$dynamic_linker" >&6; }
15758 test "$dynamic_linker" = no
&& can_build_shared
=no
15760 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15761 if test "$GCC" = yes; then
15762 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15765 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15766 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15767 hardcode_action_F77
=
15768 if test -n "$hardcode_libdir_flag_spec_F77" || \
15769 test -n "$runpath_var_F77" || \
15770 test "X$hardcode_automatic_F77" = "Xyes" ; then
15772 # We can hardcode non-existant directories.
15773 if test "$hardcode_direct_F77" != no
&&
15774 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15775 # have to relink, otherwise we might link with an installed library
15776 # when we should be linking with a yet-to-be-installed one
15777 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15778 test "$hardcode_minus_L_F77" != no
; then
15779 # Linking always hardcodes the temporary library directory.
15780 hardcode_action_F77
=relink
15782 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15783 hardcode_action_F77
=immediate
15786 # We cannot hardcode anything, or else we can only hardcode existing
15788 hardcode_action_F77
=unsupported
15790 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15791 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15793 if test "$hardcode_action_F77" = relink
; then
15794 # Fast installation is not supported
15795 enable_fast_install
=no
15796 elif test "$shlibpath_overrides_runpath" = yes ||
15797 test "$enable_shared" = no
; then
15798 # Fast installation is not necessary
15799 enable_fast_install
=needless
15803 # The else clause should only fire when bootstrapping the
15804 # libtool distribution, otherwise you forgot to ship ltmain.sh
15805 # with your package, and you will get complaints that there are
15806 # no rules to generate ltmain.sh.
15807 if test -f "$ltmain"; then
15808 # See if we are running on zsh, and set the options which allow our commands through
15809 # without removal of \ escapes.
15810 if test -n "${ZSH_VERSION+set}" ; then
15811 setopt NO_GLOB_SUBST
15813 # Now quote all the things that may contain metacharacters while being
15814 # careful not to overquote the AC_SUBSTed values. We take copies of the
15815 # variables and quote the copies for generation of the libtool script.
15816 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15818 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15819 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15820 deplibs_check_method reload_flag reload_cmds need_locks \
15821 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15822 lt_cv_sys_global_symbol_to_c_name_address \
15823 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15824 old_postinstall_cmds old_postuninstall_cmds \
15828 lt_prog_compiler_wl_F77 \
15829 lt_prog_compiler_pic_F77 \
15830 lt_prog_compiler_static_F77 \
15831 lt_prog_compiler_no_builtin_flag_F77 \
15832 export_dynamic_flag_spec_F77 \
15833 thread_safe_flag_spec_F77 \
15834 whole_archive_flag_spec_F77 \
15835 enable_shared_with_static_runtimes_F77 \
15836 old_archive_cmds_F77 \
15837 old_archive_from_new_cmds_F77 \
15838 predep_objects_F77 \
15839 postdep_objects_F77 \
15842 compiler_lib_search_path_F77 \
15844 archive_expsym_cmds_F77 \
15845 postinstall_cmds_F77 \
15846 postuninstall_cmds_F77 \
15847 old_archive_from_expsyms_cmds_F77 \
15848 allow_undefined_flag_F77 \
15849 no_undefined_flag_F77 \
15850 export_symbols_cmds_F77 \
15851 hardcode_libdir_flag_spec_F77 \
15852 hardcode_libdir_flag_spec_ld_F77 \
15853 hardcode_libdir_separator_F77 \
15854 hardcode_automatic_F77 \
15856 module_expsym_cmds_F77 \
15857 lt_cv_prog_compiler_c_o_F77 \
15858 exclude_expsyms_F77 \
15859 include_expsyms_F77
; do
15862 old_archive_cmds_F77 | \
15863 old_archive_from_new_cmds_F77 | \
15864 archive_cmds_F77 | \
15865 archive_expsym_cmds_F77 | \
15866 module_cmds_F77 | \
15867 module_expsym_cmds_F77 | \
15868 old_archive_from_expsyms_cmds_F77 | \
15869 export_symbols_cmds_F77 | \
15870 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15871 postinstall_cmds | postuninstall_cmds | \
15872 old_postinstall_cmds | old_postuninstall_cmds | \
15873 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15874 # Double-quote double-evaled strings.
15875 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15878 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15884 *'\$0 --fallback-echo"')
15885 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15891 cat <<__EOF__ >> "$cfgfile"
15892 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15894 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15896 # Shell to use when invoking shell scripts.
15899 # Whether or not to build shared libraries.
15900 build_libtool_libs=$enable_shared
15902 # Whether or not to build static libraries.
15903 build_old_libs=$enable_static
15905 # Whether or not to add -lc for building shared libraries.
15906 build_libtool_need_lc=$archive_cmds_need_lc_F77
15908 # Whether or not to disallow shared libs when runtime libs are static
15909 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15911 # Whether or not to optimize for fast installation.
15912 fast_install=$enable_fast_install
15915 host_alias=$host_alias
15919 # The build system.
15920 build_alias=$build_alias
15924 # An echo program that does not interpret backslashes.
15929 AR_FLAGS=$lt_AR_FLAGS
15934 # LTCC compiler flags.
15935 LTCFLAGS=$lt_LTCFLAGS
15937 # A language-specific compiler.
15938 CC=$lt_compiler_F77
15940 # Is the compiler the GNU C compiler?
15946 # The linker used to build libraries.
15949 # Whether we need hard or soft links.
15952 # A BSD-compatible nm program.
15955 # A symbol stripping program
15958 # Used to examine libraries when file_magic_cmd begins "file"
15959 MAGIC_CMD=$MAGIC_CMD
15961 # Used on cygwin: DLL creation program.
15964 # Used on cygwin: object dumper.
15967 # Used on cygwin: assembler.
15970 # The name of the directory that contains temporary libtool files.
15973 # How to create reloadable object files.
15974 reload_flag=$lt_reload_flag
15975 reload_cmds=$lt_reload_cmds
15977 # How to pass a linker flag through the compiler.
15978 wl=$lt_lt_prog_compiler_wl_F77
15980 # Object file suffix (normally "o").
15981 objext="$ac_objext"
15983 # Old archive suffix (normally "a").
15986 # Shared library suffix (normally ".so").
15987 shrext_cmds='$shrext_cmds'
15989 # Executable file suffix (normally "").
15992 # Additional compiler flags for building library objects.
15993 pic_flag=$lt_lt_prog_compiler_pic_F77
15996 # What is the maximum length of a command?
15997 max_cmd_len=$lt_cv_sys_max_cmd_len
15999 # Does compiler simultaneously support -c and -o options?
16000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16002 # Must we lock files when doing compilation?
16003 need_locks=$lt_need_locks
16005 # Do we need the lib prefix for modules?
16006 need_lib_prefix=$need_lib_prefix
16008 # Do we need a version for libraries?
16009 need_version=$need_version
16011 # Whether dlopen is supported.
16012 dlopen_support=$enable_dlopen
16014 # Whether dlopen of programs is supported.
16015 dlopen_self=$enable_dlopen_self
16017 # Whether dlopen of statically linked programs is supported.
16018 dlopen_self_static=$enable_dlopen_self_static
16020 # Compiler flag to prevent dynamic linking.
16021 link_static_flag=$lt_lt_prog_compiler_static_F77
16023 # Compiler flag to turn off builtin functions.
16024 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16026 # Compiler flag to allow reflexive dlopens.
16027 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16029 # Compiler flag to generate shared objects directly from archives.
16030 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16032 # Compiler flag to generate thread-safe objects.
16033 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16035 # Library versioning type.
16036 version_type=$version_type
16038 # Format of library name prefix.
16039 libname_spec=$lt_libname_spec
16041 # List of archive names. First name is the real one, the rest are links.
16042 # The last name is the one that the linker finds with -lNAME.
16043 library_names_spec=$lt_library_names_spec
16045 # The coded name of the library, if different from the real name.
16046 soname_spec=$lt_soname_spec
16048 # Commands used to build and install an old-style archive.
16050 old_archive_cmds=$lt_old_archive_cmds_F77
16051 old_postinstall_cmds=$lt_old_postinstall_cmds
16052 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16054 # Create an old-style archive from a shared archive.
16055 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16057 # Create a temporary old-style archive to link instead of a shared archive.
16058 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16060 # Commands used to build and install a shared archive.
16061 archive_cmds=$lt_archive_cmds_F77
16062 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16063 postinstall_cmds=$lt_postinstall_cmds
16064 postuninstall_cmds=$lt_postuninstall_cmds
16066 # Commands used to build a loadable module (assumed same as above if empty)
16067 module_cmds=$lt_module_cmds_F77
16068 module_expsym_cmds=$lt_module_expsym_cmds_F77
16070 # Commands to strip libraries.
16071 old_striplib=$lt_old_striplib
16072 striplib=$lt_striplib
16074 # Dependencies to place before the objects being linked to create a
16076 predep_objects=$lt_predep_objects_F77
16078 # Dependencies to place after the objects being linked to create a
16080 postdep_objects=$lt_postdep_objects_F77
16082 # Dependencies to place before the objects being linked to create a
16084 predeps=$lt_predeps_F77
16086 # Dependencies to place after the objects being linked to create a
16088 postdeps=$lt_postdeps_F77
16090 # The library search path used internally by the compiler when linking
16091 # a shared library.
16092 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16094 # Method to check whether dependent libraries are shared objects.
16095 deplibs_check_method=$lt_deplibs_check_method
16097 # Command to use when deplibs_check_method == file_magic.
16098 file_magic_cmd=$lt_file_magic_cmd
16100 # Flag that allows shared libraries with undefined symbols to be built.
16101 allow_undefined_flag=$lt_allow_undefined_flag_F77
16103 # Flag that forces no undefined symbols.
16104 no_undefined_flag=$lt_no_undefined_flag_F77
16106 # Commands used to finish a libtool library installation in a directory.
16107 finish_cmds=$lt_finish_cmds
16109 # Same as above, but a single script fragment to be evaled but not shown.
16110 finish_eval=$lt_finish_eval
16112 # Take the output of nm and produce a listing of raw symbols and C names.
16113 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16115 # Transform the output of nm in a proper C declaration
16116 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16118 # Transform the output of nm in a C name address pair
16119 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16121 # This is the shared library runtime path variable.
16122 runpath_var=$runpath_var
16124 # This is the shared library path variable.
16125 shlibpath_var=$shlibpath_var
16127 # Is shlibpath searched before the hard-coded library search path?
16128 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16130 # How to hardcode a shared library path into an executable.
16131 hardcode_action=$hardcode_action_F77
16133 # Whether we should hardcode library paths into libraries.
16134 hardcode_into_libs=$hardcode_into_libs
16136 # Flag to hardcode \$libdir into a binary during linking.
16137 # This must work even if \$libdir does not exist.
16138 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16140 # If ld is used when linking, flag to hardcode \$libdir into
16141 # a binary during linking. This must work even if \$libdir does
16143 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16145 # Whether we need a single -rpath flag with a separated argument.
16146 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16148 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16149 # resulting binary.
16150 hardcode_direct=$hardcode_direct_F77
16152 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16153 # resulting binary.
16154 hardcode_minus_L=$hardcode_minus_L_F77
16156 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16157 # the resulting binary.
16158 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16160 # Set to yes if building a shared library automatically hardcodes DIR into the library
16161 # and all subsequent libraries and executables linked against it.
16162 hardcode_automatic=$hardcode_automatic_F77
16164 # Variables whose values should be saved in libtool wrapper scripts and
16165 # restored at relink time.
16166 variables_saved_for_relink="$variables_saved_for_relink"
16168 # Whether libtool must link a program against all its dependency libraries.
16169 link_all_deplibs=$link_all_deplibs_F77
16171 # Compile-time system search path for libraries
16172 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16174 # Run-time system search path for libraries
16175 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16177 # Fix the shell variable \$srcfile for the compiler.
16178 fix_srcfile_path="$fix_srcfile_path_F77"
16180 # Set to yes if exported symbols are required.
16181 always_export_symbols=$always_export_symbols_F77
16183 # The commands to list exported symbols.
16184 export_symbols_cmds=$lt_export_symbols_cmds_F77
16186 # The commands to extract the exported symbol list from a shared archive.
16187 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16189 # Symbols that should not be listed in the preloaded symbols.
16190 exclude_expsyms=$lt_exclude_expsyms_F77
16192 # Symbols that must always be exported.
16193 include_expsyms=$lt_include_expsyms_F77
16195 # ### END LIBTOOL TAG CONFIG: $tagname
16201 # If there is no Makefile yet, we rely on a make rule to execute
16202 # `config.status --recheck' to rerun these tests and create the
16203 # libtool script then.
16204 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16205 if test -f "$ltmain_in"; then
16206 test -f Makefile
&& make "$ltmain"
16212 ac_cpp
='$CPP $CPPFLAGS'
16213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16225 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16228 # Source file extension for Java test sources.
16231 # Object file extension for compiled Java test sources.
16235 # Code to be used in simple compile tests
16236 lt_simple_compile_test_code
="class foo {}\n"
16238 # Code to be used in simple link tests
16239 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16241 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16243 # If no C compiler was specified, use CC.
16246 # If no C compiler flags were specified, use CFLAGS.
16247 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16249 # Allow CC to be a program name with arguments.
16253 # save warnings/boilerplate of simple test code
16254 ac_outfile
=conftest.
$ac_objext
16255 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16256 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16257 _lt_compiler_boilerplate
=`cat conftest.err`
16260 ac_outfile
=conftest.
$ac_objext
16261 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16262 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16263 _lt_linker_boilerplate
=`cat conftest.err`
16267 # Allow CC to be a program name with arguments.
16272 for cc_temp
in $compiler""; do
16274 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16275 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16280 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16283 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16284 archive_cmds_need_lc_GCJ
=no
16286 old_archive_cmds_GCJ
=$old_archive_cmds
16289 lt_prog_compiler_no_builtin_flag_GCJ
=
16291 if test "$GCC" = yes; then
16292 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16295 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16296 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16297 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 lt_cv_prog_compiler_rtti_exceptions
=no
16301 ac_outfile
=conftest.
$ac_objext
16302 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16303 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16304 # Insert the option either (1) after the last *FLAGS variable, or
16305 # (2) before a word containing "conftest.", or (3) at the end.
16306 # Note that $ac_compile itself does not contain backslashes and begins
16307 # with a dollar sign (not a hyphen), so the echo should work correctly.
16308 # The option is referenced via a variable to avoid confusing sed.
16309 lt_compile
=`echo "$ac_compile" | $SED \
16310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16312 -e 's:$: $lt_compiler_flag:'`
16313 (eval echo "\"\$as_me:16313: $lt_compile\"" >&5)
16314 (eval "$lt_compile" 2>conftest.err
)
16316 cat conftest.err
>&5
16317 echo "$as_me:16317: \$? = $ac_status" >&5
16318 if (exit $ac_status) && test -s "$ac_outfile"; then
16319 # The compiler can only warn and ignore the option if not recognized
16320 # So say no if there are warnings other than the usual output.
16321 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16322 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16323 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16324 lt_cv_prog_compiler_rtti_exceptions
=yes
16330 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16331 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16333 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16334 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16341 lt_prog_compiler_wl_GCJ
=
16342 lt_prog_compiler_pic_GCJ
=
16343 lt_prog_compiler_static_GCJ
=
16345 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16346 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16348 if test "$GCC" = yes; then
16349 lt_prog_compiler_wl_GCJ
='-Wl,'
16350 lt_prog_compiler_static_GCJ
='-static'
16354 # All AIX code is PIC.
16355 if test "$host_cpu" = ia64
; then
16356 # AIX 5 now supports IA64 processor
16357 lt_prog_compiler_static_GCJ
='-Bstatic'
16362 # FIXME: we need at least 68020 code to build shared libraries, but
16363 # adding the `-m68020' flag to GCC prevents building anything better,
16365 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16368 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16369 # PIC is the default for these OSes.
16372 mingw
* | pw32
* | os2
*)
16373 # This hack is so that the source file can tell whether it is being
16374 # built for inclusion in a dll (and should export symbols for example).
16375 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16378 darwin
* | rhapsody
*)
16379 # PIC is the default on this platform
16380 # Common symbols not allowed in MH_DYLIB files
16381 lt_prog_compiler_pic_GCJ
='-fno-common'
16385 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16386 # Instead, we relocate shared libraries at runtime.
16390 # Just because we use GCC doesn't mean we suddenly get shared libraries
16391 # on systems that don't support them.
16392 lt_prog_compiler_can_build_shared_GCJ
=no
16397 if test -d /usr
/nec
; then
16398 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16403 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16404 # not for PA HP-UX.
16410 lt_prog_compiler_pic_GCJ
='-fPIC'
16416 lt_prog_compiler_pic_GCJ
='-fPIC'
16420 # PORTME Check for flag to pass linker flags through the system compiler.
16423 lt_prog_compiler_wl_GCJ
='-Wl,'
16424 if test "$host_cpu" = ia64
; then
16425 # AIX 5 now supports IA64 processor
16426 lt_prog_compiler_static_GCJ
='-Bstatic'
16428 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16432 # PIC is the default on this platform
16433 # Common symbols not allowed in MH_DYLIB files
16434 case $cc_basename in
16436 lt_prog_compiler_pic_GCJ
='-qnocommon'
16437 lt_prog_compiler_wl_GCJ
='-Wl,'
16442 mingw
* | pw32
* | os2
*)
16443 # This hack is so that the source file can tell whether it is being
16444 # built for inclusion in a dll (and should export symbols for example).
16445 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16448 hpux9
* | hpux10
* | hpux11
*)
16449 lt_prog_compiler_wl_GCJ
='-Wl,'
16450 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16451 # not for PA HP-UX.
16457 lt_prog_compiler_pic_GCJ
='+Z'
16460 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16461 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16464 irix5
* | irix6
* | nonstopux
*)
16465 lt_prog_compiler_wl_GCJ
='-Wl,'
16466 # PIC (with -KPIC) is the default.
16467 lt_prog_compiler_static_GCJ
='-non_shared'
16471 lt_prog_compiler_pic_GCJ
='-KPIC'
16472 lt_prog_compiler_static_GCJ
='-Bstatic'
16476 case $cc_basename in
16478 lt_prog_compiler_wl_GCJ
='-Wl,'
16479 lt_prog_compiler_pic_GCJ
='-KPIC'
16480 lt_prog_compiler_static_GCJ
='-static'
16482 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16483 # Portland Group compilers (*not* the Pentium gcc compiler,
16484 # which looks to be a dead project)
16485 lt_prog_compiler_wl_GCJ
='-Wl,'
16486 lt_prog_compiler_pic_GCJ
='-fpic'
16487 lt_prog_compiler_static_GCJ
='-Bstatic'
16490 lt_prog_compiler_wl_GCJ
='-Wl,'
16491 # All Alpha code is PIC.
16492 lt_prog_compiler_static_GCJ
='-non_shared'
16497 osf3
* | osf4
* | osf5
*)
16498 lt_prog_compiler_wl_GCJ
='-Wl,'
16499 # All OSF/1 code is PIC.
16500 lt_prog_compiler_static_GCJ
='-non_shared'
16504 lt_prog_compiler_pic_GCJ
='-KPIC'
16505 lt_prog_compiler_static_GCJ
='-Bstatic'
16506 case $cc_basename in
16507 f77
* | f90
* | f95
*)
16508 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16510 lt_prog_compiler_wl_GCJ
='-Wl,';;
16515 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16516 lt_prog_compiler_pic_GCJ
='-PIC'
16517 lt_prog_compiler_static_GCJ
='-Bstatic'
16520 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16521 lt_prog_compiler_wl_GCJ
='-Wl,'
16522 lt_prog_compiler_pic_GCJ
='-KPIC'
16523 lt_prog_compiler_static_GCJ
='-Bstatic'
16527 if test -d /usr
/nec
;then
16528 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16529 lt_prog_compiler_static_GCJ
='-Bstatic'
16533 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16534 lt_prog_compiler_wl_GCJ
='-Wl,'
16535 lt_prog_compiler_pic_GCJ
='-KPIC'
16536 lt_prog_compiler_static_GCJ
='-Bstatic'
16540 lt_prog_compiler_wl_GCJ
='-Wl,'
16541 lt_prog_compiler_can_build_shared_GCJ
=no
16545 lt_prog_compiler_pic_GCJ
='-pic'
16546 lt_prog_compiler_static_GCJ
='-Bstatic'
16550 lt_prog_compiler_can_build_shared_GCJ
=no
16555 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16556 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16559 # Check to make sure the PIC flag actually works.
16561 if test -n "$lt_prog_compiler_pic_GCJ"; then
16563 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16565 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 lt_prog_compiler_pic_works_GCJ
=no
16569 ac_outfile
=conftest.
$ac_objext
16570 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16571 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16572 # Insert the option either (1) after the last *FLAGS variable, or
16573 # (2) before a word containing "conftest.", or (3) at the end.
16574 # Note that $ac_compile itself does not contain backslashes and begins
16575 # with a dollar sign (not a hyphen), so the echo should work correctly.
16576 # The option is referenced via a variable to avoid confusing sed.
16577 lt_compile
=`echo "$ac_compile" | $SED \
16578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16580 -e 's:$: $lt_compiler_flag:'`
16581 (eval echo "\"\$as_me:16581: $lt_compile\"" >&5)
16582 (eval "$lt_compile" 2>conftest.err
)
16584 cat conftest.err
>&5
16585 echo "$as_me:16585: \$? = $ac_status" >&5
16586 if (exit $ac_status) && test -s "$ac_outfile"; then
16587 # The compiler can only warn and ignore the option if not recognized
16588 # So say no if there are warnings other than the usual output.
16589 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16590 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16591 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16592 lt_prog_compiler_pic_works_GCJ
=yes
16598 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16599 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16601 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16602 case $lt_prog_compiler_pic_GCJ in
16604 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16607 lt_prog_compiler_pic_GCJ
=
16608 lt_prog_compiler_can_build_shared_GCJ
=no
16613 # For platforms which do not support PIC, -DPIC is meaningless:
16615 lt_prog_compiler_pic_GCJ
=
16618 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16623 # Check to make sure the static flag actually works.
16625 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16626 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16627 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16628 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 lt_prog_compiler_static_works_GCJ
=no
16632 save_LDFLAGS
="$LDFLAGS"
16633 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16634 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16635 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16636 # The linker can only warn and ignore the option if not recognized
16637 # So say no if there are warnings
16638 if test -s conftest.err
; then
16639 # Append any errors to the config.log.
16640 cat conftest.err
1>&5
16641 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16643 if diff conftest.exp conftest.er2
>/dev
/null
; then
16644 lt_prog_compiler_static_works_GCJ
=yes
16647 lt_prog_compiler_static_works_GCJ
=yes
16651 LDFLAGS
="$save_LDFLAGS"
16654 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16655 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16657 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16660 lt_prog_compiler_static_GCJ
=
16664 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16666 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16669 lt_cv_prog_compiler_c_o_GCJ
=no
16670 $rm -r conftest
2>/dev
/null
16674 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16676 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16677 # Insert the option either (1) after the last *FLAGS variable, or
16678 # (2) before a word containing "conftest.", or (3) at the end.
16679 # Note that $ac_compile itself does not contain backslashes and begins
16680 # with a dollar sign (not a hyphen), so the echo should work correctly.
16681 lt_compile
=`echo "$ac_compile" | $SED \
16682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16684 -e 's:$: $lt_compiler_flag:'`
16685 (eval echo "\"\$as_me:16685: $lt_compile\"" >&5)
16686 (eval "$lt_compile" 2>out
/conftest.err
)
16688 cat out
/conftest.err
>&5
16689 echo "$as_me:16689: \$? = $ac_status" >&5
16690 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16692 # The compiler can only warn and ignore the option if not recognized
16693 # So say no if there are warnings
16694 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16695 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16696 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16697 lt_cv_prog_compiler_c_o_GCJ
=yes
16702 # SGI C++ compiler will create directory out/ii_files/ for
16703 # template instantiation
16704 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16705 $rm out
/* && rmdir out
16711 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16715 hard_links
="nottested"
16716 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16717 # do not overwrite the value of need_locks provided by the user
16718 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16719 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16722 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16724 ln conftest.a conftest.b
2>&5 || hard_links
=no
16725 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16726 { echo "$as_me:$LINENO: result: $hard_links" >&5
16727 echo "${ECHO_T}$hard_links" >&6; }
16728 if test "$hard_links" = no
; then
16729 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16730 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16737 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16738 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16741 allow_undefined_flag_GCJ
=
16742 enable_shared_with_static_runtimes_GCJ
=no
16744 archive_expsym_cmds_GCJ
=
16745 old_archive_From_new_cmds_GCJ
=
16746 old_archive_from_expsyms_cmds_GCJ
=
16747 export_dynamic_flag_spec_GCJ
=
16748 whole_archive_flag_spec_GCJ
=
16749 thread_safe_flag_spec_GCJ
=
16750 hardcode_libdir_flag_spec_GCJ
=
16751 hardcode_libdir_flag_spec_ld_GCJ
=
16752 hardcode_libdir_separator_GCJ
=
16753 hardcode_direct_GCJ
=no
16754 hardcode_minus_L_GCJ
=no
16755 hardcode_shlibpath_var_GCJ
=unsupported
16756 link_all_deplibs_GCJ
=unknown
16757 hardcode_automatic_GCJ
=no
16759 module_expsym_cmds_GCJ
=
16760 always_export_symbols_GCJ
=no
16761 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16762 # include_expsyms should be a list of space-separated symbols to be *always*
16763 # included in the symbol list
16764 include_expsyms_GCJ
=
16765 # exclude_expsyms can be an extended regexp of symbols to exclude
16766 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16767 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16768 # as well as any symbol that contains `d'.
16769 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16770 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16771 # platforms (ab)use it in PIC code, but their linkers get confused if
16772 # the symbol is explicitly referenced. Since portable code cannot
16773 # rely on this symbol name, it's probably fine to never include it in
16774 # preloaded symbol tables.
16775 extract_expsyms_cmds
=
16776 # Just being paranoid about ensuring that cc_basename is set.
16777 for cc_temp
in $compiler""; do
16779 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16780 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16785 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16788 cygwin
* | mingw
* | pw32
*)
16789 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16790 # When not using gcc, we currently assume that we are using
16791 # Microsoft Visual C++.
16792 if test "$GCC" != yes; then
16797 # we just hope/assume this is gcc and not c89 (= MSVC++)
16806 if test "$with_gnu_ld" = yes; then
16807 # If archive_cmds runs LD, not CC, wlarc should be empty
16810 # Set some defaults for GNU ld with shared library support. These
16811 # are reset later if shared libraries are not supported. Putting them
16812 # here allows them to be overridden if necessary.
16813 runpath_var
=LD_RUN_PATH
16814 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16815 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16816 # ancient GNU ld didn't support --whole-archive et. al.
16817 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16818 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16820 whole_archive_flag_spec_GCJ
=
16822 supports_anon_versioning
=no
16823 case `$LD -v 2>/dev/null` in
16824 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16825 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16826 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16827 *\
2.11.
*) ;; # other 2.11 versions
16828 *) supports_anon_versioning
=yes ;;
16831 # See if GNU ld supports shared libraries.
16833 aix3
* | aix4
* | aix5
*)
16834 # On AIX/PPC, the GNU linker is very broken
16835 if test "$host_cpu" != ia64
; then
16839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16840 *** to be unable to reliably create shared libraries on AIX.
16841 *** Therefore, libtool is disabling shared libraries support. If you
16842 *** really care for shared libraries, you may want to modify your PATH
16843 *** so that a non-GNU linker is found, and then restart.
16850 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)'
16851 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16852 hardcode_minus_L_GCJ
=yes
16854 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16855 # that the semantics of dynamic libraries on AmigaOS, at least up
16856 # to version 4, is to share data among multiple programs linked
16857 # with the same dynamic library. Since this doesn't match the
16858 # behavior of shared libraries on other platforms, we can't use
16864 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16865 allow_undefined_flag_GCJ
=unsupported
16866 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16867 # support --undefined. This deserves some investigation. FIXME
16868 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16874 cygwin
* | mingw
* | pw32
*)
16875 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16876 # as there is no search path for DLLs.
16877 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16878 allow_undefined_flag_GCJ
=unsupported
16879 always_export_symbols_GCJ
=no
16880 enable_shared_with_static_runtimes_GCJ
=yes
16881 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16883 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16884 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16885 # If the export-symbols file already is a .def file (1st line
16886 # is EXPORTS), use it as is; otherwise, prepend...
16887 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16888 cp $export_symbols $output_objdir/$soname.def;
16890 echo EXPORTS > $output_objdir/$soname.def;
16891 cat $export_symbols >> $output_objdir/$soname.def;
16893 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16900 hardcode_direct_GCJ
=no
16901 hardcode_shlibpath_var_GCJ
=no
16902 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16903 export_dynamic_flag_spec_GCJ
='${wl}-E'
16904 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16905 # Instead, shared libraries are loaded at an image base (0x10000000 by
16906 # default) and relocated if they conflict, which is a slow very memory
16907 # consuming and fragmenting process. To avoid this, we pick a random,
16908 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16909 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16910 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'
16911 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'
16915 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16917 case $cc_basename,$host_cpu in
16918 pgcc
*) # Portland Group C compiler
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'
16922 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16923 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'
16924 tmp_addflag
=' $pic_flag -Mnomain' ;;
16925 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16926 tmp_addflag
=' -i_dynamic' ;;
16927 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16928 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16929 ifc
* | ifort
*) # Intel Fortran compiler
16930 tmp_addflag
=' -nofor_main' ;;
16932 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16934 if test $supports_anon_versioning = yes; then
16935 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16937 $echo "local: *; };" >> $output_objdir/$libname.ver~
16938 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16946 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16947 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16950 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16951 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16956 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16961 *** create shared libraries on Solaris systems. Therefore, libtool
16962 *** is disabling shared libraries support. We urge you to upgrade GNU
16963 *** binutils to release 2.9.1 or newer. Another option is to modify
16964 *** your PATH or compiler configuration so that the native linker is
16965 *** used, and then restart.
16968 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16969 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16970 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16976 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16977 case `$LD -v 2>&1` in
16978 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16983 *** reliably create shared libraries on SCO systems. Therefore, libtool
16984 *** is disabling shared libraries support. We urge you to upgrade GNU
16985 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16986 *** your PATH or compiler configuration so that the native linker is
16987 *** used, and then restart.
16992 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16993 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16994 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16995 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17004 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17006 hardcode_direct_GCJ
=yes
17007 hardcode_shlibpath_var_GCJ
=no
17011 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17012 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17013 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17020 if test "$ld_shlibs_GCJ" = no
; then
17022 hardcode_libdir_flag_spec_GCJ
=
17023 export_dynamic_flag_spec_GCJ
=
17024 whole_archive_flag_spec_GCJ
=
17027 # PORTME fill in a description of your system's linker (not GNU ld)
17030 allow_undefined_flag_GCJ
=unsupported
17031 always_export_symbols_GCJ
=yes
17032 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'
17033 # Note: this linker hardcodes the directories in LIBPATH if there
17034 # are no directories specified by -L.
17035 hardcode_minus_L_GCJ
=yes
17036 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17037 # Neither direct hardcoding nor static linking is supported with a
17039 hardcode_direct_GCJ
=unsupported
17044 if test "$host_cpu" = ia64
; then
17045 # On IA64, the linker does run time linking by default, so we don't
17046 # have to do anything special.
17047 aix_use_runtimelinking
=no
17048 exp_sym_flag
='-Bexport'
17051 # If we're using GNU nm, then we don't want the "-C" option.
17052 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17053 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17054 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'
17056 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'
17058 aix_use_runtimelinking
=no
17060 # Test if we are trying to use run time linking or normal
17061 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17062 # need to do runtime linking.
17063 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17064 for ld_flag
in $LDFLAGS; do
17065 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17066 aix_use_runtimelinking
=yes
17073 exp_sym_flag
='-bexport'
17074 no_entry_flag
='-bnoentry'
17077 # When large executables or shared objects are built, AIX ld can
17078 # have problems creating the table of contents. If linking a library
17079 # or program results in "error TOC overflow" add -mminimal-toc to
17080 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17081 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17083 archive_cmds_GCJ
=''
17084 hardcode_direct_GCJ
=yes
17085 hardcode_libdir_separator_GCJ
=':'
17086 link_all_deplibs_GCJ
=yes
17088 if test "$GCC" = yes; then
17089 case $host_os in aix4.
[012]|aix4.
[012].
*)
17090 # We only want to do this on AIX 4.2 and lower, the check
17091 # below for broken collect2 doesn't work under 4.3+
17092 collect2name
=`${CC} -print-prog-name=collect2`
17093 if test -f "$collect2name" && \
17094 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17096 # We have reworked collect2
17097 hardcode_direct_GCJ
=yes
17099 # We have old collect2
17100 hardcode_direct_GCJ
=unsupported
17101 # It fails to find uninstalled libraries when the uninstalled
17102 # path is not listed in the libpath. Setting hardcode_minus_L
17103 # to unsupported forces relinking
17104 hardcode_minus_L_GCJ
=yes
17105 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17106 hardcode_libdir_separator_GCJ
=
17110 shared_flag
='-shared'
17111 if test "$aix_use_runtimelinking" = yes; then
17112 shared_flag
="$shared_flag "'${wl}-G'
17116 if test "$host_cpu" = ia64
; then
17117 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17118 # chokes on -Wl,-G. The following line is correct:
17121 if test "$aix_use_runtimelinking" = yes; then
17122 shared_flag
='${wl}-G'
17124 shared_flag
='${wl}-bM:SRE'
17129 # It seems that -bexpall does not export symbols beginning with
17130 # underscore (_), so it is better to generate a list of symbols to export.
17131 always_export_symbols_GCJ
=yes
17132 if test "$aix_use_runtimelinking" = yes; then
17133 # Warning - without using the other runtime loading flags (-brtl),
17134 # -berok will link without error, but may produce a broken library.
17135 allow_undefined_flag_GCJ
='-berok'
17136 # Determine the default libpath from the value encoded in an empty executable.
17137 cat >conftest.
$ac_ext <<_ACEOF
17140 cat confdefs.h
>>conftest.
$ac_ext
17141 cat >>conftest.
$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17152 rm -f conftest.
$ac_objext conftest
$ac_exeext
17153 if { (ac_try
="$ac_link"
17154 case "(($ac_try" in
17155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1 >conftest.err
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest$ac_exeext &&
17169 $as_test_x conftest$ac_exeext; then
17171 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17173 # Check for a 64-bit object if we didn't find anything.
17174 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; }
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17184 conftest$ac_exeext conftest.$ac_ext
17185 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17187 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17188 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"
17190 if test "$host_cpu" = ia64; then
17191 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17192 allow_undefined_flag_GCJ="-z nodefs"
17193 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"
17195 # Determine the default libpath from the value encoded in an empty executable.
17196 cat >conftest.$ac_ext <<_ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17211 rm -f conftest.$ac_objext conftest$ac_exeext
17212 if { (ac_try="$ac_link"
17213 case "(($ac_try" in
17214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17215 *) ac_try_echo
=$ac_try;;
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_link") 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } && {
17225 test -z "$ac_c_werror_flag" ||
17226 test ! -s conftest.err
17227 } && test -s conftest
$ac_exeext &&
17228 $as_test_x conftest
$ac_exeext; then
17230 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17232 # Check for a 64-bit object if we didn't find anything.
17233 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; }
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17242 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17243 conftest
$ac_exeext conftest.
$ac_ext
17244 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17246 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17247 # Warning - without using the other run time loading flags,
17248 # -berok will link without error, but may produce a broken library.
17249 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17250 allow_undefined_flag_GCJ
=' ${wl}-berok'
17251 # Exported symbols can be pulled into shared objects from archives
17252 whole_archive_flag_spec_GCJ
='$convenience'
17253 archive_cmds_need_lc_GCJ
=yes
17254 # This is similar to how AIX traditionally builds its shared libraries.
17255 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'
17261 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17262 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17263 hardcode_minus_L_GCJ
=yes
17264 # see comment about different semantics on the GNU ld section
17269 export_dynamic_flag_spec_GCJ
=-rdynamic
17272 cygwin
* | mingw
* | pw32
*)
17273 # When not using gcc, we currently assume that we are using
17274 # Microsoft Visual C++.
17275 # hardcode_libdir_flag_spec is actually meaningless, as there is
17276 # no search path for DLLs.
17277 hardcode_libdir_flag_spec_GCJ
=' '
17278 allow_undefined_flag_GCJ
=unsupported
17279 # Tell ltmain to make .lib files, not .a files.
17281 # Tell ltmain to make .dll files, not .so files.
17283 # FIXME: Setting linknames here is a bad hack.
17284 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17285 # The linker will automatically build a .lib file if we build a DLL.
17286 old_archive_From_new_cmds_GCJ
='true'
17287 # FIXME: Should let the user specify the lib program.
17288 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17289 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17290 enable_shared_with_static_runtimes_GCJ
=yes
17293 darwin
* | rhapsody
*)
17295 rhapsody
* | darwin1.
[012])
17296 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17299 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17300 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17302 case ${MACOSX_DEPLOYMENT_TARGET} in
17304 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17307 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17313 archive_cmds_need_lc_GCJ
=no
17314 hardcode_direct_GCJ
=no
17315 hardcode_automatic_GCJ
=yes
17316 hardcode_shlibpath_var_GCJ
=unsupported
17317 whole_archive_flag_spec_GCJ
=''
17318 link_all_deplibs_GCJ
=yes
17319 if test "$GCC" = yes ; then
17320 output_verbose_link_cmd
='echo'
17321 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17322 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17323 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17324 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}'
17325 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}'
17327 case $cc_basename in
17329 output_verbose_link_cmd
='echo'
17330 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17331 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17332 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17333 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}'
17334 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}'
17344 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17345 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17346 hardcode_shlibpath_var_GCJ
=no
17353 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17354 # support. Future versions do this automatically, but an explicit c++rt0.o
17355 # does not break anything, and helps significantly (at the cost of a little
17358 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17359 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17360 hardcode_direct_GCJ
=yes
17361 hardcode_shlibpath_var_GCJ
=no
17364 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17366 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17367 hardcode_direct_GCJ
=yes
17368 hardcode_minus_L_GCJ
=yes
17369 hardcode_shlibpath_var_GCJ
=no
17372 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17373 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17374 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17375 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17376 hardcode_direct_GCJ
=yes
17377 hardcode_shlibpath_var_GCJ
=no
17381 if test "$GCC" = yes; then
17382 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'
17384 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'
17386 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17387 hardcode_libdir_separator_GCJ
=:
17388 hardcode_direct_GCJ
=yes
17390 # hardcode_minus_L: Not really in the search PATH,
17391 # but as the default location of the library.
17392 hardcode_minus_L_GCJ
=yes
17393 export_dynamic_flag_spec_GCJ
='${wl}-E'
17397 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17398 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17400 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17402 if test "$with_gnu_ld" = no
; then
17403 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17404 hardcode_libdir_separator_GCJ
=:
17406 hardcode_direct_GCJ
=yes
17407 export_dynamic_flag_spec_GCJ
='${wl}-E'
17409 # hardcode_minus_L: Not really in the search PATH,
17410 # but as the default location of the library.
17411 hardcode_minus_L_GCJ
=yes
17416 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17419 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17422 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17425 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17431 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17434 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17437 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17441 if test "$with_gnu_ld" = no
; then
17442 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17443 hardcode_libdir_separator_GCJ
=:
17447 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17448 hardcode_direct_GCJ
=no
17449 hardcode_shlibpath_var_GCJ
=no
17452 hardcode_direct_GCJ
=yes
17453 export_dynamic_flag_spec_GCJ
='${wl}-E'
17455 # hardcode_minus_L: Not really in the search PATH,
17456 # but as the default location of the library.
17457 hardcode_minus_L_GCJ
=yes
17463 irix5
* | irix6
* | nonstopux
*)
17464 if test "$GCC" = yes; then
17465 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'
17467 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'
17468 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17470 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17471 hardcode_libdir_separator_GCJ
=:
17472 link_all_deplibs_GCJ
=yes
17476 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17477 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17479 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17481 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17482 hardcode_direct_GCJ
=yes
17483 hardcode_shlibpath_var_GCJ
=no
17487 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17488 hardcode_direct_GCJ
=yes
17489 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17490 hardcode_libdir_separator_GCJ
=:
17491 hardcode_shlibpath_var_GCJ
=no
17495 hardcode_direct_GCJ
=yes
17496 hardcode_shlibpath_var_GCJ
=no
17497 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17498 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17499 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17500 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17501 export_dynamic_flag_spec_GCJ
='${wl}-E'
17504 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17505 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17506 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17509 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17510 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17517 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17518 hardcode_minus_L_GCJ
=yes
17519 allow_undefined_flag_GCJ
=unsupported
17520 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'
17521 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17525 if test "$GCC" = yes; then
17526 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17527 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'
17529 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17530 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'
17532 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17533 hardcode_libdir_separator_GCJ
=:
17536 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17537 if test "$GCC" = yes; then
17538 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17539 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'
17540 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17542 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17543 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'
17544 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~
17545 $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'
17547 # Both c and cxx compiler support -rpath directly
17548 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17550 hardcode_libdir_separator_GCJ
=:
17554 no_undefined_flag_GCJ
=' -z text'
17555 if test "$GCC" = yes; then
17557 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17558 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17559 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17562 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17563 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17564 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17566 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17567 hardcode_shlibpath_var_GCJ
=no
17569 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17571 # The compiler driver will combine linker options so we
17572 # cannot just pass the convience library names through
17573 # without $wl, iff we do not link with $LD.
17574 # Luckily, gcc supports the same syntax we need for Sun Studio.
17575 # Supported since Solaris 2.6 (maybe 2.5.1?)
17578 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17580 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' ;;
17583 link_all_deplibs_GCJ
=yes
17587 if test "x$host_vendor" = xsequent
; then
17588 # Use $CC to link under sequent, because it throws in some extra .o
17589 # files that make .init and .fini sections work.
17590 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17592 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17594 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17595 hardcode_direct_GCJ
=yes
17596 hardcode_minus_L_GCJ
=yes
17597 hardcode_shlibpath_var_GCJ
=no
17601 case $host_vendor in
17603 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17604 hardcode_direct_GCJ
=yes # is this really true???
17607 ## LD is ld it makes a PLAMLIB
17608 ## CC just makes a GrossModule.
17609 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17610 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17611 hardcode_direct_GCJ
=no
17614 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17615 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17618 runpath_var
='LD_RUN_PATH'
17619 hardcode_shlibpath_var_GCJ
=no
17623 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17624 hardcode_shlibpath_var_GCJ
=no
17625 export_dynamic_flag_spec_GCJ
='-Bexport'
17629 if test -d /usr
/nec
; then
17630 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17631 hardcode_shlibpath_var_GCJ
=no
17632 runpath_var
=LD_RUN_PATH
17633 hardcode_runpath_var
=yes
17638 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17639 no_undefined_flag_GCJ
='${wl}-z,text'
17640 archive_cmds_need_lc_GCJ
=no
17641 hardcode_shlibpath_var_GCJ
=no
17642 runpath_var
='LD_RUN_PATH'
17644 if test "$GCC" = yes; then
17645 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17646 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17648 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17649 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17653 sysv5
* | sco3.2v5
* | sco5v6
*)
17654 # Note: We can NOT use -z defs as we might desire, because we do not
17655 # link with -lc, and that would cause any symbols used from libc to
17656 # always be unresolved, which means just about no library would
17657 # ever link correctly. If we're not using GNU ld we use -z text
17658 # though, which does catch some bad symbols but isn't as heavy-handed
17660 no_undefined_flag_GCJ
='${wl}-z,text'
17661 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17662 archive_cmds_need_lc_GCJ
=no
17663 hardcode_shlibpath_var_GCJ
=no
17664 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17665 hardcode_libdir_separator_GCJ
=':'
17666 link_all_deplibs_GCJ
=yes
17667 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17668 runpath_var
='LD_RUN_PATH'
17670 if test "$GCC" = yes; then
17671 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17672 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17674 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17675 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17680 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17681 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17682 hardcode_shlibpath_var_GCJ
=no
17691 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17692 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17693 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17696 # Do we need to explicitly link libc?
17698 case "x$archive_cmds_need_lc_GCJ" in
17700 # Assume -lc should be added
17701 archive_cmds_need_lc_GCJ
=yes
17703 if test "$enable_shared" = yes && test "$GCC" = yes; then
17704 case $archive_cmds_GCJ in
17706 # FIXME: we may have to deal with multi-command sequences.
17709 # Test whether the compiler implicitly links with -lc since on some
17710 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17711 # to ld, don't add -lc before -lgcc.
17712 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17713 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17715 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 (eval $ac_compile) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } 2>conftest.err
; then
17724 libobjs
=conftest.
$ac_objext
17726 wl
=$lt_prog_compiler_wl_GCJ
17727 pic_flag
=$lt_prog_compiler_pic_GCJ
17733 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17734 allow_undefined_flag_GCJ
=
17735 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17736 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }
17741 archive_cmds_need_lc_GCJ
=no
17743 archive_cmds_need_lc_GCJ
=yes
17745 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17747 cat conftest.err
1>&5
17750 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17751 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17758 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17759 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17760 library_names_spec
=
17761 libname_spec
='lib$name'
17765 postuninstall_cmds
=
17769 shlibpath_overrides_runpath
=unknown
17771 dynamic_linker
="$host_os ld.so"
17772 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17773 if test "$GCC" = yes; then
17774 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17775 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17776 # if the path contains ";" then we assume it to be the separator
17777 # otherwise default to the standard path separator (i.e. ":") - it is
17778 # assumed that no part of a normal pathname contains ";" but that should
17779 # okay in the real world where ";" in dirpaths is itself problematic.
17780 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17782 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17785 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17787 need_lib_prefix
=unknown
17788 hardcode_into_libs
=no
17790 # when you set need_version to no, make sure it does not cause -set_version
17791 # flags to be left without arguments
17792 need_version
=unknown
17797 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17798 shlibpath_var
=LIBPATH
17800 # AIX 3 has no versioning support, so we append a major version to the name.
17801 soname_spec
='${libname}${release}${shared_ext}$major'
17808 hardcode_into_libs
=yes
17809 if test "$host_cpu" = ia64
; then
17810 # AIX 5 supports IA64
17811 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17812 shlibpath_var
=LD_LIBRARY_PATH
17814 # With GCC up to 2.95.x, collect2 would create an import file
17815 # for dependence libraries. The import file would start with
17816 # the line `#! .'. This would cause the generated library to
17817 # depend on `.', always an invalid library. This was fixed in
17818 # development snapshots of GCC prior to 3.0.
17820 aix4 | aix4.
[01] | aix4.
[01].
*)
17821 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17823 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17826 can_build_shared
=no
17830 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17831 # soname into executable. Probably we can add versioning support to
17832 # collect2, so additional links can be useful in future.
17833 if test "$aix_use_runtimelinking" = yes; then
17834 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17835 # instead of lib<name>.a to let people know that these are not
17836 # typical AIX shared libraries.
17837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17839 # We preserve .a as extension for shared libraries through AIX4.2
17840 # and later when we are not doing run time linking.
17841 library_names_spec
='${libname}${release}.a $libname.a'
17842 soname_spec
='${libname}${release}${shared_ext}$major'
17844 shlibpath_var
=LIBPATH
17849 library_names_spec
='$libname.ixlibrary $libname.a'
17850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17851 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'
17855 library_names_spec
='${libname}${shared_ext}'
17856 dynamic_linker
="$host_os ld.so"
17857 shlibpath_var
=LIBRARY_PATH
17863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17864 soname_spec
='${libname}${release}${shared_ext}$major'
17865 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17866 shlibpath_var
=LD_LIBRARY_PATH
17867 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17868 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17869 # the default ld.so.conf also contains /usr/contrib/lib and
17870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17871 # libtool to hard-code these into programs
17874 cygwin
* | mingw
* | pw32
*)
17875 version_type
=windows
17880 case $GCC,$host_os in
17881 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17882 library_names_spec
='$libname.dll.a'
17883 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17884 postinstall_cmds
='base_file=`basename \${file}`~
17885 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17886 dldir=$destdir/`dirname \$dlpath`~
17887 test -d \$dldir || mkdir -p \$dldir~
17888 $install_prog $dir/$dlname \$dldir/$dlname~
17889 chmod a+x \$dldir/$dlname'
17890 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17891 dlpath=$dir/\$dldll~
17893 shlibpath_overrides_runpath
=yes
17897 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17898 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17899 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17902 # MinGW DLLs use traditional 'lib' prefix
17903 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17904 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17905 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17906 # It is most probably a Windows format PATH printed by
17907 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17908 # path with ; separators, and with drive letters. We can handle the
17909 # drive letters (cygwin fileutils understands them), so leave them,
17910 # especially as we might pass files found there to a mingw objdump,
17911 # which wouldn't understand a cygwinified path. Ahh.
17912 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17914 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17918 # pw32 DLLs use 'pw' prefix rather than 'lib'
17919 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17925 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17928 dynamic_linker
='Win32 ld.exe'
17929 # FIXME: first we should search . and the directory the executable is in
17933 darwin
* | rhapsody
*)
17934 dynamic_linker
="$host_os dyld"
17935 version_type
=darwin
17938 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17939 soname_spec
='${libname}${release}${major}$shared_ext'
17940 shlibpath_overrides_runpath
=yes
17941 shlibpath_var
=DYLD_LIBRARY_PATH
17942 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17943 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17944 if test "$GCC" = yes; then
17945 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"`
17947 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17949 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17957 soname_spec
='${libname}${release}${shared_ext}$major'
17958 shlibpath_var
=LD_LIBRARY_PATH
17969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17970 soname_spec
='${libname}${release}${shared_ext}$major'
17971 shlibpath_var
=LD_LIBRARY_PATH
17972 shlibpath_overrides_runpath
=no
17973 hardcode_into_libs
=yes
17974 dynamic_linker
='GNU ld.so'
17977 freebsd
* | dragonfly
*)
17978 # DragonFly does not have aout. When/if they implement a new
17979 # versioning mechanism, adjust this.
17980 if test -x /usr
/bin
/objformat
; then
17981 objformat
=`/usr/bin/objformat`
17984 freebsd
[123]*) objformat
=aout
;;
17985 *) objformat
=elf
;;
17988 version_type
=freebsd-
$objformat
17989 case $version_type in
17991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17996 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18000 shlibpath_var
=LD_LIBRARY_PATH
18003 shlibpath_overrides_runpath
=yes
18005 freebsd3.
[01]* | freebsdelf3.
[01]*)
18006 shlibpath_overrides_runpath
=yes
18007 hardcode_into_libs
=yes
18009 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18010 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18011 shlibpath_overrides_runpath
=no
18012 hardcode_into_libs
=yes
18014 freebsd
*) # from 4.6 on
18015 shlibpath_overrides_runpath
=yes
18016 hardcode_into_libs
=yes
18025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18026 soname_spec
='${libname}${release}${shared_ext}$major'
18027 shlibpath_var
=LD_LIBRARY_PATH
18028 hardcode_into_libs
=yes
18031 hpux9
* | hpux10
* | hpux11
*)
18032 # Give a soname corresponding to the major version so that dld.sl refuses to
18033 # link against other versions.
18040 hardcode_into_libs
=yes
18041 dynamic_linker
="$host_os dld.so"
18042 shlibpath_var
=LD_LIBRARY_PATH
18043 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18045 soname_spec
='${libname}${release}${shared_ext}$major'
18046 if test "X$HPUX_IA64_MODE" = X32
; then
18047 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18049 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18051 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18055 hardcode_into_libs
=yes
18056 dynamic_linker
="$host_os dld.sl"
18057 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18058 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18060 soname_spec
='${libname}${release}${shared_ext}$major'
18061 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18062 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18066 dynamic_linker
="$host_os dld.sl"
18067 shlibpath_var
=SHLIB_PATH
18068 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18070 soname_spec
='${libname}${release}${shared_ext}$major'
18073 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18074 postinstall_cmds
='chmod 555 $lib'
18081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18082 soname_spec
='${libname}${release}${shared_ext}$major'
18083 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18084 shlibpath_var
=LD_LIBRARY_PATH
18085 shlibpath_overrides_runpath
=no
18086 hardcode_into_libs
=yes
18089 irix5
* | irix6
* | nonstopux
*)
18091 nonstopux
*) version_type
=nonstopux
;;
18093 if test "$lt_cv_prog_gnu_ld" = yes; then
18101 soname_spec
='${libname}${release}${shared_ext}$major'
18102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18104 irix5
* | nonstopux
*)
18105 libsuff
= shlibsuff
=
18108 case $LD in # libtool.m4 will add one of these switches to LD
18109 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18110 libsuff
= shlibsuff
= libmagic
=32-bit;;
18111 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18112 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18113 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18114 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18115 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18119 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18120 shlibpath_overrides_runpath
=no
18121 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18122 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18123 hardcode_into_libs
=yes
18126 # No shared lib support for Linux oldld, aout, or coff.
18127 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18131 # This must be Linux ELF.
18136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18137 soname_spec
='${libname}${release}${shared_ext}$major'
18138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18139 shlibpath_var
=LD_LIBRARY_PATH
18140 shlibpath_overrides_runpath
=no
18141 # This implies no fast_install, which is unacceptable.
18142 # Some rework will be needed to allow for fast_install
18143 # before this can be enabled.
18144 hardcode_into_libs
=yes
18146 # find out which ABI we are using
18148 case "$host_cpu" in
18149 x86_64
*|s390x
*|powerpc64
*)
18150 echo '#line 18150 "configure"' > conftest.
$ac_ext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; then
18156 case `/usr/bin/file conftest.$ac_objext` in
18159 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18167 # Append ld.so.conf contents to the search path
18168 if test -f /etc
/ld.so.conf
; then
18169 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' ' '`
18170 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18173 # We used to test for /lib/ld.so.1 and disable shared libraries on
18174 # powerpc, because MkLinux only supported shared libraries with the
18175 # GNU dynamic linker. Since this was broken with cross compilers,
18176 # most powerpc-linux boxes support dynamic linking these days and
18177 # people can always --disable-shared, the test was removed, and we
18178 # assume the GNU/Linux dynamic linker is in use.
18179 dynamic_linker
='GNU/Linux ld.so'
18186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18187 soname_spec
='${libname}${release}${shared_ext}$major'
18188 shlibpath_var
=LD_LIBRARY_PATH
18189 shlibpath_overrides_runpath
=no
18190 hardcode_into_libs
=yes
18191 dynamic_linker
='GNU ld.so'
18198 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18200 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18201 dynamic_linker
='NetBSD (a.out) ld.so'
18203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18204 soname_spec
='${libname}${release}${shared_ext}$major'
18205 dynamic_linker
='NetBSD ld.elf_so'
18207 shlibpath_var
=LD_LIBRARY_PATH
18208 shlibpath_overrides_runpath
=yes
18209 hardcode_into_libs
=yes
18214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18215 shlibpath_var
=LD_LIBRARY_PATH
18216 shlibpath_overrides_runpath
=yes
18223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18224 soname_spec
='${libname}${release}${shared_ext}$major'
18225 shlibpath_var
=LD_LIBRARY_PATH
18226 shlibpath_overrides_runpath
=yes
18231 sys_lib_dlsearch_path_spec
="/usr/lib"
18233 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18235 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18236 *) need_version
=no
;;
18238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18239 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18240 shlibpath_var
=LD_LIBRARY_PATH
18241 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18243 openbsd2.
[89] | openbsd2.
[89].
*)
18244 shlibpath_overrides_runpath
=no
18247 shlibpath_overrides_runpath
=yes
18251 shlibpath_overrides_runpath
=yes
18256 libname_spec
='$name'
18259 library_names_spec
='$libname${shared_ext} $libname.a'
18260 dynamic_linker
='OS/2 ld.exe'
18261 shlibpath_var
=LIBPATH
18264 osf3
* | osf4
* | osf5
*)
18268 soname_spec
='${libname}${release}${shared_ext}$major'
18269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18270 shlibpath_var
=LD_LIBRARY_PATH
18271 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18272 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18280 soname_spec
='${libname}${release}${shared_ext}$major'
18281 shlibpath_var
=LD_LIBRARY_PATH
18282 shlibpath_overrides_runpath
=yes
18283 hardcode_into_libs
=yes
18284 # ldd complains unless libraries are executable
18285 postinstall_cmds
='chmod +x $lib'
18290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18291 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18292 shlibpath_var
=LD_LIBRARY_PATH
18293 shlibpath_overrides_runpath
=yes
18294 if test "$with_gnu_ld" = yes; then
18302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18303 soname_spec
='${libname}${release}${shared_ext}$major'
18304 shlibpath_var
=LD_LIBRARY_PATH
18305 case $host_vendor in
18307 shlibpath_overrides_runpath
=no
18309 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18310 runpath_var
=LD_RUN_PATH
18318 shlibpath_overrides_runpath
=no
18319 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18325 if test -d /usr
/nec
;then
18327 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18328 soname_spec
='$libname${shared_ext}.$major'
18329 shlibpath_var
=LD_LIBRARY_PATH
18333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18334 version_type
=freebsd-elf
18337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18338 soname_spec
='${libname}${release}${shared_ext}$major'
18339 shlibpath_var
=LD_LIBRARY_PATH
18340 hardcode_into_libs
=yes
18341 if test "$with_gnu_ld" = yes; then
18342 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18343 shlibpath_overrides_runpath
=no
18345 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18346 shlibpath_overrides_runpath
=yes
18349 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18353 sys_lib_dlsearch_path_spec
='/usr/lib'
18358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18359 soname_spec
='${libname}${release}${shared_ext}$major'
18360 shlibpath_var
=LD_LIBRARY_PATH
18367 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18368 echo "${ECHO_T}$dynamic_linker" >&6; }
18369 test "$dynamic_linker" = no
&& can_build_shared
=no
18371 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18372 if test "$GCC" = yes; then
18373 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18376 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18377 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18378 hardcode_action_GCJ
=
18379 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18380 test -n "$runpath_var_GCJ" || \
18381 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18383 # We can hardcode non-existant directories.
18384 if test "$hardcode_direct_GCJ" != no
&&
18385 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18386 # have to relink, otherwise we might link with an installed library
18387 # when we should be linking with a yet-to-be-installed one
18388 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18389 test "$hardcode_minus_L_GCJ" != no
; then
18390 # Linking always hardcodes the temporary library directory.
18391 hardcode_action_GCJ
=relink
18393 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18394 hardcode_action_GCJ
=immediate
18397 # We cannot hardcode anything, or else we can only hardcode existing
18399 hardcode_action_GCJ
=unsupported
18401 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18402 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18404 if test "$hardcode_action_GCJ" = relink
; then
18405 # Fast installation is not supported
18406 enable_fast_install
=no
18407 elif test "$shlibpath_overrides_runpath" = yes ||
18408 test "$enable_shared" = no
; then
18409 # Fast installation is not necessary
18410 enable_fast_install
=needless
18414 # The else clause should only fire when bootstrapping the
18415 # libtool distribution, otherwise you forgot to ship ltmain.sh
18416 # with your package, and you will get complaints that there are
18417 # no rules to generate ltmain.sh.
18418 if test -f "$ltmain"; then
18419 # See if we are running on zsh, and set the options which allow our commands through
18420 # without removal of \ escapes.
18421 if test -n "${ZSH_VERSION+set}" ; then
18422 setopt NO_GLOB_SUBST
18424 # Now quote all the things that may contain metacharacters while being
18425 # careful not to overquote the AC_SUBSTed values. We take copies of the
18426 # variables and quote the copies for generation of the libtool script.
18427 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18429 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18430 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18431 deplibs_check_method reload_flag reload_cmds need_locks \
18432 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18433 lt_cv_sys_global_symbol_to_c_name_address \
18434 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18435 old_postinstall_cmds old_postuninstall_cmds \
18439 lt_prog_compiler_wl_GCJ \
18440 lt_prog_compiler_pic_GCJ \
18441 lt_prog_compiler_static_GCJ \
18442 lt_prog_compiler_no_builtin_flag_GCJ \
18443 export_dynamic_flag_spec_GCJ \
18444 thread_safe_flag_spec_GCJ \
18445 whole_archive_flag_spec_GCJ \
18446 enable_shared_with_static_runtimes_GCJ \
18447 old_archive_cmds_GCJ \
18448 old_archive_from_new_cmds_GCJ \
18449 predep_objects_GCJ \
18450 postdep_objects_GCJ \
18453 compiler_lib_search_path_GCJ \
18455 archive_expsym_cmds_GCJ \
18456 postinstall_cmds_GCJ \
18457 postuninstall_cmds_GCJ \
18458 old_archive_from_expsyms_cmds_GCJ \
18459 allow_undefined_flag_GCJ \
18460 no_undefined_flag_GCJ \
18461 export_symbols_cmds_GCJ \
18462 hardcode_libdir_flag_spec_GCJ \
18463 hardcode_libdir_flag_spec_ld_GCJ \
18464 hardcode_libdir_separator_GCJ \
18465 hardcode_automatic_GCJ \
18467 module_expsym_cmds_GCJ \
18468 lt_cv_prog_compiler_c_o_GCJ \
18469 exclude_expsyms_GCJ \
18470 include_expsyms_GCJ
; do
18473 old_archive_cmds_GCJ | \
18474 old_archive_from_new_cmds_GCJ | \
18475 archive_cmds_GCJ | \
18476 archive_expsym_cmds_GCJ | \
18477 module_cmds_GCJ | \
18478 module_expsym_cmds_GCJ | \
18479 old_archive_from_expsyms_cmds_GCJ | \
18480 export_symbols_cmds_GCJ | \
18481 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18482 postinstall_cmds | postuninstall_cmds | \
18483 old_postinstall_cmds | old_postuninstall_cmds | \
18484 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18485 # Double-quote double-evaled strings.
18486 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18489 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18495 *'\$0 --fallback-echo"')
18496 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18502 cat <<__EOF__ >> "$cfgfile"
18503 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18505 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18507 # Shell to use when invoking shell scripts.
18510 # Whether or not to build shared libraries.
18511 build_libtool_libs=$enable_shared
18513 # Whether or not to build static libraries.
18514 build_old_libs=$enable_static
18516 # Whether or not to add -lc for building shared libraries.
18517 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18519 # Whether or not to disallow shared libs when runtime libs are static
18520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18522 # Whether or not to optimize for fast installation.
18523 fast_install=$enable_fast_install
18526 host_alias=$host_alias
18530 # The build system.
18531 build_alias=$build_alias
18535 # An echo program that does not interpret backslashes.
18540 AR_FLAGS=$lt_AR_FLAGS
18545 # LTCC compiler flags.
18546 LTCFLAGS=$lt_LTCFLAGS
18548 # A language-specific compiler.
18549 CC=$lt_compiler_GCJ
18551 # Is the compiler the GNU C compiler?
18557 # The linker used to build libraries.
18560 # Whether we need hard or soft links.
18563 # A BSD-compatible nm program.
18566 # A symbol stripping program
18569 # Used to examine libraries when file_magic_cmd begins "file"
18570 MAGIC_CMD=$MAGIC_CMD
18572 # Used on cygwin: DLL creation program.
18575 # Used on cygwin: object dumper.
18578 # Used on cygwin: assembler.
18581 # The name of the directory that contains temporary libtool files.
18584 # How to create reloadable object files.
18585 reload_flag=$lt_reload_flag
18586 reload_cmds=$lt_reload_cmds
18588 # How to pass a linker flag through the compiler.
18589 wl=$lt_lt_prog_compiler_wl_GCJ
18591 # Object file suffix (normally "o").
18592 objext="$ac_objext"
18594 # Old archive suffix (normally "a").
18597 # Shared library suffix (normally ".so").
18598 shrext_cmds='$shrext_cmds'
18600 # Executable file suffix (normally "").
18603 # Additional compiler flags for building library objects.
18604 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18607 # What is the maximum length of a command?
18608 max_cmd_len=$lt_cv_sys_max_cmd_len
18610 # Does compiler simultaneously support -c and -o options?
18611 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18613 # Must we lock files when doing compilation?
18614 need_locks=$lt_need_locks
18616 # Do we need the lib prefix for modules?
18617 need_lib_prefix=$need_lib_prefix
18619 # Do we need a version for libraries?
18620 need_version=$need_version
18622 # Whether dlopen is supported.
18623 dlopen_support=$enable_dlopen
18625 # Whether dlopen of programs is supported.
18626 dlopen_self=$enable_dlopen_self
18628 # Whether dlopen of statically linked programs is supported.
18629 dlopen_self_static=$enable_dlopen_self_static
18631 # Compiler flag to prevent dynamic linking.
18632 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18634 # Compiler flag to turn off builtin functions.
18635 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18637 # Compiler flag to allow reflexive dlopens.
18638 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18640 # Compiler flag to generate shared objects directly from archives.
18641 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18643 # Compiler flag to generate thread-safe objects.
18644 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18646 # Library versioning type.
18647 version_type=$version_type
18649 # Format of library name prefix.
18650 libname_spec=$lt_libname_spec
18652 # List of archive names. First name is the real one, the rest are links.
18653 # The last name is the one that the linker finds with -lNAME.
18654 library_names_spec=$lt_library_names_spec
18656 # The coded name of the library, if different from the real name.
18657 soname_spec=$lt_soname_spec
18659 # Commands used to build and install an old-style archive.
18661 old_archive_cmds=$lt_old_archive_cmds_GCJ
18662 old_postinstall_cmds=$lt_old_postinstall_cmds
18663 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18665 # Create an old-style archive from a shared archive.
18666 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18668 # Create a temporary old-style archive to link instead of a shared archive.
18669 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18671 # Commands used to build and install a shared archive.
18672 archive_cmds=$lt_archive_cmds_GCJ
18673 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18674 postinstall_cmds=$lt_postinstall_cmds
18675 postuninstall_cmds=$lt_postuninstall_cmds
18677 # Commands used to build a loadable module (assumed same as above if empty)
18678 module_cmds=$lt_module_cmds_GCJ
18679 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18681 # Commands to strip libraries.
18682 old_striplib=$lt_old_striplib
18683 striplib=$lt_striplib
18685 # Dependencies to place before the objects being linked to create a
18687 predep_objects=$lt_predep_objects_GCJ
18689 # Dependencies to place after the objects being linked to create a
18691 postdep_objects=$lt_postdep_objects_GCJ
18693 # Dependencies to place before the objects being linked to create a
18695 predeps=$lt_predeps_GCJ
18697 # Dependencies to place after the objects being linked to create a
18699 postdeps=$lt_postdeps_GCJ
18701 # The library search path used internally by the compiler when linking
18702 # a shared library.
18703 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18705 # Method to check whether dependent libraries are shared objects.
18706 deplibs_check_method=$lt_deplibs_check_method
18708 # Command to use when deplibs_check_method == file_magic.
18709 file_magic_cmd=$lt_file_magic_cmd
18711 # Flag that allows shared libraries with undefined symbols to be built.
18712 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18714 # Flag that forces no undefined symbols.
18715 no_undefined_flag=$lt_no_undefined_flag_GCJ
18717 # Commands used to finish a libtool library installation in a directory.
18718 finish_cmds=$lt_finish_cmds
18720 # Same as above, but a single script fragment to be evaled but not shown.
18721 finish_eval=$lt_finish_eval
18723 # Take the output of nm and produce a listing of raw symbols and C names.
18724 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18726 # Transform the output of nm in a proper C declaration
18727 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18729 # Transform the output of nm in a C name address pair
18730 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18732 # This is the shared library runtime path variable.
18733 runpath_var=$runpath_var
18735 # This is the shared library path variable.
18736 shlibpath_var=$shlibpath_var
18738 # Is shlibpath searched before the hard-coded library search path?
18739 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18741 # How to hardcode a shared library path into an executable.
18742 hardcode_action=$hardcode_action_GCJ
18744 # Whether we should hardcode library paths into libraries.
18745 hardcode_into_libs=$hardcode_into_libs
18747 # Flag to hardcode \$libdir into a binary during linking.
18748 # This must work even if \$libdir does not exist.
18749 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18751 # If ld is used when linking, flag to hardcode \$libdir into
18752 # a binary during linking. This must work even if \$libdir does
18754 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18756 # Whether we need a single -rpath flag with a separated argument.
18757 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18759 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18760 # resulting binary.
18761 hardcode_direct=$hardcode_direct_GCJ
18763 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18764 # resulting binary.
18765 hardcode_minus_L=$hardcode_minus_L_GCJ
18767 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18768 # the resulting binary.
18769 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18771 # Set to yes if building a shared library automatically hardcodes DIR into the library
18772 # and all subsequent libraries and executables linked against it.
18773 hardcode_automatic=$hardcode_automatic_GCJ
18775 # Variables whose values should be saved in libtool wrapper scripts and
18776 # restored at relink time.
18777 variables_saved_for_relink="$variables_saved_for_relink"
18779 # Whether libtool must link a program against all its dependency libraries.
18780 link_all_deplibs=$link_all_deplibs_GCJ
18782 # Compile-time system search path for libraries
18783 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18785 # Run-time system search path for libraries
18786 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18788 # Fix the shell variable \$srcfile for the compiler.
18789 fix_srcfile_path="$fix_srcfile_path_GCJ"
18791 # Set to yes if exported symbols are required.
18792 always_export_symbols=$always_export_symbols_GCJ
18794 # The commands to list exported symbols.
18795 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18797 # The commands to extract the exported symbol list from a shared archive.
18798 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18800 # Symbols that should not be listed in the preloaded symbols.
18801 exclude_expsyms=$lt_exclude_expsyms_GCJ
18803 # Symbols that must always be exported.
18804 include_expsyms=$lt_include_expsyms_GCJ
18806 # ### END LIBTOOL TAG CONFIG: $tagname
18812 # If there is no Makefile yet, we rely on a make rule to execute
18813 # `config.status --recheck' to rerun these tests and create the
18814 # libtool script then.
18815 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18816 if test -f "$ltmain_in"; then
18817 test -f Makefile
&& make "$ltmain"
18823 ac_cpp
='$CPP $CPPFLAGS'
18824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18838 # Source file extension for RC test sources.
18841 # Object file extension for compiled RC test sources.
18845 # Code to be used in simple compile tests
18846 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18848 # Code to be used in simple link tests
18849 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18853 # If no C compiler was specified, use CC.
18856 # If no C compiler flags were specified, use CFLAGS.
18857 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18859 # Allow CC to be a program name with arguments.
18863 # save warnings/boilerplate of simple test code
18864 ac_outfile
=conftest.
$ac_objext
18865 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18866 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18867 _lt_compiler_boilerplate
=`cat conftest.err`
18870 ac_outfile
=conftest.
$ac_objext
18871 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18872 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18873 _lt_linker_boilerplate
=`cat conftest.err`
18877 # Allow CC to be a program name with arguments.
18882 for cc_temp
in $compiler""; do
18884 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18885 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18890 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18892 lt_cv_prog_compiler_c_o_RC
=yes
18894 # The else clause should only fire when bootstrapping the
18895 # libtool distribution, otherwise you forgot to ship ltmain.sh
18896 # with your package, and you will get complaints that there are
18897 # no rules to generate ltmain.sh.
18898 if test -f "$ltmain"; then
18899 # See if we are running on zsh, and set the options which allow our commands through
18900 # without removal of \ escapes.
18901 if test -n "${ZSH_VERSION+set}" ; then
18902 setopt NO_GLOB_SUBST
18904 # Now quote all the things that may contain metacharacters while being
18905 # careful not to overquote the AC_SUBSTed values. We take copies of the
18906 # variables and quote the copies for generation of the libtool script.
18907 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18909 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18910 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18911 deplibs_check_method reload_flag reload_cmds need_locks \
18912 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18913 lt_cv_sys_global_symbol_to_c_name_address \
18914 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18915 old_postinstall_cmds old_postuninstall_cmds \
18919 lt_prog_compiler_wl_RC \
18920 lt_prog_compiler_pic_RC \
18921 lt_prog_compiler_static_RC \
18922 lt_prog_compiler_no_builtin_flag_RC \
18923 export_dynamic_flag_spec_RC \
18924 thread_safe_flag_spec_RC \
18925 whole_archive_flag_spec_RC \
18926 enable_shared_with_static_runtimes_RC \
18927 old_archive_cmds_RC \
18928 old_archive_from_new_cmds_RC \
18929 predep_objects_RC \
18930 postdep_objects_RC \
18933 compiler_lib_search_path_RC \
18935 archive_expsym_cmds_RC \
18936 postinstall_cmds_RC \
18937 postuninstall_cmds_RC \
18938 old_archive_from_expsyms_cmds_RC \
18939 allow_undefined_flag_RC \
18940 no_undefined_flag_RC \
18941 export_symbols_cmds_RC \
18942 hardcode_libdir_flag_spec_RC \
18943 hardcode_libdir_flag_spec_ld_RC \
18944 hardcode_libdir_separator_RC \
18945 hardcode_automatic_RC \
18947 module_expsym_cmds_RC \
18948 lt_cv_prog_compiler_c_o_RC \
18949 exclude_expsyms_RC \
18950 include_expsyms_RC
; do
18953 old_archive_cmds_RC | \
18954 old_archive_from_new_cmds_RC | \
18955 archive_cmds_RC | \
18956 archive_expsym_cmds_RC | \
18958 module_expsym_cmds_RC | \
18959 old_archive_from_expsyms_cmds_RC | \
18960 export_symbols_cmds_RC | \
18961 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18962 postinstall_cmds | postuninstall_cmds | \
18963 old_postinstall_cmds | old_postuninstall_cmds | \
18964 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18965 # Double-quote double-evaled strings.
18966 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18969 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18975 *'\$0 --fallback-echo"')
18976 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18982 cat <<__EOF__ >> "$cfgfile"
18983 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18985 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18987 # Shell to use when invoking shell scripts.
18990 # Whether or not to build shared libraries.
18991 build_libtool_libs=$enable_shared
18993 # Whether or not to build static libraries.
18994 build_old_libs=$enable_static
18996 # Whether or not to add -lc for building shared libraries.
18997 build_libtool_need_lc=$archive_cmds_need_lc_RC
18999 # Whether or not to disallow shared libs when runtime libs are static
19000 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19002 # Whether or not to optimize for fast installation.
19003 fast_install=$enable_fast_install
19006 host_alias=$host_alias
19010 # The build system.
19011 build_alias=$build_alias
19015 # An echo program that does not interpret backslashes.
19020 AR_FLAGS=$lt_AR_FLAGS
19025 # LTCC compiler flags.
19026 LTCFLAGS=$lt_LTCFLAGS
19028 # A language-specific compiler.
19031 # Is the compiler the GNU C compiler?
19037 # The linker used to build libraries.
19040 # Whether we need hard or soft links.
19043 # A BSD-compatible nm program.
19046 # A symbol stripping program
19049 # Used to examine libraries when file_magic_cmd begins "file"
19050 MAGIC_CMD=$MAGIC_CMD
19052 # Used on cygwin: DLL creation program.
19055 # Used on cygwin: object dumper.
19058 # Used on cygwin: assembler.
19061 # The name of the directory that contains temporary libtool files.
19064 # How to create reloadable object files.
19065 reload_flag=$lt_reload_flag
19066 reload_cmds=$lt_reload_cmds
19068 # How to pass a linker flag through the compiler.
19069 wl=$lt_lt_prog_compiler_wl_RC
19071 # Object file suffix (normally "o").
19072 objext="$ac_objext"
19074 # Old archive suffix (normally "a").
19077 # Shared library suffix (normally ".so").
19078 shrext_cmds='$shrext_cmds'
19080 # Executable file suffix (normally "").
19083 # Additional compiler flags for building library objects.
19084 pic_flag=$lt_lt_prog_compiler_pic_RC
19087 # What is the maximum length of a command?
19088 max_cmd_len=$lt_cv_sys_max_cmd_len
19090 # Does compiler simultaneously support -c and -o options?
19091 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19093 # Must we lock files when doing compilation?
19094 need_locks=$lt_need_locks
19096 # Do we need the lib prefix for modules?
19097 need_lib_prefix=$need_lib_prefix
19099 # Do we need a version for libraries?
19100 need_version=$need_version
19102 # Whether dlopen is supported.
19103 dlopen_support=$enable_dlopen
19105 # Whether dlopen of programs is supported.
19106 dlopen_self=$enable_dlopen_self
19108 # Whether dlopen of statically linked programs is supported.
19109 dlopen_self_static=$enable_dlopen_self_static
19111 # Compiler flag to prevent dynamic linking.
19112 link_static_flag=$lt_lt_prog_compiler_static_RC
19114 # Compiler flag to turn off builtin functions.
19115 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19117 # Compiler flag to allow reflexive dlopens.
19118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19120 # Compiler flag to generate shared objects directly from archives.
19121 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19123 # Compiler flag to generate thread-safe objects.
19124 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19126 # Library versioning type.
19127 version_type=$version_type
19129 # Format of library name prefix.
19130 libname_spec=$lt_libname_spec
19132 # List of archive names. First name is the real one, the rest are links.
19133 # The last name is the one that the linker finds with -lNAME.
19134 library_names_spec=$lt_library_names_spec
19136 # The coded name of the library, if different from the real name.
19137 soname_spec=$lt_soname_spec
19139 # Commands used to build and install an old-style archive.
19141 old_archive_cmds=$lt_old_archive_cmds_RC
19142 old_postinstall_cmds=$lt_old_postinstall_cmds
19143 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19145 # Create an old-style archive from a shared archive.
19146 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19148 # Create a temporary old-style archive to link instead of a shared archive.
19149 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19151 # Commands used to build and install a shared archive.
19152 archive_cmds=$lt_archive_cmds_RC
19153 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19154 postinstall_cmds=$lt_postinstall_cmds
19155 postuninstall_cmds=$lt_postuninstall_cmds
19157 # Commands used to build a loadable module (assumed same as above if empty)
19158 module_cmds=$lt_module_cmds_RC
19159 module_expsym_cmds=$lt_module_expsym_cmds_RC
19161 # Commands to strip libraries.
19162 old_striplib=$lt_old_striplib
19163 striplib=$lt_striplib
19165 # Dependencies to place before the objects being linked to create a
19167 predep_objects=$lt_predep_objects_RC
19169 # Dependencies to place after the objects being linked to create a
19171 postdep_objects=$lt_postdep_objects_RC
19173 # Dependencies to place before the objects being linked to create a
19175 predeps=$lt_predeps_RC
19177 # Dependencies to place after the objects being linked to create a
19179 postdeps=$lt_postdeps_RC
19181 # The library search path used internally by the compiler when linking
19182 # a shared library.
19183 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19185 # Method to check whether dependent libraries are shared objects.
19186 deplibs_check_method=$lt_deplibs_check_method
19188 # Command to use when deplibs_check_method == file_magic.
19189 file_magic_cmd=$lt_file_magic_cmd
19191 # Flag that allows shared libraries with undefined symbols to be built.
19192 allow_undefined_flag=$lt_allow_undefined_flag_RC
19194 # Flag that forces no undefined symbols.
19195 no_undefined_flag=$lt_no_undefined_flag_RC
19197 # Commands used to finish a libtool library installation in a directory.
19198 finish_cmds=$lt_finish_cmds
19200 # Same as above, but a single script fragment to be evaled but not shown.
19201 finish_eval=$lt_finish_eval
19203 # Take the output of nm and produce a listing of raw symbols and C names.
19204 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19206 # Transform the output of nm in a proper C declaration
19207 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19209 # Transform the output of nm in a C name address pair
19210 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19212 # This is the shared library runtime path variable.
19213 runpath_var=$runpath_var
19215 # This is the shared library path variable.
19216 shlibpath_var=$shlibpath_var
19218 # Is shlibpath searched before the hard-coded library search path?
19219 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19221 # How to hardcode a shared library path into an executable.
19222 hardcode_action=$hardcode_action_RC
19224 # Whether we should hardcode library paths into libraries.
19225 hardcode_into_libs=$hardcode_into_libs
19227 # Flag to hardcode \$libdir into a binary during linking.
19228 # This must work even if \$libdir does not exist.
19229 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19231 # If ld is used when linking, flag to hardcode \$libdir into
19232 # a binary during linking. This must work even if \$libdir does
19234 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19236 # Whether we need a single -rpath flag with a separated argument.
19237 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19239 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19240 # resulting binary.
19241 hardcode_direct=$hardcode_direct_RC
19243 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19244 # resulting binary.
19245 hardcode_minus_L=$hardcode_minus_L_RC
19247 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19248 # the resulting binary.
19249 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19251 # Set to yes if building a shared library automatically hardcodes DIR into the library
19252 # and all subsequent libraries and executables linked against it.
19253 hardcode_automatic=$hardcode_automatic_RC
19255 # Variables whose values should be saved in libtool wrapper scripts and
19256 # restored at relink time.
19257 variables_saved_for_relink="$variables_saved_for_relink"
19259 # Whether libtool must link a program against all its dependency libraries.
19260 link_all_deplibs=$link_all_deplibs_RC
19262 # Compile-time system search path for libraries
19263 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19265 # Run-time system search path for libraries
19266 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19268 # Fix the shell variable \$srcfile for the compiler.
19269 fix_srcfile_path="$fix_srcfile_path_RC"
19271 # Set to yes if exported symbols are required.
19272 always_export_symbols=$always_export_symbols_RC
19274 # The commands to list exported symbols.
19275 export_symbols_cmds=$lt_export_symbols_cmds_RC
19277 # The commands to extract the exported symbol list from a shared archive.
19278 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19280 # Symbols that should not be listed in the preloaded symbols.
19281 exclude_expsyms=$lt_exclude_expsyms_RC
19283 # Symbols that must always be exported.
19284 include_expsyms=$lt_include_expsyms_RC
19286 # ### END LIBTOOL TAG CONFIG: $tagname
19292 # If there is no Makefile yet, we rely on a make rule to execute
19293 # `config.status --recheck' to rerun these tests and create the
19294 # libtool script then.
19295 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19296 if test -f "$ltmain_in"; then
19297 test -f Makefile
&& make "$ltmain"
19303 ac_cpp
='$CPP $CPPFLAGS'
19304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19313 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19314 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19315 { (exit 1); exit 1; }; }
19319 # Append the new tag name to the list of available tags.
19320 if test -n "$tagname" ; then
19321 available_tags
="$available_tags $tagname"
19327 # Now substitute the updated list of available tags.
19328 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19329 mv "${ofile}T" "$ofile"
19333 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19334 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19335 { (exit 1); exit 1; }; }
19341 # This can be used to rebuild libtool when needed
19342 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19344 # Always use our own libtool.
19345 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19347 # Prevent multiple expansion
19369 if test "$GCC" = yes
19371 CFLAGS
="-Wall $CFLAGS"
19374 CPPFLAGS
="$CPPFLAGS -I$srcdir/.. -I.."
19377 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19378 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19379 if test "${ac_cv_header_stdc+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <stdlib.h>
19389 #include <stdarg.h>
19390 #include <string.h>
19401 rm -f conftest.
$ac_objext
19402 if { (ac_try
="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19410 grep -v '^ *+' conftest.er1 >conftest.err
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_header_stdc=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 ac_cv_header_stdc=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 if test $ac_cv_header_stdc = yes; then
19429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
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 <string.h>
19439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19440 $EGREP "memchr" >/dev/null 2>&1; then
19443 ac_cv_header_stdc=no
19449 if test $ac_cv_header_stdc = yes; then
19450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19451 cat >conftest.$ac_ext <<_ACEOF
19454 cat confdefs.h >>conftest.$ac_ext
19455 cat >>conftest.$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457 #include <stdlib.h>
19460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19461 $EGREP "free" >/dev/null 2>&1; then
19464 ac_cv_header_stdc=no
19470 if test $ac_cv_header_stdc = yes; then
19471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19472 if test "$cross_compiling" = yes; then
19475 cat >conftest.$ac_ext <<_ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19482 #include <stdlib.h>
19483 #if ((' ' & 0x0FF) == 0x020)
19484 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19485 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19487 # define ISLOWER(c) \
19488 (('a' <= (c) && (c) <= 'i') \
19489 || ('j' <= (c) && (c) <= 'r') \
19490 || ('s' <= (c) && (c) <= 'z'))
19491 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19494 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19499 for (i = 0; i < 256; i++)
19500 if (XOR (islower (i), ISLOWER (i))
19501 || toupper (i) != TOUPPER (i))
19506 rm -f conftest$ac_exeext
19507 if { (ac_try="$ac_link"
19508 case "(($ac_try" in
19509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19510 *) ac_try_echo
=$ac_try;;
19512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19513 (eval "$ac_link") 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19517 { (case "(($ac_try" in
19518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19519 *) ac_try_echo=$ac_try;;
19521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19522 (eval "$ac_try") 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19528 echo "$as_me: program exited with status $ac_status" >&5
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 ( exit $ac_status )
19533 ac_cv_header_stdc=no
19535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19541 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19542 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19543 if test $ac_cv_header_stdc = yes; then
19545 cat >>confdefs.h <<\_ACEOF
19546 #define STDC_HEADERS 1
19552 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19553 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19554 if test "${ac_cv_c_const+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19557 cat >conftest.$ac_ext <<_ACEOF
19560 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF
19562 /* end confdefs.h. */
19567 /* FIXME: Include the comments suggested by Paul. */
19568 #ifndef __cplusplus
19569 /* Ultrix mips cc rejects this. */
19570 typedef int charset[2];
19572 /* SunOS 4.1.1 cc rejects this. */
19573 char const *const *pcpcc;
19575 /* NEC SVR4.0.2 mips cc rejects this. */
19576 struct point {int x, y;};
19577 static struct point const zero = {0,0};
19578 /* AIX XL C 1.02.0.0 rejects this.
19579 It does not let you subtract one const X* pointer from another in
19580 an arm of an if-expression whose if-part is not a constant
19582 const char *g = "string";
19583 pcpcc = &g + (g ? g-g : 0);
19584 /* HPUX 7.0 cc rejects these. */
19586 ppc = (char**) pcpcc;
19587 pcpcc = (char const *const *) ppc;
19588 { /* SCO 3.2v4 cc rejects this. */
19590 char const *s = 0 ? (char *) 0 : (char const *) 0;
19595 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19596 int x[] = {25, 17};
19597 const int *foo = &x[0];
19600 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19601 typedef const int *iptr;
19605 { /* AIX XL C 1.02.0.0 rejects this saying
19606 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19607 struct s { int j; const int *ap[3]; };
19608 struct s *b; b->j = 5;
19610 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19611 const int foo = 10;
19612 if (!foo) return 0;
19614 return !cs[0] && !zero.x;
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19625 *) ac_try_echo
=$ac_try;;
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19630 grep -v '^ *+' conftest.er1
>conftest.err
19632 cat conftest.err
>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.
$ac_objext; then
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19648 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19649 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19650 if test $ac_cv_c_const = no
; then
19652 cat >>confdefs.h
<<\_ACEOF
19658 { echo "$as_me:$LINENO: checking for size_t" >&5
19659 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19660 if test "${ac_cv_type_size_t+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 cat >conftest.
$ac_ext <<_ACEOF
19666 cat confdefs.h
>>conftest.
$ac_ext
19667 cat >>conftest.
$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19669 $ac_includes_default
19670 typedef size_t ac__type_new_;
19674 if ((ac__type_new_ *) 0)
19676 if (sizeof (ac__type_new_))
19682 rm -f conftest.
$ac_objext
19683 if { (ac_try
="$ac_compile"
19684 case "(($ac_try" in
19685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_compile") 2>conftest.er1
19691 grep -v '^ *+' conftest.er1 >conftest.err
19693 cat conftest.err >&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest.$ac_objext; then
19699 ac_cv_type_size_t=yes
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.$ac_ext >&5
19704 ac_cv_type_size_t=no
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19709 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19710 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19711 if test $ac_cv_type_size_t = yes; then
19715 cat >>confdefs.h <<_ACEOF
19716 #define size_t unsigned int
19729 if test -d ${srcdir}/../md5
19731 TESTPROGS="$TESTPROGS md5hmactest${EXEEXT}"
19732 hmac_list="$hmac_list &hmac_md5,"
19733 hashlibs="$hashlibs ../md5/libmd5.la"
19736 if test -d ${srcdir}/../sha1
19738 TESTPROGS="$TESTPROGS sha1hmactest${EXEEXT}"
19739 hmac_list="$hmac_list &hmac_sha1, &hmac_sha256, "
19740 hashlibs="$hashlibs ../sha1/libsha1.la"
19744 hmac_list="$hmac_list 0"
19748 cat >>confdefs.h <<_ACEOF
19749 #define HMAC_LIST $hmac_list
19753 ac_config_files="$ac_config_files Makefile"
19755 cat >confcache <<\_ACEOF
19756 # This file is a shell script that caches the results of configure
19757 # tests run on this system so they can be shared between configure
19758 # scripts and configure runs, see configure's option --config-cache.
19759 # It is not useful on other systems. If it contains results you don't
19760 # want to keep, you may remove or edit it.
19762 # config.status only pays attention to the cache file if you give it
19763 # the --recheck option to rerun configure.
19765 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19767 # following values.
19771 # The following way of writing the cache mishandles newlines in values,
19772 # but we know of no workaround that is simple, portable, and efficient.
19773 # So, we kill variables containing newlines.
19774 # Ultrix sh set writes to stderr and can't be redirected directly,
19775 # and sets the high bit in the cache file unless we assign to the vars.
19777 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19778 eval ac_val
=\$
$ac_var
19782 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19783 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19786 _ | IFS | as_nl
) ;; #(
19787 *) $as_unset $ac_var ;;
19793 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19794 *${as_nl}ac_space
=\
*)
19795 # `set' does not quote correctly, so add quotes (double-quote
19796 # substitution turns \\\\ into \\, and sed turns \\ into \).
19799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19802 # `set' quotes correctly as required by POSIX, so do not add quotes.
19803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19814 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19816 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19817 if test -w "$cache_file"; then
19818 test "x$cache_file" != "x/dev/null" &&
19819 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19820 echo "$as_me: updating cache $cache_file" >&6;}
19821 cat confcache
>$cache_file
19823 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19824 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19829 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19830 # Let make expand exec_prefix.
19831 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19833 DEFS
=-DHAVE_CONFIG_H
19837 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19838 # 1. Remove the extension, and $U if already installed.
19839 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19840 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19842 # will be set to the directory where LIBOBJS objects are built.
19843 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19844 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19846 LIBOBJS
=$ac_libobjs
19848 LTLIBOBJS
=$ac_ltlibobjs
19851 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19852 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19853 Usually this means the macro was only invoked conditionally." >&5
19854 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19855 Usually this means the macro was only invoked conditionally." >&2;}
19856 { (exit 1); exit 1; }; }
19858 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19859 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19860 Usually this means the macro was only invoked conditionally." >&5
19861 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19862 Usually this means the macro was only invoked conditionally." >&2;}
19863 { (exit 1); exit 1; }; }
19865 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19866 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19867 Usually this means the macro was only invoked conditionally." >&5
19868 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19869 Usually this means the macro was only invoked conditionally." >&2;}
19870 { (exit 1); exit 1; }; }
19873 : ${CONFIG_STATUS=./config.status}
19874 ac_clean_files_save
=$ac_clean_files
19875 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19876 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19877 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19878 cat >$CONFIG_STATUS <<_ACEOF
19880 # Generated by $as_me.
19881 # Run this file to recreate the current configuration.
19882 # Compiler output produced by configure, useful for debugging
19883 # configure, is in config.log if it exists.
19886 ac_cs_recheck=false
19888 SHELL=\${CONFIG_SHELL-$SHELL}
19891 cat >>$CONFIG_STATUS <<\_ACEOF
19892 ## --------------------- ##
19893 ## M4sh Initialization. ##
19894 ## --------------------- ##
19896 # Be more Bourne compatible
19897 DUALCASE
=1; export DUALCASE
# for MKS sh
19898 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19901 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19902 # is contrary to our usage. Disable this feature.
19903 alias -g '${1+"$@"}'='"$@"'
19904 setopt NO_GLOB_SUBST
19906 case `(set -o) 2>/dev/null` in
19907 *posix
*) set -o posix
;;
19916 # Avoid depending upon Character Ranges.
19917 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19918 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19919 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19920 as_cr_digits
='0123456789'
19921 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19923 # The user is always right.
19924 if test "${PATH_SEPARATOR+set}" != set; then
19925 echo "#! /bin/sh" >conf$$.sh
19926 echo "exit 0" >>conf$$.sh
19928 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19936 # Support unset when possible.
19937 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19945 # We need space, tab and new line, in precisely that order. Quoting is
19946 # there to prevent editors from complaining about space-tab.
19947 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19948 # splitting by setting IFS to empty value.)
19953 # Find who we are. Look in the path if we contain no directory separator.
19955 *[\\/]* ) as_myself
=$0 ;;
19956 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19957 for as_dir
in $PATH
19960 test -z "$as_dir" && as_dir
=.
19961 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19967 # We did not find ourselves, most probably we were run as `sh COMMAND'
19968 # in which case we are not to be found in the path.
19969 if test "x$as_myself" = x
; then
19972 if test ! -f "$as_myself"; then
19973 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19974 { (exit 1); exit 1; }
19977 # Work around bugs in pre-3.0 UWIN ksh.
19978 for as_var
in ENV MAIL MAILPATH
19979 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19987 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19988 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19989 LC_TELEPHONE LC_TIME
19991 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19992 eval $as_var=C
; export $as_var
19994 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19998 # Required to use basename.
19999 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20000 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20006 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20007 as_basename
=basename
20013 # Name of the executable.
20014 as_me
=`$as_basename -- "$0" ||
20015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20016 X"$0" : 'X\(//\)$' \| \
20017 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20019 sed '/^.*\/\([^/][^/]*\)\/*$/{
20038 as_lineno_1
=$LINENO
20039 as_lineno_2
=$LINENO
20040 test "x$as_lineno_1" != "x$as_lineno_2" &&
20041 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20043 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20044 # uniformly replaced by the line number. The first 'sed' inserts a
20045 # line-number line after each line using $LINENO; the second 'sed'
20046 # does the real work. The second script uses 'N' to pair each
20047 # line-number line with the line containing $LINENO, and appends
20048 # trailing '-' during substitution so that $LINENO is not a special
20049 # case at line end.
20050 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20051 # scripts with optimization help from Paolo Bonzini. Blame Lee
20052 # E. McMahon (1931-1989) for sed's syntax. :-)
20064 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20067 ' >$as_me.lineno
&&
20068 chmod +x
"$as_me.lineno" ||
20069 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20070 { (exit 1); exit 1; }; }
20072 # Don't try to exec as it changes $[0], causing all sort of problems
20073 # (the dirname of $[0] is not the place where we might find the
20074 # original and so on. Autoconf is especially sensitive to this).
20075 .
"./$as_me.lineno"
20076 # Exit status is that of the last command.
20081 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20087 ECHO_C
= ECHO_N
= ECHO_T
=
20088 case `echo -n x` in
20090 case `echo 'x\c'` in
20091 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20098 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20099 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20105 rm -f conf$$ conf$$.exe conf$$.
file
20106 if test -d conf$$.dir
; then
20107 rm -f conf$$.dir
/conf$$.
file
20113 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20115 # ... but there are two gotchas:
20116 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20117 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20118 # In both cases, we have to default to `cp -p'.
20119 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20121 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20126 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20127 rmdir conf$$.dir
2>/dev
/null
20129 if mkdir
-p .
2>/dev
/null
; then
20132 test -d .
/-p && rmdir .
/-p
20136 if test -x / >/dev
/null
2>&1; then
20137 as_test_x
='test -x'
20139 if ls -dL / >/dev
/null
2>&1; then
20146 if test -d "$1"; then
20152 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20153 ???[sx]*):;;*)false;;esac;fi
20157 as_executable_p
=$as_test_x
20159 # Sed expression to map a string onto a valid CPP name.
20160 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20162 # Sed expression to map a string onto a valid variable name.
20163 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20168 # Save the log message, to keep $[0] and so on meaningful, and to
20169 # report actual input values of CONFIG_FILES etc. instead of their
20170 # values after options handling.
20172 This file was extended by libhmac $as_me 1.00, which was
20173 generated by GNU Autoconf 2.61. Invocation command line was
20175 CONFIG_FILES = $CONFIG_FILES
20176 CONFIG_HEADERS = $CONFIG_HEADERS
20177 CONFIG_LINKS = $CONFIG_LINKS
20178 CONFIG_COMMANDS = $CONFIG_COMMANDS
20181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20186 cat >>$CONFIG_STATUS <<_ACEOF
20187 # Files that config.status was made for.
20188 config_files="$ac_config_files"
20189 config_headers="$ac_config_headers"
20190 config_commands="$ac_config_commands"
20194 cat >>$CONFIG_STATUS <<\_ACEOF
20196 \`$as_me' instantiates files from templates according to the
20197 current configuration.
20199 Usage: $0 [OPTIONS] [FILE]...
20201 -h, --help print this help, then exit
20202 -V, --version print version number and configuration settings, then exit
20203 -q, --quiet do not print progress messages
20204 -d, --debug don't remove temporary files
20205 --recheck update $as_me by reconfiguring in the same conditions
20206 --file=FILE[:TEMPLATE]
20207 instantiate the configuration file FILE
20208 --header=FILE[:TEMPLATE]
20209 instantiate the configuration header FILE
20211 Configuration files:
20214 Configuration headers:
20217 Configuration commands:
20220 Report bugs to <bug-autoconf@gnu.org>."
20223 cat >>$CONFIG_STATUS <<_ACEOF
20225 libhmac config.status 1.00
20226 configured by $0, generated by GNU Autoconf 2.61,
20227 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20229 Copyright (C) 2006 Free Software Foundation, Inc.
20230 This config.status script is free software; the Free Software Foundation
20231 gives unlimited permission to copy, distribute and modify it."
20239 cat >>$CONFIG_STATUS <<\_ACEOF
20240 # If no file are specified by the user, then we need to provide default
20241 # value. By we need to know if files were specified by the user.
20247 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20248 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20259 # Handling of the options.
20260 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20262 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20263 echo "$ac_cs_version"; exit ;;
20264 --debug |
--debu |
--deb |
--de |
--d |
-d )
20266 --file |
--fil |
--fi |
--f )
20268 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20269 ac_need_defaults
=false
;;
20270 --header |
--heade |
--head |
--hea )
20272 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20273 ac_need_defaults
=false
;;
20275 # Conflict between --help and --header
20276 { echo "$as_me: error: ambiguous option: $1
20277 Try \`$0 --help' for more information." >&2
20278 { (exit 1); exit 1; }; };;
20279 --help |
--hel |
-h )
20280 echo "$ac_cs_usage"; exit ;;
20281 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20282 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20285 # This is an error.
20286 -*) { echo "$as_me: error: unrecognized option: $1
20287 Try \`$0 --help' for more information." >&2
20288 { (exit 1); exit 1; }; } ;;
20290 *) ac_config_targets
="$ac_config_targets $1"
20291 ac_need_defaults
=false
;;
20297 ac_configure_extra_args
=
20299 if $ac_cs_silent; then
20301 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20305 cat >>$CONFIG_STATUS <<_ACEOF
20306 if \$ac_cs_recheck; then
20307 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20308 CONFIG_SHELL=$SHELL
20309 export CONFIG_SHELL
20310 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20314 cat >>$CONFIG_STATUS <<\_ACEOF
20318 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20319 ## Running $as_me. ##
20325 cat >>$CONFIG_STATUS <<_ACEOF
20329 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20333 cat >>$CONFIG_STATUS <<\_ACEOF
20335 # Handling of arguments.
20336 for ac_config_target
in $ac_config_targets
20338 case $ac_config_target in
20339 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20340 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20341 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20343 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20344 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20345 { (exit 1); exit 1; }; };;
20350 # If the user did not use the arguments to specify the items to instantiate,
20351 # then the envvar interface is used. Set only those that are not.
20352 # We use the long form for the default assignment because of an extremely
20353 # bizarre bug on SunOS 4.1.3.
20354 if $ac_need_defaults; then
20355 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20356 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20360 # Have a temporary directory for convenience. Make it in the build tree
20361 # simply because there is no reason against having it here, and in addition,
20362 # creating and moving files from /tmp can sometimes cause problems.
20363 # Hook for its removal unless debugging.
20364 # Note that there is a small window in which the directory will not be cleaned:
20365 # after its creation but before its name has been assigned to `$tmp'.
20369 trap 'exit_status=$?
20370 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20372 trap '{ (exit 1); exit 1; }' 1 2 13 15
20374 # Create a (secure) tmp directory for tmp files.
20377 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20378 test -n "$tmp" && test -d "$tmp"
20381 tmp
=.
/conf$$
-$RANDOM
20382 (umask 077 && mkdir
"$tmp")
20385 echo "$me: cannot create a temporary directory in ." >&2
20386 { (exit 1); exit 1; }
20390 # Set up the sed scripts for CONFIG_FILES section.
20393 # No need to generate the scripts if there are no CONFIG_FILES.
20394 # This happens for instance when ./config.status config.h
20395 if test -n "$CONFIG_FILES"; then
20402 for ac_last_try
in false false false false false
:; do
20403 cat >conf$
$subs.
sed <<_ACEOF
20404 SHELL!$SHELL$ac_delim
20405 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20406 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20407 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20408 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20409 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20410 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20411 exec_prefix!$exec_prefix$ac_delim
20412 prefix!$prefix$ac_delim
20413 program_transform_name!$program_transform_name$ac_delim
20414 bindir!$bindir$ac_delim
20415 sbindir!$sbindir$ac_delim
20416 libexecdir!$libexecdir$ac_delim
20417 datarootdir!$datarootdir$ac_delim
20418 datadir!$datadir$ac_delim
20419 sysconfdir!$sysconfdir$ac_delim
20420 sharedstatedir!$sharedstatedir$ac_delim
20421 localstatedir!$localstatedir$ac_delim
20422 includedir!$includedir$ac_delim
20423 oldincludedir!$oldincludedir$ac_delim
20424 docdir!$docdir$ac_delim
20425 infodir!$infodir$ac_delim
20426 htmldir!$htmldir$ac_delim
20427 dvidir!$dvidir$ac_delim
20428 pdfdir!$pdfdir$ac_delim
20429 psdir!$psdir$ac_delim
20430 libdir!$libdir$ac_delim
20431 localedir!$localedir$ac_delim
20432 mandir!$mandir$ac_delim
20433 DEFS!$DEFS$ac_delim
20434 ECHO_C!$ECHO_C$ac_delim
20435 ECHO_N!$ECHO_N$ac_delim
20436 ECHO_T!$ECHO_T$ac_delim
20437 LIBS!$LIBS$ac_delim
20438 build_alias!$build_alias$ac_delim
20439 host_alias!$host_alias$ac_delim
20440 target_alias!$target_alias$ac_delim
20441 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20442 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20443 INSTALL_DATA!$INSTALL_DATA$ac_delim
20444 am__isrc!$am__isrc$ac_delim
20445 CYGPATH_W!$CYGPATH_W$ac_delim
20446 PACKAGE!$PACKAGE$ac_delim
20447 VERSION!$VERSION$ac_delim
20448 ACLOCAL!$ACLOCAL$ac_delim
20449 AUTOCONF!$AUTOCONF$ac_delim
20450 AUTOMAKE!$AUTOMAKE$ac_delim
20451 AUTOHEADER!$AUTOHEADER$ac_delim
20452 MAKEINFO!$MAKEINFO$ac_delim
20453 install_sh!$install_sh$ac_delim
20454 STRIP!$STRIP$ac_delim
20455 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20456 mkdir_p!$mkdir_p$ac_delim
20458 SET_MAKE!$SET_MAKE$ac_delim
20459 am__leading_dot!$am__leading_dot$ac_delim
20460 AMTAR!$AMTAR$ac_delim
20461 am__tar!$am__tar$ac_delim
20462 am__untar!$am__untar$ac_delim
20463 LN_S!$LN_S$ac_delim
20465 CFLAGS!$CFLAGS$ac_delim
20466 LDFLAGS!$LDFLAGS$ac_delim
20467 CPPFLAGS!$CPPFLAGS$ac_delim
20468 ac_ct_CC!$ac_ct_CC$ac_delim
20469 EXEEXT!$EXEEXT$ac_delim
20470 OBJEXT!$OBJEXT$ac_delim
20471 DEPDIR!$DEPDIR$ac_delim
20472 am__include!$am__include$ac_delim
20473 am__quote!$am__quote$ac_delim
20474 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20475 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20476 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20477 CCDEPMODE!$CCDEPMODE$ac_delim
20478 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20479 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20480 build!$build$ac_delim
20481 build_cpu!$build_cpu$ac_delim
20482 build_vendor!$build_vendor$ac_delim
20483 build_os!$build_os$ac_delim
20484 host!$host$ac_delim
20485 host_cpu!$host_cpu$ac_delim
20486 host_vendor!$host_vendor$ac_delim
20487 host_os!$host_os$ac_delim
20489 GREP!$GREP$ac_delim
20490 EGREP!$EGREP$ac_delim
20491 ECHO!$ECHO$ac_delim
20493 RANLIB!$RANLIB$ac_delim
20496 CXXFLAGS!$CXXFLAGS$ac_delim
20497 ac_ct_CXX!$ac_ct_CXX$ac_delim
20498 CXXDEPMODE!$CXXDEPMODE$ac_delim
20499 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20500 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20503 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20505 elif $ac_last_try; then
20506 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20507 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20508 { (exit 1); exit 1; }; }
20510 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20514 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20515 if test -n "$ac_eof"; then
20516 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20517 ac_eof
=`expr $ac_eof + 1`
20520 cat >>$CONFIG_STATUS <<_ACEOF
20521 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20522 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20525 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20526 s/^/s,@/; s/!/@,|#_!!_#|/
20529 s/'"$ac_delim"'$/,g/; t
20531 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20532 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20533 rm -f conf$
$subs.
sed
20534 cat >>$CONFIG_STATUS <<_ACEOF
20540 for ac_last_try
in false false false false false
:; do
20541 cat >conf$
$subs.
sed <<_ACEOF
20542 CXXCPP!$CXXCPP$ac_delim
20544 FFLAGS!$FFLAGS$ac_delim
20545 ac_ct_F77!$ac_ct_F77$ac_delim
20546 LIBTOOL!$LIBTOOL$ac_delim
20547 hashlibs!$hashlibs$ac_delim
20548 TESTPROGS!$TESTPROGS$ac_delim
20549 LIBOBJS!$LIBOBJS$ac_delim
20550 LTLIBOBJS!$LTLIBOBJS$ac_delim
20553 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
20555 elif $ac_last_try; then
20556 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20557 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20558 { (exit 1); exit 1; }; }
20560 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20564 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20565 if test -n "$ac_eof"; then
20566 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20567 ac_eof
=`expr $ac_eof + 1`
20570 cat >>$CONFIG_STATUS <<_ACEOF
20571 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20575 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20576 s/^/s,@/; s/!/@,|#_!!_#|/
20579 s/'"$ac_delim"'$/,g/; t
20581 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20582 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20583 rm -f conf$
$subs.
sed
20584 cat >>$CONFIG_STATUS <<_ACEOF
20591 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20592 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20593 # trailing colons and then remove the whole line if VPATH becomes empty
20594 # (actually we leave an empty line to preserve line numbers).
20595 if test "x$srcdir" = x.
; then
20596 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20597 s/:*\$(srcdir):*/:/
20598 s/:*\${srcdir}:*/:/
20600 s/^\([^=]*=[ ]*\):*/\1/
20606 cat >>$CONFIG_STATUS <<\_ACEOF
20607 fi # test -n "$CONFIG_FILES"
20610 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20613 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20615 case $ac_mode$ac_tag in
20617 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20618 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20619 { (exit 1); exit 1; }; };;
20620 :[FH
]-) ac_tag
=-:-;;
20621 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20638 -) ac_f
="$tmp/stdin";;
20639 *) # Look for the file first in the build tree, then in the source tree
20640 # (if the path is not absolute). The absolute path cannot be DOS-style,
20641 # because $ac_f cannot contain `:'.
20645 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20647 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20648 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20649 { (exit 1); exit 1; }; };;
20651 ac_file_inputs
="$ac_file_inputs $ac_f"
20654 # Let's still pretend it is `configure' which instantiates (i.e., don't
20655 # use $as_me), people would be surprised to read:
20656 # /* config.h. Generated by config.status. */
20657 configure_input
="Generated from "`IFS=:
20658 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20659 if test x
"$ac_file" != x-
; then
20660 configure_input
="$ac_file. $configure_input"
20661 { echo "$as_me:$LINENO: creating $ac_file" >&5
20662 echo "$as_me: creating $ac_file" >&6;}
20666 *:-:* |
*:-) cat >"$tmp/stdin";;
20671 ac_dir
=`$as_dirname -- "$ac_file" ||
20672 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20673 X"$ac_file" : 'X\(//\)[^/]' \| \
20674 X"$ac_file" : 'X\(//\)$' \| \
20675 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20681 /^X\(\/\/\)[^/].*/{
20696 -*) as_dir
=.
/$as_dir;;
20698 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20702 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20703 *) as_qdir
=$as_dir;;
20705 as_dirs
="'$as_qdir' $as_dirs"
20706 as_dir
=`$as_dirname -- "$as_dir" ||
20707 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20708 X"$as_dir" : 'X\(//\)[^/]' \| \
20709 X"$as_dir" : 'X\(//\)$' \| \
20710 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20716 /^X\(\/\/\)[^/].*/{
20729 test -d "$as_dir" && break
20731 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20732 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20733 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20734 { (exit 1); exit 1; }; }; }
20738 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20740 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20741 # A ".." for each directory in $ac_dir_suffix.
20742 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20743 case $ac_top_builddir_sub in
20744 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20745 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20748 ac_abs_top_builddir
=$ac_pwd
20749 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20750 # for backward compatibility:
20751 ac_top_builddir
=$ac_top_build_prefix
20754 .
) # We are building in place.
20756 ac_top_srcdir
=$ac_top_builddir_sub
20757 ac_abs_top_srcdir
=$ac_pwd ;;
20758 [\\/]* | ?
:[\\/]* ) # Absolute name.
20759 ac_srcdir
=$srcdir$ac_dir_suffix;
20760 ac_top_srcdir
=$srcdir
20761 ac_abs_top_srcdir
=$srcdir ;;
20762 *) # Relative name.
20763 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20764 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20765 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20767 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20777 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20778 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20780 ac_MKDIR_P
=$MKDIR_P
20782 [\\/$
]* | ?
:[\\/]* ) ;;
20783 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20787 cat >>$CONFIG_STATUS <<\_ACEOF
20788 # If the template does not know about datarootdir, expand it.
20789 # FIXME: This hack should be removed a few years after 2.60.
20790 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20792 case `sed -n '/datarootdir/ {
20801 ' $ac_file_inputs` in
20802 *datarootdir
*) ac_datarootdir_seen
=yes;;
20803 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20804 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20805 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20807 cat >>$CONFIG_STATUS <<_ACEOF
20808 ac_datarootdir_hack='
20809 s&@datadir@&$datadir&g
20810 s&@docdir@&$docdir&g
20811 s&@infodir@&$infodir&g
20812 s&@localedir@&$localedir&g
20813 s&@mandir@&$mandir&g
20814 s&\\\${datarootdir}&$datarootdir&g' ;;
20818 # Neutralize VPATH when `$srcdir' = `.'.
20819 # Shell code in configure.ac might set extrasub.
20820 # FIXME: do we really want to maintain this feature?
20821 cat >>$CONFIG_STATUS <<_ACEOF
20825 cat >>$CONFIG_STATUS <<\_ACEOF
20827 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20828 s
&@configure_input@
&$configure_input&;t t
20829 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20830 s
&@srcdir@
&$ac_srcdir&;t t
20831 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20832 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20833 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20834 s
&@builddir@
&$ac_builddir&;t t
20835 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20836 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20837 s
&@INSTALL@
&$ac_INSTALL&;t t
20838 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20839 $ac_datarootdir_hack
20840 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20843 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20845 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20846 which seems to be undefined. Please make sure it is defined." >&5
20847 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20848 which seems to be undefined. Please make sure it is defined." >&2;}
20852 -) cat "$tmp/out"; rm -f "$tmp/out";;
20853 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20862 # Transform confdefs.h into a sed script `conftest.defines', that
20863 # substitutes the proper values into config.h.in to produce config.h.
20864 rm -f conftest.defines conftest.
tail
20865 # First, append a space to every undef/define line, to ease matching.
20866 echo 's/$/ /' >conftest.defines
20867 # Then, protect against being on the right side of a sed subst, or in
20868 # an unquoted here document, in config.status. If some macros were
20869 # called several times there might be several #defines for the same
20870 # symbol, which is useless. But do not sort them, since the last
20871 # AC_DEFINE must be honored.
20872 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20873 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20874 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20875 # PARAMS is the parameter list in the macro definition--in most cases, it's
20876 # just an empty string.
20877 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20878 ac_dB
='\\)[ (].*,\\1define\\2'
20886 s/^[ ]*#[ ]*define[ ][ ]*//
20891 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20892 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20893 ' >>conftest.defines
20895 # Remove the space that was appended to ease matching.
20896 # Then replace #undef with comments. This is necessary, for
20897 # example, in the case of _POSIX_SOURCE, which is predefined and required
20898 # on some systems where configure will not decide to define it.
20899 # (The regexp can be short, since the line contains either #define or #undef.)
20901 s,^[ #]*u.*,/* & */,' >>conftest.defines
20903 # Break up conftest.defines:
20904 ac_max_sed_lines
=50
20906 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20907 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20908 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20910 ac_in
='$ac_file_inputs'
20911 ac_out
='"$tmp/out1"'
20912 ac_nxt
='"$tmp/out2"'
20916 # Write a here document:
20917 cat >>$CONFIG_STATUS <<_ACEOF
20918 # First, check the format of the line:
20919 cat >"\$tmp/defines.sed" <<\\CEOF
20920 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20921 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20925 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
20927 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20928 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
20929 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
20930 grep . conftest.
tail >/dev
/null ||
break
20931 rm -f conftest.defines
20932 mv conftest.
tail conftest.defines
20934 rm -f conftest.defines conftest.
tail
20936 echo "ac_result=$ac_in" >>$CONFIG_STATUS
20937 cat >>$CONFIG_STATUS <<\_ACEOF
20938 if test x
"$ac_file" != x-
; then
20939 echo "/* $configure_input */" >"$tmp/config.h"
20940 cat "$ac_result" >>"$tmp/config.h"
20941 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
20942 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20943 echo "$as_me: $ac_file is unchanged" >&6;}
20946 mv "$tmp/config.h" $ac_file
20949 echo "/* $configure_input */"
20953 # Compute $ac_file's index in $config_headers.
20955 for _am_header
in $config_headers :; do
20956 case $_am_header in
20957 $ac_file |
$ac_file:* )
20960 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20963 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
20964 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20965 X$ac_file : 'X\(//\)[^/]' \| \
20966 X$ac_file : 'X\(//\)$' \| \
20967 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20973 /^X\(\/\/\)[^/].*/{
20985 s/.*/./; q'`/stamp-h
$_am_stamp_count
20988 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20989 echo "$as_me: executing $ac_file commands" >&6;}
20994 case $ac_file$ac_mode in
20995 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20996 # Strip MF so we end up with the name of the file.
20997 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20998 # Check whether this is an Automake generated Makefile or not.
20999 # We used to match only the files named `Makefile.in', but
21000 # some people rename them; so instead we look at the file content.
21001 # Grep'ing the first line is not enough: some people post-process
21002 # each Makefile.in and add a new line on top of each file to say so.
21003 # Grep'ing the whole file is not good either: AIX grep has a line
21004 # limit of 2048, but all sed's we know have understand at least 4000.
21005 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21006 dirpart
=`$as_dirname -- "$mf" ||
21007 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21008 X"$mf" : 'X\(//\)[^/]' \| \
21009 X"$mf" : 'X\(//\)$' \| \
21010 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21016 /^X\(\/\/\)[^/].*/{
21032 # Extract the definition of DEPDIR, am__include, and am__quote
21033 # from the Makefile without running `make'.
21034 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21035 test -z "$DEPDIR" && continue
21036 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21037 test -z "am__include" && continue
21038 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21039 # When using ansi2knr, U may be empty or an underscore; expand it
21040 U
=`sed -n 's/^U = //p' < "$mf"`
21041 # Find all dependency output files, they are included files with
21042 # $(DEPDIR) in their names. We invoke sed twice because it is the
21043 # simplest approach to changing $(DEPDIR) to its actual value in the
21045 for file in `sed -n "
21046 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21047 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21048 # Make sure the directory exists.
21049 test -f "$dirpart/$file" && continue
21050 fdir
=`$as_dirname -- "$file" ||
21051 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21052 X"$file" : 'X\(//\)[^/]' \| \
21053 X"$file" : 'X\(//\)$' \| \
21054 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21060 /^X\(\/\/\)[^/].*/{
21073 { as_dir
=$dirpart/$fdir
21075 -*) as_dir
=.
/$as_dir;;
21077 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21081 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21082 *) as_qdir
=$as_dir;;
21084 as_dirs
="'$as_qdir' $as_dirs"
21085 as_dir
=`$as_dirname -- "$as_dir" ||
21086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21087 X"$as_dir" : 'X\(//\)[^/]' \| \
21088 X"$as_dir" : 'X\(//\)$' \| \
21089 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21095 /^X\(\/\/\)[^/].*/{
21108 test -d "$as_dir" && break
21110 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21111 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21112 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21113 { (exit 1); exit 1; }; }; }
21114 # echo "creating $dirpart/$file"
21115 echo '# dummy' > "$dirpart/$file"
21124 { (exit 0); exit 0; }
21126 chmod +x
$CONFIG_STATUS
21127 ac_clean_files
=$ac_clean_files_save
21130 # configure is writing to config.log, and then calls config.status.
21131 # config.status does its own redirection, appending to config.log.
21132 # Unfortunately, on DOS this fails, as config.log is still kept open
21133 # by configure, so config.status won't be able to write to it; its
21134 # output is simply discarded. So we exec the FD to /dev/null,
21135 # effectively closing config.log, so it can be properly (re)opened and
21136 # appended to by config.status. When coming back to configure, we
21137 # need to make the FD available again.
21138 if test "$no_create" != yes; then
21140 ac_config_status_args
=
21141 test "$silent" = yes &&
21142 ac_config_status_args
="$ac_config_status_args --quiet"
21144 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21146 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21147 # would make configure fail if this is the last instruction.
21148 $ac_cs_success ||
{ (exit 1); exit 1; }