2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libsha1 1.21.
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
='libsha1'
730 PACKAGE_TARNAME
='libsha1'
731 PACKAGE_VERSION
='1.21'
732 PACKAGE_STRING
='libsha1 1.21'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="hmac.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
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 libsha1 1.21 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/libsha1]
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 libsha1 1.21:";;
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
]
1488 --with-int32='type' use
'type' for an unsigned
32 bit integer
type
1489 ( default is
'unsigned')
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1500 CXX C
++ compiler
command
1501 CXXFLAGS C
++ compiler flags
1502 CXXCPP C
++ preprocessor
1503 F77 Fortran
77 compiler
command
1504 FFLAGS Fortran
77 compiler flags
1506 Use these variables to override the choices made by
`configure' or to help
1507 it to find libraries and programs with nonstandard names/locations.
1509 Report bugs to <courier-users@lists.sourceforge.net>.
1514 if test "$ac_init_help" = "recursive"; then
1515 # If there are subdirs, report their specific --help.
1516 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1517 test -d "$ac_dir" || continue
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 libsha1 configure 1.21
1571 generated by GNU Autoconf 2.61
1573 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1574 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1580 cat >config.log <<_ACEOF
1581 This file contains any messages produced by compilers while
1582 running configure, to aid debugging if configure makes a mistake.
1584 It was created by libsha1 $as_me 1.21, which was
1585 generated by GNU Autoconf 2.61. Invocation command line was
1597 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1598 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1599 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1600 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1601 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1604 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1606 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1608 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1610 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1612 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 echo "PATH: $as_dir"
1637 # Keep a trace of the command line.
1638 # Strip out --no-create and --no-recursion so they do not pile up.
1639 # Strip out --silent because we don't want to record it for future runs.
1640 # Also quote any args containing shell meta-characters.
1641 # Make two passes to allow for proper duplicate-argument suppression.
1645 ac_must_keep_next=false
1651 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1653 | -silent | --silent | --silen | --sile | --sil)
1656 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1659 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1661 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1662 if test $ac_must_keep_next = true; then
1663 ac_must_keep_next=false # Got value, back to normal.
1666 *=* | --config-cache | -C | -disable-* | --disable-* \
1667 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1668 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1669 | -with-* | --with-* | -without-* | --without-* | --x)
1670 case "$ac_configure_args0 " in
1671 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1674 -* ) ac_must_keep_next=true ;;
1677 ac_configure_args="$ac_configure_args '$ac_arg'"
1682 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1683 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1685 # When interrupted or exit'd, cleanup temporary files, and complete
1686 # config.log. We remove comments because anyway the quotes in there
1687 # would cause problems or look ugly.
1688 # WARNING: Use '\'' to represent an apostrophe within the trap.
1689 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1690 trap 'exit_status=$?
1691 # Save into config.log some information that might help in debugging.
1696 ## ---------------- ##
1697 ## Cache variables. ##
1698 ## ---------------- ##
1701 # The following way of writing the cache mishandles newlines in values,
1703 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1704 eval ac_val=\$$ac_var
1708 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1709 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1712 _ | IFS | as_nl) ;; #(
1713 *) $as_unset $ac_var ;;
1718 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1719 *${as_nl}ac_space=\ *)
1721 "s/'\''/'\''\\\\'\'''\''/g;
1722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1733 ## ----------------- ##
1734 ## Output variables. ##
1735 ## ----------------- ##
1738 for ac_var in $ac_subst_vars
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 echo "$ac_var='\''$ac_val'\''"
1748 if test -n "$ac_subst_files"; then
1750 ## ------------------- ##
1751 ## File substitutions. ##
1752 ## ------------------- ##
1755 for ac_var in $ac_subst_files
1757 eval ac_val=\$$ac_var
1759 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1761 echo "$ac_var='\''$ac_val'\''"
1766 if test -s confdefs.h; then
1776 test "$ac_signal" != 0 &&
1777 echo "$as_me: caught signal $ac_signal"
1778 echo "$as_me: exit $exit_status"
1780 rm -f core *.core core.conftest.* &&
1781 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1784 for ac_signal in 1 2 13 15; do
1785 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1790 rm -f -r conftest* confdefs.h
1792 # Predefined preprocessor variables.
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_NAME "$PACKAGE_NAME"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_STRING "$PACKAGE_STRING"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1819 # Let the site file select an alternate cache file if it wants to.
1820 # Prefer explicitly selected file to automatically selected ones.
1821 if test -n "$CONFIG_SITE"; then
1822 set x "$CONFIG_SITE"
1823 elif test "x$prefix" != xNONE; then
1824 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1826 set x "$ac_default_prefix/share/config.site" \
1827 "$ac_default_prefix/etc/config.site"
1832 if test -r "$ac_site_file"; then
1833 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1834 echo "$as_me: loading site script $ac_site_file" >&6;}
1835 sed 's/^/| /' "$ac_site_file" >&5
1840 if test -r "$cache_file"; then
1841 # Some versions of bash will fail to source /dev/null (special
1842 # files actually), so we avoid doing that.
1843 if test -f "$cache_file"; then
1844 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1845 echo "$as_me: loading cache $cache_file" >&6;}
1847 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1848 *) . "./$cache_file";;
1852 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1853 echo "$as_me: creating cache $cache_file" >&6;}
1857 # Check that the precious variables saved in the cache have kept the same
1859 ac_cache_corrupted=false
1860 for ac_var in $ac_precious_vars; do
1861 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1862 eval ac_new_set=\$ac_env_${ac_var}_set
1863 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1864 eval ac_new_val=\$ac_env_${ac_var}_value
1865 case $ac_old_set,$ac_new_set in
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1871 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1872 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1873 ac_cache_corrupted=: ;;
1876 if test "x$ac_old_val" != "x$ac_new_val"; then
1877 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1878 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1879 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1880 echo "$as_me: former value
: $ac_old_val" >&2;}
1881 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1882 echo "$as_me: current value
: $ac_new_val" >&2;}
1883 ac_cache_corrupted=:
1886 # Pass precious variables to config.status.
1887 if test "$ac_new_set" = set; then
1889 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1890 *) ac_arg=$ac_var=$ac_new_val ;;
1892 case " $ac_configure_args " in
1893 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1894 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1898 if $ac_cache_corrupted; then
1899 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1900 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1901 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1902 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1903 { (exit 1); exit 1; }; }
1931 ac_cpp='$CPP $CPPFLAGS'
1932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 >confdefs.h # Kill PACKAGE_ macros
1941 ac_config_headers="$ac_config_headers config.h"
1943 am__api_version='1.10'
1946 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1947 if test -f "$ac_dir/install-sh"; then
1949 ac_install_sh="$ac_aux_dir/install-sh -c"
1951 elif test -f "$ac_dir/install.sh"; then
1953 ac_install_sh="$ac_aux_dir/install.sh -c"
1955 elif test -f "$ac_dir/shtool"; then
1957 ac_install_sh="$ac_aux_dir/shtool install -c"
1961 if test -z "$ac_aux_dir"; then
1962 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1963 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1964 { (exit 1); exit 1; }; }
1967 # These three variables are undocumented and unsupported,
1968 # and are intended to be withdrawn in a future Autoconf release.
1969 # They can cause serious problems if a builder's source tree is in a directory
1970 # whose full name contains unusual characters.
1971 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1972 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1973 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1976 # Find a good install program. We prefer a C program (faster),
1977 # so one script is as good as another. But avoid the broken or
1978 # incompatible versions:
1979 # SysV /etc/install, /usr/sbin/install
1980 # SunOS /usr/etc/install
1981 # IRIX /sbin/install
1983 # AmigaOS /C/install, which installs bootblocks on floppy discs
1984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1987 # OS/2's system install, which has a completely different semantic
1988 # ./install, which can be erroneously created by make from ./install.sh.
1989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1991 if test -z "$INSTALL"; then
1992 if test "${ac_cv_path_install+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 # Account for people who put trailing slashes in PATH elements.
2002 ./ | .// | /cC/* | \
2003 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2004 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2007 # OSF1 and SCO ODT 3.0 have their own names for install.
2008 # Don't use installbsd from OSF since it installs stuff as root
2010 for ac_prog in ginstall scoinst install; do
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2013 if test $ac_prog = install &&
2014 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # AIX install. It has an incompatible calling convention.
2017 elif test $ac_prog = install &&
2018 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # program-specific install script used by HP pwplus--don't use.
2022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2035 if test "${ac_cv_path_install+set}" = set; then
2036 INSTALL=$ac_cv_path_install
2038 # As a last resort, use the slow shell script. Don't cache a
2039 # value for INSTALL within a source directory, because that will
2040 # break other packages using the cache if that directory is
2041 # removed, or if the value is a relative name.
2042 INSTALL=$ac_install_sh
2045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2046 echo "${ECHO_T}$INSTALL" >&6; }
2048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2049 # It thinks the first close brace ends the variable substitution.
2050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2056 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2057 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2060 echo timestamp > conftest.file
2061 # Do `set' in a subshell so we don't clobber the current shell
's
2062 # arguments. Must try -L first in case configure is actually a
2063 # symlink; some systems play weird games with the mod time of symlinks
2064 # (eg FreeBSD returns the mod time of the symlink's containing
2067 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2068 if test "$*" = "X"; then
2070 set X
`ls -t $srcdir/configure conftest.file`
2073 if test "$*" != "X $srcdir/configure conftest.file" \
2074 && test "$*" != "X conftest.file $srcdir/configure"; then
2076 # If neither matched, then we have a broken ls. This can happen
2077 # if, for instance, CONFIG_SHELL is bash and it inherits a
2078 # broken ls alias from the environment. This has actually
2079 # happened. Such a system could not be considered "sane".
2080 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" >&5
2082 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2083 alias in your environment" >&2;}
2084 { (exit 1); exit 1; }; }
2087 test "$2" = conftest.
file
2093 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2094 Check your system clock" >&5
2095 echo "$as_me: error: newly created file is older than distributed files!
2096 Check your system clock" >&2;}
2097 { (exit 1); exit 1; }; }
2099 { echo "$as_me:$LINENO: result: yes" >&5
2100 echo "${ECHO_T}yes" >&6; }
2101 test "$program_prefix" != NONE
&&
2102 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2103 # Use a double $ so make ignores it.
2104 test "$program_suffix" != NONE
&&
2105 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2106 # Double any \ or $. echo might interpret backslashes.
2107 # By default was `s,x,x', remove it if useless.
2108 cat <<\_ACEOF
>conftest.
sed
2109 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2111 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2114 # expand $ac_aux_dir to an absolute path
2115 am_aux_dir
=`cd $ac_aux_dir && pwd`
2117 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2118 # Use eval to expand $SHELL
2119 if eval "$MISSING --run true"; then
2120 am_missing_run
="$MISSING --run "
2123 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2124 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2127 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2128 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2129 if test -z "$MKDIR_P"; then
2130 if test "${ac_cv_path_mkdir+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_prog
in mkdir gmkdir
; do
2139 for ac_exec_ext
in '' $ac_executable_extensions; do
2140 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2141 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2142 'mkdir (GNU coreutils) '* | \
2143 'mkdir (coreutils) '* | \
2144 'mkdir (fileutils) '4.1*)
2145 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 MKDIR_P
="$ac_cv_path_mkdir -p"
2158 # As a last resort, use the slow shell script. Don't cache a
2159 # value for MKDIR_P within a source directory, because that will
2160 # break other packages using the cache if that directory is
2161 # removed, or if the value is a relative name.
2162 test -d .
/--version && rmdir .
/--version
2163 MKDIR_P
="$ac_install_sh -d"
2166 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2167 echo "${ECHO_T}$MKDIR_P" >&6; }
2171 [\\/$
]* | ?
:[\\/]*) ;;
2172 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2175 for ac_prog
in gawk mawk nawk
awk
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy
$ac_prog; ac_word
=$2
2179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 if test "${ac_cv_prog_AWK+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$AWK"; then
2185 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_AWK
="$ac_prog"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 if test -n "$AWK"; then
2206 { echo "$as_me:$LINENO: result: $AWK" >&5
2207 echo "${ECHO_T}$AWK" >&6; }
2209 { echo "$as_me:$LINENO: result: no" >&5
2210 echo "${ECHO_T}no" >&6; }
2214 test -n "$AWK" && break
2217 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2219 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2220 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.
make <<\_ACEOF
2226 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2231 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2233 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2237 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2238 { echo "$as_me:$LINENO: result: yes" >&5
2239 echo "${ECHO_T}yes" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2244 SET_MAKE
="MAKE=${MAKE-make}"
2247 rm -rf .tst
2>/dev
/null
2248 mkdir .tst
2>/dev
/null
2249 if test -d .tst
; then
2254 rmdir .tst
2>/dev
/null
2256 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2257 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2258 # is not polluted with repeated "-I."
2259 am__isrc
=' -I$(srcdir)'
2260 # test to see if srcdir already configured
2261 if test -f $srcdir/config.status
; then
2262 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2263 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2264 { (exit 1); exit 1; }; }
2268 # test whether we have cygpath
2269 if test -z "$CYGPATH_W"; then
2270 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2271 CYGPATH_W
='cygpath -w'
2278 # Define the identity of the package.
2283 # Some tools Automake needs.
2285 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2288 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2291 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2294 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2297 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2299 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2301 # Installed binaries are usually stripped using `strip' when the user
2302 # run `make install-strip'. However `strip' might not be the right
2303 # tool to use in cross-compilation environments, therefore Automake
2304 # will honor the `STRIP' environment variable to overrule this program.
2305 if test "$cross_compiling" != no
; then
2306 if test -n "$ac_tool_prefix"; then
2307 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2308 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_STRIP+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$STRIP"; then
2315 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 STRIP
=$ac_cv_prog_STRIP
2335 if test -n "$STRIP"; then
2336 { echo "$as_me:$LINENO: result: $STRIP" >&5
2337 echo "${ECHO_T}$STRIP" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2345 if test -z "$ac_cv_prog_STRIP"; then
2347 # Extract the first word of "strip", so it can be a program name with args.
2348 set dummy strip
; ac_word
=$2
2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 if test -n "$ac_ct_STRIP"; then
2355 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir
=.
2362 for ac_exec_ext
in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364 ac_cv_prog_ac_ct_STRIP
="strip"
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2375 if test -n "$ac_ct_STRIP"; then
2376 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2377 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2379 { echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6; }
2383 if test "x$ac_ct_STRIP" = x
; then
2386 case $cross_compiling:$ac_tool_warned in
2388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&5
2391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2394 ac_tool_warned
=yes ;;
2399 STRIP
="$ac_cv_prog_STRIP"
2403 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2405 # We need awk for the "check" target. The system "awk" is bad on
2407 # Always define AMTAR for backward compatibility.
2409 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2411 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2418 if test -d ${srcdir}/..
/libhmac
; then
2428 ac_cpp
='$CPP $CPPFLAGS'
2429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2432 if test -n "$ac_tool_prefix"; then
2433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2434 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2437 if test "${ac_cv_prog_CC+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 if test -n "$CC"; then
2441 ac_cv_prog_CC
="$CC" # Let the user override the test.
2443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir
=.
2448 for ac_exec_ext
in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 if test -n "$CC"; then
2462 { echo "$as_me:$LINENO: result: $CC" >&5
2463 echo "${ECHO_T}$CC" >&6; }
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2471 if test -z "$ac_cv_prog_CC"; then
2473 # Extract the first word of "gcc", so it can be a program name with args.
2474 set dummy gcc
; ac_word
=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$ac_ct_CC"; then
2481 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_CC
="gcc"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6; }
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2509 if test "x$ac_ct_CC" = x
; then
2512 case $cross_compiling:$ac_tool_warned in
2514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2515 whose name does not start with the host triplet. If you think this
2516 configuration is useful to you, please write to autoconf@gnu.org." >&5
2517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2518 whose name does not start with the host triplet. If you think this
2519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2520 ac_tool_warned
=yes ;;
2528 if test -z "$CC"; then
2529 if test -n "$ac_tool_prefix"; then
2530 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2531 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC
="$CC" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 if test -n "$CC"; then
2559 { echo "$as_me:$LINENO: result: $CC" >&5
2560 echo "${ECHO_T}$CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2569 if test -z "$CC"; then
2570 # Extract the first word of "cc", so it can be a program name with args.
2571 set dummy cc
; ac_word
=$2
2572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2574 if test "${ac_cv_prog_CC+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 if test -n "$CC"; then
2578 ac_cv_prog_CC
="$CC" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2589 ac_prog_rejected
=yes
2593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test $ac_prog_rejected = yes; then
2601 # We found a bogon in the path, so make sure we never use it.
2602 set dummy
$ac_cv_prog_CC
2604 if test $# != 0; then
2605 # We chose a different compiler from the bogus one.
2606 # However, it has the same basename, so the bogon will be chosen
2607 # first if we set CC to just the basename; use the full file name.
2609 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2615 if test -n "$CC"; then
2616 { echo "$as_me:$LINENO: result: $CC" >&5
2617 echo "${ECHO_T}$CC" >&6; }
2619 { echo "$as_me:$LINENO: result: no" >&5
2620 echo "${ECHO_T}no" >&6; }
2625 if test -z "$CC"; then
2626 if test -n "$ac_tool_prefix"; then
2627 for ac_prog
in cl.exe
2629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2630 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC
="$CC" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { echo "$as_me:$LINENO: result: $CC" >&5
2659 echo "${ECHO_T}$CC" >&6; }
2661 { echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6; }
2666 test -n "$CC" && break
2669 if test -z "$CC"; then
2671 for ac_prog
in cl.exe
2673 # Extract the first word of "$ac_prog", so it can be a program name with args.
2674 set dummy
$ac_prog; ac_word
=$2
2675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$ac_ct_CC"; then
2681 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 ac_cv_prog_ac_ct_CC
="$ac_prog"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2701 if test -n "$ac_ct_CC"; then
2702 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2703 echo "${ECHO_T}$ac_ct_CC" >&6; }
2705 { echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6; }
2710 test -n "$ac_ct_CC" && break
2713 if test "x$ac_ct_CC" = x
; then
2716 case $cross_compiling:$ac_tool_warned in
2718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2719 whose name does not start with the host triplet. If you think this
2720 configuration is useful to you, please write to autoconf@gnu.org." >&5
2721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2722 whose name does not start with the host triplet. If you think this
2723 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2724 ac_tool_warned
=yes ;;
2733 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2734 See \`config.log' for more details." >&5
2735 echo "$as_me: error: no acceptable C compiler found in \$PATH
2736 See \`config.log' for more details." >&2;}
2737 { (exit 1); exit 1; }; }
2739 # Provide some information about the compiler.
2740 echo "$as_me:$LINENO: checking for C compiler version" >&5
2741 ac_compiler
=`set X $ac_compile; echo $2`
2742 { (ac_try
="$ac_compiler --version >&5"
2744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler --version >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try="$ac_compiler -v >&5"
2754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2755 *) ac_try_echo
=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -v >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2762 { (ac_try
="$ac_compiler -V >&5"
2764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compiler -V >&5") 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 ac_clean_files_save=$ac_clean_files
2789 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2790 # Try to create an executable without -o first, disregard a.out.
2791 # It will help us diagnose broken compilers, and finding out an intuition
2793 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2794 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2795 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2797 # List of possible output files, starting from the most likely.
2798 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2799 # only as a last resort. b.out is created by i960 compilers.
2800 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2802 # The IRIX 6 linker writes into existing files which may not be
2803 # executable, retaining their permissions. Remove them first so a
2804 # subsequent execution test works.
2806 for ac_file in $ac_files
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2810 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2815 if { (ac_try="$ac_link_default"
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2821 (eval "$ac_link_default") 2>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; then
2825 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2826 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2827 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2828 # so that the user can short-circuit this test for compilers unknown to
2830 for ac_file
in $ac_files ''
2832 test -f "$ac_file" ||
continue
2834 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2837 # We found the default executable, but exeext='' is most
2841 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2845 # We set ac_cv_exeext here because the later test for it is not
2846 # safe: cross compilers may not add the suffix if given an `-o'
2847 # argument, so we may need to know it at that point already.
2848 # Even if this section looks crufty: it has the advantage of
2855 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2861 { echo "$as_me:$LINENO: result: $ac_file" >&5
2862 echo "${ECHO_T}$ac_file" >&6; }
2863 if test -z "$ac_file"; then
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2867 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2868 See \`config.log' for more details." >&5
2869 echo "$as_me: error: C compiler cannot create executables
2870 See \`config.log' for more details." >&2;}
2871 { (exit 77); exit 77; }; }
2874 ac_exeext
=$ac_cv_exeext
2876 # Check that the compiler produces executables we can run. If not, either
2877 # the compiler is broken, or we cross compile.
2878 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2879 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2880 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2881 # If not cross compiling, check that we can run a simple program.
2882 if test "$cross_compiling" != yes; then
2883 if { ac_try
='./$ac_file'
2884 { (case "(($ac_try" in
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_try") 2>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2895 if test "$cross_compiling" = maybe; then
2898 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2899 If you meant to cross compile, use \`--host'.
2900 See \`config.log' for more details.
" >&5
2901 echo "$as_me: error
: cannot run C compiled programs.
2902 If you meant to cross compile
, use \
`--host'.
2903 See \`config.log
' for more details." >&2;}
2904 { (exit 1); exit 1; }; }
2908 { echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6; }
2911 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2912 ac_clean_files=$ac_clean_files_save
2913 # Check that the compiler produces executables we can run. If not, either
2914 # the compiler is broken, or we cross compile.
2915 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2916 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2917 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2918 echo "${ECHO_T}$cross_compiling" >&6; }
2920 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2921 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2922 if { (ac_try="$ac_link"
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2928 (eval "$ac_link") 2>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; then
2932 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2933 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2934 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2936 for ac_file
in conftest.exe conftest conftest.
*; do
2937 test -f "$ac_file" ||
continue
2939 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2940 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2946 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2949 See \`config.log' for more details." >&2;}
2950 { (exit 1); exit 1; }; }
2953 rm -f conftest
$ac_cv_exeext
2954 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2955 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2957 rm -f conftest.
$ac_ext
2958 EXEEXT
=$ac_cv_exeext
2960 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2961 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2962 if test "${ac_cv_objext+set}" = set; then
2963 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2980 rm -f conftest.o conftest.obj
2981 if { (ac_try
="$ac_compile"
2983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; then
2991 for ac_file in conftest.o conftest.obj conftest.*; do
2992 test -f "$ac_file" || continue;
2994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2995 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3004 See \`config.log
' for more details." >&5
3005 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3006 See \`config.log' for more details.
" >&2;}
3007 { (exit 1); exit 1; }; }
3010 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3012 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3013 echo "${ECHO_T}$ac_cv_objext" >&6; }
3014 OBJEXT=$ac_cv_objext
3016 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3017 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3018 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3019 echo $ECHO_N "(cached
) $ECHO_C" >&6
3021 cat >conftest.$ac_ext <<_ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (ac_try="$ac_compile"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3058 echo "$as_me: failed program was
:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3068 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3069 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3070 GCC=`test $ac_compiler_gnu = yes && echo yes`
3071 ac_test_CFLAGS=${CFLAGS+set}
3072 ac_save_CFLAGS=$CFLAGS
3073 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3074 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3075 if test "${ac_cv_prog_cc_g+set}" = set; then
3076 echo $ECHO_N "(cached
) $ECHO_C" >&6
3078 ac_save_c_werror_flag=$ac_c_werror_flag
3079 ac_c_werror_flag=yes
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compile") 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3110 (exit $ac_status); } && {
3111 test -z "$ac_c_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext; then
3116 echo "$as_me: failed program was
:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 echo "$as_me: failed program was
:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3157 ac_c_werror_flag=$ac_save_c_werror_flag
3159 cat >conftest.$ac_ext <<_ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3174 rm -f conftest.$ac_objext
3175 if { (ac_try="$ac_compile"
3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178 *) ac_try_echo=$ac_try;;
3180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3181 (eval "$ac_compile") 2>conftest.er1
3183 grep -v '^ *+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3187 (exit $ac_status); } && {
3188 test -z "$ac_c_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then
3193 echo "$as_me: failed program was
:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_c_werror_flag=$ac_save_c_werror_flag
3208 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3209 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3219 if test "$GCC" = yes; then
3225 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3226 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3227 if test "${ac_cv_prog_cc_c89+set}" = set; then
3228 echo $ECHO_N "(cached
) $ECHO_C" >&6
3230 ac_cv_prog_cc_c89=no
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3240 #include <sys/types.h>
3241 #include <sys/stat.h>
3242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3243 struct buf { int x; };
3244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3245 static char *e (p, i)
3251 static char *f (char * (*g) (char **, int), char **p, ...)
3256 s = g (p, va_arg (v,int));
3261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3262 function prototypes and stuff, but not '\xHH' hex character constants.
3263 These don't provoke an error unfortunately, instead are silently treated
3264 as 'x'. The following induces an error, until -std is added to get
3265 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3266 array size at least. It's necessary to write '\x00'==0 to get something
3267 that's true only with -std. */
3268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3271 inside strings and character constants. */
3273 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3275 int test (int i, double x);
3276 struct s1 {int (*f) (int a);};
3277 struct s2 {int (*f) (double a);};
3278 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3284 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3290 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3292 CC="$ac_save_CC $ac_arg"
3293 rm -f conftest.$ac_objext
3294 if { (ac_try="$ac_compile"
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_compile") 2>conftest.er1
3302 grep -v '^ *+' conftest.er1 >conftest.err
3304 cat conftest.err >&5
3305 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3306 (exit $ac_status); } && {
3307 test -z "$ac_c_werror_flag" ||
3308 test ! -s conftest.err
3309 } && test -s conftest.$ac_objext; then
3310 ac_cv_prog_cc_c89=$ac_arg
3312 echo "$as_me: failed program was
:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3318 rm -f core conftest.err conftest.$ac_objext
3319 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3321 rm -f conftest.$ac_ext
3326 case "x
$ac_cv_prog_cc_c89" in
3328 { echo "$as_me:$LINENO: result
: none needed
" >&5
3329 echo "${ECHO_T}none needed
" >&6; } ;;
3331 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3332 echo "${ECHO_T}unsupported
" >&6; } ;;
3334 CC="$CC $ac_cv_prog_cc_c89"
3335 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3336 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3341 ac_cpp='$CPP $CPPFLAGS'
3342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 DEPDIR="${am__leading_dot}deps
"
3347 ac_config_commands="$ac_config_commands depfiles
"
3350 am_make=${MAKE-make}
3351 cat > confinc << 'END'
3356 # If we don't find an include directive, just comment out the code.
3357 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3358 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3362 # First try GNU make style include.
3363 echo "include confinc" > confmf
3364 # We grep out `Entering directory' and `Leaving directory'
3365 # messages which can occur if `w' ends up in MAKEFLAGS.
3366 # In particular we don't look at `^make:' because GNU make might
3367 # be invoked under some other name (usually "gmake"), in which
3368 # case it prints its new name instead of `make'.
3369 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3374 # Now try BSD make style include.
3375 if test "$am__include" = "#"; then
3376 echo '.include "confinc"' > confmf
3377 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3378 am__include
=.include
3385 { echo "$as_me:$LINENO: result: $_am_result" >&5
3386 echo "${ECHO_T}$_am_result" >&6; }
3387 rm -f confinc confmf
3389 # Check whether --enable-dependency-tracking was given.
3390 if test "${enable_dependency_tracking+set}" = set; then
3391 enableval
=$enable_dependency_tracking;
3394 if test "x$enable_dependency_tracking" != xno
; then
3395 am_depcomp
="$ac_aux_dir/depcomp"
3398 if test "x$enable_dependency_tracking" != xno; then
3408 depcc
="$CC" am_compiler_list
=
3410 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3411 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3412 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3416 # We make a subdir and do the tests there. Otherwise we can end up
3417 # making bogus files that we don't know about and never remove. For
3418 # instance it was reported that on HP-UX the gcc test will end up
3419 # making a dummy file named `D' -- because `-MD' means `put the output
3422 # Copy depcomp to subdir because otherwise we won't find it if we're
3423 # using a relative directory.
3424 cp "$am_depcomp" conftest.dir
3426 # We will build objects and dependencies in a subdirectory because
3427 # it helps to detect inapplicable dependency modes. For instance
3428 # both Tru64's cc and ICC support -MD to output dependencies as a
3429 # side effect of compilation, but ICC will put the dependencies in
3430 # the current directory while Tru64 will put them in the object
3434 am_cv_CC_dependencies_compiler_type
=none
3435 if test "$am_compiler_list" = ""; then
3436 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3438 for depmode
in $am_compiler_list; do
3439 # Setup a source with many dependencies, because some compilers
3440 # like to wrap large dependency lists on column 80 (with \), and
3441 # we should not choose a depcomp mode which is confused by this.
3443 # We need to recreate these files for each test, as the compiler may
3444 # overwrite some of them when testing with obscure command lines.
3445 # This happens at least with the AIX C compiler.
3447 for i
in 1 2 3 4 5 6; do
3448 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3449 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3450 # Solaris 8's {/usr,}/bin/sh.
3451 touch sub
/conftst
$i.h
3453 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3457 # after this tag, mechanisms are not by side-effect, so they'll
3458 # only be used when explicitly requested
3459 if test "x$enable_dependency_tracking" = xyes
; then
3467 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3468 # mode. It turns out that the SunPro C++ compiler does not properly
3469 # handle `-M -o', and we need to detect this.
3470 if depmode
=$depmode \
3471 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3472 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3473 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3474 >/dev
/null
2>conftest.err
&&
3475 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3476 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3477 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3478 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3479 # icc doesn't choke on unknown options, it will just issue warnings
3480 # or remarks (even with -Werror). So we grep stderr for any message
3481 # that says an option was ignored or not supported.
3482 # When given -MP, icc 7.0 and 7.1 complain thusly:
3483 # icc: Command line warning: ignoring option '-M'; no argument required
3484 # The diagnosis changed in icc 8.0:
3485 # icc: Command line remark: option '-MP' not supported
3486 if (grep 'ignoring option' conftest.err ||
3487 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3488 am_cv_CC_dependencies_compiler_type
=$depmode
3497 am_cv_CC_dependencies_compiler_type
=none
3501 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3502 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3503 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3506 test "x$enable_dependency_tracking" != xno \
3507 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3509 am__fastdepCC_FALSE
='#'
3511 am__fastdepCC_TRUE
='#'
3512 am__fastdepCC_FALSE
=
3516 # Find a good install program. We prefer a C program (faster),
3517 # so one script is as good as another. But avoid the broken or
3518 # incompatible versions:
3519 # SysV /etc/install, /usr/sbin/install
3520 # SunOS /usr/etc/install
3521 # IRIX /sbin/install
3523 # AmigaOS /C/install, which installs bootblocks on floppy discs
3524 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3525 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3526 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3527 # OS/2's system install, which has a completely different semantic
3528 # ./install, which can be erroneously created by make from ./install.sh.
3529 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3530 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3531 if test -z "$INSTALL"; then
3532 if test "${ac_cv_path_install+set}" = set; then
3533 echo $ECHO_N "(cached) $ECHO_C" >&6
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir
=.
3540 # Account for people who put trailing slashes in PATH elements.
3542 .
/ | .
// |
/cC
/* | \
3543 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3544 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3547 # OSF1 and SCO ODT 3.0 have their own names for install.
3548 # Don't use installbsd from OSF since it installs stuff as root
3550 for ac_prog
in ginstall scoinst
install; do
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3553 if test $ac_prog = install &&
3554 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3555 # AIX install. It has an incompatible calling convention.
3557 elif test $ac_prog = install &&
3558 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3559 # program-specific install script used by HP pwplus--don't use.
3562 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3575 if test "${ac_cv_path_install+set}" = set; then
3576 INSTALL
=$ac_cv_path_install
3578 # As a last resort, use the slow shell script. Don't cache a
3579 # value for INSTALL within a source directory, because that will
3580 # break other packages using the cache if that directory is
3581 # removed, or if the value is a relative name.
3582 INSTALL
=$ac_install_sh
3585 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3586 echo "${ECHO_T}$INSTALL" >&6; }
3588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3589 # It thinks the first close brace ends the variable substitution.
3590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3594 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3596 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3597 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3599 if test "$LN_S" = "ln -s"; then
3600 { echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6; }
3603 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3604 echo "${ECHO_T}no, using $LN_S" >&6; }
3607 # Check whether --enable-shared was given.
3608 if test "${enable_shared+set}" = set; then
3609 enableval
=$enable_shared; p
=${PACKAGE-default}
3611 yes) enable_shared
=yes ;;
3612 no
) enable_shared
=no
;;
3615 # Look at the argument we got. We use all the common list separators.
3616 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3617 for pkg
in $enableval; do
3619 if test "X$pkg" = "X$p"; then
3631 # Check whether --enable-static was given.
3632 if test "${enable_static+set}" = set; then
3633 enableval
=$enable_static; p
=${PACKAGE-default}
3635 yes) enable_static
=yes ;;
3636 no
) enable_static
=no
;;
3639 # Look at the argument we got. We use all the common list separators.
3640 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3641 for pkg
in $enableval; do
3643 if test "X$pkg" = "X$p"; then
3655 # Check whether --enable-fast-install was given.
3656 if test "${enable_fast_install+set}" = set; then
3657 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3659 yes) enable_fast_install
=yes ;;
3660 no
) enable_fast_install
=no
;;
3662 enable_fast_install
=no
3663 # Look at the argument we got. We use all the common list separators.
3664 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3665 for pkg
in $enableval; do
3667 if test "X$pkg" = "X$p"; then
3668 enable_fast_install
=yes
3675 enable_fast_install
=yes
3679 # Make sure we can run config.sub.
3680 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3681 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3682 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3683 { (exit 1); exit 1; }; }
3685 { echo "$as_me:$LINENO: checking build system type" >&5
3686 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3687 if test "${ac_cv_build+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 ac_build_alias
=$build_alias
3691 test "x$ac_build_alias" = x
&&
3692 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3693 test "x$ac_build_alias" = x
&&
3694 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3695 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3696 { (exit 1); exit 1; }; }
3697 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3698 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3699 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3700 { (exit 1); exit 1; }; }
3703 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3704 echo "${ECHO_T}$ac_cv_build" >&6; }
3705 case $ac_cv_build in
3707 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3708 echo "$as_me: error: invalid value of canonical build" >&2;}
3709 { (exit 1); exit 1; }; };;
3712 ac_save_IFS
=$IFS; IFS
='-'
3718 # Remember, the first character of IFS is used to create $*,
3719 # except with old shells:
3722 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3725 { echo "$as_me:$LINENO: checking host system type" >&5
3726 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3727 if test "${ac_cv_host+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 if test "x$host_alias" = x
; then
3731 ac_cv_host
=$ac_cv_build
3733 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3734 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3735 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3736 { (exit 1); exit 1; }; }
3740 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3741 echo "${ECHO_T}$ac_cv_host" >&6; }
3744 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3745 echo "$as_me: error: invalid value of canonical host" >&2;}
3746 { (exit 1); exit 1; }; };;
3749 ac_save_IFS
=$IFS; IFS
='-'
3755 # Remember, the first character of IFS is used to create $*,
3756 # except with old shells:
3759 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3762 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3763 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3764 if test "${lt_cv_path_SED+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 # Loop through the user's path and test for sed and gsed.
3768 # Then use that list of sed's as ones to test for truncation.
3769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir
=.
3774 for lt_ac_prog
in sed gsed
; do
3775 for ac_exec_ext
in '' $ac_executable_extensions; do
3776 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3777 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3785 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3786 # along with /bin/sed that truncates output.
3787 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3788 test ! -f $lt_ac_sed && continue
3789 cat /dev
/null
> conftest.
in
3791 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3792 # Check for GNU sed and select it if it is found.
3793 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3794 lt_cv_path_SED
=$lt_ac_sed
3798 cat conftest.
in conftest.
in >conftest.tmp
3799 mv conftest.tmp conftest.
in
3800 cp conftest.
in conftest.
nl
3802 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3803 cmp -s conftest.out conftest.
nl ||
break
3804 # 10000 chars as input seems more than enough
3805 test $lt_ac_count -gt 10 && break
3806 lt_ac_count
=`expr $lt_ac_count + 1`
3807 if test $lt_ac_count -gt $lt_ac_max; then
3808 lt_ac_max
=$lt_ac_count
3809 lt_cv_path_SED
=$lt_ac_sed
3818 { echo "$as_me:$LINENO: result: $SED" >&5
3819 echo "${ECHO_T}$SED" >&6; }
3821 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3822 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3823 if test "${ac_cv_path_GREP+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 # Extract the first word of "grep ggrep" to use in msg output
3827 if test -z "$GREP"; then
3828 set dummy
grep ggrep
; ac_prog_name
=$2
3829 if test "${ac_cv_path_GREP+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 ac_path_GREP_found
=false
3833 # Loop through the user's path and test for each of PROGNAME-LIST
3834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3838 test -z "$as_dir" && as_dir
=.
3839 for ac_prog
in grep ggrep
; do
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3842 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3843 # Check for GNU ac_path_GREP and select it if it is found.
3844 # Check for GNU $ac_path_GREP
3845 case `"$ac_path_GREP" --version 2>&1` in
3847 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3850 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3853 cat "conftest.in" "conftest.in" >"conftest.tmp"
3854 mv "conftest.tmp" "conftest.in"
3855 cp "conftest.in" "conftest.nl"
3856 echo 'GREP' >> "conftest.nl"
3857 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3858 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3859 ac_count
=`expr $ac_count + 1`
3860 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3861 # Best one so far, save it but keep looking for a better one
3862 ac_cv_path_GREP
="$ac_path_GREP"
3863 ac_path_GREP_max
=$ac_count
3865 # 10*(2^10) chars as input seems more than enough
3866 test $ac_count -gt 10 && break
3868 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3872 $ac_path_GREP_found && break 3
3882 GREP
="$ac_cv_path_GREP"
3883 if test -z "$GREP"; then
3884 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3885 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3886 { (exit 1); exit 1; }; }
3890 ac_cv_path_GREP
=$GREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3897 GREP
="$ac_cv_path_GREP"
3900 { echo "$as_me:$LINENO: checking for egrep" >&5
3901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3902 if test "${ac_cv_path_EGREP+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3906 then ac_cv_path_EGREP
="$GREP -E"
3908 # Extract the first word of "egrep" to use in msg output
3909 if test -z "$EGREP"; then
3910 set dummy
egrep; ac_prog_name
=$2
3911 if test "${ac_cv_path_EGREP+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_path_EGREP_found
=false
3915 # Loop through the user's path and test for each of PROGNAME-LIST
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_prog
in egrep; do
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3924 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3925 # Check for GNU ac_path_EGREP and select it if it is found.
3926 # Check for GNU $ac_path_EGREP
3927 case `"$ac_path_EGREP" --version 2>&1` in
3929 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3932 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3935 cat "conftest.in" "conftest.in" >"conftest.tmp"
3936 mv "conftest.tmp" "conftest.in"
3937 cp "conftest.in" "conftest.nl"
3938 echo 'EGREP' >> "conftest.nl"
3939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3940 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3941 ac_count
=`expr $ac_count + 1`
3942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3943 # Best one so far, save it but keep looking for a better one
3944 ac_cv_path_EGREP
="$ac_path_EGREP"
3945 ac_path_EGREP_max
=$ac_count
3947 # 10*(2^10) chars as input seems more than enough
3948 test $ac_count -gt 10 && break
3950 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3954 $ac_path_EGREP_found && break 3
3964 EGREP
="$ac_cv_path_EGREP"
3965 if test -z "$EGREP"; then
3966 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3968 { (exit 1); exit 1; }; }
3972 ac_cv_path_EGREP
=$EGREP
3978 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3979 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3980 EGREP
="$ac_cv_path_EGREP"
3984 # Check whether --with-gnu-ld was given.
3985 if test "${with_gnu_ld+set}" = set; then
3986 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3992 if test "$GCC" = yes; then
3993 # Check if gcc -print-prog-name=ld gives a path.
3994 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3995 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3998 # gcc leaves a trailing carriage return which upsets mingw
3999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4004 # Accept absolute paths.
4006 re_direlt
='/[^/][^/]*/\.\./'
4007 # Canonicalize the pathname of ld
4008 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4009 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4010 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4012 test -z "$LD" && LD
="$ac_prog"
4015 # If it fails, then pretend we aren't using GCC.
4019 # If it is relative, then search for the first ld in PATH.
4023 elif test "$with_gnu_ld" = yes; then
4024 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4025 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4027 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4028 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4030 if test "${lt_cv_path_LD+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 if test -z "$LD"; then
4034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4035 for ac_dir
in $PATH; do
4037 test -z "$ac_dir" && ac_dir
=.
4038 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4039 lt_cv_path_LD
="$ac_dir/$ac_prog"
4040 # Check to see if the program is GNU ld. I'd rather use --version,
4041 # but apparently some variants of GNU ld only accept -v.
4042 # Break only if it was the GNU/non-GNU ld that we prefer.
4043 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4044 *GNU
* |
*'with BFD'*)
4045 test "$with_gnu_ld" != no
&& break
4048 test "$with_gnu_ld" != yes && break
4055 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4060 if test -n "$LD"; then
4061 { echo "$as_me:$LINENO: result: $LD" >&5
4062 echo "${ECHO_T}$LD" >&6; }
4064 { echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6; }
4067 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4068 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4069 { (exit 1); exit 1; }; }
4070 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4071 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4072 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4076 case `$LD -v 2>&1 </dev/null` in
4077 *GNU
* |
*'with BFD'*)
4078 lt_cv_prog_gnu_ld
=yes
4081 lt_cv_prog_gnu_ld
=no
4085 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4086 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4087 with_gnu_ld
=$lt_cv_prog_gnu_ld
4090 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4091 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4092 if test "${lt_cv_ld_reload_flag+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 lt_cv_ld_reload_flag
='-r'
4097 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4098 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4099 reload_flag
=$lt_cv_ld_reload_flag
4100 case $reload_flag in
4102 *) reload_flag
=" $reload_flag" ;;
4104 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4107 if test "$GCC" = yes; then
4108 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4110 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4115 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4116 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4117 if test "${lt_cv_path_NM+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$NM"; then
4121 # Let the user override the test.
4124 lt_nm_to_check
="${ac_tool_prefix}nm"
4125 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4126 lt_nm_to_check
="$lt_nm_to_check nm"
4128 for lt_tmp_nm
in $lt_nm_to_check; do
4129 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4130 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4132 test -z "$ac_dir" && ac_dir
=.
4133 tmp_nm
="$ac_dir/$lt_tmp_nm"
4134 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4135 # Check to see if the nm accepts a BSD-compat flag.
4136 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4137 # nm: unknown option "B" ignored
4138 # Tru64's nm complains that /dev/null is an invalid object file
4139 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4140 */dev
/null
* |
*'Invalid file or object type'*)
4141 lt_cv_path_NM
="$tmp_nm -B"
4145 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4147 lt_cv_path_NM
="$tmp_nm -p"
4151 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4152 continue # so that we can try to find one that supports BSD flags
4161 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4164 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4165 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4168 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4169 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4170 if test "${lt_cv_deplibs_check_method+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4174 lt_cv_file_magic_test_file
=
4175 lt_cv_deplibs_check_method
='unknown'
4176 # Need to set the preceding variable on all platforms that support
4177 # interlibrary dependencies.
4178 # 'none' -- dependencies not supported.
4179 # `unknown' -- same as none, but documents that we really don't know.
4180 # 'pass_all' -- all dependencies passed with no checks.
4181 # 'test_compile' -- check by making test program.
4182 # 'file_magic [[regex]]' -- check by looking for files in library path
4183 # which responds to the $file_magic_cmd with a given extended regex.
4184 # If you have `file' or equivalent on your system and you're not sure
4185 # whether `pass_all' will *always* work, you probably want this one.
4189 lt_cv_deplibs_check_method
=pass_all
4193 lt_cv_deplibs_check_method
=pass_all
4197 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4198 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4199 lt_cv_file_magic_test_file
=/shlib
/libc.so
4203 # func_win32_libid is a shell function defined in ltmain.sh
4204 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4205 lt_cv_file_magic_cmd
='func_win32_libid'
4209 # Base MSYS/MinGW do not provide the 'file' command needed by
4210 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4211 # unless we find 'file', for example because we are cross-compiling.
4212 if ( file / ) >/dev
/null
2>&1; then
4213 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4214 lt_cv_file_magic_cmd
='func_win32_libid'
4216 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4217 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4221 darwin
* | rhapsody
*)
4222 lt_cv_deplibs_check_method
=pass_all
4225 freebsd
* | dragonfly
*)
4226 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4229 # Not sure whether the presence of OpenBSD here was a mistake.
4230 # Let's accept both of them until this is cleared up.
4231 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4232 lt_cv_file_magic_cmd
=/usr
/bin
/file
4233 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4237 lt_cv_deplibs_check_method
=pass_all
4242 lt_cv_deplibs_check_method
=pass_all
4245 hpux10.20
* | hpux11
*)
4246 lt_cv_file_magic_cmd
=/usr
/bin
/file
4249 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4250 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4253 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]'
4254 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4257 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4258 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4264 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4265 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4268 irix5
* | irix6
* | nonstopux
*)
4270 *-32|
*"-32 ") libmagic
=32-bit;;
4271 *-n32|
*"-n32 ") libmagic
=N32
;;
4272 *-64|
*"-64 ") libmagic
=64-bit;;
4273 *) libmagic
=never-match
;;
4275 lt_cv_deplibs_check_method
=pass_all
4278 # This must be Linux ELF.
4279 linux
* | k
*bsd
*-gnu)
4280 lt_cv_deplibs_check_method
=pass_all
4284 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4285 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4287 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4292 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4293 lt_cv_file_magic_cmd
=/usr
/bin
/file
4294 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4298 lt_cv_deplibs_check_method
=unknown
4302 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4303 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4305 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4309 osf3
* | osf4
* | osf5
*)
4310 lt_cv_deplibs_check_method
=pass_all
4314 lt_cv_deplibs_check_method
=pass_all
4318 lt_cv_deplibs_check_method
=pass_all
4322 case $host_vendor in
4324 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]'
4325 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4328 lt_cv_deplibs_check_method
=pass_all
4331 lt_cv_file_magic_cmd
='/bin/file'
4332 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4335 lt_cv_file_magic_cmd
='/bin/file'
4336 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4337 lt_cv_file_magic_test_file
=/lib
/libc.so
4340 lt_cv_deplibs_check_method
=pass_all
4343 lt_cv_deplibs_check_method
=pass_all
4348 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4349 lt_cv_deplibs_check_method
=pass_all
4354 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4355 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4356 file_magic_cmd
=$lt_cv_file_magic_cmd
4357 deplibs_check_method
=$lt_cv_deplibs_check_method
4358 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4363 # If no C compiler was specified, use CC.
4366 # If no C compiler flags were specified, use CFLAGS.
4367 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4369 # Allow CC to be a program name with arguments.
4373 # Check whether --enable-libtool-lock was given.
4374 if test "${enable_libtool_lock+set}" = set; then
4375 enableval
=$enable_libtool_lock;
4378 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4380 # Some flags need to be propagated to the compiler or linker for good
4384 # Find out which ABI we are using.
4385 echo 'int i;' > conftest.
$ac_ext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387 (eval $ac_compile) 2>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; then
4391 case `/usr/bin/file conftest.$ac_objext` in
4403 # Find out which ABI we are using.
4404 echo '#line 4404 "configure"' > conftest.
$ac_ext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; then
4410 if test "$lt_cv_prog_gnu_ld" = yes; then
4411 case `/usr/bin/file conftest.$ac_objext` in
4413 LD
="${LD-ld} -melf32bsmip"
4416 LD
="${LD-ld} -melf32bmipn32"
4419 LD
="${LD-ld} -melf64bmip"
4423 case `/usr/bin/file conftest.$ac_objext` in
4439 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4440 s390
*-*linux
*|sparc
*-*linux
*)
4441 # Find out which ABI we are using.
4442 echo 'int i;' > conftest.
$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 case `/usr/bin/file conftest.o` in
4451 x86_64-
*kfreebsd
*-gnu)
4452 LD
="${LD-ld} -m elf_i386_fbsd"
4455 LD
="${LD-ld} -m elf_i386"
4457 ppc64-
*linux
*|powerpc64-
*linux
*)
4458 LD
="${LD-ld} -m elf32ppclinux"
4461 LD
="${LD-ld} -m elf_s390"
4464 LD
="${LD-ld} -m elf32_sparc"
4471 x86_64-
*kfreebsd
*-gnu)
4472 LD
="${LD-ld} -m elf_x86_64_fbsd"
4475 LD
="${LD-ld} -m elf_x86_64"
4477 ppc
*-*linux
*|powerpc
*-*linux
*)
4478 LD
="${LD-ld} -m elf64ppc"
4481 LD
="${LD-ld} -m elf64_s390"
4484 LD
="${LD-ld} -m elf64_sparc"
4494 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4495 SAVE_CFLAGS
="$CFLAGS"
4496 CFLAGS
="$CFLAGS -belf"
4497 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4498 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4499 if test "${lt_cv_cc_needs_belf+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 ac_cpp
='$CPP $CPPFLAGS'
4504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4508 cat >conftest.
$ac_ext <<_ACEOF
4511 cat confdefs.h
>>conftest.
$ac_ext
4512 cat >>conftest.
$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4523 rm -f conftest.
$ac_objext conftest
$ac_exeext
4524 if { (ac_try
="$ac_link"
4526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4530 (eval "$ac_link") 2>conftest.er1
4532 grep -v '^ *+' conftest.er1 >conftest.err
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } && {
4537 test -z "$ac_c_werror_flag" ||
4538 test ! -s conftest.err
4539 } && test -s conftest$ac_exeext &&
4540 $as_test_x conftest$ac_exeext; then
4541 lt_cv_cc_needs_belf=yes
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 lt_cv_cc_needs_belf=no
4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4550 conftest$ac_exeext conftest.$ac_ext
4552 ac_cpp='$CPP $CPPFLAGS'
4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4558 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4559 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4560 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4561 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4562 CFLAGS="$SAVE_CFLAGS"
4566 # Find out which ABI we are using.
4567 echo 'int i;' > conftest.$ac_ext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; then
4573 case `/usr
/bin
/file conftest.o
` in
4575 case $lt_cv_prog_gnu_ld in
4576 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4577 *) LD="${LD-ld} -64" ;;
4588 need_locks="$enable_libtool_lock"
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4597 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4598 # On Suns, sometimes $CPP names a directory.
4599 if test -n "$CPP" && test -d "$CPP"; then
4602 if test -z "$CPP"; then
4603 if test "${ac_cv_prog_CPP+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 # Double quotes because CPP needs to be expanded
4607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4610 for ac_c_preproc_warn_flag in '' yes
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat >conftest.$ac_ext <<_ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4625 # include <limits.h>
4627 # include <assert.h>
4631 if { (ac_try="$ac_cpp conftest.$ac_ext"
4633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4634 *) ac_try_echo
=$ac_try;;
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4639 grep -v '^ *+' conftest.er1
>conftest.err
4641 cat conftest.err
>&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } >/dev
/null
&& {
4644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4645 test ! -s conftest.err
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4652 # Broken: fails on valid input.
4656 rm -f conftest.err conftest.
$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat >conftest.
$ac_ext <<_ACEOF
4663 cat confdefs.h
>>conftest.
$ac_ext
4664 cat >>conftest.
$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4666 #include <ac_nonexistent.h>
4668 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4671 *) ac_try_echo=$ac_try;;
4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4676 grep -v '^ *+' conftest.er1 >conftest.err
4678 cat conftest.err >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } >/dev/null && {
4681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4682 test ! -s conftest.err
4684 # Broken: success on invalid input.
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.$ac_ext >&5
4690 # Passes both tests.
4695 rm -f conftest.err conftest.$ac_ext
4698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4699 rm -f conftest.err conftest.
$ac_ext
4700 if $ac_preproc_ok; then
4712 { echo "$as_me:$LINENO: result: $CPP" >&5
4713 echo "${ECHO_T}$CPP" >&6; }
4715 for ac_c_preproc_warn_flag
in '' yes
4717 # Use a header file that comes with gcc, so configuring glibc
4718 # with a fresh cross-compiler works.
4719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4720 # <limits.h> exists even on freestanding compilers.
4721 # On the NeXT, cc -E runs the code through the compiler's parser,
4722 # not just through cpp. "Syntax error" is here to catch this case.
4723 cat >conftest.
$ac_ext <<_ACEOF
4726 cat confdefs.h
>>conftest.
$ac_ext
4727 cat >>conftest.
$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4730 # include <limits.h>
4732 # include <assert.h>
4736 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4744 grep -v '^ *+' conftest.er1 >conftest.err
4746 cat conftest.err >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } >/dev/null && {
4749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4750 test ! -s conftest.err
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 # Broken: fails on valid input.
4761 rm -f conftest.err conftest.$ac_ext
4763 # OK, works on sane cases. Now check whether nonexistent headers
4764 # can be detected and how.
4765 cat >conftest.$ac_ext <<_ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 #include <ac_nonexistent.h>
4773 if { (ac_try="$ac_cpp conftest.$ac_ext"
4775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4776 *) ac_try_echo
=$ac_try;;
4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4781 grep -v '^ *+' conftest.er1
>conftest.err
4783 cat conftest.err
>&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } >/dev
/null
&& {
4786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4787 test ! -s conftest.err
4789 # Broken: success on invalid input.
4792 echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.
$ac_ext >&5
4795 # Passes both tests.
4800 rm -f conftest.err conftest.
$ac_ext
4803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4804 rm -f conftest.err conftest.
$ac_ext
4805 if $ac_preproc_ok; then
4808 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4809 See \`config.log' for more details." >&5
4810 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4811 See \`config.log' for more details." >&2;}
4812 { (exit 1); exit 1; }; }
4816 ac_cpp
='$CPP $CPPFLAGS'
4817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4822 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4823 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4824 if test "${ac_cv_header_stdc+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.
$ac_ext <<_ACEOF
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4846 rm -f conftest.
$ac_objext
4847 if { (ac_try
="$ac_compile"
4849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4853 (eval "$ac_compile") 2>conftest.er1
4855 grep -v '^ *+' conftest.er1 >conftest.err
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } && {
4860 test -z "$ac_c_werror_flag" ||
4861 test ! -s conftest.err
4862 } && test -s conftest.$ac_objext; then
4863 ac_cv_header_stdc=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 ac_cv_header_stdc=no
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4873 if test $ac_cv_header_stdc = yes; then
4874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4875 cat >conftest.$ac_ext <<_ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4885 $EGREP "memchr" >/dev/null 2>&1; then
4888 ac_cv_header_stdc=no
4894 if test $ac_cv_header_stdc = yes; then
4895 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4896 cat >conftest.$ac_ext <<_ACEOF
4899 cat confdefs.h >>conftest.$ac_ext
4900 cat >>conftest.$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4906 $EGREP "free" >/dev/null 2>&1; then
4909 ac_cv_header_stdc=no
4915 if test $ac_cv_header_stdc = yes; then
4916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4917 if test "$cross_compiling" = yes; then
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4928 #if ((' ' & 0x0FF) == 0x020)
4929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4932 # define ISLOWER(c) \
4933 (('a' <= (c) && (c) <= 'i') \
4934 || ('j' <= (c) && (c) <= 'r') \
4935 || ('s' <= (c) && (c) <= 'z'))
4936 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4939 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4944 for (i = 0; i < 256; i++)
4945 if (XOR (islower (i), ISLOWER (i))
4946 || toupper (i) != TOUPPER (i))
4951 rm -f conftest$ac_exeext
4952 if { (ac_try="$ac_link"
4954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4955 *) ac_try_echo
=$ac_try;;
4957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4958 (eval "$ac_link") 2>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4962 { (case "(($ac_try" in
4963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_try") 2>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4973 echo "$as_me: program exited with status $ac_status" >&5
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_cv_header_stdc=no
4980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4986 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4987 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4988 if test $ac_cv_header_stdc = yes; then
4990 cat >>confdefs.h <<\_ACEOF
4991 #define STDC_HEADERS 1
4996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5007 inttypes.h stdint.h unistd.h
5009 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 $ac_includes_default
5023 #include <$ac_header>
5025 rm -f conftest.$ac_objext
5026 if { (ac_try="$ac_compile"
5028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5029 *) ac_try_echo
=$ac_try;;
5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032 (eval "$ac_compile") 2>conftest.er1
5034 grep -v '^ *+' conftest.er1
>conftest.err
5036 cat conftest.err
>&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } && {
5039 test -z "$ac_c_werror_flag" ||
5040 test ! -s conftest.err
5041 } && test -s conftest.
$ac_objext; then
5042 eval "$as_ac_Header=yes"
5044 echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.
$ac_ext >&5
5047 eval "$as_ac_Header=no"
5050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5052 ac_res
=`eval echo '${'$as_ac_Header'}'`
5053 { echo "$as_me:$LINENO: result: $ac_res" >&5
5054 echo "${ECHO_T}$ac_res" >&6; }
5055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5056 cat >>confdefs.h
<<_ACEOF
5057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5066 for ac_header
in dlfcn.h
5068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5069 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5072 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 ac_res
=`eval echo '${'$as_ac_Header'}'`
5076 { echo "$as_me:$LINENO: result: $ac_res" >&5
5077 echo "${ECHO_T}$ac_res" >&6; }
5079 # Is the header compilable?
5080 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5082 cat >conftest.
$ac_ext <<_ACEOF
5085 cat confdefs.h
>>conftest.
$ac_ext
5086 cat >>conftest.
$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5088 $ac_includes_default
5089 #include <$ac_header>
5091 rm -f conftest.
$ac_objext
5092 if { (ac_try
="$ac_compile"
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_compile") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } && {
5105 test -z "$ac_c_werror_flag" ||
5106 test ! -s conftest.err
5107 } && test -s conftest.$ac_objext; then
5108 ac_header_compiler=yes
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 ac_header_compiler=no
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5118 echo "${ECHO_T}$ac_header_compiler" >&6; }
5120 # Is the header present?
5121 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5123 cat >conftest.$ac_ext <<_ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 #include <$ac_header>
5131 if { (ac_try="$ac_cpp conftest.$ac_ext"
5133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5134 *) ac_try_echo
=$ac_try;;
5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5139 grep -v '^ *+' conftest.er1
>conftest.err
5141 cat conftest.err
>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } >/dev
/null
&& {
5144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5145 test ! -s conftest.err
5147 ac_header_preproc
=yes
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.
$ac_ext >&5
5152 ac_header_preproc
=no
5155 rm -f conftest.err conftest.
$ac_ext
5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5157 echo "${ECHO_T}$ac_header_preproc" >&6; }
5159 # So? What about this header?
5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5166 ac_header_preproc
=yes
5169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5182 ## -------------------------------------------------- ##
5183 ## Report this to courier-users@lists.sourceforge.net ##
5184 ## -------------------------------------------------- ##
5186 ) |
sed "s/^/$as_me: WARNING: /" >&2
5189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5191 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 eval "$as_ac_Header=\$ac_header_preproc"
5196 ac_res
=`eval echo '${'$as_ac_Header'}'`
5197 { echo "$as_me:$LINENO: result: $ac_res" >&5
5198 echo "${ECHO_T}$ac_res" >&6; }
5201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5202 cat >>confdefs.h
<<_ACEOF
5203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5211 ac_cpp
='$CXXCPP $CPPFLAGS'
5212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5215 if test -z "$CXX"; then
5216 if test -n "$CCC"; then
5219 if test -n "$ac_tool_prefix"; then
5220 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5223 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5226 if test "${ac_cv_prog_CXX+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 if test -n "$CXX"; then
5230 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 if test -n "$CXX"; then
5251 { echo "$as_me:$LINENO: result: $CXX" >&5
5252 echo "${ECHO_T}$CXX" >&6; }
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5259 test -n "$CXX" && break
5262 if test -z "$CXX"; then
5264 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5266 # Extract the first word of "$ac_prog", so it can be a program name with args.
5267 set dummy
$ac_prog; ac_word
=$2
5268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5270 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 if test -n "$ac_ct_CXX"; then
5274 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5294 if test -n "$ac_ct_CXX"; then
5295 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5296 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5298 { echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6; }
5303 test -n "$ac_ct_CXX" && break
5306 if test "x$ac_ct_CXX" = x
; then
5309 case $cross_compiling:$ac_tool_warned in
5311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5312 whose name does not start with the host triplet. If you think this
5313 configuration is useful to you, please write to autoconf@gnu.org." >&5
5314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5315 whose name does not start with the host triplet. If you think this
5316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5317 ac_tool_warned
=yes ;;
5325 # Provide some information about the compiler.
5326 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5327 ac_compiler
=`set X $ac_compile; echo $2`
5328 { (ac_try
="$ac_compiler --version >&5"
5330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334 (eval "$ac_compiler --version >&5") 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }
5338 { (ac_try="$ac_compiler -v >&5"
5340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5341 *) ac_try_echo
=$ac_try;;
5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5344 (eval "$ac_compiler -v >&5") 2>&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }
5348 { (ac_try
="$ac_compiler -V >&5"
5350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354 (eval "$ac_compiler -V >&5") 2>&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }
5359 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5360 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5361 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 cat >conftest.$ac_ext <<_ACEOF
5367 cat confdefs.h >>conftest.$ac_ext
5368 cat >>conftest.$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5382 rm -f conftest.$ac_objext
5383 if { (ac_try="$ac_compile"
5385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5386 *) ac_try_echo
=$ac_try;;
5388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5389 (eval "$ac_compile") 2>conftest.er1
5391 grep -v '^ *+' conftest.er1
>conftest.err
5393 cat conftest.err
>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } && {
5396 test -z "$ac_cxx_werror_flag" ||
5397 test ! -s conftest.err
5398 } && test -s conftest.
$ac_objext; then
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.
$ac_ext >&5
5407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5408 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5411 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5412 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5413 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5414 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5415 ac_save_CXXFLAGS
=$CXXFLAGS
5416 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5417 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5418 if test "${ac_cv_prog_cxx_g+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5422 ac_cxx_werror_flag
=yes
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5440 rm -f conftest.
$ac_objext
5441 if { (ac_try
="$ac_compile"
5443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5444 *) ac_try_echo=$ac_try;;
5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5447 (eval "$ac_compile") 2>conftest.er1
5449 grep -v '^ *+' conftest.er1 >conftest.err
5451 cat conftest.err >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } && {
5454 test -z "$ac_cxx_werror_flag" ||
5455 test ! -s conftest.err
5456 } && test -s conftest.$ac_objext; then
5457 ac_cv_prog_cxx_g=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5463 cat >conftest.$ac_ext <<_ACEOF
5466 cat confdefs.h >>conftest.$ac_ext
5467 cat >>conftest.$ac_ext <<_ACEOF
5468 /* end confdefs.h. */
5478 rm -f conftest.$ac_objext
5479 if { (ac_try="$ac_compile"
5481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5482 *) ac_try_echo
=$ac_try;;
5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 (eval "$ac_compile") 2>conftest.er1
5487 grep -v '^ *+' conftest.er1
>conftest.err
5489 cat conftest.err
>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } && {
5492 test -z "$ac_cxx_werror_flag" ||
5493 test ! -s conftest.err
5494 } && test -s conftest.
$ac_objext; then
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.
$ac_ext >&5
5500 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5502 cat >conftest.
$ac_ext <<_ACEOF
5505 cat confdefs.h
>>conftest.
$ac_ext
5506 cat >>conftest.
$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5517 rm -f conftest.
$ac_objext
5518 if { (ac_try
="$ac_compile"
5520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5521 *) ac_try_echo=$ac_try;;
5523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5524 (eval "$ac_compile") 2>conftest.er1
5526 grep -v '^ *+' conftest.er1 >conftest.err
5528 cat conftest.err >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } && {
5531 test -z "$ac_cxx_werror_flag" ||
5532 test ! -s conftest.err
5533 } && test -s conftest.$ac_objext; then
5534 ac_cv_prog_cxx_g=yes
5536 echo "$as_me: failed program was:" >&5
5537 sed 's/^/| /' conftest.$ac_ext >&5
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5552 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5553 if test "$ac_test_CXXFLAGS" = set; then
5554 CXXFLAGS=$ac_save_CXXFLAGS
5555 elif test $ac_cv_prog_cxx_g = yes; then
5556 if test "$GXX" = yes; then
5562 if test "$GXX" = yes; then
5569 ac_cpp='$CXXCPP $CPPFLAGS'
5570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5574 depcc="$CXX" am_compiler_list=
5576 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5577 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5578 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5579 echo $ECHO_N "(cached) $ECHO_C" >&6
5581 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5582 # We make a subdir and do the tests there. Otherwise we can end up
5583 # making bogus files that we don't know about and never remove. For
5584 # instance it was reported that on HP-UX the gcc test will end up
5585 # making a dummy file named `D
' -- because `-MD' means
`put the output
5588 # Copy depcomp to subdir because otherwise we won't find it if we're
5589 # using a relative directory.
5590 cp "$am_depcomp" conftest.dir
5592 # We will build objects and dependencies in a subdirectory because
5593 # it helps to detect inapplicable dependency modes. For instance
5594 # both Tru64's cc and ICC support -MD to output dependencies as a
5595 # side effect of compilation, but ICC will put the dependencies in
5596 # the current directory while Tru64 will put them in the object
5600 am_cv_CXX_dependencies_compiler_type=none
5601 if test "$am_compiler_list" = ""; then
5602 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5604 for depmode in $am_compiler_list; do
5605 # Setup a source with many dependencies, because some compilers
5606 # like to wrap large dependency lists on column 80 (with \), and
5607 # we should not choose a depcomp mode which is confused by this.
5609 # We need to recreate these files for each test, as the compiler may
5610 # overwrite some of them when testing with obscure command lines.
5611 # This happens at least with the AIX C compiler.
5613 for i in 1 2 3 4 5 6; do
5614 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5615 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5616 # Solaris 8's
{/usr
,}/bin
/sh.
5617 touch sub
/conftst
$i.h
5619 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5623 # after this tag, mechanisms are not by side-effect, so they'll
5624 # only be used when explicitly requested
5625 if test "x$enable_dependency_tracking" = xyes
; then
5633 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5634 # mode. It turns out that the SunPro C++ compiler does not properly
5635 # handle `-M -o', and we need to detect this.
5636 if depmode
=$depmode \
5637 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5638 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5639 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5640 >/dev
/null
2>conftest.err
&&
5641 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5642 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5643 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5644 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5645 # icc doesn't choke on unknown options, it will just issue warnings
5646 # or remarks (even with -Werror). So we grep stderr for any message
5647 # that says an option was ignored or not supported.
5648 # When given -MP, icc 7.0 and 7.1 complain thusly:
5649 # icc: Command line warning: ignoring option '-M'; no argument required
5650 # The diagnosis changed in icc 8.0:
5651 # icc: Command line remark: option '-MP' not supported
5652 if (grep 'ignoring option' conftest.err ||
5653 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5654 am_cv_CXX_dependencies_compiler_type
=$depmode
5663 am_cv_CXX_dependencies_compiler_type
=none
5667 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5668 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5669 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5672 test "x$enable_dependency_tracking" != xno \
5673 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5674 am__fastdepCXX_TRUE
=
5675 am__fastdepCXX_FALSE
='#'
5677 am__fastdepCXX_TRUE
='#'
5678 am__fastdepCXX_FALSE
=
5684 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5685 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5686 (test "X$CXX" != "Xg++"))) ; then
5688 ac_cpp
='$CXXCPP $CPPFLAGS'
5689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5692 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5693 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5694 if test -z "$CXXCPP"; then
5695 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 # Double quotes because CXXCPP needs to be expanded
5699 for CXXCPP
in "$CXX -E" "/lib/cpp"
5702 for ac_cxx_preproc_warn_flag
in '' yes
5704 # Use a header file that comes with gcc, so configuring glibc
5705 # with a fresh cross-compiler works.
5706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707 # <limits.h> exists even on freestanding compilers.
5708 # On the NeXT, cc -E runs the code through the compiler's parser,
5709 # not just through cpp. "Syntax error" is here to catch this case.
5710 cat >conftest.
$ac_ext <<_ACEOF
5713 cat confdefs.h
>>conftest.
$ac_ext
5714 cat >>conftest.
$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5717 # include <limits.h>
5719 # include <assert.h>
5723 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5731 grep -v '^ *+' conftest.er1 >conftest.err
5733 cat conftest.err >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } >/dev/null && {
5736 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5737 test ! -s conftest.err
5741 echo "$as_me: failed program was:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5744 # Broken: fails on valid input.
5748 rm -f conftest.err conftest.$ac_ext
5750 # OK, works on sane cases. Now check whether nonexistent headers
5751 # can be detected and how.
5752 cat >conftest.$ac_ext <<_ACEOF
5755 cat confdefs.h >>conftest.$ac_ext
5756 cat >>conftest.$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5758 #include <ac_nonexistent.h>
5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
5762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5763 *) ac_try_echo
=$ac_try;;
5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5768 grep -v '^ *+' conftest.er1
>conftest.err
5770 cat conftest.err
>&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } >/dev
/null
&& {
5773 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5774 test ! -s conftest.err
5776 # Broken: success on invalid input.
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 # Passes both tests.
5787 rm -f conftest.err conftest.
$ac_ext
5790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5791 rm -f conftest.err conftest.
$ac_ext
5792 if $ac_preproc_ok; then
5797 ac_cv_prog_CXXCPP
=$CXXCPP
5800 CXXCPP
=$ac_cv_prog_CXXCPP
5802 ac_cv_prog_CXXCPP
=$CXXCPP
5804 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5805 echo "${ECHO_T}$CXXCPP" >&6; }
5807 for ac_cxx_preproc_warn_flag
in '' yes
5809 # Use a header file that comes with gcc, so configuring glibc
5810 # with a fresh cross-compiler works.
5811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5812 # <limits.h> exists even on freestanding compilers.
5813 # On the NeXT, cc -E runs the code through the compiler's parser,
5814 # not just through cpp. "Syntax error" is here to catch this case.
5815 cat >conftest.
$ac_ext <<_ACEOF
5818 cat confdefs.h
>>conftest.
$ac_ext
5819 cat >>conftest.
$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5822 # include <limits.h>
5824 # include <assert.h>
5828 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } >/dev/null && {
5841 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5842 test ! -s conftest.err
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 # Broken: fails on valid input.
5853 rm -f conftest.err conftest.$ac_ext
5855 # OK, works on sane cases. Now check whether nonexistent headers
5856 # can be detected and how.
5857 cat >conftest.$ac_ext <<_ACEOF
5860 cat confdefs.h >>conftest.$ac_ext
5861 cat >>conftest.$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5863 #include <ac_nonexistent.h>
5865 if { (ac_try="$ac_cpp conftest.$ac_ext"
5867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5868 *) ac_try_echo
=$ac_try;;
5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5873 grep -v '^ *+' conftest.er1
>conftest.err
5875 cat conftest.err
>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } >/dev
/null
&& {
5878 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5879 test ! -s conftest.err
5881 # Broken: success on invalid input.
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.
$ac_ext >&5
5887 # Passes both tests.
5892 rm -f conftest.err conftest.
$ac_ext
5895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5896 rm -f conftest.err conftest.
$ac_ext
5897 if $ac_preproc_ok; then
5900 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5901 See \`config.log' for more details." >&5
5902 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5903 See \`config.log' for more details." >&2;}
5904 { (exit 1); exit 1; }; }
5908 ac_cpp
='$CXXCPP $CPPFLAGS'
5909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5917 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5918 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5920 if test -n "$ac_tool_prefix"; then
5921 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
5923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5924 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5927 if test "${ac_cv_prog_F77+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 if test -n "$F77"; then
5931 ac_cv_prog_F77
="$F77" # Let the user override the test.
5933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir
=.
5938 for ac_exec_ext
in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 if test -n "$F77"; then
5952 { echo "$as_me:$LINENO: result: $F77" >&5
5953 echo "${ECHO_T}$F77" >&6; }
5955 { echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6; }
5960 test -n "$F77" && break
5963 if test -z "$F77"; then
5965 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
5967 # Extract the first word of "$ac_prog", so it can be a program name with args.
5968 set dummy
$ac_prog; ac_word
=$2
5969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5971 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 if test -n "$ac_ct_F77"; then
5975 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir
=.
5982 for ac_exec_ext
in '' $ac_executable_extensions; do
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 ac_cv_prog_ac_ct_F77
="$ac_prog"
5985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5995 if test -n "$ac_ct_F77"; then
5996 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5997 echo "${ECHO_T}$ac_ct_F77" >&6; }
5999 { echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6; }
6004 test -n "$ac_ct_F77" && break
6007 if test "x$ac_ct_F77" = x
; then
6010 case $cross_compiling:$ac_tool_warned in
6012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6013 whose name does not start with the host triplet. If you think this
6014 configuration is useful to you, please write to autoconf@gnu.org." >&5
6015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6016 whose name does not start with the host triplet. If you think this
6017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6018 ac_tool_warned
=yes ;;
6025 # Provide some information about the compiler.
6026 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6027 ac_compiler
=`set X $ac_compile; echo $2`
6028 { (ac_try
="$ac_compiler --version >&5"
6030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6031 *) ac_try_echo=$ac_try;;
6033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6034 (eval "$ac_compiler --version >&5") 2>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }
6038 { (ac_try="$ac_compiler -v >&5"
6040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6041 *) ac_try_echo
=$ac_try;;
6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6044 (eval "$ac_compiler -v >&5") 2>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }
6048 { (ac_try
="$ac_compiler -V >&5"
6050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_compiler -V >&5") 2>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }
6060 # If we don't use `.F
' as extension, the preprocessor is not run on the
6061 # input file. (Note that this only needs to work for GNU compilers.)
6064 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6065 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6066 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6069 cat >conftest.$ac_ext <<_ACEOF
6077 rm -f conftest.$ac_objext
6078 if { (ac_try="$ac_compile"
6080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084 (eval "$ac_compile") 2>conftest.er1
6086 grep -v '^
*+' conftest.er1 >conftest.err
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } && {
6091 test -z "$ac_f77_werror_flag" ||
6092 test ! -s conftest.err
6093 } && test -s conftest.$ac_objext; then
6096 echo "$as_me: failed program was:" >&5
6097 sed 's
/^
/|
/' conftest.$ac_ext >&5
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6106 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6107 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6109 ac_test_FFLAGS=${FFLAGS+set}
6110 ac_save_FFLAGS=$FFLAGS
6112 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6113 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6114 if test "${ac_cv_prog_f77_g+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 cat >conftest.$ac_ext <<_ACEOF
6123 rm -f conftest.$ac_objext
6124 if { (ac_try="$ac_compile"
6126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6127 *) ac_try_echo=$ac_try;;
6129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6130 (eval "$ac_compile") 2>conftest.er1
6132 grep -v '^
*+' conftest.er1 >conftest.err
6134 cat conftest.err >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } && {
6137 test -z "$ac_f77_werror_flag" ||
6138 test ! -s conftest.err
6139 } && test -s conftest.$ac_objext; then
6140 ac_cv_prog_f77_g=yes
6142 echo "$as_me: failed program was:" >&5
6143 sed 's
/^
/|
/' conftest.$ac_ext >&5
6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6152 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6153 if test "$ac_test_FFLAGS" = set; then
6154 FFLAGS=$ac_save_FFLAGS
6155 elif test $ac_cv_prog_f77_g = yes; then
6156 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6162 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6169 G77=`test $ac_compiler_gnu = yes && echo yes`
6171 ac_cpp='$CPP $CPPFLAGS'
6172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6173 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6178 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6180 # find the maximum length of command line arguments
6181 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6182 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6183 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 # On DJGPP, this test can blow up pretty badly due to problems in libc
6192 # (any single argument exceeding 2000 bytes causes a buffer overrun
6193 # during glob expansion). Even if it were fixed, the result of this
6194 # check would be larger than it should be.
6195 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6199 # Under GNU Hurd, this test is not required because there is
6200 # no limit to the length of command line arguments.
6201 # Libtool will interpret -1 as no limit whatsoever
6202 lt_cv_sys_max_cmd_len
=-1;
6206 # On Win9x/ME, this test blows up -- it succeeds, but takes
6207 # about 5 minutes as the teststring grows exponentially.
6208 # Worse, since 9x/ME are not pre-emptively multitasking,
6209 # you end up with a "frozen" computer, even though with patience
6210 # the test eventually succeeds (with a max line length of 256k).
6211 # Instead, let's just punt: use the minimum linelength reported by
6212 # all of the supported platforms: 8192 (on NT/2K/XP).
6213 lt_cv_sys_max_cmd_len
=8192;
6217 # On AmigaOS with pdksh, this test takes hours, literally.
6218 # So we just punt and use a minimum line length of 8192.
6219 lt_cv_sys_max_cmd_len
=8192;
6222 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6223 # This has been around since 386BSD, at least. Likely further.
6224 if test -x /sbin
/sysctl
; then
6225 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6226 elif test -x /usr
/sbin
/sysctl
; then
6227 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6229 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6231 # And add a safety zone
6232 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6233 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6237 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6238 lt_cv_sys_max_cmd_len
=196608
6242 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6243 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6244 # nice to cause kernel panics so lets avoid the loop below.
6245 # First set a reasonable default.
6246 lt_cv_sys_max_cmd_len
=16384
6248 if test -x /sbin
/sysconfig
; then
6249 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6250 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6255 lt_cv_sys_max_cmd_len
=102400
6257 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6258 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6259 if test -n "$kargmax"; then
6260 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6262 lt_cv_sys_max_cmd_len
=32768
6266 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6267 if test -n "$lt_cv_sys_max_cmd_len"; then
6268 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6269 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6271 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6272 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6273 = "XX$teststring") >/dev
/null
2>&1 &&
6274 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6275 lt_cv_sys_max_cmd_len
=$new_result &&
6276 test $i != 17 # 1/2 MB should be enough
6279 teststring
=$teststring$teststring
6282 # Add a significant safety factor because C++ compilers can tack on massive
6283 # amounts of additional arguments before passing them to the linker.
6284 # It appears as though 1/2 is a usable value.
6285 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6292 if test -n $lt_cv_sys_max_cmd_len ; then
6293 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6294 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6296 { echo "$as_me:$LINENO: result: none" >&5
6297 echo "${ECHO_T}none" >&6; }
6304 # Check for command to grab the raw symbol name followed by C symbol from nm.
6305 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6306 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6307 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 # These are sane defaults that work on at least a few old systems.
6312 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6314 # Character class describing NM global symbol codes.
6315 symcode
='[BCDEGRST]'
6317 # Regexp to match symbols that can be accessed directly from C.
6318 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6320 # Transform an extracted symbol line into a proper C declaration
6321 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6323 # Transform an extracted symbol line into symbol name and symbol address
6324 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'"
6326 # Define system-specific variables.
6331 cygwin
* | mingw
* | pw32
*)
6332 symcode
='[ABCDGISTW]'
6334 hpux
*) # Its linker distinguishes data from code symbols
6335 if test "$host_cpu" = ia64
; then
6336 symcode
='[ABCDEGRST]'
6338 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6339 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'"
6341 linux
* | k
*bsd
*-gnu)
6342 if test "$host_cpu" = ia64
; then
6343 symcode
='[ABCDGIRSTW]'
6344 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6345 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6349 symcode
='[BCDEGRST]'
6352 symcode
='[BCDEGQRST]'
6363 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6371 # Handle CRLF in mingw tool chain
6375 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6379 # If we're using GNU nm, then use its standard symbol codes.
6380 case `$NM -V 2>&1` in
6381 *GNU
* |
*'with BFD'*)
6382 symcode
='[ABCDGIRSTW]' ;;
6385 # Try without a prefix undercore, then with it.
6386 for ac_symprfx
in "" "_"; do
6388 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6389 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6391 # Write the raw and C identifiers.
6392 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6394 # Check to see that the pipe works correctly.
6398 cat > conftest.
$ac_ext <<EOF
6403 void nm_test_func(){}
6407 int main(){nm_test_var='a';nm_test_func();return(0);}
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411 (eval $ac_compile) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); }; then
6415 # Now try to grab the symbols.
6417 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6418 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); } && test -s "$nlist"; then
6422 # Try sorting and uniquifying the output.
6423 if sort "$nlist" |
uniq > "$nlist"T
; then
6424 mv -f "$nlist"T
"$nlist"
6429 # Make sure that we snagged all the symbols we need.
6430 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6431 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6432 cat <<EOF > conftest.$ac_ext
6438 # Now generate the symbol file.
6439 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6441 cat <<EOF >> conftest.$ac_ext
6442 #if defined (__STDC__) && __STDC__
6443 # define lt_ptr_t void *
6445 # define lt_ptr_t char *
6449 /* The mapping between symbol names and symbols. */
6454 lt_preloaded_symbols[] =
6457 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6458 cat <<\EOF
>> conftest.
$ac_ext
6466 # Now try linking the two files.
6467 mv conftest.
$ac_objext conftstm.
$ac_objext
6468 lt_save_LIBS
="$LIBS"
6469 lt_save_CFLAGS
="$CFLAGS"
6470 LIBS
="conftstm.$ac_objext"
6471 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6473 (eval $ac_link) 2>&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6479 LIBS
="$lt_save_LIBS"
6480 CFLAGS
="$lt_save_CFLAGS"
6482 echo "cannot find nm_test_func in $nlist" >&5
6485 echo "cannot find nm_test_var in $nlist" >&5
6488 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6491 echo "$progname: failed program was:" >&5
6492 cat conftest.
$ac_ext >&5
6494 rm -f conftest
* conftst
*
6496 # Do not use the global_symbol_pipe unless it works.
6497 if test "$pipe_works" = yes; then
6500 lt_cv_sys_global_symbol_pipe
=
6506 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6507 lt_cv_sys_global_symbol_to_cdecl
=
6509 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6510 { echo "$as_me:$LINENO: result: failed" >&5
6511 echo "${ECHO_T}failed" >&6; }
6513 { echo "$as_me:$LINENO: result: ok" >&5
6514 echo "${ECHO_T}ok" >&6; }
6517 { echo "$as_me:$LINENO: checking for objdir" >&5
6518 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6519 if test "${lt_cv_objdir+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 rm -f .libs
2>/dev
/null
6523 mkdir .libs
2>/dev
/null
6524 if test -d .libs
; then
6527 # MS-DOS does not allow filenames that begin with a dot.
6530 rmdir .libs
2>/dev
/null
6532 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6533 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6534 objdir
=$lt_cv_objdir
6542 # AIX sometimes has problems with the GCC collect2 program. For some
6543 # reason, if we set the COLLECT_NAMES environment variable, the problems
6544 # vanish in a puff of smoke.
6545 if test "X${COLLECT_NAMES+set}" != Xset
; then
6547 export COLLECT_NAMES
6552 # Sed substitution that helps us do robust quoting. It backslashifies
6553 # metacharacters that are still active within double-quoted strings.
6554 Xsed
='sed -e 1s/^X//'
6555 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6557 # Same as above, but do not quote variable references.
6558 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6560 # Sed substitution to delay expansion of an escaped shell variable in a
6561 # double_quote_subst'ed string.
6562 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6564 # Sed substitution to avoid accidental globbing in evaled expressions
6565 no_glob_subst
='s/\*/\\\*/g'
6571 default_ofile
=libtool
6572 can_build_shared
=yes
6574 # All known linkers require a `.a' archive for static linking (except MSVC,
6575 # which needs '.lib').
6577 ltmain
="$ac_aux_dir/ltmain.sh"
6578 ofile
="$default_ofile"
6579 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6581 if test -n "$ac_tool_prefix"; then
6582 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6583 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6586 if test "${ac_cv_prog_AR+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 if test -n "$AR"; then
6590 ac_cv_prog_AR
="$AR" # Let the user override the test.
6592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir
=.
6597 for ac_exec_ext
in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 if test -n "$AR"; then
6611 { echo "$as_me:$LINENO: result: $AR" >&5
6612 echo "${ECHO_T}$AR" >&6; }
6614 { echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6; }
6620 if test -z "$ac_cv_prog_AR"; then
6622 # Extract the first word of "ar", so it can be a program name with args.
6623 set dummy
ar; ac_word
=$2
6624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 if test -n "$ac_ct_AR"; then
6630 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir
=.
6637 for ac_exec_ext
in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_ac_ct_AR
="ar"
6640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6650 if test -n "$ac_ct_AR"; then
6651 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6652 echo "${ECHO_T}$ac_ct_AR" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6658 if test "x$ac_ct_AR" = x
; then
6661 case $cross_compiling:$ac_tool_warned in
6663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6664 whose name does not start with the host triplet. If you think this
6665 configuration is useful to you, please write to autoconf@gnu.org." >&5
6666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6667 whose name does not start with the host triplet. If you think this
6668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6669 ac_tool_warned
=yes ;;
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6679 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6682 if test "${ac_cv_prog_RANLIB+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 if test -n "$RANLIB"; then
6686 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 RANLIB
=$ac_cv_prog_RANLIB
6706 if test -n "$RANLIB"; then
6707 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6708 echo "${ECHO_T}$RANLIB" >&6; }
6710 { echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6; }
6716 if test -z "$ac_cv_prog_RANLIB"; then
6717 ac_ct_RANLIB
=$RANLIB
6718 # Extract the first word of "ranlib", so it can be a program name with args.
6719 set dummy ranlib
; ac_word
=$2
6720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6722 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 if test -n "$ac_ct_RANLIB"; then
6726 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir
=.
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6746 if test -n "$ac_ct_RANLIB"; then
6747 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6748 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6754 if test "x$ac_ct_RANLIB" = x
; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6760 whose name does not start with the host triplet. If you think this
6761 configuration is useful to you, please write to autoconf@gnu.org." >&5
6762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6763 whose name does not start with the host triplet. If you think this
6764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6765 ac_tool_warned
=yes ;;
6767 RANLIB
=$ac_ct_RANLIB
6770 RANLIB
="$ac_cv_prog_RANLIB"
6773 if test -n "$ac_tool_prefix"; then
6774 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6775 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6778 if test "${ac_cv_prog_STRIP+set}" = set; then
6779 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 if test -n "$STRIP"; then
6782 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir
=.
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 STRIP
=$ac_cv_prog_STRIP
6802 if test -n "$STRIP"; then
6803 { echo "$as_me:$LINENO: result: $STRIP" >&5
6804 echo "${ECHO_T}$STRIP" >&6; }
6806 { echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6; }
6812 if test -z "$ac_cv_prog_STRIP"; then
6814 # Extract the first word of "strip", so it can be a program name with args.
6815 set dummy strip
; ac_word
=$2
6816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6818 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 if test -n "$ac_ct_STRIP"; then
6822 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir
=.
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_ac_ct_STRIP
="strip"
6832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6842 if test -n "$ac_ct_STRIP"; then
6843 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6844 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6846 { echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6; }
6850 if test "x$ac_ct_STRIP" = x
; then
6853 case $cross_compiling:$ac_tool_warned in
6855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6856 whose name does not start with the host triplet. If you think this
6857 configuration is useful to you, please write to autoconf@gnu.org." >&5
6858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6859 whose name does not start with the host triplet. If you think this
6860 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6861 ac_tool_warned
=yes ;;
6866 STRIP
="$ac_cv_prog_STRIP"
6871 old_CFLAGS
="$CFLAGS"
6873 # Set sane defaults for various variables
6874 test -z "$AR" && AR
=ar
6875 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6876 test -z "$AS" && AS
=as
6877 test -z "$CC" && CC
=cc
6878 test -z "$LTCC" && LTCC
=$CC
6879 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6880 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6881 test -z "$LD" && LD
=ld
6882 test -z "$LN_S" && LN_S
="ln -s"
6883 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6884 test -z "$NM" && NM
=nm
6885 test -z "$SED" && SED
=sed
6886 test -z "$OBJDUMP" && OBJDUMP
=objdump
6887 test -z "$RANLIB" && RANLIB
=:
6888 test -z "$STRIP" && STRIP
=:
6889 test -z "$ac_objext" && ac_objext
=o
6891 # Determine commands to create old-style static archives.
6892 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6893 old_postinstall_cmds
='chmod 644 $oldlib'
6894 old_postuninstall_cmds
=
6896 if test -n "$RANLIB"; then
6899 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6902 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6905 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6908 for cc_temp
in $compiler""; do
6910 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6911 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6916 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6919 # Only perform the check for file, if the check method requires it
6920 case $deplibs_check_method in
6922 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6923 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6924 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6925 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6933 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6934 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6935 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6936 for ac_dir
in $ac_dummy; do
6938 test -z "$ac_dir" && ac_dir
=.
6939 if test -f $ac_dir/${ac_tool_prefix}file; then
6940 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6941 if test -n "$file_magic_test_file"; then
6942 case $deplibs_check_method in
6944 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6945 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6946 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6947 $EGREP "$file_magic_regex" > /dev
/null
; then
6952 *** Warning: the command libtool uses to detect shared libraries,
6953 *** $file_magic_cmd, produces output that libtool cannot recognize.
6954 *** The result is that libtool may fail to recognize shared libraries
6955 *** as such. This will affect the creation of libtool libraries that
6956 *** depend on shared libraries, but programs linked with such libtool
6957 *** libraries will work regardless of this problem. Nevertheless, you
6958 *** may want to report the problem to your system manager and/or to
6959 *** bug-libtool@gnu.org
6969 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6974 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6975 if test -n "$MAGIC_CMD"; then
6976 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6977 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6979 { echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6; }
6983 if test -z "$lt_cv_path_MAGIC_CMD"; then
6984 if test -n "$ac_tool_prefix"; then
6985 { echo "$as_me:$LINENO: checking for file" >&5
6986 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6987 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6995 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6996 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6997 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6998 for ac_dir
in $ac_dummy; do
7000 test -z "$ac_dir" && ac_dir
=.
7001 if test -f $ac_dir/file; then
7002 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7003 if test -n "$file_magic_test_file"; then
7004 case $deplibs_check_method in
7006 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7007 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7008 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7009 $EGREP "$file_magic_regex" > /dev
/null
; then
7014 *** Warning: the command libtool uses to detect shared libraries,
7015 *** $file_magic_cmd, produces output that libtool cannot recognize.
7016 *** The result is that libtool may fail to recognize shared libraries
7017 *** as such. This will affect the creation of libtool libraries that
7018 *** depend on shared libraries, but programs linked with such libtool
7019 *** libraries will work regardless of this problem. Nevertheless, you
7020 *** may want to report the problem to your system manager and/or to
7021 *** bug-libtool@gnu.org
7031 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7036 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7037 if test -n "$MAGIC_CMD"; then
7038 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7039 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7041 { echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6; }
7057 # Check whether --enable-libtool-lock was given.
7058 if test "${enable_libtool_lock+set}" = set; then
7059 enableval
=$enable_libtool_lock;
7062 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7065 # Check whether --with-pic was given.
7066 if test "${with_pic+set}" = set; then
7067 withval
=$with_pic; pic_mode
="$withval"
7072 test -z "$pic_mode" && pic_mode
=default
7074 # Use C for the default configuration in the libtool script
7078 ac_cpp
='$CPP $CPPFLAGS'
7079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7084 # Source file extension for C test sources.
7087 # Object file extension for compiled C test sources.
7091 # Code to be used in simple compile tests
7092 lt_simple_compile_test_code
="int some_variable = 0;"
7094 # Code to be used in simple link tests
7095 lt_simple_link_test_code
='int main(){return(0);}'
7098 # If no C compiler was specified, use CC.
7101 # If no C compiler flags were specified, use CFLAGS.
7102 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7104 # Allow CC to be a program name with arguments.
7108 # save warnings/boilerplate of simple test code
7109 ac_outfile
=conftest.
$ac_objext
7110 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7111 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7112 _lt_compiler_boilerplate
=`cat conftest.err`
7115 ac_outfile
=conftest.
$ac_objext
7116 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7117 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7118 _lt_linker_boilerplate
=`cat conftest.err`
7123 lt_prog_compiler_no_builtin_flag
=
7125 if test "$GCC" = yes; then
7126 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7129 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7130 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7131 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 lt_cv_prog_compiler_rtti_exceptions
=no
7135 ac_outfile
=conftest.
$ac_objext
7136 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7137 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7138 # Insert the option either (1) after the last *FLAGS variable, or
7139 # (2) before a word containing "conftest.", or (3) at the end.
7140 # Note that $ac_compile itself does not contain backslashes and begins
7141 # with a dollar sign (not a hyphen), so the echo should work correctly.
7142 # The option is referenced via a variable to avoid confusing sed.
7143 lt_compile
=`echo "$ac_compile" | $SED \
7144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7146 -e 's:$: $lt_compiler_flag:'`
7147 (eval echo "\"\$as_me:7147: $lt_compile\"" >&5)
7148 (eval "$lt_compile" 2>conftest.err
)
7150 cat conftest.err
>&5
7151 echo "$as_me:7151: \$? = $ac_status" >&5
7152 if (exit $ac_status) && test -s "$ac_outfile"; then
7153 # The compiler can only warn and ignore the option if not recognized
7154 # So say no if there are warnings other than the usual output.
7155 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7156 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7157 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7158 lt_cv_prog_compiler_rtti_exceptions
=yes
7164 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7165 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7167 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7168 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7175 lt_prog_compiler_wl
=
7176 lt_prog_compiler_pic
=
7177 lt_prog_compiler_static
=
7179 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7180 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7182 if test "$GCC" = yes; then
7183 lt_prog_compiler_wl
='-Wl,'
7184 lt_prog_compiler_static
='-static'
7188 # All AIX code is PIC.
7189 if test "$host_cpu" = ia64
; then
7190 # AIX 5 now supports IA64 processor
7191 lt_prog_compiler_static
='-Bstatic'
7196 # FIXME: we need at least 68020 code to build shared libraries, but
7197 # adding the `-m68020' flag to GCC prevents building anything better,
7199 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7202 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7203 # PIC is the default for these OSes.
7206 mingw
* | cygwin
* | pw32
* | os2
*)
7207 # This hack is so that the source file can tell whether it is being
7208 # built for inclusion in a dll (and should export symbols for example).
7209 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7210 # (--disable-auto-import) libraries
7211 lt_prog_compiler_pic
='-DDLL_EXPORT'
7214 darwin
* | rhapsody
*)
7215 # PIC is the default on this platform
7216 # Common symbols not allowed in MH_DYLIB files
7217 lt_prog_compiler_pic
='-fno-common'
7221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7222 # Instead, we relocate shared libraries at runtime.
7226 # Just because we use GCC doesn't mean we suddenly get shared libraries
7227 # on systems that don't support them.
7228 lt_prog_compiler_can_build_shared
=no
7233 if test -d /usr
/nec
; then
7234 lt_prog_compiler_pic
=-Kconform_pic
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7246 lt_prog_compiler_pic
='-fPIC'
7252 lt_prog_compiler_pic
='-fPIC'
7256 # PORTME Check for flag to pass linker flags through the system compiler.
7259 lt_prog_compiler_wl
='-Wl,'
7260 if test "$host_cpu" = ia64
; then
7261 # AIX 5 now supports IA64 processor
7262 lt_prog_compiler_static
='-Bstatic'
7264 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7268 # PIC is the default on this platform
7269 # Common symbols not allowed in MH_DYLIB files
7270 case $cc_basename in
7272 lt_prog_compiler_pic
='-qnocommon'
7273 lt_prog_compiler_wl
='-Wl,'
7278 mingw
* | cygwin
* | pw32
* | os2
*)
7279 # This hack is so that the source file can tell whether it is being
7280 # built for inclusion in a dll (and should export symbols for example).
7281 lt_prog_compiler_pic
='-DDLL_EXPORT'
7284 hpux9
* | hpux10
* | hpux11
*)
7285 lt_prog_compiler_wl
='-Wl,'
7286 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7293 lt_prog_compiler_pic
='+Z'
7296 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7297 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7300 irix5
* | irix6
* | nonstopux
*)
7301 lt_prog_compiler_wl
='-Wl,'
7302 # PIC (with -KPIC) is the default.
7303 lt_prog_compiler_static
='-non_shared'
7307 lt_prog_compiler_pic
='-KPIC'
7308 lt_prog_compiler_static
='-Bstatic'
7311 linux
* | k
*bsd
*-gnu)
7312 case $cc_basename in
7314 lt_prog_compiler_wl
='-Wl,'
7315 lt_prog_compiler_pic
='-KPIC'
7316 lt_prog_compiler_static
='-static'
7318 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7319 # Portland Group compilers (*not* the Pentium gcc compiler,
7320 # which looks to be a dead project)
7321 lt_prog_compiler_wl
='-Wl,'
7322 lt_prog_compiler_pic
='-fpic'
7323 lt_prog_compiler_static
='-Bstatic'
7326 lt_prog_compiler_wl
='-Wl,'
7327 # All Alpha code is PIC.
7328 lt_prog_compiler_static
='-non_shared'
7331 case `$CC -V 2>&1 | sed 5q` in
7334 lt_prog_compiler_pic
='-KPIC'
7335 lt_prog_compiler_static
='-Bstatic'
7336 lt_prog_compiler_wl
='-Wl,'
7339 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7340 lt_prog_compiler_pic
='-KPIC'
7341 lt_prog_compiler_static
='-Bstatic'
7342 lt_prog_compiler_wl
=''
7349 osf3
* | osf4
* | osf5
*)
7350 lt_prog_compiler_wl
='-Wl,'
7351 # All OSF/1 code is PIC.
7352 lt_prog_compiler_static
='-non_shared'
7356 lt_prog_compiler_static
='-non_shared'
7360 lt_prog_compiler_pic
='-KPIC'
7361 lt_prog_compiler_static
='-Bstatic'
7362 case $cc_basename in
7364 lt_prog_compiler_wl
='-Qoption ld ';;
7366 lt_prog_compiler_wl
='-Wl,';;
7371 lt_prog_compiler_wl
='-Qoption ld '
7372 lt_prog_compiler_pic
='-PIC'
7373 lt_prog_compiler_static
='-Bstatic'
7376 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7377 lt_prog_compiler_wl
='-Wl,'
7378 lt_prog_compiler_pic
='-KPIC'
7379 lt_prog_compiler_static
='-Bstatic'
7383 if test -d /usr
/nec
;then
7384 lt_prog_compiler_pic
='-Kconform_pic'
7385 lt_prog_compiler_static
='-Bstatic'
7389 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7390 lt_prog_compiler_wl
='-Wl,'
7391 lt_prog_compiler_pic
='-KPIC'
7392 lt_prog_compiler_static
='-Bstatic'
7396 lt_prog_compiler_wl
='-Wl,'
7397 lt_prog_compiler_can_build_shared
=no
7401 lt_prog_compiler_pic
='-pic'
7402 lt_prog_compiler_static
='-Bstatic'
7406 lt_prog_compiler_can_build_shared
=no
7411 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7412 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7415 # Check to make sure the PIC flag actually works.
7417 if test -n "$lt_prog_compiler_pic"; then
7419 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7420 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7421 if test "${lt_prog_compiler_pic_works+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 lt_prog_compiler_pic_works
=no
7425 ac_outfile
=conftest.
$ac_objext
7426 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7427 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7428 # Insert the option either (1) after the last *FLAGS variable, or
7429 # (2) before a word containing "conftest.", or (3) at the end.
7430 # Note that $ac_compile itself does not contain backslashes and begins
7431 # with a dollar sign (not a hyphen), so the echo should work correctly.
7432 # The option is referenced via a variable to avoid confusing sed.
7433 lt_compile
=`echo "$ac_compile" | $SED \
7434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7436 -e 's:$: $lt_compiler_flag:'`
7437 (eval echo "\"\$as_me:7437: $lt_compile\"" >&5)
7438 (eval "$lt_compile" 2>conftest.err
)
7440 cat conftest.err
>&5
7441 echo "$as_me:7441: \$? = $ac_status" >&5
7442 if (exit $ac_status) && test -s "$ac_outfile"; then
7443 # The compiler can only warn and ignore the option if not recognized
7444 # So say no if there are warnings other than the usual output.
7445 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7446 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7447 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7448 lt_prog_compiler_pic_works
=yes
7454 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7455 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7457 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7458 case $lt_prog_compiler_pic in
7460 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7463 lt_prog_compiler_pic
=
7464 lt_prog_compiler_can_build_shared
=no
7469 # For platforms which do not support PIC, -DPIC is meaningless:
7471 lt_prog_compiler_pic
=
7474 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7479 # Check to make sure the static flag actually works.
7481 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7482 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7483 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7484 if test "${lt_prog_compiler_static_works+set}" = set; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 lt_prog_compiler_static_works
=no
7488 save_LDFLAGS
="$LDFLAGS"
7489 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7490 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7491 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7492 # The linker can only warn and ignore the option if not recognized
7493 # So say no if there are warnings
7494 if test -s conftest.err
; then
7495 # Append any errors to the config.log.
7496 cat conftest.err
1>&5
7497 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7499 if diff conftest.exp conftest.er2
>/dev
/null
; then
7500 lt_prog_compiler_static_works
=yes
7503 lt_prog_compiler_static_works
=yes
7507 LDFLAGS
="$save_LDFLAGS"
7510 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7511 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7513 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7516 lt_prog_compiler_static
=
7520 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7521 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7522 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 lt_cv_prog_compiler_c_o
=no
7526 $rm -r conftest
2>/dev
/null
7530 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7532 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7533 # Insert the option either (1) after the last *FLAGS variable, or
7534 # (2) before a word containing "conftest.", or (3) at the end.
7535 # Note that $ac_compile itself does not contain backslashes and begins
7536 # with a dollar sign (not a hyphen), so the echo should work correctly.
7537 lt_compile
=`echo "$ac_compile" | $SED \
7538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7540 -e 's:$: $lt_compiler_flag:'`
7541 (eval echo "\"\$as_me:7541: $lt_compile\"" >&5)
7542 (eval "$lt_compile" 2>out
/conftest.err
)
7544 cat out
/conftest.err
>&5
7545 echo "$as_me:7545: \$? = $ac_status" >&5
7546 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7548 # The compiler can only warn and ignore the option if not recognized
7549 # So say no if there are warnings
7550 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7551 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7552 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7553 lt_cv_prog_compiler_c_o
=yes
7558 # SGI C++ compiler will create directory out/ii_files/ for
7559 # template instantiation
7560 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7561 $rm out
/* && rmdir out
7567 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7568 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7571 hard_links
="nottested"
7572 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7573 # do not overwrite the value of need_locks provided by the user
7574 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7575 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7578 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7580 ln conftest.a conftest.b
2>&5 || hard_links
=no
7581 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7582 { echo "$as_me:$LINENO: result: $hard_links" >&5
7583 echo "${ECHO_T}$hard_links" >&6; }
7584 if test "$hard_links" = no
; then
7585 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7586 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7593 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7594 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7597 allow_undefined_flag
=
7598 enable_shared_with_static_runtimes
=no
7600 archive_expsym_cmds
=
7601 old_archive_From_new_cmds
=
7602 old_archive_from_expsyms_cmds
=
7603 export_dynamic_flag_spec
=
7604 whole_archive_flag_spec
=
7605 thread_safe_flag_spec
=
7606 hardcode_libdir_flag_spec
=
7607 hardcode_libdir_flag_spec_ld
=
7608 hardcode_libdir_separator
=
7611 hardcode_shlibpath_var
=unsupported
7612 link_all_deplibs
=unknown
7613 hardcode_automatic
=no
7616 always_export_symbols
=no
7617 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7618 # include_expsyms should be a list of space-separated symbols to be *always*
7619 # included in the symbol list
7621 # exclude_expsyms can be an extended regexp of symbols to exclude
7622 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7623 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7624 # as well as any symbol that contains `d'.
7625 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7626 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7627 # platforms (ab)use it in PIC code, but their linkers get confused if
7628 # the symbol is explicitly referenced. Since portable code cannot
7629 # rely on this symbol name, it's probably fine to never include it in
7630 # preloaded symbol tables.
7631 extract_expsyms_cmds
=
7632 # Just being paranoid about ensuring that cc_basename is set.
7633 for cc_temp
in $compiler""; do
7635 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7636 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7641 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7644 cygwin
* | mingw
* | pw32
*)
7645 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7646 # When not using gcc, we currently assume that we are using
7647 # Microsoft Visual C++.
7648 if test "$GCC" != yes; then
7653 # we just hope/assume this is gcc and not c89 (= MSVC++)
7662 if test "$with_gnu_ld" = yes; then
7663 # If archive_cmds runs LD, not CC, wlarc should be empty
7666 # Set some defaults for GNU ld with shared library support. These
7667 # are reset later if shared libraries are not supported. Putting them
7668 # here allows them to be overridden if necessary.
7669 runpath_var
=LD_RUN_PATH
7670 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7671 export_dynamic_flag_spec
='${wl}--export-dynamic'
7672 # ancient GNU ld didn't support --whole-archive et. al.
7673 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7674 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7676 whole_archive_flag_spec
=
7678 supports_anon_versioning
=no
7679 case `$LD -v 2>/dev/null` in
7680 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7681 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7682 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7683 *\
2.11.
*) ;; # other 2.11 versions
7684 *) supports_anon_versioning
=yes ;;
7687 # See if GNU ld supports shared libraries.
7689 aix3
* | aix4
* | aix5
*)
7690 # On AIX/PPC, the GNU linker is very broken
7691 if test "$host_cpu" != ia64
; then
7695 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7696 *** to be unable to reliably create shared libraries on AIX.
7697 *** Therefore, libtool is disabling shared libraries support. If you
7698 *** really care for shared libraries, you may want to modify your PATH
7699 *** so that a non-GNU linker is found, and then restart.
7706 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)'
7707 hardcode_libdir_flag_spec
='-L$libdir'
7708 hardcode_minus_L
=yes
7710 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7711 # that the semantics of dynamic libraries on AmigaOS, at least up
7712 # to version 4, is to share data among multiple programs linked
7713 # with the same dynamic library. Since this doesn't match the
7714 # behavior of shared libraries on other platforms, we can't use
7720 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7721 allow_undefined_flag
=unsupported
7722 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7723 # support --undefined. This deserves some investigation. FIXME
7724 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7730 cygwin
* | mingw
* | pw32
*)
7731 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7732 # as there is no search path for DLLs.
7733 hardcode_libdir_flag_spec
='-L$libdir'
7734 allow_undefined_flag
=unsupported
7735 always_export_symbols
=no
7736 enable_shared_with_static_runtimes
=yes
7737 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7739 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7740 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7741 # If the export-symbols file already is a .def file (1st line
7742 # is EXPORTS), use it as is; otherwise, prepend...
7743 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7744 cp $export_symbols $output_objdir/$soname.def;
7746 echo EXPORTS > $output_objdir/$soname.def;
7747 cat $export_symbols >> $output_objdir/$soname.def;
7749 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7757 hardcode_shlibpath_var
=no
7758 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7759 export_dynamic_flag_spec
='${wl}-E'
7760 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7761 # Instead, shared libraries are loaded at an image base (0x10000000 by
7762 # default) and relocated if they conflict, which is a slow very memory
7763 # consuming and fragmenting process. To avoid this, we pick a random,
7764 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7765 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7766 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7767 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'
7770 gnu
* | linux
* | k
*bsd
*-gnu)
7771 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7773 case $cc_basename,$host_cpu in
7774 pgcc
*) # Portland Group C compiler
7775 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'
7776 tmp_addflag
=' $pic_flag'
7778 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7779 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'
7780 tmp_addflag
=' $pic_flag -Mnomain' ;;
7781 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7782 tmp_addflag
=' -i_dynamic' ;;
7783 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7784 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7785 ifc
* | ifort
*) # Intel Fortran compiler
7786 tmp_addflag
=' -nofor_main' ;;
7788 case `$CC -V 2>&1 | sed 5q` in
7789 *Sun\ C
*) # Sun C 5.9
7790 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7791 tmp_sharedflag
='-G' ;;
7792 *Sun\ F
*) # Sun Fortran 8.3
7793 tmp_sharedflag
='-G' ;;
7795 tmp_sharedflag
='-shared' ;;
7797 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7799 if test $supports_anon_versioning = yes; then
7800 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7801 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7802 $echo "local: *; };" >> $output_objdir/$libname.ver~
7803 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7811 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7812 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7816 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7821 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7825 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7826 *** create shared libraries on Solaris systems. Therefore, libtool
7827 *** is disabling shared libraries support. We urge you to upgrade GNU
7828 *** binutils to release 2.9.1 or newer. Another option is to modify
7829 *** your PATH or compiler configuration so that the native linker is
7830 *** used, and then restart.
7833 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7835 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7842 case `$LD -v 2>&1` in
7843 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7847 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7848 *** reliably create shared libraries on SCO systems. Therefore, libtool
7849 *** is disabling shared libraries support. We urge you to upgrade GNU
7850 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7851 *** your PATH or compiler configuration so that the native linker is
7852 *** used, and then restart.
7857 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7858 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7860 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7869 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7872 hardcode_shlibpath_var
=no
7876 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7878 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7885 if test "$ld_shlibs" = no
; then
7887 hardcode_libdir_flag_spec
=
7888 export_dynamic_flag_spec
=
7889 whole_archive_flag_spec
=
7892 # PORTME fill in a description of your system's linker (not GNU ld)
7895 allow_undefined_flag
=unsupported
7896 always_export_symbols
=yes
7897 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'
7898 # Note: this linker hardcodes the directories in LIBPATH if there
7899 # are no directories specified by -L.
7900 hardcode_minus_L
=yes
7901 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7902 # Neither direct hardcoding nor static linking is supported with a
7904 hardcode_direct
=unsupported
7909 if test "$host_cpu" = ia64
; then
7910 # On IA64, the linker does run time linking by default, so we don't
7911 # have to do anything special.
7912 aix_use_runtimelinking
=no
7913 exp_sym_flag
='-Bexport'
7916 # If we're using GNU nm, then we don't want the "-C" option.
7917 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7918 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7919 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'
7921 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'
7923 aix_use_runtimelinking
=no
7925 # Test if we are trying to use run time linking or normal
7926 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7927 # need to do runtime linking.
7928 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7929 for ld_flag
in $LDFLAGS; do
7930 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7931 aix_use_runtimelinking
=yes
7938 exp_sym_flag
='-bexport'
7939 no_entry_flag
='-bnoentry'
7942 # When large executables or shared objects are built, AIX ld can
7943 # have problems creating the table of contents. If linking a library
7944 # or program results in "error TOC overflow" add -mminimal-toc to
7945 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7946 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7950 hardcode_libdir_separator
=':'
7951 link_all_deplibs
=yes
7953 if test "$GCC" = yes; then
7954 case $host_os in aix4.
[012]|aix4.
[012].
*)
7955 # We only want to do this on AIX 4.2 and lower, the check
7956 # below for broken collect2 doesn't work under 4.3+
7957 collect2name
=`${CC} -print-prog-name=collect2`
7958 if test -f "$collect2name" && \
7959 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7961 # We have reworked collect2
7964 # We have old collect2
7965 hardcode_direct
=unsupported
7966 # It fails to find uninstalled libraries when the uninstalled
7967 # path is not listed in the libpath. Setting hardcode_minus_L
7968 # to unsupported forces relinking
7969 hardcode_minus_L
=yes
7970 hardcode_libdir_flag_spec
='-L$libdir'
7971 hardcode_libdir_separator
=
7975 shared_flag
='-shared'
7976 if test "$aix_use_runtimelinking" = yes; then
7977 shared_flag
="$shared_flag "'${wl}-G'
7981 if test "$host_cpu" = ia64
; then
7982 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7983 # chokes on -Wl,-G. The following line is correct:
7986 if test "$aix_use_runtimelinking" = yes; then
7987 shared_flag
='${wl}-G'
7989 shared_flag
='${wl}-bM:SRE'
7994 # It seems that -bexpall does not export symbols beginning with
7995 # underscore (_), so it is better to generate a list of symbols to export.
7996 always_export_symbols
=yes
7997 if test "$aix_use_runtimelinking" = yes; then
7998 # Warning - without using the other runtime loading flags (-brtl),
7999 # -berok will link without error, but may produce a broken library.
8000 allow_undefined_flag
='-berok'
8001 # Determine the default libpath from the value encoded in an empty executable.
8002 cat >conftest.
$ac_ext <<_ACEOF
8005 cat confdefs.h
>>conftest.
$ac_ext
8006 cat >>conftest.
$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8017 rm -f conftest.
$ac_objext conftest
$ac_exeext
8018 if { (ac_try
="$ac_link"
8020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8021 *) ac_try_echo=$ac_try;;
8023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8024 (eval "$ac_link") 2>conftest.er1
8026 grep -v '^ *+' conftest.er1 >conftest.err
8028 cat conftest.err >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest$ac_exeext &&
8034 $as_test_x conftest$ac_exeext; then
8036 lt_aix_libpath_sed='
8037 /Import File Strings/,/^$/ {
8043 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8044 # Check for a 64-bit object if we didn't find anything.
8045 if test -z "$aix_libpath"; then
8046 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8056 conftest$ac_exeext conftest.$ac_ext
8057 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8059 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8060 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"
8062 if test "$host_cpu" = ia64; then
8063 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8064 allow_undefined_flag="-z nodefs"
8065 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"
8067 # Determine the default libpath from the value encoded in an empty executable.
8068 cat >conftest.$ac_ext <<_ACEOF
8071 cat confdefs.h >>conftest.$ac_ext
8072 cat >>conftest.$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8083 rm -f conftest.$ac_objext conftest$ac_exeext
8084 if { (ac_try="$ac_link"
8086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8087 *) ac_try_echo
=$ac_try;;
8089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8090 (eval "$ac_link") 2>conftest.er1
8092 grep -v '^ *+' conftest.er1
>conftest.err
8094 cat conftest.err
>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } && {
8097 test -z "$ac_c_werror_flag" ||
8098 test ! -s conftest.err
8099 } && test -s conftest
$ac_exeext &&
8100 $as_test_x conftest
$ac_exeext; then
8102 lt_aix_libpath_sed
='
8103 /Import File Strings/,/^$/ {
8109 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8110 # Check for a 64-bit object if we didn't find anything.
8111 if test -z "$aix_libpath"; then
8112 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8115 echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.
$ac_ext >&5
8121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8122 conftest
$ac_exeext conftest.
$ac_ext
8123 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8125 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8126 # Warning - without using the other run time loading flags,
8127 # -berok will link without error, but may produce a broken library.
8128 no_undefined_flag
=' ${wl}-bernotok'
8129 allow_undefined_flag
=' ${wl}-berok'
8130 # Exported symbols can be pulled into shared objects from archives
8131 whole_archive_flag_spec
='$convenience'
8132 archive_cmds_need_lc
=yes
8133 # This is similar to how AIX traditionally builds its shared libraries.
8134 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'
8140 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)'
8141 hardcode_libdir_flag_spec
='-L$libdir'
8142 hardcode_minus_L
=yes
8143 # see comment about different semantics on the GNU ld section
8148 export_dynamic_flag_spec
=-rdynamic
8151 cygwin
* | mingw
* | pw32
*)
8152 # When not using gcc, we currently assume that we are using
8153 # Microsoft Visual C++.
8154 # hardcode_libdir_flag_spec is actually meaningless, as there is
8155 # no search path for DLLs.
8156 hardcode_libdir_flag_spec
=' '
8157 allow_undefined_flag
=unsupported
8158 # Tell ltmain to make .lib files, not .a files.
8160 # Tell ltmain to make .dll files, not .so files.
8162 # FIXME: Setting linknames here is a bad hack.
8163 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8164 # The linker will automatically build a .lib file if we build a DLL.
8165 old_archive_From_new_cmds
='true'
8166 # FIXME: Should let the user specify the lib program.
8167 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8168 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8169 enable_shared_with_static_runtimes
=yes
8172 darwin
* | rhapsody
*)
8174 rhapsody
* | darwin1.
[012])
8175 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8178 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8179 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8181 case ${MACOSX_DEPLOYMENT_TARGET} in
8183 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8186 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8192 archive_cmds_need_lc
=no
8194 hardcode_automatic
=yes
8195 hardcode_shlibpath_var
=unsupported
8196 whole_archive_flag_spec
=''
8197 link_all_deplibs
=yes
8198 if test "$GCC" = yes ; then
8199 output_verbose_link_cmd
='echo'
8200 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8201 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8202 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8203 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}'
8204 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}'
8206 case $cc_basename in
8208 output_verbose_link_cmd
='echo'
8209 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8210 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8211 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8212 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8213 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}'
8223 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8224 hardcode_libdir_flag_spec
='-L$libdir'
8225 hardcode_shlibpath_var
=no
8232 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8233 # support. Future versions do this automatically, but an explicit c++rt0.o
8234 # does not break anything, and helps significantly (at the cost of a little
8237 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8238 hardcode_libdir_flag_spec
='-R$libdir'
8240 hardcode_shlibpath_var
=no
8243 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8245 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8247 hardcode_minus_L
=yes
8248 hardcode_shlibpath_var
=no
8251 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8252 freebsd
* | dragonfly
*)
8253 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8254 hardcode_libdir_flag_spec
='-R$libdir'
8256 hardcode_shlibpath_var
=no
8260 if test "$GCC" = yes; then
8261 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'
8263 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'
8265 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8266 hardcode_libdir_separator
=:
8269 # hardcode_minus_L: Not really in the search PATH,
8270 # but as the default location of the library.
8271 hardcode_minus_L
=yes
8272 export_dynamic_flag_spec
='${wl}-E'
8276 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8277 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8279 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8281 if test "$with_gnu_ld" = no
; then
8282 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8283 hardcode_libdir_separator
=:
8286 export_dynamic_flag_spec
='${wl}-E'
8288 # hardcode_minus_L: Not really in the search PATH,
8289 # but as the default location of the library.
8290 hardcode_minus_L
=yes
8295 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8298 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8301 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8304 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8310 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8313 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8316 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8320 if test "$with_gnu_ld" = no
; then
8321 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8322 hardcode_libdir_separator
=:
8326 hardcode_libdir_flag_spec_ld
='+b $libdir'
8328 hardcode_shlibpath_var
=no
8332 export_dynamic_flag_spec
='${wl}-E'
8334 # hardcode_minus_L: Not really in the search PATH,
8335 # but as the default location of the library.
8336 hardcode_minus_L
=yes
8342 irix5
* | irix6
* | nonstopux
*)
8343 if test "$GCC" = yes; then
8344 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'
8346 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'
8347 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8349 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8350 hardcode_libdir_separator
=:
8351 link_all_deplibs
=yes
8355 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8356 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8358 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8360 hardcode_libdir_flag_spec
='-R$libdir'
8362 hardcode_shlibpath_var
=no
8366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8368 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8369 hardcode_libdir_separator
=:
8370 hardcode_shlibpath_var
=no
8374 if test -f /usr
/libexec
/ld.so
; then
8376 hardcode_shlibpath_var
=no
8377 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8378 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8379 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8380 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8381 export_dynamic_flag_spec
='${wl}-E'
8384 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8385 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8386 hardcode_libdir_flag_spec
='-R$libdir'
8389 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8390 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8400 hardcode_libdir_flag_spec
='-L$libdir'
8401 hardcode_minus_L
=yes
8402 allow_undefined_flag
=unsupported
8403 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'
8404 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8408 if test "$GCC" = yes; then
8409 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8410 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'
8412 allow_undefined_flag
=' -expect_unresolved \*'
8413 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'
8415 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8416 hardcode_libdir_separator
=:
8419 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8420 if test "$GCC" = yes; then
8421 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8422 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'
8423 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8425 allow_undefined_flag
=' -expect_unresolved \*'
8426 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'
8427 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8428 $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'
8430 # Both c and cxx compiler support -rpath directly
8431 hardcode_libdir_flag_spec
='-rpath $libdir'
8433 hardcode_libdir_separator
=:
8437 no_undefined_flag
=' -z text'
8438 if test "$GCC" = yes; then
8440 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8441 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8442 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8445 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8446 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8447 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8449 hardcode_libdir_flag_spec
='-R$libdir'
8450 hardcode_shlibpath_var
=no
8452 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8454 # The compiler driver will combine and reorder linker options,
8455 # but understands `-z linker_flag'. GCC discards it without `$wl',
8456 # but is careful enough not to reorder.
8457 # Supported since Solaris 2.6 (maybe 2.5.1?)
8458 if test "$GCC" = yes; then
8459 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8461 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8465 link_all_deplibs
=yes
8469 if test "x$host_vendor" = xsequent
; then
8470 # Use $CC to link under sequent, because it throws in some extra .o
8471 # files that make .init and .fini sections work.
8472 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8474 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8476 hardcode_libdir_flag_spec
='-L$libdir'
8478 hardcode_minus_L
=yes
8479 hardcode_shlibpath_var
=no
8483 case $host_vendor in
8485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8486 hardcode_direct
=yes # is this really true???
8489 ## LD is ld it makes a PLAMLIB
8490 ## CC just makes a GrossModule.
8491 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8492 reload_cmds
='$CC -r -o $output$reload_objs'
8496 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8497 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8500 runpath_var
='LD_RUN_PATH'
8501 hardcode_shlibpath_var
=no
8505 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8506 hardcode_shlibpath_var
=no
8507 export_dynamic_flag_spec
='-Bexport'
8511 if test -d /usr
/nec
; then
8512 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8513 hardcode_shlibpath_var
=no
8514 runpath_var
=LD_RUN_PATH
8515 hardcode_runpath_var
=yes
8520 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8521 no_undefined_flag
='${wl}-z,text'
8522 archive_cmds_need_lc
=no
8523 hardcode_shlibpath_var
=no
8524 runpath_var
='LD_RUN_PATH'
8526 if test "$GCC" = yes; then
8527 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8535 sysv5
* | sco3.2v5
* | sco5v6
*)
8536 # Note: We can NOT use -z defs as we might desire, because we do not
8537 # link with -lc, and that would cause any symbols used from libc to
8538 # always be unresolved, which means just about no library would
8539 # ever link correctly. If we're not using GNU ld we use -z text
8540 # though, which does catch some bad symbols but isn't as heavy-handed
8542 no_undefined_flag
='${wl}-z,text'
8543 allow_undefined_flag
='${wl}-z,nodefs'
8544 archive_cmds_need_lc
=no
8545 hardcode_shlibpath_var
=no
8546 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8547 hardcode_libdir_separator
=':'
8548 link_all_deplibs
=yes
8549 export_dynamic_flag_spec
='${wl}-Bexport'
8550 runpath_var
='LD_RUN_PATH'
8552 if test "$GCC" = yes; then
8553 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8554 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8556 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8557 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8562 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8563 hardcode_libdir_flag_spec
='-L$libdir'
8564 hardcode_shlibpath_var
=no
8573 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8574 echo "${ECHO_T}$ld_shlibs" >&6; }
8575 test "$ld_shlibs" = no
&& can_build_shared
=no
8578 # Do we need to explicitly link libc?
8580 case "x$archive_cmds_need_lc" in
8582 # Assume -lc should be added
8583 archive_cmds_need_lc
=yes
8585 if test "$enable_shared" = yes && test "$GCC" = yes; then
8586 case $archive_cmds in
8588 # FIXME: we may have to deal with multi-command sequences.
8591 # Test whether the compiler implicitly links with -lc since on some
8592 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8593 # to ld, don't add -lc before -lgcc.
8594 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8595 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } 2>conftest.err
; then
8606 libobjs
=conftest.
$ac_objext
8608 wl
=$lt_prog_compiler_wl
8609 pic_flag
=$lt_prog_compiler_pic
8615 lt_save_allow_undefined_flag
=$allow_undefined_flag
8616 allow_undefined_flag
=
8617 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8618 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }
8623 archive_cmds_need_lc
=no
8625 archive_cmds_need_lc
=yes
8627 allow_undefined_flag
=$lt_save_allow_undefined_flag
8629 cat conftest.err
1>&5
8632 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8633 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8640 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8641 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8643 libname_spec
='lib$name'
8651 shlibpath_overrides_runpath
=unknown
8653 dynamic_linker
="$host_os ld.so"
8654 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8656 if test "$GCC" = yes; then
8658 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8659 *) lt_awk_arg
="/^libraries:/" ;;
8661 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8662 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8663 # if the path contains ";" then we assume it to be the separator
8664 # otherwise default to the standard path separator (i.e. ":") - it is
8665 # assumed that no part of a normal pathname contains ";" but that should
8666 # okay in the real world where ";" in dirpaths is itself problematic.
8667 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8669 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8671 # Ok, now we have the path, separated by spaces, we can step through it
8672 # and add multilib dir if necessary.
8673 lt_tmp_lt_search_path_spec
=
8674 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8675 for lt_sys_path
in $lt_search_path_spec; do
8676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8677 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8679 test -d "$lt_sys_path" && \
8680 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8683 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8684 BEGIN {RS=" "; FS="/|\n";} {
8687 for (lt_i = NF; lt_i > 0; lt_i--) {
8688 if ($lt_i != "" && $lt_i != ".") {
8689 if ($lt_i == "..") {
8692 if (lt_count == 0) {
8693 lt_foo="/" $lt_i lt_foo;
8700 if (lt_foo != "") { lt_freq[lt_foo]++; }
8701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8703 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8705 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8707 need_lib_prefix
=unknown
8708 hardcode_into_libs
=no
8710 # when you set need_version to no, make sure it does not cause -set_version
8711 # flags to be left without arguments
8712 need_version
=unknown
8717 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8718 shlibpath_var
=LIBPATH
8720 # AIX 3 has no versioning support, so we append a major version to the name.
8721 soname_spec
='${libname}${release}${shared_ext}$major'
8728 hardcode_into_libs
=yes
8729 if test "$host_cpu" = ia64
; then
8730 # AIX 5 supports IA64
8731 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8732 shlibpath_var
=LD_LIBRARY_PATH
8734 # With GCC up to 2.95.x, collect2 would create an import file
8735 # for dependence libraries. The import file would start with
8736 # the line `#! .'. This would cause the generated library to
8737 # depend on `.', always an invalid library. This was fixed in
8738 # development snapshots of GCC prior to 3.0.
8740 aix4 | aix4.
[01] | aix4.
[01].
*)
8741 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8743 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8750 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8751 # soname into executable. Probably we can add versioning support to
8752 # collect2, so additional links can be useful in future.
8753 if test "$aix_use_runtimelinking" = yes; then
8754 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8755 # instead of lib<name>.a to let people know that these are not
8756 # typical AIX shared libraries.
8757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759 # We preserve .a as extension for shared libraries through AIX4.2
8760 # and later when we are not doing run time linking.
8761 library_names_spec
='${libname}${release}.a $libname.a'
8762 soname_spec
='${libname}${release}${shared_ext}$major'
8764 shlibpath_var
=LIBPATH
8769 library_names_spec
='$libname.ixlibrary $libname.a'
8770 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8771 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'
8775 library_names_spec
='${libname}${shared_ext}'
8776 dynamic_linker
="$host_os ld.so"
8777 shlibpath_var
=LIBRARY_PATH
8783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8784 soname_spec
='${libname}${release}${shared_ext}$major'
8785 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8786 shlibpath_var
=LD_LIBRARY_PATH
8787 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8788 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8789 # the default ld.so.conf also contains /usr/contrib/lib and
8790 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8791 # libtool to hard-code these into programs
8794 cygwin
* | mingw
* | pw32
*)
8795 version_type
=windows
8800 case $GCC,$host_os in
8801 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8802 library_names_spec
='$libname.dll.a'
8803 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8804 postinstall_cmds
='base_file=`basename \${file}`~
8805 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8806 dldir=$destdir/`dirname \$dlpath`~
8807 test -d \$dldir || mkdir -p \$dldir~
8808 $install_prog $dir/$dlname \$dldir/$dlname~
8809 chmod a+x \$dldir/$dlname'
8810 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8811 dlpath=$dir/\$dldll~
8813 shlibpath_overrides_runpath
=yes
8817 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8818 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8819 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8822 # MinGW DLLs use traditional 'lib' prefix
8823 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8824 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8825 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8826 # It is most probably a Windows format PATH printed by
8827 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8828 # path with ; separators, and with drive letters. We can handle the
8829 # drive letters (cygwin fileutils understands them), so leave them,
8830 # especially as we might pass files found there to a mingw objdump,
8831 # which wouldn't understand a cygwinified path. Ahh.
8832 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8838 # pw32 DLLs use 'pw' prefix rather than 'lib'
8839 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8845 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8848 dynamic_linker
='Win32 ld.exe'
8849 # FIXME: first we should search . and the directory the executable is in
8853 darwin
* | rhapsody
*)
8854 dynamic_linker
="$host_os dyld"
8858 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8859 soname_spec
='${libname}${release}${major}$shared_ext'
8860 shlibpath_overrides_runpath
=yes
8861 shlibpath_var
=DYLD_LIBRARY_PATH
8862 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8865 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8873 soname_spec
='${libname}${release}${shared_ext}$major'
8874 shlibpath_var
=LD_LIBRARY_PATH
8881 freebsd
* | dragonfly
*)
8882 # DragonFly does not have aout. When/if they implement a new
8883 # versioning mechanism, adjust this.
8884 if test -x /usr
/bin
/objformat
; then
8885 objformat
=`/usr/bin/objformat`
8888 freebsd
[123]*) objformat
=aout
;;
8892 version_type
=freebsd-
$objformat
8893 case $version_type in
8895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8904 shlibpath_var
=LD_LIBRARY_PATH
8907 shlibpath_overrides_runpath
=yes
8909 freebsd3.
[01]* | freebsdelf3.
[01]*)
8910 shlibpath_overrides_runpath
=yes
8911 hardcode_into_libs
=yes
8913 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8914 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8915 shlibpath_overrides_runpath
=no
8916 hardcode_into_libs
=yes
8918 *) # from 4.6 on, and DragonFly
8919 shlibpath_overrides_runpath
=yes
8920 hardcode_into_libs
=yes
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8930 soname_spec
='${libname}${release}${shared_ext}$major'
8931 shlibpath_var
=LD_LIBRARY_PATH
8932 hardcode_into_libs
=yes
8935 hpux9
* | hpux10
* | hpux11
*)
8936 # Give a soname corresponding to the major version so that dld.sl refuses to
8937 # link against other versions.
8944 hardcode_into_libs
=yes
8945 dynamic_linker
="$host_os dld.so"
8946 shlibpath_var
=LD_LIBRARY_PATH
8947 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8949 soname_spec
='${libname}${release}${shared_ext}$major'
8950 if test "X$HPUX_IA64_MODE" = X32
; then
8951 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8953 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8955 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8959 hardcode_into_libs
=yes
8960 dynamic_linker
="$host_os dld.sl"
8961 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8962 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8964 soname_spec
='${libname}${release}${shared_ext}$major'
8965 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8966 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8970 dynamic_linker
="$host_os dld.sl"
8971 shlibpath_var
=SHLIB_PATH
8972 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8974 soname_spec
='${libname}${release}${shared_ext}$major'
8977 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8978 postinstall_cmds
='chmod 555 $lib'
8985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8986 soname_spec
='${libname}${release}${shared_ext}$major'
8987 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8988 shlibpath_var
=LD_LIBRARY_PATH
8989 shlibpath_overrides_runpath
=no
8990 hardcode_into_libs
=yes
8993 irix5
* | irix6
* | nonstopux
*)
8995 nonstopux
*) version_type
=nonstopux
;;
8997 if test "$lt_cv_prog_gnu_ld" = yes; then
9005 soname_spec
='${libname}${release}${shared_ext}$major'
9006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9008 irix5
* | nonstopux
*)
9012 case $LD in # libtool.m4 will add one of these switches to LD
9013 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9014 libsuff
= shlibsuff
= libmagic
=32-bit;;
9015 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9016 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9017 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9018 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9019 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9023 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9024 shlibpath_overrides_runpath
=no
9025 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9026 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9027 hardcode_into_libs
=yes
9030 # No shared lib support for Linux oldld, aout, or coff.
9031 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9035 # This must be Linux ELF.
9036 linux
* | k
*bsd
*-gnu)
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9041 soname_spec
='${libname}${release}${shared_ext}$major'
9042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9043 shlibpath_var
=LD_LIBRARY_PATH
9044 shlibpath_overrides_runpath
=no
9045 # This implies no fast_install, which is unacceptable.
9046 # Some rework will be needed to allow for fast_install
9047 # before this can be enabled.
9048 hardcode_into_libs
=yes
9049 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9050 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9052 # Append ld.so.conf contents to the search path
9053 if test -f /etc
/ld.so.conf
; then
9054 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9055 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9058 # We used to test for /lib/ld.so.1 and disable shared libraries on
9059 # powerpc, because MkLinux only supported shared libraries with the
9060 # GNU dynamic linker. Since this was broken with cross compilers,
9061 # most powerpc-linux boxes support dynamic linking these days and
9062 # people can always --disable-shared, the test was removed, and we
9063 # assume the GNU/Linux dynamic linker is in use.
9064 dynamic_linker
='GNU/Linux ld.so'
9071 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9073 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9074 dynamic_linker
='NetBSD (a.out) ld.so'
9076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9077 soname_spec
='${libname}${release}${shared_ext}$major'
9078 dynamic_linker
='NetBSD ld.elf_so'
9080 shlibpath_var
=LD_LIBRARY_PATH
9081 shlibpath_overrides_runpath
=yes
9082 hardcode_into_libs
=yes
9087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9088 shlibpath_var
=LD_LIBRARY_PATH
9089 shlibpath_overrides_runpath
=yes
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9097 soname_spec
='${libname}${release}${shared_ext}$major'
9098 shlibpath_var
=LD_LIBRARY_PATH
9099 shlibpath_overrides_runpath
=yes
9104 sys_lib_dlsearch_path_spec
="/usr/lib"
9106 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9108 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9109 *) need_version
=no
;;
9111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9112 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9113 shlibpath_var
=LD_LIBRARY_PATH
9114 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9116 openbsd2.
[89] | openbsd2.
[89].
*)
9117 shlibpath_overrides_runpath
=no
9120 shlibpath_overrides_runpath
=yes
9124 shlibpath_overrides_runpath
=yes
9129 libname_spec
='$name'
9132 library_names_spec
='$libname${shared_ext} $libname.a'
9133 dynamic_linker
='OS/2 ld.exe'
9134 shlibpath_var
=LIBPATH
9137 osf3
* | osf4
* | osf5
*)
9141 soname_spec
='${libname}${release}${shared_ext}$major'
9142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9143 shlibpath_var
=LD_LIBRARY_PATH
9144 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9145 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9157 soname_spec
='${libname}${release}${shared_ext}$major'
9158 shlibpath_var
=LD_LIBRARY_PATH
9159 shlibpath_overrides_runpath
=yes
9160 hardcode_into_libs
=yes
9161 # ldd complains unless libraries are executable
9162 postinstall_cmds
='chmod +x $lib'
9167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9168 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9169 shlibpath_var
=LD_LIBRARY_PATH
9170 shlibpath_overrides_runpath
=yes
9171 if test "$with_gnu_ld" = yes; then
9179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9180 soname_spec
='${libname}${release}${shared_ext}$major'
9181 shlibpath_var
=LD_LIBRARY_PATH
9182 case $host_vendor in
9184 shlibpath_overrides_runpath
=no
9186 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9187 runpath_var
=LD_RUN_PATH
9195 shlibpath_overrides_runpath
=no
9196 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9202 if test -d /usr
/nec
;then
9204 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9205 soname_spec
='$libname${shared_ext}.$major'
9206 shlibpath_var
=LD_LIBRARY_PATH
9210 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9211 version_type
=freebsd-elf
9214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9215 soname_spec
='${libname}${release}${shared_ext}$major'
9216 shlibpath_var
=LD_LIBRARY_PATH
9217 hardcode_into_libs
=yes
9218 if test "$with_gnu_ld" = yes; then
9219 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9220 shlibpath_overrides_runpath
=no
9222 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9223 shlibpath_overrides_runpath
=yes
9226 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9230 sys_lib_dlsearch_path_spec
='/usr/lib'
9235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9236 soname_spec
='${libname}${release}${shared_ext}$major'
9237 shlibpath_var
=LD_LIBRARY_PATH
9244 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9245 echo "${ECHO_T}$dynamic_linker" >&6; }
9246 test "$dynamic_linker" = no
&& can_build_shared
=no
9248 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9249 if test "$GCC" = yes; then
9250 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9253 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9254 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9256 if test -n "$hardcode_libdir_flag_spec" || \
9257 test -n "$runpath_var" || \
9258 test "X$hardcode_automatic" = "Xyes" ; then
9260 # We can hardcode non-existant directories.
9261 if test "$hardcode_direct" != no
&&
9262 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9263 # have to relink, otherwise we might link with an installed library
9264 # when we should be linking with a yet-to-be-installed one
9265 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9266 test "$hardcode_minus_L" != no
; then
9267 # Linking always hardcodes the temporary library directory.
9268 hardcode_action
=relink
9270 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9271 hardcode_action
=immediate
9274 # We cannot hardcode anything, or else we can only hardcode existing
9276 hardcode_action
=unsupported
9278 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9279 echo "${ECHO_T}$hardcode_action" >&6; }
9281 if test "$hardcode_action" = relink
; then
9282 # Fast installation is not supported
9283 enable_fast_install
=no
9284 elif test "$shlibpath_overrides_runpath" = yes ||
9285 test "$enable_shared" = no
; then
9286 # Fast installation is not necessary
9287 enable_fast_install
=needless
9292 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9293 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9294 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9295 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9296 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9297 { echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6; }
9300 # FIXME - insert some real tests, host_os isn't really good enough
9303 if test -n "$STRIP" ; then
9304 striplib
="$STRIP -x"
9305 old_striplib
="$STRIP -S"
9306 { echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6; }
9309 { echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6; }
9314 { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9320 if test "x$enable_dlopen" != xyes
; then
9321 enable_dlopen
=unknown
9322 enable_dlopen_self
=unknown
9323 enable_dlopen_self_static
=unknown
9330 lt_cv_dlopen
="load_add_on"
9332 lt_cv_dlopen_self
=yes
9336 lt_cv_dlopen
="LoadLibrary"
9341 lt_cv_dlopen
="dlopen"
9346 # if libdl is installed we need to link against it
9347 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9348 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9349 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 ac_check_lib_save_LIBS
=$LIBS
9354 cat >conftest.
$ac_ext <<_ACEOF
9357 cat confdefs.h
>>conftest.
$ac_ext
9358 cat >>conftest.
$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9376 rm -f conftest.
$ac_objext conftest
$ac_exeext
9377 if { (ac_try
="$ac_link"
9379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9380 *) ac_try_echo=$ac_try;;
9382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9383 (eval "$ac_link") 2>conftest.er1
9385 grep -v '^ *+' conftest.er1 >conftest.err
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } && {
9390 test -z "$ac_c_werror_flag" ||
9391 test ! -s conftest.err
9392 } && test -s conftest$ac_exeext &&
9393 $as_test_x conftest$ac_exeext; then
9394 ac_cv_lib_dl_dlopen=yes
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 ac_cv_lib_dl_dlopen=no
9402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9407 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9408 if test $ac_cv_lib_dl_dlopen = yes; then
9409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9414 lt_cv_dlopen_self=yes
9421 { echo "$as_me:$LINENO: checking for shl_load" >&5
9422 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9423 if test "${ac_cv_func_shl_load+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 cat >conftest.$ac_ext <<_ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9432 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9434 #define shl_load innocuous_shl_load
9436 /* System header to define __stub macros and hopefully few prototypes,
9437 which can conflict with char shl_load (); below.
9438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9439 <limits.h> exists even on freestanding compilers. */
9442 # include <limits.h>
9444 # include <assert.h>
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9456 /* The GNU C library defines this for functions which it implements
9457 to always fail with ENOSYS. Some functions are actually named
9458 something starting with __ and the normal name is an alias. */
9459 #if defined __stub_shl_load || defined __stub___shl_load
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (ac_try="$ac_link"
9474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9475 *) ac_try_echo
=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_link") 2>conftest.er1
9480 grep -v '^ *+' conftest.er1
>conftest.err
9482 cat conftest.err
>&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } && {
9485 test -z "$ac_c_werror_flag" ||
9486 test ! -s conftest.err
9487 } && test -s conftest
$ac_exeext &&
9488 $as_test_x conftest
$ac_exeext; then
9489 ac_cv_func_shl_load
=yes
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.
$ac_ext >&5
9494 ac_cv_func_shl_load
=no
9497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9498 conftest
$ac_exeext conftest.
$ac_ext
9500 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9501 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9502 if test $ac_cv_func_shl_load = yes; then
9503 lt_cv_dlopen
="shl_load"
9505 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9506 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9507 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 ac_check_lib_save_LIBS
=$LIBS
9512 cat >conftest.
$ac_ext <<_ACEOF
9515 cat confdefs.h
>>conftest.
$ac_ext
9516 cat >>conftest.
$ac_ext <<_ACEOF
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9534 rm -f conftest.
$ac_objext conftest
$ac_exeext
9535 if { (ac_try
="$ac_link"
9537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9538 *) ac_try_echo=$ac_try;;
9540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9541 (eval "$ac_link") 2>conftest.er1
9543 grep -v '^ *+' conftest.er1 >conftest.err
9545 cat conftest.err >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } && {
9548 test -z "$ac_c_werror_flag" ||
9549 test ! -s conftest.err
9550 } && test -s conftest$ac_exeext &&
9551 $as_test_x conftest$ac_exeext; then
9552 ac_cv_lib_dld_shl_load=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 ac_cv_lib_dld_shl_load=no
9560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9565 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9566 if test $ac_cv_lib_dld_shl_load = yes; then
9567 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9569 { echo "$as_me:$LINENO: checking for dlopen" >&5
9570 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9571 if test "${ac_cv_func_dlopen+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 cat >conftest.$ac_ext <<_ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9580 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9582 #define dlopen innocuous_dlopen
9584 /* System header to define __stub macros and hopefully few prototypes,
9585 which can conflict with char dlopen (); below.
9586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9587 <limits.h> exists even on freestanding compilers. */
9590 # include <limits.h>
9592 # include <assert.h>
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9604 /* The GNU C library defines this for functions which it implements
9605 to always fail with ENOSYS. Some functions are actually named
9606 something starting with __ and the normal name is an alias. */
9607 #if defined __stub_dlopen || defined __stub___dlopen
9619 rm -f conftest.$ac_objext conftest$ac_exeext
9620 if { (ac_try="$ac_link"
9622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9623 *) ac_try_echo
=$ac_try;;
9625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9626 (eval "$ac_link") 2>conftest.er1
9628 grep -v '^ *+' conftest.er1
>conftest.err
9630 cat conftest.err
>&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } && {
9633 test -z "$ac_c_werror_flag" ||
9634 test ! -s conftest.err
9635 } && test -s conftest
$ac_exeext &&
9636 $as_test_x conftest
$ac_exeext; then
9637 ac_cv_func_dlopen
=yes
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.
$ac_ext >&5
9642 ac_cv_func_dlopen
=no
9645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9646 conftest
$ac_exeext conftest.
$ac_ext
9648 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9649 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9650 if test $ac_cv_func_dlopen = yes; then
9651 lt_cv_dlopen
="dlopen"
9653 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9654 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9658 ac_check_lib_save_LIBS
=$LIBS
9660 cat >conftest.
$ac_ext <<_ACEOF
9663 cat confdefs.h
>>conftest.
$ac_ext
9664 cat >>conftest.
$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9682 rm -f conftest.
$ac_objext conftest
$ac_exeext
9683 if { (ac_try
="$ac_link"
9685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9691 grep -v '^ *+' conftest.er1 >conftest.err
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_dl_dlopen=yes
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_dl_dlopen=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9713 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9714 if test $ac_cv_lib_dl_dlopen = yes; then
9715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9717 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9718 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9719 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 ac_check_lib_save_LIBS=$LIBS
9724 cat >conftest.$ac_ext <<_ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9746 rm -f conftest.$ac_objext conftest$ac_exeext
9747 if { (ac_try="$ac_link"
9749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9750 *) ac_try_echo
=$ac_try;;
9752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9753 (eval "$ac_link") 2>conftest.er1
9755 grep -v '^ *+' conftest.er1
>conftest.err
9757 cat conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } && {
9760 test -z "$ac_c_werror_flag" ||
9761 test ! -s conftest.err
9762 } && test -s conftest
$ac_exeext &&
9763 $as_test_x conftest
$ac_exeext; then
9764 ac_cv_lib_svld_dlopen
=yes
9766 echo "$as_me: failed program was:" >&5
9767 sed 's/^/| /' conftest.
$ac_ext >&5
9769 ac_cv_lib_svld_dlopen
=no
9772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9773 conftest
$ac_exeext conftest.
$ac_ext
9774 LIBS
=$ac_check_lib_save_LIBS
9776 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9777 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9778 if test $ac_cv_lib_svld_dlopen = yes; then
9779 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9781 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9782 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9783 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 ac_check_lib_save_LIBS
=$LIBS
9788 cat >conftest.
$ac_ext <<_ACEOF
9791 cat confdefs.h
>>conftest.
$ac_ext
9792 cat >>conftest.
$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9810 rm -f conftest.
$ac_objext conftest
$ac_exeext
9811 if { (ac_try
="$ac_link"
9813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9814 *) ac_try_echo=$ac_try;;
9816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9817 (eval "$ac_link") 2>conftest.er1
9819 grep -v '^ *+' conftest.er1 >conftest.err
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } && {
9824 test -z "$ac_c_werror_flag" ||
9825 test ! -s conftest.err
9826 } && test -s conftest$ac_exeext &&
9827 $as_test_x conftest$ac_exeext; then
9828 ac_cv_lib_dld_dld_link=yes
9830 echo "$as_me: failed program was:" >&5
9831 sed 's/^/| /' conftest.$ac_ext >&5
9833 ac_cv_lib_dld_dld_link=no
9836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9837 conftest$ac_exeext conftest.$ac_ext
9838 LIBS=$ac_check_lib_save_LIBS
9840 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9841 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9842 if test $ac_cv_lib_dld_dld_link = yes; then
9843 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9864 if test "x$lt_cv_dlopen" != xno; then
9870 case $lt_cv_dlopen in
9872 save_CPPFLAGS="$CPPFLAGS"
9873 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9875 save_LDFLAGS="$LDFLAGS"
9876 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9879 LIBS="$lt_cv_dlopen_libs $LIBS"
9881 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9882 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9883 if test "${lt_cv_dlopen_self+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9886 if test "$cross_compiling" = yes; then :
9887 lt_cv_dlopen_self=cross
9889 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9890 lt_status=$lt_dlunknown
9891 cat > conftest.$ac_ext <<EOF
9892 #line 9892 "configure"
9893 #include "confdefs.h"
9902 # define LT_DLGLOBAL RTLD_GLOBAL
9905 # define LT_DLGLOBAL DL_GLOBAL
9907 # define LT_DLGLOBAL 0
9911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9912 find out it does not work in some platform. */
9913 #ifndef LT_DLLAZY_OR_NOW
9915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9918 # define LT_DLLAZY_OR_NOW DL_LAZY
9921 # define LT_DLLAZY_OR_NOW RTLD_NOW
9924 # define LT_DLLAZY_OR_NOW DL_NOW
9926 # define LT_DLLAZY_OR_NOW 0
9934 extern "C" void exit (int);
9937 void fnord() { int i=42;}
9940 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9941 int status = $lt_dlunknown;
9945 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9946 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9947 /* dlclose (self); */
9955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9956 (eval $ac_link) 2>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9960 (./conftest; exit; ) >&5 2>/dev/null
9963 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9964 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9965 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9968 # compilation failed
9969 lt_cv_dlopen_self=no
9976 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9977 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9979 if test "x$lt_cv_dlopen_self" = xyes; then
9980 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9981 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9982 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9983 if test "${lt_cv_dlopen_self_static+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 if test "$cross_compiling" = yes; then :
9987 lt_cv_dlopen_self_static=cross
9989 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9990 lt_status=$lt_dlunknown
9991 cat > conftest.$ac_ext <<EOF
9992 #line 9992 "configure"
9993 #include "confdefs.h"
10002 # define LT_DLGLOBAL RTLD_GLOBAL
10005 # define LT_DLGLOBAL DL_GLOBAL
10007 # define LT_DLGLOBAL 0
10011 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10012 find out it does not work in some platform. */
10013 #ifndef LT_DLLAZY_OR_NOW
10015 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10018 # define LT_DLLAZY_OR_NOW DL_LAZY
10021 # define LT_DLLAZY_OR_NOW RTLD_NOW
10024 # define LT_DLLAZY_OR_NOW DL_NOW
10026 # define LT_DLLAZY_OR_NOW 0
10034 extern "C" void exit (int);
10037 void fnord() { int i=42;}
10040 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10041 int status = $lt_dlunknown;
10045 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10046 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10047 /* dlclose (self); */
10055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056 (eval $ac_link) 2>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10060 (./conftest; exit; ) >&5 2>/dev/null
10062 case x$lt_status in
10063 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10064 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10065 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10068 # compilation failed
10069 lt_cv_dlopen_self_static=no
10076 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10077 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10080 CPPFLAGS="$save_CPPFLAGS"
10081 LDFLAGS="$save_LDFLAGS"
10086 case $lt_cv_dlopen_self in
10087 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10088 *) enable_dlopen_self=unknown ;;
10091 case $lt_cv_dlopen_self_static in
10092 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10093 *) enable_dlopen_self_static=unknown ;;
10098 # Report which library types will actually be built
10099 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10100 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10101 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10102 echo "${ECHO_T}$can_build_shared" >&6; }
10104 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10105 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10106 test "$can_build_shared" = "no" && enable_shared=no
10108 # On AIX, shared libraries and static libraries use the same namespace, and
10109 # are all built from PIC.
10112 test "$enable_shared" = yes && enable_static=no
10113 if test -n "$RANLIB"; then
10114 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10115 postinstall_cmds='$RANLIB $lib'
10120 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10121 test "$enable_shared" = yes && enable_static=no
10125 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10126 echo "${ECHO_T}$enable_shared" >&6; }
10128 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10129 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10130 # Make sure either enable_shared or enable_static is yes.
10131 test "$enable_shared" = yes || enable_static=yes
10132 { echo "$as_me:$LINENO: result: $enable_static" >&5
10133 echo "${ECHO_T}$enable_static" >&6; }
10135 # The else clause should only fire when bootstrapping the
10136 # libtool distribution, otherwise you forgot to ship ltmain.sh
10137 # with your package, and you will get complaints that there are
10138 # no rules to generate ltmain.sh.
10139 if test -f "$ltmain"; then
10140 # See if we are running on zsh, and set the options which allow our commands through
10141 # without removal of \ escapes.
10142 if test -n "${ZSH_VERSION+set}" ; then
10143 setopt NO_GLOB_SUBST
10145 # Now quote all the things that may contain metacharacters while being
10146 # careful not to overquote the AC_SUBSTed values. We take copies of the
10147 # variables and quote the copies for generation of the libtool script.
10148 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10150 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10151 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10152 deplibs_check_method reload_flag reload_cmds need_locks \
10153 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10154 lt_cv_sys_global_symbol_to_c_name_address \
10155 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10156 old_postinstall_cmds old_postuninstall_cmds \
10160 lt_prog_compiler_wl \
10161 lt_prog_compiler_pic \
10162 lt_prog_compiler_static \
10163 lt_prog_compiler_no_builtin_flag \
10164 export_dynamic_flag_spec \
10165 thread_safe_flag_spec \
10166 whole_archive_flag_spec \
10167 enable_shared_with_static_runtimes \
10169 old_archive_from_new_cmds \
10174 compiler_lib_search_path \
10176 archive_expsym_cmds \
10178 postuninstall_cmds \
10179 old_archive_from_expsyms_cmds \
10180 allow_undefined_flag \
10181 no_undefined_flag \
10182 export_symbols_cmds \
10183 hardcode_libdir_flag_spec \
10184 hardcode_libdir_flag_spec_ld \
10185 hardcode_libdir_separator \
10186 hardcode_automatic \
10188 module_expsym_cmds \
10189 lt_cv_prog_compiler_c_o \
10192 include_expsyms; do
10195 old_archive_cmds | \
10196 old_archive_from_new_cmds | \
10198 archive_expsym_cmds | \
10200 module_expsym_cmds | \
10201 old_archive_from_expsyms_cmds | \
10202 export_symbols_cmds | \
10203 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10204 postinstall_cmds | postuninstall_cmds | \
10205 old_postinstall_cmds | old_postuninstall_cmds | \
10206 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10207 # Double-quote double-evaled strings.
10208 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10211 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10217 *'\$0 --fallback-echo"')
10218 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10222 cfgfile="${ofile}T"
10223 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10225 { echo "$as_me:$LINENO: creating $ofile" >&5
10226 echo "$as_me: creating $ofile" >&6;}
10228 cat <<__EOF__ >> "$cfgfile"
10231 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10232 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10233 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10235 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10236 # Free Software Foundation, Inc.
10238 # This file is part of GNU Libtool:
10239 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10241 # This program is free software; you can redistribute it and/or modify
10242 # it under the terms of the GNU General Public License as published by
10243 # the Free Software Foundation; either version 2 of the License, or
10244 # (at your option) any later version.
10246 # This program is distributed in the hope that it will be useful, but
10247 # WITHOUT ANY WARRANTY; without even the implied warranty of
10248 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10249 # General Public License for more details.
10251 # You should have received a copy of the GNU General Public License
10252 # along with this program; if not, write to the Free Software
10253 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10255 # As a special exception to the GNU General Public License, if you
10256 # distribute this file as part of a program that contains a
10257 # configuration script generated by Autoconf, you may include it under
10258 # the same distribution terms that you use for the rest of that program.
10260 # A sed program that does not truncate output.
10263 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10264 Xsed="$SED -e 1s/^X//"
10266 # The HP-UX ksh and POSIX shell print the target directory to stdout
10267 # if CDPATH is set.
10268 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10270 # The names of the tagged configurations supported by this script.
10273 # ### BEGIN LIBTOOL CONFIG
10275 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10277 # Shell to use when invoking shell scripts.
10280 # Whether or not to build shared libraries.
10281 build_libtool_libs=$enable_shared
10283 # Whether or not to build static libraries.
10284 build_old_libs=$enable_static
10286 # Whether or not to add -lc for building shared libraries.
10287 build_libtool_need_lc=$archive_cmds_need_lc
10289 # Whether or not to disallow shared libs when runtime libs are static
10290 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10292 # Whether or not to optimize for fast installation.
10293 fast_install=$enable_fast_install
10296 host_alias=$host_alias
10300 # The build system.
10301 build_alias=$build_alias
10305 # An echo program that does not interpret backslashes.
10310 AR_FLAGS=$lt_AR_FLAGS
10315 # LTCC compiler flags.
10316 LTCFLAGS=$lt_LTCFLAGS
10318 # A language-specific compiler.
10321 # Is the compiler the GNU C compiler?
10327 # The linker used to build libraries.
10330 # Whether we need hard or soft links.
10333 # A BSD-compatible nm program.
10336 # A symbol stripping program
10339 # Used to examine libraries when file_magic_cmd begins "file"
10340 MAGIC_CMD=$MAGIC_CMD
10342 # Used on cygwin: DLL creation program.
10345 # Used on cygwin: object dumper.
10348 # Used on cygwin: assembler.
10351 # The name of the directory that contains temporary libtool files.
10354 # How to create reloadable object files.
10355 reload_flag=$lt_reload_flag
10356 reload_cmds=$lt_reload_cmds
10358 # How to pass a linker flag through the compiler.
10359 wl=$lt_lt_prog_compiler_wl
10361 # Object file suffix (normally "o").
10362 objext="$ac_objext"
10364 # Old archive suffix (normally "a").
10367 # Shared library suffix (normally ".so").
10368 shrext_cmds='$shrext_cmds'
10370 # Executable file suffix (normally "").
10373 # Additional compiler flags for building library objects.
10374 pic_flag=$lt_lt_prog_compiler_pic
10377 # What is the maximum length of a command?
10378 max_cmd_len=$lt_cv_sys_max_cmd_len
10380 # Does compiler simultaneously support -c and -o options?
10381 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10383 # Must we lock files when doing compilation?
10384 need_locks=$lt_need_locks
10386 # Do we need the lib prefix for modules?
10387 need_lib_prefix=$need_lib_prefix
10389 # Do we need a version for libraries?
10390 need_version=$need_version
10392 # Whether dlopen is supported.
10393 dlopen_support=$enable_dlopen
10395 # Whether dlopen of programs is supported.
10396 dlopen_self=$enable_dlopen_self
10398 # Whether dlopen of statically linked programs is supported.
10399 dlopen_self_static=$enable_dlopen_self_static
10401 # Compiler flag to prevent dynamic linking.
10402 link_static_flag=$lt_lt_prog_compiler_static
10404 # Compiler flag to turn off builtin functions.
10405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10407 # Compiler flag to allow reflexive dlopens.
10408 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10410 # Compiler flag to generate shared objects directly from archives.
10411 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10413 # Compiler flag to generate thread-safe objects.
10414 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10416 # Library versioning type.
10417 version_type=$version_type
10419 # Format of library name prefix.
10420 libname_spec=$lt_libname_spec
10422 # List of archive names. First name is the real one, the rest are links.
10423 # The last name is the one that the linker finds with -lNAME.
10424 library_names_spec=$lt_library_names_spec
10426 # The coded name of the library, if different from the real name.
10427 soname_spec=$lt_soname_spec
10429 # Commands used to build and install an old-style archive.
10431 old_archive_cmds=$lt_old_archive_cmds
10432 old_postinstall_cmds=$lt_old_postinstall_cmds
10433 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10435 # Create an old-style archive from a shared archive.
10436 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10438 # Create a temporary old-style archive to link instead of a shared archive.
10439 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10441 # Commands used to build and install a shared archive.
10442 archive_cmds=$lt_archive_cmds
10443 archive_expsym_cmds=$lt_archive_expsym_cmds
10444 postinstall_cmds=$lt_postinstall_cmds
10445 postuninstall_cmds=$lt_postuninstall_cmds
10447 # Commands used to build a loadable module (assumed same as above if empty)
10448 module_cmds=$lt_module_cmds
10449 module_expsym_cmds=$lt_module_expsym_cmds
10451 # Commands to strip libraries.
10452 old_striplib=$lt_old_striplib
10453 striplib=$lt_striplib
10455 # Dependencies to place before the objects being linked to create a
10457 predep_objects=$lt_predep_objects
10459 # Dependencies to place after the objects being linked to create a
10461 postdep_objects=$lt_postdep_objects
10463 # Dependencies to place before the objects being linked to create a
10465 predeps=$lt_predeps
10467 # Dependencies to place after the objects being linked to create a
10469 postdeps=$lt_postdeps
10471 # The library search path used internally by the compiler when linking
10472 # a shared library.
10473 compiler_lib_search_path=$lt_compiler_lib_search_path
10475 # Method to check whether dependent libraries are shared objects.
10476 deplibs_check_method=$lt_deplibs_check_method
10478 # Command to use when deplibs_check_method == file_magic.
10479 file_magic_cmd=$lt_file_magic_cmd
10481 # Flag that allows shared libraries with undefined symbols to be built.
10482 allow_undefined_flag=$lt_allow_undefined_flag
10484 # Flag that forces no undefined symbols.
10485 no_undefined_flag=$lt_no_undefined_flag
10487 # Commands used to finish a libtool library installation in a directory.
10488 finish_cmds=$lt_finish_cmds
10490 # Same as above, but a single script fragment to be evaled but not shown.
10491 finish_eval=$lt_finish_eval
10493 # Take the output of nm and produce a listing of raw symbols and C names.
10494 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10496 # Transform the output of nm in a proper C declaration
10497 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10499 # Transform the output of nm in a C name address pair
10500 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10502 # This is the shared library runtime path variable.
10503 runpath_var=$runpath_var
10505 # This is the shared library path variable.
10506 shlibpath_var=$shlibpath_var
10508 # Is shlibpath searched before the hard-coded library search path?
10509 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10511 # How to hardcode a shared library path into an executable.
10512 hardcode_action=$hardcode_action
10514 # Whether we should hardcode library paths into libraries.
10515 hardcode_into_libs=$hardcode_into_libs
10517 # Flag to hardcode \$libdir into a binary during linking.
10518 # This must work even if \$libdir does not exist.
10519 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10521 # If ld is used when linking, flag to hardcode \$libdir into
10522 # a binary during linking. This must work even if \$libdir does
10524 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10526 # Whether we need a single -rpath flag with a separated argument.
10527 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10529 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10530 # resulting binary.
10531 hardcode_direct=$hardcode_direct
10533 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10534 # resulting binary.
10535 hardcode_minus_L=$hardcode_minus_L
10537 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10538 # the resulting binary.
10539 hardcode_shlibpath_var=$hardcode_shlibpath_var
10541 # Set to yes if building a shared library automatically hardcodes DIR into the library
10542 # and all subsequent libraries and executables linked against it.
10543 hardcode_automatic=$hardcode_automatic
10545 # Variables whose values should be saved in libtool wrapper scripts and
10546 # restored at relink time.
10547 variables_saved_for_relink="$variables_saved_for_relink"
10549 # Whether libtool must link a program against all its dependency libraries.
10550 link_all_deplibs=$link_all_deplibs
10552 # Compile-time system search path for libraries
10553 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10555 # Run-time system search path for libraries
10556 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10558 # Fix the shell variable \$srcfile for the compiler.
10559 fix_srcfile_path=$lt_fix_srcfile_path
10561 # Set to yes if exported symbols are required.
10562 always_export_symbols=$always_export_symbols
10564 # The commands to list exported symbols.
10565 export_symbols_cmds=$lt_export_symbols_cmds
10567 # The commands to extract the exported symbol list from a shared archive.
10568 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10570 # Symbols that should not be listed in the preloaded symbols.
10571 exclude_expsyms=$lt_exclude_expsyms
10573 # Symbols that must always be exported.
10574 include_expsyms=$lt_include_expsyms
10576 # ### END LIBTOOL CONFIG
10583 cat <<\EOF >> "$cfgfile"
10585 # AIX sometimes has problems with the GCC collect2 program. For some
10586 # reason, if we set the COLLECT_NAMES environment variable, the problems
10587 # vanish in a puff of smoke.
10588 if test "X${COLLECT_NAMES+set}" != Xset; then
10590 export COLLECT_NAMES
10596 # We use sed instead of cat because bash on DJGPP gets confused if
10597 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10598 # text mode, it properly converts lines to CR/LF. This bash problem
10599 # is reportedly fixed, but why not run on old versions too?
10600 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10602 mv -f "$cfgfile" "$ofile" || \
10603 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10607 # If there is no Makefile yet, we rely on a make rule to execute
10608 # `config.status
--recheck' to rerun these tests and create the
10609 # libtool script then.
10610 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10611 if test -f "$ltmain_in"; then
10612 test -f Makefile && make "$ltmain"
10618 ac_cpp='$CPP $CPPFLAGS'
10619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10620 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10626 # Check whether --with-tags was given.
10627 if test "${with_tags+set}" = set; then
10628 withval=$with_tags; tagnames="$withval"
10632 if test -f "$ltmain" && test -n "$tagnames"; then
10633 if test ! -f "${ofile}"; then
10634 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10635 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10638 if test -z "$LTCC"; then
10639 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10640 if test -z "$LTCC"; then
10641 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10642 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10644 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10645 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10648 if test -z "$LTCFLAGS"; then
10649 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10652 # Extract list of available tagged configurations in $ofile.
10653 # Note that this assumes the entire list is on one line.
10654 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10656 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10657 for tagname in $tagnames; do
10659 # Check whether tagname contains only valid characters
10660 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10662 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10663 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10664 { (exit 1); exit 1; }; }
10668 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10670 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10671 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10672 { (exit 1); exit 1; }; }
10675 # Update the list of available tags.
10676 if test -n "$tagname"; then
10677 echo appending configuration tag \"$tagname\" to $ofile
10681 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10682 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10683 (test "X$CXX" != "Xg++"))) ; then
10685 ac_cpp='$CXXCPP $CPPFLAGS'
10686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10693 archive_cmds_need_lc_CXX=no
10694 allow_undefined_flag_CXX=
10695 always_export_symbols_CXX=no
10696 archive_expsym_cmds_CXX=
10697 export_dynamic_flag_spec_CXX=
10698 hardcode_direct_CXX=no
10699 hardcode_libdir_flag_spec_CXX=
10700 hardcode_libdir_flag_spec_ld_CXX=
10701 hardcode_libdir_separator_CXX=
10702 hardcode_minus_L_CXX=no
10703 hardcode_shlibpath_var_CXX=unsupported
10704 hardcode_automatic_CXX=no
10706 module_expsym_cmds_CXX=
10707 link_all_deplibs_CXX=unknown
10708 old_archive_cmds_CXX=$old_archive_cmds
10709 no_undefined_flag_CXX=
10710 whole_archive_flag_spec_CXX=
10711 enable_shared_with_static_runtimes_CXX=no
10713 # Dependencies to place before and after the object being linked:
10714 predep_objects_CXX=
10715 postdep_objects_CXX=
10718 compiler_lib_search_path_CXX=
10720 # Source file extension for C++ test sources.
10723 # Object file extension for compiled C++ test sources.
10727 # Code to be used in simple compile tests
10728 lt_simple_compile_test_code="int some_variable = 0;"
10730 # Code to be used in simple link tests
10731 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10733 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10735 # If no C compiler was specified, use CC.
10738 # If no C compiler flags were specified, use CFLAGS.
10739 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10741 # Allow CC to be a program name with arguments.
10745 # save warnings/boilerplate of simple test code
10746 ac_outfile=conftest.$ac_objext
10747 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10748 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10749 _lt_compiler_boilerplate=`cat conftest.err
`
10752 ac_outfile=conftest.$ac_objext
10753 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10754 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10755 _lt_linker_boilerplate=`cat conftest.err
`
10759 # Allow CC to be a program name with arguments.
10764 lt_save_with_gnu_ld=$with_gnu_ld
10765 lt_save_path_LD=$lt_cv_path_LD
10766 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10767 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10769 $as_unset lt_cv_prog_gnu_ld
10771 if test -n "${lt_cv_path_LDCXX+set}"; then
10772 lt_cv_path_LD=$lt_cv_path_LDCXX
10774 $as_unset lt_cv_path_LD
10776 test -z "${LDCXX+set}" || LD=$LDCXX
10780 for cc_temp in $compiler""; do
10782 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10783 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10788 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10791 # We don't want -fno-exception wen compiling C++ code, so set the
10792 # no_builtin_flag separately
10793 if test "$GXX" = yes; then
10794 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10796 lt_prog_compiler_no_builtin_flag_CXX=
10799 if test "$GXX" = yes; then
10800 # Set up default GNU C++ configuration
10803 # Check whether --with-gnu-ld was given.
10804 if test "${with_gnu_ld+set}" = set; then
10805 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10811 if test "$GCC" = yes; then
10812 # Check if gcc -print-prog-name=ld gives a path.
10813 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10814 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10817 # gcc leaves a trailing carriage return which upsets mingw
10818 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10820 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10823 # Accept absolute paths.
10825 re_direlt='/[^/][^/]*/\.\./'
10826 # Canonicalize the pathname of ld
10827 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10828 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10829 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10831 test -z "$LD" && LD="$ac_prog"
10834 # If it fails, then pretend we aren't using GCC.
10838 # If it is relative, then search for the first ld in PATH.
10839 with_gnu_ld=unknown
10842 elif test "$with_gnu_ld" = yes; then
10843 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10844 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10846 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10847 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10849 if test "${lt_cv_path_LD+set}" = set; then
10850 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 if test -z "$LD"; then
10853 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10854 for ac_dir in $PATH; do
10856 test -z "$ac_dir" && ac_dir=.
10857 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10858 lt_cv_path_LD="$ac_dir/$ac_prog"
10859 # Check to see if the program is GNU ld. I'd rather use --version,
10860 # but apparently some variants of GNU ld only accept -v.
10861 # Break only if it was the GNU/non-GNU ld that we prefer.
10862 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10863 *GNU* | *'with BFD'*)
10864 test "$with_gnu_ld" != no && break
10867 test "$with_gnu_ld" != yes && break
10874 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10878 LD="$lt_cv_path_LD"
10879 if test -n "$LD"; then
10880 { echo "$as_me:$LINENO: result: $LD" >&5
10881 echo "${ECHO_T}$LD" >&6; }
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10886 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10887 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10888 { (exit 1); exit 1; }; }
10889 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10890 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10891 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10895 case `$LD -v 2>&1 </dev
/null
` in
10896 *GNU* | *'with BFD'*)
10897 lt_cv_prog_gnu_ld=yes
10900 lt_cv_prog_gnu_ld=no
10904 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10905 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10906 with_gnu_ld=$lt_cv_prog_gnu_ld
10910 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10911 # archiving commands below assume that GNU ld is being used.
10912 if test "$with_gnu_ld" = yes; then
10913 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10914 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'
10916 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10917 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10919 # If archive_cmds runs LD, not CC, wlarc should be empty
10920 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10921 # investigate it a little bit more. (MM)
10924 # ancient GNU ld didn't support --whole-archive et. al.
10925 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10926 grep 'no-whole-archive' > /dev/null; then
10927 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10929 whole_archive_flag_spec_CXX=
10935 # A generic and very simple default shared library creation
10936 # command for GNU C++ for the case where it uses the native
10937 # linker, instead of GNU ld. If possible, this setting should
10938 # overridden to take advantage of the native linker features on
10939 # the platform it is being used on.
10940 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10943 # Commands to make compiler produce verbose output that lists
10944 # what "hidden" libraries, object files and flags are used when
10945 # linking a shared library.
10946 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10954 # PORTME: fill in a description of your system's C++ link characteristics
10955 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10956 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10960 # FIXME: insert proper C++ library support
10964 if test "$host_cpu" = ia64; then
10965 # On IA64, the linker does run time linking by default, so we don't
10966 # have to do anything special.
10967 aix_use_runtimelinking=no
10968 exp_sym_flag='-Bexport'
10971 aix_use_runtimelinking=no
10973 # Test if we are trying to use run time linking or normal
10974 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10975 # need to do runtime linking.
10976 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10977 for ld_flag in $LDFLAGS; do
10980 aix_use_runtimelinking=yes
10988 exp_sym_flag='-bexport'
10989 no_entry_flag='-bnoentry'
10992 # When large executables or shared objects are built, AIX ld can
10993 # have problems creating the table of contents. If linking a library
10994 # or program results in "error TOC overflow" add -mminimal-toc to
10995 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10996 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10998 archive_cmds_CXX=''
10999 hardcode_direct_CXX=yes
11000 hardcode_libdir_separator_CXX=':'
11001 link_all_deplibs_CXX=yes
11003 if test "$GXX" = yes; then
11004 case $host_os in aix4.[012]|aix4.[012].*)
11005 # We only want to do this on AIX 4.2 and lower, the check
11006 # below for broken collect2 doesn't work under 4.3+
11007 collect2name=`${CC} -print-prog-name=collect2
`
11008 if test -f "$collect2name" && \
11009 strings "$collect2name" | grep resolve_lib_name >/dev/null
11011 # We have reworked collect2
11014 # We have old collect2
11015 hardcode_direct_CXX=unsupported
11016 # It fails to find uninstalled libraries when the uninstalled
11017 # path is not listed in the libpath. Setting hardcode_minus_L
11018 # to unsupported forces relinking
11019 hardcode_minus_L_CXX=yes
11020 hardcode_libdir_flag_spec_CXX='-L$libdir'
11021 hardcode_libdir_separator_CXX=
11025 shared_flag='-shared'
11026 if test "$aix_use_runtimelinking" = yes; then
11027 shared_flag="$shared_flag "'${wl}-G'
11031 if test "$host_cpu" = ia64; then
11032 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11033 # chokes on -Wl,-G. The following line is correct:
11036 if test "$aix_use_runtimelinking" = yes; then
11037 shared_flag='${wl}-G'
11039 shared_flag='${wl}-bM:SRE'
11044 # It seems that -bexpall does not export symbols beginning with
11045 # underscore (_), so it is better to generate a list of symbols to export.
11046 always_export_symbols_CXX=yes
11047 if test "$aix_use_runtimelinking" = yes; then
11048 # Warning - without using the other runtime loading flags (-brtl),
11049 # -berok will link without error, but may produce a broken library.
11050 allow_undefined_flag_CXX='-berok'
11051 # Determine the default libpath from the value encoded in an empty executable.
11052 cat >conftest.$ac_ext <<_ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11067 rm -f conftest.$ac_objext conftest$ac_exeext
11068 if { (ac_try="$ac_link"
11069 case "(($ac_try" in
11070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11071 *) ac_try_echo
=$ac_try;;
11073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074 (eval "$ac_link") 2>conftest.er1
11076 grep -v '^ *+' conftest.er1
>conftest.err
11078 cat conftest.err
>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } && {
11081 test -z "$ac_cxx_werror_flag" ||
11082 test ! -s conftest.err
11083 } && test -s conftest
$ac_exeext &&
11084 $as_test_x conftest
$ac_exeext; then
11086 lt_aix_libpath_sed
='
11087 /Import File Strings/,/^$/ {
11093 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11094 # Check for a 64-bit object if we didn't find anything.
11095 if test -z "$aix_libpath"; then
11096 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.
$ac_ext >&5
11105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11106 conftest
$ac_exeext conftest.
$ac_ext
11107 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11109 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11111 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"
11113 if test "$host_cpu" = ia64
; then
11114 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11115 allow_undefined_flag_CXX
="-z nodefs"
11116 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"
11118 # Determine the default libpath from the value encoded in an empty executable.
11119 cat >conftest.
$ac_ext <<_ACEOF
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11134 rm -f conftest.
$ac_objext conftest
$ac_exeext
11135 if { (ac_try
="$ac_link"
11136 case "(($ac_try" in
11137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_link") 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_cxx_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest$ac_exeext &&
11151 $as_test_x conftest$ac_exeext; then
11153 lt_aix_libpath_sed='
11154 /Import File Strings/,/^$/ {
11160 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11161 # Check for a 64-bit object if we didn't find anything.
11162 if test -z "$aix_libpath"; then
11163 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.$ac_ext >&5
11172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11173 conftest$ac_exeext conftest.$ac_ext
11174 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11176 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11177 # Warning - without using the other run time loading flags,
11178 # -berok will link without error, but may produce a broken library.
11179 no_undefined_flag_CXX=' ${wl}-bernotok'
11180 allow_undefined_flag_CXX=' ${wl}-berok'
11181 # Exported symbols can be pulled into shared objects from archives
11182 whole_archive_flag_spec_CXX='$convenience'
11183 archive_cmds_need_lc_CXX=yes
11184 # This is similar to how AIX traditionally builds its shared libraries.
11185 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'
11191 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11192 allow_undefined_flag_CXX=unsupported
11193 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11194 # support --undefined. This deserves some investigation. FIXME
11195 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11202 case $cc_basename in
11204 # FIXME: insert proper C++ library support
11210 cygwin* | mingw* | pw32*)
11211 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11212 # as there is no search path for DLLs.
11213 hardcode_libdir_flag_spec_CXX='-L$libdir'
11214 allow_undefined_flag_CXX=unsupported
11215 always_export_symbols_CXX=no
11216 enable_shared_with_static_runtimes_CXX=yes
11218 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11219 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'
11220 # If the export-symbols file already is a .def file (1st line
11221 # is EXPORTS), use it as is; otherwise, prepend...
11222 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11223 cp $export_symbols $output_objdir/$soname.def;
11225 echo EXPORTS > $output_objdir/$soname.def;
11226 cat $export_symbols >> $output_objdir/$soname.def;
11228 $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'
11233 darwin* | rhapsody*)
11235 rhapsody* | darwin1.[012])
11236 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11239 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11240 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11242 case ${MACOSX_DEPLOYMENT_TARGET} in
11244 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11247 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11253 archive_cmds_need_lc_CXX=no
11254 hardcode_direct_CXX=no
11255 hardcode_automatic_CXX=yes
11256 hardcode_shlibpath_var_CXX=unsupported
11257 whole_archive_flag_spec_CXX=''
11258 link_all_deplibs_CXX=yes
11260 if test "$GXX" = yes ; then
11261 lt_int_apple_cc_single_mod=no
11262 output_verbose_link_cmd='echo'
11263 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11264 lt_int_apple_cc_single_mod=yes
11266 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11267 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11269 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'
11271 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11272 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11273 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11274 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}'
11276 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}'
11278 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}'
11280 case $cc_basename in
11282 output_verbose_link_cmd='echo'
11283 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11284 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11285 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11286 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11287 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}'
11297 case $cc_basename in
11299 # FIXME: insert proper C++ library support
11303 # Green Hills C++ Compiler
11304 # FIXME: insert proper C++ library support
11308 # FIXME: insert proper C++ library support
11314 # C++ shared libraries reported to be fairly broken before switch to ELF
11318 archive_cmds_need_lc_CXX=no
11320 freebsd* | dragonfly*)
11321 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11328 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11329 hardcode_libdir_separator_CXX=:
11330 export_dynamic_flag_spec_CXX='${wl}-E'
11331 hardcode_direct_CXX=yes
11332 hardcode_minus_L_CXX=yes # Not in the search PATH,
11333 # but as the default
11334 # location of the library.
11336 case $cc_basename in
11338 # FIXME: insert proper C++ library support
11342 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'
11343 # Commands to make compiler produce verbose output that lists
11344 # what "hidden" libraries, object files and flags are used when
11345 # linking a shared library.
11347 # There doesn't appear to be a way to prevent this compiler from
11348 # explicitly linking system object files so we need to strip them
11349 # from the output so that they don't get included in the library
11351 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'
11354 if test "$GXX" = yes; then
11355 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'
11357 # FIXME: insert proper C++ library support
11364 if test $with_gnu_ld = no; then
11365 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11366 hardcode_libdir_separator_CXX=:
11371 export_dynamic_flag_spec_CXX='${wl}-E'
11377 hardcode_direct_CXX=no
11378 hardcode_shlibpath_var_CXX=no
11381 hardcode_direct_CXX=yes
11382 hardcode_minus_L_CXX=yes # Not in the search PATH,
11383 # but as the default
11384 # location of the library.
11388 case $cc_basename in
11390 # FIXME: insert proper C++ library support
11396 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11399 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11402 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11405 # Commands to make compiler produce verbose output that lists
11406 # what "hidden" libraries, object files and flags are used when
11407 # linking a shared library.
11409 # There doesn't appear to be a way to prevent this compiler from
11410 # explicitly linking system object files so we need to strip them
11411 # from the output so that they don't get included in the library
11413 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'
11416 if test "$GXX" = yes; then
11417 if test $with_gnu_ld = no; then
11420 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11423 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11426 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'
11431 # FIXME: insert proper C++ library support
11438 hardcode_direct_CXX=no
11439 hardcode_shlibpath_var_CXX=no
11440 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11441 export_dynamic_flag_spec_CXX='${wl}-E'
11442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11443 # Instead, shared libraries are loaded at an image base (0x10000000 by
11444 # default) and relocated if they conflict, which is a slow very memory
11445 # consuming and fragmenting process. To avoid this, we pick a random,
11446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11447 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11448 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'
11449 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'
11452 case $cc_basename in
11455 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'
11457 # Archives containing C++ object files must be created using
11458 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11459 # necessary to make sure instantiated templates are included
11461 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11464 if test "$GXX" = yes; then
11465 if test "$with_gnu_ld" = no; then
11466 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'
11468 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'
11471 link_all_deplibs_CXX=yes
11474 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11475 hardcode_libdir_separator_CXX=:
11477 linux* | k*bsd*-gnu)
11478 case $cc_basename in
11480 # Kuck and Associates, Inc. (KAI) C++ Compiler
11482 # KCC will only create a shared library if the output file
11483 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11484 # to its proper name (with version) after linking.
11485 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'
11486 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'
11487 # Commands to make compiler produce verbose output that lists
11488 # what "hidden" libraries, object files and flags are used when
11489 # linking a shared library.
11491 # There doesn't appear to be a way to prevent this compiler from
11492 # explicitly linking system object files so we need to strip them
11493 # from the output so that they don't get included in the library
11495 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'
11497 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11498 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11500 # Archives containing C++ object files must be created using
11501 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11502 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11507 # version 8.0 and above of icpc choke on multiply defined symbols
11508 # if we add $predep_objects and $postdep_objects, however 7.1 and
11509 # earlier do not add the objects themselves.
11510 case `$CC -V 2>&1` in
11512 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11513 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'
11515 *) # Version 8.0 or newer
11518 ia64
*) tmp_idyn
=' -i_dynamic';;
11520 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11521 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'
11524 archive_cmds_need_lc_CXX
=no
11525 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11526 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11527 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11530 # Portland Group C++ compiler
11531 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11532 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'
11534 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11535 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11536 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'
11540 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11541 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'
11543 runpath_var
=LD_RUN_PATH
11544 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11545 hardcode_libdir_separator_CXX
=:
11547 # Commands to make compiler produce verbose output that lists
11548 # what "hidden" libraries, object files and flags are used when
11549 # linking a shared library.
11551 # There doesn't appear to be a way to prevent this compiler from
11552 # explicitly linking system object files so we need to strip them
11553 # from the output so that they don't get included in the library
11555 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'
11558 case `$CC -V 2>&1 | sed 5q` in
11561 no_undefined_flag_CXX
=' -zdefs'
11562 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11563 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11564 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11565 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11567 # Not sure whether something based on
11568 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11570 output_verbose_link_cmd
='echo'
11572 # Archives containing C++ object files must be created using
11573 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11574 # necessary to make sure instantiated templates are included
11576 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11583 # FIXME: insert proper C++ library support
11587 # FIXME: insert proper C++ library support
11591 case $cc_basename in
11593 # FIXME: insert proper C++ library support
11597 # FIXME: insert proper C++ library support
11603 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11604 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11606 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11607 hardcode_direct_CXX
=yes
11608 hardcode_shlibpath_var_CXX
=no
11610 # Workaround some broken pre-1.5 toolchains
11611 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11614 # C++ shared libraries are fairly broken
11618 if test -f /usr
/libexec
/ld.so
; then
11619 hardcode_direct_CXX
=yes
11620 hardcode_shlibpath_var_CXX
=no
11621 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11622 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11623 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11624 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11625 export_dynamic_flag_spec_CXX
='${wl}-E'
11626 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11628 output_verbose_link_cmd
='echo'
11634 case $cc_basename in
11636 # Kuck and Associates, Inc. (KAI) C++ Compiler
11638 # KCC will only create a shared library if the output file
11639 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11640 # to its proper name (with version) after linking.
11641 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'
11643 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11644 hardcode_libdir_separator_CXX
=:
11646 # Archives containing C++ object files must be created using
11647 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11648 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11652 # Rational C++ 2.4.1
11653 # FIXME: insert proper C++ library support
11657 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11658 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'
11660 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11661 hardcode_libdir_separator_CXX
=:
11663 # Commands to make compiler produce verbose output that lists
11664 # what "hidden" libraries, object files and flags are used when
11665 # linking a shared library.
11667 # There doesn't appear to be a way to prevent this compiler from
11668 # explicitly linking system object files so we need to strip them
11669 # from the output so that they don't get included in the library
11671 output_verbose_link_cmd
='templist=`$CC -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'
11674 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11675 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11676 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'
11678 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11679 hardcode_libdir_separator_CXX
=:
11681 # Commands to make compiler produce verbose output that lists
11682 # what "hidden" libraries, object files and flags are used when
11683 # linking a shared library.
11684 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11687 # FIXME: insert proper C++ library support
11694 case $cc_basename in
11696 # Kuck and Associates, Inc. (KAI) C++ Compiler
11698 # KCC will only create a shared library if the output file
11699 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11700 # to its proper name (with version) after linking.
11701 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'
11703 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11704 hardcode_libdir_separator_CXX
=:
11706 # Archives containing C++ object files must be created using
11707 # the KAI C++ compiler.
11708 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11711 # Rational C++ 2.4.1
11712 # FIXME: insert proper C++ library support
11716 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11717 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'
11718 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11719 echo "-hidden">> $lib.exp~
11720 $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~
11723 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11724 hardcode_libdir_separator_CXX
=:
11726 # Commands to make compiler produce verbose output that lists
11727 # what "hidden" libraries, object files and flags are used when
11728 # linking a shared library.
11730 # There doesn't appear to be a way to prevent this compiler from
11731 # explicitly linking system object files so we need to strip them
11732 # from the output so that they don't get included in the library
11734 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'
11737 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11738 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11739 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'
11741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11742 hardcode_libdir_separator_CXX
=:
11744 # Commands to make compiler produce verbose output that lists
11745 # what "hidden" libraries, object files and flags are used when
11746 # linking a shared library.
11747 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11750 # FIXME: insert proper C++ library support
11757 # FIXME: insert proper C++ library support
11761 case $cc_basename in
11764 # FIXME: insert proper C++ library support
11769 # FIXME: insert proper C++ library support
11773 # FIXME: insert proper C++ library support
11779 case $cc_basename in
11781 # Sun C++ 4.2, 5.x and Centerline C++
11782 archive_cmds_need_lc_CXX
=yes
11783 no_undefined_flag_CXX
=' -zdefs'
11784 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11785 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11786 $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'
11788 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11789 hardcode_shlibpath_var_CXX
=no
11791 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11793 # The compiler driver will combine and reorder linker options,
11794 # but understands `-z linker_flag'.
11795 # Supported since Solaris 2.6 (maybe 2.5.1?)
11796 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11799 link_all_deplibs_CXX
=yes
11801 output_verbose_link_cmd
='echo'
11803 # Archives containing C++ object files must be created using
11804 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11805 # necessary to make sure instantiated templates are included
11807 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11810 # Green Hills C++ Compiler
11811 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11813 # The C++ compiler must be used to create the archive.
11814 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11817 # GNU C++ compiler with Solaris linker
11818 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11819 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11820 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11821 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11822 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11823 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11825 # Commands to make compiler produce verbose output that lists
11826 # what "hidden" libraries, object files and flags are used when
11827 # linking a shared library.
11828 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11830 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11832 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11833 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11834 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11836 # Commands to make compiler produce verbose output that lists
11837 # what "hidden" libraries, object files and flags are used when
11838 # linking a shared library.
11839 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11842 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11844 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11846 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11853 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11854 no_undefined_flag_CXX
='${wl}-z,text'
11855 archive_cmds_need_lc_CXX
=no
11856 hardcode_shlibpath_var_CXX
=no
11857 runpath_var
='LD_RUN_PATH'
11859 case $cc_basename in
11861 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11862 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11865 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11866 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11870 sysv5
* | sco3.2v5
* | sco5v6
*)
11871 # Note: We can NOT use -z defs as we might desire, because we do not
11872 # link with -lc, and that would cause any symbols used from libc to
11873 # always be unresolved, which means just about no library would
11874 # ever link correctly. If we're not using GNU ld we use -z text
11875 # though, which does catch some bad symbols but isn't as heavy-handed
11877 # For security reasons, it is highly recommended that you always
11878 # use absolute paths for naming shared libraries, and exclude the
11879 # DT_RUNPATH tag from executables and libraries. But doing so
11880 # requires that you compile everything twice, which is a pain.
11881 # So that behaviour is only enabled if SCOABSPATH is set to a
11882 # non-empty value in the environment. Most likely only useful for
11883 # creating official distributions of packages.
11884 # This is a hack until libtool officially supports absolute path
11885 # names for shared libraries.
11886 no_undefined_flag_CXX
='${wl}-z,text'
11887 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11888 archive_cmds_need_lc_CXX
=no
11889 hardcode_shlibpath_var_CXX
=no
11890 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11891 hardcode_libdir_separator_CXX
=':'
11892 link_all_deplibs_CXX
=yes
11893 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11894 runpath_var
='LD_RUN_PATH'
11896 case $cc_basename in
11898 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11899 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11902 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11903 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11908 case $cc_basename in
11910 # NonStop-UX NCC 3.20
11911 # FIXME: insert proper C++ library support
11915 # FIXME: insert proper C++ library support
11921 # FIXME: insert proper C++ library support
11925 # FIXME: insert proper C++ library support
11929 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11930 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11931 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11937 cat > conftest.
$ac_ext <<EOF
11941 Foo (void) { a = 0; }
11947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11948 (eval $ac_compile) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; then
11952 # Parse the compiler output and extract the necessary
11953 # objects, libraries and library flags.
11955 # Sentinel used to keep track of whether or not we are before
11956 # the conftest object file.
11957 pre_test_object_deps_done
=no
11959 # The `*' in the case matches for architectures that use `case' in
11960 # $output_verbose_cmd can trigger glob expansion during the loop
11961 # eval without this substitution.
11962 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11964 for p
in `eval $output_verbose_link_cmd`; do
11968 # Some compilers place space between "-{L,R}" and the path.
11969 # Remove the space.
11970 if test $p = "-L" \
11971 ||
test $p = "-R"; then
11978 if test "$pre_test_object_deps_done" = no
; then
11981 # Internal compiler library paths should come after those
11982 # provided the user. The postdeps already come after the
11983 # user supplied libs so there is no need to process them.
11984 if test -z "$compiler_lib_search_path_CXX"; then
11985 compiler_lib_search_path_CXX
="${prev}${p}"
11987 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11990 # The "-l" case would never come before the object being
11991 # linked, so don't bother handling this case.
11994 if test -z "$postdeps_CXX"; then
11995 postdeps_CXX
="${prev}${p}"
11997 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12003 # This assumes that the test object file only shows up
12004 # once in the compiler output.
12005 if test "$p" = "conftest.$objext"; then
12006 pre_test_object_deps_done
=yes
12010 if test "$pre_test_object_deps_done" = no
; then
12011 if test -z "$predep_objects_CXX"; then
12012 predep_objects_CXX
="$p"
12014 predep_objects_CXX
="$predep_objects_CXX $p"
12017 if test -z "$postdep_objects_CXX"; then
12018 postdep_objects_CXX
="$p"
12020 postdep_objects_CXX
="$postdep_objects_CXX $p"
12025 *) ;; # Ignore the rest.
12033 echo "libtool.m4: error: problem compiling CXX test program"
12036 $rm -f confest.
$objext
12038 # PORTME: override above test on systems where it is broken
12041 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12042 # hack all around it, let's just trust "g++" to DTRT.
12043 predep_objects_CXX
=
12044 postdep_objects_CXX
=
12049 case `$CC -V 2>&1 | sed 5q` in
12053 # The more standards-conforming stlport4 library is
12054 # incompatible with the Cstd library. Avoid specifying
12055 # it if it's in CXXFLAGS. Ignore libCrun as
12056 # -library=stlport4 depends on it.
12057 case " $CXX $CXXFLAGS " in
12058 *" -library=stlport4 "*)
12059 solaris_use_stlport4
=yes
12062 if test "$solaris_use_stlport4" != yes; then
12063 postdeps_CXX
='-library=Cstd -library=Crun'
12070 case $cc_basename in
12072 # The more standards-conforming stlport4 library is
12073 # incompatible with the Cstd library. Avoid specifying
12074 # it if it's in CXXFLAGS. Ignore libCrun as
12075 # -library=stlport4 depends on it.
12076 case " $CXX $CXXFLAGS " in
12077 *" -library=stlport4 "*)
12078 solaris_use_stlport4
=yes
12082 # Adding this requires a known-good setup of shared libraries for
12083 # Sun compiler versions before 5.6, else PIC objects from an old
12084 # archive will be linked into the output, leading to subtle bugs.
12085 if test "$solaris_use_stlport4" != yes; then
12086 postdeps_CXX
='-library=Cstd -library=Crun'
12094 case " $postdeps_CXX " in
12095 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12098 lt_prog_compiler_wl_CXX
=
12099 lt_prog_compiler_pic_CXX
=
12100 lt_prog_compiler_static_CXX
=
12102 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12103 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12105 # C++ specific cases for pic, static, wl, etc.
12106 if test "$GXX" = yes; then
12107 lt_prog_compiler_wl_CXX
='-Wl,'
12108 lt_prog_compiler_static_CXX
='-static'
12112 # All AIX code is PIC.
12113 if test "$host_cpu" = ia64
; then
12114 # AIX 5 now supports IA64 processor
12115 lt_prog_compiler_static_CXX
='-Bstatic'
12119 # FIXME: we need at least 68020 code to build shared libraries, but
12120 # adding the `-m68020' flag to GCC prevents building anything better,
12122 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12124 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12125 # PIC is the default for these OSes.
12127 mingw
* | cygwin
* | os2
* | pw32
*)
12128 # This hack is so that the source file can tell whether it is being
12129 # built for inclusion in a dll (and should export symbols for example).
12130 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12131 # (--disable-auto-import) libraries
12132 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12134 darwin
* | rhapsody
*)
12135 # PIC is the default on this platform
12136 # Common symbols not allowed in MH_DYLIB files
12137 lt_prog_compiler_pic_CXX
='-fno-common'
12140 # DJGPP does not support shared libraries at all
12141 lt_prog_compiler_pic_CXX
=
12144 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12145 # Instead, we relocate shared libraries at runtime.
12148 if test -d /usr
/nec
; then
12149 lt_prog_compiler_pic_CXX
=-Kconform_pic
12153 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12154 # not for PA HP-UX.
12159 lt_prog_compiler_pic_CXX
='-fPIC'
12164 lt_prog_compiler_pic_CXX
='-fPIC'
12170 # All AIX code is PIC.
12171 if test "$host_cpu" = ia64
; then
12172 # AIX 5 now supports IA64 processor
12173 lt_prog_compiler_static_CXX
='-Bstatic'
12175 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12179 case $cc_basename in
12181 # Green Hills C++ Compiler
12182 # _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"
12187 # PIC is the default on this platform
12188 # Common symbols not allowed in MH_DYLIB files
12189 case $cc_basename in
12191 lt_prog_compiler_pic_CXX
='-qnocommon'
12192 lt_prog_compiler_wl_CXX
='-Wl,'
12197 case $cc_basename in
12199 lt_prog_compiler_pic_CXX
='-KPIC'
12202 # Green Hills C++ Compiler
12203 lt_prog_compiler_pic_CXX
='-pic'
12209 freebsd
* | dragonfly
*)
12210 # FreeBSD uses GNU C++
12212 hpux9
* | hpux10
* | hpux11
*)
12213 case $cc_basename in
12215 lt_prog_compiler_wl_CXX
='-Wl,'
12216 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12217 if test "$host_cpu" != ia64
; then
12218 lt_prog_compiler_pic_CXX
='+Z'
12222 lt_prog_compiler_wl_CXX
='-Wl,'
12223 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12229 lt_prog_compiler_pic_CXX
='+Z'
12238 # This is c89, which is MS Visual C++ (no shared libs)
12239 # Anyone wants to do a port?
12241 irix5
* | irix6
* | nonstopux
*)
12242 case $cc_basename in
12244 lt_prog_compiler_wl_CXX
='-Wl,'
12245 lt_prog_compiler_static_CXX
='-non_shared'
12246 # CC pic flag -KPIC is the default.
12252 linux
* | k
*bsd
*-gnu)
12253 case $cc_basename in
12256 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12257 lt_prog_compiler_pic_CXX
='-fPIC'
12261 lt_prog_compiler_wl_CXX
='-Wl,'
12262 lt_prog_compiler_pic_CXX
='-KPIC'
12263 lt_prog_compiler_static_CXX
='-static'
12266 # Portland Group C++ compiler.
12267 lt_prog_compiler_wl_CXX
='-Wl,'
12268 lt_prog_compiler_pic_CXX
='-fpic'
12269 lt_prog_compiler_static_CXX
='-Bstatic'
12273 # Make sure the PIC flag is empty. It appears that all Alpha
12274 # Linux and Compaq Tru64 Unix objects are PIC.
12275 lt_prog_compiler_pic_CXX
=
12276 lt_prog_compiler_static_CXX
='-non_shared'
12279 case `$CC -V 2>&1 | sed 5q` in
12282 lt_prog_compiler_pic_CXX
='-KPIC'
12283 lt_prog_compiler_static_CXX
='-Bstatic'
12284 lt_prog_compiler_wl_CXX
='-Qoption ld '
12295 case $cc_basename in
12297 lt_prog_compiler_pic_CXX
='-W c,exportall'
12305 osf3
* | osf4
* | osf5
*)
12306 case $cc_basename in
12308 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12311 # Rational C++ 2.4.1
12312 lt_prog_compiler_pic_CXX
='-pic'
12315 # Digital/Compaq C++
12316 lt_prog_compiler_wl_CXX
='-Wl,'
12317 # Make sure the PIC flag is empty. It appears that all Alpha
12318 # Linux and Compaq Tru64 Unix objects are PIC.
12319 lt_prog_compiler_pic_CXX
=
12320 lt_prog_compiler_static_CXX
='-non_shared'
12329 case $cc_basename in
12331 # Sun C++ 4.2, 5.x and Centerline C++
12332 lt_prog_compiler_pic_CXX
='-KPIC'
12333 lt_prog_compiler_static_CXX
='-Bstatic'
12334 lt_prog_compiler_wl_CXX
='-Qoption ld '
12337 # Green Hills C++ Compiler
12338 lt_prog_compiler_pic_CXX
='-PIC'
12345 case $cc_basename in
12348 lt_prog_compiler_pic_CXX
='-pic'
12349 lt_prog_compiler_static_CXX
='-Bstatic'
12353 lt_prog_compiler_pic_CXX
='-pic'
12360 case $cc_basename in
12362 # NonStop-UX NCC 3.20
12363 lt_prog_compiler_pic_CXX
='-KPIC'
12369 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12370 case $cc_basename in
12372 lt_prog_compiler_wl_CXX
='-Wl,'
12373 lt_prog_compiler_pic_CXX
='-KPIC'
12374 lt_prog_compiler_static_CXX
='-Bstatic'
12381 lt_prog_compiler_can_build_shared_CXX
=no
12386 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12387 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12390 # Check to make sure the PIC flag actually works.
12392 if test -n "$lt_prog_compiler_pic_CXX"; then
12394 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12395 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12396 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 lt_prog_compiler_pic_works_CXX
=no
12400 ac_outfile
=conftest.
$ac_objext
12401 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12402 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12403 # Insert the option either (1) after the last *FLAGS variable, or
12404 # (2) before a word containing "conftest.", or (3) at the end.
12405 # Note that $ac_compile itself does not contain backslashes and begins
12406 # with a dollar sign (not a hyphen), so the echo should work correctly.
12407 # The option is referenced via a variable to avoid confusing sed.
12408 lt_compile
=`echo "$ac_compile" | $SED \
12409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12411 -e 's:$: $lt_compiler_flag:'`
12412 (eval echo "\"\$as_me:12412: $lt_compile\"" >&5)
12413 (eval "$lt_compile" 2>conftest.err
)
12415 cat conftest.err
>&5
12416 echo "$as_me:12416: \$? = $ac_status" >&5
12417 if (exit $ac_status) && test -s "$ac_outfile"; then
12418 # The compiler can only warn and ignore the option if not recognized
12419 # So say no if there are warnings other than the usual output.
12420 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12421 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12422 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12423 lt_prog_compiler_pic_works_CXX
=yes
12429 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12430 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12432 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12433 case $lt_prog_compiler_pic_CXX in
12435 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12438 lt_prog_compiler_pic_CXX
=
12439 lt_prog_compiler_can_build_shared_CXX
=no
12444 # For platforms which do not support PIC, -DPIC is meaningless:
12446 lt_prog_compiler_pic_CXX
=
12449 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12454 # Check to make sure the static flag actually works.
12456 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12457 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12458 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12459 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12460 echo $ECHO_N "(cached) $ECHO_C" >&6
12462 lt_prog_compiler_static_works_CXX
=no
12463 save_LDFLAGS
="$LDFLAGS"
12464 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12465 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12466 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12467 # The linker can only warn and ignore the option if not recognized
12468 # So say no if there are warnings
12469 if test -s conftest.err
; then
12470 # Append any errors to the config.log.
12471 cat conftest.err
1>&5
12472 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12473 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12474 if diff conftest.exp conftest.er2
>/dev
/null
; then
12475 lt_prog_compiler_static_works_CXX
=yes
12478 lt_prog_compiler_static_works_CXX
=yes
12482 LDFLAGS
="$save_LDFLAGS"
12485 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12486 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12488 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12491 lt_prog_compiler_static_CXX
=
12495 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12496 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12497 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 lt_cv_prog_compiler_c_o_CXX
=no
12501 $rm -r conftest
2>/dev
/null
12505 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12507 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12508 # Insert the option either (1) after the last *FLAGS variable, or
12509 # (2) before a word containing "conftest.", or (3) at the end.
12510 # Note that $ac_compile itself does not contain backslashes and begins
12511 # with a dollar sign (not a hyphen), so the echo should work correctly.
12512 lt_compile
=`echo "$ac_compile" | $SED \
12513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12515 -e 's:$: $lt_compiler_flag:'`
12516 (eval echo "\"\$as_me:12516: $lt_compile\"" >&5)
12517 (eval "$lt_compile" 2>out
/conftest.err
)
12519 cat out
/conftest.err
>&5
12520 echo "$as_me:12520: \$? = $ac_status" >&5
12521 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12523 # The compiler can only warn and ignore the option if not recognized
12524 # So say no if there are warnings
12525 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12526 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12527 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12528 lt_cv_prog_compiler_c_o_CXX
=yes
12533 # SGI C++ compiler will create directory out/ii_files/ for
12534 # template instantiation
12535 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12536 $rm out
/* && rmdir out
12542 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12543 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12546 hard_links
="nottested"
12547 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12548 # do not overwrite the value of need_locks provided by the user
12549 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12550 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12553 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12555 ln conftest.a conftest.b
2>&5 || hard_links
=no
12556 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12557 { echo "$as_me:$LINENO: result: $hard_links" >&5
12558 echo "${ECHO_T}$hard_links" >&6; }
12559 if test "$hard_links" = no
; then
12560 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12561 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12568 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12569 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12571 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12574 # If we're using GNU nm, then we don't want the "-C" option.
12575 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12576 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12577 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'
12579 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'
12583 export_symbols_cmds_CXX
="$ltdll_cmds"
12586 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'
12589 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12593 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12594 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12595 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12598 # Do we need to explicitly link libc?
12600 case "x$archive_cmds_need_lc_CXX" in
12602 # Assume -lc should be added
12603 archive_cmds_need_lc_CXX
=yes
12605 if test "$enable_shared" = yes && test "$GCC" = yes; then
12606 case $archive_cmds_CXX in
12608 # FIXME: we may have to deal with multi-command sequences.
12611 # Test whether the compiler implicitly links with -lc since on some
12612 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12613 # to ld, don't add -lc before -lgcc.
12614 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12615 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } 2>conftest.err
; then
12626 libobjs
=conftest.
$ac_objext
12628 wl
=$lt_prog_compiler_wl_CXX
12629 pic_flag
=$lt_prog_compiler_pic_CXX
12635 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12636 allow_undefined_flag_CXX
=
12637 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12638 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); }
12643 archive_cmds_need_lc_CXX
=no
12645 archive_cmds_need_lc_CXX
=yes
12647 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12649 cat conftest.err
1>&5
12652 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12653 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12660 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12661 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12662 library_names_spec
=
12663 libname_spec
='lib$name'
12667 postuninstall_cmds
=
12671 shlibpath_overrides_runpath
=unknown
12673 dynamic_linker
="$host_os ld.so"
12674 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12676 need_lib_prefix
=unknown
12677 hardcode_into_libs
=no
12679 # when you set need_version to no, make sure it does not cause -set_version
12680 # flags to be left without arguments
12681 need_version
=unknown
12686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12687 shlibpath_var
=LIBPATH
12689 # AIX 3 has no versioning support, so we append a major version to the name.
12690 soname_spec
='${libname}${release}${shared_ext}$major'
12697 hardcode_into_libs
=yes
12698 if test "$host_cpu" = ia64
; then
12699 # AIX 5 supports IA64
12700 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12701 shlibpath_var
=LD_LIBRARY_PATH
12703 # With GCC up to 2.95.x, collect2 would create an import file
12704 # for dependence libraries. The import file would start with
12705 # the line `#! .'. This would cause the generated library to
12706 # depend on `.', always an invalid library. This was fixed in
12707 # development snapshots of GCC prior to 3.0.
12709 aix4 | aix4.
[01] | aix4.
[01].
*)
12710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12712 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12715 can_build_shared
=no
12719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12720 # soname into executable. Probably we can add versioning support to
12721 # collect2, so additional links can be useful in future.
12722 if test "$aix_use_runtimelinking" = yes; then
12723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12724 # instead of lib<name>.a to let people know that these are not
12725 # typical AIX shared libraries.
12726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12728 # We preserve .a as extension for shared libraries through AIX4.2
12729 # and later when we are not doing run time linking.
12730 library_names_spec
='${libname}${release}.a $libname.a'
12731 soname_spec
='${libname}${release}${shared_ext}$major'
12733 shlibpath_var
=LIBPATH
12738 library_names_spec
='$libname.ixlibrary $libname.a'
12739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12740 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'
12744 library_names_spec
='${libname}${shared_ext}'
12745 dynamic_linker
="$host_os ld.so"
12746 shlibpath_var
=LIBRARY_PATH
12752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12753 soname_spec
='${libname}${release}${shared_ext}$major'
12754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12755 shlibpath_var
=LD_LIBRARY_PATH
12756 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12757 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12758 # the default ld.so.conf also contains /usr/contrib/lib and
12759 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12760 # libtool to hard-code these into programs
12763 cygwin
* | mingw
* | pw32
*)
12764 version_type
=windows
12769 case $GCC,$host_os in
12770 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12771 library_names_spec
='$libname.dll.a'
12772 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12773 postinstall_cmds
='base_file=`basename \${file}`~
12774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12775 dldir=$destdir/`dirname \$dlpath`~
12776 test -d \$dldir || mkdir -p \$dldir~
12777 $install_prog $dir/$dlname \$dldir/$dlname~
12778 chmod a+x \$dldir/$dlname'
12779 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12780 dlpath=$dir/\$dldll~
12782 shlibpath_overrides_runpath
=yes
12786 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12787 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12788 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12791 # MinGW DLLs use traditional 'lib' prefix
12792 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12793 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12794 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12795 # It is most probably a Windows format PATH printed by
12796 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12797 # path with ; separators, and with drive letters. We can handle the
12798 # drive letters (cygwin fileutils understands them), so leave them,
12799 # especially as we might pass files found there to a mingw objdump,
12800 # which wouldn't understand a cygwinified path. Ahh.
12801 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12803 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12807 # pw32 DLLs use 'pw' prefix rather than 'lib'
12808 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12814 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12817 dynamic_linker
='Win32 ld.exe'
12818 # FIXME: first we should search . and the directory the executable is in
12822 darwin
* | rhapsody
*)
12823 dynamic_linker
="$host_os dyld"
12824 version_type
=darwin
12827 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12828 soname_spec
='${libname}${release}${major}$shared_ext'
12829 shlibpath_overrides_runpath
=yes
12830 shlibpath_var
=DYLD_LIBRARY_PATH
12831 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12833 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12841 soname_spec
='${libname}${release}${shared_ext}$major'
12842 shlibpath_var
=LD_LIBRARY_PATH
12849 freebsd
* | dragonfly
*)
12850 # DragonFly does not have aout. When/if they implement a new
12851 # versioning mechanism, adjust this.
12852 if test -x /usr
/bin
/objformat
; then
12853 objformat
=`/usr/bin/objformat`
12856 freebsd
[123]*) objformat
=aout
;;
12857 *) objformat
=elf
;;
12860 version_type
=freebsd-
$objformat
12861 case $version_type in
12863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12868 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12872 shlibpath_var
=LD_LIBRARY_PATH
12875 shlibpath_overrides_runpath
=yes
12877 freebsd3.
[01]* | freebsdelf3.
[01]*)
12878 shlibpath_overrides_runpath
=yes
12879 hardcode_into_libs
=yes
12881 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12882 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12883 shlibpath_overrides_runpath
=no
12884 hardcode_into_libs
=yes
12886 *) # from 4.6 on, and DragonFly
12887 shlibpath_overrides_runpath
=yes
12888 hardcode_into_libs
=yes
12897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12898 soname_spec
='${libname}${release}${shared_ext}$major'
12899 shlibpath_var
=LD_LIBRARY_PATH
12900 hardcode_into_libs
=yes
12903 hpux9
* | hpux10
* | hpux11
*)
12904 # Give a soname corresponding to the major version so that dld.sl refuses to
12905 # link against other versions.
12912 hardcode_into_libs
=yes
12913 dynamic_linker
="$host_os dld.so"
12914 shlibpath_var
=LD_LIBRARY_PATH
12915 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12917 soname_spec
='${libname}${release}${shared_ext}$major'
12918 if test "X$HPUX_IA64_MODE" = X32
; then
12919 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12921 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12923 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12927 hardcode_into_libs
=yes
12928 dynamic_linker
="$host_os dld.sl"
12929 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12930 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12932 soname_spec
='${libname}${release}${shared_ext}$major'
12933 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12938 dynamic_linker
="$host_os dld.sl"
12939 shlibpath_var
=SHLIB_PATH
12940 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12942 soname_spec
='${libname}${release}${shared_ext}$major'
12945 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12946 postinstall_cmds
='chmod 555 $lib'
12953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12954 soname_spec
='${libname}${release}${shared_ext}$major'
12955 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12956 shlibpath_var
=LD_LIBRARY_PATH
12957 shlibpath_overrides_runpath
=no
12958 hardcode_into_libs
=yes
12961 irix5
* | irix6
* | nonstopux
*)
12963 nonstopux
*) version_type
=nonstopux
;;
12965 if test "$lt_cv_prog_gnu_ld" = yes; then
12973 soname_spec
='${libname}${release}${shared_ext}$major'
12974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12976 irix5
* | nonstopux
*)
12977 libsuff
= shlibsuff
=
12980 case $LD in # libtool.m4 will add one of these switches to LD
12981 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12982 libsuff
= shlibsuff
= libmagic
=32-bit;;
12983 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12984 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12985 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12986 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12987 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12991 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12992 shlibpath_overrides_runpath
=no
12993 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12994 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12995 hardcode_into_libs
=yes
12998 # No shared lib support for Linux oldld, aout, or coff.
12999 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13003 # This must be Linux ELF.
13004 linux
* | k
*bsd
*-gnu)
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13011 shlibpath_var
=LD_LIBRARY_PATH
13012 shlibpath_overrides_runpath
=no
13013 # This implies no fast_install, which is unacceptable.
13014 # Some rework will be needed to allow for fast_install
13015 # before this can be enabled.
13016 hardcode_into_libs
=yes
13017 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13018 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13020 # Append ld.so.conf contents to the search path
13021 if test -f /etc
/ld.so.conf
; then
13022 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13023 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13026 # We used to test for /lib/ld.so.1 and disable shared libraries on
13027 # powerpc, because MkLinux only supported shared libraries with the
13028 # GNU dynamic linker. Since this was broken with cross compilers,
13029 # most powerpc-linux boxes support dynamic linking these days and
13030 # people can always --disable-shared, the test was removed, and we
13031 # assume the GNU/Linux dynamic linker is in use.
13032 dynamic_linker
='GNU/Linux ld.so'
13039 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13041 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13042 dynamic_linker
='NetBSD (a.out) ld.so'
13044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13045 soname_spec
='${libname}${release}${shared_ext}$major'
13046 dynamic_linker
='NetBSD ld.elf_so'
13048 shlibpath_var
=LD_LIBRARY_PATH
13049 shlibpath_overrides_runpath
=yes
13050 hardcode_into_libs
=yes
13055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13056 shlibpath_var
=LD_LIBRARY_PATH
13057 shlibpath_overrides_runpath
=yes
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
13072 sys_lib_dlsearch_path_spec
="/usr/lib"
13074 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13076 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13077 *) need_version
=no
;;
13079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13081 shlibpath_var
=LD_LIBRARY_PATH
13082 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13084 openbsd2.
[89] | openbsd2.
[89].
*)
13085 shlibpath_overrides_runpath
=no
13088 shlibpath_overrides_runpath
=yes
13092 shlibpath_overrides_runpath
=yes
13097 libname_spec
='$name'
13100 library_names_spec
='$libname${shared_ext} $libname.a'
13101 dynamic_linker
='OS/2 ld.exe'
13102 shlibpath_var
=LIBPATH
13105 osf3
* | osf4
* | osf5
*)
13109 soname_spec
='${libname}${release}${shared_ext}$major'
13110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111 shlibpath_var
=LD_LIBRARY_PATH
13112 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13113 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13125 soname_spec
='${libname}${release}${shared_ext}$major'
13126 shlibpath_var
=LD_LIBRARY_PATH
13127 shlibpath_overrides_runpath
=yes
13128 hardcode_into_libs
=yes
13129 # ldd complains unless libraries are executable
13130 postinstall_cmds
='chmod +x $lib'
13135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13136 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13137 shlibpath_var
=LD_LIBRARY_PATH
13138 shlibpath_overrides_runpath
=yes
13139 if test "$with_gnu_ld" = yes; then
13147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148 soname_spec
='${libname}${release}${shared_ext}$major'
13149 shlibpath_var
=LD_LIBRARY_PATH
13150 case $host_vendor in
13152 shlibpath_overrides_runpath
=no
13154 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13155 runpath_var
=LD_RUN_PATH
13163 shlibpath_overrides_runpath
=no
13164 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13170 if test -d /usr
/nec
;then
13172 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13173 soname_spec
='$libname${shared_ext}.$major'
13174 shlibpath_var
=LD_LIBRARY_PATH
13178 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13179 version_type
=freebsd-elf
13182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13183 soname_spec
='${libname}${release}${shared_ext}$major'
13184 shlibpath_var
=LD_LIBRARY_PATH
13185 hardcode_into_libs
=yes
13186 if test "$with_gnu_ld" = yes; then
13187 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13188 shlibpath_overrides_runpath
=no
13190 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13191 shlibpath_overrides_runpath
=yes
13194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13198 sys_lib_dlsearch_path_spec
='/usr/lib'
13203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13204 soname_spec
='${libname}${release}${shared_ext}$major'
13205 shlibpath_var
=LD_LIBRARY_PATH
13212 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13213 echo "${ECHO_T}$dynamic_linker" >&6; }
13214 test "$dynamic_linker" = no
&& can_build_shared
=no
13216 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13217 if test "$GCC" = yes; then
13218 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13221 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13222 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13223 hardcode_action_CXX
=
13224 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13225 test -n "$runpath_var_CXX" || \
13226 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13228 # We can hardcode non-existant directories.
13229 if test "$hardcode_direct_CXX" != no
&&
13230 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13231 # have to relink, otherwise we might link with an installed library
13232 # when we should be linking with a yet-to-be-installed one
13233 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13234 test "$hardcode_minus_L_CXX" != no
; then
13235 # Linking always hardcodes the temporary library directory.
13236 hardcode_action_CXX
=relink
13238 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13239 hardcode_action_CXX
=immediate
13242 # We cannot hardcode anything, or else we can only hardcode existing
13244 hardcode_action_CXX
=unsupported
13246 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13247 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13249 if test "$hardcode_action_CXX" = relink
; then
13250 # Fast installation is not supported
13251 enable_fast_install
=no
13252 elif test "$shlibpath_overrides_runpath" = yes ||
13253 test "$enable_shared" = no
; then
13254 # Fast installation is not necessary
13255 enable_fast_install
=needless
13259 # The else clause should only fire when bootstrapping the
13260 # libtool distribution, otherwise you forgot to ship ltmain.sh
13261 # with your package, and you will get complaints that there are
13262 # no rules to generate ltmain.sh.
13263 if test -f "$ltmain"; then
13264 # See if we are running on zsh, and set the options which allow our commands through
13265 # without removal of \ escapes.
13266 if test -n "${ZSH_VERSION+set}" ; then
13267 setopt NO_GLOB_SUBST
13269 # Now quote all the things that may contain metacharacters while being
13270 # careful not to overquote the AC_SUBSTed values. We take copies of the
13271 # variables and quote the copies for generation of the libtool script.
13272 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13274 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13275 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13276 deplibs_check_method reload_flag reload_cmds need_locks \
13277 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13278 lt_cv_sys_global_symbol_to_c_name_address \
13279 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13280 old_postinstall_cmds old_postuninstall_cmds \
13284 lt_prog_compiler_wl_CXX \
13285 lt_prog_compiler_pic_CXX \
13286 lt_prog_compiler_static_CXX \
13287 lt_prog_compiler_no_builtin_flag_CXX \
13288 export_dynamic_flag_spec_CXX \
13289 thread_safe_flag_spec_CXX \
13290 whole_archive_flag_spec_CXX \
13291 enable_shared_with_static_runtimes_CXX \
13292 old_archive_cmds_CXX \
13293 old_archive_from_new_cmds_CXX \
13294 predep_objects_CXX \
13295 postdep_objects_CXX \
13298 compiler_lib_search_path_CXX \
13300 archive_expsym_cmds_CXX \
13301 postinstall_cmds_CXX \
13302 postuninstall_cmds_CXX \
13303 old_archive_from_expsyms_cmds_CXX \
13304 allow_undefined_flag_CXX \
13305 no_undefined_flag_CXX \
13306 export_symbols_cmds_CXX \
13307 hardcode_libdir_flag_spec_CXX \
13308 hardcode_libdir_flag_spec_ld_CXX \
13309 hardcode_libdir_separator_CXX \
13310 hardcode_automatic_CXX \
13312 module_expsym_cmds_CXX \
13313 lt_cv_prog_compiler_c_o_CXX \
13314 fix_srcfile_path_CXX \
13315 exclude_expsyms_CXX \
13316 include_expsyms_CXX
; do
13319 old_archive_cmds_CXX | \
13320 old_archive_from_new_cmds_CXX | \
13321 archive_cmds_CXX | \
13322 archive_expsym_cmds_CXX | \
13323 module_cmds_CXX | \
13324 module_expsym_cmds_CXX | \
13325 old_archive_from_expsyms_cmds_CXX | \
13326 export_symbols_cmds_CXX | \
13327 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13328 postinstall_cmds | postuninstall_cmds | \
13329 old_postinstall_cmds | old_postuninstall_cmds | \
13330 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13331 # Double-quote double-evaled strings.
13332 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13335 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13341 *'\$0 --fallback-echo"')
13342 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13348 cat <<__EOF__ >> "$cfgfile"
13349 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13351 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13353 # Shell to use when invoking shell scripts.
13356 # Whether or not to build shared libraries.
13357 build_libtool_libs=$enable_shared
13359 # Whether or not to build static libraries.
13360 build_old_libs=$enable_static
13362 # Whether or not to add -lc for building shared libraries.
13363 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13365 # Whether or not to disallow shared libs when runtime libs are static
13366 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13368 # Whether or not to optimize for fast installation.
13369 fast_install=$enable_fast_install
13372 host_alias=$host_alias
13376 # The build system.
13377 build_alias=$build_alias
13381 # An echo program that does not interpret backslashes.
13386 AR_FLAGS=$lt_AR_FLAGS
13391 # LTCC compiler flags.
13392 LTCFLAGS=$lt_LTCFLAGS
13394 # A language-specific compiler.
13395 CC=$lt_compiler_CXX
13397 # Is the compiler the GNU C compiler?
13403 # The linker used to build libraries.
13406 # Whether we need hard or soft links.
13409 # A BSD-compatible nm program.
13412 # A symbol stripping program
13415 # Used to examine libraries when file_magic_cmd begins "file"
13416 MAGIC_CMD=$MAGIC_CMD
13418 # Used on cygwin: DLL creation program.
13421 # Used on cygwin: object dumper.
13424 # Used on cygwin: assembler.
13427 # The name of the directory that contains temporary libtool files.
13430 # How to create reloadable object files.
13431 reload_flag=$lt_reload_flag
13432 reload_cmds=$lt_reload_cmds
13434 # How to pass a linker flag through the compiler.
13435 wl=$lt_lt_prog_compiler_wl_CXX
13437 # Object file suffix (normally "o").
13438 objext="$ac_objext"
13440 # Old archive suffix (normally "a").
13443 # Shared library suffix (normally ".so").
13444 shrext_cmds='$shrext_cmds'
13446 # Executable file suffix (normally "").
13449 # Additional compiler flags for building library objects.
13450 pic_flag=$lt_lt_prog_compiler_pic_CXX
13453 # What is the maximum length of a command?
13454 max_cmd_len=$lt_cv_sys_max_cmd_len
13456 # Does compiler simultaneously support -c and -o options?
13457 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13459 # Must we lock files when doing compilation?
13460 need_locks=$lt_need_locks
13462 # Do we need the lib prefix for modules?
13463 need_lib_prefix=$need_lib_prefix
13465 # Do we need a version for libraries?
13466 need_version=$need_version
13468 # Whether dlopen is supported.
13469 dlopen_support=$enable_dlopen
13471 # Whether dlopen of programs is supported.
13472 dlopen_self=$enable_dlopen_self
13474 # Whether dlopen of statically linked programs is supported.
13475 dlopen_self_static=$enable_dlopen_self_static
13477 # Compiler flag to prevent dynamic linking.
13478 link_static_flag=$lt_lt_prog_compiler_static_CXX
13480 # Compiler flag to turn off builtin functions.
13481 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13483 # Compiler flag to allow reflexive dlopens.
13484 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13486 # Compiler flag to generate shared objects directly from archives.
13487 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13489 # Compiler flag to generate thread-safe objects.
13490 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13492 # Library versioning type.
13493 version_type=$version_type
13495 # Format of library name prefix.
13496 libname_spec=$lt_libname_spec
13498 # List of archive names. First name is the real one, the rest are links.
13499 # The last name is the one that the linker finds with -lNAME.
13500 library_names_spec=$lt_library_names_spec
13502 # The coded name of the library, if different from the real name.
13503 soname_spec=$lt_soname_spec
13505 # Commands used to build and install an old-style archive.
13507 old_archive_cmds=$lt_old_archive_cmds_CXX
13508 old_postinstall_cmds=$lt_old_postinstall_cmds
13509 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13511 # Create an old-style archive from a shared archive.
13512 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13514 # Create a temporary old-style archive to link instead of a shared archive.
13515 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13517 # Commands used to build and install a shared archive.
13518 archive_cmds=$lt_archive_cmds_CXX
13519 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13520 postinstall_cmds=$lt_postinstall_cmds
13521 postuninstall_cmds=$lt_postuninstall_cmds
13523 # Commands used to build a loadable module (assumed same as above if empty)
13524 module_cmds=$lt_module_cmds_CXX
13525 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13527 # Commands to strip libraries.
13528 old_striplib=$lt_old_striplib
13529 striplib=$lt_striplib
13531 # Dependencies to place before the objects being linked to create a
13533 predep_objects=$lt_predep_objects_CXX
13535 # Dependencies to place after the objects being linked to create a
13537 postdep_objects=$lt_postdep_objects_CXX
13539 # Dependencies to place before the objects being linked to create a
13541 predeps=$lt_predeps_CXX
13543 # Dependencies to place after the objects being linked to create a
13545 postdeps=$lt_postdeps_CXX
13547 # The library search path used internally by the compiler when linking
13548 # a shared library.
13549 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13551 # Method to check whether dependent libraries are shared objects.
13552 deplibs_check_method=$lt_deplibs_check_method
13554 # Command to use when deplibs_check_method == file_magic.
13555 file_magic_cmd=$lt_file_magic_cmd
13557 # Flag that allows shared libraries with undefined symbols to be built.
13558 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13560 # Flag that forces no undefined symbols.
13561 no_undefined_flag=$lt_no_undefined_flag_CXX
13563 # Commands used to finish a libtool library installation in a directory.
13564 finish_cmds=$lt_finish_cmds
13566 # Same as above, but a single script fragment to be evaled but not shown.
13567 finish_eval=$lt_finish_eval
13569 # Take the output of nm and produce a listing of raw symbols and C names.
13570 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13572 # Transform the output of nm in a proper C declaration
13573 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13575 # Transform the output of nm in a C name address pair
13576 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13578 # This is the shared library runtime path variable.
13579 runpath_var=$runpath_var
13581 # This is the shared library path variable.
13582 shlibpath_var=$shlibpath_var
13584 # Is shlibpath searched before the hard-coded library search path?
13585 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13587 # How to hardcode a shared library path into an executable.
13588 hardcode_action=$hardcode_action_CXX
13590 # Whether we should hardcode library paths into libraries.
13591 hardcode_into_libs=$hardcode_into_libs
13593 # Flag to hardcode \$libdir into a binary during linking.
13594 # This must work even if \$libdir does not exist.
13595 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13597 # If ld is used when linking, flag to hardcode \$libdir into
13598 # a binary during linking. This must work even if \$libdir does
13600 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13602 # Whether we need a single -rpath flag with a separated argument.
13603 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13605 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13606 # resulting binary.
13607 hardcode_direct=$hardcode_direct_CXX
13609 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13610 # resulting binary.
13611 hardcode_minus_L=$hardcode_minus_L_CXX
13613 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13614 # the resulting binary.
13615 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13617 # Set to yes if building a shared library automatically hardcodes DIR into the library
13618 # and all subsequent libraries and executables linked against it.
13619 hardcode_automatic=$hardcode_automatic_CXX
13621 # Variables whose values should be saved in libtool wrapper scripts and
13622 # restored at relink time.
13623 variables_saved_for_relink="$variables_saved_for_relink"
13625 # Whether libtool must link a program against all its dependency libraries.
13626 link_all_deplibs=$link_all_deplibs_CXX
13628 # Compile-time system search path for libraries
13629 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13631 # Run-time system search path for libraries
13632 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13634 # Fix the shell variable \$srcfile for the compiler.
13635 fix_srcfile_path=$lt_fix_srcfile_path
13637 # Set to yes if exported symbols are required.
13638 always_export_symbols=$always_export_symbols_CXX
13640 # The commands to list exported symbols.
13641 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13643 # The commands to extract the exported symbol list from a shared archive.
13644 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13646 # Symbols that should not be listed in the preloaded symbols.
13647 exclude_expsyms=$lt_exclude_expsyms_CXX
13649 # Symbols that must always be exported.
13650 include_expsyms=$lt_include_expsyms_CXX
13652 # ### END LIBTOOL TAG CONFIG: $tagname
13658 # If there is no Makefile yet, we rely on a make rule to execute
13659 # `config.status --recheck' to rerun these tests and create the
13660 # libtool script then.
13661 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13662 if test -f "$ltmain_in"; then
13663 test -f Makefile
&& make "$ltmain"
13669 ac_cpp
='$CPP $CPPFLAGS'
13670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13678 with_gnu_ldcxx
=$with_gnu_ld
13679 with_gnu_ld
=$lt_save_with_gnu_ld
13680 lt_cv_path_LDCXX
=$lt_cv_path_LD
13681 lt_cv_path_LD
=$lt_save_path_LD
13682 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13683 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13691 if test -n "$F77" && test "X$F77" != "Xno"; then
13694 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13695 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13699 archive_cmds_need_lc_F77
=no
13700 allow_undefined_flag_F77
=
13701 always_export_symbols_F77
=no
13702 archive_expsym_cmds_F77
=
13703 export_dynamic_flag_spec_F77
=
13704 hardcode_direct_F77
=no
13705 hardcode_libdir_flag_spec_F77
=
13706 hardcode_libdir_flag_spec_ld_F77
=
13707 hardcode_libdir_separator_F77
=
13708 hardcode_minus_L_F77
=no
13709 hardcode_automatic_F77
=no
13711 module_expsym_cmds_F77
=
13712 link_all_deplibs_F77
=unknown
13713 old_archive_cmds_F77
=$old_archive_cmds
13714 no_undefined_flag_F77
=
13715 whole_archive_flag_spec_F77
=
13716 enable_shared_with_static_runtimes_F77
=no
13718 # Source file extension for f77 test sources.
13721 # Object file extension for compiled f77 test sources.
13725 # Code to be used in simple compile tests
13726 lt_simple_compile_test_code
="\
13732 # Code to be used in simple link tests
13733 lt_simple_link_test_code
="\
13738 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13740 # If no C compiler was specified, use CC.
13743 # If no C compiler flags were specified, use CFLAGS.
13744 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13746 # Allow CC to be a program name with arguments.
13750 # save warnings/boilerplate of simple test code
13751 ac_outfile
=conftest.
$ac_objext
13752 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13753 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13754 _lt_compiler_boilerplate
=`cat conftest.err`
13757 ac_outfile
=conftest.
$ac_objext
13758 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13759 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13760 _lt_linker_boilerplate
=`cat conftest.err`
13764 # Allow CC to be a program name with arguments.
13769 for cc_temp
in $compiler""; do
13771 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13772 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13777 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13780 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13782 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13783 echo "${ECHO_T}$can_build_shared" >&6; }
13785 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13787 test "$can_build_shared" = "no" && enable_shared
=no
13789 # On AIX, shared libraries and static libraries use the same namespace, and
13790 # are all built from PIC.
13793 test "$enable_shared" = yes && enable_static
=no
13794 if test -n "$RANLIB"; then
13795 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13796 postinstall_cmds
='$RANLIB $lib'
13800 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13801 test "$enable_shared" = yes && enable_static
=no
13805 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13806 echo "${ECHO_T}$enable_shared" >&6; }
13808 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13809 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13810 # Make sure either enable_shared or enable_static is yes.
13811 test "$enable_shared" = yes || enable_static
=yes
13812 { echo "$as_me:$LINENO: result: $enable_static" >&5
13813 echo "${ECHO_T}$enable_static" >&6; }
13818 lt_prog_compiler_wl_F77
=
13819 lt_prog_compiler_pic_F77
=
13820 lt_prog_compiler_static_F77
=
13822 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13823 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13825 if test "$GCC" = yes; then
13826 lt_prog_compiler_wl_F77
='-Wl,'
13827 lt_prog_compiler_static_F77
='-static'
13831 # All AIX code is PIC.
13832 if test "$host_cpu" = ia64
; then
13833 # AIX 5 now supports IA64 processor
13834 lt_prog_compiler_static_F77
='-Bstatic'
13839 # FIXME: we need at least 68020 code to build shared libraries, but
13840 # adding the `-m68020' flag to GCC prevents building anything better,
13842 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13845 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13846 # PIC is the default for these OSes.
13849 mingw
* | cygwin
* | pw32
* | os2
*)
13850 # This hack is so that the source file can tell whether it is being
13851 # built for inclusion in a dll (and should export symbols for example).
13852 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13853 # (--disable-auto-import) libraries
13854 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13857 darwin
* | rhapsody
*)
13858 # PIC is the default on this platform
13859 # Common symbols not allowed in MH_DYLIB files
13860 lt_prog_compiler_pic_F77
='-fno-common'
13864 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13865 # Instead, we relocate shared libraries at runtime.
13869 # Just because we use GCC doesn't mean we suddenly get shared libraries
13870 # on systems that don't support them.
13871 lt_prog_compiler_can_build_shared_F77
=no
13876 if test -d /usr
/nec
; then
13877 lt_prog_compiler_pic_F77
=-Kconform_pic
13882 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13883 # not for PA HP-UX.
13889 lt_prog_compiler_pic_F77
='-fPIC'
13895 lt_prog_compiler_pic_F77
='-fPIC'
13899 # PORTME Check for flag to pass linker flags through the system compiler.
13902 lt_prog_compiler_wl_F77
='-Wl,'
13903 if test "$host_cpu" = ia64
; then
13904 # AIX 5 now supports IA64 processor
13905 lt_prog_compiler_static_F77
='-Bstatic'
13907 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13911 # PIC is the default on this platform
13912 # Common symbols not allowed in MH_DYLIB files
13913 case $cc_basename in
13915 lt_prog_compiler_pic_F77
='-qnocommon'
13916 lt_prog_compiler_wl_F77
='-Wl,'
13921 mingw
* | cygwin
* | pw32
* | os2
*)
13922 # This hack is so that the source file can tell whether it is being
13923 # built for inclusion in a dll (and should export symbols for example).
13924 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13927 hpux9
* | hpux10
* | hpux11
*)
13928 lt_prog_compiler_wl_F77
='-Wl,'
13929 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13930 # not for PA HP-UX.
13936 lt_prog_compiler_pic_F77
='+Z'
13939 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13940 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13943 irix5
* | irix6
* | nonstopux
*)
13944 lt_prog_compiler_wl_F77
='-Wl,'
13945 # PIC (with -KPIC) is the default.
13946 lt_prog_compiler_static_F77
='-non_shared'
13950 lt_prog_compiler_pic_F77
='-KPIC'
13951 lt_prog_compiler_static_F77
='-Bstatic'
13954 linux
* | k
*bsd
*-gnu)
13955 case $cc_basename in
13957 lt_prog_compiler_wl_F77
='-Wl,'
13958 lt_prog_compiler_pic_F77
='-KPIC'
13959 lt_prog_compiler_static_F77
='-static'
13961 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13962 # Portland Group compilers (*not* the Pentium gcc compiler,
13963 # which looks to be a dead project)
13964 lt_prog_compiler_wl_F77
='-Wl,'
13965 lt_prog_compiler_pic_F77
='-fpic'
13966 lt_prog_compiler_static_F77
='-Bstatic'
13969 lt_prog_compiler_wl_F77
='-Wl,'
13970 # All Alpha code is PIC.
13971 lt_prog_compiler_static_F77
='-non_shared'
13974 case `$CC -V 2>&1 | sed 5q` in
13977 lt_prog_compiler_pic_F77
='-KPIC'
13978 lt_prog_compiler_static_F77
='-Bstatic'
13979 lt_prog_compiler_wl_F77
='-Wl,'
13982 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13983 lt_prog_compiler_pic_F77
='-KPIC'
13984 lt_prog_compiler_static_F77
='-Bstatic'
13985 lt_prog_compiler_wl_F77
=''
13992 osf3
* | osf4
* | osf5
*)
13993 lt_prog_compiler_wl_F77
='-Wl,'
13994 # All OSF/1 code is PIC.
13995 lt_prog_compiler_static_F77
='-non_shared'
13999 lt_prog_compiler_static_F77
='-non_shared'
14003 lt_prog_compiler_pic_F77
='-KPIC'
14004 lt_prog_compiler_static_F77
='-Bstatic'
14005 case $cc_basename in
14006 f77
* | f90
* | f95
*)
14007 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14009 lt_prog_compiler_wl_F77
='-Wl,';;
14014 lt_prog_compiler_wl_F77
='-Qoption ld '
14015 lt_prog_compiler_pic_F77
='-PIC'
14016 lt_prog_compiler_static_F77
='-Bstatic'
14019 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14020 lt_prog_compiler_wl_F77
='-Wl,'
14021 lt_prog_compiler_pic_F77
='-KPIC'
14022 lt_prog_compiler_static_F77
='-Bstatic'
14026 if test -d /usr
/nec
;then
14027 lt_prog_compiler_pic_F77
='-Kconform_pic'
14028 lt_prog_compiler_static_F77
='-Bstatic'
14032 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14033 lt_prog_compiler_wl_F77
='-Wl,'
14034 lt_prog_compiler_pic_F77
='-KPIC'
14035 lt_prog_compiler_static_F77
='-Bstatic'
14039 lt_prog_compiler_wl_F77
='-Wl,'
14040 lt_prog_compiler_can_build_shared_F77
=no
14044 lt_prog_compiler_pic_F77
='-pic'
14045 lt_prog_compiler_static_F77
='-Bstatic'
14049 lt_prog_compiler_can_build_shared_F77
=no
14054 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14055 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14058 # Check to make sure the PIC flag actually works.
14060 if test -n "$lt_prog_compiler_pic_F77"; then
14062 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14063 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14064 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 lt_prog_compiler_pic_works_F77
=no
14068 ac_outfile
=conftest.
$ac_objext
14069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14070 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14071 # Insert the option either (1) after the last *FLAGS variable, or
14072 # (2) before a word containing "conftest.", or (3) at the end.
14073 # Note that $ac_compile itself does not contain backslashes and begins
14074 # with a dollar sign (not a hyphen), so the echo should work correctly.
14075 # The option is referenced via a variable to avoid confusing sed.
14076 lt_compile
=`echo "$ac_compile" | $SED \
14077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14079 -e 's:$: $lt_compiler_flag:'`
14080 (eval echo "\"\$as_me:14080: $lt_compile\"" >&5)
14081 (eval "$lt_compile" 2>conftest.err
)
14083 cat conftest.err
>&5
14084 echo "$as_me:14084: \$? = $ac_status" >&5
14085 if (exit $ac_status) && test -s "$ac_outfile"; then
14086 # The compiler can only warn and ignore the option if not recognized
14087 # So say no if there are warnings other than the usual output.
14088 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14090 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14091 lt_prog_compiler_pic_works_F77
=yes
14097 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14098 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14100 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14101 case $lt_prog_compiler_pic_F77 in
14103 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14106 lt_prog_compiler_pic_F77
=
14107 lt_prog_compiler_can_build_shared_F77
=no
14112 # For platforms which do not support PIC, -DPIC is meaningless:
14114 lt_prog_compiler_pic_F77
=
14117 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14122 # Check to make sure the static flag actually works.
14124 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14125 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14126 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14127 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 lt_prog_compiler_static_works_F77
=no
14131 save_LDFLAGS
="$LDFLAGS"
14132 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14135 # The linker can only warn and ignore the option if not recognized
14136 # So say no if there are warnings
14137 if test -s conftest.err
; then
14138 # Append any errors to the config.log.
14139 cat conftest.err
1>&5
14140 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14142 if diff conftest.exp conftest.er2
>/dev
/null
; then
14143 lt_prog_compiler_static_works_F77
=yes
14146 lt_prog_compiler_static_works_F77
=yes
14150 LDFLAGS
="$save_LDFLAGS"
14153 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14154 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14156 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14159 lt_prog_compiler_static_F77
=
14163 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14164 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14165 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 lt_cv_prog_compiler_c_o_F77
=no
14169 $rm -r conftest
2>/dev
/null
14173 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14175 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14176 # Insert the option either (1) after the last *FLAGS variable, or
14177 # (2) before a word containing "conftest.", or (3) at the end.
14178 # Note that $ac_compile itself does not contain backslashes and begins
14179 # with a dollar sign (not a hyphen), so the echo should work correctly.
14180 lt_compile
=`echo "$ac_compile" | $SED \
14181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14183 -e 's:$: $lt_compiler_flag:'`
14184 (eval echo "\"\$as_me:14184: $lt_compile\"" >&5)
14185 (eval "$lt_compile" 2>out
/conftest.err
)
14187 cat out
/conftest.err
>&5
14188 echo "$as_me:14188: \$? = $ac_status" >&5
14189 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14191 # The compiler can only warn and ignore the option if not recognized
14192 # So say no if there are warnings
14193 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14194 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14195 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14196 lt_cv_prog_compiler_c_o_F77
=yes
14201 # SGI C++ compiler will create directory out/ii_files/ for
14202 # template instantiation
14203 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14204 $rm out
/* && rmdir out
14210 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14211 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14214 hard_links
="nottested"
14215 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14216 # do not overwrite the value of need_locks provided by the user
14217 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14218 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14221 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14223 ln conftest.a conftest.b
2>&5 || hard_links
=no
14224 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14225 { echo "$as_me:$LINENO: result: $hard_links" >&5
14226 echo "${ECHO_T}$hard_links" >&6; }
14227 if test "$hard_links" = no
; then
14228 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14229 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14236 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14237 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14240 allow_undefined_flag_F77
=
14241 enable_shared_with_static_runtimes_F77
=no
14243 archive_expsym_cmds_F77
=
14244 old_archive_From_new_cmds_F77
=
14245 old_archive_from_expsyms_cmds_F77
=
14246 export_dynamic_flag_spec_F77
=
14247 whole_archive_flag_spec_F77
=
14248 thread_safe_flag_spec_F77
=
14249 hardcode_libdir_flag_spec_F77
=
14250 hardcode_libdir_flag_spec_ld_F77
=
14251 hardcode_libdir_separator_F77
=
14252 hardcode_direct_F77
=no
14253 hardcode_minus_L_F77
=no
14254 hardcode_shlibpath_var_F77
=unsupported
14255 link_all_deplibs_F77
=unknown
14256 hardcode_automatic_F77
=no
14258 module_expsym_cmds_F77
=
14259 always_export_symbols_F77
=no
14260 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14261 # include_expsyms should be a list of space-separated symbols to be *always*
14262 # included in the symbol list
14263 include_expsyms_F77
=
14264 # exclude_expsyms can be an extended regexp of symbols to exclude
14265 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14266 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14267 # as well as any symbol that contains `d'.
14268 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14269 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14270 # platforms (ab)use it in PIC code, but their linkers get confused if
14271 # the symbol is explicitly referenced. Since portable code cannot
14272 # rely on this symbol name, it's probably fine to never include it in
14273 # preloaded symbol tables.
14274 extract_expsyms_cmds
=
14275 # Just being paranoid about ensuring that cc_basename is set.
14276 for cc_temp
in $compiler""; do
14278 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14279 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14284 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14287 cygwin
* | mingw
* | pw32
*)
14288 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14289 # When not using gcc, we currently assume that we are using
14290 # Microsoft Visual C++.
14291 if test "$GCC" != yes; then
14296 # we just hope/assume this is gcc and not c89 (= MSVC++)
14305 if test "$with_gnu_ld" = yes; then
14306 # If archive_cmds runs LD, not CC, wlarc should be empty
14309 # Set some defaults for GNU ld with shared library support. These
14310 # are reset later if shared libraries are not supported. Putting them
14311 # here allows them to be overridden if necessary.
14312 runpath_var
=LD_RUN_PATH
14313 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14314 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14315 # ancient GNU ld didn't support --whole-archive et. al.
14316 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14317 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14319 whole_archive_flag_spec_F77
=
14321 supports_anon_versioning
=no
14322 case `$LD -v 2>/dev/null` in
14323 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14324 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14325 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14326 *\
2.11.
*) ;; # other 2.11 versions
14327 *) supports_anon_versioning
=yes ;;
14330 # See if GNU ld supports shared libraries.
14332 aix3
* | aix4
* | aix5
*)
14333 # On AIX/PPC, the GNU linker is very broken
14334 if test "$host_cpu" != ia64
; then
14338 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14339 *** to be unable to reliably create shared libraries on AIX.
14340 *** Therefore, libtool is disabling shared libraries support. If you
14341 *** really care for shared libraries, you may want to modify your PATH
14342 *** so that a non-GNU linker is found, and then restart.
14349 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)'
14350 hardcode_libdir_flag_spec_F77
='-L$libdir'
14351 hardcode_minus_L_F77
=yes
14353 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14354 # that the semantics of dynamic libraries on AmigaOS, at least up
14355 # to version 4, is to share data among multiple programs linked
14356 # with the same dynamic library. Since this doesn't match the
14357 # behavior of shared libraries on other platforms, we can't use
14363 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14364 allow_undefined_flag_F77
=unsupported
14365 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14366 # support --undefined. This deserves some investigation. FIXME
14367 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14373 cygwin
* | mingw
* | pw32
*)
14374 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14375 # as there is no search path for DLLs.
14376 hardcode_libdir_flag_spec_F77
='-L$libdir'
14377 allow_undefined_flag_F77
=unsupported
14378 always_export_symbols_F77
=no
14379 enable_shared_with_static_runtimes_F77
=yes
14380 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14382 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14383 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14384 # If the export-symbols file already is a .def file (1st line
14385 # is EXPORTS), use it as is; otherwise, prepend...
14386 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14387 cp $export_symbols $output_objdir/$soname.def;
14389 echo EXPORTS > $output_objdir/$soname.def;
14390 cat $export_symbols >> $output_objdir/$soname.def;
14392 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14399 hardcode_direct_F77
=no
14400 hardcode_shlibpath_var_F77
=no
14401 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14402 export_dynamic_flag_spec_F77
='${wl}-E'
14403 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14404 # Instead, shared libraries are loaded at an image base (0x10000000 by
14405 # default) and relocated if they conflict, which is a slow very memory
14406 # consuming and fragmenting process. To avoid this, we pick a random,
14407 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14408 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14409 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'
14410 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'
14413 gnu
* | linux
* | k
*bsd
*-gnu)
14414 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14416 case $cc_basename,$host_cpu in
14417 pgcc
*) # Portland Group C compiler
14418 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'
14419 tmp_addflag
=' $pic_flag'
14421 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14422 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'
14423 tmp_addflag
=' $pic_flag -Mnomain' ;;
14424 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14425 tmp_addflag
=' -i_dynamic' ;;
14426 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14427 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14428 ifc
* | ifort
*) # Intel Fortran compiler
14429 tmp_addflag
=' -nofor_main' ;;
14431 case `$CC -V 2>&1 | sed 5q` in
14432 *Sun\ C
*) # Sun C 5.9
14433 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14434 tmp_sharedflag
='-G' ;;
14435 *Sun\ F
*) # Sun Fortran 8.3
14436 tmp_sharedflag
='-G' ;;
14438 tmp_sharedflag
='-shared' ;;
14440 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14442 if test $supports_anon_versioning = yes; then
14443 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14444 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14445 $echo "local: *; };" >> $output_objdir/$libname.ver~
14446 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14454 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14455 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14458 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14459 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14464 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14468 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14469 *** create shared libraries on Solaris systems. Therefore, libtool
14470 *** is disabling shared libraries support. We urge you to upgrade GNU
14471 *** binutils to release 2.9.1 or newer. Another option is to modify
14472 *** your PATH or compiler configuration so that the native linker is
14473 *** used, and then restart.
14476 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14477 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14478 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14484 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14485 case `$LD -v 2>&1` in
14486 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14490 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14491 *** reliably create shared libraries on SCO systems. Therefore, libtool
14492 *** is disabling shared libraries support. We urge you to upgrade GNU
14493 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14494 *** your PATH or compiler configuration so that the native linker is
14495 *** used, and then restart.
14500 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14501 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14502 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14503 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14512 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14514 hardcode_direct_F77
=yes
14515 hardcode_shlibpath_var_F77
=no
14519 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14520 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14521 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14528 if test "$ld_shlibs_F77" = no
; then
14530 hardcode_libdir_flag_spec_F77
=
14531 export_dynamic_flag_spec_F77
=
14532 whole_archive_flag_spec_F77
=
14535 # PORTME fill in a description of your system's linker (not GNU ld)
14538 allow_undefined_flag_F77
=unsupported
14539 always_export_symbols_F77
=yes
14540 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'
14541 # Note: this linker hardcodes the directories in LIBPATH if there
14542 # are no directories specified by -L.
14543 hardcode_minus_L_F77
=yes
14544 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14545 # Neither direct hardcoding nor static linking is supported with a
14547 hardcode_direct_F77
=unsupported
14552 if test "$host_cpu" = ia64
; then
14553 # On IA64, the linker does run time linking by default, so we don't
14554 # have to do anything special.
14555 aix_use_runtimelinking
=no
14556 exp_sym_flag
='-Bexport'
14559 # If we're using GNU nm, then we don't want the "-C" option.
14560 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14561 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14562 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'
14564 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'
14566 aix_use_runtimelinking
=no
14568 # Test if we are trying to use run time linking or normal
14569 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14570 # need to do runtime linking.
14571 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14572 for ld_flag
in $LDFLAGS; do
14573 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14574 aix_use_runtimelinking
=yes
14581 exp_sym_flag
='-bexport'
14582 no_entry_flag
='-bnoentry'
14585 # When large executables or shared objects are built, AIX ld can
14586 # have problems creating the table of contents. If linking a library
14587 # or program results in "error TOC overflow" add -mminimal-toc to
14588 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14589 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14591 archive_cmds_F77
=''
14592 hardcode_direct_F77
=yes
14593 hardcode_libdir_separator_F77
=':'
14594 link_all_deplibs_F77
=yes
14596 if test "$GCC" = yes; then
14597 case $host_os in aix4.
[012]|aix4.
[012].
*)
14598 # We only want to do this on AIX 4.2 and lower, the check
14599 # below for broken collect2 doesn't work under 4.3+
14600 collect2name
=`${CC} -print-prog-name=collect2`
14601 if test -f "$collect2name" && \
14602 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14604 # We have reworked collect2
14607 # We have old collect2
14608 hardcode_direct_F77
=unsupported
14609 # It fails to find uninstalled libraries when the uninstalled
14610 # path is not listed in the libpath. Setting hardcode_minus_L
14611 # to unsupported forces relinking
14612 hardcode_minus_L_F77
=yes
14613 hardcode_libdir_flag_spec_F77
='-L$libdir'
14614 hardcode_libdir_separator_F77
=
14618 shared_flag
='-shared'
14619 if test "$aix_use_runtimelinking" = yes; then
14620 shared_flag
="$shared_flag "'${wl}-G'
14624 if test "$host_cpu" = ia64
; then
14625 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14626 # chokes on -Wl,-G. The following line is correct:
14629 if test "$aix_use_runtimelinking" = yes; then
14630 shared_flag
='${wl}-G'
14632 shared_flag
='${wl}-bM:SRE'
14637 # It seems that -bexpall does not export symbols beginning with
14638 # underscore (_), so it is better to generate a list of symbols to export.
14639 always_export_symbols_F77
=yes
14640 if test "$aix_use_runtimelinking" = yes; then
14641 # Warning - without using the other runtime loading flags (-brtl),
14642 # -berok will link without error, but may produce a broken library.
14643 allow_undefined_flag_F77
='-berok'
14644 # Determine the default libpath from the value encoded in an empty executable.
14645 cat >conftest.
$ac_ext <<_ACEOF
14650 rm -f conftest.
$ac_objext conftest
$ac_exeext
14651 if { (ac_try
="$ac_link"
14652 case "(($ac_try" in
14653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_link") 2>conftest.er1
14659 grep -v '^ *+' conftest.er1 >conftest.err
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } && {
14664 test -z "$ac_f77_werror_flag" ||
14665 test ! -s conftest.err
14666 } && test -s conftest$ac_exeext &&
14667 $as_test_x conftest$ac_exeext; then
14669 lt_aix_libpath_sed='
14670 /Import File Strings/,/^$/ {
14676 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14677 # Check for a 64-bit object if we didn't find anything.
14678 if test -z "$aix_libpath"; then
14679 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14689 conftest$ac_exeext conftest.$ac_ext
14690 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14692 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14693 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"
14695 if test "$host_cpu" = ia64; then
14696 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14697 allow_undefined_flag_F77="-z nodefs"
14698 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"
14700 # Determine the default libpath from the value encoded in an empty executable.
14701 cat >conftest.$ac_ext <<_ACEOF
14706 rm -f conftest.$ac_objext conftest$ac_exeext
14707 if { (ac_try="$ac_link"
14708 case "(($ac_try" in
14709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14710 *) ac_try_echo
=$ac_try;;
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14713 (eval "$ac_link") 2>conftest.er1
14715 grep -v '^ *+' conftest.er1
>conftest.err
14717 cat conftest.err
>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } && {
14720 test -z "$ac_f77_werror_flag" ||
14721 test ! -s conftest.err
14722 } && test -s conftest
$ac_exeext &&
14723 $as_test_x conftest
$ac_exeext; then
14725 lt_aix_libpath_sed
='
14726 /Import File Strings/,/^$/ {
14732 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14733 # Check for a 64-bit object if we didn't find anything.
14734 if test -z "$aix_libpath"; then
14735 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.
$ac_ext >&5
14744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14745 conftest
$ac_exeext conftest.
$ac_ext
14746 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14748 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14749 # Warning - without using the other run time loading flags,
14750 # -berok will link without error, but may produce a broken library.
14751 no_undefined_flag_F77
=' ${wl}-bernotok'
14752 allow_undefined_flag_F77
=' ${wl}-berok'
14753 # Exported symbols can be pulled into shared objects from archives
14754 whole_archive_flag_spec_F77
='$convenience'
14755 archive_cmds_need_lc_F77
=yes
14756 # This is similar to how AIX traditionally builds its shared libraries.
14757 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'
14763 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)'
14764 hardcode_libdir_flag_spec_F77
='-L$libdir'
14765 hardcode_minus_L_F77
=yes
14766 # see comment about different semantics on the GNU ld section
14771 export_dynamic_flag_spec_F77
=-rdynamic
14774 cygwin
* | mingw
* | pw32
*)
14775 # When not using gcc, we currently assume that we are using
14776 # Microsoft Visual C++.
14777 # hardcode_libdir_flag_spec is actually meaningless, as there is
14778 # no search path for DLLs.
14779 hardcode_libdir_flag_spec_F77
=' '
14780 allow_undefined_flag_F77
=unsupported
14781 # Tell ltmain to make .lib files, not .a files.
14783 # Tell ltmain to make .dll files, not .so files.
14785 # FIXME: Setting linknames here is a bad hack.
14786 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14787 # The linker will automatically build a .lib file if we build a DLL.
14788 old_archive_From_new_cmds_F77
='true'
14789 # FIXME: Should let the user specify the lib program.
14790 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14791 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14792 enable_shared_with_static_runtimes_F77
=yes
14795 darwin
* | rhapsody
*)
14797 rhapsody
* | darwin1.
[012])
14798 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14801 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14802 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14804 case ${MACOSX_DEPLOYMENT_TARGET} in
14806 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14809 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14815 archive_cmds_need_lc_F77
=no
14816 hardcode_direct_F77
=no
14817 hardcode_automatic_F77
=yes
14818 hardcode_shlibpath_var_F77
=unsupported
14819 whole_archive_flag_spec_F77
=''
14820 link_all_deplibs_F77
=yes
14821 if test "$GCC" = yes ; then
14822 output_verbose_link_cmd
='echo'
14823 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14824 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14825 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14826 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}'
14827 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}'
14829 case $cc_basename in
14831 output_verbose_link_cmd
='echo'
14832 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14833 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14834 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14835 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14836 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}'
14846 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14847 hardcode_libdir_flag_spec_F77
='-L$libdir'
14848 hardcode_shlibpath_var_F77
=no
14855 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14856 # support. Future versions do this automatically, but an explicit c++rt0.o
14857 # does not break anything, and helps significantly (at the cost of a little
14860 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14861 hardcode_libdir_flag_spec_F77
='-R$libdir'
14862 hardcode_direct_F77
=yes
14863 hardcode_shlibpath_var_F77
=no
14866 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14868 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14869 hardcode_direct_F77
=yes
14870 hardcode_minus_L_F77
=yes
14871 hardcode_shlibpath_var_F77
=no
14874 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14875 freebsd
* | dragonfly
*)
14876 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14877 hardcode_libdir_flag_spec_F77
='-R$libdir'
14878 hardcode_direct_F77
=yes
14879 hardcode_shlibpath_var_F77
=no
14883 if test "$GCC" = yes; then
14884 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'
14886 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'
14888 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14889 hardcode_libdir_separator_F77
=:
14890 hardcode_direct_F77
=yes
14892 # hardcode_minus_L: Not really in the search PATH,
14893 # but as the default location of the library.
14894 hardcode_minus_L_F77
=yes
14895 export_dynamic_flag_spec_F77
='${wl}-E'
14899 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14900 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14902 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14904 if test "$with_gnu_ld" = no
; then
14905 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14906 hardcode_libdir_separator_F77
=:
14908 hardcode_direct_F77
=yes
14909 export_dynamic_flag_spec_F77
='${wl}-E'
14911 # hardcode_minus_L: Not really in the search PATH,
14912 # but as the default location of the library.
14913 hardcode_minus_L_F77
=yes
14918 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14921 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14924 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14927 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14933 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14936 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14939 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14943 if test "$with_gnu_ld" = no
; then
14944 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14945 hardcode_libdir_separator_F77
=:
14949 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14950 hardcode_direct_F77
=no
14951 hardcode_shlibpath_var_F77
=no
14954 hardcode_direct_F77
=yes
14955 export_dynamic_flag_spec_F77
='${wl}-E'
14957 # hardcode_minus_L: Not really in the search PATH,
14958 # but as the default location of the library.
14959 hardcode_minus_L_F77
=yes
14965 irix5
* | irix6
* | nonstopux
*)
14966 if test "$GCC" = yes; then
14967 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'
14969 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'
14970 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14972 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14973 hardcode_libdir_separator_F77
=:
14974 link_all_deplibs_F77
=yes
14978 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14979 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14981 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14983 hardcode_libdir_flag_spec_F77
='-R$libdir'
14984 hardcode_direct_F77
=yes
14985 hardcode_shlibpath_var_F77
=no
14989 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14990 hardcode_direct_F77
=yes
14991 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14992 hardcode_libdir_separator_F77
=:
14993 hardcode_shlibpath_var_F77
=no
14997 if test -f /usr
/libexec
/ld.so
; then
14998 hardcode_direct_F77
=yes
14999 hardcode_shlibpath_var_F77
=no
15000 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15001 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15002 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15003 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15004 export_dynamic_flag_spec_F77
='${wl}-E'
15007 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15008 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15009 hardcode_libdir_flag_spec_F77
='-R$libdir'
15012 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15013 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15023 hardcode_libdir_flag_spec_F77
='-L$libdir'
15024 hardcode_minus_L_F77
=yes
15025 allow_undefined_flag_F77
=unsupported
15026 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'
15027 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15031 if test "$GCC" = yes; then
15032 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15033 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'
15035 allow_undefined_flag_F77
=' -expect_unresolved \*'
15036 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'
15038 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15039 hardcode_libdir_separator_F77
=:
15042 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15043 if test "$GCC" = yes; then
15044 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15045 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'
15046 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15048 allow_undefined_flag_F77
=' -expect_unresolved \*'
15049 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'
15050 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~
15051 $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'
15053 # Both c and cxx compiler support -rpath directly
15054 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15056 hardcode_libdir_separator_F77
=:
15060 no_undefined_flag_F77
=' -z text'
15061 if test "$GCC" = yes; then
15063 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15064 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15065 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15068 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15069 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15070 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15072 hardcode_libdir_flag_spec_F77
='-R$libdir'
15073 hardcode_shlibpath_var_F77
=no
15075 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15077 # The compiler driver will combine and reorder linker options,
15078 # but understands `-z linker_flag'. GCC discards it without `$wl',
15079 # but is careful enough not to reorder.
15080 # Supported since Solaris 2.6 (maybe 2.5.1?)
15081 if test "$GCC" = yes; then
15082 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15084 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15088 link_all_deplibs_F77
=yes
15092 if test "x$host_vendor" = xsequent
; then
15093 # Use $CC to link under sequent, because it throws in some extra .o
15094 # files that make .init and .fini sections work.
15095 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15097 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15099 hardcode_libdir_flag_spec_F77
='-L$libdir'
15100 hardcode_direct_F77
=yes
15101 hardcode_minus_L_F77
=yes
15102 hardcode_shlibpath_var_F77
=no
15106 case $host_vendor in
15108 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15109 hardcode_direct_F77
=yes # is this really true???
15112 ## LD is ld it makes a PLAMLIB
15113 ## CC just makes a GrossModule.
15114 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15115 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15116 hardcode_direct_F77
=no
15119 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15120 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15123 runpath_var
='LD_RUN_PATH'
15124 hardcode_shlibpath_var_F77
=no
15128 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15129 hardcode_shlibpath_var_F77
=no
15130 export_dynamic_flag_spec_F77
='-Bexport'
15134 if test -d /usr
/nec
; then
15135 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15136 hardcode_shlibpath_var_F77
=no
15137 runpath_var
=LD_RUN_PATH
15138 hardcode_runpath_var
=yes
15143 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15144 no_undefined_flag_F77
='${wl}-z,text'
15145 archive_cmds_need_lc_F77
=no
15146 hardcode_shlibpath_var_F77
=no
15147 runpath_var
='LD_RUN_PATH'
15149 if test "$GCC" = yes; then
15150 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15151 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15153 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15154 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15158 sysv5
* | sco3.2v5
* | sco5v6
*)
15159 # Note: We can NOT use -z defs as we might desire, because we do not
15160 # link with -lc, and that would cause any symbols used from libc to
15161 # always be unresolved, which means just about no library would
15162 # ever link correctly. If we're not using GNU ld we use -z text
15163 # though, which does catch some bad symbols but isn't as heavy-handed
15165 no_undefined_flag_F77
='${wl}-z,text'
15166 allow_undefined_flag_F77
='${wl}-z,nodefs'
15167 archive_cmds_need_lc_F77
=no
15168 hardcode_shlibpath_var_F77
=no
15169 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15170 hardcode_libdir_separator_F77
=':'
15171 link_all_deplibs_F77
=yes
15172 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15173 runpath_var
='LD_RUN_PATH'
15175 if test "$GCC" = yes; then
15176 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15177 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15179 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15180 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15185 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15186 hardcode_libdir_flag_spec_F77
='-L$libdir'
15187 hardcode_shlibpath_var_F77
=no
15196 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15197 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15198 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15201 # Do we need to explicitly link libc?
15203 case "x$archive_cmds_need_lc_F77" in
15205 # Assume -lc should be added
15206 archive_cmds_need_lc_F77
=yes
15208 if test "$enable_shared" = yes && test "$GCC" = yes; then
15209 case $archive_cmds_F77 in
15211 # FIXME: we may have to deal with multi-command sequences.
15214 # Test whether the compiler implicitly links with -lc since on some
15215 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15216 # to ld, don't add -lc before -lgcc.
15217 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15218 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15220 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } 2>conftest.err
; then
15229 libobjs
=conftest.
$ac_objext
15231 wl
=$lt_prog_compiler_wl_F77
15232 pic_flag
=$lt_prog_compiler_pic_F77
15238 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15239 allow_undefined_flag_F77
=
15240 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15241 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }
15246 archive_cmds_need_lc_F77
=no
15248 archive_cmds_need_lc_F77
=yes
15250 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15252 cat conftest.err
1>&5
15255 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15256 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15263 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15264 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15265 library_names_spec
=
15266 libname_spec
='lib$name'
15270 postuninstall_cmds
=
15274 shlibpath_overrides_runpath
=unknown
15276 dynamic_linker
="$host_os ld.so"
15277 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15279 need_lib_prefix
=unknown
15280 hardcode_into_libs
=no
15282 # when you set need_version to no, make sure it does not cause -set_version
15283 # flags to be left without arguments
15284 need_version
=unknown
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15290 shlibpath_var
=LIBPATH
15292 # AIX 3 has no versioning support, so we append a major version to the name.
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15300 hardcode_into_libs
=yes
15301 if test "$host_cpu" = ia64
; then
15302 # AIX 5 supports IA64
15303 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15304 shlibpath_var
=LD_LIBRARY_PATH
15306 # With GCC up to 2.95.x, collect2 would create an import file
15307 # for dependence libraries. The import file would start with
15308 # the line `#! .'. This would cause the generated library to
15309 # depend on `.', always an invalid library. This was fixed in
15310 # development snapshots of GCC prior to 3.0.
15312 aix4 | aix4.
[01] | aix4.
[01].
*)
15313 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15315 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15318 can_build_shared
=no
15322 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15323 # soname into executable. Probably we can add versioning support to
15324 # collect2, so additional links can be useful in future.
15325 if test "$aix_use_runtimelinking" = yes; then
15326 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15327 # instead of lib<name>.a to let people know that these are not
15328 # typical AIX shared libraries.
15329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15331 # We preserve .a as extension for shared libraries through AIX4.2
15332 # and later when we are not doing run time linking.
15333 library_names_spec
='${libname}${release}.a $libname.a'
15334 soname_spec
='${libname}${release}${shared_ext}$major'
15336 shlibpath_var
=LIBPATH
15341 library_names_spec
='$libname.ixlibrary $libname.a'
15342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15343 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'
15347 library_names_spec
='${libname}${shared_ext}'
15348 dynamic_linker
="$host_os ld.so"
15349 shlibpath_var
=LIBRARY_PATH
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15356 soname_spec
='${libname}${release}${shared_ext}$major'
15357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15358 shlibpath_var
=LD_LIBRARY_PATH
15359 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15360 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15361 # the default ld.so.conf also contains /usr/contrib/lib and
15362 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15363 # libtool to hard-code these into programs
15366 cygwin
* | mingw
* | pw32
*)
15367 version_type
=windows
15372 case $GCC,$host_os in
15373 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15374 library_names_spec
='$libname.dll.a'
15375 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15376 postinstall_cmds
='base_file=`basename \${file}`~
15377 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15378 dldir=$destdir/`dirname \$dlpath`~
15379 test -d \$dldir || mkdir -p \$dldir~
15380 $install_prog $dir/$dlname \$dldir/$dlname~
15381 chmod a+x \$dldir/$dlname'
15382 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15383 dlpath=$dir/\$dldll~
15385 shlibpath_overrides_runpath
=yes
15389 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15390 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15391 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15394 # MinGW DLLs use traditional 'lib' prefix
15395 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15396 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15397 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15398 # It is most probably a Windows format PATH printed by
15399 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15400 # path with ; separators, and with drive letters. We can handle the
15401 # drive letters (cygwin fileutils understands them), so leave them,
15402 # especially as we might pass files found there to a mingw objdump,
15403 # which wouldn't understand a cygwinified path. Ahh.
15404 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15406 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15410 # pw32 DLLs use 'pw' prefix rather than 'lib'
15411 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15417 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15420 dynamic_linker
='Win32 ld.exe'
15421 # FIXME: first we should search . and the directory the executable is in
15425 darwin
* | rhapsody
*)
15426 dynamic_linker
="$host_os dyld"
15427 version_type
=darwin
15430 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15431 soname_spec
='${libname}${release}${major}$shared_ext'
15432 shlibpath_overrides_runpath
=yes
15433 shlibpath_var
=DYLD_LIBRARY_PATH
15434 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15436 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15444 soname_spec
='${libname}${release}${shared_ext}$major'
15445 shlibpath_var
=LD_LIBRARY_PATH
15452 freebsd
* | dragonfly
*)
15453 # DragonFly does not have aout. When/if they implement a new
15454 # versioning mechanism, adjust this.
15455 if test -x /usr
/bin
/objformat
; then
15456 objformat
=`/usr/bin/objformat`
15459 freebsd
[123]*) objformat
=aout
;;
15460 *) objformat
=elf
;;
15463 version_type
=freebsd-
$objformat
15464 case $version_type in
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15471 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15475 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=yes
15480 freebsd3.
[01]* | freebsdelf3.
[01]*)
15481 shlibpath_overrides_runpath
=yes
15482 hardcode_into_libs
=yes
15484 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15485 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15486 shlibpath_overrides_runpath
=no
15487 hardcode_into_libs
=yes
15489 *) # from 4.6 on, and DragonFly
15490 shlibpath_overrides_runpath
=yes
15491 hardcode_into_libs
=yes
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 hardcode_into_libs
=yes
15506 hpux9
* | hpux10
* | hpux11
*)
15507 # Give a soname corresponding to the major version so that dld.sl refuses to
15508 # link against other versions.
15515 hardcode_into_libs
=yes
15516 dynamic_linker
="$host_os dld.so"
15517 shlibpath_var
=LD_LIBRARY_PATH
15518 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15520 soname_spec
='${libname}${release}${shared_ext}$major'
15521 if test "X$HPUX_IA64_MODE" = X32
; then
15522 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15524 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15526 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15530 hardcode_into_libs
=yes
15531 dynamic_linker
="$host_os dld.sl"
15532 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15533 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15535 soname_spec
='${libname}${release}${shared_ext}$major'
15536 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15537 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15541 dynamic_linker
="$host_os dld.sl"
15542 shlibpath_var
=SHLIB_PATH
15543 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15548 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15549 postinstall_cmds
='chmod 555 $lib'
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15557 soname_spec
='${libname}${release}${shared_ext}$major'
15558 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15559 shlibpath_var
=LD_LIBRARY_PATH
15560 shlibpath_overrides_runpath
=no
15561 hardcode_into_libs
=yes
15564 irix5
* | irix6
* | nonstopux
*)
15566 nonstopux
*) version_type
=nonstopux
;;
15568 if test "$lt_cv_prog_gnu_ld" = yes; then
15576 soname_spec
='${libname}${release}${shared_ext}$major'
15577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15579 irix5
* | nonstopux
*)
15580 libsuff
= shlibsuff
=
15583 case $LD in # libtool.m4 will add one of these switches to LD
15584 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15585 libsuff
= shlibsuff
= libmagic
=32-bit;;
15586 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15587 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15588 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15589 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15590 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15594 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15595 shlibpath_overrides_runpath
=no
15596 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15597 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15598 hardcode_into_libs
=yes
15601 # No shared lib support for Linux oldld, aout, or coff.
15602 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15606 # This must be Linux ELF.
15607 linux
* | k
*bsd
*-gnu)
15611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612 soname_spec
='${libname}${release}${shared_ext}$major'
15613 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15614 shlibpath_var
=LD_LIBRARY_PATH
15615 shlibpath_overrides_runpath
=no
15616 # This implies no fast_install, which is unacceptable.
15617 # Some rework will be needed to allow for fast_install
15618 # before this can be enabled.
15619 hardcode_into_libs
=yes
15620 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15621 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15623 # Append ld.so.conf contents to the search path
15624 if test -f /etc
/ld.so.conf
; then
15625 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15626 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15629 # We used to test for /lib/ld.so.1 and disable shared libraries on
15630 # powerpc, because MkLinux only supported shared libraries with the
15631 # GNU dynamic linker. Since this was broken with cross compilers,
15632 # most powerpc-linux boxes support dynamic linking these days and
15633 # people can always --disable-shared, the test was removed, and we
15634 # assume the GNU/Linux dynamic linker is in use.
15635 dynamic_linker
='GNU/Linux ld.so'
15642 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15645 dynamic_linker
='NetBSD (a.out) ld.so'
15647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15648 soname_spec
='${libname}${release}${shared_ext}$major'
15649 dynamic_linker
='NetBSD ld.elf_so'
15651 shlibpath_var
=LD_LIBRARY_PATH
15652 shlibpath_overrides_runpath
=yes
15653 hardcode_into_libs
=yes
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=yes
15667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15668 soname_spec
='${libname}${release}${shared_ext}$major'
15669 shlibpath_var
=LD_LIBRARY_PATH
15670 shlibpath_overrides_runpath
=yes
15675 sys_lib_dlsearch_path_spec
="/usr/lib"
15677 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15679 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15680 *) need_version
=no
;;
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15683 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15687 openbsd2.
[89] | openbsd2.
[89].
*)
15688 shlibpath_overrides_runpath
=no
15691 shlibpath_overrides_runpath
=yes
15695 shlibpath_overrides_runpath
=yes
15700 libname_spec
='$name'
15703 library_names_spec
='$libname${shared_ext} $libname.a'
15704 dynamic_linker
='OS/2 ld.exe'
15705 shlibpath_var
=LIBPATH
15708 osf3
* | osf4
* | osf5
*)
15712 soname_spec
='${libname}${release}${shared_ext}$major'
15713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15714 shlibpath_var
=LD_LIBRARY_PATH
15715 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15716 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 soname_spec
='${libname}${release}${shared_ext}$major'
15729 shlibpath_var
=LD_LIBRARY_PATH
15730 shlibpath_overrides_runpath
=yes
15731 hardcode_into_libs
=yes
15732 # ldd complains unless libraries are executable
15733 postinstall_cmds
='chmod +x $lib'
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15739 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15740 shlibpath_var
=LD_LIBRARY_PATH
15741 shlibpath_overrides_runpath
=yes
15742 if test "$with_gnu_ld" = yes; then
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15752 shlibpath_var
=LD_LIBRARY_PATH
15753 case $host_vendor in
15755 shlibpath_overrides_runpath
=no
15757 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15758 runpath_var
=LD_RUN_PATH
15766 shlibpath_overrides_runpath
=no
15767 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15773 if test -d /usr
/nec
;then
15775 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15776 soname_spec
='$libname${shared_ext}.$major'
15777 shlibpath_var
=LD_LIBRARY_PATH
15781 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15782 version_type
=freebsd-elf
15785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15786 soname_spec
='${libname}${release}${shared_ext}$major'
15787 shlibpath_var
=LD_LIBRARY_PATH
15788 hardcode_into_libs
=yes
15789 if test "$with_gnu_ld" = yes; then
15790 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15791 shlibpath_overrides_runpath
=no
15793 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15794 shlibpath_overrides_runpath
=yes
15797 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15801 sys_lib_dlsearch_path_spec
='/usr/lib'
15806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15807 soname_spec
='${libname}${release}${shared_ext}$major'
15808 shlibpath_var
=LD_LIBRARY_PATH
15815 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15816 echo "${ECHO_T}$dynamic_linker" >&6; }
15817 test "$dynamic_linker" = no
&& can_build_shared
=no
15819 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15820 if test "$GCC" = yes; then
15821 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15824 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15825 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15826 hardcode_action_F77
=
15827 if test -n "$hardcode_libdir_flag_spec_F77" || \
15828 test -n "$runpath_var_F77" || \
15829 test "X$hardcode_automatic_F77" = "Xyes" ; then
15831 # We can hardcode non-existant directories.
15832 if test "$hardcode_direct_F77" != no
&&
15833 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15834 # have to relink, otherwise we might link with an installed library
15835 # when we should be linking with a yet-to-be-installed one
15836 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15837 test "$hardcode_minus_L_F77" != no
; then
15838 # Linking always hardcodes the temporary library directory.
15839 hardcode_action_F77
=relink
15841 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15842 hardcode_action_F77
=immediate
15845 # We cannot hardcode anything, or else we can only hardcode existing
15847 hardcode_action_F77
=unsupported
15849 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15850 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15852 if test "$hardcode_action_F77" = relink
; then
15853 # Fast installation is not supported
15854 enable_fast_install
=no
15855 elif test "$shlibpath_overrides_runpath" = yes ||
15856 test "$enable_shared" = no
; then
15857 # Fast installation is not necessary
15858 enable_fast_install
=needless
15862 # The else clause should only fire when bootstrapping the
15863 # libtool distribution, otherwise you forgot to ship ltmain.sh
15864 # with your package, and you will get complaints that there are
15865 # no rules to generate ltmain.sh.
15866 if test -f "$ltmain"; then
15867 # See if we are running on zsh, and set the options which allow our commands through
15868 # without removal of \ escapes.
15869 if test -n "${ZSH_VERSION+set}" ; then
15870 setopt NO_GLOB_SUBST
15872 # Now quote all the things that may contain metacharacters while being
15873 # careful not to overquote the AC_SUBSTed values. We take copies of the
15874 # variables and quote the copies for generation of the libtool script.
15875 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15877 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15878 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15879 deplibs_check_method reload_flag reload_cmds need_locks \
15880 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15881 lt_cv_sys_global_symbol_to_c_name_address \
15882 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15883 old_postinstall_cmds old_postuninstall_cmds \
15887 lt_prog_compiler_wl_F77 \
15888 lt_prog_compiler_pic_F77 \
15889 lt_prog_compiler_static_F77 \
15890 lt_prog_compiler_no_builtin_flag_F77 \
15891 export_dynamic_flag_spec_F77 \
15892 thread_safe_flag_spec_F77 \
15893 whole_archive_flag_spec_F77 \
15894 enable_shared_with_static_runtimes_F77 \
15895 old_archive_cmds_F77 \
15896 old_archive_from_new_cmds_F77 \
15897 predep_objects_F77 \
15898 postdep_objects_F77 \
15901 compiler_lib_search_path_F77 \
15903 archive_expsym_cmds_F77 \
15904 postinstall_cmds_F77 \
15905 postuninstall_cmds_F77 \
15906 old_archive_from_expsyms_cmds_F77 \
15907 allow_undefined_flag_F77 \
15908 no_undefined_flag_F77 \
15909 export_symbols_cmds_F77 \
15910 hardcode_libdir_flag_spec_F77 \
15911 hardcode_libdir_flag_spec_ld_F77 \
15912 hardcode_libdir_separator_F77 \
15913 hardcode_automatic_F77 \
15915 module_expsym_cmds_F77 \
15916 lt_cv_prog_compiler_c_o_F77 \
15917 fix_srcfile_path_F77 \
15918 exclude_expsyms_F77 \
15919 include_expsyms_F77
; do
15922 old_archive_cmds_F77 | \
15923 old_archive_from_new_cmds_F77 | \
15924 archive_cmds_F77 | \
15925 archive_expsym_cmds_F77 | \
15926 module_cmds_F77 | \
15927 module_expsym_cmds_F77 | \
15928 old_archive_from_expsyms_cmds_F77 | \
15929 export_symbols_cmds_F77 | \
15930 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15931 postinstall_cmds | postuninstall_cmds | \
15932 old_postinstall_cmds | old_postuninstall_cmds | \
15933 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15934 # Double-quote double-evaled strings.
15935 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15938 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15944 *'\$0 --fallback-echo"')
15945 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15951 cat <<__EOF__ >> "$cfgfile"
15952 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15954 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15956 # Shell to use when invoking shell scripts.
15959 # Whether or not to build shared libraries.
15960 build_libtool_libs=$enable_shared
15962 # Whether or not to build static libraries.
15963 build_old_libs=$enable_static
15965 # Whether or not to add -lc for building shared libraries.
15966 build_libtool_need_lc=$archive_cmds_need_lc_F77
15968 # Whether or not to disallow shared libs when runtime libs are static
15969 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15971 # Whether or not to optimize for fast installation.
15972 fast_install=$enable_fast_install
15975 host_alias=$host_alias
15979 # The build system.
15980 build_alias=$build_alias
15984 # An echo program that does not interpret backslashes.
15989 AR_FLAGS=$lt_AR_FLAGS
15994 # LTCC compiler flags.
15995 LTCFLAGS=$lt_LTCFLAGS
15997 # A language-specific compiler.
15998 CC=$lt_compiler_F77
16000 # Is the compiler the GNU C compiler?
16006 # The linker used to build libraries.
16009 # Whether we need hard or soft links.
16012 # A BSD-compatible nm program.
16015 # A symbol stripping program
16018 # Used to examine libraries when file_magic_cmd begins "file"
16019 MAGIC_CMD=$MAGIC_CMD
16021 # Used on cygwin: DLL creation program.
16024 # Used on cygwin: object dumper.
16027 # Used on cygwin: assembler.
16030 # The name of the directory that contains temporary libtool files.
16033 # How to create reloadable object files.
16034 reload_flag=$lt_reload_flag
16035 reload_cmds=$lt_reload_cmds
16037 # How to pass a linker flag through the compiler.
16038 wl=$lt_lt_prog_compiler_wl_F77
16040 # Object file suffix (normally "o").
16041 objext="$ac_objext"
16043 # Old archive suffix (normally "a").
16046 # Shared library suffix (normally ".so").
16047 shrext_cmds='$shrext_cmds'
16049 # Executable file suffix (normally "").
16052 # Additional compiler flags for building library objects.
16053 pic_flag=$lt_lt_prog_compiler_pic_F77
16056 # What is the maximum length of a command?
16057 max_cmd_len=$lt_cv_sys_max_cmd_len
16059 # Does compiler simultaneously support -c and -o options?
16060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16062 # Must we lock files when doing compilation?
16063 need_locks=$lt_need_locks
16065 # Do we need the lib prefix for modules?
16066 need_lib_prefix=$need_lib_prefix
16068 # Do we need a version for libraries?
16069 need_version=$need_version
16071 # Whether dlopen is supported.
16072 dlopen_support=$enable_dlopen
16074 # Whether dlopen of programs is supported.
16075 dlopen_self=$enable_dlopen_self
16077 # Whether dlopen of statically linked programs is supported.
16078 dlopen_self_static=$enable_dlopen_self_static
16080 # Compiler flag to prevent dynamic linking.
16081 link_static_flag=$lt_lt_prog_compiler_static_F77
16083 # Compiler flag to turn off builtin functions.
16084 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16086 # Compiler flag to allow reflexive dlopens.
16087 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16089 # Compiler flag to generate shared objects directly from archives.
16090 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16092 # Compiler flag to generate thread-safe objects.
16093 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16095 # Library versioning type.
16096 version_type=$version_type
16098 # Format of library name prefix.
16099 libname_spec=$lt_libname_spec
16101 # List of archive names. First name is the real one, the rest are links.
16102 # The last name is the one that the linker finds with -lNAME.
16103 library_names_spec=$lt_library_names_spec
16105 # The coded name of the library, if different from the real name.
16106 soname_spec=$lt_soname_spec
16108 # Commands used to build and install an old-style archive.
16110 old_archive_cmds=$lt_old_archive_cmds_F77
16111 old_postinstall_cmds=$lt_old_postinstall_cmds
16112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16114 # Create an old-style archive from a shared archive.
16115 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16117 # Create a temporary old-style archive to link instead of a shared archive.
16118 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16120 # Commands used to build and install a shared archive.
16121 archive_cmds=$lt_archive_cmds_F77
16122 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16123 postinstall_cmds=$lt_postinstall_cmds
16124 postuninstall_cmds=$lt_postuninstall_cmds
16126 # Commands used to build a loadable module (assumed same as above if empty)
16127 module_cmds=$lt_module_cmds_F77
16128 module_expsym_cmds=$lt_module_expsym_cmds_F77
16130 # Commands to strip libraries.
16131 old_striplib=$lt_old_striplib
16132 striplib=$lt_striplib
16134 # Dependencies to place before the objects being linked to create a
16136 predep_objects=$lt_predep_objects_F77
16138 # Dependencies to place after the objects being linked to create a
16140 postdep_objects=$lt_postdep_objects_F77
16142 # Dependencies to place before the objects being linked to create a
16144 predeps=$lt_predeps_F77
16146 # Dependencies to place after the objects being linked to create a
16148 postdeps=$lt_postdeps_F77
16150 # The library search path used internally by the compiler when linking
16151 # a shared library.
16152 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16154 # Method to check whether dependent libraries are shared objects.
16155 deplibs_check_method=$lt_deplibs_check_method
16157 # Command to use when deplibs_check_method == file_magic.
16158 file_magic_cmd=$lt_file_magic_cmd
16160 # Flag that allows shared libraries with undefined symbols to be built.
16161 allow_undefined_flag=$lt_allow_undefined_flag_F77
16163 # Flag that forces no undefined symbols.
16164 no_undefined_flag=$lt_no_undefined_flag_F77
16166 # Commands used to finish a libtool library installation in a directory.
16167 finish_cmds=$lt_finish_cmds
16169 # Same as above, but a single script fragment to be evaled but not shown.
16170 finish_eval=$lt_finish_eval
16172 # Take the output of nm and produce a listing of raw symbols and C names.
16173 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16175 # Transform the output of nm in a proper C declaration
16176 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16178 # Transform the output of nm in a C name address pair
16179 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16181 # This is the shared library runtime path variable.
16182 runpath_var=$runpath_var
16184 # This is the shared library path variable.
16185 shlibpath_var=$shlibpath_var
16187 # Is shlibpath searched before the hard-coded library search path?
16188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16190 # How to hardcode a shared library path into an executable.
16191 hardcode_action=$hardcode_action_F77
16193 # Whether we should hardcode library paths into libraries.
16194 hardcode_into_libs=$hardcode_into_libs
16196 # Flag to hardcode \$libdir into a binary during linking.
16197 # This must work even if \$libdir does not exist.
16198 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16200 # If ld is used when linking, flag to hardcode \$libdir into
16201 # a binary during linking. This must work even if \$libdir does
16203 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16205 # Whether we need a single -rpath flag with a separated argument.
16206 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16208 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16209 # resulting binary.
16210 hardcode_direct=$hardcode_direct_F77
16212 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16213 # resulting binary.
16214 hardcode_minus_L=$hardcode_minus_L_F77
16216 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16217 # the resulting binary.
16218 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16220 # Set to yes if building a shared library automatically hardcodes DIR into the library
16221 # and all subsequent libraries and executables linked against it.
16222 hardcode_automatic=$hardcode_automatic_F77
16224 # Variables whose values should be saved in libtool wrapper scripts and
16225 # restored at relink time.
16226 variables_saved_for_relink="$variables_saved_for_relink"
16228 # Whether libtool must link a program against all its dependency libraries.
16229 link_all_deplibs=$link_all_deplibs_F77
16231 # Compile-time system search path for libraries
16232 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16234 # Run-time system search path for libraries
16235 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16237 # Fix the shell variable \$srcfile for the compiler.
16238 fix_srcfile_path=$lt_fix_srcfile_path
16240 # Set to yes if exported symbols are required.
16241 always_export_symbols=$always_export_symbols_F77
16243 # The commands to list exported symbols.
16244 export_symbols_cmds=$lt_export_symbols_cmds_F77
16246 # The commands to extract the exported symbol list from a shared archive.
16247 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16249 # Symbols that should not be listed in the preloaded symbols.
16250 exclude_expsyms=$lt_exclude_expsyms_F77
16252 # Symbols that must always be exported.
16253 include_expsyms=$lt_include_expsyms_F77
16255 # ### END LIBTOOL TAG CONFIG: $tagname
16261 # If there is no Makefile yet, we rely on a make rule to execute
16262 # `config.status --recheck' to rerun these tests and create the
16263 # libtool script then.
16264 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16265 if test -f "$ltmain_in"; then
16266 test -f Makefile
&& make "$ltmain"
16272 ac_cpp
='$CPP $CPPFLAGS'
16273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16285 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16288 # Source file extension for Java test sources.
16291 # Object file extension for compiled Java test sources.
16295 # Code to be used in simple compile tests
16296 lt_simple_compile_test_code
="class foo {}"
16298 # Code to be used in simple link tests
16299 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16301 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16303 # If no C compiler was specified, use CC.
16306 # If no C compiler flags were specified, use CFLAGS.
16307 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16309 # Allow CC to be a program name with arguments.
16313 # save warnings/boilerplate of simple test code
16314 ac_outfile
=conftest.
$ac_objext
16315 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16316 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16317 _lt_compiler_boilerplate
=`cat conftest.err`
16320 ac_outfile
=conftest.
$ac_objext
16321 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16322 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16323 _lt_linker_boilerplate
=`cat conftest.err`
16327 # Allow CC to be a program name with arguments.
16332 for cc_temp
in $compiler""; do
16334 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16335 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16340 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16343 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16344 archive_cmds_need_lc_GCJ
=no
16346 old_archive_cmds_GCJ
=$old_archive_cmds
16349 lt_prog_compiler_no_builtin_flag_GCJ
=
16351 if test "$GCC" = yes; then
16352 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16355 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16356 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16357 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 lt_cv_prog_compiler_rtti_exceptions
=no
16361 ac_outfile
=conftest.
$ac_objext
16362 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16363 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16364 # Insert the option either (1) after the last *FLAGS variable, or
16365 # (2) before a word containing "conftest.", or (3) at the end.
16366 # Note that $ac_compile itself does not contain backslashes and begins
16367 # with a dollar sign (not a hyphen), so the echo should work correctly.
16368 # The option is referenced via a variable to avoid confusing sed.
16369 lt_compile
=`echo "$ac_compile" | $SED \
16370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16372 -e 's:$: $lt_compiler_flag:'`
16373 (eval echo "\"\$as_me:16373: $lt_compile\"" >&5)
16374 (eval "$lt_compile" 2>conftest.err
)
16376 cat conftest.err
>&5
16377 echo "$as_me:16377: \$? = $ac_status" >&5
16378 if (exit $ac_status) && test -s "$ac_outfile"; then
16379 # The compiler can only warn and ignore the option if not recognized
16380 # So say no if there are warnings other than the usual output.
16381 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16382 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16383 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16384 lt_cv_prog_compiler_rtti_exceptions
=yes
16390 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16391 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16393 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16394 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16401 lt_prog_compiler_wl_GCJ
=
16402 lt_prog_compiler_pic_GCJ
=
16403 lt_prog_compiler_static_GCJ
=
16405 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16406 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16408 if test "$GCC" = yes; then
16409 lt_prog_compiler_wl_GCJ
='-Wl,'
16410 lt_prog_compiler_static_GCJ
='-static'
16414 # All AIX code is PIC.
16415 if test "$host_cpu" = ia64
; then
16416 # AIX 5 now supports IA64 processor
16417 lt_prog_compiler_static_GCJ
='-Bstatic'
16422 # FIXME: we need at least 68020 code to build shared libraries, but
16423 # adding the `-m68020' flag to GCC prevents building anything better,
16425 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16428 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16429 # PIC is the default for these OSes.
16432 mingw
* | cygwin
* | pw32
* | os2
*)
16433 # This hack is so that the source file can tell whether it is being
16434 # built for inclusion in a dll (and should export symbols for example).
16435 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16436 # (--disable-auto-import) libraries
16437 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16440 darwin
* | rhapsody
*)
16441 # PIC is the default on this platform
16442 # Common symbols not allowed in MH_DYLIB files
16443 lt_prog_compiler_pic_GCJ
='-fno-common'
16447 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16448 # Instead, we relocate shared libraries at runtime.
16452 # Just because we use GCC doesn't mean we suddenly get shared libraries
16453 # on systems that don't support them.
16454 lt_prog_compiler_can_build_shared_GCJ
=no
16459 if test -d /usr
/nec
; then
16460 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16465 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16466 # not for PA HP-UX.
16472 lt_prog_compiler_pic_GCJ
='-fPIC'
16478 lt_prog_compiler_pic_GCJ
='-fPIC'
16482 # PORTME Check for flag to pass linker flags through the system compiler.
16485 lt_prog_compiler_wl_GCJ
='-Wl,'
16486 if test "$host_cpu" = ia64
; then
16487 # AIX 5 now supports IA64 processor
16488 lt_prog_compiler_static_GCJ
='-Bstatic'
16490 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16494 # PIC is the default on this platform
16495 # Common symbols not allowed in MH_DYLIB files
16496 case $cc_basename in
16498 lt_prog_compiler_pic_GCJ
='-qnocommon'
16499 lt_prog_compiler_wl_GCJ
='-Wl,'
16504 mingw
* | cygwin
* | pw32
* | os2
*)
16505 # This hack is so that the source file can tell whether it is being
16506 # built for inclusion in a dll (and should export symbols for example).
16507 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16510 hpux9
* | hpux10
* | hpux11
*)
16511 lt_prog_compiler_wl_GCJ
='-Wl,'
16512 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16513 # not for PA HP-UX.
16519 lt_prog_compiler_pic_GCJ
='+Z'
16522 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16523 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16526 irix5
* | irix6
* | nonstopux
*)
16527 lt_prog_compiler_wl_GCJ
='-Wl,'
16528 # PIC (with -KPIC) is the default.
16529 lt_prog_compiler_static_GCJ
='-non_shared'
16533 lt_prog_compiler_pic_GCJ
='-KPIC'
16534 lt_prog_compiler_static_GCJ
='-Bstatic'
16537 linux
* | k
*bsd
*-gnu)
16538 case $cc_basename in
16540 lt_prog_compiler_wl_GCJ
='-Wl,'
16541 lt_prog_compiler_pic_GCJ
='-KPIC'
16542 lt_prog_compiler_static_GCJ
='-static'
16544 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16545 # Portland Group compilers (*not* the Pentium gcc compiler,
16546 # which looks to be a dead project)
16547 lt_prog_compiler_wl_GCJ
='-Wl,'
16548 lt_prog_compiler_pic_GCJ
='-fpic'
16549 lt_prog_compiler_static_GCJ
='-Bstatic'
16552 lt_prog_compiler_wl_GCJ
='-Wl,'
16553 # All Alpha code is PIC.
16554 lt_prog_compiler_static_GCJ
='-non_shared'
16557 case `$CC -V 2>&1 | sed 5q` in
16560 lt_prog_compiler_pic_GCJ
='-KPIC'
16561 lt_prog_compiler_static_GCJ
='-Bstatic'
16562 lt_prog_compiler_wl_GCJ
='-Wl,'
16565 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16566 lt_prog_compiler_pic_GCJ
='-KPIC'
16567 lt_prog_compiler_static_GCJ
='-Bstatic'
16568 lt_prog_compiler_wl_GCJ
=''
16575 osf3
* | osf4
* | osf5
*)
16576 lt_prog_compiler_wl_GCJ
='-Wl,'
16577 # All OSF/1 code is PIC.
16578 lt_prog_compiler_static_GCJ
='-non_shared'
16582 lt_prog_compiler_static_GCJ
='-non_shared'
16586 lt_prog_compiler_pic_GCJ
='-KPIC'
16587 lt_prog_compiler_static_GCJ
='-Bstatic'
16588 case $cc_basename in
16589 f77
* | f90
* | f95
*)
16590 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16592 lt_prog_compiler_wl_GCJ
='-Wl,';;
16597 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16598 lt_prog_compiler_pic_GCJ
='-PIC'
16599 lt_prog_compiler_static_GCJ
='-Bstatic'
16602 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16603 lt_prog_compiler_wl_GCJ
='-Wl,'
16604 lt_prog_compiler_pic_GCJ
='-KPIC'
16605 lt_prog_compiler_static_GCJ
='-Bstatic'
16609 if test -d /usr
/nec
;then
16610 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16611 lt_prog_compiler_static_GCJ
='-Bstatic'
16615 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16616 lt_prog_compiler_wl_GCJ
='-Wl,'
16617 lt_prog_compiler_pic_GCJ
='-KPIC'
16618 lt_prog_compiler_static_GCJ
='-Bstatic'
16622 lt_prog_compiler_wl_GCJ
='-Wl,'
16623 lt_prog_compiler_can_build_shared_GCJ
=no
16627 lt_prog_compiler_pic_GCJ
='-pic'
16628 lt_prog_compiler_static_GCJ
='-Bstatic'
16632 lt_prog_compiler_can_build_shared_GCJ
=no
16637 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16638 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16641 # Check to make sure the PIC flag actually works.
16643 if test -n "$lt_prog_compiler_pic_GCJ"; then
16645 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16646 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16647 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 lt_prog_compiler_pic_works_GCJ
=no
16651 ac_outfile
=conftest.
$ac_objext
16652 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16653 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16654 # Insert the option either (1) after the last *FLAGS variable, or
16655 # (2) before a word containing "conftest.", or (3) at the end.
16656 # Note that $ac_compile itself does not contain backslashes and begins
16657 # with a dollar sign (not a hyphen), so the echo should work correctly.
16658 # The option is referenced via a variable to avoid confusing sed.
16659 lt_compile
=`echo "$ac_compile" | $SED \
16660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16662 -e 's:$: $lt_compiler_flag:'`
16663 (eval echo "\"\$as_me:16663: $lt_compile\"" >&5)
16664 (eval "$lt_compile" 2>conftest.err
)
16666 cat conftest.err
>&5
16667 echo "$as_me:16667: \$? = $ac_status" >&5
16668 if (exit $ac_status) && test -s "$ac_outfile"; then
16669 # The compiler can only warn and ignore the option if not recognized
16670 # So say no if there are warnings other than the usual output.
16671 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16672 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16673 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16674 lt_prog_compiler_pic_works_GCJ
=yes
16680 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16681 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16683 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16684 case $lt_prog_compiler_pic_GCJ in
16686 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16689 lt_prog_compiler_pic_GCJ
=
16690 lt_prog_compiler_can_build_shared_GCJ
=no
16695 # For platforms which do not support PIC, -DPIC is meaningless:
16697 lt_prog_compiler_pic_GCJ
=
16700 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16705 # Check to make sure the static flag actually works.
16707 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16708 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16709 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16710 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 lt_prog_compiler_static_works_GCJ
=no
16714 save_LDFLAGS
="$LDFLAGS"
16715 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16716 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16717 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16718 # The linker can only warn and ignore the option if not recognized
16719 # So say no if there are warnings
16720 if test -s conftest.err
; then
16721 # Append any errors to the config.log.
16722 cat conftest.err
1>&5
16723 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16724 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16725 if diff conftest.exp conftest.er2
>/dev
/null
; then
16726 lt_prog_compiler_static_works_GCJ
=yes
16729 lt_prog_compiler_static_works_GCJ
=yes
16733 LDFLAGS
="$save_LDFLAGS"
16736 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16737 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16739 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16742 lt_prog_compiler_static_GCJ
=
16746 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16747 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16748 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 lt_cv_prog_compiler_c_o_GCJ
=no
16752 $rm -r conftest
2>/dev
/null
16756 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16758 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16759 # Insert the option either (1) after the last *FLAGS variable, or
16760 # (2) before a word containing "conftest.", or (3) at the end.
16761 # Note that $ac_compile itself does not contain backslashes and begins
16762 # with a dollar sign (not a hyphen), so the echo should work correctly.
16763 lt_compile
=`echo "$ac_compile" | $SED \
16764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16766 -e 's:$: $lt_compiler_flag:'`
16767 (eval echo "\"\$as_me:16767: $lt_compile\"" >&5)
16768 (eval "$lt_compile" 2>out
/conftest.err
)
16770 cat out
/conftest.err
>&5
16771 echo "$as_me:16771: \$? = $ac_status" >&5
16772 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16774 # The compiler can only warn and ignore the option if not recognized
16775 # So say no if there are warnings
16776 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16777 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16778 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16779 lt_cv_prog_compiler_c_o_GCJ
=yes
16784 # SGI C++ compiler will create directory out/ii_files/ for
16785 # template instantiation
16786 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16787 $rm out
/* && rmdir out
16793 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16794 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16797 hard_links
="nottested"
16798 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16799 # do not overwrite the value of need_locks provided by the user
16800 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16801 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16804 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16806 ln conftest.a conftest.b
2>&5 || hard_links
=no
16807 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16808 { echo "$as_me:$LINENO: result: $hard_links" >&5
16809 echo "${ECHO_T}$hard_links" >&6; }
16810 if test "$hard_links" = no
; then
16811 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16812 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16819 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16820 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16823 allow_undefined_flag_GCJ
=
16824 enable_shared_with_static_runtimes_GCJ
=no
16826 archive_expsym_cmds_GCJ
=
16827 old_archive_From_new_cmds_GCJ
=
16828 old_archive_from_expsyms_cmds_GCJ
=
16829 export_dynamic_flag_spec_GCJ
=
16830 whole_archive_flag_spec_GCJ
=
16831 thread_safe_flag_spec_GCJ
=
16832 hardcode_libdir_flag_spec_GCJ
=
16833 hardcode_libdir_flag_spec_ld_GCJ
=
16834 hardcode_libdir_separator_GCJ
=
16835 hardcode_direct_GCJ
=no
16836 hardcode_minus_L_GCJ
=no
16837 hardcode_shlibpath_var_GCJ
=unsupported
16838 link_all_deplibs_GCJ
=unknown
16839 hardcode_automatic_GCJ
=no
16841 module_expsym_cmds_GCJ
=
16842 always_export_symbols_GCJ
=no
16843 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16844 # include_expsyms should be a list of space-separated symbols to be *always*
16845 # included in the symbol list
16846 include_expsyms_GCJ
=
16847 # exclude_expsyms can be an extended regexp of symbols to exclude
16848 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16849 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16850 # as well as any symbol that contains `d'.
16851 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16852 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16853 # platforms (ab)use it in PIC code, but their linkers get confused if
16854 # the symbol is explicitly referenced. Since portable code cannot
16855 # rely on this symbol name, it's probably fine to never include it in
16856 # preloaded symbol tables.
16857 extract_expsyms_cmds
=
16858 # Just being paranoid about ensuring that cc_basename is set.
16859 for cc_temp
in $compiler""; do
16861 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16862 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16867 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16870 cygwin
* | mingw
* | pw32
*)
16871 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16872 # When not using gcc, we currently assume that we are using
16873 # Microsoft Visual C++.
16874 if test "$GCC" != yes; then
16879 # we just hope/assume this is gcc and not c89 (= MSVC++)
16888 if test "$with_gnu_ld" = yes; then
16889 # If archive_cmds runs LD, not CC, wlarc should be empty
16892 # Set some defaults for GNU ld with shared library support. These
16893 # are reset later if shared libraries are not supported. Putting them
16894 # here allows them to be overridden if necessary.
16895 runpath_var
=LD_RUN_PATH
16896 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16897 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16898 # ancient GNU ld didn't support --whole-archive et. al.
16899 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16900 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16902 whole_archive_flag_spec_GCJ
=
16904 supports_anon_versioning
=no
16905 case `$LD -v 2>/dev/null` in
16906 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16907 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16908 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16909 *\
2.11.
*) ;; # other 2.11 versions
16910 *) supports_anon_versioning
=yes ;;
16913 # See if GNU ld supports shared libraries.
16915 aix3
* | aix4
* | aix5
*)
16916 # On AIX/PPC, the GNU linker is very broken
16917 if test "$host_cpu" != ia64
; then
16921 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16922 *** to be unable to reliably create shared libraries on AIX.
16923 *** Therefore, libtool is disabling shared libraries support. If you
16924 *** really care for shared libraries, you may want to modify your PATH
16925 *** so that a non-GNU linker is found, and then restart.
16932 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)'
16933 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16934 hardcode_minus_L_GCJ
=yes
16936 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16937 # that the semantics of dynamic libraries on AmigaOS, at least up
16938 # to version 4, is to share data among multiple programs linked
16939 # with the same dynamic library. Since this doesn't match the
16940 # behavior of shared libraries on other platforms, we can't use
16946 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16947 allow_undefined_flag_GCJ
=unsupported
16948 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16949 # support --undefined. This deserves some investigation. FIXME
16950 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16956 cygwin
* | mingw
* | pw32
*)
16957 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16958 # as there is no search path for DLLs.
16959 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16960 allow_undefined_flag_GCJ
=unsupported
16961 always_export_symbols_GCJ
=no
16962 enable_shared_with_static_runtimes_GCJ
=yes
16963 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16965 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16966 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16967 # If the export-symbols file already is a .def file (1st line
16968 # is EXPORTS), use it as is; otherwise, prepend...
16969 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16970 cp $export_symbols $output_objdir/$soname.def;
16972 echo EXPORTS > $output_objdir/$soname.def;
16973 cat $export_symbols >> $output_objdir/$soname.def;
16975 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16982 hardcode_direct_GCJ
=no
16983 hardcode_shlibpath_var_GCJ
=no
16984 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16985 export_dynamic_flag_spec_GCJ
='${wl}-E'
16986 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16987 # Instead, shared libraries are loaded at an image base (0x10000000 by
16988 # default) and relocated if they conflict, which is a slow very memory
16989 # consuming and fragmenting process. To avoid this, we pick a random,
16990 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16991 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16992 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'
16993 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'
16996 gnu
* | linux
* | k
*bsd
*-gnu)
16997 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16999 case $cc_basename,$host_cpu in
17000 pgcc
*) # Portland Group C compiler
17001 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'
17002 tmp_addflag
=' $pic_flag'
17004 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17005 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'
17006 tmp_addflag
=' $pic_flag -Mnomain' ;;
17007 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17008 tmp_addflag
=' -i_dynamic' ;;
17009 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17010 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17011 ifc
* | ifort
*) # Intel Fortran compiler
17012 tmp_addflag
=' -nofor_main' ;;
17014 case `$CC -V 2>&1 | sed 5q` in
17015 *Sun\ C
*) # Sun C 5.9
17016 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17017 tmp_sharedflag
='-G' ;;
17018 *Sun\ F
*) # Sun Fortran 8.3
17019 tmp_sharedflag
='-G' ;;
17021 tmp_sharedflag
='-shared' ;;
17023 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17025 if test $supports_anon_versioning = yes; then
17026 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17028 $echo "local: *; };" >> $output_objdir/$libname.ver~
17029 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17037 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17038 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17041 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17042 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17047 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17051 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17052 *** create shared libraries on Solaris systems. Therefore, libtool
17053 *** is disabling shared libraries support. We urge you to upgrade GNU
17054 *** binutils to release 2.9.1 or newer. Another option is to modify
17055 *** your PATH or compiler configuration so that the native linker is
17056 *** used, and then restart.
17059 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17060 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17061 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17067 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17068 case `$LD -v 2>&1` in
17069 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17073 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17074 *** reliably create shared libraries on SCO systems. Therefore, libtool
17075 *** is disabling shared libraries support. We urge you to upgrade GNU
17076 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17077 *** your PATH or compiler configuration so that the native linker is
17078 *** used, and then restart.
17083 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17084 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17085 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17086 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17095 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17097 hardcode_direct_GCJ
=yes
17098 hardcode_shlibpath_var_GCJ
=no
17102 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17103 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17104 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17111 if test "$ld_shlibs_GCJ" = no
; then
17113 hardcode_libdir_flag_spec_GCJ
=
17114 export_dynamic_flag_spec_GCJ
=
17115 whole_archive_flag_spec_GCJ
=
17118 # PORTME fill in a description of your system's linker (not GNU ld)
17121 allow_undefined_flag_GCJ
=unsupported
17122 always_export_symbols_GCJ
=yes
17123 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'
17124 # Note: this linker hardcodes the directories in LIBPATH if there
17125 # are no directories specified by -L.
17126 hardcode_minus_L_GCJ
=yes
17127 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17128 # Neither direct hardcoding nor static linking is supported with a
17130 hardcode_direct_GCJ
=unsupported
17135 if test "$host_cpu" = ia64
; then
17136 # On IA64, the linker does run time linking by default, so we don't
17137 # have to do anything special.
17138 aix_use_runtimelinking
=no
17139 exp_sym_flag
='-Bexport'
17142 # If we're using GNU nm, then we don't want the "-C" option.
17143 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17144 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17145 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'
17147 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'
17149 aix_use_runtimelinking
=no
17151 # Test if we are trying to use run time linking or normal
17152 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17153 # need to do runtime linking.
17154 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17155 for ld_flag
in $LDFLAGS; do
17156 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17157 aix_use_runtimelinking
=yes
17164 exp_sym_flag
='-bexport'
17165 no_entry_flag
='-bnoentry'
17168 # When large executables or shared objects are built, AIX ld can
17169 # have problems creating the table of contents. If linking a library
17170 # or program results in "error TOC overflow" add -mminimal-toc to
17171 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17172 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17174 archive_cmds_GCJ
=''
17175 hardcode_direct_GCJ
=yes
17176 hardcode_libdir_separator_GCJ
=':'
17177 link_all_deplibs_GCJ
=yes
17179 if test "$GCC" = yes; then
17180 case $host_os in aix4.
[012]|aix4.
[012].
*)
17181 # We only want to do this on AIX 4.2 and lower, the check
17182 # below for broken collect2 doesn't work under 4.3+
17183 collect2name
=`${CC} -print-prog-name=collect2`
17184 if test -f "$collect2name" && \
17185 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17187 # We have reworked collect2
17190 # We have old collect2
17191 hardcode_direct_GCJ
=unsupported
17192 # It fails to find uninstalled libraries when the uninstalled
17193 # path is not listed in the libpath. Setting hardcode_minus_L
17194 # to unsupported forces relinking
17195 hardcode_minus_L_GCJ
=yes
17196 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17197 hardcode_libdir_separator_GCJ
=
17201 shared_flag
='-shared'
17202 if test "$aix_use_runtimelinking" = yes; then
17203 shared_flag
="$shared_flag "'${wl}-G'
17207 if test "$host_cpu" = ia64
; then
17208 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17209 # chokes on -Wl,-G. The following line is correct:
17212 if test "$aix_use_runtimelinking" = yes; then
17213 shared_flag
='${wl}-G'
17215 shared_flag
='${wl}-bM:SRE'
17220 # It seems that -bexpall does not export symbols beginning with
17221 # underscore (_), so it is better to generate a list of symbols to export.
17222 always_export_symbols_GCJ
=yes
17223 if test "$aix_use_runtimelinking" = yes; then
17224 # Warning - without using the other runtime loading flags (-brtl),
17225 # -berok will link without error, but may produce a broken library.
17226 allow_undefined_flag_GCJ
='-berok'
17227 # Determine the default libpath from the value encoded in an empty executable.
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17243 rm -f conftest.
$ac_objext conftest
$ac_exeext
17244 if { (ac_try
="$ac_link"
17245 case "(($ac_try" in
17246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_link") 2>conftest.er1
17252 grep -v '^ *+' conftest.er1 >conftest.err
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest$ac_exeext &&
17260 $as_test_x conftest$ac_exeext; then
17262 lt_aix_libpath_sed='
17263 /Import File Strings/,/^$/ {
17269 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17270 # Check for a 64-bit object if we didn't find anything.
17271 if test -z "$aix_libpath"; then
17272 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17282 conftest$ac_exeext conftest.$ac_ext
17283 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17285 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17286 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"
17288 if test "$host_cpu" = ia64; then
17289 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17290 allow_undefined_flag_GCJ="-z nodefs"
17291 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"
17293 # Determine the default libpath from the value encoded in an empty executable.
17294 cat >conftest.$ac_ext <<_ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17309 rm -f conftest.$ac_objext conftest$ac_exeext
17310 if { (ac_try="$ac_link"
17311 case "(($ac_try" in
17312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17313 *) ac_try_echo
=$ac_try;;
17315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17316 (eval "$ac_link") 2>conftest.er1
17318 grep -v '^ *+' conftest.er1
>conftest.err
17320 cat conftest.err
>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } && {
17323 test -z "$ac_c_werror_flag" ||
17324 test ! -s conftest.err
17325 } && test -s conftest
$ac_exeext &&
17326 $as_test_x conftest
$ac_exeext; then
17328 lt_aix_libpath_sed
='
17329 /Import File Strings/,/^$/ {
17335 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17336 # Check for a 64-bit object if we didn't find anything.
17337 if test -z "$aix_libpath"; then
17338 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.
$ac_ext >&5
17347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17348 conftest
$ac_exeext conftest.
$ac_ext
17349 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17351 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17352 # Warning - without using the other run time loading flags,
17353 # -berok will link without error, but may produce a broken library.
17354 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17355 allow_undefined_flag_GCJ
=' ${wl}-berok'
17356 # Exported symbols can be pulled into shared objects from archives
17357 whole_archive_flag_spec_GCJ
='$convenience'
17358 archive_cmds_need_lc_GCJ
=yes
17359 # This is similar to how AIX traditionally builds its shared libraries.
17360 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'
17366 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)'
17367 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17368 hardcode_minus_L_GCJ
=yes
17369 # see comment about different semantics on the GNU ld section
17374 export_dynamic_flag_spec_GCJ
=-rdynamic
17377 cygwin
* | mingw
* | pw32
*)
17378 # When not using gcc, we currently assume that we are using
17379 # Microsoft Visual C++.
17380 # hardcode_libdir_flag_spec is actually meaningless, as there is
17381 # no search path for DLLs.
17382 hardcode_libdir_flag_spec_GCJ
=' '
17383 allow_undefined_flag_GCJ
=unsupported
17384 # Tell ltmain to make .lib files, not .a files.
17386 # Tell ltmain to make .dll files, not .so files.
17388 # FIXME: Setting linknames here is a bad hack.
17389 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17390 # The linker will automatically build a .lib file if we build a DLL.
17391 old_archive_From_new_cmds_GCJ
='true'
17392 # FIXME: Should let the user specify the lib program.
17393 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17394 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17395 enable_shared_with_static_runtimes_GCJ
=yes
17398 darwin
* | rhapsody
*)
17400 rhapsody
* | darwin1.
[012])
17401 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17404 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17405 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17407 case ${MACOSX_DEPLOYMENT_TARGET} in
17409 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17412 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17418 archive_cmds_need_lc_GCJ
=no
17419 hardcode_direct_GCJ
=no
17420 hardcode_automatic_GCJ
=yes
17421 hardcode_shlibpath_var_GCJ
=unsupported
17422 whole_archive_flag_spec_GCJ
=''
17423 link_all_deplibs_GCJ
=yes
17424 if test "$GCC" = yes ; then
17425 output_verbose_link_cmd
='echo'
17426 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17427 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17428 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17429 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}'
17430 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}'
17432 case $cc_basename in
17434 output_verbose_link_cmd
='echo'
17435 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17436 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17437 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17438 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17439 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}'
17449 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17450 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17451 hardcode_shlibpath_var_GCJ
=no
17458 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17459 # support. Future versions do this automatically, but an explicit c++rt0.o
17460 # does not break anything, and helps significantly (at the cost of a little
17463 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17464 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17465 hardcode_direct_GCJ
=yes
17466 hardcode_shlibpath_var_GCJ
=no
17469 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17471 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17472 hardcode_direct_GCJ
=yes
17473 hardcode_minus_L_GCJ
=yes
17474 hardcode_shlibpath_var_GCJ
=no
17477 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17478 freebsd
* | dragonfly
*)
17479 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17480 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17481 hardcode_direct_GCJ
=yes
17482 hardcode_shlibpath_var_GCJ
=no
17486 if test "$GCC" = yes; then
17487 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'
17489 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'
17491 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17492 hardcode_libdir_separator_GCJ
=:
17493 hardcode_direct_GCJ
=yes
17495 # hardcode_minus_L: Not really in the search PATH,
17496 # but as the default location of the library.
17497 hardcode_minus_L_GCJ
=yes
17498 export_dynamic_flag_spec_GCJ
='${wl}-E'
17502 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17503 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17505 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17507 if test "$with_gnu_ld" = no
; then
17508 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17509 hardcode_libdir_separator_GCJ
=:
17511 hardcode_direct_GCJ
=yes
17512 export_dynamic_flag_spec_GCJ
='${wl}-E'
17514 # hardcode_minus_L: Not really in the search PATH,
17515 # but as the default location of the library.
17516 hardcode_minus_L_GCJ
=yes
17521 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17524 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17527 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17530 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17536 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17539 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17542 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17546 if test "$with_gnu_ld" = no
; then
17547 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17548 hardcode_libdir_separator_GCJ
=:
17552 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17553 hardcode_direct_GCJ
=no
17554 hardcode_shlibpath_var_GCJ
=no
17557 hardcode_direct_GCJ
=yes
17558 export_dynamic_flag_spec_GCJ
='${wl}-E'
17560 # hardcode_minus_L: Not really in the search PATH,
17561 # but as the default location of the library.
17562 hardcode_minus_L_GCJ
=yes
17568 irix5
* | irix6
* | nonstopux
*)
17569 if test "$GCC" = yes; then
17570 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'
17572 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'
17573 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17575 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17576 hardcode_libdir_separator_GCJ
=:
17577 link_all_deplibs_GCJ
=yes
17581 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17582 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17584 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17586 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17587 hardcode_direct_GCJ
=yes
17588 hardcode_shlibpath_var_GCJ
=no
17592 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17593 hardcode_direct_GCJ
=yes
17594 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17595 hardcode_libdir_separator_GCJ
=:
17596 hardcode_shlibpath_var_GCJ
=no
17600 if test -f /usr
/libexec
/ld.so
; then
17601 hardcode_direct_GCJ
=yes
17602 hardcode_shlibpath_var_GCJ
=no
17603 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17604 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17605 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17606 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17607 export_dynamic_flag_spec_GCJ
='${wl}-E'
17610 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17611 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17612 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17615 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17616 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17626 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17627 hardcode_minus_L_GCJ
=yes
17628 allow_undefined_flag_GCJ
=unsupported
17629 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'
17630 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17634 if test "$GCC" = yes; then
17635 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17636 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'
17638 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17639 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'
17641 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17642 hardcode_libdir_separator_GCJ
=:
17645 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17646 if test "$GCC" = yes; then
17647 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17648 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'
17649 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17651 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17652 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'
17653 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~
17654 $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'
17656 # Both c and cxx compiler support -rpath directly
17657 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17659 hardcode_libdir_separator_GCJ
=:
17663 no_undefined_flag_GCJ
=' -z text'
17664 if test "$GCC" = yes; then
17666 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17667 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17668 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17671 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17672 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17673 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17675 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17676 hardcode_shlibpath_var_GCJ
=no
17678 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17680 # The compiler driver will combine and reorder linker options,
17681 # but understands `-z linker_flag'. GCC discards it without `$wl',
17682 # but is careful enough not to reorder.
17683 # Supported since Solaris 2.6 (maybe 2.5.1?)
17684 if test "$GCC" = yes; then
17685 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17687 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17691 link_all_deplibs_GCJ
=yes
17695 if test "x$host_vendor" = xsequent
; then
17696 # Use $CC to link under sequent, because it throws in some extra .o
17697 # files that make .init and .fini sections work.
17698 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17700 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17702 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17703 hardcode_direct_GCJ
=yes
17704 hardcode_minus_L_GCJ
=yes
17705 hardcode_shlibpath_var_GCJ
=no
17709 case $host_vendor in
17711 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17712 hardcode_direct_GCJ
=yes # is this really true???
17715 ## LD is ld it makes a PLAMLIB
17716 ## CC just makes a GrossModule.
17717 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17718 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17719 hardcode_direct_GCJ
=no
17722 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17723 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17726 runpath_var
='LD_RUN_PATH'
17727 hardcode_shlibpath_var_GCJ
=no
17731 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17732 hardcode_shlibpath_var_GCJ
=no
17733 export_dynamic_flag_spec_GCJ
='-Bexport'
17737 if test -d /usr
/nec
; then
17738 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17739 hardcode_shlibpath_var_GCJ
=no
17740 runpath_var
=LD_RUN_PATH
17741 hardcode_runpath_var
=yes
17746 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17747 no_undefined_flag_GCJ
='${wl}-z,text'
17748 archive_cmds_need_lc_GCJ
=no
17749 hardcode_shlibpath_var_GCJ
=no
17750 runpath_var
='LD_RUN_PATH'
17752 if test "$GCC" = yes; then
17753 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17754 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17757 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17761 sysv5
* | sco3.2v5
* | sco5v6
*)
17762 # Note: We can NOT use -z defs as we might desire, because we do not
17763 # link with -lc, and that would cause any symbols used from libc to
17764 # always be unresolved, which means just about no library would
17765 # ever link correctly. If we're not using GNU ld we use -z text
17766 # though, which does catch some bad symbols but isn't as heavy-handed
17768 no_undefined_flag_GCJ
='${wl}-z,text'
17769 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17770 archive_cmds_need_lc_GCJ
=no
17771 hardcode_shlibpath_var_GCJ
=no
17772 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17773 hardcode_libdir_separator_GCJ
=':'
17774 link_all_deplibs_GCJ
=yes
17775 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17776 runpath_var
='LD_RUN_PATH'
17778 if test "$GCC" = yes; then
17779 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17780 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17782 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17783 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17788 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17789 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17790 hardcode_shlibpath_var_GCJ
=no
17799 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17800 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17801 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17804 # Do we need to explicitly link libc?
17806 case "x$archive_cmds_need_lc_GCJ" in
17808 # Assume -lc should be added
17809 archive_cmds_need_lc_GCJ
=yes
17811 if test "$enable_shared" = yes && test "$GCC" = yes; then
17812 case $archive_cmds_GCJ in
17814 # FIXME: we may have to deal with multi-command sequences.
17817 # Test whether the compiler implicitly links with -lc since on some
17818 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17819 # to ld, don't add -lc before -lgcc.
17820 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17821 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17823 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } 2>conftest.err
; then
17832 libobjs
=conftest.
$ac_objext
17834 wl
=$lt_prog_compiler_wl_GCJ
17835 pic_flag
=$lt_prog_compiler_pic_GCJ
17841 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17842 allow_undefined_flag_GCJ
=
17843 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17844 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }
17849 archive_cmds_need_lc_GCJ
=no
17851 archive_cmds_need_lc_GCJ
=yes
17853 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17855 cat conftest.err
1>&5
17858 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17859 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17866 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17867 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17868 library_names_spec
=
17869 libname_spec
='lib$name'
17873 postuninstall_cmds
=
17877 shlibpath_overrides_runpath
=unknown
17879 dynamic_linker
="$host_os ld.so"
17880 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17882 need_lib_prefix
=unknown
17883 hardcode_into_libs
=no
17885 # when you set need_version to no, make sure it does not cause -set_version
17886 # flags to be left without arguments
17887 need_version
=unknown
17892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17893 shlibpath_var
=LIBPATH
17895 # AIX 3 has no versioning support, so we append a major version to the name.
17896 soname_spec
='${libname}${release}${shared_ext}$major'
17903 hardcode_into_libs
=yes
17904 if test "$host_cpu" = ia64
; then
17905 # AIX 5 supports IA64
17906 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17907 shlibpath_var
=LD_LIBRARY_PATH
17909 # With GCC up to 2.95.x, collect2 would create an import file
17910 # for dependence libraries. The import file would start with
17911 # the line `#! .'. This would cause the generated library to
17912 # depend on `.', always an invalid library. This was fixed in
17913 # development snapshots of GCC prior to 3.0.
17915 aix4 | aix4.
[01] | aix4.
[01].
*)
17916 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17918 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17921 can_build_shared
=no
17925 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17926 # soname into executable. Probably we can add versioning support to
17927 # collect2, so additional links can be useful in future.
17928 if test "$aix_use_runtimelinking" = yes; then
17929 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17930 # instead of lib<name>.a to let people know that these are not
17931 # typical AIX shared libraries.
17932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17934 # We preserve .a as extension for shared libraries through AIX4.2
17935 # and later when we are not doing run time linking.
17936 library_names_spec
='${libname}${release}.a $libname.a'
17937 soname_spec
='${libname}${release}${shared_ext}$major'
17939 shlibpath_var
=LIBPATH
17944 library_names_spec
='$libname.ixlibrary $libname.a'
17945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17946 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'
17950 library_names_spec
='${libname}${shared_ext}'
17951 dynamic_linker
="$host_os ld.so"
17952 shlibpath_var
=LIBRARY_PATH
17958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17959 soname_spec
='${libname}${release}${shared_ext}$major'
17960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17961 shlibpath_var
=LD_LIBRARY_PATH
17962 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17963 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17964 # the default ld.so.conf also contains /usr/contrib/lib and
17965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17966 # libtool to hard-code these into programs
17969 cygwin
* | mingw
* | pw32
*)
17970 version_type
=windows
17975 case $GCC,$host_os in
17976 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17977 library_names_spec
='$libname.dll.a'
17978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17979 postinstall_cmds
='base_file=`basename \${file}`~
17980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17981 dldir=$destdir/`dirname \$dlpath`~
17982 test -d \$dldir || mkdir -p \$dldir~
17983 $install_prog $dir/$dlname \$dldir/$dlname~
17984 chmod a+x \$dldir/$dlname'
17985 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17986 dlpath=$dir/\$dldll~
17988 shlibpath_overrides_runpath
=yes
17992 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17993 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17994 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17997 # MinGW DLLs use traditional 'lib' prefix
17998 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17999 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18000 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18001 # It is most probably a Windows format PATH printed by
18002 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18003 # path with ; separators, and with drive letters. We can handle the
18004 # drive letters (cygwin fileutils understands them), so leave them,
18005 # especially as we might pass files found there to a mingw objdump,
18006 # which wouldn't understand a cygwinified path. Ahh.
18007 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18009 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18013 # pw32 DLLs use 'pw' prefix rather than 'lib'
18014 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18020 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18023 dynamic_linker
='Win32 ld.exe'
18024 # FIXME: first we should search . and the directory the executable is in
18028 darwin
* | rhapsody
*)
18029 dynamic_linker
="$host_os dyld"
18030 version_type
=darwin
18033 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18034 soname_spec
='${libname}${release}${major}$shared_ext'
18035 shlibpath_overrides_runpath
=yes
18036 shlibpath_var
=DYLD_LIBRARY_PATH
18037 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18039 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18047 soname_spec
='${libname}${release}${shared_ext}$major'
18048 shlibpath_var
=LD_LIBRARY_PATH
18055 freebsd
* | dragonfly
*)
18056 # DragonFly does not have aout. When/if they implement a new
18057 # versioning mechanism, adjust this.
18058 if test -x /usr
/bin
/objformat
; then
18059 objformat
=`/usr/bin/objformat`
18062 freebsd
[123]*) objformat
=aout
;;
18063 *) objformat
=elf
;;
18066 version_type
=freebsd-
$objformat
18067 case $version_type in
18069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18074 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18078 shlibpath_var
=LD_LIBRARY_PATH
18081 shlibpath_overrides_runpath
=yes
18083 freebsd3.
[01]* | freebsdelf3.
[01]*)
18084 shlibpath_overrides_runpath
=yes
18085 hardcode_into_libs
=yes
18087 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18088 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18089 shlibpath_overrides_runpath
=no
18090 hardcode_into_libs
=yes
18092 *) # from 4.6 on, and DragonFly
18093 shlibpath_overrides_runpath
=yes
18094 hardcode_into_libs
=yes
18103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18104 soname_spec
='${libname}${release}${shared_ext}$major'
18105 shlibpath_var
=LD_LIBRARY_PATH
18106 hardcode_into_libs
=yes
18109 hpux9
* | hpux10
* | hpux11
*)
18110 # Give a soname corresponding to the major version so that dld.sl refuses to
18111 # link against other versions.
18118 hardcode_into_libs
=yes
18119 dynamic_linker
="$host_os dld.so"
18120 shlibpath_var
=LD_LIBRARY_PATH
18121 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18123 soname_spec
='${libname}${release}${shared_ext}$major'
18124 if test "X$HPUX_IA64_MODE" = X32
; then
18125 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18127 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18129 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18133 hardcode_into_libs
=yes
18134 dynamic_linker
="$host_os dld.sl"
18135 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18136 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18138 soname_spec
='${libname}${release}${shared_ext}$major'
18139 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18140 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18144 dynamic_linker
="$host_os dld.sl"
18145 shlibpath_var
=SHLIB_PATH
18146 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18148 soname_spec
='${libname}${release}${shared_ext}$major'
18151 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18152 postinstall_cmds
='chmod 555 $lib'
18159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18160 soname_spec
='${libname}${release}${shared_ext}$major'
18161 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18162 shlibpath_var
=LD_LIBRARY_PATH
18163 shlibpath_overrides_runpath
=no
18164 hardcode_into_libs
=yes
18167 irix5
* | irix6
* | nonstopux
*)
18169 nonstopux
*) version_type
=nonstopux
;;
18171 if test "$lt_cv_prog_gnu_ld" = yes; then
18179 soname_spec
='${libname}${release}${shared_ext}$major'
18180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18182 irix5
* | nonstopux
*)
18183 libsuff
= shlibsuff
=
18186 case $LD in # libtool.m4 will add one of these switches to LD
18187 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18188 libsuff
= shlibsuff
= libmagic
=32-bit;;
18189 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18190 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18191 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18192 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18193 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18197 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18198 shlibpath_overrides_runpath
=no
18199 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18200 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18201 hardcode_into_libs
=yes
18204 # No shared lib support for Linux oldld, aout, or coff.
18205 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18209 # This must be Linux ELF.
18210 linux
* | k
*bsd
*-gnu)
18214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18215 soname_spec
='${libname}${release}${shared_ext}$major'
18216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18217 shlibpath_var
=LD_LIBRARY_PATH
18218 shlibpath_overrides_runpath
=no
18219 # This implies no fast_install, which is unacceptable.
18220 # Some rework will be needed to allow for fast_install
18221 # before this can be enabled.
18222 hardcode_into_libs
=yes
18223 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18224 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18226 # Append ld.so.conf contents to the search path
18227 if test -f /etc
/ld.so.conf
; then
18228 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18229 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18232 # We used to test for /lib/ld.so.1 and disable shared libraries on
18233 # powerpc, because MkLinux only supported shared libraries with the
18234 # GNU dynamic linker. Since this was broken with cross compilers,
18235 # most powerpc-linux boxes support dynamic linking these days and
18236 # people can always --disable-shared, the test was removed, and we
18237 # assume the GNU/Linux dynamic linker is in use.
18238 dynamic_linker
='GNU/Linux ld.so'
18245 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18247 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18248 dynamic_linker
='NetBSD (a.out) ld.so'
18250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18251 soname_spec
='${libname}${release}${shared_ext}$major'
18252 dynamic_linker
='NetBSD ld.elf_so'
18254 shlibpath_var
=LD_LIBRARY_PATH
18255 shlibpath_overrides_runpath
=yes
18256 hardcode_into_libs
=yes
18261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18262 shlibpath_var
=LD_LIBRARY_PATH
18263 shlibpath_overrides_runpath
=yes
18270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18271 soname_spec
='${libname}${release}${shared_ext}$major'
18272 shlibpath_var
=LD_LIBRARY_PATH
18273 shlibpath_overrides_runpath
=yes
18278 sys_lib_dlsearch_path_spec
="/usr/lib"
18280 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18282 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18283 *) need_version
=no
;;
18285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18287 shlibpath_var
=LD_LIBRARY_PATH
18288 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18290 openbsd2.
[89] | openbsd2.
[89].
*)
18291 shlibpath_overrides_runpath
=no
18294 shlibpath_overrides_runpath
=yes
18298 shlibpath_overrides_runpath
=yes
18303 libname_spec
='$name'
18306 library_names_spec
='$libname${shared_ext} $libname.a'
18307 dynamic_linker
='OS/2 ld.exe'
18308 shlibpath_var
=LIBPATH
18311 osf3
* | osf4
* | osf5
*)
18315 soname_spec
='${libname}${release}${shared_ext}$major'
18316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18317 shlibpath_var
=LD_LIBRARY_PATH
18318 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18319 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18331 soname_spec
='${libname}${release}${shared_ext}$major'
18332 shlibpath_var
=LD_LIBRARY_PATH
18333 shlibpath_overrides_runpath
=yes
18334 hardcode_into_libs
=yes
18335 # ldd complains unless libraries are executable
18336 postinstall_cmds
='chmod +x $lib'
18341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18342 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18343 shlibpath_var
=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath
=yes
18345 if test "$with_gnu_ld" = yes; then
18353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18354 soname_spec
='${libname}${release}${shared_ext}$major'
18355 shlibpath_var
=LD_LIBRARY_PATH
18356 case $host_vendor in
18358 shlibpath_overrides_runpath
=no
18360 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18361 runpath_var
=LD_RUN_PATH
18369 shlibpath_overrides_runpath
=no
18370 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18376 if test -d /usr
/nec
;then
18378 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18379 soname_spec
='$libname${shared_ext}.$major'
18380 shlibpath_var
=LD_LIBRARY_PATH
18384 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18385 version_type
=freebsd-elf
18388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18389 soname_spec
='${libname}${release}${shared_ext}$major'
18390 shlibpath_var
=LD_LIBRARY_PATH
18391 hardcode_into_libs
=yes
18392 if test "$with_gnu_ld" = yes; then
18393 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18394 shlibpath_overrides_runpath
=no
18396 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18397 shlibpath_overrides_runpath
=yes
18400 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18404 sys_lib_dlsearch_path_spec
='/usr/lib'
18409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18410 soname_spec
='${libname}${release}${shared_ext}$major'
18411 shlibpath_var
=LD_LIBRARY_PATH
18418 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18419 echo "${ECHO_T}$dynamic_linker" >&6; }
18420 test "$dynamic_linker" = no
&& can_build_shared
=no
18422 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18423 if test "$GCC" = yes; then
18424 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18427 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18428 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18429 hardcode_action_GCJ
=
18430 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18431 test -n "$runpath_var_GCJ" || \
18432 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18434 # We can hardcode non-existant directories.
18435 if test "$hardcode_direct_GCJ" != no
&&
18436 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18437 # have to relink, otherwise we might link with an installed library
18438 # when we should be linking with a yet-to-be-installed one
18439 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18440 test "$hardcode_minus_L_GCJ" != no
; then
18441 # Linking always hardcodes the temporary library directory.
18442 hardcode_action_GCJ
=relink
18444 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18445 hardcode_action_GCJ
=immediate
18448 # We cannot hardcode anything, or else we can only hardcode existing
18450 hardcode_action_GCJ
=unsupported
18452 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18453 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18455 if test "$hardcode_action_GCJ" = relink
; then
18456 # Fast installation is not supported
18457 enable_fast_install
=no
18458 elif test "$shlibpath_overrides_runpath" = yes ||
18459 test "$enable_shared" = no
; then
18460 # Fast installation is not necessary
18461 enable_fast_install
=needless
18465 # The else clause should only fire when bootstrapping the
18466 # libtool distribution, otherwise you forgot to ship ltmain.sh
18467 # with your package, and you will get complaints that there are
18468 # no rules to generate ltmain.sh.
18469 if test -f "$ltmain"; then
18470 # See if we are running on zsh, and set the options which allow our commands through
18471 # without removal of \ escapes.
18472 if test -n "${ZSH_VERSION+set}" ; then
18473 setopt NO_GLOB_SUBST
18475 # Now quote all the things that may contain metacharacters while being
18476 # careful not to overquote the AC_SUBSTed values. We take copies of the
18477 # variables and quote the copies for generation of the libtool script.
18478 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18480 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18481 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18482 deplibs_check_method reload_flag reload_cmds need_locks \
18483 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18484 lt_cv_sys_global_symbol_to_c_name_address \
18485 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18486 old_postinstall_cmds old_postuninstall_cmds \
18490 lt_prog_compiler_wl_GCJ \
18491 lt_prog_compiler_pic_GCJ \
18492 lt_prog_compiler_static_GCJ \
18493 lt_prog_compiler_no_builtin_flag_GCJ \
18494 export_dynamic_flag_spec_GCJ \
18495 thread_safe_flag_spec_GCJ \
18496 whole_archive_flag_spec_GCJ \
18497 enable_shared_with_static_runtimes_GCJ \
18498 old_archive_cmds_GCJ \
18499 old_archive_from_new_cmds_GCJ \
18500 predep_objects_GCJ \
18501 postdep_objects_GCJ \
18504 compiler_lib_search_path_GCJ \
18506 archive_expsym_cmds_GCJ \
18507 postinstall_cmds_GCJ \
18508 postuninstall_cmds_GCJ \
18509 old_archive_from_expsyms_cmds_GCJ \
18510 allow_undefined_flag_GCJ \
18511 no_undefined_flag_GCJ \
18512 export_symbols_cmds_GCJ \
18513 hardcode_libdir_flag_spec_GCJ \
18514 hardcode_libdir_flag_spec_ld_GCJ \
18515 hardcode_libdir_separator_GCJ \
18516 hardcode_automatic_GCJ \
18518 module_expsym_cmds_GCJ \
18519 lt_cv_prog_compiler_c_o_GCJ \
18520 fix_srcfile_path_GCJ \
18521 exclude_expsyms_GCJ \
18522 include_expsyms_GCJ
; do
18525 old_archive_cmds_GCJ | \
18526 old_archive_from_new_cmds_GCJ | \
18527 archive_cmds_GCJ | \
18528 archive_expsym_cmds_GCJ | \
18529 module_cmds_GCJ | \
18530 module_expsym_cmds_GCJ | \
18531 old_archive_from_expsyms_cmds_GCJ | \
18532 export_symbols_cmds_GCJ | \
18533 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18534 postinstall_cmds | postuninstall_cmds | \
18535 old_postinstall_cmds | old_postuninstall_cmds | \
18536 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18537 # Double-quote double-evaled strings.
18538 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18541 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18547 *'\$0 --fallback-echo"')
18548 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18554 cat <<__EOF__ >> "$cfgfile"
18555 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18557 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18559 # Shell to use when invoking shell scripts.
18562 # Whether or not to build shared libraries.
18563 build_libtool_libs=$enable_shared
18565 # Whether or not to build static libraries.
18566 build_old_libs=$enable_static
18568 # Whether or not to add -lc for building shared libraries.
18569 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18571 # Whether or not to disallow shared libs when runtime libs are static
18572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18574 # Whether or not to optimize for fast installation.
18575 fast_install=$enable_fast_install
18578 host_alias=$host_alias
18582 # The build system.
18583 build_alias=$build_alias
18587 # An echo program that does not interpret backslashes.
18592 AR_FLAGS=$lt_AR_FLAGS
18597 # LTCC compiler flags.
18598 LTCFLAGS=$lt_LTCFLAGS
18600 # A language-specific compiler.
18601 CC=$lt_compiler_GCJ
18603 # Is the compiler the GNU C compiler?
18609 # The linker used to build libraries.
18612 # Whether we need hard or soft links.
18615 # A BSD-compatible nm program.
18618 # A symbol stripping program
18621 # Used to examine libraries when file_magic_cmd begins "file"
18622 MAGIC_CMD=$MAGIC_CMD
18624 # Used on cygwin: DLL creation program.
18627 # Used on cygwin: object dumper.
18630 # Used on cygwin: assembler.
18633 # The name of the directory that contains temporary libtool files.
18636 # How to create reloadable object files.
18637 reload_flag=$lt_reload_flag
18638 reload_cmds=$lt_reload_cmds
18640 # How to pass a linker flag through the compiler.
18641 wl=$lt_lt_prog_compiler_wl_GCJ
18643 # Object file suffix (normally "o").
18644 objext="$ac_objext"
18646 # Old archive suffix (normally "a").
18649 # Shared library suffix (normally ".so").
18650 shrext_cmds='$shrext_cmds'
18652 # Executable file suffix (normally "").
18655 # Additional compiler flags for building library objects.
18656 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18659 # What is the maximum length of a command?
18660 max_cmd_len=$lt_cv_sys_max_cmd_len
18662 # Does compiler simultaneously support -c and -o options?
18663 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18665 # Must we lock files when doing compilation?
18666 need_locks=$lt_need_locks
18668 # Do we need the lib prefix for modules?
18669 need_lib_prefix=$need_lib_prefix
18671 # Do we need a version for libraries?
18672 need_version=$need_version
18674 # Whether dlopen is supported.
18675 dlopen_support=$enable_dlopen
18677 # Whether dlopen of programs is supported.
18678 dlopen_self=$enable_dlopen_self
18680 # Whether dlopen of statically linked programs is supported.
18681 dlopen_self_static=$enable_dlopen_self_static
18683 # Compiler flag to prevent dynamic linking.
18684 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18686 # Compiler flag to turn off builtin functions.
18687 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18689 # Compiler flag to allow reflexive dlopens.
18690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18692 # Compiler flag to generate shared objects directly from archives.
18693 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18695 # Compiler flag to generate thread-safe objects.
18696 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18698 # Library versioning type.
18699 version_type=$version_type
18701 # Format of library name prefix.
18702 libname_spec=$lt_libname_spec
18704 # List of archive names. First name is the real one, the rest are links.
18705 # The last name is the one that the linker finds with -lNAME.
18706 library_names_spec=$lt_library_names_spec
18708 # The coded name of the library, if different from the real name.
18709 soname_spec=$lt_soname_spec
18711 # Commands used to build and install an old-style archive.
18713 old_archive_cmds=$lt_old_archive_cmds_GCJ
18714 old_postinstall_cmds=$lt_old_postinstall_cmds
18715 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18717 # Create an old-style archive from a shared archive.
18718 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18720 # Create a temporary old-style archive to link instead of a shared archive.
18721 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18723 # Commands used to build and install a shared archive.
18724 archive_cmds=$lt_archive_cmds_GCJ
18725 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18726 postinstall_cmds=$lt_postinstall_cmds
18727 postuninstall_cmds=$lt_postuninstall_cmds
18729 # Commands used to build a loadable module (assumed same as above if empty)
18730 module_cmds=$lt_module_cmds_GCJ
18731 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18733 # Commands to strip libraries.
18734 old_striplib=$lt_old_striplib
18735 striplib=$lt_striplib
18737 # Dependencies to place before the objects being linked to create a
18739 predep_objects=$lt_predep_objects_GCJ
18741 # Dependencies to place after the objects being linked to create a
18743 postdep_objects=$lt_postdep_objects_GCJ
18745 # Dependencies to place before the objects being linked to create a
18747 predeps=$lt_predeps_GCJ
18749 # Dependencies to place after the objects being linked to create a
18751 postdeps=$lt_postdeps_GCJ
18753 # The library search path used internally by the compiler when linking
18754 # a shared library.
18755 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18757 # Method to check whether dependent libraries are shared objects.
18758 deplibs_check_method=$lt_deplibs_check_method
18760 # Command to use when deplibs_check_method == file_magic.
18761 file_magic_cmd=$lt_file_magic_cmd
18763 # Flag that allows shared libraries with undefined symbols to be built.
18764 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18766 # Flag that forces no undefined symbols.
18767 no_undefined_flag=$lt_no_undefined_flag_GCJ
18769 # Commands used to finish a libtool library installation in a directory.
18770 finish_cmds=$lt_finish_cmds
18772 # Same as above, but a single script fragment to be evaled but not shown.
18773 finish_eval=$lt_finish_eval
18775 # Take the output of nm and produce a listing of raw symbols and C names.
18776 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18778 # Transform the output of nm in a proper C declaration
18779 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18781 # Transform the output of nm in a C name address pair
18782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18784 # This is the shared library runtime path variable.
18785 runpath_var=$runpath_var
18787 # This is the shared library path variable.
18788 shlibpath_var=$shlibpath_var
18790 # Is shlibpath searched before the hard-coded library search path?
18791 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18793 # How to hardcode a shared library path into an executable.
18794 hardcode_action=$hardcode_action_GCJ
18796 # Whether we should hardcode library paths into libraries.
18797 hardcode_into_libs=$hardcode_into_libs
18799 # Flag to hardcode \$libdir into a binary during linking.
18800 # This must work even if \$libdir does not exist.
18801 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18803 # If ld is used when linking, flag to hardcode \$libdir into
18804 # a binary during linking. This must work even if \$libdir does
18806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18808 # Whether we need a single -rpath flag with a separated argument.
18809 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18811 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18812 # resulting binary.
18813 hardcode_direct=$hardcode_direct_GCJ
18815 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18816 # resulting binary.
18817 hardcode_minus_L=$hardcode_minus_L_GCJ
18819 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18820 # the resulting binary.
18821 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18823 # Set to yes if building a shared library automatically hardcodes DIR into the library
18824 # and all subsequent libraries and executables linked against it.
18825 hardcode_automatic=$hardcode_automatic_GCJ
18827 # Variables whose values should be saved in libtool wrapper scripts and
18828 # restored at relink time.
18829 variables_saved_for_relink="$variables_saved_for_relink"
18831 # Whether libtool must link a program against all its dependency libraries.
18832 link_all_deplibs=$link_all_deplibs_GCJ
18834 # Compile-time system search path for libraries
18835 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18837 # Run-time system search path for libraries
18838 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18840 # Fix the shell variable \$srcfile for the compiler.
18841 fix_srcfile_path=$lt_fix_srcfile_path
18843 # Set to yes if exported symbols are required.
18844 always_export_symbols=$always_export_symbols_GCJ
18846 # The commands to list exported symbols.
18847 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18849 # The commands to extract the exported symbol list from a shared archive.
18850 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18852 # Symbols that should not be listed in the preloaded symbols.
18853 exclude_expsyms=$lt_exclude_expsyms_GCJ
18855 # Symbols that must always be exported.
18856 include_expsyms=$lt_include_expsyms_GCJ
18858 # ### END LIBTOOL TAG CONFIG: $tagname
18864 # If there is no Makefile yet, we rely on a make rule to execute
18865 # `config.status --recheck' to rerun these tests and create the
18866 # libtool script then.
18867 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18868 if test -f "$ltmain_in"; then
18869 test -f Makefile
&& make "$ltmain"
18875 ac_cpp
='$CPP $CPPFLAGS'
18876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18890 # Source file extension for RC test sources.
18893 # Object file extension for compiled RC test sources.
18897 # Code to be used in simple compile tests
18898 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18900 # Code to be used in simple link tests
18901 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18903 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18905 # If no C compiler was specified, use CC.
18908 # If no C compiler flags were specified, use CFLAGS.
18909 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18911 # Allow CC to be a program name with arguments.
18915 # save warnings/boilerplate of simple test code
18916 ac_outfile
=conftest.
$ac_objext
18917 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18918 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18919 _lt_compiler_boilerplate
=`cat conftest.err`
18922 ac_outfile
=conftest.
$ac_objext
18923 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18924 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18925 _lt_linker_boilerplate
=`cat conftest.err`
18929 # Allow CC to be a program name with arguments.
18934 for cc_temp
in $compiler""; do
18936 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18937 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18942 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18944 lt_cv_prog_compiler_c_o_RC
=yes
18946 # The else clause should only fire when bootstrapping the
18947 # libtool distribution, otherwise you forgot to ship ltmain.sh
18948 # with your package, and you will get complaints that there are
18949 # no rules to generate ltmain.sh.
18950 if test -f "$ltmain"; then
18951 # See if we are running on zsh, and set the options which allow our commands through
18952 # without removal of \ escapes.
18953 if test -n "${ZSH_VERSION+set}" ; then
18954 setopt NO_GLOB_SUBST
18956 # Now quote all the things that may contain metacharacters while being
18957 # careful not to overquote the AC_SUBSTed values. We take copies of the
18958 # variables and quote the copies for generation of the libtool script.
18959 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18961 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18962 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18963 deplibs_check_method reload_flag reload_cmds need_locks \
18964 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18965 lt_cv_sys_global_symbol_to_c_name_address \
18966 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18967 old_postinstall_cmds old_postuninstall_cmds \
18971 lt_prog_compiler_wl_RC \
18972 lt_prog_compiler_pic_RC \
18973 lt_prog_compiler_static_RC \
18974 lt_prog_compiler_no_builtin_flag_RC \
18975 export_dynamic_flag_spec_RC \
18976 thread_safe_flag_spec_RC \
18977 whole_archive_flag_spec_RC \
18978 enable_shared_with_static_runtimes_RC \
18979 old_archive_cmds_RC \
18980 old_archive_from_new_cmds_RC \
18981 predep_objects_RC \
18982 postdep_objects_RC \
18985 compiler_lib_search_path_RC \
18987 archive_expsym_cmds_RC \
18988 postinstall_cmds_RC \
18989 postuninstall_cmds_RC \
18990 old_archive_from_expsyms_cmds_RC \
18991 allow_undefined_flag_RC \
18992 no_undefined_flag_RC \
18993 export_symbols_cmds_RC \
18994 hardcode_libdir_flag_spec_RC \
18995 hardcode_libdir_flag_spec_ld_RC \
18996 hardcode_libdir_separator_RC \
18997 hardcode_automatic_RC \
18999 module_expsym_cmds_RC \
19000 lt_cv_prog_compiler_c_o_RC \
19001 fix_srcfile_path_RC \
19002 exclude_expsyms_RC \
19003 include_expsyms_RC
; do
19006 old_archive_cmds_RC | \
19007 old_archive_from_new_cmds_RC | \
19008 archive_cmds_RC | \
19009 archive_expsym_cmds_RC | \
19011 module_expsym_cmds_RC | \
19012 old_archive_from_expsyms_cmds_RC | \
19013 export_symbols_cmds_RC | \
19014 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19015 postinstall_cmds | postuninstall_cmds | \
19016 old_postinstall_cmds | old_postuninstall_cmds | \
19017 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19018 # Double-quote double-evaled strings.
19019 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19022 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19028 *'\$0 --fallback-echo"')
19029 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19035 cat <<__EOF__ >> "$cfgfile"
19036 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19038 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19040 # Shell to use when invoking shell scripts.
19043 # Whether or not to build shared libraries.
19044 build_libtool_libs=$enable_shared
19046 # Whether or not to build static libraries.
19047 build_old_libs=$enable_static
19049 # Whether or not to add -lc for building shared libraries.
19050 build_libtool_need_lc=$archive_cmds_need_lc_RC
19052 # Whether or not to disallow shared libs when runtime libs are static
19053 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19055 # Whether or not to optimize for fast installation.
19056 fast_install=$enable_fast_install
19059 host_alias=$host_alias
19063 # The build system.
19064 build_alias=$build_alias
19068 # An echo program that does not interpret backslashes.
19073 AR_FLAGS=$lt_AR_FLAGS
19078 # LTCC compiler flags.
19079 LTCFLAGS=$lt_LTCFLAGS
19081 # A language-specific compiler.
19084 # Is the compiler the GNU C compiler?
19090 # The linker used to build libraries.
19093 # Whether we need hard or soft links.
19096 # A BSD-compatible nm program.
19099 # A symbol stripping program
19102 # Used to examine libraries when file_magic_cmd begins "file"
19103 MAGIC_CMD=$MAGIC_CMD
19105 # Used on cygwin: DLL creation program.
19108 # Used on cygwin: object dumper.
19111 # Used on cygwin: assembler.
19114 # The name of the directory that contains temporary libtool files.
19117 # How to create reloadable object files.
19118 reload_flag=$lt_reload_flag
19119 reload_cmds=$lt_reload_cmds
19121 # How to pass a linker flag through the compiler.
19122 wl=$lt_lt_prog_compiler_wl_RC
19124 # Object file suffix (normally "o").
19125 objext="$ac_objext"
19127 # Old archive suffix (normally "a").
19130 # Shared library suffix (normally ".so").
19131 shrext_cmds='$shrext_cmds'
19133 # Executable file suffix (normally "").
19136 # Additional compiler flags for building library objects.
19137 pic_flag=$lt_lt_prog_compiler_pic_RC
19140 # What is the maximum length of a command?
19141 max_cmd_len=$lt_cv_sys_max_cmd_len
19143 # Does compiler simultaneously support -c and -o options?
19144 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19146 # Must we lock files when doing compilation?
19147 need_locks=$lt_need_locks
19149 # Do we need the lib prefix for modules?
19150 need_lib_prefix=$need_lib_prefix
19152 # Do we need a version for libraries?
19153 need_version=$need_version
19155 # Whether dlopen is supported.
19156 dlopen_support=$enable_dlopen
19158 # Whether dlopen of programs is supported.
19159 dlopen_self=$enable_dlopen_self
19161 # Whether dlopen of statically linked programs is supported.
19162 dlopen_self_static=$enable_dlopen_self_static
19164 # Compiler flag to prevent dynamic linking.
19165 link_static_flag=$lt_lt_prog_compiler_static_RC
19167 # Compiler flag to turn off builtin functions.
19168 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19170 # Compiler flag to allow reflexive dlopens.
19171 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19173 # Compiler flag to generate shared objects directly from archives.
19174 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19176 # Compiler flag to generate thread-safe objects.
19177 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19179 # Library versioning type.
19180 version_type=$version_type
19182 # Format of library name prefix.
19183 libname_spec=$lt_libname_spec
19185 # List of archive names. First name is the real one, the rest are links.
19186 # The last name is the one that the linker finds with -lNAME.
19187 library_names_spec=$lt_library_names_spec
19189 # The coded name of the library, if different from the real name.
19190 soname_spec=$lt_soname_spec
19192 # Commands used to build and install an old-style archive.
19194 old_archive_cmds=$lt_old_archive_cmds_RC
19195 old_postinstall_cmds=$lt_old_postinstall_cmds
19196 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19198 # Create an old-style archive from a shared archive.
19199 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19201 # Create a temporary old-style archive to link instead of a shared archive.
19202 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19204 # Commands used to build and install a shared archive.
19205 archive_cmds=$lt_archive_cmds_RC
19206 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19207 postinstall_cmds=$lt_postinstall_cmds
19208 postuninstall_cmds=$lt_postuninstall_cmds
19210 # Commands used to build a loadable module (assumed same as above if empty)
19211 module_cmds=$lt_module_cmds_RC
19212 module_expsym_cmds=$lt_module_expsym_cmds_RC
19214 # Commands to strip libraries.
19215 old_striplib=$lt_old_striplib
19216 striplib=$lt_striplib
19218 # Dependencies to place before the objects being linked to create a
19220 predep_objects=$lt_predep_objects_RC
19222 # Dependencies to place after the objects being linked to create a
19224 postdep_objects=$lt_postdep_objects_RC
19226 # Dependencies to place before the objects being linked to create a
19228 predeps=$lt_predeps_RC
19230 # Dependencies to place after the objects being linked to create a
19232 postdeps=$lt_postdeps_RC
19234 # The library search path used internally by the compiler when linking
19235 # a shared library.
19236 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19238 # Method to check whether dependent libraries are shared objects.
19239 deplibs_check_method=$lt_deplibs_check_method
19241 # Command to use when deplibs_check_method == file_magic.
19242 file_magic_cmd=$lt_file_magic_cmd
19244 # Flag that allows shared libraries with undefined symbols to be built.
19245 allow_undefined_flag=$lt_allow_undefined_flag_RC
19247 # Flag that forces no undefined symbols.
19248 no_undefined_flag=$lt_no_undefined_flag_RC
19250 # Commands used to finish a libtool library installation in a directory.
19251 finish_cmds=$lt_finish_cmds
19253 # Same as above, but a single script fragment to be evaled but not shown.
19254 finish_eval=$lt_finish_eval
19256 # Take the output of nm and produce a listing of raw symbols and C names.
19257 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19259 # Transform the output of nm in a proper C declaration
19260 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19262 # Transform the output of nm in a C name address pair
19263 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19265 # This is the shared library runtime path variable.
19266 runpath_var=$runpath_var
19268 # This is the shared library path variable.
19269 shlibpath_var=$shlibpath_var
19271 # Is shlibpath searched before the hard-coded library search path?
19272 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19274 # How to hardcode a shared library path into an executable.
19275 hardcode_action=$hardcode_action_RC
19277 # Whether we should hardcode library paths into libraries.
19278 hardcode_into_libs=$hardcode_into_libs
19280 # Flag to hardcode \$libdir into a binary during linking.
19281 # This must work even if \$libdir does not exist.
19282 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19284 # If ld is used when linking, flag to hardcode \$libdir into
19285 # a binary during linking. This must work even if \$libdir does
19287 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19289 # Whether we need a single -rpath flag with a separated argument.
19290 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19292 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19293 # resulting binary.
19294 hardcode_direct=$hardcode_direct_RC
19296 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19297 # resulting binary.
19298 hardcode_minus_L=$hardcode_minus_L_RC
19300 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19301 # the resulting binary.
19302 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19304 # Set to yes if building a shared library automatically hardcodes DIR into the library
19305 # and all subsequent libraries and executables linked against it.
19306 hardcode_automatic=$hardcode_automatic_RC
19308 # Variables whose values should be saved in libtool wrapper scripts and
19309 # restored at relink time.
19310 variables_saved_for_relink="$variables_saved_for_relink"
19312 # Whether libtool must link a program against all its dependency libraries.
19313 link_all_deplibs=$link_all_deplibs_RC
19315 # Compile-time system search path for libraries
19316 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19318 # Run-time system search path for libraries
19319 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19321 # Fix the shell variable \$srcfile for the compiler.
19322 fix_srcfile_path=$lt_fix_srcfile_path
19324 # Set to yes if exported symbols are required.
19325 always_export_symbols=$always_export_symbols_RC
19327 # The commands to list exported symbols.
19328 export_symbols_cmds=$lt_export_symbols_cmds_RC
19330 # The commands to extract the exported symbol list from a shared archive.
19331 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19333 # Symbols that should not be listed in the preloaded symbols.
19334 exclude_expsyms=$lt_exclude_expsyms_RC
19336 # Symbols that must always be exported.
19337 include_expsyms=$lt_include_expsyms_RC
19339 # ### END LIBTOOL TAG CONFIG: $tagname
19345 # If there is no Makefile yet, we rely on a make rule to execute
19346 # `config.status --recheck' to rerun these tests and create the
19347 # libtool script then.
19348 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19349 if test -f "$ltmain_in"; then
19350 test -f Makefile
&& make "$ltmain"
19356 ac_cpp
='$CPP $CPPFLAGS'
19357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19366 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19367 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19368 { (exit 1); exit 1; }; }
19372 # Append the new tag name to the list of available tags.
19373 if test -n "$tagname" ; then
19374 available_tags
="$available_tags $tagname"
19380 # Now substitute the updated list of available tags.
19381 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19382 mv "${ofile}T" "$ofile"
19386 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19387 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19388 { (exit 1); exit 1; }; }
19394 # This can be used to rebuild libtool when needed
19395 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19397 # Always use our own libtool.
19398 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19400 # Prevent multiple expansion
19422 if test "$GCC" = yes
19424 CFLAGS
="-Wall $CFLAGS"
19426 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
19431 for ac_header
in sys
/types.h
19433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19434 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19437 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 ac_res
=`eval echo '${'$as_ac_Header'}'`
19441 { echo "$as_me:$LINENO: result: $ac_res" >&5
19442 echo "${ECHO_T}$ac_res" >&6; }
19444 # Is the header compilable?
19445 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19447 cat >conftest.
$ac_ext <<_ACEOF
19450 cat confdefs.h
>>conftest.
$ac_ext
19451 cat >>conftest.
$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 #include <$ac_header>
19456 rm -f conftest.
$ac_objext
19457 if { (ac_try
="$ac_compile"
19458 case "(($ac_try" in
19459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19460 *) ac_try_echo=$ac_try;;
19462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19463 (eval "$ac_compile") 2>conftest.er1
19465 grep -v '^ *+' conftest.er1 >conftest.err
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } && {
19470 test -z "$ac_c_werror_flag" ||
19471 test ! -s conftest.err
19472 } && test -s conftest.$ac_objext; then
19473 ac_header_compiler=yes
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19478 ac_header_compiler=no
19481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19483 echo "${ECHO_T}$ac_header_compiler" >&6; }
19485 # Is the header present?
19486 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19488 cat >conftest.$ac_ext <<_ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494 #include <$ac_header>
19496 if { (ac_try="$ac_cpp conftest.$ac_ext"
19497 case "(($ac_try" in
19498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19499 *) ac_try_echo
=$ac_try;;
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19504 grep -v '^ *+' conftest.er1
>conftest.err
19506 cat conftest.err
>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } >/dev
/null
&& {
19509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19512 ac_header_preproc
=yes
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.
$ac_ext >&5
19517 ac_header_preproc
=no
19520 rm -f conftest.err conftest.
$ac_ext
19521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19522 echo "${ECHO_T}$ac_header_preproc" >&6; }
19524 # So? What about this header?
19525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19531 ac_header_preproc
=yes
19534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19547 ## -------------------------------------------------- ##
19548 ## Report this to courier-users@lists.sourceforge.net ##
19549 ## -------------------------------------------------- ##
19551 ) |
sed "s/^/$as_me: WARNING: /" >&2
19554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19556 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 eval "$as_ac_Header=\$ac_header_preproc"
19561 ac_res
=`eval echo '${'$as_ac_Header'}'`
19562 { echo "$as_me:$LINENO: result: $ac_res" >&5
19563 echo "${ECHO_T}$ac_res" >&6; }
19566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19567 cat >>confdefs.h
<<_ACEOF
19568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19577 # Check whether --with-int32 was given.
19578 if test "${with_int32+set}" = set; then
19579 withval
=$with_int32; int32
="$withval"
19583 { echo "$as_me:$LINENO: checking for uint32_t" >&5
19584 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19593 #if HAVE_SYS_TYPES_H
19594 #include <sys/types.h>
19607 rm -f conftest.
$ac_objext
19608 if { (ac_try
="$ac_compile"
19609 case "(($ac_try" in
19610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_compile") 2>conftest.er1
19616 grep -v '^ *+' conftest.er1 >conftest.err
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && {
19621 test -z "$ac_c_werror_flag" ||
19622 test ! -s conftest.err
19623 } && test -s conftest.$ac_objext; then
19624 { echo "$as_me:$LINENO: result: yes" >&5
19625 echo "${ECHO_T}yes" >&6; } ; int32="uint32_t"
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19632 { echo "$as_me:$LINENO: result: no" >&5
19633 echo "${ECHO_T}no" >&6; }
19634 { echo "$as_me:$LINENO: checking for u_int_32_t" >&5
19635 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6; }
19637 cat >conftest.$ac_ext <<_ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19644 #if HAVE_SYS_TYPES_H
19645 #include <sys/types.h>
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19662 *) ac_try_echo
=$ac_try;;
19664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19667 grep -v '^ *+' conftest.er1
>conftest.err
19669 cat conftest.err
>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.
$ac_objext; then
19675 { echo "$as_me:$LINENO: result: yes" >&5
19676 echo "${ECHO_T}yes" >&6; }; int32
="u_int32_t"
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.
$ac_ext >&5
19683 { echo "$as_me:$LINENO: result: no" >&5
19684 echo "${ECHO_T}no" >&6; }
19686 { echo "$as_me:$LINENO: checking for unsigned" >&5
19687 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
19688 if test "${ac_cv_type_unsigned+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 cat >conftest.
$ac_ext <<_ACEOF
19694 cat confdefs.h
>>conftest.
$ac_ext
19695 cat >>conftest.
$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 $ac_includes_default
19698 typedef unsigned ac__type_new_;
19702 if ((ac__type_new_ *) 0)
19704 if (sizeof (ac__type_new_))
19710 rm -f conftest.
$ac_objext
19711 if { (ac_try
="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 ac_cv_type_unsigned=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_type_unsigned=no
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19738 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
19740 # The cast to long int works around a bug in the HP C Compiler
19741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19742 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
19743 # This bug is HP SR number 8606223364.
19744 { echo "$as_me:$LINENO: checking size of unsigned" >&5
19745 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
19746 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 if test "$cross_compiling" = yes; then
19750 # Depending upon the size, compute the lo and hi bounds.
19751 cat >conftest.$ac_ext <<_ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 $ac_includes_default
19758 typedef unsigned ac__type_sizeof_;
19762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19769 rm -f conftest.$ac_objext
19770 if { (ac_try="$ac_compile"
19771 case "(($ac_try" in
19772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19773 *) ac_try_echo=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_compile") 2>conftest.er1
19778 grep -v '^
*+' conftest.er1 >conftest.err
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } && {
19783 test -z "$ac_c_werror_flag" ||
19784 test ! -s conftest.err
19785 } && test -s conftest.$ac_objext; then
19788 cat >conftest.$ac_ext <<_ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $ac_includes_default
19795 typedef unsigned ac__type_sizeof_;
19799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19815 grep -v '^
*+' conftest.er1 >conftest.err
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_hi=$ac_mid; break
19825 echo "$as_me: failed program was:" >&5
19826 sed 's
/^
/|
/' conftest.$ac_ext >&5
19828 ac_lo=`expr $ac_mid + 1`
19829 if test $ac_lo -le $ac_mid; then
19833 ac_mid=`expr 2 '*' $ac_mid + 1`
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 echo "$as_me: failed program was:" >&5
19840 sed 's
/^
/|
/' conftest.$ac_ext >&5
19842 cat >conftest.$ac_ext <<_ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 typedef unsigned ac__type_sizeof_;
19853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_compile") 2>conftest.er1
19869 grep -v '^
*+' conftest.er1 >conftest.err
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest.$ac_objext; then
19879 cat >conftest.$ac_ext <<_ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 typedef unsigned ac__type_sizeof_;
19890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^
*+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_c_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 ac_lo=$ac_mid; break
19916 echo "$as_me: failed program was:" >&5
19917 sed 's
/^
/|
/' conftest.$ac_ext >&5
19919 ac_hi=`expr '(' $ac_mid ')' - 1`
19920 if test $ac_mid -le $ac_hi; then
19924 ac_mid=`expr 2 '*' $ac_mid`
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 echo "$as_me: failed program was:" >&5
19931 sed 's
/^
/|
/' conftest.$ac_ext >&5
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 # Binary search between lo and hi bounds.
19941 while test "x$ac_lo" != "x$ac_hi"; do
19942 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef unsigned ac__type_sizeof_;
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19970 grep -v '^
*+' conftest.er1 >conftest.err
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19980 echo "$as_me: failed program was:" >&5
19981 sed 's
/^
/|
/' conftest.$ac_ext >&5
19983 ac_lo=`expr '(' $ac_mid ')' + 1`
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
19990 '') if test "$ac_cv_type_unsigned" = yes; then
19991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
19992 See \`config.log' for more details.
" >&5
19993 echo "$as_me: error
: cannot compute sizeof
(unsigned
)
19994 See \
`config.log' for more details." >&2;}
19995 { (exit 77); exit 77; }; }
19997 ac_cv_sizeof_unsigned=0
20001 cat >conftest.$ac_ext <<_ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 $ac_includes_default
20008 typedef unsigned ac__type_sizeof_;
20009 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20010 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20012 #include <stdlib.h>
20017 FILE *f = fopen ("conftest.val", "w");
20020 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20022 long int i = longval ();
20023 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20025 fprintf (f, "%ld\n", i);
20029 unsigned long int i = ulongval ();
20030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20032 fprintf (f, "%lu\n", i);
20034 return ferror (f) || fclose (f) != 0;
20040 rm -f conftest$ac_exeext
20041 if { (ac_try="$ac_link"
20042 case "(($ac_try" in
20043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20044 *) ac_try_echo
=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_link") 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20051 { (case "(($ac_try" in
20052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20053 *) ac_try_echo=$ac_try;;
20055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20056 (eval "$ac_try") 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_cv_sizeof_unsigned=`cat conftest.val
`
20062 echo "$as_me: program exited with status $ac_status" >&5
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20066 ( exit $ac_status )
20067 if test "$ac_cv_type_unsigned" = yes; then
20068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
20069 See \`config.log
' for more details." >&5
20070 echo "$as_me: error: cannot compute sizeof (unsigned)
20071 See \`config.log' for more details.
" >&2;}
20072 { (exit 77); exit 77; }; }
20074 ac_cv_sizeof_unsigned=0
20077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20081 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned" >&5
20082 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
20086 cat >>confdefs.h <<_ACEOF
20087 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
20091 if test "$ac_cv_sizeof_unsigned" != 4
20093 { echo "$as_me:$LINENO: checking
for unsigned long
" >&5
20094 echo $ECHO_N "checking
for unsigned long...
$ECHO_C" >&6; }
20095 if test "${ac_cv_type_unsigned_long+set}" = set; then
20096 echo $ECHO_N "(cached
) $ECHO_C" >&6
20098 cat >conftest.$ac_ext <<_ACEOF
20101 cat confdefs.h >>conftest.$ac_ext
20102 cat >>conftest.$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 $ac_includes_default
20105 typedef unsigned long ac__type_new_;
20109 if ((ac__type_new_ *) 0)
20111 if (sizeof (ac__type_new_))
20117 rm -f conftest.$ac_objext
20118 if { (ac_try="$ac_compile"
20119 case "(($ac_try" in
20120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20121 *) ac_try_echo=$ac_try;;
20123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20124 (eval "$ac_compile") 2>conftest.er1
20126 grep -v '^ *+' conftest.er1 >conftest.err
20128 cat conftest.err >&5
20129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20130 (exit $ac_status); } && {
20131 test -z "$ac_c_werror_flag" ||
20132 test ! -s conftest.err
20133 } && test -s conftest.$ac_objext; then
20134 ac_cv_type_unsigned_long=yes
20136 echo "$as_me: failed program was
:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20139 ac_cv_type_unsigned_long=no
20142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 { echo "$as_me:$LINENO: result
: $ac_cv_type_unsigned_long" >&5
20145 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
20147 # The cast to long int works around a bug in the HP C Compiler
20148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20150 # This bug is HP SR number 8606223364.
20151 { echo "$as_me:$LINENO: checking size of unsigned long
" >&5
20152 echo $ECHO_N "checking size of unsigned long...
$ECHO_C" >&6; }
20153 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
20154 echo $ECHO_N "(cached
) $ECHO_C" >&6
20156 if test "$cross_compiling" = yes; then
20157 # Depending upon the size, compute the lo and hi bounds.
20158 cat >conftest.$ac_ext <<_ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 $ac_includes_default
20165 typedef unsigned long ac__type_sizeof_;
20169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20176 rm -f conftest.$ac_objext
20177 if { (ac_try="$ac_compile"
20178 case "(($ac_try" in
20179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20180 *) ac_try_echo=$ac_try;;
20182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_compile") 2>conftest.er1
20185 grep -v '^ *+' conftest.er1 >conftest.err
20187 cat conftest.err >&5
20188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20189 (exit $ac_status); } && {
20190 test -z "$ac_c_werror_flag" ||
20191 test ! -s conftest.err
20192 } && test -s conftest.$ac_objext; then
20195 cat >conftest.$ac_ext <<_ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef unsigned long ac__type_sizeof_;
20206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20213 rm -f conftest.$ac_objext
20214 if { (ac_try="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20222 grep -v '^ *+' conftest.er1 >conftest.err
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20230 ac_hi=$ac_mid; break
20232 echo "$as_me: failed program was
:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20235 ac_lo=`expr $ac_mid + 1`
20236 if test $ac_lo -le $ac_mid; then
20240 ac_mid=`expr 2 '*' $ac_mid + 1`
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 echo "$as_me: failed program was
:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 cat >conftest.$ac_ext <<_ACEOF
20252 cat confdefs.h >>conftest.$ac_ext
20253 cat >>conftest.$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20255 $ac_includes_default
20256 typedef unsigned long ac__type_sizeof_;
20260 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20267 rm -f conftest.$ac_objext
20268 if { (ac_try="$ac_compile"
20269 case "(($ac_try" in
20270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20271 *) ac_try_echo=$ac_try;;
20273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20274 (eval "$ac_compile") 2>conftest.er1
20276 grep -v '^ *+' conftest.er1 >conftest.err
20278 cat conftest.err >&5
20279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20280 (exit $ac_status); } && {
20281 test -z "$ac_c_werror_flag" ||
20282 test ! -s conftest.err
20283 } && test -s conftest.$ac_objext; then
20286 cat >conftest.$ac_ext <<_ACEOF
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20292 $ac_includes_default
20293 typedef unsigned long ac__type_sizeof_;
20297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20304 rm -f conftest.$ac_objext
20305 if { (ac_try="$ac_compile"
20306 case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_compile") 2>conftest.er1
20313 grep -v '^ *+' conftest.er1 >conftest.err
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20317 (exit $ac_status); } && {
20318 test -z "$ac_c_werror_flag" ||
20319 test ! -s conftest.err
20320 } && test -s conftest.$ac_objext; then
20321 ac_lo=$ac_mid; break
20323 echo "$as_me: failed program was
:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 ac_hi=`expr '(' $ac_mid ')' - 1`
20327 if test $ac_mid -le $ac_hi; then
20331 ac_mid=`expr 2 '*' $ac_mid`
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20337 echo "$as_me: failed program was
:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 # Binary search between lo and hi bounds.
20348 while test "x
$ac_lo" != "x
$ac_hi"; do
20349 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef unsigned long ac__type_sizeof_;
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 echo "$as_me: failed program was
:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20390 ac_lo=`expr '(' $ac_mid ')' + 1`
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20396 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
20397 '') if test "$ac_cv_type_unsigned_long" = yes; then
20398 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
20399 See \
`config.log' for more details." >&5
20400 echo "$as_me: error: cannot compute sizeof (unsigned long)
20401 See \`config.log
' for more details." >&2;}
20402 { (exit 77); exit 77; }; }
20404 ac_cv_sizeof_unsigned_long=0
20408 cat >conftest.$ac_ext <<_ACEOF
20411 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20414 $ac_includes_default
20415 typedef unsigned long ac__type_sizeof_;
20416 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20417 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20419 #include <stdlib.h>
20424 FILE *f = fopen ("conftest.val", "w");
20427 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20429 long int i = longval ();
20430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20432 fprintf (f, "%ld\n", i);
20436 unsigned long int i = ulongval ();
20437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20439 fprintf (f, "%lu\n", i);
20441 return ferror (f) || fclose (f) != 0;
20447 rm -f conftest$ac_exeext
20448 if { (ac_try="$ac_link"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_link") 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20458 { (case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_try") 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 ac_cv_sizeof_unsigned_long=`cat conftest.val`
20469 echo "$as_me: program exited with status $ac_status" >&5
20470 echo "$as_me: failed program was:" >&5
20471 sed 's
/^
/|
/' conftest.$ac_ext >&5
20473 ( exit $ac_status )
20474 if test "$ac_cv_type_unsigned_long" = yes; then
20475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
20476 See \`config.log' for more details.
" >&5
20477 echo "$as_me: error
: cannot compute sizeof
(unsigned long
)
20478 See \
`config.log' for more details." >&2;}
20479 { (exit 77); exit 77; }; }
20481 ac_cv_sizeof_unsigned_long=0
20484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20488 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
20489 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
20493 cat >>confdefs.h <<_ACEOF
20494 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20498 if test "$ac_cv_sizeof_unsigned_long" != 4
20500 { echo "$as_me:$LINENO: checking for unsigned short" >&5
20501 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
20502 if test "${ac_cv_type_unsigned_short+set}" = set; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 cat >conftest.$ac_ext <<_ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 typedef unsigned short ac__type_new_;
20516 if ((ac__type_new_ *) 0)
20518 if (sizeof (ac__type_new_))
20524 rm -f conftest.$ac_objext
20525 if { (ac_try="$ac_compile"
20526 case "(($ac_try" in
20527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20528 *) ac_try_echo
=$ac_try;;
20530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20531 (eval "$ac_compile") 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } && {
20538 test -z "$ac_c_werror_flag" ||
20539 test ! -s conftest.err
20540 } && test -s conftest.
$ac_objext; then
20541 ac_cv_type_unsigned_short
=yes
20543 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.
$ac_ext >&5
20546 ac_cv_type_unsigned_short
=no
20549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20551 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20552 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
20554 # The cast to long int works around a bug in the HP C Compiler
20555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20557 # This bug is HP SR number 8606223364.
20558 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
20559 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
20560 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 if test "$cross_compiling" = yes; then
20564 # Depending upon the size, compute the lo and hi bounds.
20565 cat >conftest.
$ac_ext <<_ACEOF
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef unsigned short ac__type_sizeof_;
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20583 rm -f conftest.
$ac_objext
20584 if { (ac_try
="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20592 grep -v '^ *+' conftest.er1 >conftest.err
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef unsigned short ac__type_sizeof_;
20613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20620 rm -f conftest.$ac_objext
20621 if { (ac_try="$ac_compile"
20622 case "(($ac_try" in
20623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20624 *) ac_try_echo
=$ac_try;;
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_compile") 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } && {
20634 test -z "$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20636 } && test -s conftest.
$ac_objext; then
20637 ac_hi
=$ac_mid; break
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.
$ac_ext >&5
20642 ac_lo
=`expr $ac_mid + 1`
20643 if test $ac_lo -le $ac_mid; then
20647 ac_mid
=`expr 2 '*' $ac_mid + 1`
20650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.
$ac_ext >&5
20656 cat >conftest.
$ac_ext <<_ACEOF
20659 cat confdefs.h
>>conftest.
$ac_ext
20660 cat >>conftest.
$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 $ac_includes_default
20663 typedef unsigned short ac__type_sizeof_;
20667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20674 rm -f conftest.
$ac_objext
20675 if { (ac_try
="$ac_compile"
20676 case "(($ac_try" in
20677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20678 *) ac_try_echo=$ac_try;;
20680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_compile") 2>conftest.er1
20683 grep -v '^ *+' conftest.er1 >conftest.err
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } && {
20688 test -z "$ac_c_werror_flag" ||
20689 test ! -s conftest.err
20690 } && test -s conftest.$ac_objext; then
20693 cat >conftest.$ac_ext <<_ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699 $ac_includes_default
20700 typedef unsigned short ac__type_sizeof_;
20704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20711 rm -f conftest.$ac_objext
20712 if { (ac_try="$ac_compile"
20713 case "(($ac_try" in
20714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20715 *) ac_try_echo
=$ac_try;;
20717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20718 (eval "$ac_compile") 2>conftest.er1
20720 grep -v '^ *+' conftest.er1
>conftest.err
20722 cat conftest.err
>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); } && {
20725 test -z "$ac_c_werror_flag" ||
20726 test ! -s conftest.err
20727 } && test -s conftest.
$ac_objext; then
20728 ac_lo
=$ac_mid; break
20730 echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.
$ac_ext >&5
20733 ac_hi
=`expr '(' $ac_mid ')' - 1`
20734 if test $ac_mid -le $ac_hi; then
20738 ac_mid
=`expr 2 '*' $ac_mid`
20741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20754 # Binary search between lo and hi bounds.
20755 while test "x$ac_lo" != "x$ac_hi"; do
20756 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20757 cat >conftest.
$ac_ext <<_ACEOF
20760 cat confdefs.h
>>conftest.
$ac_ext
20761 cat >>conftest.
$ac_ext <<_ACEOF
20762 /* end confdefs.h. */
20763 $ac_includes_default
20764 typedef unsigned short ac__type_sizeof_;
20768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20775 rm -f conftest.
$ac_objext
20776 if { (ac_try
="$ac_compile"
20777 case "(($ac_try" in
20778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_compile") 2>conftest.er1
20784 grep -v '^ *+' conftest.er1 >conftest.err
20786 cat conftest.err >&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && {
20789 test -z "$ac_c_werror_flag" ||
20790 test ! -s conftest.err
20791 } && test -s conftest.$ac_objext; then
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20797 ac_lo=`expr '(' $ac_mid ')' + 1`
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20803 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
20804 '') if test "$ac_cv_type_unsigned_short" = yes; then
20805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
20806 See \`config.log
' for more details." >&5
20807 echo "$as_me: error: cannot compute sizeof (unsigned short)
20808 See \`config.log' for more details.
" >&2;}
20809 { (exit 77); exit 77; }; }
20811 ac_cv_sizeof_unsigned_short=0
20815 cat >conftest.$ac_ext <<_ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 typedef unsigned short ac__type_sizeof_;
20823 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20824 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20826 #include <stdlib.h>
20831 FILE *f = fopen ("conftest.val
", "w
");
20834 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20836 long int i = longval ();
20837 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20839 fprintf (f, "%ld
\n", i);
20843 unsigned long int i = ulongval ();
20844 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20846 fprintf (f, "%lu
\n", i);
20848 return ferror (f) || fclose (f) != 0;
20854 rm -f conftest$ac_exeext
20855 if { (ac_try="$ac_link"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_link") 2>&5
20863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20865 { (case "(($ac_try" in
20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_try") 2>&5
20872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20873 (exit $ac_status); }; }; then
20874 ac_cv_sizeof_unsigned_short=`cat conftest.val`
20876 echo "$as_me: program exited with status
$ac_status" >&5
20877 echo "$as_me: failed program was
:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 ( exit $ac_status )
20881 if test "$ac_cv_type_unsigned_short" = yes; then
20882 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
20883 See \
`config.log' for more details." >&5
20884 echo "$as_me: error: cannot compute sizeof (unsigned short)
20885 See \`config.log
' for more details." >&2;}
20886 { (exit 77); exit 77; }; }
20888 ac_cv_sizeof_unsigned_short=0
20891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20895 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
20896 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
20900 cat >>confdefs.h <<_ACEOF
20901 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20905 if test "$ac_cv_sizeof_unsigned_short" != 4
20907 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
20908 echo "$as_me: error: --with-int32 option is required" >&2;}
20909 { (exit 1); exit 1; }; }
20911 int32="unsigned short"
20913 int32="unsigned long"
20921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20933 cat >>confdefs.h <<_ACEOF
20934 #define SHA1_WORD $UINT32
20938 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20939 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20940 if test "${ac_cv_c_const+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 cat >conftest.$ac_ext <<_ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20953 /* FIXME: Include the comments suggested by Paul. */
20954 #ifndef __cplusplus
20955 /* Ultrix mips cc rejects this. */
20956 typedef int charset[2];
20958 /* SunOS 4.1.1 cc rejects this. */
20959 char const *const *pcpcc;
20961 /* NEC SVR4.0.2 mips cc rejects this. */
20962 struct point {int x, y;};
20963 static struct point const zero = {0,0};
20964 /* AIX XL C 1.02.0.0 rejects this.
20965 It does not let you subtract one const X* pointer from another in
20966 an arm of an if-expression whose if-part is not a constant
20968 const char *g = "string";
20969 pcpcc = &g + (g ? g-g : 0);
20970 /* HPUX 7.0 cc rejects these. */
20972 ppc = (char**) pcpcc;
20973 pcpcc = (char const *const *) ppc;
20974 { /* SCO 3.2v4 cc rejects this. */
20976 char const *s = 0 ? (char *) 0 : (char const *) 0;
20981 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20982 int x[] = {25, 17};
20983 const int *foo = &x[0];
20986 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20987 typedef const int *iptr;
20991 { /* AIX XL C 1.02.0.0 rejects this saying
20992 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20993 struct s { int j; const int *ap[3]; };
20994 struct s *b; b->j = 5;
20996 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20997 const int foo = 10;
20998 if (!foo) return 0;
21000 return !cs[0] && !zero.x;
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21016 grep -v '^
*+' conftest.er1 >conftest.err
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21026 echo "$as_me: failed program was:" >&5
21027 sed 's
/^
/|
/' conftest.$ac_ext >&5
21032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21035 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21036 if test $ac_cv_c_const = no; then
21038 cat >>confdefs.h <<\_ACEOF
21045 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21046 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21047 if test "${ac_cv_header_stdc+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21050 cat >conftest.$ac_ext <<_ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 #include <stdlib.h>
21057 #include <stdarg.h>
21058 #include <string.h>
21069 rm -f conftest.$ac_objext
21070 if { (ac_try="$ac_compile"
21071 case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21076 (eval "$ac_compile") 2>conftest.er1
21078 grep -v '^
*+' conftest.er1 >conftest.err
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } && {
21083 test -z "$ac_c_werror_flag" ||
21084 test ! -s conftest.err
21085 } && test -s conftest.$ac_objext; then
21086 ac_cv_header_stdc=yes
21088 echo "$as_me: failed program was:" >&5
21089 sed 's
/^
/|
/' conftest.$ac_ext >&5
21091 ac_cv_header_stdc=no
21094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21096 if test $ac_cv_header_stdc = yes; then
21097 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21098 cat >conftest.$ac_ext <<_ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21104 #include <string.h>
21107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21108 $EGREP "memchr" >/dev/null 2>&1; then
21111 ac_cv_header_stdc=no
21117 if test $ac_cv_header_stdc = yes; then
21118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21119 cat >conftest.$ac_ext <<_ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125 #include <stdlib.h>
21128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21129 $EGREP "free" >/dev/null 2>&1; then
21132 ac_cv_header_stdc=no
21138 if test $ac_cv_header_stdc = yes; then
21139 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21140 if test "$cross_compiling" = yes; then
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21150 #include <stdlib.h>
21151 #if ((' ' & 0x0FF) == 0x020)
21152 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
21153 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
21155 # define ISLOWER(c) \
21156 (('a
' <= (c) && (c) <= 'i
') \
21157 || ('j
' <= (c) && (c) <= 'r
') \
21158 || ('s
' <= (c) && (c) <= 'z
'))
21159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21167 for (i = 0; i < 256; i++)
21168 if (XOR (islower (i), ISLOWER (i))
21169 || toupper (i) != TOUPPER (i))
21174 rm -f conftest$ac_exeext
21175 if { (ac_try="$ac_link"
21176 case "(($ac_try" in
21177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178 *) ac_try_echo=$ac_try;;
21180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21181 (eval "$ac_link") 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21185 { (case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_try") 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21196 echo "$as_me: program exited with status $ac_status" >&5
21197 echo "$as_me: failed program was:" >&5
21198 sed 's
/^
/|
/' conftest.$ac_ext >&5
21200 ( exit $ac_status )
21201 ac_cv_header_stdc=no
21203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21209 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21210 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21211 if test $ac_cv_header_stdc = yes; then
21213 cat >>confdefs.h <<\_ACEOF
21214 #define STDC_HEADERS 1
21220 ac_config_files="$ac_config_files Makefile"
21222 cat >confcache <<\_ACEOF
21223 # This file is a shell script that caches the results of configure
21224 # tests run on this system so they can be shared between configure
21225 # scripts and configure runs, see configure's option
--config-cache.
21226 # It is not useful on other systems. If it contains results you don't
21227 # want to keep, you may remove or edit it.
21229 # config.status only pays attention to the cache file if you give it
21230 # the --recheck option to rerun configure.
21232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21234 # following values.
21238 # The following way of writing the cache mishandles newlines in values,
21239 # but we know of no workaround that is simple, portable, and efficient.
21240 # So, we kill variables containing newlines.
21241 # Ultrix sh set writes to stderr and can't be redirected directly,
21242 # and sets the high bit in the cache file unless we assign to the vars.
21244 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21245 eval ac_val
=\$
$ac_var
21249 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21253 _ | IFS | as_nl
) ;; #(
21254 *) $as_unset $ac_var ;;
21260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21261 *${as_nl}ac_space
=\
*)
21262 # `set' does not quote correctly, so add quotes (double-quote
21263 # substitution turns \\\\ into \\, and sed turns \\ into \).
21266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21269 # `set' quotes correctly as required by POSIX, so do not add quotes.
21270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21283 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21284 if test -w "$cache_file"; then
21285 test "x$cache_file" != "x/dev/null" &&
21286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21287 echo "$as_me: updating cache $cache_file" >&6;}
21288 cat confcache
>$cache_file
21290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21296 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21297 # Let make expand exec_prefix.
21298 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21300 DEFS
=-DHAVE_CONFIG_H
21304 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21305 # 1. Remove the extension, and $U if already installed.
21306 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21307 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21308 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21309 # will be set to the directory where LIBOBJS objects are built.
21310 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21311 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21313 LIBOBJS
=$ac_libobjs
21315 LTLIBOBJS
=$ac_ltlibobjs
21318 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
21319 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
21320 Usually this means the macro was only invoked conditionally." >&5
21321 echo "$as_me: error: conditional \"HMACC\" was never defined.
21322 Usually this means the macro was only invoked conditionally." >&2;}
21323 { (exit 1); exit 1; }; }
21325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21326 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21327 Usually this means the macro was only invoked conditionally." >&5
21328 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21329 Usually this means the macro was only invoked conditionally." >&2;}
21330 { (exit 1); exit 1; }; }
21332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21333 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21334 Usually this means the macro was only invoked conditionally." >&5
21335 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21336 Usually this means the macro was only invoked conditionally." >&2;}
21337 { (exit 1); exit 1; }; }
21339 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21340 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21341 Usually this means the macro was only invoked conditionally." >&5
21342 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21343 Usually this means the macro was only invoked conditionally." >&2;}
21344 { (exit 1); exit 1; }; }
21347 : ${CONFIG_STATUS=./config.status}
21348 ac_clean_files_save
=$ac_clean_files
21349 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21350 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21351 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21352 cat >$CONFIG_STATUS <<_ACEOF
21354 # Generated by $as_me.
21355 # Run this file to recreate the current configuration.
21356 # Compiler output produced by configure, useful for debugging
21357 # configure, is in config.log if it exists.
21360 ac_cs_recheck=false
21362 SHELL=\${CONFIG_SHELL-$SHELL}
21365 cat >>$CONFIG_STATUS <<\_ACEOF
21366 ## --------------------- ##
21367 ## M4sh Initialization. ##
21368 ## --------------------- ##
21370 # Be more Bourne compatible
21371 DUALCASE
=1; export DUALCASE
# for MKS sh
21372 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21375 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21376 # is contrary to our usage. Disable this feature.
21377 alias -g '${1+"$@"}'='"$@"'
21378 setopt NO_GLOB_SUBST
21380 case `(set -o) 2>/dev/null` in
21381 *posix
*) set -o posix
;;
21390 # Avoid depending upon Character Ranges.
21391 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21392 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21393 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21394 as_cr_digits
='0123456789'
21395 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21397 # The user is always right.
21398 if test "${PATH_SEPARATOR+set}" != set; then
21399 echo "#! /bin/sh" >conf$$.sh
21400 echo "exit 0" >>conf$$.sh
21402 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21410 # Support unset when possible.
21411 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21419 # We need space, tab and new line, in precisely that order. Quoting is
21420 # there to prevent editors from complaining about space-tab.
21421 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21422 # splitting by setting IFS to empty value.)
21427 # Find who we are. Look in the path if we contain no directory separator.
21429 *[\\/]* ) as_myself
=$0 ;;
21430 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21431 for as_dir
in $PATH
21434 test -z "$as_dir" && as_dir
=.
21435 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21441 # We did not find ourselves, most probably we were run as `sh COMMAND'
21442 # in which case we are not to be found in the path.
21443 if test "x$as_myself" = x
; then
21446 if test ! -f "$as_myself"; then
21447 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21448 { (exit 1); exit 1; }
21451 # Work around bugs in pre-3.0 UWIN ksh.
21452 for as_var
in ENV MAIL MAILPATH
21453 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21461 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21462 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21463 LC_TELEPHONE LC_TIME
21465 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21466 eval $as_var=C
; export $as_var
21468 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21472 # Required to use basename.
21473 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21474 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21480 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21481 as_basename
=basename
21487 # Name of the executable.
21488 as_me
=`$as_basename -- "$0" ||
21489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21490 X"$0" : 'X\(//\)$' \| \
21491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21493 sed '/^.*\/\([^/][^/]*\)\/*$/{
21512 as_lineno_1
=$LINENO
21513 as_lineno_2
=$LINENO
21514 test "x$as_lineno_1" != "x$as_lineno_2" &&
21515 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21517 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21518 # uniformly replaced by the line number. The first 'sed' inserts a
21519 # line-number line after each line using $LINENO; the second 'sed'
21520 # does the real work. The second script uses 'N' to pair each
21521 # line-number line with the line containing $LINENO, and appends
21522 # trailing '-' during substitution so that $LINENO is not a special
21523 # case at line end.
21524 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21525 # scripts with optimization help from Paolo Bonzini. Blame Lee
21526 # E. McMahon (1931-1989) for sed's syntax. :-)
21538 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21541 ' >$as_me.lineno
&&
21542 chmod +x
"$as_me.lineno" ||
21543 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21544 { (exit 1); exit 1; }; }
21546 # Don't try to exec as it changes $[0], causing all sort of problems
21547 # (the dirname of $[0] is not the place where we might find the
21548 # original and so on. Autoconf is especially sensitive to this).
21549 .
"./$as_me.lineno"
21550 # Exit status is that of the last command.
21555 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21561 ECHO_C
= ECHO_N
= ECHO_T
=
21562 case `echo -n x` in
21564 case `echo 'x\c'` in
21565 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21572 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21573 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21579 rm -f conf$$ conf$$.exe conf$$.
file
21580 if test -d conf$$.dir
; then
21581 rm -f conf$$.dir
/conf$$.
file
21587 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21589 # ... but there are two gotchas:
21590 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21591 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21592 # In both cases, we have to default to `cp -p'.
21593 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21595 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21600 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21601 rmdir conf$$.dir
2>/dev
/null
21603 if mkdir
-p .
2>/dev
/null
; then
21606 test -d .
/-p && rmdir .
/-p
21610 if test -x / >/dev
/null
2>&1; then
21611 as_test_x
='test -x'
21613 if ls -dL / >/dev
/null
2>&1; then
21620 if test -d "$1"; then
21626 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21627 ???[sx]*):;;*)false;;esac;fi
21631 as_executable_p
=$as_test_x
21633 # Sed expression to map a string onto a valid CPP name.
21634 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21636 # Sed expression to map a string onto a valid variable name.
21637 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21642 # Save the log message, to keep $[0] and so on meaningful, and to
21643 # report actual input values of CONFIG_FILES etc. instead of their
21644 # values after options handling.
21646 This file was extended by libsha1 $as_me 1.21, which was
21647 generated by GNU Autoconf 2.61. Invocation command line was
21649 CONFIG_FILES = $CONFIG_FILES
21650 CONFIG_HEADERS = $CONFIG_HEADERS
21651 CONFIG_LINKS = $CONFIG_LINKS
21652 CONFIG_COMMANDS = $CONFIG_COMMANDS
21655 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21660 cat >>$CONFIG_STATUS <<_ACEOF
21661 # Files that config.status was made for.
21662 config_files="$ac_config_files"
21663 config_headers="$ac_config_headers"
21664 config_commands="$ac_config_commands"
21668 cat >>$CONFIG_STATUS <<\_ACEOF
21670 \`$as_me' instantiates files from templates according to the
21671 current configuration.
21673 Usage: $0 [OPTIONS] [FILE]...
21675 -h, --help print this help, then exit
21676 -V, --version print version number and configuration settings, then exit
21677 -q, --quiet do not print progress messages
21678 -d, --debug don't remove temporary files
21679 --recheck update $as_me by reconfiguring in the same conditions
21680 --file=FILE[:TEMPLATE]
21681 instantiate the configuration file FILE
21682 --header=FILE[:TEMPLATE]
21683 instantiate the configuration header FILE
21685 Configuration files:
21688 Configuration headers:
21691 Configuration commands:
21694 Report bugs to <bug-autoconf@gnu.org>."
21697 cat >>$CONFIG_STATUS <<_ACEOF
21699 libsha1 config.status 1.21
21700 configured by $0, generated by GNU Autoconf 2.61,
21701 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21703 Copyright (C) 2006 Free Software Foundation, Inc.
21704 This config.status script is free software; the Free Software Foundation
21705 gives unlimited permission to copy, distribute and modify it."
21713 cat >>$CONFIG_STATUS <<\_ACEOF
21714 # If no file are specified by the user, then we need to provide default
21715 # value. By we need to know if files were specified by the user.
21721 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21722 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21733 # Handling of the options.
21734 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21736 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21737 echo "$ac_cs_version"; exit ;;
21738 --debug |
--debu |
--deb |
--de |
--d |
-d )
21740 --file |
--fil |
--fi |
--f )
21742 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21743 ac_need_defaults
=false
;;
21744 --header |
--heade |
--head |
--hea )
21746 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21747 ac_need_defaults
=false
;;
21749 # Conflict between --help and --header
21750 { echo "$as_me: error: ambiguous option: $1
21751 Try \`$0 --help' for more information." >&2
21752 { (exit 1); exit 1; }; };;
21753 --help |
--hel |
-h )
21754 echo "$ac_cs_usage"; exit ;;
21755 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21756 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21759 # This is an error.
21760 -*) { echo "$as_me: error: unrecognized option: $1
21761 Try \`$0 --help' for more information." >&2
21762 { (exit 1); exit 1; }; } ;;
21764 *) ac_config_targets
="$ac_config_targets $1"
21765 ac_need_defaults
=false
;;
21771 ac_configure_extra_args
=
21773 if $ac_cs_silent; then
21775 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21779 cat >>$CONFIG_STATUS <<_ACEOF
21780 if \$ac_cs_recheck; then
21781 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21782 CONFIG_SHELL=$SHELL
21783 export CONFIG_SHELL
21784 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21788 cat >>$CONFIG_STATUS <<\_ACEOF
21792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21793 ## Running $as_me. ##
21799 cat >>$CONFIG_STATUS <<_ACEOF
21803 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21807 cat >>$CONFIG_STATUS <<\_ACEOF
21809 # Handling of arguments.
21810 for ac_config_target
in $ac_config_targets
21812 case $ac_config_target in
21813 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21814 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21815 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21817 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21818 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21819 { (exit 1); exit 1; }; };;
21824 # If the user did not use the arguments to specify the items to instantiate,
21825 # then the envvar interface is used. Set only those that are not.
21826 # We use the long form for the default assignment because of an extremely
21827 # bizarre bug on SunOS 4.1.3.
21828 if $ac_need_defaults; then
21829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21830 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21831 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21834 # Have a temporary directory for convenience. Make it in the build tree
21835 # simply because there is no reason against having it here, and in addition,
21836 # creating and moving files from /tmp can sometimes cause problems.
21837 # Hook for its removal unless debugging.
21838 # Note that there is a small window in which the directory will not be cleaned:
21839 # after its creation but before its name has been assigned to `$tmp'.
21843 trap 'exit_status=$?
21844 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21846 trap '{ (exit 1); exit 1; }' 1 2 13 15
21848 # Create a (secure) tmp directory for tmp files.
21851 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21852 test -n "$tmp" && test -d "$tmp"
21855 tmp
=.
/conf$$
-$RANDOM
21856 (umask 077 && mkdir
"$tmp")
21859 echo "$me: cannot create a temporary directory in ." >&2
21860 { (exit 1); exit 1; }
21864 # Set up the sed scripts for CONFIG_FILES section.
21867 # No need to generate the scripts if there are no CONFIG_FILES.
21868 # This happens for instance when ./config.status config.h
21869 if test -n "$CONFIG_FILES"; then
21876 for ac_last_try
in false false false false false
:; do
21877 cat >conf$
$subs.
sed <<_ACEOF
21878 SHELL!$SHELL$ac_delim
21879 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21880 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21881 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21882 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21883 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21884 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21885 exec_prefix!$exec_prefix$ac_delim
21886 prefix!$prefix$ac_delim
21887 program_transform_name!$program_transform_name$ac_delim
21888 bindir!$bindir$ac_delim
21889 sbindir!$sbindir$ac_delim
21890 libexecdir!$libexecdir$ac_delim
21891 datarootdir!$datarootdir$ac_delim
21892 datadir!$datadir$ac_delim
21893 sysconfdir!$sysconfdir$ac_delim
21894 sharedstatedir!$sharedstatedir$ac_delim
21895 localstatedir!$localstatedir$ac_delim
21896 includedir!$includedir$ac_delim
21897 oldincludedir!$oldincludedir$ac_delim
21898 docdir!$docdir$ac_delim
21899 infodir!$infodir$ac_delim
21900 htmldir!$htmldir$ac_delim
21901 dvidir!$dvidir$ac_delim
21902 pdfdir!$pdfdir$ac_delim
21903 psdir!$psdir$ac_delim
21904 libdir!$libdir$ac_delim
21905 localedir!$localedir$ac_delim
21906 mandir!$mandir$ac_delim
21907 DEFS!$DEFS$ac_delim
21908 ECHO_C!$ECHO_C$ac_delim
21909 ECHO_N!$ECHO_N$ac_delim
21910 ECHO_T!$ECHO_T$ac_delim
21911 LIBS!$LIBS$ac_delim
21912 build_alias!$build_alias$ac_delim
21913 host_alias!$host_alias$ac_delim
21914 target_alias!$target_alias$ac_delim
21915 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21916 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21917 INSTALL_DATA!$INSTALL_DATA$ac_delim
21918 am__isrc!$am__isrc$ac_delim
21919 CYGPATH_W!$CYGPATH_W$ac_delim
21920 PACKAGE!$PACKAGE$ac_delim
21921 VERSION!$VERSION$ac_delim
21922 ACLOCAL!$ACLOCAL$ac_delim
21923 AUTOCONF!$AUTOCONF$ac_delim
21924 AUTOMAKE!$AUTOMAKE$ac_delim
21925 AUTOHEADER!$AUTOHEADER$ac_delim
21926 MAKEINFO!$MAKEINFO$ac_delim
21927 install_sh!$install_sh$ac_delim
21928 STRIP!$STRIP$ac_delim
21929 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21930 mkdir_p!$mkdir_p$ac_delim
21932 SET_MAKE!$SET_MAKE$ac_delim
21933 am__leading_dot!$am__leading_dot$ac_delim
21934 AMTAR!$AMTAR$ac_delim
21935 am__tar!$am__tar$ac_delim
21936 am__untar!$am__untar$ac_delim
21937 HMACC_TRUE!$HMACC_TRUE$ac_delim
21938 HMACC_FALSE!$HMACC_FALSE$ac_delim
21940 CFLAGS!$CFLAGS$ac_delim
21941 LDFLAGS!$LDFLAGS$ac_delim
21942 CPPFLAGS!$CPPFLAGS$ac_delim
21943 ac_ct_CC!$ac_ct_CC$ac_delim
21944 EXEEXT!$EXEEXT$ac_delim
21945 OBJEXT!$OBJEXT$ac_delim
21946 DEPDIR!$DEPDIR$ac_delim
21947 am__include!$am__include$ac_delim
21948 am__quote!$am__quote$ac_delim
21949 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21950 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21951 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21952 CCDEPMODE!$CCDEPMODE$ac_delim
21953 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21954 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21955 LN_S!$LN_S$ac_delim
21956 build!$build$ac_delim
21957 build_cpu!$build_cpu$ac_delim
21958 build_vendor!$build_vendor$ac_delim
21959 build_os!$build_os$ac_delim
21960 host!$host$ac_delim
21961 host_cpu!$host_cpu$ac_delim
21962 host_vendor!$host_vendor$ac_delim
21963 host_os!$host_os$ac_delim
21965 GREP!$GREP$ac_delim
21966 EGREP!$EGREP$ac_delim
21967 ECHO!$ECHO$ac_delim
21969 RANLIB!$RANLIB$ac_delim
21972 CXXFLAGS!$CXXFLAGS$ac_delim
21973 ac_ct_CXX!$ac_ct_CXX$ac_delim
21974 CXXDEPMODE!$CXXDEPMODE$ac_delim
21977 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21979 elif $ac_last_try; then
21980 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21981 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21982 { (exit 1); exit 1; }; }
21984 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21988 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21989 if test -n "$ac_eof"; then
21990 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21991 ac_eof
=`expr $ac_eof + 1`
21994 cat >>$CONFIG_STATUS <<_ACEOF
21995 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21999 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22000 s/^/s,@/; s/!/@,|#_!!_#|/
22003 s/'"$ac_delim"'$/,g/; t
22005 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22006 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22007 rm -f conf$
$subs.
sed
22008 cat >>$CONFIG_STATUS <<_ACEOF
22014 for ac_last_try
in false false false false false
:; do
22015 cat >conf$
$subs.
sed <<_ACEOF
22016 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22017 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22018 CXXCPP!$CXXCPP$ac_delim
22020 FFLAGS!$FFLAGS$ac_delim
22021 ac_ct_F77!$ac_ct_F77$ac_delim
22022 LIBTOOL!$LIBTOOL$ac_delim
22023 LIBOBJS!$LIBOBJS$ac_delim
22024 LTLIBOBJS!$LTLIBOBJS$ac_delim
22027 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
22029 elif $ac_last_try; then
22030 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22031 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22032 { (exit 1); exit 1; }; }
22034 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22038 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22039 if test -n "$ac_eof"; then
22040 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22041 ac_eof
=`expr $ac_eof + 1`
22044 cat >>$CONFIG_STATUS <<_ACEOF
22045 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22049 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22050 s/^/s,@/; s/!/@,|#_!!_#|/
22053 s/'"$ac_delim"'$/,g/; t
22055 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22056 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22057 rm -f conf$
$subs.
sed
22058 cat >>$CONFIG_STATUS <<_ACEOF
22065 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22066 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22067 # trailing colons and then remove the whole line if VPATH becomes empty
22068 # (actually we leave an empty line to preserve line numbers).
22069 if test "x$srcdir" = x.
; then
22070 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22071 s/:*\$(srcdir):*/:/
22072 s/:*\${srcdir}:*/:/
22074 s/^\([^=]*=[ ]*\):*/\1/
22080 cat >>$CONFIG_STATUS <<\_ACEOF
22081 fi # test -n "$CONFIG_FILES"
22084 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22087 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22089 case $ac_mode$ac_tag in
22091 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22092 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22093 { (exit 1); exit 1; }; };;
22094 :[FH
]-) ac_tag
=-:-;;
22095 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22112 -) ac_f
="$tmp/stdin";;
22113 *) # Look for the file first in the build tree, then in the source tree
22114 # (if the path is not absolute). The absolute path cannot be DOS-style,
22115 # because $ac_f cannot contain `:'.
22119 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22121 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22122 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22123 { (exit 1); exit 1; }; };;
22125 ac_file_inputs
="$ac_file_inputs $ac_f"
22128 # Let's still pretend it is `configure' which instantiates (i.e., don't
22129 # use $as_me), people would be surprised to read:
22130 # /* config.h. Generated by config.status. */
22131 configure_input
="Generated from "`IFS=:
22132 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22133 if test x
"$ac_file" != x-
; then
22134 configure_input
="$ac_file. $configure_input"
22135 { echo "$as_me:$LINENO: creating $ac_file" >&5
22136 echo "$as_me: creating $ac_file" >&6;}
22140 *:-:* |
*:-) cat >"$tmp/stdin";;
22145 ac_dir
=`$as_dirname -- "$ac_file" ||
22146 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22147 X"$ac_file" : 'X\(//\)[^/]' \| \
22148 X"$ac_file" : 'X\(//\)$' \| \
22149 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22155 /^X\(\/\/\)[^/].*/{
22170 -*) as_dir
=.
/$as_dir;;
22172 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22176 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22177 *) as_qdir
=$as_dir;;
22179 as_dirs
="'$as_qdir' $as_dirs"
22180 as_dir
=`$as_dirname -- "$as_dir" ||
22181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22182 X"$as_dir" : 'X\(//\)[^/]' \| \
22183 X"$as_dir" : 'X\(//\)$' \| \
22184 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22190 /^X\(\/\/\)[^/].*/{
22203 test -d "$as_dir" && break
22205 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22206 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22207 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22208 { (exit 1); exit 1; }; }; }
22212 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22214 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22215 # A ".." for each directory in $ac_dir_suffix.
22216 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22217 case $ac_top_builddir_sub in
22218 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22219 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22222 ac_abs_top_builddir
=$ac_pwd
22223 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22224 # for backward compatibility:
22225 ac_top_builddir
=$ac_top_build_prefix
22228 .
) # We are building in place.
22230 ac_top_srcdir
=$ac_top_builddir_sub
22231 ac_abs_top_srcdir
=$ac_pwd ;;
22232 [\\/]* | ?
:[\\/]* ) # Absolute name.
22233 ac_srcdir
=$srcdir$ac_dir_suffix;
22234 ac_top_srcdir
=$srcdir
22235 ac_abs_top_srcdir
=$srcdir ;;
22236 *) # Relative name.
22237 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22238 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22239 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22241 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22251 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22252 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22254 ac_MKDIR_P
=$MKDIR_P
22256 [\\/$
]* | ?
:[\\/]* ) ;;
22257 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22261 cat >>$CONFIG_STATUS <<\_ACEOF
22262 # If the template does not know about datarootdir, expand it.
22263 # FIXME: This hack should be removed a few years after 2.60.
22264 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22266 case `sed -n '/datarootdir/ {
22275 ' $ac_file_inputs` in
22276 *datarootdir
*) ac_datarootdir_seen
=yes;;
22277 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22278 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22279 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22281 cat >>$CONFIG_STATUS <<_ACEOF
22282 ac_datarootdir_hack='
22283 s&@datadir@&$datadir&g
22284 s&@docdir@&$docdir&g
22285 s&@infodir@&$infodir&g
22286 s&@localedir@&$localedir&g
22287 s&@mandir@&$mandir&g
22288 s&\\\${datarootdir}&$datarootdir&g' ;;
22292 # Neutralize VPATH when `$srcdir' = `.'.
22293 # Shell code in configure.ac might set extrasub.
22294 # FIXME: do we really want to maintain this feature?
22295 cat >>$CONFIG_STATUS <<_ACEOF
22299 cat >>$CONFIG_STATUS <<\_ACEOF
22301 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22302 s
&@configure_input@
&$configure_input&;t t
22303 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22304 s
&@srcdir@
&$ac_srcdir&;t t
22305 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22306 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22307 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22308 s
&@builddir@
&$ac_builddir&;t t
22309 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22310 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22311 s
&@INSTALL@
&$ac_INSTALL&;t t
22312 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22313 $ac_datarootdir_hack
22314 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22316 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22317 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22318 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22319 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22320 which seems to be undefined. Please make sure it is defined." >&5
22321 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22322 which seems to be undefined. Please make sure it is defined." >&2;}
22326 -) cat "$tmp/out"; rm -f "$tmp/out";;
22327 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22336 # Transform confdefs.h into a sed script `conftest.defines', that
22337 # substitutes the proper values into config.h.in to produce config.h.
22338 rm -f conftest.defines conftest.
tail
22339 # First, append a space to every undef/define line, to ease matching.
22340 echo 's/$/ /' >conftest.defines
22341 # Then, protect against being on the right side of a sed subst, or in
22342 # an unquoted here document, in config.status. If some macros were
22343 # called several times there might be several #defines for the same
22344 # symbol, which is useless. But do not sort them, since the last
22345 # AC_DEFINE must be honored.
22346 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22347 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22348 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22349 # PARAMS is the parameter list in the macro definition--in most cases, it's
22350 # just an empty string.
22351 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22352 ac_dB
='\\)[ (].*,\\1define\\2'
22360 s/^[ ]*#[ ]*define[ ][ ]*//
22365 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22366 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22367 ' >>conftest.defines
22369 # Remove the space that was appended to ease matching.
22370 # Then replace #undef with comments. This is necessary, for
22371 # example, in the case of _POSIX_SOURCE, which is predefined and required
22372 # on some systems where configure will not decide to define it.
22373 # (The regexp can be short, since the line contains either #define or #undef.)
22375 s,^[ #]*u.*,/* & */,' >>conftest.defines
22377 # Break up conftest.defines:
22378 ac_max_sed_lines
=50
22380 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22381 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22382 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22384 ac_in
='$ac_file_inputs'
22385 ac_out
='"$tmp/out1"'
22386 ac_nxt
='"$tmp/out2"'
22390 # Write a here document:
22391 cat >>$CONFIG_STATUS <<_ACEOF
22392 # First, check the format of the line:
22393 cat >"\$tmp/defines.sed" <<\\CEOF
22394 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22395 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22399 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22401 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22402 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22403 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22404 grep . conftest.
tail >/dev
/null ||
break
22405 rm -f conftest.defines
22406 mv conftest.
tail conftest.defines
22408 rm -f conftest.defines conftest.
tail
22410 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22411 cat >>$CONFIG_STATUS <<\_ACEOF
22412 if test x
"$ac_file" != x-
; then
22413 echo "/* $configure_input */" >"$tmp/config.h"
22414 cat "$ac_result" >>"$tmp/config.h"
22415 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22416 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22417 echo "$as_me: $ac_file is unchanged" >&6;}
22420 mv "$tmp/config.h" $ac_file
22423 echo "/* $configure_input */"
22427 # Compute $ac_file's index in $config_headers.
22430 for _am_header
in $config_headers :; do
22431 case $_am_header in
22432 $_am_arg |
$_am_arg:* )
22435 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22438 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22439 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22440 X"$_am_arg" : 'X\(//\)[^/]' \| \
22441 X"$_am_arg" : 'X\(//\)$' \| \
22442 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22448 /^X\(\/\/\)[^/].*/{
22460 s/.*/./; q'`/stamp-h
$_am_stamp_count
22463 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22464 echo "$as_me: executing $ac_file commands" >&6;}
22469 case $ac_file$ac_mode in
22470 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22471 # Strip MF so we end up with the name of the file.
22472 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22473 # Check whether this is an Automake generated Makefile or not.
22474 # We used to match only the files named `Makefile.in', but
22475 # some people rename them; so instead we look at the file content.
22476 # Grep'ing the first line is not enough: some people post-process
22477 # each Makefile.in and add a new line on top of each file to say so.
22478 # Grep'ing the whole file is not good either: AIX grep has a line
22479 # limit of 2048, but all sed's we know have understand at least 4000.
22480 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22481 dirpart
=`$as_dirname -- "$mf" ||
22482 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22483 X"$mf" : 'X\(//\)[^/]' \| \
22484 X"$mf" : 'X\(//\)$' \| \
22485 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22491 /^X\(\/\/\)[^/].*/{
22507 # Extract the definition of DEPDIR, am__include, and am__quote
22508 # from the Makefile without running `make'.
22509 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22510 test -z "$DEPDIR" && continue
22511 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22512 test -z "am__include" && continue
22513 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22514 # When using ansi2knr, U may be empty or an underscore; expand it
22515 U
=`sed -n 's/^U = //p' < "$mf"`
22516 # Find all dependency output files, they are included files with
22517 # $(DEPDIR) in their names. We invoke sed twice because it is the
22518 # simplest approach to changing $(DEPDIR) to its actual value in the
22520 for file in `sed -n "
22521 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22522 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22523 # Make sure the directory exists.
22524 test -f "$dirpart/$file" && continue
22525 fdir
=`$as_dirname -- "$file" ||
22526 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22527 X"$file" : 'X\(//\)[^/]' \| \
22528 X"$file" : 'X\(//\)$' \| \
22529 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22535 /^X\(\/\/\)[^/].*/{
22548 { as_dir
=$dirpart/$fdir
22550 -*) as_dir
=.
/$as_dir;;
22552 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22556 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22557 *) as_qdir
=$as_dir;;
22559 as_dirs
="'$as_qdir' $as_dirs"
22560 as_dir
=`$as_dirname -- "$as_dir" ||
22561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22562 X"$as_dir" : 'X\(//\)[^/]' \| \
22563 X"$as_dir" : 'X\(//\)$' \| \
22564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22570 /^X\(\/\/\)[^/].*/{
22583 test -d "$as_dir" && break
22585 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22586 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22587 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22588 { (exit 1); exit 1; }; }; }
22589 # echo "creating $dirpart/$file"
22590 echo '# dummy' > "$dirpart/$file"
22599 { (exit 0); exit 0; }
22601 chmod +x
$CONFIG_STATUS
22602 ac_clean_files
=$ac_clean_files_save
22605 # configure is writing to config.log, and then calls config.status.
22606 # config.status does its own redirection, appending to config.log.
22607 # Unfortunately, on DOS this fails, as config.log is still kept open
22608 # by configure, so config.status won't be able to write to it; its
22609 # output is simply discarded. So we exec the FD to /dev/null,
22610 # effectively closing config.log, so it can be properly (re)opened and
22611 # appended to by config.status. When coming back to configure, we
22612 # need to make the FD available again.
22613 if test "$no_create" != yes; then
22615 ac_config_status_args
=
22616 test "$silent" = yes &&
22617 ac_config_status_args
="$ac_config_status_args --quiet"
22619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22622 # would make configure fail if this is the last instruction.
22623 $ac_cs_success ||
{ (exit 1); exit 1; }