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 $as_executable_p "$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 recognise dependent libraries" >&5
4169 echo $ECHO_N "checking how to recognise 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 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4212 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4215 darwin
* | rhapsody
*)
4216 lt_cv_deplibs_check_method
=pass_all
4219 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4220 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4223 # Not sure whether the presence of OpenBSD here was a mistake.
4224 # Let's accept both of them until this is cleared up.
4225 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4226 lt_cv_file_magic_cmd
=/usr
/bin
/file
4227 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4231 lt_cv_deplibs_check_method
=pass_all
4236 lt_cv_deplibs_check_method
=pass_all
4239 hpux10.20
* | hpux11
*)
4240 lt_cv_file_magic_cmd
=/usr
/bin
/file
4243 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4244 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4247 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]'
4248 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4251 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4252 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4258 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4259 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4262 irix5
* | irix6
* | nonstopux
*)
4264 *-32|
*"-32 ") libmagic
=32-bit;;
4265 *-n32|
*"-n32 ") libmagic
=N32
;;
4266 *-64|
*"-64 ") libmagic
=64-bit;;
4267 *) libmagic
=never-match
;;
4269 lt_cv_deplibs_check_method
=pass_all
4272 # This must be Linux ELF.
4274 lt_cv_deplibs_check_method
=pass_all
4278 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4279 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4281 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4286 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4287 lt_cv_file_magic_cmd
=/usr
/bin
/file
4288 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4292 lt_cv_deplibs_check_method
=unknown
4296 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4297 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4299 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4303 osf3
* | osf4
* | osf5
*)
4304 lt_cv_deplibs_check_method
=pass_all
4308 lt_cv_deplibs_check_method
=pass_all
4312 case $host_vendor in
4314 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]'
4315 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4318 lt_cv_deplibs_check_method
=pass_all
4321 lt_cv_file_magic_cmd
='/bin/file'
4322 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4325 lt_cv_file_magic_cmd
='/bin/file'
4326 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4327 lt_cv_file_magic_test_file
=/lib
/libc.so
4330 lt_cv_deplibs_check_method
=pass_all
4333 lt_cv_deplibs_check_method
=pass_all
4338 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4339 lt_cv_deplibs_check_method
=pass_all
4344 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4345 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4346 file_magic_cmd
=$lt_cv_file_magic_cmd
4347 deplibs_check_method
=$lt_cv_deplibs_check_method
4348 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4353 # If no C compiler was specified, use CC.
4356 # If no C compiler flags were specified, use CFLAGS.
4357 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4359 # Allow CC to be a program name with arguments.
4363 # Check whether --enable-libtool-lock was given.
4364 if test "${enable_libtool_lock+set}" = set; then
4365 enableval
=$enable_libtool_lock;
4368 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4370 # Some flags need to be propagated to the compiler or linker for good
4374 # Find out which ABI we are using.
4375 echo 'int i;' > conftest.
$ac_ext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; then
4381 case `/usr/bin/file conftest.$ac_objext` in
4393 # Find out which ABI we are using.
4394 echo '#line 4394 "configure"' > conftest.
$ac_ext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; then
4400 if test "$lt_cv_prog_gnu_ld" = yes; then
4401 case `/usr/bin/file conftest.$ac_objext` in
4403 LD
="${LD-ld} -melf32bsmip"
4406 LD
="${LD-ld} -melf32bmipn32"
4409 LD
="${LD-ld} -melf64bmip"
4413 case `/usr/bin/file conftest.$ac_objext` in
4429 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4430 # Find out which ABI we are using.
4431 echo 'int i;' > conftest.
$ac_ext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; then
4437 case `/usr/bin/file conftest.o` in
4441 LD
="${LD-ld} -m elf_i386"
4443 ppc64-
*linux
*|powerpc64-
*linux
*)
4444 LD
="${LD-ld} -m elf32ppclinux"
4447 LD
="${LD-ld} -m elf_s390"
4450 LD
="${LD-ld} -m elf32_sparc"
4457 LD
="${LD-ld} -m elf_x86_64"
4459 ppc
*-*linux
*|powerpc
*-*linux
*)
4460 LD
="${LD-ld} -m elf64ppc"
4463 LD
="${LD-ld} -m elf64_s390"
4466 LD
="${LD-ld} -m elf64_sparc"
4476 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4477 SAVE_CFLAGS
="$CFLAGS"
4478 CFLAGS
="$CFLAGS -belf"
4479 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4480 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4481 if test "${lt_cv_cc_needs_belf+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 ac_cpp
='$CPP $CPPFLAGS'
4486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4490 cat >conftest.
$ac_ext <<_ACEOF
4493 cat confdefs.h
>>conftest.
$ac_ext
4494 cat >>conftest.
$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4505 rm -f conftest.
$ac_objext conftest
$ac_exeext
4506 if { (ac_try
="$ac_link"
4508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4512 (eval "$ac_link") 2>conftest.er1
4514 grep -v '^ *+' conftest.er1 >conftest.err
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } && {
4519 test -z "$ac_c_werror_flag" ||
4520 test ! -s conftest.err
4521 } && test -s conftest$ac_exeext &&
4522 $as_test_x conftest$ac_exeext; then
4523 lt_cv_cc_needs_belf=yes
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4528 lt_cv_cc_needs_belf=no
4531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4532 conftest$ac_exeext conftest.$ac_ext
4534 ac_cpp='$CPP $CPPFLAGS'
4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4541 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4542 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4543 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4544 CFLAGS="$SAVE_CFLAGS"
4548 # Find out which ABI we are using.
4549 echo 'int i;' > conftest.$ac_ext
4550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4551 (eval $ac_compile) 2>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; then
4555 case `/usr
/bin
/file conftest.o
` in
4557 case $lt_cv_prog_gnu_ld in
4558 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4559 *) LD="${LD-ld} -64" ;;
4570 need_locks="$enable_libtool_lock"
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4579 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4580 # On Suns, sometimes $CPP names a directory.
4581 if test -n "$CPP" && test -d "$CPP"; then
4584 if test -z "$CPP"; then
4585 if test "${ac_cv_prog_CPP+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 # Double quotes because CPP needs to be expanded
4589 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4592 for ac_c_preproc_warn_flag in '' yes
4594 # Use a header file that comes with gcc, so configuring glibc
4595 # with a fresh cross-compiler works.
4596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4597 # <limits.h> exists even on freestanding compilers.
4598 # On the NeXT, cc -E runs the code through the compiler's parser,
4599 # not just through cpp. "Syntax error" is here to catch this case.
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4607 # include <limits.h>
4609 # include <assert.h>
4613 if { (ac_try="$ac_cpp conftest.$ac_ext"
4615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4616 *) ac_try_echo
=$ac_try;;
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4621 grep -v '^ *+' conftest.er1
>conftest.err
4623 cat conftest.err
>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } >/dev
/null
&& {
4626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4627 test ! -s conftest.err
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.
$ac_ext >&5
4634 # Broken: fails on valid input.
4638 rm -f conftest.err conftest.
$ac_ext
4640 # OK, works on sane cases. Now check whether nonexistent headers
4641 # can be detected and how.
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4650 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } >/dev/null && {
4663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4664 test ! -s conftest.err
4666 # Broken: success on invalid input.
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.$ac_ext >&5
4672 # Passes both tests.
4677 rm -f conftest.err conftest.$ac_ext
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.
$ac_ext
4682 if $ac_preproc_ok; then
4694 { echo "$as_me:$LINENO: result: $CPP" >&5
4695 echo "${ECHO_T}$CPP" >&6; }
4697 for ac_c_preproc_warn_flag
in '' yes
4699 # Use a header file that comes with gcc, so configuring glibc
4700 # with a fresh cross-compiler works.
4701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702 # <limits.h> exists even on freestanding compilers.
4703 # On the NeXT, cc -E runs the code through the compiler's parser,
4704 # not just through cpp. "Syntax error" is here to catch this case.
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4712 # include <limits.h>
4714 # include <assert.h>
4718 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4726 grep -v '^ *+' conftest.er1 >conftest.err
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } >/dev/null && {
4731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4732 test ! -s conftest.err
4736 echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4739 # Broken: fails on valid input.
4743 rm -f conftest.err conftest.$ac_ext
4745 # OK, works on sane cases. Now check whether nonexistent headers
4746 # can be detected and how.
4747 cat >conftest.$ac_ext <<_ACEOF
4750 cat confdefs.h >>conftest.$ac_ext
4751 cat >>conftest.$ac_ext <<_ACEOF
4752 /* end confdefs.h. */
4753 #include <ac_nonexistent.h>
4755 if { (ac_try="$ac_cpp conftest.$ac_ext"
4757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4758 *) ac_try_echo
=$ac_try;;
4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev
/null
&& {
4768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4769 test ! -s conftest.err
4771 # Broken: success on invalid input.
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4777 # Passes both tests.
4782 rm -f conftest.err conftest.
$ac_ext
4785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4786 rm -f conftest.err conftest.
$ac_ext
4787 if $ac_preproc_ok; then
4790 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4791 See \`config.log' for more details." >&5
4792 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4793 See \`config.log' for more details." >&2;}
4794 { (exit 1); exit 1; }; }
4798 ac_cpp
='$CPP $CPPFLAGS'
4799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4804 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4805 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4806 if test "${ac_cv_header_stdc+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4828 rm -f conftest.
$ac_objext
4829 if { (ac_try
="$ac_compile"
4831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_compile") 2>conftest.er1
4837 grep -v '^ *+' conftest.er1 >conftest.err
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } && {
4842 test -z "$ac_c_werror_flag" ||
4843 test ! -s conftest.err
4844 } && test -s conftest.$ac_objext; then
4845 ac_cv_header_stdc=yes
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.$ac_ext >&5
4850 ac_cv_header_stdc=no
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 if test $ac_cv_header_stdc = yes; then
4856 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4857 cat >conftest.$ac_ext <<_ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4867 $EGREP "memchr" >/dev/null 2>&1; then
4870 ac_cv_header_stdc=no
4876 if test $ac_cv_header_stdc = yes; then
4877 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4878 cat >conftest.$ac_ext <<_ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4888 $EGREP "free" >/dev/null 2>&1; then
4891 ac_cv_header_stdc=no
4897 if test $ac_cv_header_stdc = yes; then
4898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4899 if test "$cross_compiling" = yes; then
4902 cat >conftest.$ac_ext <<_ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4910 #if ((' ' & 0x0FF) == 0x020)
4911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4914 # define ISLOWER(c) \
4915 (('a' <= (c) && (c) <= 'i') \
4916 || ('j' <= (c) && (c) <= 'r') \
4917 || ('s' <= (c) && (c) <= 'z'))
4918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4926 for (i = 0; i < 256; i++)
4927 if (XOR (islower (i), ISLOWER (i))
4928 || toupper (i) != TOUPPER (i))
4933 rm -f conftest$ac_exeext
4934 if { (ac_try="$ac_link"
4936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4937 *) ac_try_echo
=$ac_try;;
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_link") 2>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4944 { (case "(($ac_try" in
4945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4946 *) ac_try_echo=$ac_try;;
4948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4949 (eval "$ac_try") 2>&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4955 echo "$as_me: program exited with status $ac_status" >&5
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4960 ac_cv_header_stdc=no
4962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4968 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4969 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4970 if test $ac_cv_header_stdc = yes; then
4972 cat >>confdefs.h <<\_ACEOF
4973 #define STDC_HEADERS 1
4978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4989 inttypes.h stdint.h unistd.h
4991 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 cat >conftest.$ac_ext <<_ACEOF
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5003 $ac_includes_default
5005 #include <$ac_header>
5007 rm -f conftest.$ac_objext
5008 if { (ac_try="$ac_compile"
5010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5011 *) ac_try_echo
=$ac_try;;
5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014 (eval "$ac_compile") 2>conftest.er1
5016 grep -v '^ *+' conftest.er1
>conftest.err
5018 cat conftest.err
>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } && {
5021 test -z "$ac_c_werror_flag" ||
5022 test ! -s conftest.err
5023 } && test -s conftest.
$ac_objext; then
5024 eval "$as_ac_Header=yes"
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.
$ac_ext >&5
5029 eval "$as_ac_Header=no"
5032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5034 ac_res
=`eval echo '${'$as_ac_Header'}'`
5035 { echo "$as_me:$LINENO: result: $ac_res" >&5
5036 echo "${ECHO_T}$ac_res" >&6; }
5037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5038 cat >>confdefs.h
<<_ACEOF
5039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5048 for ac_header
in dlfcn.h
5050 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5051 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5054 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 ac_res
=`eval echo '${'$as_ac_Header'}'`
5058 { echo "$as_me:$LINENO: result: $ac_res" >&5
5059 echo "${ECHO_T}$ac_res" >&6; }
5061 # Is the header compilable?
5062 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5064 cat >conftest.
$ac_ext <<_ACEOF
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 $ac_includes_default
5071 #include <$ac_header>
5073 rm -f conftest.
$ac_objext
5074 if { (ac_try
="$ac_compile"
5076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5077 *) ac_try_echo=$ac_try;;
5079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5080 (eval "$ac_compile") 2>conftest.er1
5082 grep -v '^ *+' conftest.er1 >conftest.err
5084 cat conftest.err >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } && {
5087 test -z "$ac_c_werror_flag" ||
5088 test ! -s conftest.err
5089 } && test -s conftest.$ac_objext; then
5090 ac_header_compiler=yes
5092 echo "$as_me: failed program was:" >&5
5093 sed 's/^/| /' conftest.$ac_ext >&5
5095 ac_header_compiler=no
5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5099 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5100 echo "${ECHO_T}$ac_header_compiler" >&6; }
5102 # Is the header present?
5103 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5105 cat >conftest.$ac_ext <<_ACEOF
5108 cat confdefs.h >>conftest.$ac_ext
5109 cat >>conftest.$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5111 #include <$ac_header>
5113 if { (ac_try="$ac_cpp conftest.$ac_ext"
5115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5116 *) ac_try_echo
=$ac_try;;
5118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5121 grep -v '^ *+' conftest.er1
>conftest.err
5123 cat conftest.err
>&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev
/null
&& {
5126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5127 test ! -s conftest.err
5129 ac_header_preproc
=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5134 ac_header_preproc
=no
5137 rm -f conftest.err conftest.
$ac_ext
5138 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5139 echo "${ECHO_T}$ac_header_preproc" >&6; }
5141 # So? What about this header?
5142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5148 ac_header_preproc
=yes
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5164 ## -------------------------------------------------- ##
5165 ## Report this to courier-users@lists.sourceforge.net ##
5166 ## -------------------------------------------------- ##
5168 ) |
sed "s/^/$as_me: WARNING: /" >&2
5171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5173 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 eval "$as_ac_Header=\$ac_header_preproc"
5178 ac_res
=`eval echo '${'$as_ac_Header'}'`
5179 { echo "$as_me:$LINENO: result: $ac_res" >&5
5180 echo "${ECHO_T}$ac_res" >&6; }
5183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5184 cat >>confdefs.h
<<_ACEOF
5185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5193 ac_cpp
='$CXXCPP $CPPFLAGS'
5194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5197 if test -z "$CXX"; then
5198 if test -n "$CCC"; then
5201 if test -n "$ac_tool_prefix"; then
5202 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5208 if test "${ac_cv_prog_CXX+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 if test -n "$CXX"; then
5212 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 if test -n "$CXX"; then
5233 { echo "$as_me:$LINENO: result: $CXX" >&5
5234 echo "${ECHO_T}$CXX" >&6; }
5236 { echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6; }
5241 test -n "$CXX" && break
5244 if test -z "$CXX"; then
5246 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5248 # Extract the first word of "$ac_prog", so it can be a program name with args.
5249 set dummy
$ac_prog; ac_word
=$2
5250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 if test -n "$ac_ct_CXX"; then
5256 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir
=.
5263 for ac_exec_ext
in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5276 if test -n "$ac_ct_CXX"; then
5277 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5278 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5280 { echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6; }
5285 test -n "$ac_ct_CXX" && break
5288 if test "x$ac_ct_CXX" = x
; then
5291 case $cross_compiling:$ac_tool_warned in
5293 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5294 whose name does not start with the host triplet. If you think this
5295 configuration is useful to you, please write to autoconf@gnu.org." >&5
5296 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5297 whose name does not start with the host triplet. If you think this
5298 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5299 ac_tool_warned
=yes ;;
5307 # Provide some information about the compiler.
5308 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5309 ac_compiler
=`set X $ac_compile; echo $2`
5310 { (ac_try
="$ac_compiler --version >&5"
5312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316 (eval "$ac_compiler --version >&5") 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }
5320 { (ac_try="$ac_compiler -v >&5"
5322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5323 *) ac_try_echo
=$ac_try;;
5325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5326 (eval "$ac_compiler -v >&5") 2>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }
5330 { (ac_try
="$ac_compiler -V >&5"
5332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336 (eval "$ac_compiler -V >&5") 2>&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }
5341 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5342 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5343 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 cat >conftest.$ac_ext <<_ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5364 rm -f conftest.$ac_objext
5365 if { (ac_try="$ac_compile"
5367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5368 *) ac_try_echo
=$ac_try;;
5370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5371 (eval "$ac_compile") 2>conftest.er1
5373 grep -v '^ *+' conftest.er1
>conftest.err
5375 cat conftest.err
>&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); } && {
5378 test -z "$ac_cxx_werror_flag" ||
5379 test ! -s conftest.err
5380 } && test -s conftest.
$ac_objext; then
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.
$ac_ext >&5
5389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5390 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5393 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5394 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5395 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5396 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5397 ac_save_CXXFLAGS
=$CXXFLAGS
5398 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5399 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5400 if test "${ac_cv_prog_cxx_g+set}" = set; then
5401 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5404 ac_cxx_werror_flag
=yes
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5422 rm -f conftest.
$ac_objext
5423 if { (ac_try
="$ac_compile"
5425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5426 *) ac_try_echo=$ac_try;;
5428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5429 (eval "$ac_compile") 2>conftest.er1
5431 grep -v '^ *+' conftest.er1 >conftest.err
5433 cat conftest.err >&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); } && {
5436 test -z "$ac_cxx_werror_flag" ||
5437 test ! -s conftest.err
5438 } && test -s conftest.$ac_objext; then
5439 ac_cv_prog_cxx_g=yes
5441 echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5445 cat >conftest.$ac_ext <<_ACEOF
5448 cat confdefs.h >>conftest.$ac_ext
5449 cat >>conftest.$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5460 rm -f conftest.$ac_objext
5461 if { (ac_try="$ac_compile"
5463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5464 *) ac_try_echo
=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1
>conftest.err
5471 cat conftest.err
>&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_cxx_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest.
$ac_objext; then
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.
$ac_ext >&5
5482 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5484 cat >conftest.
$ac_ext <<_ACEOF
5487 cat confdefs.h
>>conftest.
$ac_ext
5488 cat >>conftest.
$ac_ext <<_ACEOF
5489 /* end confdefs.h. */
5499 rm -f conftest.
$ac_objext
5500 if { (ac_try
="$ac_compile"
5502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5503 *) ac_try_echo=$ac_try;;
5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5506 (eval "$ac_compile") 2>conftest.er1
5508 grep -v '^ *+' conftest.er1 >conftest.err
5510 cat conftest.err >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } && {
5513 test -z "$ac_cxx_werror_flag" ||
5514 test ! -s conftest.err
5515 } && test -s conftest.$ac_objext; then
5516 ac_cv_prog_cxx_g=yes
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5531 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5534 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5535 if test "$ac_test_CXXFLAGS" = set; then
5536 CXXFLAGS=$ac_save_CXXFLAGS
5537 elif test $ac_cv_prog_cxx_g = yes; then
5538 if test "$GXX" = yes; then
5544 if test "$GXX" = yes; then
5551 ac_cpp='$CXXCPP $CPPFLAGS'
5552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5556 depcc="$CXX" am_compiler_list=
5558 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5559 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5560 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5561 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5564 # We make a subdir and do the tests there. Otherwise we can end up
5565 # making bogus files that we don't know about and never remove. For
5566 # instance it was reported that on HP-UX the gcc test will end up
5567 # making a dummy file named `D
' -- because `-MD' means
`put the output
5570 # Copy depcomp to subdir because otherwise we won't find it if we're
5571 # using a relative directory.
5572 cp "$am_depcomp" conftest.dir
5574 # We will build objects and dependencies in a subdirectory because
5575 # it helps to detect inapplicable dependency modes. For instance
5576 # both Tru64's cc and ICC support -MD to output dependencies as a
5577 # side effect of compilation, but ICC will put the dependencies in
5578 # the current directory while Tru64 will put them in the object
5582 am_cv_CXX_dependencies_compiler_type=none
5583 if test "$am_compiler_list" = ""; then
5584 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5586 for depmode in $am_compiler_list; do
5587 # Setup a source with many dependencies, because some compilers
5588 # like to wrap large dependency lists on column 80 (with \), and
5589 # we should not choose a depcomp mode which is confused by this.
5591 # We need to recreate these files for each test, as the compiler may
5592 # overwrite some of them when testing with obscure command lines.
5593 # This happens at least with the AIX C compiler.
5595 for i in 1 2 3 4 5 6; do
5596 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5597 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5598 # Solaris 8's
{/usr
,}/bin
/sh.
5599 touch sub
/conftst
$i.h
5601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5605 # after this tag, mechanisms are not by side-effect, so they'll
5606 # only be used when explicitly requested
5607 if test "x$enable_dependency_tracking" = xyes
; then
5615 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5616 # mode. It turns out that the SunPro C++ compiler does not properly
5617 # handle `-M -o', and we need to detect this.
5618 if depmode
=$depmode \
5619 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5620 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5621 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5622 >/dev
/null
2>conftest.err
&&
5623 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5624 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5625 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5626 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5627 # icc doesn't choke on unknown options, it will just issue warnings
5628 # or remarks (even with -Werror). So we grep stderr for any message
5629 # that says an option was ignored or not supported.
5630 # When given -MP, icc 7.0 and 7.1 complain thusly:
5631 # icc: Command line warning: ignoring option '-M'; no argument required
5632 # The diagnosis changed in icc 8.0:
5633 # icc: Command line remark: option '-MP' not supported
5634 if (grep 'ignoring option' conftest.err ||
5635 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5636 am_cv_CXX_dependencies_compiler_type
=$depmode
5645 am_cv_CXX_dependencies_compiler_type
=none
5649 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5650 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5651 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5654 test "x$enable_dependency_tracking" != xno \
5655 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5656 am__fastdepCXX_TRUE
=
5657 am__fastdepCXX_FALSE
='#'
5659 am__fastdepCXX_TRUE
='#'
5660 am__fastdepCXX_FALSE
=
5666 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5667 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5668 (test "X$CXX" != "Xg++"))) ; then
5670 ac_cpp
='$CXXCPP $CPPFLAGS'
5671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5674 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5675 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5676 if test -z "$CXXCPP"; then
5677 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 # Double quotes because CXXCPP needs to be expanded
5681 for CXXCPP
in "$CXX -E" "/lib/cpp"
5684 for ac_cxx_preproc_warn_flag
in '' yes
5686 # Use a header file that comes with gcc, so configuring glibc
5687 # with a fresh cross-compiler works.
5688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5689 # <limits.h> exists even on freestanding compilers.
5690 # On the NeXT, cc -E runs the code through the compiler's parser,
5691 # not just through cpp. "Syntax error" is here to catch this case.
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5699 # include <limits.h>
5701 # include <assert.h>
5705 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5708 *) ac_try_echo=$ac_try;;
5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5713 grep -v '^ *+' conftest.er1 >conftest.err
5715 cat conftest.err >&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } >/dev/null && {
5718 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5719 test ! -s conftest.err
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.$ac_ext >&5
5726 # Broken: fails on valid input.
5730 rm -f conftest.err conftest.$ac_ext
5732 # OK, works on sane cases. Now check whether nonexistent headers
5733 # can be detected and how.
5734 cat >conftest.$ac_ext <<_ACEOF
5737 cat confdefs.h >>conftest.$ac_ext
5738 cat >>conftest.$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 #include <ac_nonexistent.h>
5742 if { (ac_try="$ac_cpp conftest.$ac_ext"
5744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5745 *) ac_try_echo
=$ac_try;;
5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5750 grep -v '^ *+' conftest.er1
>conftest.err
5752 cat conftest.err
>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); } >/dev
/null
&& {
5755 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5756 test ! -s conftest.err
5758 # Broken: success on invalid input.
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5764 # Passes both tests.
5769 rm -f conftest.err conftest.
$ac_ext
5772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5773 rm -f conftest.err conftest.
$ac_ext
5774 if $ac_preproc_ok; then
5779 ac_cv_prog_CXXCPP
=$CXXCPP
5782 CXXCPP
=$ac_cv_prog_CXXCPP
5784 ac_cv_prog_CXXCPP
=$CXXCPP
5786 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5787 echo "${ECHO_T}$CXXCPP" >&6; }
5789 for ac_cxx_preproc_warn_flag
in '' yes
5791 # Use a header file that comes with gcc, so configuring glibc
5792 # with a fresh cross-compiler works.
5793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5794 # <limits.h> exists even on freestanding compilers.
5795 # On the NeXT, cc -E runs the code through the compiler's parser,
5796 # not just through cpp. "Syntax error" is here to catch this case.
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5804 # include <limits.h>
5806 # include <assert.h>
5810 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5813 *) ac_try_echo=$ac_try;;
5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5818 grep -v '^ *+' conftest.er1 >conftest.err
5820 cat conftest.err >&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } >/dev/null && {
5823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5824 test ! -s conftest.err
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5831 # Broken: fails on valid input.
5835 rm -f conftest.err conftest.$ac_ext
5837 # OK, works on sane cases. Now check whether nonexistent headers
5838 # can be detected and how.
5839 cat >conftest.$ac_ext <<_ACEOF
5842 cat confdefs.h >>conftest.$ac_ext
5843 cat >>conftest.$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 #include <ac_nonexistent.h>
5847 if { (ac_try="$ac_cpp conftest.$ac_ext"
5849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5850 *) ac_try_echo
=$ac_try;;
5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } >/dev
/null
&& {
5860 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5861 test ! -s conftest.err
5863 # Broken: success on invalid input.
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.
$ac_ext >&5
5869 # Passes both tests.
5874 rm -f conftest.err conftest.
$ac_ext
5877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5878 rm -f conftest.err conftest.
$ac_ext
5879 if $ac_preproc_ok; then
5882 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5883 See \`config.log' for more details." >&5
5884 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5885 See \`config.log' for more details." >&2;}
5886 { (exit 1); exit 1; }; }
5890 ac_cpp
='$CXXCPP $CPPFLAGS'
5891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5899 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5900 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5901 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5902 if test -n "$ac_tool_prefix"; then
5903 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
5905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5906 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5909 if test "${ac_cv_prog_F77+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 if test -n "$F77"; then
5913 ac_cv_prog_F77
="$F77" # Let the user override the test.
5915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir
=.
5920 for ac_exec_ext
in '' $ac_executable_extensions; do
5921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5922 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 if test -n "$F77"; then
5934 { echo "$as_me:$LINENO: result: $F77" >&5
5935 echo "${ECHO_T}$F77" >&6; }
5937 { echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6; }
5942 test -n "$F77" && break
5945 if test -z "$F77"; then
5947 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
5949 # Extract the first word of "$ac_prog", so it can be a program name with args.
5950 set dummy
$ac_prog; ac_word
=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$ac_ct_F77"; then
5957 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_ac_ct_F77
="$ac_prog"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5977 if test -n "$ac_ct_F77"; then
5978 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5979 echo "${ECHO_T}$ac_ct_F77" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5986 test -n "$ac_ct_F77" && break
5989 if test "x$ac_ct_F77" = x
; then
5992 case $cross_compiling:$ac_tool_warned in
5994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5995 whose name does not start with the host triplet. If you think this
5996 configuration is useful to you, please write to autoconf@gnu.org." >&5
5997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5998 whose name does not start with the host triplet. If you think this
5999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6000 ac_tool_warned
=yes ;;
6007 # Provide some information about the compiler.
6008 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6009 ac_compiler
=`set X $ac_compile; echo $2`
6010 { (ac_try
="$ac_compiler --version >&5"
6012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6013 *) ac_try_echo=$ac_try;;
6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016 (eval "$ac_compiler --version >&5") 2>&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }
6020 { (ac_try="$ac_compiler -v >&5"
6022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6023 *) ac_try_echo
=$ac_try;;
6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026 (eval "$ac_compiler -v >&5") 2>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }
6030 { (ac_try
="$ac_compiler -V >&5"
6032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6033 *) ac_try_echo=$ac_try;;
6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6036 (eval "$ac_compiler -V >&5") 2>&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }
6042 # If we don't use `.F
' as extension, the preprocessor is not run on the
6043 # input file. (Note that this only needs to work for GNU compilers.)
6046 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6047 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6048 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 cat >conftest.$ac_ext <<_ACEOF
6059 rm -f conftest.$ac_objext
6060 if { (ac_try="$ac_compile"
6062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063 *) ac_try_echo=$ac_try;;
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066 (eval "$ac_compile") 2>conftest.er1
6068 grep -v '^
*+' conftest.er1 >conftest.err
6070 cat conftest.err >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); } && {
6073 test -z "$ac_f77_werror_flag" ||
6074 test ! -s conftest.err
6075 } && test -s conftest.$ac_objext; then
6078 echo "$as_me: failed program was:" >&5
6079 sed 's
/^
/|
/' conftest.$ac_ext >&5
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6088 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6089 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6091 ac_test_FFLAGS=${FFLAGS+set}
6092 ac_save_FFLAGS=$FFLAGS
6094 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6095 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6096 if test "${ac_cv_prog_f77_g+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 cat >conftest.$ac_ext <<_ACEOF
6105 rm -f conftest.$ac_objext
6106 if { (ac_try="$ac_compile"
6108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6109 *) ac_try_echo=$ac_try;;
6111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6112 (eval "$ac_compile") 2>conftest.er1
6114 grep -v '^
*+' conftest.er1 >conftest.err
6116 cat conftest.err >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); } && {
6119 test -z "$ac_f77_werror_flag" ||
6120 test ! -s conftest.err
6121 } && test -s conftest.$ac_objext; then
6122 ac_cv_prog_f77_g=yes
6124 echo "$as_me: failed program was:" >&5
6125 sed 's
/^
/|
/' conftest.$ac_ext >&5
6130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6133 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6134 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6135 if test "$ac_test_FFLAGS" = set; then
6136 FFLAGS=$ac_save_FFLAGS
6137 elif test $ac_cv_prog_f77_g = yes; then
6138 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6144 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6151 G77=`test $ac_compiler_gnu = yes && echo yes`
6153 ac_cpp='$CPP $CPPFLAGS'
6154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6155 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6162 # find the maximum length of command line arguments
6163 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6164 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6165 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 # On DJGPP, this test can blow up pretty badly due to problems in libc
6174 # (any single argument exceeding 2000 bytes causes a buffer overrun
6175 # during glob expansion). Even if it were fixed, the result of this
6176 # check would be larger than it should be.
6177 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6181 # Under GNU Hurd, this test is not required because there is
6182 # no limit to the length of command line arguments.
6183 # Libtool will interpret -1 as no limit whatsoever
6184 lt_cv_sys_max_cmd_len
=-1;
6188 # On Win9x/ME, this test blows up -- it succeeds, but takes
6189 # about 5 minutes as the teststring grows exponentially.
6190 # Worse, since 9x/ME are not pre-emptively multitasking,
6191 # you end up with a "frozen" computer, even though with patience
6192 # the test eventually succeeds (with a max line length of 256k).
6193 # Instead, let's just punt: use the minimum linelength reported by
6194 # all of the supported platforms: 8192 (on NT/2K/XP).
6195 lt_cv_sys_max_cmd_len
=8192;
6199 # On AmigaOS with pdksh, this test takes hours, literally.
6200 # So we just punt and use a minimum line length of 8192.
6201 lt_cv_sys_max_cmd_len
=8192;
6204 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6205 # This has been around since 386BSD, at least. Likely further.
6206 if test -x /sbin
/sysctl
; then
6207 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6208 elif test -x /usr
/sbin
/sysctl
; then
6209 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6211 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6213 # And add a safety zone
6214 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6215 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6219 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6220 lt_cv_sys_max_cmd_len
=196608
6224 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6225 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6226 # nice to cause kernel panics so lets avoid the loop below.
6227 # First set a reasonable default.
6228 lt_cv_sys_max_cmd_len
=16384
6230 if test -x /sbin
/sysconfig
; then
6231 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6232 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6237 lt_cv_sys_max_cmd_len
=102400
6239 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6240 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6241 if test -n "$kargmax"; then
6242 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6244 lt_cv_sys_max_cmd_len
=32768
6248 # If test is not a shell built-in, we'll probably end up computing a
6249 # maximum length that is only half of the actual maximum length, but
6251 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6252 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6253 = "XX$teststring") >/dev
/null
2>&1 &&
6254 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6255 lt_cv_sys_max_cmd_len
=$new_result &&
6256 test $i != 17 # 1/2 MB should be enough
6259 teststring
=$teststring$teststring
6262 # Add a significant safety factor because C++ compilers can tack on massive
6263 # amounts of additional arguments before passing them to the linker.
6264 # It appears as though 1/2 is a usable value.
6265 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6271 if test -n $lt_cv_sys_max_cmd_len ; then
6272 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6273 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6275 { echo "$as_me:$LINENO: result: none" >&5
6276 echo "${ECHO_T}none" >&6; }
6282 # Check for command to grab the raw symbol name followed by C symbol from nm.
6283 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6284 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6285 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6289 # These are sane defaults that work on at least a few old systems.
6290 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6292 # Character class describing NM global symbol codes.
6293 symcode
='[BCDEGRST]'
6295 # Regexp to match symbols that can be accessed directly from C.
6296 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6298 # Transform an extracted symbol line into a proper C declaration
6299 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6301 # Transform an extracted symbol line into symbol name and symbol address
6302 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'"
6304 # Define system-specific variables.
6309 cygwin
* | mingw
* | pw32
*)
6310 symcode
='[ABCDGISTW]'
6312 hpux
*) # Its linker distinguishes data from code symbols
6313 if test "$host_cpu" = ia64
; then
6314 symcode
='[ABCDEGRST]'
6316 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6317 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'"
6320 if test "$host_cpu" = ia64
; then
6321 symcode
='[ABCDGIRSTW]'
6322 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6323 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'"
6327 symcode
='[BCDEGRST]'
6330 symcode
='[BCDEGQRST]'
6341 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6349 # Handle CRLF in mingw tool chain
6353 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6357 # If we're using GNU nm, then use its standard symbol codes.
6358 case `$NM -V 2>&1` in
6359 *GNU
* |
*'with BFD'*)
6360 symcode
='[ABCDGIRSTW]' ;;
6363 # Try without a prefix undercore, then with it.
6364 for ac_symprfx
in "" "_"; do
6366 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6367 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6369 # Write the raw and C identifiers.
6370 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6372 # Check to see that the pipe works correctly.
6376 cat > conftest.
$ac_ext <<EOF
6381 void nm_test_func(){}
6385 int main(){nm_test_var='a';nm_test_func();return(0);}
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389 (eval $ac_compile) 2>&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); }; then
6393 # Now try to grab the symbols.
6395 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6396 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); } && test -s "$nlist"; then
6400 # Try sorting and uniquifying the output.
6401 if sort "$nlist" |
uniq > "$nlist"T
; then
6402 mv -f "$nlist"T
"$nlist"
6407 # Make sure that we snagged all the symbols we need.
6408 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6409 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6410 cat <<EOF > conftest.$ac_ext
6416 # Now generate the symbol file.
6417 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6419 cat <<EOF >> conftest.$ac_ext
6420 #if defined (__STDC__) && __STDC__
6421 # define lt_ptr_t void *
6423 # define lt_ptr_t char *
6427 /* The mapping between symbol names and symbols. */
6432 lt_preloaded_symbols[] =
6435 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6436 cat <<\EOF
>> conftest.
$ac_ext
6444 # Now try linking the two files.
6445 mv conftest.
$ac_objext conftstm.
$ac_objext
6446 lt_save_LIBS
="$LIBS"
6447 lt_save_CFLAGS
="$CFLAGS"
6448 LIBS
="conftstm.$ac_objext"
6449 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6451 (eval $ac_link) 2>&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6457 LIBS
="$lt_save_LIBS"
6458 CFLAGS
="$lt_save_CFLAGS"
6460 echo "cannot find nm_test_func in $nlist" >&5
6463 echo "cannot find nm_test_var in $nlist" >&5
6466 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6469 echo "$progname: failed program was:" >&5
6470 cat conftest.
$ac_ext >&5
6472 rm -f conftest
* conftst
*
6474 # Do not use the global_symbol_pipe unless it works.
6475 if test "$pipe_works" = yes; then
6478 lt_cv_sys_global_symbol_pipe
=
6484 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6485 lt_cv_sys_global_symbol_to_cdecl
=
6487 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6488 { echo "$as_me:$LINENO: result: failed" >&5
6489 echo "${ECHO_T}failed" >&6; }
6491 { echo "$as_me:$LINENO: result: ok" >&5
6492 echo "${ECHO_T}ok" >&6; }
6495 { echo "$as_me:$LINENO: checking for objdir" >&5
6496 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6497 if test "${lt_cv_objdir+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 rm -f .libs
2>/dev
/null
6501 mkdir .libs
2>/dev
/null
6502 if test -d .libs
; then
6505 # MS-DOS does not allow filenames that begin with a dot.
6508 rmdir .libs
2>/dev
/null
6510 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6511 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6512 objdir
=$lt_cv_objdir
6520 # AIX sometimes has problems with the GCC collect2 program. For some
6521 # reason, if we set the COLLECT_NAMES environment variable, the problems
6522 # vanish in a puff of smoke.
6523 if test "X${COLLECT_NAMES+set}" != Xset
; then
6525 export COLLECT_NAMES
6530 # Sed substitution that helps us do robust quoting. It backslashifies
6531 # metacharacters that are still active within double-quoted strings.
6532 Xsed
='sed -e 1s/^X//'
6533 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6535 # Same as above, but do not quote variable references.
6536 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6538 # Sed substitution to delay expansion of an escaped shell variable in a
6539 # double_quote_subst'ed string.
6540 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6542 # Sed substitution to avoid accidental globbing in evaled expressions
6543 no_glob_subst
='s/\*/\\\*/g'
6549 default_ofile
=libtool
6550 can_build_shared
=yes
6552 # All known linkers require a `.a' archive for static linking (except MSVC,
6553 # which needs '.lib').
6555 ltmain
="$ac_aux_dir/ltmain.sh"
6556 ofile
="$default_ofile"
6557 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6559 if test -n "$ac_tool_prefix"; then
6560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6561 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6564 if test "${ac_cv_prog_AR+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 if test -n "$AR"; then
6568 ac_cv_prog_AR
="$AR" # Let the user override the test.
6570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6574 test -z "$as_dir" && as_dir
=.
6575 for ac_exec_ext
in '' $ac_executable_extensions; do
6576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 if test -n "$AR"; then
6589 { echo "$as_me:$LINENO: result: $AR" >&5
6590 echo "${ECHO_T}$AR" >&6; }
6592 { echo "$as_me:$LINENO: result: no" >&5
6593 echo "${ECHO_T}no" >&6; }
6598 if test -z "$ac_cv_prog_AR"; then
6600 # Extract the first word of "ar", so it can be a program name with args.
6601 set dummy
ar; ac_word
=$2
6602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 if test -n "$ac_ct_AR"; then
6608 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6614 test -z "$as_dir" && as_dir
=.
6615 for ac_exec_ext
in '' $ac_executable_extensions; do
6616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617 ac_cv_prog_ac_ct_AR
="ar"
6618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6628 if test -n "$ac_ct_AR"; then
6629 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6630 echo "${ECHO_T}$ac_ct_AR" >&6; }
6632 { echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6; }
6636 if test "x$ac_ct_AR" = x
; then
6639 case $cross_compiling:$ac_tool_warned in
6641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6642 whose name does not start with the host triplet. If you think this
6643 configuration is useful to you, please write to autoconf@gnu.org." >&5
6644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6645 whose name does not start with the host triplet. If you think this
6646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6647 ac_tool_warned
=yes ;;
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6657 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6660 if test "${ac_cv_prog_RANLIB+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 if test -n "$RANLIB"; then
6664 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir
=.
6671 for ac_exec_ext
in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 RANLIB
=$ac_cv_prog_RANLIB
6684 if test -n "$RANLIB"; then
6685 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6686 echo "${ECHO_T}$RANLIB" >&6; }
6688 { echo "$as_me:$LINENO: result: no" >&5
6689 echo "${ECHO_T}no" >&6; }
6694 if test -z "$ac_cv_prog_RANLIB"; then
6695 ac_ct_RANLIB
=$RANLIB
6696 # Extract the first word of "ranlib", so it can be a program name with args.
6697 set dummy ranlib
; ac_word
=$2
6698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6701 echo $ECHO_N "(cached) $ECHO_C" >&6
6703 if test -n "$ac_ct_RANLIB"; then
6704 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir
=.
6711 for ac_exec_ext
in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6724 if test -n "$ac_ct_RANLIB"; then
6725 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6726 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6728 { echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6; }
6732 if test "x$ac_ct_RANLIB" = x
; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6738 whose name does not start with the host triplet. If you think this
6739 configuration is useful to you, please write to autoconf@gnu.org." >&5
6740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6741 whose name does not start with the host triplet. If you think this
6742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6743 ac_tool_warned
=yes ;;
6745 RANLIB
=$ac_ct_RANLIB
6748 RANLIB
="$ac_cv_prog_RANLIB"
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6753 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756 if test "${ac_cv_prog_STRIP+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 if test -n "$STRIP"; then
6760 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir
=.
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 STRIP
=$ac_cv_prog_STRIP
6780 if test -n "$STRIP"; then
6781 { echo "$as_me:$LINENO: result: $STRIP" >&5
6782 echo "${ECHO_T}$STRIP" >&6; }
6784 { echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6; }
6790 if test -z "$ac_cv_prog_STRIP"; then
6792 # Extract the first word of "strip", so it can be a program name with args.
6793 set dummy strip
; ac_word
=$2
6794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6796 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 if test -n "$ac_ct_STRIP"; then
6800 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6806 test -z "$as_dir" && as_dir
=.
6807 for ac_exec_ext
in '' $ac_executable_extensions; do
6808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6809 ac_cv_prog_ac_ct_STRIP
="strip"
6810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6820 if test -n "$ac_ct_STRIP"; then
6821 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6822 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6824 { echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6; }
6828 if test "x$ac_ct_STRIP" = x
; then
6831 case $cross_compiling:$ac_tool_warned in
6833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6834 whose name does not start with the host triplet. If you think this
6835 configuration is useful to you, please write to autoconf@gnu.org." >&5
6836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6837 whose name does not start with the host triplet. If you think this
6838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6839 ac_tool_warned
=yes ;;
6844 STRIP
="$ac_cv_prog_STRIP"
6849 old_CFLAGS
="$CFLAGS"
6851 # Set sane defaults for various variables
6852 test -z "$AR" && AR
=ar
6853 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6854 test -z "$AS" && AS
=as
6855 test -z "$CC" && CC
=cc
6856 test -z "$LTCC" && LTCC
=$CC
6857 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6858 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6859 test -z "$LD" && LD
=ld
6860 test -z "$LN_S" && LN_S
="ln -s"
6861 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6862 test -z "$NM" && NM
=nm
6863 test -z "$SED" && SED
=sed
6864 test -z "$OBJDUMP" && OBJDUMP
=objdump
6865 test -z "$RANLIB" && RANLIB
=:
6866 test -z "$STRIP" && STRIP
=:
6867 test -z "$ac_objext" && ac_objext
=o
6869 # Determine commands to create old-style static archives.
6870 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6871 old_postinstall_cmds
='chmod 644 $oldlib'
6872 old_postuninstall_cmds
=
6874 if test -n "$RANLIB"; then
6877 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6880 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6883 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6886 for cc_temp
in $compiler""; do
6888 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6889 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6894 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6897 # Only perform the check for file, if the check method requires it
6898 case $deplibs_check_method in
6900 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6901 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6902 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6908 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6911 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6912 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6913 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6914 for ac_dir
in $ac_dummy; do
6916 test -z "$ac_dir" && ac_dir
=.
6917 if test -f $ac_dir/${ac_tool_prefix}file; then
6918 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6919 if test -n "$file_magic_test_file"; then
6920 case $deplibs_check_method in
6922 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6923 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6924 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6925 $EGREP "$file_magic_regex" > /dev
/null
; then
6930 *** Warning: the command libtool uses to detect shared libraries,
6931 *** $file_magic_cmd, produces output that libtool cannot recognize.
6932 *** The result is that libtool may fail to recognize shared libraries
6933 *** as such. This will affect the creation of libtool libraries that
6934 *** depend on shared libraries, but programs linked with such libtool
6935 *** libraries will work regardless of this problem. Nevertheless, you
6936 *** may want to report the problem to your system manager and/or to
6937 *** bug-libtool@gnu.org
6947 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6952 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6953 if test -n "$MAGIC_CMD"; then
6954 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6955 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6961 if test -z "$lt_cv_path_MAGIC_CMD"; then
6962 if test -n "$ac_tool_prefix"; then
6963 { echo "$as_me:$LINENO: checking for file" >&5
6964 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6965 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6973 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6974 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6975 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6976 for ac_dir
in $ac_dummy; do
6978 test -z "$ac_dir" && ac_dir
=.
6979 if test -f $ac_dir/file; then
6980 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6981 if test -n "$file_magic_test_file"; then
6982 case $deplibs_check_method in
6984 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6985 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6986 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6987 $EGREP "$file_magic_regex" > /dev
/null
; then
6992 *** Warning: the command libtool uses to detect shared libraries,
6993 *** $file_magic_cmd, produces output that libtool cannot recognize.
6994 *** The result is that libtool may fail to recognize shared libraries
6995 *** as such. This will affect the creation of libtool libraries that
6996 *** depend on shared libraries, but programs linked with such libtool
6997 *** libraries will work regardless of this problem. Nevertheless, you
6998 *** may want to report the problem to your system manager and/or to
6999 *** bug-libtool@gnu.org
7009 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7014 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7015 if test -n "$MAGIC_CMD"; then
7016 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7017 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7019 { echo "$as_me:$LINENO: result: no" >&5
7020 echo "${ECHO_T}no" >&6; }
7035 # Check whether --enable-libtool-lock was given.
7036 if test "${enable_libtool_lock+set}" = set; then
7037 enableval
=$enable_libtool_lock;
7040 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7043 # Check whether --with-pic was given.
7044 if test "${with_pic+set}" = set; then
7045 withval
=$with_pic; pic_mode
="$withval"
7050 test -z "$pic_mode" && pic_mode
=default
7052 # Use C for the default configuration in the libtool script
7056 ac_cpp
='$CPP $CPPFLAGS'
7057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7062 # Source file extension for C test sources.
7065 # Object file extension for compiled C test sources.
7069 # Code to be used in simple compile tests
7070 lt_simple_compile_test_code
="int some_variable = 0;\n"
7072 # Code to be used in simple link tests
7073 lt_simple_link_test_code
='int main(){return(0);}\n'
7076 # If no C compiler was specified, use CC.
7079 # If no C compiler flags were specified, use CFLAGS.
7080 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7082 # Allow CC to be a program name with arguments.
7086 # save warnings/boilerplate of simple test code
7087 ac_outfile
=conftest.
$ac_objext
7088 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7089 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7090 _lt_compiler_boilerplate
=`cat conftest.err`
7093 ac_outfile
=conftest.
$ac_objext
7094 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7095 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7096 _lt_linker_boilerplate
=`cat conftest.err`
7101 lt_prog_compiler_no_builtin_flag
=
7103 if test "$GCC" = yes; then
7104 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7107 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7108 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7109 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 lt_cv_prog_compiler_rtti_exceptions
=no
7113 ac_outfile
=conftest.
$ac_objext
7114 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7115 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7116 # Insert the option either (1) after the last *FLAGS variable, or
7117 # (2) before a word containing "conftest.", or (3) at the end.
7118 # Note that $ac_compile itself does not contain backslashes and begins
7119 # with a dollar sign (not a hyphen), so the echo should work correctly.
7120 # The option is referenced via a variable to avoid confusing sed.
7121 lt_compile
=`echo "$ac_compile" | $SED \
7122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7124 -e 's:$: $lt_compiler_flag:'`
7125 (eval echo "\"\$as_me:7125: $lt_compile\"" >&5)
7126 (eval "$lt_compile" 2>conftest.err
)
7128 cat conftest.err
>&5
7129 echo "$as_me:7129: \$? = $ac_status" >&5
7130 if (exit $ac_status) && test -s "$ac_outfile"; then
7131 # The compiler can only warn and ignore the option if not recognized
7132 # So say no if there are warnings other than the usual output.
7133 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7134 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7135 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7136 lt_cv_prog_compiler_rtti_exceptions
=yes
7142 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7143 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7145 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7146 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7153 lt_prog_compiler_wl
=
7154 lt_prog_compiler_pic
=
7155 lt_prog_compiler_static
=
7157 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7158 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7160 if test "$GCC" = yes; then
7161 lt_prog_compiler_wl
='-Wl,'
7162 lt_prog_compiler_static
='-static'
7166 # All AIX code is PIC.
7167 if test "$host_cpu" = ia64
; then
7168 # AIX 5 now supports IA64 processor
7169 lt_prog_compiler_static
='-Bstatic'
7174 # FIXME: we need at least 68020 code to build shared libraries, but
7175 # adding the `-m68020' flag to GCC prevents building anything better,
7177 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7180 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7181 # PIC is the default for these OSes.
7184 mingw
* | pw32
* | os2
*)
7185 # This hack is so that the source file can tell whether it is being
7186 # built for inclusion in a dll (and should export symbols for example).
7187 lt_prog_compiler_pic
='-DDLL_EXPORT'
7190 darwin
* | rhapsody
*)
7191 # PIC is the default on this platform
7192 # Common symbols not allowed in MH_DYLIB files
7193 lt_prog_compiler_pic
='-fno-common'
7197 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7198 # Instead, we relocate shared libraries at runtime.
7202 # Just because we use GCC doesn't mean we suddenly get shared libraries
7203 # on systems that don't support them.
7204 lt_prog_compiler_can_build_shared
=no
7209 if test -d /usr
/nec
; then
7210 lt_prog_compiler_pic
=-Kconform_pic
7215 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7222 lt_prog_compiler_pic
='-fPIC'
7228 lt_prog_compiler_pic
='-fPIC'
7232 # PORTME Check for flag to pass linker flags through the system compiler.
7235 lt_prog_compiler_wl
='-Wl,'
7236 if test "$host_cpu" = ia64
; then
7237 # AIX 5 now supports IA64 processor
7238 lt_prog_compiler_static
='-Bstatic'
7240 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7244 # PIC is the default on this platform
7245 # Common symbols not allowed in MH_DYLIB files
7246 case $cc_basename in
7248 lt_prog_compiler_pic
='-qnocommon'
7249 lt_prog_compiler_wl
='-Wl,'
7254 mingw
* | pw32
* | os2
*)
7255 # This hack is so that the source file can tell whether it is being
7256 # built for inclusion in a dll (and should export symbols for example).
7257 lt_prog_compiler_pic
='-DDLL_EXPORT'
7260 hpux9
* | hpux10
* | hpux11
*)
7261 lt_prog_compiler_wl
='-Wl,'
7262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7269 lt_prog_compiler_pic
='+Z'
7272 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7273 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7276 irix5
* | irix6
* | nonstopux
*)
7277 lt_prog_compiler_wl
='-Wl,'
7278 # PIC (with -KPIC) is the default.
7279 lt_prog_compiler_static
='-non_shared'
7283 lt_prog_compiler_pic
='-KPIC'
7284 lt_prog_compiler_static
='-Bstatic'
7288 case $cc_basename in
7290 lt_prog_compiler_wl
='-Wl,'
7291 lt_prog_compiler_pic
='-KPIC'
7292 lt_prog_compiler_static
='-static'
7294 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7295 # Portland Group compilers (*not* the Pentium gcc compiler,
7296 # which looks to be a dead project)
7297 lt_prog_compiler_wl
='-Wl,'
7298 lt_prog_compiler_pic
='-fpic'
7299 lt_prog_compiler_static
='-Bstatic'
7302 lt_prog_compiler_wl
='-Wl,'
7303 # All Alpha code is PIC.
7304 lt_prog_compiler_static
='-non_shared'
7309 osf3
* | osf4
* | osf5
*)
7310 lt_prog_compiler_wl
='-Wl,'
7311 # All OSF/1 code is PIC.
7312 lt_prog_compiler_static
='-non_shared'
7316 lt_prog_compiler_pic
='-KPIC'
7317 lt_prog_compiler_static
='-Bstatic'
7318 case $cc_basename in
7320 lt_prog_compiler_wl
='-Qoption ld ';;
7322 lt_prog_compiler_wl
='-Wl,';;
7327 lt_prog_compiler_wl
='-Qoption ld '
7328 lt_prog_compiler_pic
='-PIC'
7329 lt_prog_compiler_static
='-Bstatic'
7332 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7333 lt_prog_compiler_wl
='-Wl,'
7334 lt_prog_compiler_pic
='-KPIC'
7335 lt_prog_compiler_static
='-Bstatic'
7339 if test -d /usr
/nec
;then
7340 lt_prog_compiler_pic
='-Kconform_pic'
7341 lt_prog_compiler_static
='-Bstatic'
7345 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7346 lt_prog_compiler_wl
='-Wl,'
7347 lt_prog_compiler_pic
='-KPIC'
7348 lt_prog_compiler_static
='-Bstatic'
7352 lt_prog_compiler_wl
='-Wl,'
7353 lt_prog_compiler_can_build_shared
=no
7357 lt_prog_compiler_pic
='-pic'
7358 lt_prog_compiler_static
='-Bstatic'
7362 lt_prog_compiler_can_build_shared
=no
7367 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7368 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7371 # Check to make sure the PIC flag actually works.
7373 if test -n "$lt_prog_compiler_pic"; then
7375 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7376 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7377 if test "${lt_prog_compiler_pic_works+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 lt_prog_compiler_pic_works
=no
7381 ac_outfile
=conftest.
$ac_objext
7382 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7383 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7384 # Insert the option either (1) after the last *FLAGS variable, or
7385 # (2) before a word containing "conftest.", or (3) at the end.
7386 # Note that $ac_compile itself does not contain backslashes and begins
7387 # with a dollar sign (not a hyphen), so the echo should work correctly.
7388 # The option is referenced via a variable to avoid confusing sed.
7389 lt_compile
=`echo "$ac_compile" | $SED \
7390 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7391 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7392 -e 's:$: $lt_compiler_flag:'`
7393 (eval echo "\"\$as_me:7393: $lt_compile\"" >&5)
7394 (eval "$lt_compile" 2>conftest.err
)
7396 cat conftest.err
>&5
7397 echo "$as_me:7397: \$? = $ac_status" >&5
7398 if (exit $ac_status) && test -s "$ac_outfile"; then
7399 # The compiler can only warn and ignore the option if not recognized
7400 # So say no if there are warnings other than the usual output.
7401 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7402 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7403 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7404 lt_prog_compiler_pic_works
=yes
7410 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7411 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7413 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7414 case $lt_prog_compiler_pic in
7416 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7419 lt_prog_compiler_pic
=
7420 lt_prog_compiler_can_build_shared
=no
7425 # For platforms which do not support PIC, -DPIC is meaningless:
7427 lt_prog_compiler_pic
=
7430 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7435 # Check to make sure the static flag actually works.
7437 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7438 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7439 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7440 if test "${lt_prog_compiler_static_works+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 lt_prog_compiler_static_works
=no
7444 save_LDFLAGS
="$LDFLAGS"
7445 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7446 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7447 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7448 # The linker can only warn and ignore the option if not recognized
7449 # So say no if there are warnings
7450 if test -s conftest.err
; then
7451 # Append any errors to the config.log.
7452 cat conftest.err
1>&5
7453 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7454 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7455 if diff conftest.exp conftest.er2
>/dev
/null
; then
7456 lt_prog_compiler_static_works
=yes
7459 lt_prog_compiler_static_works
=yes
7463 LDFLAGS
="$save_LDFLAGS"
7466 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7467 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7469 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7472 lt_prog_compiler_static
=
7476 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7477 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7478 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 lt_cv_prog_compiler_c_o
=no
7482 $rm -r conftest
2>/dev
/null
7486 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7488 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7489 # Insert the option either (1) after the last *FLAGS variable, or
7490 # (2) before a word containing "conftest.", or (3) at the end.
7491 # Note that $ac_compile itself does not contain backslashes and begins
7492 # with a dollar sign (not a hyphen), so the echo should work correctly.
7493 lt_compile
=`echo "$ac_compile" | $SED \
7494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7496 -e 's:$: $lt_compiler_flag:'`
7497 (eval echo "\"\$as_me:7497: $lt_compile\"" >&5)
7498 (eval "$lt_compile" 2>out
/conftest.err
)
7500 cat out
/conftest.err
>&5
7501 echo "$as_me:7501: \$? = $ac_status" >&5
7502 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7504 # The compiler can only warn and ignore the option if not recognized
7505 # So say no if there are warnings
7506 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7507 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7508 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7509 lt_cv_prog_compiler_c_o
=yes
7514 # SGI C++ compiler will create directory out/ii_files/ for
7515 # template instantiation
7516 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7517 $rm out
/* && rmdir out
7523 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7524 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7527 hard_links
="nottested"
7528 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7529 # do not overwrite the value of need_locks provided by the user
7530 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7531 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7534 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7536 ln conftest.a conftest.b
2>&5 || hard_links
=no
7537 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7538 { echo "$as_me:$LINENO: result: $hard_links" >&5
7539 echo "${ECHO_T}$hard_links" >&6; }
7540 if test "$hard_links" = no
; then
7541 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7542 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7549 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7550 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7553 allow_undefined_flag
=
7554 enable_shared_with_static_runtimes
=no
7556 archive_expsym_cmds
=
7557 old_archive_From_new_cmds
=
7558 old_archive_from_expsyms_cmds
=
7559 export_dynamic_flag_spec
=
7560 whole_archive_flag_spec
=
7561 thread_safe_flag_spec
=
7562 hardcode_libdir_flag_spec
=
7563 hardcode_libdir_flag_spec_ld
=
7564 hardcode_libdir_separator
=
7567 hardcode_shlibpath_var
=unsupported
7568 link_all_deplibs
=unknown
7569 hardcode_automatic
=no
7572 always_export_symbols
=no
7573 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7574 # include_expsyms should be a list of space-separated symbols to be *always*
7575 # included in the symbol list
7577 # exclude_expsyms can be an extended regexp of symbols to exclude
7578 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7579 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7580 # as well as any symbol that contains `d'.
7581 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7582 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7583 # platforms (ab)use it in PIC code, but their linkers get confused if
7584 # the symbol is explicitly referenced. Since portable code cannot
7585 # rely on this symbol name, it's probably fine to never include it in
7586 # preloaded symbol tables.
7587 extract_expsyms_cmds
=
7588 # Just being paranoid about ensuring that cc_basename is set.
7589 for cc_temp
in $compiler""; do
7591 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7592 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7597 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7600 cygwin
* | mingw
* | pw32
*)
7601 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7602 # When not using gcc, we currently assume that we are using
7603 # Microsoft Visual C++.
7604 if test "$GCC" != yes; then
7609 # we just hope/assume this is gcc and not c89 (= MSVC++)
7618 if test "$with_gnu_ld" = yes; then
7619 # If archive_cmds runs LD, not CC, wlarc should be empty
7622 # Set some defaults for GNU ld with shared library support. These
7623 # are reset later if shared libraries are not supported. Putting them
7624 # here allows them to be overridden if necessary.
7625 runpath_var
=LD_RUN_PATH
7626 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7627 export_dynamic_flag_spec
='${wl}--export-dynamic'
7628 # ancient GNU ld didn't support --whole-archive et. al.
7629 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7630 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7632 whole_archive_flag_spec
=
7634 supports_anon_versioning
=no
7635 case `$LD -v 2>/dev/null` in
7636 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7637 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7638 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7639 *\
2.11.
*) ;; # other 2.11 versions
7640 *) supports_anon_versioning
=yes ;;
7643 # See if GNU ld supports shared libraries.
7645 aix3
* | aix4
* | aix5
*)
7646 # On AIX/PPC, the GNU linker is very broken
7647 if test "$host_cpu" != ia64
; then
7651 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7652 *** to be unable to reliably create shared libraries on AIX.
7653 *** Therefore, libtool is disabling shared libraries support. If you
7654 *** really care for shared libraries, you may want to modify your PATH
7655 *** so that a non-GNU linker is found, and then restart.
7662 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)'
7663 hardcode_libdir_flag_spec
='-L$libdir'
7664 hardcode_minus_L
=yes
7666 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7667 # that the semantics of dynamic libraries on AmigaOS, at least up
7668 # to version 4, is to share data among multiple programs linked
7669 # with the same dynamic library. Since this doesn't match the
7670 # behavior of shared libraries on other platforms, we can't use
7676 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7677 allow_undefined_flag
=unsupported
7678 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7679 # support --undefined. This deserves some investigation. FIXME
7680 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7686 cygwin
* | mingw
* | pw32
*)
7687 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7688 # as there is no search path for DLLs.
7689 hardcode_libdir_flag_spec
='-L$libdir'
7690 allow_undefined_flag
=unsupported
7691 always_export_symbols
=no
7692 enable_shared_with_static_runtimes
=yes
7693 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7695 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7697 # If the export-symbols file already is a .def file (1st line
7698 # is EXPORTS), use it as is; otherwise, prepend...
7699 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7700 cp $export_symbols $output_objdir/$soname.def;
7702 echo EXPORTS > $output_objdir/$soname.def;
7703 cat $export_symbols >> $output_objdir/$soname.def;
7705 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7713 hardcode_shlibpath_var
=no
7714 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7715 export_dynamic_flag_spec
='${wl}-E'
7716 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7717 # Instead, shared libraries are loaded at an image base (0x10000000 by
7718 # default) and relocated if they conflict, which is a slow very memory
7719 # consuming and fragmenting process. To avoid this, we pick a random,
7720 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7721 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7722 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7723 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'
7727 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7729 case $cc_basename,$host_cpu in
7730 pgcc
*) # Portland Group C compiler
7731 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'
7732 tmp_addflag
=' $pic_flag'
7734 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7735 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'
7736 tmp_addflag
=' $pic_flag -Mnomain' ;;
7737 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7738 tmp_addflag
=' -i_dynamic' ;;
7739 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7740 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7741 ifc
* | ifort
*) # Intel Fortran compiler
7742 tmp_addflag
=' -nofor_main' ;;
7744 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7746 if test $supports_anon_versioning = yes; then
7747 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7749 $echo "local: *; };" >> $output_objdir/$libname.ver~
7750 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7758 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7759 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7762 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7763 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7768 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7772 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7773 *** create shared libraries on Solaris systems. Therefore, libtool
7774 *** is disabling shared libraries support. We urge you to upgrade GNU
7775 *** binutils to release 2.9.1 or newer. Another option is to modify
7776 *** your PATH or compiler configuration so that the native linker is
7777 *** used, and then restart.
7780 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7782 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7788 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7789 case `$LD -v 2>&1` in
7790 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7794 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7795 *** reliably create shared libraries on SCO systems. Therefore, libtool
7796 *** is disabling shared libraries support. We urge you to upgrade GNU
7797 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7798 *** your PATH or compiler configuration so that the native linker is
7799 *** used, and then restart.
7804 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7805 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7806 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7807 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7816 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7819 hardcode_shlibpath_var
=no
7823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7824 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7825 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7832 if test "$ld_shlibs" = no
; then
7834 hardcode_libdir_flag_spec
=
7835 export_dynamic_flag_spec
=
7836 whole_archive_flag_spec
=
7839 # PORTME fill in a description of your system's linker (not GNU ld)
7842 allow_undefined_flag
=unsupported
7843 always_export_symbols
=yes
7844 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'
7845 # Note: this linker hardcodes the directories in LIBPATH if there
7846 # are no directories specified by -L.
7847 hardcode_minus_L
=yes
7848 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7849 # Neither direct hardcoding nor static linking is supported with a
7851 hardcode_direct
=unsupported
7856 if test "$host_cpu" = ia64
; then
7857 # On IA64, the linker does run time linking by default, so we don't
7858 # have to do anything special.
7859 aix_use_runtimelinking
=no
7860 exp_sym_flag
='-Bexport'
7863 # If we're using GNU nm, then we don't want the "-C" option.
7864 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7865 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7866 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'
7868 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'
7870 aix_use_runtimelinking
=no
7872 # Test if we are trying to use run time linking or normal
7873 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7874 # need to do runtime linking.
7875 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7876 for ld_flag
in $LDFLAGS; do
7877 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7878 aix_use_runtimelinking
=yes
7885 exp_sym_flag
='-bexport'
7886 no_entry_flag
='-bnoentry'
7889 # When large executables or shared objects are built, AIX ld can
7890 # have problems creating the table of contents. If linking a library
7891 # or program results in "error TOC overflow" add -mminimal-toc to
7892 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7893 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7897 hardcode_libdir_separator
=':'
7898 link_all_deplibs
=yes
7900 if test "$GCC" = yes; then
7901 case $host_os in aix4.
[012]|aix4.
[012].
*)
7902 # We only want to do this on AIX 4.2 and lower, the check
7903 # below for broken collect2 doesn't work under 4.3+
7904 collect2name
=`${CC} -print-prog-name=collect2`
7905 if test -f "$collect2name" && \
7906 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7908 # We have reworked collect2
7911 # We have old collect2
7912 hardcode_direct
=unsupported
7913 # It fails to find uninstalled libraries when the uninstalled
7914 # path is not listed in the libpath. Setting hardcode_minus_L
7915 # to unsupported forces relinking
7916 hardcode_minus_L
=yes
7917 hardcode_libdir_flag_spec
='-L$libdir'
7918 hardcode_libdir_separator
=
7922 shared_flag
='-shared'
7923 if test "$aix_use_runtimelinking" = yes; then
7924 shared_flag
="$shared_flag "'${wl}-G'
7928 if test "$host_cpu" = ia64
; then
7929 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7930 # chokes on -Wl,-G. The following line is correct:
7933 if test "$aix_use_runtimelinking" = yes; then
7934 shared_flag
='${wl}-G'
7936 shared_flag
='${wl}-bM:SRE'
7941 # It seems that -bexpall does not export symbols beginning with
7942 # underscore (_), so it is better to generate a list of symbols to export.
7943 always_export_symbols
=yes
7944 if test "$aix_use_runtimelinking" = yes; then
7945 # Warning - without using the other runtime loading flags (-brtl),
7946 # -berok will link without error, but may produce a broken library.
7947 allow_undefined_flag
='-berok'
7948 # Determine the default libpath from the value encoded in an empty executable.
7949 cat >conftest.
$ac_ext <<_ACEOF
7952 cat confdefs.h
>>conftest.
$ac_ext
7953 cat >>conftest.
$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7964 rm -f conftest.
$ac_objext conftest
$ac_exeext
7965 if { (ac_try
="$ac_link"
7967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7968 *) ac_try_echo=$ac_try;;
7970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7971 (eval "$ac_link") 2>conftest.er1
7973 grep -v '^ *+' conftest.er1 >conftest.err
7975 cat conftest.err >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } && {
7978 test -z "$ac_c_werror_flag" ||
7979 test ! -s conftest.err
7980 } && test -s conftest$ac_exeext &&
7981 $as_test_x conftest$ac_exeext; then
7983 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7985 # Check for a 64-bit object if we didn't find anything.
7986 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.$ac_ext >&5
7995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7996 conftest$ac_exeext conftest.$ac_ext
7997 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7999 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8000 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"
8002 if test "$host_cpu" = ia64; then
8003 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8004 allow_undefined_flag="-z nodefs"
8005 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"
8007 # Determine the default libpath from the value encoded in an empty executable.
8008 cat >conftest.$ac_ext <<_ACEOF
8011 cat confdefs.h >>conftest.$ac_ext
8012 cat >>conftest.$ac_ext <<_ACEOF
8013 /* end confdefs.h. */
8023 rm -f conftest.$ac_objext conftest$ac_exeext
8024 if { (ac_try="$ac_link"
8026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8027 *) ac_try_echo
=$ac_try;;
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_link") 2>conftest.er1
8032 grep -v '^ *+' conftest.er1
>conftest.err
8034 cat conftest.err
>&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest
$ac_exeext &&
8040 $as_test_x conftest
$ac_exeext; then
8042 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8044 # Check for a 64-bit object if we didn't find anything.
8045 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.
$ac_ext >&5
8054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8055 conftest
$ac_exeext conftest.
$ac_ext
8056 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8058 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8059 # Warning - without using the other run time loading flags,
8060 # -berok will link without error, but may produce a broken library.
8061 no_undefined_flag
=' ${wl}-bernotok'
8062 allow_undefined_flag
=' ${wl}-berok'
8063 # Exported symbols can be pulled into shared objects from archives
8064 whole_archive_flag_spec
='$convenience'
8065 archive_cmds_need_lc
=yes
8066 # This is similar to how AIX traditionally builds its shared libraries.
8067 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'
8073 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)'
8074 hardcode_libdir_flag_spec
='-L$libdir'
8075 hardcode_minus_L
=yes
8076 # see comment about different semantics on the GNU ld section
8081 export_dynamic_flag_spec
=-rdynamic
8084 cygwin
* | mingw
* | pw32
*)
8085 # When not using gcc, we currently assume that we are using
8086 # Microsoft Visual C++.
8087 # hardcode_libdir_flag_spec is actually meaningless, as there is
8088 # no search path for DLLs.
8089 hardcode_libdir_flag_spec
=' '
8090 allow_undefined_flag
=unsupported
8091 # Tell ltmain to make .lib files, not .a files.
8093 # Tell ltmain to make .dll files, not .so files.
8095 # FIXME: Setting linknames here is a bad hack.
8096 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8097 # The linker will automatically build a .lib file if we build a DLL.
8098 old_archive_From_new_cmds
='true'
8099 # FIXME: Should let the user specify the lib program.
8100 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8101 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8102 enable_shared_with_static_runtimes
=yes
8105 darwin
* | rhapsody
*)
8107 rhapsody
* | darwin1.
[012])
8108 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8111 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8112 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8114 case ${MACOSX_DEPLOYMENT_TARGET} in
8116 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8119 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8125 archive_cmds_need_lc
=no
8127 hardcode_automatic
=yes
8128 hardcode_shlibpath_var
=unsupported
8129 whole_archive_flag_spec
=''
8130 link_all_deplibs
=yes
8131 if test "$GCC" = yes ; then
8132 output_verbose_link_cmd
='echo'
8133 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8134 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8135 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8136 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}'
8137 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}'
8139 case $cc_basename in
8141 output_verbose_link_cmd
='echo'
8142 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8143 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8144 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8145 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8146 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}'
8156 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8157 hardcode_libdir_flag_spec
='-L$libdir'
8158 hardcode_shlibpath_var
=no
8165 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8166 # support. Future versions do this automatically, but an explicit c++rt0.o
8167 # does not break anything, and helps significantly (at the cost of a little
8170 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8171 hardcode_libdir_flag_spec
='-R$libdir'
8173 hardcode_shlibpath_var
=no
8176 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8178 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8180 hardcode_minus_L
=yes
8181 hardcode_shlibpath_var
=no
8184 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8185 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8186 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8187 hardcode_libdir_flag_spec
='-R$libdir'
8189 hardcode_shlibpath_var
=no
8193 if test "$GCC" = yes; then
8194 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'
8196 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'
8198 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8199 hardcode_libdir_separator
=:
8202 # hardcode_minus_L: Not really in the search PATH,
8203 # but as the default location of the library.
8204 hardcode_minus_L
=yes
8205 export_dynamic_flag_spec
='${wl}-E'
8209 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8210 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8212 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8214 if test "$with_gnu_ld" = no
; then
8215 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8216 hardcode_libdir_separator
=:
8219 export_dynamic_flag_spec
='${wl}-E'
8221 # hardcode_minus_L: Not really in the search PATH,
8222 # but as the default location of the library.
8223 hardcode_minus_L
=yes
8228 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8231 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8234 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8237 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8243 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8246 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8249 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8253 if test "$with_gnu_ld" = no
; then
8254 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8255 hardcode_libdir_separator
=:
8259 hardcode_libdir_flag_spec_ld
='+b $libdir'
8261 hardcode_shlibpath_var
=no
8265 export_dynamic_flag_spec
='${wl}-E'
8267 # hardcode_minus_L: Not really in the search PATH,
8268 # but as the default location of the library.
8269 hardcode_minus_L
=yes
8275 irix5
* | irix6
* | nonstopux
*)
8276 if test "$GCC" = yes; then
8277 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'
8279 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'
8280 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8282 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8283 hardcode_libdir_separator
=:
8284 link_all_deplibs
=yes
8288 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8289 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8291 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8293 hardcode_libdir_flag_spec
='-R$libdir'
8295 hardcode_shlibpath_var
=no
8299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8301 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8302 hardcode_libdir_separator
=:
8303 hardcode_shlibpath_var
=no
8308 hardcode_shlibpath_var
=no
8309 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8310 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8311 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8312 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8313 export_dynamic_flag_spec
='${wl}-E'
8316 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8317 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8318 hardcode_libdir_flag_spec
='-R$libdir'
8321 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8322 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8329 hardcode_libdir_flag_spec
='-L$libdir'
8330 hardcode_minus_L
=yes
8331 allow_undefined_flag
=unsupported
8332 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'
8333 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8337 if test "$GCC" = yes; then
8338 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8339 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'
8341 allow_undefined_flag
=' -expect_unresolved \*'
8342 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'
8344 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8345 hardcode_libdir_separator
=:
8348 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8349 if test "$GCC" = yes; then
8350 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8351 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'
8352 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8354 allow_undefined_flag
=' -expect_unresolved \*'
8355 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'
8356 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8357 $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'
8359 # Both c and cxx compiler support -rpath directly
8360 hardcode_libdir_flag_spec
='-rpath $libdir'
8362 hardcode_libdir_separator
=:
8366 no_undefined_flag
=' -z text'
8367 if test "$GCC" = yes; then
8369 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8370 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8371 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8374 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8375 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8376 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8378 hardcode_libdir_flag_spec
='-R$libdir'
8379 hardcode_shlibpath_var
=no
8381 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8383 # The compiler driver will combine linker options so we
8384 # cannot just pass the convience library names through
8385 # without $wl, iff we do not link with $LD.
8386 # Luckily, gcc supports the same syntax we need for Sun Studio.
8387 # Supported since Solaris 2.6 (maybe 2.5.1?)
8390 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8392 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8395 link_all_deplibs
=yes
8399 if test "x$host_vendor" = xsequent
; then
8400 # Use $CC to link under sequent, because it throws in some extra .o
8401 # files that make .init and .fini sections work.
8402 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8404 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8406 hardcode_libdir_flag_spec
='-L$libdir'
8408 hardcode_minus_L
=yes
8409 hardcode_shlibpath_var
=no
8413 case $host_vendor in
8415 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8416 hardcode_direct
=yes # is this really true???
8419 ## LD is ld it makes a PLAMLIB
8420 ## CC just makes a GrossModule.
8421 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8422 reload_cmds
='$CC -r -o $output$reload_objs'
8426 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8427 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8430 runpath_var
='LD_RUN_PATH'
8431 hardcode_shlibpath_var
=no
8435 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8436 hardcode_shlibpath_var
=no
8437 export_dynamic_flag_spec
='-Bexport'
8441 if test -d /usr
/nec
; then
8442 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8443 hardcode_shlibpath_var
=no
8444 runpath_var
=LD_RUN_PATH
8445 hardcode_runpath_var
=yes
8450 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8451 no_undefined_flag
='${wl}-z,text'
8452 archive_cmds_need_lc
=no
8453 hardcode_shlibpath_var
=no
8454 runpath_var
='LD_RUN_PATH'
8456 if test "$GCC" = yes; then
8457 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8460 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8461 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8465 sysv5
* | sco3.2v5
* | sco5v6
*)
8466 # Note: We can NOT use -z defs as we might desire, because we do not
8467 # link with -lc, and that would cause any symbols used from libc to
8468 # always be unresolved, which means just about no library would
8469 # ever link correctly. If we're not using GNU ld we use -z text
8470 # though, which does catch some bad symbols but isn't as heavy-handed
8472 no_undefined_flag
='${wl}-z,text'
8473 allow_undefined_flag
='${wl}-z,nodefs'
8474 archive_cmds_need_lc
=no
8475 hardcode_shlibpath_var
=no
8476 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8477 hardcode_libdir_separator
=':'
8478 link_all_deplibs
=yes
8479 export_dynamic_flag_spec
='${wl}-Bexport'
8480 runpath_var
='LD_RUN_PATH'
8482 if test "$GCC" = yes; then
8483 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8484 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8486 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8487 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8492 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8493 hardcode_libdir_flag_spec
='-L$libdir'
8494 hardcode_shlibpath_var
=no
8503 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8504 echo "${ECHO_T}$ld_shlibs" >&6; }
8505 test "$ld_shlibs" = no
&& can_build_shared
=no
8508 # Do we need to explicitly link libc?
8510 case "x$archive_cmds_need_lc" in
8512 # Assume -lc should be added
8513 archive_cmds_need_lc
=yes
8515 if test "$enable_shared" = yes && test "$GCC" = yes; then
8516 case $archive_cmds in
8518 # FIXME: we may have to deal with multi-command sequences.
8521 # Test whether the compiler implicitly links with -lc since on some
8522 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8523 # to ld, don't add -lc before -lgcc.
8524 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8525 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8527 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8530 (eval $ac_compile) 2>&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } 2>conftest.err
; then
8536 libobjs
=conftest.
$ac_objext
8538 wl
=$lt_prog_compiler_wl
8539 pic_flag
=$lt_prog_compiler_pic
8545 lt_save_allow_undefined_flag
=$allow_undefined_flag
8546 allow_undefined_flag
=
8547 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8548 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }
8553 archive_cmds_need_lc
=no
8555 archive_cmds_need_lc
=yes
8557 allow_undefined_flag
=$lt_save_allow_undefined_flag
8559 cat conftest.err
1>&5
8562 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8563 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8570 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8571 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8573 libname_spec
='lib$name'
8581 shlibpath_overrides_runpath
=unknown
8583 dynamic_linker
="$host_os ld.so"
8584 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8585 if test "$GCC" = yes; then
8586 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8587 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8588 # if the path contains ";" then we assume it to be the separator
8589 # otherwise default to the standard path separator (i.e. ":") - it is
8590 # assumed that no part of a normal pathname contains ";" but that should
8591 # okay in the real world where ";" in dirpaths is itself problematic.
8592 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8594 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8597 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8599 need_lib_prefix
=unknown
8600 hardcode_into_libs
=no
8602 # when you set need_version to no, make sure it does not cause -set_version
8603 # flags to be left without arguments
8604 need_version
=unknown
8609 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8610 shlibpath_var
=LIBPATH
8612 # AIX 3 has no versioning support, so we append a major version to the name.
8613 soname_spec
='${libname}${release}${shared_ext}$major'
8620 hardcode_into_libs
=yes
8621 if test "$host_cpu" = ia64
; then
8622 # AIX 5 supports IA64
8623 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8624 shlibpath_var
=LD_LIBRARY_PATH
8626 # With GCC up to 2.95.x, collect2 would create an import file
8627 # for dependence libraries. The import file would start with
8628 # the line `#! .'. This would cause the generated library to
8629 # depend on `.', always an invalid library. This was fixed in
8630 # development snapshots of GCC prior to 3.0.
8632 aix4 | aix4.
[01] | aix4.
[01].
*)
8633 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8635 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8642 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8643 # soname into executable. Probably we can add versioning support to
8644 # collect2, so additional links can be useful in future.
8645 if test "$aix_use_runtimelinking" = yes; then
8646 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8647 # instead of lib<name>.a to let people know that these are not
8648 # typical AIX shared libraries.
8649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8651 # We preserve .a as extension for shared libraries through AIX4.2
8652 # and later when we are not doing run time linking.
8653 library_names_spec
='${libname}${release}.a $libname.a'
8654 soname_spec
='${libname}${release}${shared_ext}$major'
8656 shlibpath_var
=LIBPATH
8661 library_names_spec
='$libname.ixlibrary $libname.a'
8662 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8663 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'
8667 library_names_spec
='${libname}${shared_ext}'
8668 dynamic_linker
="$host_os ld.so"
8669 shlibpath_var
=LIBRARY_PATH
8675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8676 soname_spec
='${libname}${release}${shared_ext}$major'
8677 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8678 shlibpath_var
=LD_LIBRARY_PATH
8679 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8680 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8681 # the default ld.so.conf also contains /usr/contrib/lib and
8682 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8683 # libtool to hard-code these into programs
8686 cygwin
* | mingw
* | pw32
*)
8687 version_type
=windows
8692 case $GCC,$host_os in
8693 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8694 library_names_spec
='$libname.dll.a'
8695 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8696 postinstall_cmds
='base_file=`basename \${file}`~
8697 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8698 dldir=$destdir/`dirname \$dlpath`~
8699 test -d \$dldir || mkdir -p \$dldir~
8700 $install_prog $dir/$dlname \$dldir/$dlname~
8701 chmod a+x \$dldir/$dlname'
8702 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8703 dlpath=$dir/\$dldll~
8705 shlibpath_overrides_runpath
=yes
8709 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8710 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8711 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8714 # MinGW DLLs use traditional 'lib' prefix
8715 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8716 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8717 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8718 # It is most probably a Windows format PATH printed by
8719 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8720 # path with ; separators, and with drive letters. We can handle the
8721 # drive letters (cygwin fileutils understands them), so leave them,
8722 # especially as we might pass files found there to a mingw objdump,
8723 # which wouldn't understand a cygwinified path. Ahh.
8724 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8726 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8730 # pw32 DLLs use 'pw' prefix rather than 'lib'
8731 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8737 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8740 dynamic_linker
='Win32 ld.exe'
8741 # FIXME: first we should search . and the directory the executable is in
8745 darwin
* | rhapsody
*)
8746 dynamic_linker
="$host_os dyld"
8750 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8751 soname_spec
='${libname}${release}${major}$shared_ext'
8752 shlibpath_overrides_runpath
=yes
8753 shlibpath_var
=DYLD_LIBRARY_PATH
8754 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8755 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8756 if test "$GCC" = yes; then
8757 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8759 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8761 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8769 soname_spec
='${libname}${release}${shared_ext}$major'
8770 shlibpath_var
=LD_LIBRARY_PATH
8781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8782 soname_spec
='${libname}${release}${shared_ext}$major'
8783 shlibpath_var
=LD_LIBRARY_PATH
8784 shlibpath_overrides_runpath
=no
8785 hardcode_into_libs
=yes
8786 dynamic_linker
='GNU ld.so'
8789 freebsd
* | dragonfly
*)
8790 # DragonFly does not have aout. When/if they implement a new
8791 # versioning mechanism, adjust this.
8792 if test -x /usr
/bin
/objformat
; then
8793 objformat
=`/usr/bin/objformat`
8796 freebsd
[123]*) objformat
=aout
;;
8800 version_type
=freebsd-
$objformat
8801 case $version_type in
8803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8812 shlibpath_var
=LD_LIBRARY_PATH
8815 shlibpath_overrides_runpath
=yes
8817 freebsd3.
[01]* | freebsdelf3.
[01]*)
8818 shlibpath_overrides_runpath
=yes
8819 hardcode_into_libs
=yes
8821 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8822 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8823 shlibpath_overrides_runpath
=no
8824 hardcode_into_libs
=yes
8826 freebsd
*) # from 4.6 on
8827 shlibpath_overrides_runpath
=yes
8828 hardcode_into_libs
=yes
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8838 soname_spec
='${libname}${release}${shared_ext}$major'
8839 shlibpath_var
=LD_LIBRARY_PATH
8840 hardcode_into_libs
=yes
8843 hpux9
* | hpux10
* | hpux11
*)
8844 # Give a soname corresponding to the major version so that dld.sl refuses to
8845 # link against other versions.
8852 hardcode_into_libs
=yes
8853 dynamic_linker
="$host_os dld.so"
8854 shlibpath_var
=LD_LIBRARY_PATH
8855 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8857 soname_spec
='${libname}${release}${shared_ext}$major'
8858 if test "X$HPUX_IA64_MODE" = X32
; then
8859 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8861 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8863 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8867 hardcode_into_libs
=yes
8868 dynamic_linker
="$host_os dld.sl"
8869 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8870 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8872 soname_spec
='${libname}${release}${shared_ext}$major'
8873 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8874 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8878 dynamic_linker
="$host_os dld.sl"
8879 shlibpath_var
=SHLIB_PATH
8880 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8882 soname_spec
='${libname}${release}${shared_ext}$major'
8885 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8886 postinstall_cmds
='chmod 555 $lib'
8893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8894 soname_spec
='${libname}${release}${shared_ext}$major'
8895 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8896 shlibpath_var
=LD_LIBRARY_PATH
8897 shlibpath_overrides_runpath
=no
8898 hardcode_into_libs
=yes
8901 irix5
* | irix6
* | nonstopux
*)
8903 nonstopux
*) version_type
=nonstopux
;;
8905 if test "$lt_cv_prog_gnu_ld" = yes; then
8913 soname_spec
='${libname}${release}${shared_ext}$major'
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8916 irix5
* | nonstopux
*)
8920 case $LD in # libtool.m4 will add one of these switches to LD
8921 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8922 libsuff
= shlibsuff
= libmagic
=32-bit;;
8923 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8924 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8925 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8926 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8927 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8931 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8932 shlibpath_overrides_runpath
=no
8933 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8934 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8935 hardcode_into_libs
=yes
8938 # No shared lib support for Linux oldld, aout, or coff.
8939 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8943 # This must be Linux ELF.
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8951 shlibpath_var
=LD_LIBRARY_PATH
8952 shlibpath_overrides_runpath
=no
8953 # This implies no fast_install, which is unacceptable.
8954 # Some rework will be needed to allow for fast_install
8955 # before this can be enabled.
8956 hardcode_into_libs
=yes
8958 # find out which ABI we are using
8961 x86_64
*|s390x
*|powerpc64
*)
8962 echo '#line 8962 "configure"' > conftest.
$ac_ext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8964 (eval $ac_compile) 2>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); }; then
8968 case `/usr/bin/file conftest.$ac_objext` in
8971 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8979 # Append ld.so.conf contents to the search path
8980 if test -f /etc
/ld.so.conf
; then
8981 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8982 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8985 # We used to test for /lib/ld.so.1 and disable shared libraries on
8986 # powerpc, because MkLinux only supported shared libraries with the
8987 # GNU dynamic linker. Since this was broken with cross compilers,
8988 # most powerpc-linux boxes support dynamic linking these days and
8989 # people can always --disable-shared, the test was removed, and we
8990 # assume the GNU/Linux dynamic linker is in use.
8991 dynamic_linker
='GNU/Linux ld.so'
8998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8999 soname_spec
='${libname}${release}${shared_ext}$major'
9000 shlibpath_var
=LD_LIBRARY_PATH
9001 shlibpath_overrides_runpath
=no
9002 hardcode_into_libs
=yes
9003 dynamic_linker
='GNU ld.so'
9010 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9013 dynamic_linker
='NetBSD (a.out) ld.so'
9015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9016 soname_spec
='${libname}${release}${shared_ext}$major'
9017 dynamic_linker
='NetBSD ld.elf_so'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 shlibpath_overrides_runpath
=yes
9021 hardcode_into_libs
=yes
9026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9027 shlibpath_var
=LD_LIBRARY_PATH
9028 shlibpath_overrides_runpath
=yes
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9036 soname_spec
='${libname}${release}${shared_ext}$major'
9037 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=yes
9043 sys_lib_dlsearch_path_spec
="/usr/lib"
9045 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9047 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9048 *) need_version
=no
;;
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9051 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9052 shlibpath_var
=LD_LIBRARY_PATH
9053 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9055 openbsd2.
[89] | openbsd2.
[89].
*)
9056 shlibpath_overrides_runpath
=no
9059 shlibpath_overrides_runpath
=yes
9063 shlibpath_overrides_runpath
=yes
9068 libname_spec
='$name'
9071 library_names_spec
='$libname${shared_ext} $libname.a'
9072 dynamic_linker
='OS/2 ld.exe'
9073 shlibpath_var
=LIBPATH
9076 osf3
* | osf4
* | osf5
*)
9080 soname_spec
='${libname}${release}${shared_ext}$major'
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 shlibpath_var
=LD_LIBRARY_PATH
9083 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9084 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9092 soname_spec
='${libname}${release}${shared_ext}$major'
9093 shlibpath_var
=LD_LIBRARY_PATH
9094 shlibpath_overrides_runpath
=yes
9095 hardcode_into_libs
=yes
9096 # ldd complains unless libraries are executable
9097 postinstall_cmds
='chmod +x $lib'
9102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9103 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9104 shlibpath_var
=LD_LIBRARY_PATH
9105 shlibpath_overrides_runpath
=yes
9106 if test "$with_gnu_ld" = yes; then
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9115 soname_spec
='${libname}${release}${shared_ext}$major'
9116 shlibpath_var
=LD_LIBRARY_PATH
9117 case $host_vendor in
9119 shlibpath_overrides_runpath
=no
9121 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9122 runpath_var
=LD_RUN_PATH
9130 shlibpath_overrides_runpath
=no
9131 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9137 if test -d /usr
/nec
;then
9139 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9140 soname_spec
='$libname${shared_ext}.$major'
9141 shlibpath_var
=LD_LIBRARY_PATH
9145 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9146 version_type
=freebsd-elf
9149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9150 soname_spec
='${libname}${release}${shared_ext}$major'
9151 shlibpath_var
=LD_LIBRARY_PATH
9152 hardcode_into_libs
=yes
9153 if test "$with_gnu_ld" = yes; then
9154 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9155 shlibpath_overrides_runpath
=no
9157 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9158 shlibpath_overrides_runpath
=yes
9161 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9165 sys_lib_dlsearch_path_spec
='/usr/lib'
9170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9171 soname_spec
='${libname}${release}${shared_ext}$major'
9172 shlibpath_var
=LD_LIBRARY_PATH
9179 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9180 echo "${ECHO_T}$dynamic_linker" >&6; }
9181 test "$dynamic_linker" = no
&& can_build_shared
=no
9183 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9184 if test "$GCC" = yes; then
9185 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9188 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9189 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9191 if test -n "$hardcode_libdir_flag_spec" || \
9192 test -n "$runpath_var" || \
9193 test "X$hardcode_automatic" = "Xyes" ; then
9195 # We can hardcode non-existant directories.
9196 if test "$hardcode_direct" != no
&&
9197 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9198 # have to relink, otherwise we might link with an installed library
9199 # when we should be linking with a yet-to-be-installed one
9200 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9201 test "$hardcode_minus_L" != no
; then
9202 # Linking always hardcodes the temporary library directory.
9203 hardcode_action
=relink
9205 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9206 hardcode_action
=immediate
9209 # We cannot hardcode anything, or else we can only hardcode existing
9211 hardcode_action
=unsupported
9213 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9214 echo "${ECHO_T}$hardcode_action" >&6; }
9216 if test "$hardcode_action" = relink
; then
9217 # Fast installation is not supported
9218 enable_fast_install
=no
9219 elif test "$shlibpath_overrides_runpath" = yes ||
9220 test "$enable_shared" = no
; then
9221 # Fast installation is not necessary
9222 enable_fast_install
=needless
9227 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9228 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9229 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9230 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9231 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9232 { echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6; }
9235 # FIXME - insert some real tests, host_os isn't really good enough
9238 if test -n "$STRIP" ; then
9239 striplib
="$STRIP -x"
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9248 { echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6; }
9254 if test "x$enable_dlopen" != xyes
; then
9255 enable_dlopen
=unknown
9256 enable_dlopen_self
=unknown
9257 enable_dlopen_self_static
=unknown
9264 lt_cv_dlopen
="load_add_on"
9266 lt_cv_dlopen_self
=yes
9270 lt_cv_dlopen
="LoadLibrary"
9275 lt_cv_dlopen
="dlopen"
9280 # if libdl is installed we need to link against it
9281 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9282 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9283 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 ac_check_lib_save_LIBS
=$LIBS
9288 cat >conftest.
$ac_ext <<_ACEOF
9291 cat confdefs.h
>>conftest.
$ac_ext
9292 cat >>conftest.
$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9310 rm -f conftest.
$ac_objext conftest
$ac_exeext
9311 if { (ac_try
="$ac_link"
9313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9314 *) ac_try_echo=$ac_try;;
9316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317 (eval "$ac_link") 2>conftest.er1
9319 grep -v '^ *+' conftest.er1 >conftest.err
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } && {
9324 test -z "$ac_c_werror_flag" ||
9325 test ! -s conftest.err
9326 } && test -s conftest$ac_exeext &&
9327 $as_test_x conftest$ac_exeext; then
9328 ac_cv_lib_dl_dlopen=yes
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9333 ac_cv_lib_dl_dlopen=no
9336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9341 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9342 if test $ac_cv_lib_dl_dlopen = yes; then
9343 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9348 lt_cv_dlopen_self=yes
9355 { echo "$as_me:$LINENO: checking for shl_load" >&5
9356 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9357 if test "${ac_cv_func_shl_load+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 cat >conftest.$ac_ext <<_ACEOF
9363 cat confdefs.h >>conftest.$ac_ext
9364 cat >>conftest.$ac_ext <<_ACEOF
9365 /* end confdefs.h. */
9366 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9368 #define shl_load innocuous_shl_load
9370 /* System header to define __stub macros and hopefully few prototypes,
9371 which can conflict with char shl_load (); below.
9372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9373 <limits.h> exists even on freestanding compilers. */
9376 # include <limits.h>
9378 # include <assert.h>
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9390 /* The GNU C library defines this for functions which it implements
9391 to always fail with ENOSYS. Some functions are actually named
9392 something starting with __ and the normal name is an alias. */
9393 #if defined __stub_shl_load || defined __stub___shl_load
9405 rm -f conftest.$ac_objext conftest$ac_exeext
9406 if { (ac_try="$ac_link"
9408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9409 *) ac_try_echo
=$ac_try;;
9411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9412 (eval "$ac_link") 2>conftest.er1
9414 grep -v '^ *+' conftest.er1
>conftest.err
9416 cat conftest.err
>&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); } && {
9419 test -z "$ac_c_werror_flag" ||
9420 test ! -s conftest.err
9421 } && test -s conftest
$ac_exeext &&
9422 $as_test_x conftest
$ac_exeext; then
9423 ac_cv_func_shl_load
=yes
9425 echo "$as_me: failed program was:" >&5
9426 sed 's/^/| /' conftest.
$ac_ext >&5
9428 ac_cv_func_shl_load
=no
9431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9432 conftest
$ac_exeext conftest.
$ac_ext
9434 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9435 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9436 if test $ac_cv_func_shl_load = yes; then
9437 lt_cv_dlopen
="shl_load"
9439 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9440 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9441 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 ac_check_lib_save_LIBS
=$LIBS
9446 cat >conftest.
$ac_ext <<_ACEOF
9449 cat confdefs.h
>>conftest.
$ac_ext
9450 cat >>conftest.
$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9468 rm -f conftest.
$ac_objext conftest
$ac_exeext
9469 if { (ac_try
="$ac_link"
9471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9472 *) ac_try_echo=$ac_try;;
9474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9475 (eval "$ac_link") 2>conftest.er1
9477 grep -v '^ *+' conftest.er1 >conftest.err
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest$ac_exeext &&
9485 $as_test_x conftest$ac_exeext; then
9486 ac_cv_lib_dld_shl_load=yes
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.$ac_ext >&5
9491 ac_cv_lib_dld_shl_load=no
9494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9499 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9500 if test $ac_cv_lib_dld_shl_load = yes; then
9501 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9503 { echo "$as_me:$LINENO: checking for dlopen" >&5
9504 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9505 if test "${ac_cv_func_dlopen+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 cat >conftest.$ac_ext <<_ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9514 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9516 #define dlopen innocuous_dlopen
9518 /* System header to define __stub macros and hopefully few prototypes,
9519 which can conflict with char dlopen (); below.
9520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9521 <limits.h> exists even on freestanding compilers. */
9524 # include <limits.h>
9526 # include <assert.h>
9531 /* Override any GCC internal prototype to avoid an error.
9532 Use char because int might match the return type of a GCC
9533 builtin and then its argument prototype would still apply. */
9538 /* The GNU C library defines this for functions which it implements
9539 to always fail with ENOSYS. Some functions are actually named
9540 something starting with __ and the normal name is an alias. */
9541 #if defined __stub_dlopen || defined __stub___dlopen
9553 rm -f conftest.$ac_objext conftest$ac_exeext
9554 if { (ac_try="$ac_link"
9556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9557 *) ac_try_echo
=$ac_try;;
9559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9560 (eval "$ac_link") 2>conftest.er1
9562 grep -v '^ *+' conftest.er1
>conftest.err
9564 cat conftest.err
>&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } && {
9567 test -z "$ac_c_werror_flag" ||
9568 test ! -s conftest.err
9569 } && test -s conftest
$ac_exeext &&
9570 $as_test_x conftest
$ac_exeext; then
9571 ac_cv_func_dlopen
=yes
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.
$ac_ext >&5
9576 ac_cv_func_dlopen
=no
9579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9580 conftest
$ac_exeext conftest.
$ac_ext
9582 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9583 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9584 if test $ac_cv_func_dlopen = yes; then
9585 lt_cv_dlopen
="dlopen"
9587 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9588 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 ac_check_lib_save_LIBS
=$LIBS
9594 cat >conftest.
$ac_ext <<_ACEOF
9597 cat confdefs.h
>>conftest.
$ac_ext
9598 cat >>conftest.
$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9616 rm -f conftest.
$ac_objext conftest
$ac_exeext
9617 if { (ac_try
="$ac_link"
9619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9620 *) ac_try_echo=$ac_try;;
9622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9623 (eval "$ac_link") 2>conftest.er1
9625 grep -v '^ *+' conftest.er1 >conftest.err
9627 cat conftest.err >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } && {
9630 test -z "$ac_c_werror_flag" ||
9631 test ! -s conftest.err
9632 } && test -s conftest$ac_exeext &&
9633 $as_test_x conftest$ac_exeext; then
9634 ac_cv_lib_dl_dlopen=yes
9636 echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.$ac_ext >&5
9639 ac_cv_lib_dl_dlopen=no
9642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9648 if test $ac_cv_lib_dl_dlopen = yes; then
9649 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9651 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9652 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9653 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 ac_check_lib_save_LIBS=$LIBS
9658 cat >conftest.$ac_ext <<_ACEOF
9661 cat confdefs.h >>conftest.$ac_ext
9662 cat >>conftest.$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9680 rm -f conftest.$ac_objext conftest$ac_exeext
9681 if { (ac_try="$ac_link"
9683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9684 *) ac_try_echo
=$ac_try;;
9686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9687 (eval "$ac_link") 2>conftest.er1
9689 grep -v '^ *+' conftest.er1
>conftest.err
9691 cat conftest.err
>&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); } && {
9694 test -z "$ac_c_werror_flag" ||
9695 test ! -s conftest.err
9696 } && test -s conftest
$ac_exeext &&
9697 $as_test_x conftest
$ac_exeext; then
9698 ac_cv_lib_svld_dlopen
=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.
$ac_ext >&5
9703 ac_cv_lib_svld_dlopen
=no
9706 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_lib_save_LIBS
9710 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9711 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9712 if test $ac_cv_lib_svld_dlopen = yes; then
9713 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9715 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9716 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9717 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 ac_check_lib_save_LIBS
=$LIBS
9722 cat >conftest.
$ac_ext <<_ACEOF
9725 cat confdefs.h
>>conftest.
$ac_ext
9726 cat >>conftest.
$ac_ext <<_ACEOF
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9744 rm -f conftest.
$ac_objext conftest
$ac_exeext
9745 if { (ac_try
="$ac_link"
9747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9751 (eval "$ac_link") 2>conftest.er1
9753 grep -v '^ *+' conftest.er1 >conftest.err
9755 cat conftest.err >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); } && {
9758 test -z "$ac_c_werror_flag" ||
9759 test ! -s conftest.err
9760 } && test -s conftest$ac_exeext &&
9761 $as_test_x conftest$ac_exeext; then
9762 ac_cv_lib_dld_dld_link=yes
9764 echo "$as_me: failed program was:" >&5
9765 sed 's/^/| /' conftest.$ac_ext >&5
9767 ac_cv_lib_dld_dld_link=no
9770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9771 conftest$ac_exeext conftest.$ac_ext
9772 LIBS=$ac_check_lib_save_LIBS
9774 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9775 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9776 if test $ac_cv_lib_dld_dld_link = yes; then
9777 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9798 if test "x$lt_cv_dlopen" != xno; then
9804 case $lt_cv_dlopen in
9806 save_CPPFLAGS="$CPPFLAGS"
9807 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9809 save_LDFLAGS="$LDFLAGS"
9810 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9813 LIBS="$lt_cv_dlopen_libs $LIBS"
9815 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9816 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9817 if test "${lt_cv_dlopen_self+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 if test "$cross_compiling" = yes; then :
9821 lt_cv_dlopen_self=cross
9823 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9824 lt_status=$lt_dlunknown
9825 cat > conftest.$ac_ext <<EOF
9826 #line 9826 "configure"
9827 #include "confdefs.h"
9836 # define LT_DLGLOBAL RTLD_GLOBAL
9839 # define LT_DLGLOBAL DL_GLOBAL
9841 # define LT_DLGLOBAL 0
9845 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9846 find out it does not work in some platform. */
9847 #ifndef LT_DLLAZY_OR_NOW
9849 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9852 # define LT_DLLAZY_OR_NOW DL_LAZY
9855 # define LT_DLLAZY_OR_NOW RTLD_NOW
9858 # define LT_DLLAZY_OR_NOW DL_NOW
9860 # define LT_DLLAZY_OR_NOW 0
9868 extern "C" void exit (int);
9871 void fnord() { int i=42;}
9874 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9875 int status = $lt_dlunknown;
9879 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9880 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9881 /* dlclose (self); */
9889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9890 (eval $ac_link) 2>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9894 (./conftest; exit; ) >&5 2>/dev/null
9897 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9898 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9899 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9902 # compilation failed
9903 lt_cv_dlopen_self=no
9910 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9911 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9913 if test "x$lt_cv_dlopen_self" = xyes; then
9914 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9915 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9916 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9917 if test "${lt_cv_dlopen_self_static+set}" = set; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 if test "$cross_compiling" = yes; then :
9921 lt_cv_dlopen_self_static=cross
9923 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9924 lt_status=$lt_dlunknown
9925 cat > conftest.$ac_ext <<EOF
9926 #line 9926 "configure"
9927 #include "confdefs.h"
9936 # define LT_DLGLOBAL RTLD_GLOBAL
9939 # define LT_DLGLOBAL DL_GLOBAL
9941 # define LT_DLGLOBAL 0
9945 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9946 find out it does not work in some platform. */
9947 #ifndef LT_DLLAZY_OR_NOW
9949 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9952 # define LT_DLLAZY_OR_NOW DL_LAZY
9955 # define LT_DLLAZY_OR_NOW RTLD_NOW
9958 # define LT_DLLAZY_OR_NOW DL_NOW
9960 # define LT_DLLAZY_OR_NOW 0
9968 extern "C" void exit (int);
9971 void fnord() { int i=42;}
9974 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9975 int status = $lt_dlunknown;
9979 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9980 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9981 /* dlclose (self); */
9989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9990 (eval $ac_link) 2>&5
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9994 (./conftest; exit; ) >&5 2>/dev/null
9997 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9998 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9999 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10002 # compilation failed
10003 lt_cv_dlopen_self_static=no
10010 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10011 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10014 CPPFLAGS="$save_CPPFLAGS"
10015 LDFLAGS="$save_LDFLAGS"
10020 case $lt_cv_dlopen_self in
10021 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10022 *) enable_dlopen_self=unknown ;;
10025 case $lt_cv_dlopen_self_static in
10026 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10027 *) enable_dlopen_self_static=unknown ;;
10032 # Report which library types will actually be built
10033 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10034 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10035 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10036 echo "${ECHO_T}$can_build_shared" >&6; }
10038 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10039 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10040 test "$can_build_shared" = "no" && enable_shared=no
10042 # On AIX, shared libraries and static libraries use the same namespace, and
10043 # are all built from PIC.
10046 test "$enable_shared" = yes && enable_static=no
10047 if test -n "$RANLIB"; then
10048 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10049 postinstall_cmds='$RANLIB $lib'
10054 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10055 test "$enable_shared" = yes && enable_static=no
10059 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10060 echo "${ECHO_T}$enable_shared" >&6; }
10062 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10063 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10064 # Make sure either enable_shared or enable_static is yes.
10065 test "$enable_shared" = yes || enable_static=yes
10066 { echo "$as_me:$LINENO: result: $enable_static" >&5
10067 echo "${ECHO_T}$enable_static" >&6; }
10069 # The else clause should only fire when bootstrapping the
10070 # libtool distribution, otherwise you forgot to ship ltmain.sh
10071 # with your package, and you will get complaints that there are
10072 # no rules to generate ltmain.sh.
10073 if test -f "$ltmain"; then
10074 # See if we are running on zsh, and set the options which allow our commands through
10075 # without removal of \ escapes.
10076 if test -n "${ZSH_VERSION+set}" ; then
10077 setopt NO_GLOB_SUBST
10079 # Now quote all the things that may contain metacharacters while being
10080 # careful not to overquote the AC_SUBSTed values. We take copies of the
10081 # variables and quote the copies for generation of the libtool script.
10082 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10084 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10085 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10086 deplibs_check_method reload_flag reload_cmds need_locks \
10087 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10088 lt_cv_sys_global_symbol_to_c_name_address \
10089 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10090 old_postinstall_cmds old_postuninstall_cmds \
10094 lt_prog_compiler_wl \
10095 lt_prog_compiler_pic \
10096 lt_prog_compiler_static \
10097 lt_prog_compiler_no_builtin_flag \
10098 export_dynamic_flag_spec \
10099 thread_safe_flag_spec \
10100 whole_archive_flag_spec \
10101 enable_shared_with_static_runtimes \
10103 old_archive_from_new_cmds \
10108 compiler_lib_search_path \
10110 archive_expsym_cmds \
10112 postuninstall_cmds \
10113 old_archive_from_expsyms_cmds \
10114 allow_undefined_flag \
10115 no_undefined_flag \
10116 export_symbols_cmds \
10117 hardcode_libdir_flag_spec \
10118 hardcode_libdir_flag_spec_ld \
10119 hardcode_libdir_separator \
10120 hardcode_automatic \
10122 module_expsym_cmds \
10123 lt_cv_prog_compiler_c_o \
10125 include_expsyms; do
10128 old_archive_cmds | \
10129 old_archive_from_new_cmds | \
10131 archive_expsym_cmds | \
10133 module_expsym_cmds | \
10134 old_archive_from_expsyms_cmds | \
10135 export_symbols_cmds | \
10136 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10137 postinstall_cmds | postuninstall_cmds | \
10138 old_postinstall_cmds | old_postuninstall_cmds | \
10139 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10140 # Double-quote double-evaled strings.
10141 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10144 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10150 *'\$0 --fallback-echo"')
10151 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10155 cfgfile="${ofile}T"
10156 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10158 { echo "$as_me:$LINENO: creating $ofile" >&5
10159 echo "$as_me: creating $ofile" >&6;}
10161 cat <<__EOF__ >> "$cfgfile"
10164 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10165 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10166 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10168 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10169 # Free Software Foundation, Inc.
10171 # This file is part of GNU Libtool:
10172 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10174 # This program is free software; you can redistribute it and/or modify
10175 # it under the terms of the GNU General Public License as published by
10176 # the Free Software Foundation; either version 2 of the License, or
10177 # (at your option) any later version.
10179 # This program is distributed in the hope that it will be useful, but
10180 # WITHOUT ANY WARRANTY; without even the implied warranty of
10181 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10182 # General Public License for more details.
10184 # You should have received a copy of the GNU General Public License
10185 # along with this program; if not, write to the Free Software
10186 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10188 # As a special exception to the GNU General Public License, if you
10189 # distribute this file as part of a program that contains a
10190 # configuration script generated by Autoconf, you may include it under
10191 # the same distribution terms that you use for the rest of that program.
10193 # A sed program that does not truncate output.
10196 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10197 Xsed="$SED -e 1s/^X//"
10199 # The HP-UX ksh and POSIX shell print the target directory to stdout
10200 # if CDPATH is set.
10201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10203 # The names of the tagged configurations supported by this script.
10206 # ### BEGIN LIBTOOL CONFIG
10208 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10210 # Shell to use when invoking shell scripts.
10213 # Whether or not to build shared libraries.
10214 build_libtool_libs=$enable_shared
10216 # Whether or not to build static libraries.
10217 build_old_libs=$enable_static
10219 # Whether or not to add -lc for building shared libraries.
10220 build_libtool_need_lc=$archive_cmds_need_lc
10222 # Whether or not to disallow shared libs when runtime libs are static
10223 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10225 # Whether or not to optimize for fast installation.
10226 fast_install=$enable_fast_install
10229 host_alias=$host_alias
10233 # The build system.
10234 build_alias=$build_alias
10238 # An echo program that does not interpret backslashes.
10243 AR_FLAGS=$lt_AR_FLAGS
10248 # LTCC compiler flags.
10249 LTCFLAGS=$lt_LTCFLAGS
10251 # A language-specific compiler.
10254 # Is the compiler the GNU C compiler?
10260 # The linker used to build libraries.
10263 # Whether we need hard or soft links.
10266 # A BSD-compatible nm program.
10269 # A symbol stripping program
10272 # Used to examine libraries when file_magic_cmd begins "file"
10273 MAGIC_CMD=$MAGIC_CMD
10275 # Used on cygwin: DLL creation program.
10278 # Used on cygwin: object dumper.
10281 # Used on cygwin: assembler.
10284 # The name of the directory that contains temporary libtool files.
10287 # How to create reloadable object files.
10288 reload_flag=$lt_reload_flag
10289 reload_cmds=$lt_reload_cmds
10291 # How to pass a linker flag through the compiler.
10292 wl=$lt_lt_prog_compiler_wl
10294 # Object file suffix (normally "o").
10295 objext="$ac_objext"
10297 # Old archive suffix (normally "a").
10300 # Shared library suffix (normally ".so").
10301 shrext_cmds='$shrext_cmds'
10303 # Executable file suffix (normally "").
10306 # Additional compiler flags for building library objects.
10307 pic_flag=$lt_lt_prog_compiler_pic
10310 # What is the maximum length of a command?
10311 max_cmd_len=$lt_cv_sys_max_cmd_len
10313 # Does compiler simultaneously support -c and -o options?
10314 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10316 # Must we lock files when doing compilation?
10317 need_locks=$lt_need_locks
10319 # Do we need the lib prefix for modules?
10320 need_lib_prefix=$need_lib_prefix
10322 # Do we need a version for libraries?
10323 need_version=$need_version
10325 # Whether dlopen is supported.
10326 dlopen_support=$enable_dlopen
10328 # Whether dlopen of programs is supported.
10329 dlopen_self=$enable_dlopen_self
10331 # Whether dlopen of statically linked programs is supported.
10332 dlopen_self_static=$enable_dlopen_self_static
10334 # Compiler flag to prevent dynamic linking.
10335 link_static_flag=$lt_lt_prog_compiler_static
10337 # Compiler flag to turn off builtin functions.
10338 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10340 # Compiler flag to allow reflexive dlopens.
10341 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10343 # Compiler flag to generate shared objects directly from archives.
10344 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10346 # Compiler flag to generate thread-safe objects.
10347 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10349 # Library versioning type.
10350 version_type=$version_type
10352 # Format of library name prefix.
10353 libname_spec=$lt_libname_spec
10355 # List of archive names. First name is the real one, the rest are links.
10356 # The last name is the one that the linker finds with -lNAME.
10357 library_names_spec=$lt_library_names_spec
10359 # The coded name of the library, if different from the real name.
10360 soname_spec=$lt_soname_spec
10362 # Commands used to build and install an old-style archive.
10364 old_archive_cmds=$lt_old_archive_cmds
10365 old_postinstall_cmds=$lt_old_postinstall_cmds
10366 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10368 # Create an old-style archive from a shared archive.
10369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10371 # Create a temporary old-style archive to link instead of a shared archive.
10372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10374 # Commands used to build and install a shared archive.
10375 archive_cmds=$lt_archive_cmds
10376 archive_expsym_cmds=$lt_archive_expsym_cmds
10377 postinstall_cmds=$lt_postinstall_cmds
10378 postuninstall_cmds=$lt_postuninstall_cmds
10380 # Commands used to build a loadable module (assumed same as above if empty)
10381 module_cmds=$lt_module_cmds
10382 module_expsym_cmds=$lt_module_expsym_cmds
10384 # Commands to strip libraries.
10385 old_striplib=$lt_old_striplib
10386 striplib=$lt_striplib
10388 # Dependencies to place before the objects being linked to create a
10390 predep_objects=$lt_predep_objects
10392 # Dependencies to place after the objects being linked to create a
10394 postdep_objects=$lt_postdep_objects
10396 # Dependencies to place before the objects being linked to create a
10398 predeps=$lt_predeps
10400 # Dependencies to place after the objects being linked to create a
10402 postdeps=$lt_postdeps
10404 # The library search path used internally by the compiler when linking
10405 # a shared library.
10406 compiler_lib_search_path=$lt_compiler_lib_search_path
10408 # Method to check whether dependent libraries are shared objects.
10409 deplibs_check_method=$lt_deplibs_check_method
10411 # Command to use when deplibs_check_method == file_magic.
10412 file_magic_cmd=$lt_file_magic_cmd
10414 # Flag that allows shared libraries with undefined symbols to be built.
10415 allow_undefined_flag=$lt_allow_undefined_flag
10417 # Flag that forces no undefined symbols.
10418 no_undefined_flag=$lt_no_undefined_flag
10420 # Commands used to finish a libtool library installation in a directory.
10421 finish_cmds=$lt_finish_cmds
10423 # Same as above, but a single script fragment to be evaled but not shown.
10424 finish_eval=$lt_finish_eval
10426 # Take the output of nm and produce a listing of raw symbols and C names.
10427 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10429 # Transform the output of nm in a proper C declaration
10430 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10432 # Transform the output of nm in a C name address pair
10433 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10435 # This is the shared library runtime path variable.
10436 runpath_var=$runpath_var
10438 # This is the shared library path variable.
10439 shlibpath_var=$shlibpath_var
10441 # Is shlibpath searched before the hard-coded library search path?
10442 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10444 # How to hardcode a shared library path into an executable.
10445 hardcode_action=$hardcode_action
10447 # Whether we should hardcode library paths into libraries.
10448 hardcode_into_libs=$hardcode_into_libs
10450 # Flag to hardcode \$libdir into a binary during linking.
10451 # This must work even if \$libdir does not exist.
10452 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10454 # If ld is used when linking, flag to hardcode \$libdir into
10455 # a binary during linking. This must work even if \$libdir does
10457 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10459 # Whether we need a single -rpath flag with a separated argument.
10460 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10462 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10463 # resulting binary.
10464 hardcode_direct=$hardcode_direct
10466 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10467 # resulting binary.
10468 hardcode_minus_L=$hardcode_minus_L
10470 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10471 # the resulting binary.
10472 hardcode_shlibpath_var=$hardcode_shlibpath_var
10474 # Set to yes if building a shared library automatically hardcodes DIR into the library
10475 # and all subsequent libraries and executables linked against it.
10476 hardcode_automatic=$hardcode_automatic
10478 # Variables whose values should be saved in libtool wrapper scripts and
10479 # restored at relink time.
10480 variables_saved_for_relink="$variables_saved_for_relink"
10482 # Whether libtool must link a program against all its dependency libraries.
10483 link_all_deplibs=$link_all_deplibs
10485 # Compile-time system search path for libraries
10486 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10488 # Run-time system search path for libraries
10489 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10491 # Fix the shell variable \$srcfile for the compiler.
10492 fix_srcfile_path="$fix_srcfile_path"
10494 # Set to yes if exported symbols are required.
10495 always_export_symbols=$always_export_symbols
10497 # The commands to list exported symbols.
10498 export_symbols_cmds=$lt_export_symbols_cmds
10500 # The commands to extract the exported symbol list from a shared archive.
10501 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10503 # Symbols that should not be listed in the preloaded symbols.
10504 exclude_expsyms=$lt_exclude_expsyms
10506 # Symbols that must always be exported.
10507 include_expsyms=$lt_include_expsyms
10509 # ### END LIBTOOL CONFIG
10516 cat <<\EOF >> "$cfgfile"
10518 # AIX sometimes has problems with the GCC collect2 program. For some
10519 # reason, if we set the COLLECT_NAMES environment variable, the problems
10520 # vanish in a puff of smoke.
10521 if test "X${COLLECT_NAMES+set}" != Xset; then
10523 export COLLECT_NAMES
10529 # We use sed instead of cat because bash on DJGPP gets confused if
10530 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10531 # text mode, it properly converts lines to CR/LF. This bash problem
10532 # is reportedly fixed, but why not run on old versions too?
10533 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10535 mv -f "$cfgfile" "$ofile" || \
10536 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10540 # If there is no Makefile yet, we rely on a make rule to execute
10541 # `config.status
--recheck' to rerun these tests and create the
10542 # libtool script then.
10543 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10544 if test -f "$ltmain_in"; then
10545 test -f Makefile && make "$ltmain"
10551 ac_cpp='$CPP $CPPFLAGS'
10552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10553 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10559 # Check whether --with-tags was given.
10560 if test "${with_tags+set}" = set; then
10561 withval=$with_tags; tagnames="$withval"
10565 if test -f "$ltmain" && test -n "$tagnames"; then
10566 if test ! -f "${ofile}"; then
10567 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10568 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10571 if test -z "$LTCC"; then
10572 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10573 if test -z "$LTCC"; then
10574 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10575 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10577 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10578 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10581 if test -z "$LTCFLAGS"; then
10582 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10585 # Extract list of available tagged configurations in $ofile.
10586 # Note that this assumes the entire list is on one line.
10587 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10589 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10590 for tagname in $tagnames; do
10592 # Check whether tagname contains only valid characters
10593 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10595 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10596 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10597 { (exit 1); exit 1; }; }
10601 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10603 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10604 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10605 { (exit 1); exit 1; }; }
10608 # Update the list of available tags.
10609 if test -n "$tagname"; then
10610 echo appending configuration tag \"$tagname\" to $ofile
10614 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10615 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10616 (test "X$CXX" != "Xg++"))) ; then
10618 ac_cpp='$CXXCPP $CPPFLAGS'
10619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10626 archive_cmds_need_lc_CXX=no
10627 allow_undefined_flag_CXX=
10628 always_export_symbols_CXX=no
10629 archive_expsym_cmds_CXX=
10630 export_dynamic_flag_spec_CXX=
10631 hardcode_direct_CXX=no
10632 hardcode_libdir_flag_spec_CXX=
10633 hardcode_libdir_flag_spec_ld_CXX=
10634 hardcode_libdir_separator_CXX=
10635 hardcode_minus_L_CXX=no
10636 hardcode_shlibpath_var_CXX=unsupported
10637 hardcode_automatic_CXX=no
10639 module_expsym_cmds_CXX=
10640 link_all_deplibs_CXX=unknown
10641 old_archive_cmds_CXX=$old_archive_cmds
10642 no_undefined_flag_CXX=
10643 whole_archive_flag_spec_CXX=
10644 enable_shared_with_static_runtimes_CXX=no
10646 # Dependencies to place before and after the object being linked:
10647 predep_objects_CXX=
10648 postdep_objects_CXX=
10651 compiler_lib_search_path_CXX=
10653 # Source file extension for C++ test sources.
10656 # Object file extension for compiled C++ test sources.
10660 # Code to be used in simple compile tests
10661 lt_simple_compile_test_code="int some_variable = 0;\n"
10663 # Code to be used in simple link tests
10664 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10666 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10668 # If no C compiler was specified, use CC.
10671 # If no C compiler flags were specified, use CFLAGS.
10672 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10674 # Allow CC to be a program name with arguments.
10678 # save warnings/boilerplate of simple test code
10679 ac_outfile=conftest.$ac_objext
10680 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10681 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10682 _lt_compiler_boilerplate=`cat conftest.err
`
10685 ac_outfile=conftest.$ac_objext
10686 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10687 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10688 _lt_linker_boilerplate=`cat conftest.err
`
10692 # Allow CC to be a program name with arguments.
10697 lt_save_with_gnu_ld=$with_gnu_ld
10698 lt_save_path_LD=$lt_cv_path_LD
10699 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10700 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10702 $as_unset lt_cv_prog_gnu_ld
10704 if test -n "${lt_cv_path_LDCXX+set}"; then
10705 lt_cv_path_LD=$lt_cv_path_LDCXX
10707 $as_unset lt_cv_path_LD
10709 test -z "${LDCXX+set}" || LD=$LDCXX
10713 for cc_temp in $compiler""; do
10715 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10716 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10721 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10724 # We don't want -fno-exception wen compiling C++ code, so set the
10725 # no_builtin_flag separately
10726 if test "$GXX" = yes; then
10727 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10729 lt_prog_compiler_no_builtin_flag_CXX=
10732 if test "$GXX" = yes; then
10733 # Set up default GNU C++ configuration
10736 # Check whether --with-gnu-ld was given.
10737 if test "${with_gnu_ld+set}" = set; then
10738 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10744 if test "$GCC" = yes; then
10745 # Check if gcc -print-prog-name=ld gives a path.
10746 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10747 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10750 # gcc leaves a trailing carriage return which upsets mingw
10751 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10753 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10756 # Accept absolute paths.
10758 re_direlt='/[^/][^/]*/\.\./'
10759 # Canonicalize the pathname of ld
10760 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10761 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10762 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10764 test -z "$LD" && LD="$ac_prog"
10767 # If it fails, then pretend we aren't using GCC.
10771 # If it is relative, then search for the first ld in PATH.
10772 with_gnu_ld=unknown
10775 elif test "$with_gnu_ld" = yes; then
10776 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10779 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10782 if test "${lt_cv_path_LD+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 if test -z "$LD"; then
10786 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10787 for ac_dir in $PATH; do
10789 test -z "$ac_dir" && ac_dir=.
10790 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10791 lt_cv_path_LD="$ac_dir/$ac_prog"
10792 # Check to see if the program is GNU ld. I'd rather use --version,
10793 # but apparently some variants of GNU ld only accept -v.
10794 # Break only if it was the GNU/non-GNU ld that we prefer.
10795 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10796 *GNU* | *'with BFD'*)
10797 test "$with_gnu_ld" != no && break
10800 test "$with_gnu_ld" != yes && break
10807 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10811 LD="$lt_cv_path_LD"
10812 if test -n "$LD"; then
10813 { echo "$as_me:$LINENO: result: $LD" >&5
10814 echo "${ECHO_T}$LD" >&6; }
10816 { echo "$as_me:$LINENO: result: no" >&5
10817 echo "${ECHO_T}no" >&6; }
10819 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10820 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10821 { (exit 1); exit 1; }; }
10822 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10823 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10824 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10828 case `$LD -v 2>&1 </dev
/null
` in
10829 *GNU* | *'with BFD'*)
10830 lt_cv_prog_gnu_ld=yes
10833 lt_cv_prog_gnu_ld=no
10837 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10839 with_gnu_ld=$lt_cv_prog_gnu_ld
10843 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10844 # archiving commands below assume that GNU ld is being used.
10845 if test "$with_gnu_ld" = yes; then
10846 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10847 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'
10849 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10850 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10852 # If archive_cmds runs LD, not CC, wlarc should be empty
10853 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10854 # investigate it a little bit more. (MM)
10857 # ancient GNU ld didn't support --whole-archive et. al.
10858 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10859 grep 'no-whole-archive' > /dev/null; then
10860 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10862 whole_archive_flag_spec_CXX=
10868 # A generic and very simple default shared library creation
10869 # command for GNU C++ for the case where it uses the native
10870 # linker, instead of GNU ld. If possible, this setting should
10871 # overridden to take advantage of the native linker features on
10872 # the platform it is being used on.
10873 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10876 # Commands to make compiler produce verbose output that lists
10877 # what "hidden" libraries, object files and flags are used when
10878 # linking a shared library.
10879 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10887 # PORTME: fill in a description of your system's C++ link characteristics
10888 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10889 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10893 # FIXME: insert proper C++ library support
10897 if test "$host_cpu" = ia64; then
10898 # On IA64, the linker does run time linking by default, so we don't
10899 # have to do anything special.
10900 aix_use_runtimelinking=no
10901 exp_sym_flag='-Bexport'
10904 aix_use_runtimelinking=no
10906 # Test if we are trying to use run time linking or normal
10907 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10908 # need to do runtime linking.
10909 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10910 for ld_flag in $LDFLAGS; do
10913 aix_use_runtimelinking=yes
10921 exp_sym_flag='-bexport'
10922 no_entry_flag='-bnoentry'
10925 # When large executables or shared objects are built, AIX ld can
10926 # have problems creating the table of contents. If linking a library
10927 # or program results in "error TOC overflow" add -mminimal-toc to
10928 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10929 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10931 archive_cmds_CXX=''
10932 hardcode_direct_CXX=yes
10933 hardcode_libdir_separator_CXX=':'
10934 link_all_deplibs_CXX=yes
10936 if test "$GXX" = yes; then
10937 case $host_os in aix4.[012]|aix4.[012].*)
10938 # We only want to do this on AIX 4.2 and lower, the check
10939 # below for broken collect2 doesn't work under 4.3+
10940 collect2name=`${CC} -print-prog-name=collect2
`
10941 if test -f "$collect2name" && \
10942 strings "$collect2name" | grep resolve_lib_name >/dev/null
10944 # We have reworked collect2
10945 hardcode_direct_CXX=yes
10947 # We have old collect2
10948 hardcode_direct_CXX=unsupported
10949 # It fails to find uninstalled libraries when the uninstalled
10950 # path is not listed in the libpath. Setting hardcode_minus_L
10951 # to unsupported forces relinking
10952 hardcode_minus_L_CXX=yes
10953 hardcode_libdir_flag_spec_CXX='-L$libdir'
10954 hardcode_libdir_separator_CXX=
10958 shared_flag='-shared'
10959 if test "$aix_use_runtimelinking" = yes; then
10960 shared_flag="$shared_flag "'${wl}-G'
10964 if test "$host_cpu" = ia64; then
10965 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10966 # chokes on -Wl,-G. The following line is correct:
10969 if test "$aix_use_runtimelinking" = yes; then
10970 shared_flag='${wl}-G'
10972 shared_flag='${wl}-bM:SRE'
10977 # It seems that -bexpall does not export symbols beginning with
10978 # underscore (_), so it is better to generate a list of symbols to export.
10979 always_export_symbols_CXX=yes
10980 if test "$aix_use_runtimelinking" = yes; then
10981 # Warning - without using the other runtime loading flags (-brtl),
10982 # -berok will link without error, but may produce a broken library.
10983 allow_undefined_flag_CXX='-berok'
10984 # Determine the default libpath from the value encoded in an empty executable.
10985 cat >conftest.$ac_ext <<_ACEOF
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
11000 rm -f conftest.$ac_objext conftest$ac_exeext
11001 if { (ac_try="$ac_link"
11002 case "(($ac_try" in
11003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11004 *) ac_try_echo
=$ac_try;;
11006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11007 (eval "$ac_link") 2>conftest.er1
11009 grep -v '^ *+' conftest.er1
>conftest.err
11011 cat conftest.err
>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); } && {
11014 test -z "$ac_cxx_werror_flag" ||
11015 test ! -s conftest.err
11016 } && test -s conftest
$ac_exeext &&
11017 $as_test_x conftest
$ac_exeext; then
11019 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11021 # Check for a 64-bit object if we didn't find anything.
11022 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11032 conftest
$ac_exeext conftest.
$ac_ext
11033 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11035 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11037 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"
11039 if test "$host_cpu" = ia64
; then
11040 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11041 allow_undefined_flag_CXX
="-z nodefs"
11042 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"
11044 # Determine the default libpath from the value encoded in an empty executable.
11045 cat >conftest.
$ac_ext <<_ACEOF
11048 cat confdefs.h
>>conftest.
$ac_ext
11049 cat >>conftest.
$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11060 rm -f conftest.
$ac_objext conftest
$ac_exeext
11061 if { (ac_try
="$ac_link"
11062 case "(($ac_try" in
11063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11064 *) ac_try_echo=$ac_try;;
11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11067 (eval "$ac_link") 2>conftest.er1
11069 grep -v '^ *+' conftest.er1 >conftest.err
11071 cat conftest.err >&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } && {
11074 test -z "$ac_cxx_werror_flag" ||
11075 test ! -s conftest.err
11076 } && test -s conftest$ac_exeext &&
11077 $as_test_x conftest$ac_exeext; then
11079 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11081 # Check for a 64-bit object if we didn't find anything.
11082 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.$ac_ext >&5
11091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11092 conftest$ac_exeext conftest.$ac_ext
11093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11095 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11096 # Warning - without using the other run time loading flags,
11097 # -berok will link without error, but may produce a broken library.
11098 no_undefined_flag_CXX=' ${wl}-bernotok'
11099 allow_undefined_flag_CXX=' ${wl}-berok'
11100 # Exported symbols can be pulled into shared objects from archives
11101 whole_archive_flag_spec_CXX='$convenience'
11102 archive_cmds_need_lc_CXX=yes
11103 # This is similar to how AIX traditionally builds its shared libraries.
11104 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'
11110 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11111 allow_undefined_flag_CXX=unsupported
11112 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11113 # support --undefined. This deserves some investigation. FIXME
11114 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11121 case $cc_basename in
11123 # FIXME: insert proper C++ library support
11129 cygwin* | mingw* | pw32*)
11130 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11131 # as there is no search path for DLLs.
11132 hardcode_libdir_flag_spec_CXX='-L$libdir'
11133 allow_undefined_flag_CXX=unsupported
11134 always_export_symbols_CXX=no
11135 enable_shared_with_static_runtimes_CXX=yes
11137 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11138 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'
11139 # If the export-symbols file already is a .def file (1st line
11140 # is EXPORTS), use it as is; otherwise, prepend...
11141 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11142 cp $export_symbols $output_objdir/$soname.def;
11144 echo EXPORTS > $output_objdir/$soname.def;
11145 cat $export_symbols >> $output_objdir/$soname.def;
11147 $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'
11152 darwin* | rhapsody*)
11154 rhapsody* | darwin1.[012])
11155 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11158 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11159 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11161 case ${MACOSX_DEPLOYMENT_TARGET} in
11163 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11166 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11172 archive_cmds_need_lc_CXX=no
11173 hardcode_direct_CXX=no
11174 hardcode_automatic_CXX=yes
11175 hardcode_shlibpath_var_CXX=unsupported
11176 whole_archive_flag_spec_CXX=''
11177 link_all_deplibs_CXX=yes
11179 if test "$GXX" = yes ; then
11180 lt_int_apple_cc_single_mod=no
11181 output_verbose_link_cmd='echo'
11182 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11183 lt_int_apple_cc_single_mod=yes
11185 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11186 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11188 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'
11190 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11191 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11192 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11193 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}'
11195 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}'
11197 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}'
11199 case $cc_basename in
11201 output_verbose_link_cmd='echo'
11202 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11203 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11204 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11205 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11206 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}'
11216 case $cc_basename in
11218 # FIXME: insert proper C++ library support
11222 # Green Hills C++ Compiler
11223 # FIXME: insert proper C++ library support
11227 # FIXME: insert proper C++ library support
11233 # C++ shared libraries reported to be fairly broken before switch to ELF
11237 archive_cmds_need_lc_CXX=no
11239 freebsd* | kfreebsd*-gnu | dragonfly*)
11240 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11247 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11248 hardcode_libdir_separator_CXX=:
11249 export_dynamic_flag_spec_CXX='${wl}-E'
11250 hardcode_direct_CXX=yes
11251 hardcode_minus_L_CXX=yes # Not in the search PATH,
11252 # but as the default
11253 # location of the library.
11255 case $cc_basename in
11257 # FIXME: insert proper C++ library support
11261 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'
11262 # Commands to make compiler produce verbose output that lists
11263 # what "hidden" libraries, object files and flags are used when
11264 # linking a shared library.
11266 # There doesn't appear to be a way to prevent this compiler from
11267 # explicitly linking system object files so we need to strip them
11268 # from the output so that they don't get included in the library
11270 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'
11273 if test "$GXX" = yes; then
11274 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'
11276 # FIXME: insert proper C++ library support
11283 if test $with_gnu_ld = no; then
11284 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11285 hardcode_libdir_separator_CXX=:
11289 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11292 export_dynamic_flag_spec_CXX='${wl}-E'
11298 hardcode_direct_CXX=no
11299 hardcode_shlibpath_var_CXX=no
11302 hardcode_direct_CXX=yes
11303 hardcode_minus_L_CXX=yes # Not in the search PATH,
11304 # but as the default
11305 # location of the library.
11309 case $cc_basename in
11311 # FIXME: insert proper C++ library support
11317 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11320 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11323 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11326 # Commands to make compiler produce verbose output that lists
11327 # what "hidden" libraries, object files and flags are used when
11328 # linking a shared library.
11330 # There doesn't appear to be a way to prevent this compiler from
11331 # explicitly linking system object files so we need to strip them
11332 # from the output so that they don't get included in the library
11334 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'
11337 if test "$GXX" = yes; then
11338 if test $with_gnu_ld = no; then
11341 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11344 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11347 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'
11352 # FIXME: insert proper C++ library support
11359 hardcode_direct_CXX=no
11360 hardcode_shlibpath_var_CXX=no
11361 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11362 export_dynamic_flag_spec_CXX='${wl}-E'
11363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11364 # Instead, shared libraries are loaded at an image base (0x10000000 by
11365 # default) and relocated if they conflict, which is a slow very memory
11366 # consuming and fragmenting process. To avoid this, we pick a random,
11367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11369 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'
11370 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'
11373 case $cc_basename in
11376 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'
11378 # Archives containing C++ object files must be created using
11379 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11380 # necessary to make sure instantiated templates are included
11382 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11385 if test "$GXX" = yes; then
11386 if test "$with_gnu_ld" = no; then
11387 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'
11389 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'
11392 link_all_deplibs_CXX=yes
11395 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11396 hardcode_libdir_separator_CXX=:
11399 case $cc_basename in
11401 # Kuck and Associates, Inc. (KAI) C++ Compiler
11403 # KCC will only create a shared library if the output file
11404 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11405 # to its proper name (with version) after linking.
11406 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'
11407 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'
11408 # Commands to make compiler produce verbose output that lists
11409 # what "hidden" libraries, object files and flags are used when
11410 # linking a shared library.
11412 # There doesn't appear to be a way to prevent this compiler from
11413 # explicitly linking system object files so we need to strip them
11414 # from the output so that they don't get included in the library
11416 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'
11418 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11419 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11421 # Archives containing C++ object files must be created using
11422 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11423 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11428 # version 8.0 and above of icpc choke on multiply defined symbols
11429 # if we add $predep_objects and $postdep_objects, however 7.1 and
11430 # earlier do not add the objects themselves.
11431 case `$CC -V 2>&1` in
11433 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11434 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'
11436 *) # Version 8.0 or newer
11439 ia64
*) tmp_idyn
=' -i_dynamic';;
11441 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11442 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'
11445 archive_cmds_need_lc_CXX
=no
11446 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11447 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11448 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11451 # Portland Group C++ compiler
11452 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11453 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'
11455 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11456 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11457 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'
11461 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11462 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'
11464 runpath_var
=LD_RUN_PATH
11465 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11466 hardcode_libdir_separator_CXX
=:
11468 # Commands to make compiler produce verbose output that lists
11469 # what "hidden" libraries, object files and flags are used when
11470 # linking a shared library.
11472 # There doesn't appear to be a way to prevent this compiler from
11473 # explicitly linking system object files so we need to strip them
11474 # from the output so that they don't get included in the library
11476 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'
11481 # FIXME: insert proper C++ library support
11485 # FIXME: insert proper C++ library support
11489 case $cc_basename in
11491 # FIXME: insert proper C++ library support
11495 # FIXME: insert proper C++ library support
11501 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11502 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11504 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11505 hardcode_direct_CXX
=yes
11506 hardcode_shlibpath_var_CXX
=no
11508 # Workaround some broken pre-1.5 toolchains
11509 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11512 # C++ shared libraries are fairly broken
11516 hardcode_direct_CXX
=yes
11517 hardcode_shlibpath_var_CXX
=no
11518 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11519 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11520 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11521 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11522 export_dynamic_flag_spec_CXX
='${wl}-E'
11523 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11525 output_verbose_link_cmd
='echo'
11528 case $cc_basename in
11530 # Kuck and Associates, Inc. (KAI) C++ Compiler
11532 # KCC will only create a shared library if the output file
11533 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11534 # to its proper name (with version) after linking.
11535 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'
11537 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11538 hardcode_libdir_separator_CXX
=:
11540 # Archives containing C++ object files must be created using
11541 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11542 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11546 # Rational C++ 2.4.1
11547 # FIXME: insert proper C++ library support
11551 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11552 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'
11554 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11555 hardcode_libdir_separator_CXX
=:
11557 # Commands to make compiler produce verbose output that lists
11558 # what "hidden" libraries, object files and flags are used when
11559 # linking a shared library.
11561 # There doesn't appear to be a way to prevent this compiler from
11562 # explicitly linking system object files so we need to strip them
11563 # from the output so that they don't get included in the library
11565 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'
11568 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11569 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11570 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'
11572 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11573 hardcode_libdir_separator_CXX
=:
11575 # Commands to make compiler produce verbose output that lists
11576 # what "hidden" libraries, object files and flags are used when
11577 # linking a shared library.
11578 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11581 # FIXME: insert proper C++ library support
11588 case $cc_basename in
11590 # Kuck and Associates, Inc. (KAI) C++ Compiler
11592 # KCC will only create a shared library if the output file
11593 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11594 # to its proper name (with version) after linking.
11595 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'
11597 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11598 hardcode_libdir_separator_CXX
=:
11600 # Archives containing C++ object files must be created using
11601 # the KAI C++ compiler.
11602 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11605 # Rational C++ 2.4.1
11606 # FIXME: insert proper C++ library support
11610 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11611 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'
11612 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11613 echo "-hidden">> $lib.exp~
11614 $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~
11617 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11618 hardcode_libdir_separator_CXX
=:
11620 # Commands to make compiler produce verbose output that lists
11621 # what "hidden" libraries, object files and flags are used when
11622 # linking a shared library.
11624 # There doesn't appear to be a way to prevent this compiler from
11625 # explicitly linking system object files so we need to strip them
11626 # from the output so that they don't get included in the library
11628 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'
11631 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11632 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11633 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'
11635 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11636 hardcode_libdir_separator_CXX
=:
11638 # Commands to make compiler produce verbose output that lists
11639 # what "hidden" libraries, object files and flags are used when
11640 # linking a shared library.
11641 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11644 # FIXME: insert proper C++ library support
11651 # FIXME: insert proper C++ library support
11655 case $cc_basename in
11658 # FIXME: insert proper C++ library support
11663 # FIXME: insert proper C++ library support
11667 # FIXME: insert proper C++ library support
11673 case $cc_basename in
11675 # Sun C++ 4.2, 5.x and Centerline C++
11676 archive_cmds_need_lc_CXX
=yes
11677 no_undefined_flag_CXX
=' -zdefs'
11678 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11679 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11680 $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'
11682 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11683 hardcode_shlibpath_var_CXX
=no
11685 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11687 # The C++ compiler is used as linker so we must use $wl
11688 # flag to pass the commands to the underlying system
11689 # linker. We must also pass each convience library through
11690 # to the system linker between allextract/defaultextract.
11691 # The C++ compiler will combine linker options so we
11692 # cannot just pass the convience library names through
11694 # Supported since Solaris 2.6 (maybe 2.5.1?)
11695 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11698 link_all_deplibs_CXX
=yes
11700 output_verbose_link_cmd
='echo'
11702 # Archives containing C++ object files must be created using
11703 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11704 # necessary to make sure instantiated templates are included
11706 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11709 # Green Hills C++ Compiler
11710 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11712 # The C++ compiler must be used to create the archive.
11713 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11716 # GNU C++ compiler with Solaris linker
11717 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11718 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11719 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11720 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11721 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11722 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11724 # Commands to make compiler produce verbose output that lists
11725 # what "hidden" libraries, object files and flags are used when
11726 # linking a shared library.
11727 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11729 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11731 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11732 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11733 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11735 # Commands to make compiler produce verbose output that lists
11736 # what "hidden" libraries, object files and flags are used when
11737 # linking a shared library.
11738 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11741 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11746 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11747 no_undefined_flag_CXX
='${wl}-z,text'
11748 archive_cmds_need_lc_CXX
=no
11749 hardcode_shlibpath_var_CXX
=no
11750 runpath_var
='LD_RUN_PATH'
11752 case $cc_basename in
11754 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11755 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11758 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11759 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11763 sysv5
* | sco3.2v5
* | sco5v6
*)
11764 # Note: We can NOT use -z defs as we might desire, because we do not
11765 # link with -lc, and that would cause any symbols used from libc to
11766 # always be unresolved, which means just about no library would
11767 # ever link correctly. If we're not using GNU ld we use -z text
11768 # though, which does catch some bad symbols but isn't as heavy-handed
11770 # For security reasons, it is highly recommended that you always
11771 # use absolute paths for naming shared libraries, and exclude the
11772 # DT_RUNPATH tag from executables and libraries. But doing so
11773 # requires that you compile everything twice, which is a pain.
11774 # So that behaviour is only enabled if SCOABSPATH is set to a
11775 # non-empty value in the environment. Most likely only useful for
11776 # creating official distributions of packages.
11777 # This is a hack until libtool officially supports absolute path
11778 # names for shared libraries.
11779 no_undefined_flag_CXX
='${wl}-z,text'
11780 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11781 archive_cmds_need_lc_CXX
=no
11782 hardcode_shlibpath_var_CXX
=no
11783 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11784 hardcode_libdir_separator_CXX
=':'
11785 link_all_deplibs_CXX
=yes
11786 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11787 runpath_var
='LD_RUN_PATH'
11789 case $cc_basename in
11791 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11792 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11795 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11796 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11801 case $cc_basename in
11803 # NonStop-UX NCC 3.20
11804 # FIXME: insert proper C++ library support
11808 # FIXME: insert proper C++ library support
11814 # FIXME: insert proper C++ library support
11818 # FIXME: insert proper C++ library support
11822 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11823 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11824 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11830 cat > conftest.
$ac_ext <<EOF
11834 Foo (void) { a = 0; }
11840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11841 (eval $ac_compile) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; then
11845 # Parse the compiler output and extract the necessary
11846 # objects, libraries and library flags.
11848 # Sentinel used to keep track of whether or not we are before
11849 # the conftest object file.
11850 pre_test_object_deps_done
=no
11852 # The `*' in the case matches for architectures that use `case' in
11853 # $output_verbose_cmd can trigger glob expansion during the loop
11854 # eval without this substitution.
11855 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11857 for p
in `eval $output_verbose_link_cmd`; do
11861 # Some compilers place space between "-{L,R}" and the path.
11862 # Remove the space.
11863 if test $p = "-L" \
11864 ||
test $p = "-R"; then
11871 if test "$pre_test_object_deps_done" = no
; then
11874 # Internal compiler library paths should come after those
11875 # provided the user. The postdeps already come after the
11876 # user supplied libs so there is no need to process them.
11877 if test -z "$compiler_lib_search_path_CXX"; then
11878 compiler_lib_search_path_CXX
="${prev}${p}"
11880 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11883 # The "-l" case would never come before the object being
11884 # linked, so don't bother handling this case.
11887 if test -z "$postdeps_CXX"; then
11888 postdeps_CXX
="${prev}${p}"
11890 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11896 # This assumes that the test object file only shows up
11897 # once in the compiler output.
11898 if test "$p" = "conftest.$objext"; then
11899 pre_test_object_deps_done
=yes
11903 if test "$pre_test_object_deps_done" = no
; then
11904 if test -z "$predep_objects_CXX"; then
11905 predep_objects_CXX
="$p"
11907 predep_objects_CXX
="$predep_objects_CXX $p"
11910 if test -z "$postdep_objects_CXX"; then
11911 postdep_objects_CXX
="$p"
11913 postdep_objects_CXX
="$postdep_objects_CXX $p"
11918 *) ;; # Ignore the rest.
11926 echo "libtool.m4: error: problem compiling CXX test program"
11929 $rm -f confest.
$objext
11931 # PORTME: override above test on systems where it is broken
11934 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11935 # hack all around it, let's just trust "g++" to DTRT.
11936 predep_objects_CXX
=
11937 postdep_objects_CXX
=
11942 case $cc_basename in
11944 # Adding this requires a known-good setup of shared libraries for
11945 # Sun compiler versions before 5.6, else PIC objects from an old
11946 # archive will be linked into the output, leading to subtle bugs.
11947 postdeps_CXX
='-lCstd -lCrun'
11954 case " $postdeps_CXX " in
11955 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11958 lt_prog_compiler_wl_CXX
=
11959 lt_prog_compiler_pic_CXX
=
11960 lt_prog_compiler_static_CXX
=
11962 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11963 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11965 # C++ specific cases for pic, static, wl, etc.
11966 if test "$GXX" = yes; then
11967 lt_prog_compiler_wl_CXX
='-Wl,'
11968 lt_prog_compiler_static_CXX
='-static'
11972 # All AIX code is PIC.
11973 if test "$host_cpu" = ia64
; then
11974 # AIX 5 now supports IA64 processor
11975 lt_prog_compiler_static_CXX
='-Bstatic'
11979 # FIXME: we need at least 68020 code to build shared libraries, but
11980 # adding the `-m68020' flag to GCC prevents building anything better,
11982 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11984 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11985 # PIC is the default for these OSes.
11987 mingw
* | os2
* | pw32
*)
11988 # This hack is so that the source file can tell whether it is being
11989 # built for inclusion in a dll (and should export symbols for example).
11990 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11992 darwin
* | rhapsody
*)
11993 # PIC is the default on this platform
11994 # Common symbols not allowed in MH_DYLIB files
11995 lt_prog_compiler_pic_CXX
='-fno-common'
11998 # DJGPP does not support shared libraries at all
11999 lt_prog_compiler_pic_CXX
=
12002 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12003 # Instead, we relocate shared libraries at runtime.
12006 if test -d /usr
/nec
; then
12007 lt_prog_compiler_pic_CXX
=-Kconform_pic
12011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12012 # not for PA HP-UX.
12017 lt_prog_compiler_pic_CXX
='-fPIC'
12022 lt_prog_compiler_pic_CXX
='-fPIC'
12028 # All AIX code is PIC.
12029 if test "$host_cpu" = ia64
; then
12030 # AIX 5 now supports IA64 processor
12031 lt_prog_compiler_static_CXX
='-Bstatic'
12033 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12037 case $cc_basename in
12039 # Green Hills C++ Compiler
12040 # _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"
12045 # PIC is the default on this platform
12046 # Common symbols not allowed in MH_DYLIB files
12047 case $cc_basename in
12049 lt_prog_compiler_pic_CXX
='-qnocommon'
12050 lt_prog_compiler_wl_CXX
='-Wl,'
12055 case $cc_basename in
12057 lt_prog_compiler_pic_CXX
='-KPIC'
12060 # Green Hills C++ Compiler
12061 lt_prog_compiler_pic_CXX
='-pic'
12067 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12068 # FreeBSD uses GNU C++
12070 hpux9
* | hpux10
* | hpux11
*)
12071 case $cc_basename in
12073 lt_prog_compiler_wl_CXX
='-Wl,'
12074 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12075 if test "$host_cpu" != ia64
; then
12076 lt_prog_compiler_pic_CXX
='+Z'
12080 lt_prog_compiler_wl_CXX
='-Wl,'
12081 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12087 lt_prog_compiler_pic_CXX
='+Z'
12096 # This is c89, which is MS Visual C++ (no shared libs)
12097 # Anyone wants to do a port?
12099 irix5
* | irix6
* | nonstopux
*)
12100 case $cc_basename in
12102 lt_prog_compiler_wl_CXX
='-Wl,'
12103 lt_prog_compiler_static_CXX
='-non_shared'
12104 # CC pic flag -KPIC is the default.
12111 case $cc_basename in
12114 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12115 lt_prog_compiler_pic_CXX
='-fPIC'
12119 lt_prog_compiler_wl_CXX
='-Wl,'
12120 lt_prog_compiler_pic_CXX
='-KPIC'
12121 lt_prog_compiler_static_CXX
='-static'
12124 # Portland Group C++ compiler.
12125 lt_prog_compiler_wl_CXX
='-Wl,'
12126 lt_prog_compiler_pic_CXX
='-fpic'
12127 lt_prog_compiler_static_CXX
='-Bstatic'
12131 # Make sure the PIC flag is empty. It appears that all Alpha
12132 # Linux and Compaq Tru64 Unix objects are PIC.
12133 lt_prog_compiler_pic_CXX
=
12134 lt_prog_compiler_static_CXX
='-non_shared'
12145 case $cc_basename in
12147 lt_prog_compiler_pic_CXX
='-W c,exportall'
12155 osf3
* | osf4
* | osf5
*)
12156 case $cc_basename in
12158 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12161 # Rational C++ 2.4.1
12162 lt_prog_compiler_pic_CXX
='-pic'
12165 # Digital/Compaq C++
12166 lt_prog_compiler_wl_CXX
='-Wl,'
12167 # Make sure the PIC flag is empty. It appears that all Alpha
12168 # Linux and Compaq Tru64 Unix objects are PIC.
12169 lt_prog_compiler_pic_CXX
=
12170 lt_prog_compiler_static_CXX
='-non_shared'
12179 case $cc_basename in
12181 # Sun C++ 4.2, 5.x and Centerline C++
12182 lt_prog_compiler_pic_CXX
='-KPIC'
12183 lt_prog_compiler_static_CXX
='-Bstatic'
12184 lt_prog_compiler_wl_CXX
='-Qoption ld '
12187 # Green Hills C++ Compiler
12188 lt_prog_compiler_pic_CXX
='-PIC'
12195 case $cc_basename in
12198 lt_prog_compiler_pic_CXX
='-pic'
12199 lt_prog_compiler_static_CXX
='-Bstatic'
12203 lt_prog_compiler_pic_CXX
='-pic'
12210 case $cc_basename in
12212 # NonStop-UX NCC 3.20
12213 lt_prog_compiler_pic_CXX
='-KPIC'
12219 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12220 case $cc_basename in
12222 lt_prog_compiler_wl_CXX
='-Wl,'
12223 lt_prog_compiler_pic_CXX
='-KPIC'
12224 lt_prog_compiler_static_CXX
='-Bstatic'
12231 lt_prog_compiler_can_build_shared_CXX
=no
12236 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12237 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12240 # Check to make sure the PIC flag actually works.
12242 if test -n "$lt_prog_compiler_pic_CXX"; then
12244 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12245 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12246 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12249 lt_prog_compiler_pic_works_CXX
=no
12250 ac_outfile
=conftest.
$ac_objext
12251 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12252 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12253 # Insert the option either (1) after the last *FLAGS variable, or
12254 # (2) before a word containing "conftest.", or (3) at the end.
12255 # Note that $ac_compile itself does not contain backslashes and begins
12256 # with a dollar sign (not a hyphen), so the echo should work correctly.
12257 # The option is referenced via a variable to avoid confusing sed.
12258 lt_compile
=`echo "$ac_compile" | $SED \
12259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12261 -e 's:$: $lt_compiler_flag:'`
12262 (eval echo "\"\$as_me:12262: $lt_compile\"" >&5)
12263 (eval "$lt_compile" 2>conftest.err
)
12265 cat conftest.err
>&5
12266 echo "$as_me:12266: \$? = $ac_status" >&5
12267 if (exit $ac_status) && test -s "$ac_outfile"; then
12268 # The compiler can only warn and ignore the option if not recognized
12269 # So say no if there are warnings other than the usual output.
12270 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12271 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12272 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12273 lt_prog_compiler_pic_works_CXX
=yes
12279 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12280 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12282 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12283 case $lt_prog_compiler_pic_CXX in
12285 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12288 lt_prog_compiler_pic_CXX
=
12289 lt_prog_compiler_can_build_shared_CXX
=no
12294 # For platforms which do not support PIC, -DPIC is meaningless:
12296 lt_prog_compiler_pic_CXX
=
12299 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12304 # Check to make sure the static flag actually works.
12306 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12307 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12308 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12309 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 lt_prog_compiler_static_works_CXX
=no
12313 save_LDFLAGS
="$LDFLAGS"
12314 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12315 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12316 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12317 # The linker can only warn and ignore the option if not recognized
12318 # So say no if there are warnings
12319 if test -s conftest.err
; then
12320 # Append any errors to the config.log.
12321 cat conftest.err
1>&5
12322 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12324 if diff conftest.exp conftest.er2
>/dev
/null
; then
12325 lt_prog_compiler_static_works_CXX
=yes
12328 lt_prog_compiler_static_works_CXX
=yes
12332 LDFLAGS
="$save_LDFLAGS"
12335 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12336 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12338 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12341 lt_prog_compiler_static_CXX
=
12345 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12346 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12347 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 lt_cv_prog_compiler_c_o_CXX
=no
12351 $rm -r conftest
2>/dev
/null
12355 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12357 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12358 # Insert the option either (1) after the last *FLAGS variable, or
12359 # (2) before a word containing "conftest.", or (3) at the end.
12360 # Note that $ac_compile itself does not contain backslashes and begins
12361 # with a dollar sign (not a hyphen), so the echo should work correctly.
12362 lt_compile
=`echo "$ac_compile" | $SED \
12363 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12364 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12365 -e 's:$: $lt_compiler_flag:'`
12366 (eval echo "\"\$as_me:12366: $lt_compile\"" >&5)
12367 (eval "$lt_compile" 2>out
/conftest.err
)
12369 cat out
/conftest.err
>&5
12370 echo "$as_me:12370: \$? = $ac_status" >&5
12371 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12373 # The compiler can only warn and ignore the option if not recognized
12374 # So say no if there are warnings
12375 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12376 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12377 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12378 lt_cv_prog_compiler_c_o_CXX
=yes
12383 # SGI C++ compiler will create directory out/ii_files/ for
12384 # template instantiation
12385 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12386 $rm out
/* && rmdir out
12392 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12393 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12396 hard_links
="nottested"
12397 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12398 # do not overwrite the value of need_locks provided by the user
12399 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12400 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12403 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12405 ln conftest.a conftest.b
2>&5 || hard_links
=no
12406 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12407 { echo "$as_me:$LINENO: result: $hard_links" >&5
12408 echo "${ECHO_T}$hard_links" >&6; }
12409 if test "$hard_links" = no
; then
12410 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12411 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12418 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12419 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12421 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12424 # If we're using GNU nm, then we don't want the "-C" option.
12425 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12426 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12427 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'
12429 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'
12433 export_symbols_cmds_CXX
="$ltdll_cmds"
12436 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'
12439 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12443 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12444 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12445 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12448 # Do we need to explicitly link libc?
12450 case "x$archive_cmds_need_lc_CXX" in
12452 # Assume -lc should be added
12453 archive_cmds_need_lc_CXX
=yes
12455 if test "$enable_shared" = yes && test "$GCC" = yes; then
12456 case $archive_cmds_CXX in
12458 # FIXME: we may have to deal with multi-command sequences.
12461 # Test whether the compiler implicitly links with -lc since on some
12462 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12463 # to ld, don't add -lc before -lgcc.
12464 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12465 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12467 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } 2>conftest.err
; then
12476 libobjs
=conftest.
$ac_objext
12478 wl
=$lt_prog_compiler_wl_CXX
12479 pic_flag
=$lt_prog_compiler_pic_CXX
12485 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12486 allow_undefined_flag_CXX
=
12487 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12488 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }
12493 archive_cmds_need_lc_CXX
=no
12495 archive_cmds_need_lc_CXX
=yes
12497 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12499 cat conftest.err
1>&5
12502 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12503 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12510 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12511 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12512 library_names_spec
=
12513 libname_spec
='lib$name'
12517 postuninstall_cmds
=
12521 shlibpath_overrides_runpath
=unknown
12523 dynamic_linker
="$host_os ld.so"
12524 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12525 if test "$GCC" = yes; then
12526 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12527 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12528 # if the path contains ";" then we assume it to be the separator
12529 # otherwise default to the standard path separator (i.e. ":") - it is
12530 # assumed that no part of a normal pathname contains ";" but that should
12531 # okay in the real world where ";" in dirpaths is itself problematic.
12532 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12534 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12537 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12539 need_lib_prefix
=unknown
12540 hardcode_into_libs
=no
12542 # when you set need_version to no, make sure it does not cause -set_version
12543 # flags to be left without arguments
12544 need_version
=unknown
12549 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12550 shlibpath_var
=LIBPATH
12552 # AIX 3 has no versioning support, so we append a major version to the name.
12553 soname_spec
='${libname}${release}${shared_ext}$major'
12560 hardcode_into_libs
=yes
12561 if test "$host_cpu" = ia64
; then
12562 # AIX 5 supports IA64
12563 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12564 shlibpath_var
=LD_LIBRARY_PATH
12566 # With GCC up to 2.95.x, collect2 would create an import file
12567 # for dependence libraries. The import file would start with
12568 # the line `#! .'. This would cause the generated library to
12569 # depend on `.', always an invalid library. This was fixed in
12570 # development snapshots of GCC prior to 3.0.
12572 aix4 | aix4.
[01] | aix4.
[01].
*)
12573 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12575 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12578 can_build_shared
=no
12582 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12583 # soname into executable. Probably we can add versioning support to
12584 # collect2, so additional links can be useful in future.
12585 if test "$aix_use_runtimelinking" = yes; then
12586 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12587 # instead of lib<name>.a to let people know that these are not
12588 # typical AIX shared libraries.
12589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12591 # We preserve .a as extension for shared libraries through AIX4.2
12592 # and later when we are not doing run time linking.
12593 library_names_spec
='${libname}${release}.a $libname.a'
12594 soname_spec
='${libname}${release}${shared_ext}$major'
12596 shlibpath_var
=LIBPATH
12601 library_names_spec
='$libname.ixlibrary $libname.a'
12602 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12603 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'
12607 library_names_spec
='${libname}${shared_ext}'
12608 dynamic_linker
="$host_os ld.so"
12609 shlibpath_var
=LIBRARY_PATH
12615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12616 soname_spec
='${libname}${release}${shared_ext}$major'
12617 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12618 shlibpath_var
=LD_LIBRARY_PATH
12619 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12620 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12621 # the default ld.so.conf also contains /usr/contrib/lib and
12622 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12623 # libtool to hard-code these into programs
12626 cygwin
* | mingw
* | pw32
*)
12627 version_type
=windows
12632 case $GCC,$host_os in
12633 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12634 library_names_spec
='$libname.dll.a'
12635 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12636 postinstall_cmds
='base_file=`basename \${file}`~
12637 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12638 dldir=$destdir/`dirname \$dlpath`~
12639 test -d \$dldir || mkdir -p \$dldir~
12640 $install_prog $dir/$dlname \$dldir/$dlname~
12641 chmod a+x \$dldir/$dlname'
12642 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12643 dlpath=$dir/\$dldll~
12645 shlibpath_overrides_runpath
=yes
12649 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12650 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12651 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12654 # MinGW DLLs use traditional 'lib' prefix
12655 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12656 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12657 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12658 # It is most probably a Windows format PATH printed by
12659 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12660 # path with ; separators, and with drive letters. We can handle the
12661 # drive letters (cygwin fileutils understands them), so leave them,
12662 # especially as we might pass files found there to a mingw objdump,
12663 # which wouldn't understand a cygwinified path. Ahh.
12664 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12666 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12670 # pw32 DLLs use 'pw' prefix rather than 'lib'
12671 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12677 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12680 dynamic_linker
='Win32 ld.exe'
12681 # FIXME: first we should search . and the directory the executable is in
12685 darwin
* | rhapsody
*)
12686 dynamic_linker
="$host_os dyld"
12687 version_type
=darwin
12690 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12691 soname_spec
='${libname}${release}${major}$shared_ext'
12692 shlibpath_overrides_runpath
=yes
12693 shlibpath_var
=DYLD_LIBRARY_PATH
12694 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12695 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12696 if test "$GCC" = yes; then
12697 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12699 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12701 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12709 soname_spec
='${libname}${release}${shared_ext}$major'
12710 shlibpath_var
=LD_LIBRARY_PATH
12721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12722 soname_spec
='${libname}${release}${shared_ext}$major'
12723 shlibpath_var
=LD_LIBRARY_PATH
12724 shlibpath_overrides_runpath
=no
12725 hardcode_into_libs
=yes
12726 dynamic_linker
='GNU ld.so'
12729 freebsd
* | dragonfly
*)
12730 # DragonFly does not have aout. When/if they implement a new
12731 # versioning mechanism, adjust this.
12732 if test -x /usr
/bin
/objformat
; then
12733 objformat
=`/usr/bin/objformat`
12736 freebsd
[123]*) objformat
=aout
;;
12737 *) objformat
=elf
;;
12740 version_type
=freebsd-
$objformat
12741 case $version_type in
12743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12748 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12752 shlibpath_var
=LD_LIBRARY_PATH
12755 shlibpath_overrides_runpath
=yes
12757 freebsd3.
[01]* | freebsdelf3.
[01]*)
12758 shlibpath_overrides_runpath
=yes
12759 hardcode_into_libs
=yes
12761 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12762 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12763 shlibpath_overrides_runpath
=no
12764 hardcode_into_libs
=yes
12766 freebsd
*) # from 4.6 on
12767 shlibpath_overrides_runpath
=yes
12768 hardcode_into_libs
=yes
12777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12778 soname_spec
='${libname}${release}${shared_ext}$major'
12779 shlibpath_var
=LD_LIBRARY_PATH
12780 hardcode_into_libs
=yes
12783 hpux9
* | hpux10
* | hpux11
*)
12784 # Give a soname corresponding to the major version so that dld.sl refuses to
12785 # link against other versions.
12792 hardcode_into_libs
=yes
12793 dynamic_linker
="$host_os dld.so"
12794 shlibpath_var
=LD_LIBRARY_PATH
12795 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12797 soname_spec
='${libname}${release}${shared_ext}$major'
12798 if test "X$HPUX_IA64_MODE" = X32
; then
12799 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12801 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12803 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12807 hardcode_into_libs
=yes
12808 dynamic_linker
="$host_os dld.sl"
12809 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12810 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12812 soname_spec
='${libname}${release}${shared_ext}$major'
12813 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12818 dynamic_linker
="$host_os dld.sl"
12819 shlibpath_var
=SHLIB_PATH
12820 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12822 soname_spec
='${libname}${release}${shared_ext}$major'
12825 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12826 postinstall_cmds
='chmod 555 $lib'
12833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12834 soname_spec
='${libname}${release}${shared_ext}$major'
12835 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12836 shlibpath_var
=LD_LIBRARY_PATH
12837 shlibpath_overrides_runpath
=no
12838 hardcode_into_libs
=yes
12841 irix5
* | irix6
* | nonstopux
*)
12843 nonstopux
*) version_type
=nonstopux
;;
12845 if test "$lt_cv_prog_gnu_ld" = yes; then
12853 soname_spec
='${libname}${release}${shared_ext}$major'
12854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12856 irix5
* | nonstopux
*)
12857 libsuff
= shlibsuff
=
12860 case $LD in # libtool.m4 will add one of these switches to LD
12861 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12862 libsuff
= shlibsuff
= libmagic
=32-bit;;
12863 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12864 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12865 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12866 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12867 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12871 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12872 shlibpath_overrides_runpath
=no
12873 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12874 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12875 hardcode_into_libs
=yes
12878 # No shared lib support for Linux oldld, aout, or coff.
12879 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12883 # This must be Linux ELF.
12888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12889 soname_spec
='${libname}${release}${shared_ext}$major'
12890 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12891 shlibpath_var
=LD_LIBRARY_PATH
12892 shlibpath_overrides_runpath
=no
12893 # This implies no fast_install, which is unacceptable.
12894 # Some rework will be needed to allow for fast_install
12895 # before this can be enabled.
12896 hardcode_into_libs
=yes
12898 # find out which ABI we are using
12900 case "$host_cpu" in
12901 x86_64
*|s390x
*|powerpc64
*)
12902 echo '#line 12902 "configure"' > conftest.
$ac_ext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12904 (eval $ac_compile) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; then
12908 case `/usr/bin/file conftest.$ac_objext` in
12911 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12919 # Append ld.so.conf contents to the search path
12920 if test -f /etc
/ld.so.conf
; then
12921 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12922 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12925 # We used to test for /lib/ld.so.1 and disable shared libraries on
12926 # powerpc, because MkLinux only supported shared libraries with the
12927 # GNU dynamic linker. Since this was broken with cross compilers,
12928 # most powerpc-linux boxes support dynamic linking these days and
12929 # people can always --disable-shared, the test was removed, and we
12930 # assume the GNU/Linux dynamic linker is in use.
12931 dynamic_linker
='GNU/Linux ld.so'
12938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12939 soname_spec
='${libname}${release}${shared_ext}$major'
12940 shlibpath_var
=LD_LIBRARY_PATH
12941 shlibpath_overrides_runpath
=no
12942 hardcode_into_libs
=yes
12943 dynamic_linker
='GNU ld.so'
12950 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12952 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12953 dynamic_linker
='NetBSD (a.out) ld.so'
12955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12956 soname_spec
='${libname}${release}${shared_ext}$major'
12957 dynamic_linker
='NetBSD ld.elf_so'
12959 shlibpath_var
=LD_LIBRARY_PATH
12960 shlibpath_overrides_runpath
=yes
12961 hardcode_into_libs
=yes
12966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12967 shlibpath_var
=LD_LIBRARY_PATH
12968 shlibpath_overrides_runpath
=yes
12975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12976 soname_spec
='${libname}${release}${shared_ext}$major'
12977 shlibpath_var
=LD_LIBRARY_PATH
12978 shlibpath_overrides_runpath
=yes
12983 sys_lib_dlsearch_path_spec
="/usr/lib"
12985 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12987 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12988 *) need_version
=no
;;
12990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12991 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12992 shlibpath_var
=LD_LIBRARY_PATH
12993 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12995 openbsd2.
[89] | openbsd2.
[89].
*)
12996 shlibpath_overrides_runpath
=no
12999 shlibpath_overrides_runpath
=yes
13003 shlibpath_overrides_runpath
=yes
13008 libname_spec
='$name'
13011 library_names_spec
='$libname${shared_ext} $libname.a'
13012 dynamic_linker
='OS/2 ld.exe'
13013 shlibpath_var
=LIBPATH
13016 osf3
* | osf4
* | osf5
*)
13020 soname_spec
='${libname}${release}${shared_ext}$major'
13021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13022 shlibpath_var
=LD_LIBRARY_PATH
13023 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13024 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13032 soname_spec
='${libname}${release}${shared_ext}$major'
13033 shlibpath_var
=LD_LIBRARY_PATH
13034 shlibpath_overrides_runpath
=yes
13035 hardcode_into_libs
=yes
13036 # ldd complains unless libraries are executable
13037 postinstall_cmds
='chmod +x $lib'
13042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13043 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13044 shlibpath_var
=LD_LIBRARY_PATH
13045 shlibpath_overrides_runpath
=yes
13046 if test "$with_gnu_ld" = yes; then
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13055 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LD_LIBRARY_PATH
13057 case $host_vendor in
13059 shlibpath_overrides_runpath
=no
13061 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13062 runpath_var
=LD_RUN_PATH
13070 shlibpath_overrides_runpath
=no
13071 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13077 if test -d /usr
/nec
;then
13079 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13080 soname_spec
='$libname${shared_ext}.$major'
13081 shlibpath_var
=LD_LIBRARY_PATH
13085 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13086 version_type
=freebsd-elf
13089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13090 soname_spec
='${libname}${release}${shared_ext}$major'
13091 shlibpath_var
=LD_LIBRARY_PATH
13092 hardcode_into_libs
=yes
13093 if test "$with_gnu_ld" = yes; then
13094 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13095 shlibpath_overrides_runpath
=no
13097 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13098 shlibpath_overrides_runpath
=yes
13101 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13105 sys_lib_dlsearch_path_spec
='/usr/lib'
13110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111 soname_spec
='${libname}${release}${shared_ext}$major'
13112 shlibpath_var
=LD_LIBRARY_PATH
13119 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13120 echo "${ECHO_T}$dynamic_linker" >&6; }
13121 test "$dynamic_linker" = no
&& can_build_shared
=no
13123 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13124 if test "$GCC" = yes; then
13125 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13128 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13129 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13130 hardcode_action_CXX
=
13131 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13132 test -n "$runpath_var_CXX" || \
13133 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13135 # We can hardcode non-existant directories.
13136 if test "$hardcode_direct_CXX" != no
&&
13137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13138 # have to relink, otherwise we might link with an installed library
13139 # when we should be linking with a yet-to-be-installed one
13140 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13141 test "$hardcode_minus_L_CXX" != no
; then
13142 # Linking always hardcodes the temporary library directory.
13143 hardcode_action_CXX
=relink
13145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13146 hardcode_action_CXX
=immediate
13149 # We cannot hardcode anything, or else we can only hardcode existing
13151 hardcode_action_CXX
=unsupported
13153 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13154 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13156 if test "$hardcode_action_CXX" = relink
; then
13157 # Fast installation is not supported
13158 enable_fast_install
=no
13159 elif test "$shlibpath_overrides_runpath" = yes ||
13160 test "$enable_shared" = no
; then
13161 # Fast installation is not necessary
13162 enable_fast_install
=needless
13166 # The else clause should only fire when bootstrapping the
13167 # libtool distribution, otherwise you forgot to ship ltmain.sh
13168 # with your package, and you will get complaints that there are
13169 # no rules to generate ltmain.sh.
13170 if test -f "$ltmain"; then
13171 # See if we are running on zsh, and set the options which allow our commands through
13172 # without removal of \ escapes.
13173 if test -n "${ZSH_VERSION+set}" ; then
13174 setopt NO_GLOB_SUBST
13176 # Now quote all the things that may contain metacharacters while being
13177 # careful not to overquote the AC_SUBSTed values. We take copies of the
13178 # variables and quote the copies for generation of the libtool script.
13179 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13181 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13182 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13183 deplibs_check_method reload_flag reload_cmds need_locks \
13184 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13185 lt_cv_sys_global_symbol_to_c_name_address \
13186 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13187 old_postinstall_cmds old_postuninstall_cmds \
13191 lt_prog_compiler_wl_CXX \
13192 lt_prog_compiler_pic_CXX \
13193 lt_prog_compiler_static_CXX \
13194 lt_prog_compiler_no_builtin_flag_CXX \
13195 export_dynamic_flag_spec_CXX \
13196 thread_safe_flag_spec_CXX \
13197 whole_archive_flag_spec_CXX \
13198 enable_shared_with_static_runtimes_CXX \
13199 old_archive_cmds_CXX \
13200 old_archive_from_new_cmds_CXX \
13201 predep_objects_CXX \
13202 postdep_objects_CXX \
13205 compiler_lib_search_path_CXX \
13207 archive_expsym_cmds_CXX \
13208 postinstall_cmds_CXX \
13209 postuninstall_cmds_CXX \
13210 old_archive_from_expsyms_cmds_CXX \
13211 allow_undefined_flag_CXX \
13212 no_undefined_flag_CXX \
13213 export_symbols_cmds_CXX \
13214 hardcode_libdir_flag_spec_CXX \
13215 hardcode_libdir_flag_spec_ld_CXX \
13216 hardcode_libdir_separator_CXX \
13217 hardcode_automatic_CXX \
13219 module_expsym_cmds_CXX \
13220 lt_cv_prog_compiler_c_o_CXX \
13221 exclude_expsyms_CXX \
13222 include_expsyms_CXX
; do
13225 old_archive_cmds_CXX | \
13226 old_archive_from_new_cmds_CXX | \
13227 archive_cmds_CXX | \
13228 archive_expsym_cmds_CXX | \
13229 module_cmds_CXX | \
13230 module_expsym_cmds_CXX | \
13231 old_archive_from_expsyms_cmds_CXX | \
13232 export_symbols_cmds_CXX | \
13233 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13234 postinstall_cmds | postuninstall_cmds | \
13235 old_postinstall_cmds | old_postuninstall_cmds | \
13236 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13237 # Double-quote double-evaled strings.
13238 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13241 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13247 *'\$0 --fallback-echo"')
13248 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13254 cat <<__EOF__ >> "$cfgfile"
13255 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13259 # Shell to use when invoking shell scripts.
13262 # Whether or not to build shared libraries.
13263 build_libtool_libs=$enable_shared
13265 # Whether or not to build static libraries.
13266 build_old_libs=$enable_static
13268 # Whether or not to add -lc for building shared libraries.
13269 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13271 # Whether or not to disallow shared libs when runtime libs are static
13272 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13274 # Whether or not to optimize for fast installation.
13275 fast_install=$enable_fast_install
13278 host_alias=$host_alias
13282 # The build system.
13283 build_alias=$build_alias
13287 # An echo program that does not interpret backslashes.
13292 AR_FLAGS=$lt_AR_FLAGS
13297 # LTCC compiler flags.
13298 LTCFLAGS=$lt_LTCFLAGS
13300 # A language-specific compiler.
13301 CC=$lt_compiler_CXX
13303 # Is the compiler the GNU C compiler?
13309 # The linker used to build libraries.
13312 # Whether we need hard or soft links.
13315 # A BSD-compatible nm program.
13318 # A symbol stripping program
13321 # Used to examine libraries when file_magic_cmd begins "file"
13322 MAGIC_CMD=$MAGIC_CMD
13324 # Used on cygwin: DLL creation program.
13327 # Used on cygwin: object dumper.
13330 # Used on cygwin: assembler.
13333 # The name of the directory that contains temporary libtool files.
13336 # How to create reloadable object files.
13337 reload_flag=$lt_reload_flag
13338 reload_cmds=$lt_reload_cmds
13340 # How to pass a linker flag through the compiler.
13341 wl=$lt_lt_prog_compiler_wl_CXX
13343 # Object file suffix (normally "o").
13344 objext="$ac_objext"
13346 # Old archive suffix (normally "a").
13349 # Shared library suffix (normally ".so").
13350 shrext_cmds='$shrext_cmds'
13352 # Executable file suffix (normally "").
13355 # Additional compiler flags for building library objects.
13356 pic_flag=$lt_lt_prog_compiler_pic_CXX
13359 # What is the maximum length of a command?
13360 max_cmd_len=$lt_cv_sys_max_cmd_len
13362 # Does compiler simultaneously support -c and -o options?
13363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13365 # Must we lock files when doing compilation?
13366 need_locks=$lt_need_locks
13368 # Do we need the lib prefix for modules?
13369 need_lib_prefix=$need_lib_prefix
13371 # Do we need a version for libraries?
13372 need_version=$need_version
13374 # Whether dlopen is supported.
13375 dlopen_support=$enable_dlopen
13377 # Whether dlopen of programs is supported.
13378 dlopen_self=$enable_dlopen_self
13380 # Whether dlopen of statically linked programs is supported.
13381 dlopen_self_static=$enable_dlopen_self_static
13383 # Compiler flag to prevent dynamic linking.
13384 link_static_flag=$lt_lt_prog_compiler_static_CXX
13386 # Compiler flag to turn off builtin functions.
13387 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13389 # Compiler flag to allow reflexive dlopens.
13390 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13392 # Compiler flag to generate shared objects directly from archives.
13393 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13395 # Compiler flag to generate thread-safe objects.
13396 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13398 # Library versioning type.
13399 version_type=$version_type
13401 # Format of library name prefix.
13402 libname_spec=$lt_libname_spec
13404 # List of archive names. First name is the real one, the rest are links.
13405 # The last name is the one that the linker finds with -lNAME.
13406 library_names_spec=$lt_library_names_spec
13408 # The coded name of the library, if different from the real name.
13409 soname_spec=$lt_soname_spec
13411 # Commands used to build and install an old-style archive.
13413 old_archive_cmds=$lt_old_archive_cmds_CXX
13414 old_postinstall_cmds=$lt_old_postinstall_cmds
13415 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13417 # Create an old-style archive from a shared archive.
13418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13420 # Create a temporary old-style archive to link instead of a shared archive.
13421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13423 # Commands used to build and install a shared archive.
13424 archive_cmds=$lt_archive_cmds_CXX
13425 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13426 postinstall_cmds=$lt_postinstall_cmds
13427 postuninstall_cmds=$lt_postuninstall_cmds
13429 # Commands used to build a loadable module (assumed same as above if empty)
13430 module_cmds=$lt_module_cmds_CXX
13431 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13433 # Commands to strip libraries.
13434 old_striplib=$lt_old_striplib
13435 striplib=$lt_striplib
13437 # Dependencies to place before the objects being linked to create a
13439 predep_objects=$lt_predep_objects_CXX
13441 # Dependencies to place after the objects being linked to create a
13443 postdep_objects=$lt_postdep_objects_CXX
13445 # Dependencies to place before the objects being linked to create a
13447 predeps=$lt_predeps_CXX
13449 # Dependencies to place after the objects being linked to create a
13451 postdeps=$lt_postdeps_CXX
13453 # The library search path used internally by the compiler when linking
13454 # a shared library.
13455 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13457 # Method to check whether dependent libraries are shared objects.
13458 deplibs_check_method=$lt_deplibs_check_method
13460 # Command to use when deplibs_check_method == file_magic.
13461 file_magic_cmd=$lt_file_magic_cmd
13463 # Flag that allows shared libraries with undefined symbols to be built.
13464 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13466 # Flag that forces no undefined symbols.
13467 no_undefined_flag=$lt_no_undefined_flag_CXX
13469 # Commands used to finish a libtool library installation in a directory.
13470 finish_cmds=$lt_finish_cmds
13472 # Same as above, but a single script fragment to be evaled but not shown.
13473 finish_eval=$lt_finish_eval
13475 # Take the output of nm and produce a listing of raw symbols and C names.
13476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13478 # Transform the output of nm in a proper C declaration
13479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13481 # Transform the output of nm in a C name address pair
13482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13484 # This is the shared library runtime path variable.
13485 runpath_var=$runpath_var
13487 # This is the shared library path variable.
13488 shlibpath_var=$shlibpath_var
13490 # Is shlibpath searched before the hard-coded library search path?
13491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13493 # How to hardcode a shared library path into an executable.
13494 hardcode_action=$hardcode_action_CXX
13496 # Whether we should hardcode library paths into libraries.
13497 hardcode_into_libs=$hardcode_into_libs
13499 # Flag to hardcode \$libdir into a binary during linking.
13500 # This must work even if \$libdir does not exist.
13501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13503 # If ld is used when linking, flag to hardcode \$libdir into
13504 # a binary during linking. This must work even if \$libdir does
13506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13508 # Whether we need a single -rpath flag with a separated argument.
13509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13511 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13512 # resulting binary.
13513 hardcode_direct=$hardcode_direct_CXX
13515 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13516 # resulting binary.
13517 hardcode_minus_L=$hardcode_minus_L_CXX
13519 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13520 # the resulting binary.
13521 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13523 # Set to yes if building a shared library automatically hardcodes DIR into the library
13524 # and all subsequent libraries and executables linked against it.
13525 hardcode_automatic=$hardcode_automatic_CXX
13527 # Variables whose values should be saved in libtool wrapper scripts and
13528 # restored at relink time.
13529 variables_saved_for_relink="$variables_saved_for_relink"
13531 # Whether libtool must link a program against all its dependency libraries.
13532 link_all_deplibs=$link_all_deplibs_CXX
13534 # Compile-time system search path for libraries
13535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13537 # Run-time system search path for libraries
13538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13540 # Fix the shell variable \$srcfile for the compiler.
13541 fix_srcfile_path="$fix_srcfile_path_CXX"
13543 # Set to yes if exported symbols are required.
13544 always_export_symbols=$always_export_symbols_CXX
13546 # The commands to list exported symbols.
13547 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13549 # The commands to extract the exported symbol list from a shared archive.
13550 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13552 # Symbols that should not be listed in the preloaded symbols.
13553 exclude_expsyms=$lt_exclude_expsyms_CXX
13555 # Symbols that must always be exported.
13556 include_expsyms=$lt_include_expsyms_CXX
13558 # ### END LIBTOOL TAG CONFIG: $tagname
13564 # If there is no Makefile yet, we rely on a make rule to execute
13565 # `config.status --recheck' to rerun these tests and create the
13566 # libtool script then.
13567 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13568 if test -f "$ltmain_in"; then
13569 test -f Makefile
&& make "$ltmain"
13575 ac_cpp
='$CPP $CPPFLAGS'
13576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13584 with_gnu_ldcxx
=$with_gnu_ld
13585 with_gnu_ld
=$lt_save_with_gnu_ld
13586 lt_cv_path_LDCXX
=$lt_cv_path_LD
13587 lt_cv_path_LD
=$lt_save_path_LD
13588 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13589 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13597 if test -n "$F77" && test "X$F77" != "Xno"; then
13600 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13601 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13605 archive_cmds_need_lc_F77
=no
13606 allow_undefined_flag_F77
=
13607 always_export_symbols_F77
=no
13608 archive_expsym_cmds_F77
=
13609 export_dynamic_flag_spec_F77
=
13610 hardcode_direct_F77
=no
13611 hardcode_libdir_flag_spec_F77
=
13612 hardcode_libdir_flag_spec_ld_F77
=
13613 hardcode_libdir_separator_F77
=
13614 hardcode_minus_L_F77
=no
13615 hardcode_automatic_F77
=no
13617 module_expsym_cmds_F77
=
13618 link_all_deplibs_F77
=unknown
13619 old_archive_cmds_F77
=$old_archive_cmds
13620 no_undefined_flag_F77
=
13621 whole_archive_flag_spec_F77
=
13622 enable_shared_with_static_runtimes_F77
=no
13624 # Source file extension for f77 test sources.
13627 # Object file extension for compiled f77 test sources.
13631 # Code to be used in simple compile tests
13632 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13634 # Code to be used in simple link tests
13635 lt_simple_link_test_code
=" program t\n end\n"
13637 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13639 # If no C compiler was specified, use CC.
13642 # If no C compiler flags were specified, use CFLAGS.
13643 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13645 # Allow CC to be a program name with arguments.
13649 # save warnings/boilerplate of simple test code
13650 ac_outfile
=conftest.
$ac_objext
13651 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13652 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13653 _lt_compiler_boilerplate
=`cat conftest.err`
13656 ac_outfile
=conftest.
$ac_objext
13657 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13658 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13659 _lt_linker_boilerplate
=`cat conftest.err`
13663 # Allow CC to be a program name with arguments.
13668 for cc_temp
in $compiler""; do
13670 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13671 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13676 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13679 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13680 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13681 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13682 echo "${ECHO_T}$can_build_shared" >&6; }
13684 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13685 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13686 test "$can_build_shared" = "no" && enable_shared
=no
13688 # On AIX, shared libraries and static libraries use the same namespace, and
13689 # are all built from PIC.
13692 test "$enable_shared" = yes && enable_static
=no
13693 if test -n "$RANLIB"; then
13694 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13695 postinstall_cmds
='$RANLIB $lib'
13699 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13700 test "$enable_shared" = yes && enable_static
=no
13704 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13705 echo "${ECHO_T}$enable_shared" >&6; }
13707 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13708 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13709 # Make sure either enable_shared or enable_static is yes.
13710 test "$enable_shared" = yes || enable_static
=yes
13711 { echo "$as_me:$LINENO: result: $enable_static" >&5
13712 echo "${ECHO_T}$enable_static" >&6; }
13717 lt_prog_compiler_wl_F77
=
13718 lt_prog_compiler_pic_F77
=
13719 lt_prog_compiler_static_F77
=
13721 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13722 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13724 if test "$GCC" = yes; then
13725 lt_prog_compiler_wl_F77
='-Wl,'
13726 lt_prog_compiler_static_F77
='-static'
13730 # All AIX code is PIC.
13731 if test "$host_cpu" = ia64
; then
13732 # AIX 5 now supports IA64 processor
13733 lt_prog_compiler_static_F77
='-Bstatic'
13738 # FIXME: we need at least 68020 code to build shared libraries, but
13739 # adding the `-m68020' flag to GCC prevents building anything better,
13741 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13744 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13745 # PIC is the default for these OSes.
13748 mingw
* | pw32
* | os2
*)
13749 # This hack is so that the source file can tell whether it is being
13750 # built for inclusion in a dll (and should export symbols for example).
13751 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13754 darwin
* | rhapsody
*)
13755 # PIC is the default on this platform
13756 # Common symbols not allowed in MH_DYLIB files
13757 lt_prog_compiler_pic_F77
='-fno-common'
13761 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13762 # Instead, we relocate shared libraries at runtime.
13766 # Just because we use GCC doesn't mean we suddenly get shared libraries
13767 # on systems that don't support them.
13768 lt_prog_compiler_can_build_shared_F77
=no
13773 if test -d /usr
/nec
; then
13774 lt_prog_compiler_pic_F77
=-Kconform_pic
13779 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13780 # not for PA HP-UX.
13786 lt_prog_compiler_pic_F77
='-fPIC'
13792 lt_prog_compiler_pic_F77
='-fPIC'
13796 # PORTME Check for flag to pass linker flags through the system compiler.
13799 lt_prog_compiler_wl_F77
='-Wl,'
13800 if test "$host_cpu" = ia64
; then
13801 # AIX 5 now supports IA64 processor
13802 lt_prog_compiler_static_F77
='-Bstatic'
13804 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13808 # PIC is the default on this platform
13809 # Common symbols not allowed in MH_DYLIB files
13810 case $cc_basename in
13812 lt_prog_compiler_pic_F77
='-qnocommon'
13813 lt_prog_compiler_wl_F77
='-Wl,'
13818 mingw
* | pw32
* | os2
*)
13819 # This hack is so that the source file can tell whether it is being
13820 # built for inclusion in a dll (and should export symbols for example).
13821 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13824 hpux9
* | hpux10
* | hpux11
*)
13825 lt_prog_compiler_wl_F77
='-Wl,'
13826 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13827 # not for PA HP-UX.
13833 lt_prog_compiler_pic_F77
='+Z'
13836 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13837 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13840 irix5
* | irix6
* | nonstopux
*)
13841 lt_prog_compiler_wl_F77
='-Wl,'
13842 # PIC (with -KPIC) is the default.
13843 lt_prog_compiler_static_F77
='-non_shared'
13847 lt_prog_compiler_pic_F77
='-KPIC'
13848 lt_prog_compiler_static_F77
='-Bstatic'
13852 case $cc_basename in
13854 lt_prog_compiler_wl_F77
='-Wl,'
13855 lt_prog_compiler_pic_F77
='-KPIC'
13856 lt_prog_compiler_static_F77
='-static'
13858 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13859 # Portland Group compilers (*not* the Pentium gcc compiler,
13860 # which looks to be a dead project)
13861 lt_prog_compiler_wl_F77
='-Wl,'
13862 lt_prog_compiler_pic_F77
='-fpic'
13863 lt_prog_compiler_static_F77
='-Bstatic'
13866 lt_prog_compiler_wl_F77
='-Wl,'
13867 # All Alpha code is PIC.
13868 lt_prog_compiler_static_F77
='-non_shared'
13873 osf3
* | osf4
* | osf5
*)
13874 lt_prog_compiler_wl_F77
='-Wl,'
13875 # All OSF/1 code is PIC.
13876 lt_prog_compiler_static_F77
='-non_shared'
13880 lt_prog_compiler_pic_F77
='-KPIC'
13881 lt_prog_compiler_static_F77
='-Bstatic'
13882 case $cc_basename in
13883 f77
* | f90
* | f95
*)
13884 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13886 lt_prog_compiler_wl_F77
='-Wl,';;
13891 lt_prog_compiler_wl_F77
='-Qoption ld '
13892 lt_prog_compiler_pic_F77
='-PIC'
13893 lt_prog_compiler_static_F77
='-Bstatic'
13896 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13897 lt_prog_compiler_wl_F77
='-Wl,'
13898 lt_prog_compiler_pic_F77
='-KPIC'
13899 lt_prog_compiler_static_F77
='-Bstatic'
13903 if test -d /usr
/nec
;then
13904 lt_prog_compiler_pic_F77
='-Kconform_pic'
13905 lt_prog_compiler_static_F77
='-Bstatic'
13909 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13910 lt_prog_compiler_wl_F77
='-Wl,'
13911 lt_prog_compiler_pic_F77
='-KPIC'
13912 lt_prog_compiler_static_F77
='-Bstatic'
13916 lt_prog_compiler_wl_F77
='-Wl,'
13917 lt_prog_compiler_can_build_shared_F77
=no
13921 lt_prog_compiler_pic_F77
='-pic'
13922 lt_prog_compiler_static_F77
='-Bstatic'
13926 lt_prog_compiler_can_build_shared_F77
=no
13931 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13932 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13935 # Check to make sure the PIC flag actually works.
13937 if test -n "$lt_prog_compiler_pic_F77"; then
13939 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13940 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13941 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 lt_prog_compiler_pic_works_F77
=no
13945 ac_outfile
=conftest.
$ac_objext
13946 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13947 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13948 # Insert the option either (1) after the last *FLAGS variable, or
13949 # (2) before a word containing "conftest.", or (3) at the end.
13950 # Note that $ac_compile itself does not contain backslashes and begins
13951 # with a dollar sign (not a hyphen), so the echo should work correctly.
13952 # The option is referenced via a variable to avoid confusing sed.
13953 lt_compile
=`echo "$ac_compile" | $SED \
13954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13956 -e 's:$: $lt_compiler_flag:'`
13957 (eval echo "\"\$as_me:13957: $lt_compile\"" >&5)
13958 (eval "$lt_compile" 2>conftest.err
)
13960 cat conftest.err
>&5
13961 echo "$as_me:13961: \$? = $ac_status" >&5
13962 if (exit $ac_status) && test -s "$ac_outfile"; then
13963 # The compiler can only warn and ignore the option if not recognized
13964 # So say no if there are warnings other than the usual output.
13965 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13966 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13967 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13968 lt_prog_compiler_pic_works_F77
=yes
13974 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13975 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13977 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13978 case $lt_prog_compiler_pic_F77 in
13980 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13983 lt_prog_compiler_pic_F77
=
13984 lt_prog_compiler_can_build_shared_F77
=no
13989 # For platforms which do not support PIC, -DPIC is meaningless:
13991 lt_prog_compiler_pic_F77
=
13994 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13999 # Check to make sure the static flag actually works.
14001 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14002 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14003 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14004 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 lt_prog_compiler_static_works_F77
=no
14008 save_LDFLAGS
="$LDFLAGS"
14009 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14010 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14011 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14012 # The linker can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 if test -s conftest.err
; then
14015 # Append any errors to the config.log.
14016 cat conftest.err
1>&5
14017 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14018 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14019 if diff conftest.exp conftest.er2
>/dev
/null
; then
14020 lt_prog_compiler_static_works_F77
=yes
14023 lt_prog_compiler_static_works_F77
=yes
14027 LDFLAGS
="$save_LDFLAGS"
14030 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14031 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14033 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14036 lt_prog_compiler_static_F77
=
14040 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14041 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14042 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 lt_cv_prog_compiler_c_o_F77
=no
14046 $rm -r conftest
2>/dev
/null
14050 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14052 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14053 # Insert the option either (1) after the last *FLAGS variable, or
14054 # (2) before a word containing "conftest.", or (3) at the end.
14055 # Note that $ac_compile itself does not contain backslashes and begins
14056 # with a dollar sign (not a hyphen), so the echo should work correctly.
14057 lt_compile
=`echo "$ac_compile" | $SED \
14058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14060 -e 's:$: $lt_compiler_flag:'`
14061 (eval echo "\"\$as_me:14061: $lt_compile\"" >&5)
14062 (eval "$lt_compile" 2>out
/conftest.err
)
14064 cat out
/conftest.err
>&5
14065 echo "$as_me:14065: \$? = $ac_status" >&5
14066 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14068 # The compiler can only warn and ignore the option if not recognized
14069 # So say no if there are warnings
14070 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14071 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14072 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14073 lt_cv_prog_compiler_c_o_F77
=yes
14078 # SGI C++ compiler will create directory out/ii_files/ for
14079 # template instantiation
14080 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14081 $rm out
/* && rmdir out
14087 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14088 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14091 hard_links
="nottested"
14092 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14093 # do not overwrite the value of need_locks provided by the user
14094 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14095 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14098 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14100 ln conftest.a conftest.b
2>&5 || hard_links
=no
14101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14102 { echo "$as_me:$LINENO: result: $hard_links" >&5
14103 echo "${ECHO_T}$hard_links" >&6; }
14104 if test "$hard_links" = no
; then
14105 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14106 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14113 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14114 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14117 allow_undefined_flag_F77
=
14118 enable_shared_with_static_runtimes_F77
=no
14120 archive_expsym_cmds_F77
=
14121 old_archive_From_new_cmds_F77
=
14122 old_archive_from_expsyms_cmds_F77
=
14123 export_dynamic_flag_spec_F77
=
14124 whole_archive_flag_spec_F77
=
14125 thread_safe_flag_spec_F77
=
14126 hardcode_libdir_flag_spec_F77
=
14127 hardcode_libdir_flag_spec_ld_F77
=
14128 hardcode_libdir_separator_F77
=
14129 hardcode_direct_F77
=no
14130 hardcode_minus_L_F77
=no
14131 hardcode_shlibpath_var_F77
=unsupported
14132 link_all_deplibs_F77
=unknown
14133 hardcode_automatic_F77
=no
14135 module_expsym_cmds_F77
=
14136 always_export_symbols_F77
=no
14137 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14138 # include_expsyms should be a list of space-separated symbols to be *always*
14139 # included in the symbol list
14140 include_expsyms_F77
=
14141 # exclude_expsyms can be an extended regexp of symbols to exclude
14142 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14143 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14144 # as well as any symbol that contains `d'.
14145 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14146 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14147 # platforms (ab)use it in PIC code, but their linkers get confused if
14148 # the symbol is explicitly referenced. Since portable code cannot
14149 # rely on this symbol name, it's probably fine to never include it in
14150 # preloaded symbol tables.
14151 extract_expsyms_cmds
=
14152 # Just being paranoid about ensuring that cc_basename is set.
14153 for cc_temp
in $compiler""; do
14155 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14156 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14161 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14164 cygwin
* | mingw
* | pw32
*)
14165 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14166 # When not using gcc, we currently assume that we are using
14167 # Microsoft Visual C++.
14168 if test "$GCC" != yes; then
14173 # we just hope/assume this is gcc and not c89 (= MSVC++)
14182 if test "$with_gnu_ld" = yes; then
14183 # If archive_cmds runs LD, not CC, wlarc should be empty
14186 # Set some defaults for GNU ld with shared library support. These
14187 # are reset later if shared libraries are not supported. Putting them
14188 # here allows them to be overridden if necessary.
14189 runpath_var
=LD_RUN_PATH
14190 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14191 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14192 # ancient GNU ld didn't support --whole-archive et. al.
14193 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14194 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14196 whole_archive_flag_spec_F77
=
14198 supports_anon_versioning
=no
14199 case `$LD -v 2>/dev/null` in
14200 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14201 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14202 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14203 *\
2.11.
*) ;; # other 2.11 versions
14204 *) supports_anon_versioning
=yes ;;
14207 # See if GNU ld supports shared libraries.
14209 aix3
* | aix4
* | aix5
*)
14210 # On AIX/PPC, the GNU linker is very broken
14211 if test "$host_cpu" != ia64
; then
14215 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14216 *** to be unable to reliably create shared libraries on AIX.
14217 *** Therefore, libtool is disabling shared libraries support. If you
14218 *** really care for shared libraries, you may want to modify your PATH
14219 *** so that a non-GNU linker is found, and then restart.
14226 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)'
14227 hardcode_libdir_flag_spec_F77
='-L$libdir'
14228 hardcode_minus_L_F77
=yes
14230 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14231 # that the semantics of dynamic libraries on AmigaOS, at least up
14232 # to version 4, is to share data among multiple programs linked
14233 # with the same dynamic library. Since this doesn't match the
14234 # behavior of shared libraries on other platforms, we can't use
14240 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14241 allow_undefined_flag_F77
=unsupported
14242 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14243 # support --undefined. This deserves some investigation. FIXME
14244 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 cygwin
* | mingw
* | pw32
*)
14251 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14252 # as there is no search path for DLLs.
14253 hardcode_libdir_flag_spec_F77
='-L$libdir'
14254 allow_undefined_flag_F77
=unsupported
14255 always_export_symbols_F77
=no
14256 enable_shared_with_static_runtimes_F77
=yes
14257 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14259 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14260 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14261 # If the export-symbols file already is a .def file (1st line
14262 # is EXPORTS), use it as is; otherwise, prepend...
14263 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14264 cp $export_symbols $output_objdir/$soname.def;
14266 echo EXPORTS > $output_objdir/$soname.def;
14267 cat $export_symbols >> $output_objdir/$soname.def;
14269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14276 hardcode_direct_F77
=no
14277 hardcode_shlibpath_var_F77
=no
14278 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14279 export_dynamic_flag_spec_F77
='${wl}-E'
14280 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14281 # Instead, shared libraries are loaded at an image base (0x10000000 by
14282 # default) and relocated if they conflict, which is a slow very memory
14283 # consuming and fragmenting process. To avoid this, we pick a random,
14284 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14285 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14286 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'
14287 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'
14291 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14293 case $cc_basename,$host_cpu in
14294 pgcc
*) # Portland Group C compiler
14295 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'
14296 tmp_addflag
=' $pic_flag'
14298 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14299 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'
14300 tmp_addflag
=' $pic_flag -Mnomain' ;;
14301 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14302 tmp_addflag
=' -i_dynamic' ;;
14303 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14304 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14305 ifc
* | ifort
*) # Intel Fortran compiler
14306 tmp_addflag
=' -nofor_main' ;;
14308 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14310 if test $supports_anon_versioning = yes; then
14311 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14313 $echo "local: *; };" >> $output_objdir/$libname.ver~
14314 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14322 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14323 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14326 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14327 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14332 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14336 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14337 *** create shared libraries on Solaris systems. Therefore, libtool
14338 *** is disabling shared libraries support. We urge you to upgrade GNU
14339 *** binutils to release 2.9.1 or newer. Another option is to modify
14340 *** your PATH or compiler configuration so that the native linker is
14341 *** used, and then restart.
14344 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14345 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14346 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14352 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14353 case `$LD -v 2>&1` in
14354 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14358 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14359 *** reliably create shared libraries on SCO systems. Therefore, libtool
14360 *** is disabling shared libraries support. We urge you to upgrade GNU
14361 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14362 *** your PATH or compiler configuration so that the native linker is
14363 *** used, and then restart.
14368 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14369 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14370 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14371 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14380 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14382 hardcode_direct_F77
=yes
14383 hardcode_shlibpath_var_F77
=no
14387 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14388 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14389 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14396 if test "$ld_shlibs_F77" = no
; then
14398 hardcode_libdir_flag_spec_F77
=
14399 export_dynamic_flag_spec_F77
=
14400 whole_archive_flag_spec_F77
=
14403 # PORTME fill in a description of your system's linker (not GNU ld)
14406 allow_undefined_flag_F77
=unsupported
14407 always_export_symbols_F77
=yes
14408 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'
14409 # Note: this linker hardcodes the directories in LIBPATH if there
14410 # are no directories specified by -L.
14411 hardcode_minus_L_F77
=yes
14412 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14413 # Neither direct hardcoding nor static linking is supported with a
14415 hardcode_direct_F77
=unsupported
14420 if test "$host_cpu" = ia64
; then
14421 # On IA64, the linker does run time linking by default, so we don't
14422 # have to do anything special.
14423 aix_use_runtimelinking
=no
14424 exp_sym_flag
='-Bexport'
14427 # If we're using GNU nm, then we don't want the "-C" option.
14428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14429 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14430 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'
14432 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'
14434 aix_use_runtimelinking
=no
14436 # Test if we are trying to use run time linking or normal
14437 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14438 # need to do runtime linking.
14439 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14440 for ld_flag
in $LDFLAGS; do
14441 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14442 aix_use_runtimelinking
=yes
14449 exp_sym_flag
='-bexport'
14450 no_entry_flag
='-bnoentry'
14453 # When large executables or shared objects are built, AIX ld can
14454 # have problems creating the table of contents. If linking a library
14455 # or program results in "error TOC overflow" add -mminimal-toc to
14456 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14457 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14459 archive_cmds_F77
=''
14460 hardcode_direct_F77
=yes
14461 hardcode_libdir_separator_F77
=':'
14462 link_all_deplibs_F77
=yes
14464 if test "$GCC" = yes; then
14465 case $host_os in aix4.
[012]|aix4.
[012].
*)
14466 # We only want to do this on AIX 4.2 and lower, the check
14467 # below for broken collect2 doesn't work under 4.3+
14468 collect2name
=`${CC} -print-prog-name=collect2`
14469 if test -f "$collect2name" && \
14470 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14472 # We have reworked collect2
14473 hardcode_direct_F77
=yes
14475 # We have old collect2
14476 hardcode_direct_F77
=unsupported
14477 # It fails to find uninstalled libraries when the uninstalled
14478 # path is not listed in the libpath. Setting hardcode_minus_L
14479 # to unsupported forces relinking
14480 hardcode_minus_L_F77
=yes
14481 hardcode_libdir_flag_spec_F77
='-L$libdir'
14482 hardcode_libdir_separator_F77
=
14486 shared_flag
='-shared'
14487 if test "$aix_use_runtimelinking" = yes; then
14488 shared_flag
="$shared_flag "'${wl}-G'
14492 if test "$host_cpu" = ia64
; then
14493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14494 # chokes on -Wl,-G. The following line is correct:
14497 if test "$aix_use_runtimelinking" = yes; then
14498 shared_flag
='${wl}-G'
14500 shared_flag
='${wl}-bM:SRE'
14505 # It seems that -bexpall does not export symbols beginning with
14506 # underscore (_), so it is better to generate a list of symbols to export.
14507 always_export_symbols_F77
=yes
14508 if test "$aix_use_runtimelinking" = yes; then
14509 # Warning - without using the other runtime loading flags (-brtl),
14510 # -berok will link without error, but may produce a broken library.
14511 allow_undefined_flag_F77
='-berok'
14512 # Determine the default libpath from the value encoded in an empty executable.
14513 cat >conftest.
$ac_ext <<_ACEOF
14518 rm -f conftest.
$ac_objext conftest
$ac_exeext
14519 if { (ac_try
="$ac_link"
14520 case "(($ac_try" in
14521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14522 *) ac_try_echo=$ac_try;;
14524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14525 (eval "$ac_link") 2>conftest.er1
14527 grep -v '^ *+' conftest.er1 >conftest.err
14529 cat conftest.err >&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } && {
14532 test -z "$ac_f77_werror_flag" ||
14533 test ! -s conftest.err
14534 } && test -s conftest$ac_exeext &&
14535 $as_test_x conftest$ac_exeext; then
14537 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14539 # Check for a 64-bit object if we didn't find anything.
14540 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.$ac_ext >&5
14549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14550 conftest$ac_exeext conftest.$ac_ext
14551 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14553 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14554 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"
14556 if test "$host_cpu" = ia64; then
14557 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14558 allow_undefined_flag_F77="-z nodefs"
14559 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"
14561 # Determine the default libpath from the value encoded in an empty executable.
14562 cat >conftest.$ac_ext <<_ACEOF
14567 rm -f conftest.$ac_objext conftest$ac_exeext
14568 if { (ac_try="$ac_link"
14569 case "(($ac_try" in
14570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14571 *) ac_try_echo
=$ac_try;;
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_link") 2>conftest.er1
14576 grep -v '^ *+' conftest.er1
>conftest.err
14578 cat conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } && {
14581 test -z "$ac_f77_werror_flag" ||
14582 test ! -s conftest.err
14583 } && test -s conftest
$ac_exeext &&
14584 $as_test_x conftest
$ac_exeext; then
14586 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14588 # Check for a 64-bit object if we didn't find anything.
14589 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.
$ac_ext >&5
14598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14599 conftest
$ac_exeext conftest.
$ac_ext
14600 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14602 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14603 # Warning - without using the other run time loading flags,
14604 # -berok will link without error, but may produce a broken library.
14605 no_undefined_flag_F77
=' ${wl}-bernotok'
14606 allow_undefined_flag_F77
=' ${wl}-berok'
14607 # Exported symbols can be pulled into shared objects from archives
14608 whole_archive_flag_spec_F77
='$convenience'
14609 archive_cmds_need_lc_F77
=yes
14610 # This is similar to how AIX traditionally builds its shared libraries.
14611 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'
14617 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)'
14618 hardcode_libdir_flag_spec_F77
='-L$libdir'
14619 hardcode_minus_L_F77
=yes
14620 # see comment about different semantics on the GNU ld section
14625 export_dynamic_flag_spec_F77
=-rdynamic
14628 cygwin
* | mingw
* | pw32
*)
14629 # When not using gcc, we currently assume that we are using
14630 # Microsoft Visual C++.
14631 # hardcode_libdir_flag_spec is actually meaningless, as there is
14632 # no search path for DLLs.
14633 hardcode_libdir_flag_spec_F77
=' '
14634 allow_undefined_flag_F77
=unsupported
14635 # Tell ltmain to make .lib files, not .a files.
14637 # Tell ltmain to make .dll files, not .so files.
14639 # FIXME: Setting linknames here is a bad hack.
14640 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14641 # The linker will automatically build a .lib file if we build a DLL.
14642 old_archive_From_new_cmds_F77
='true'
14643 # FIXME: Should let the user specify the lib program.
14644 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14645 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14646 enable_shared_with_static_runtimes_F77
=yes
14649 darwin
* | rhapsody
*)
14651 rhapsody
* | darwin1.
[012])
14652 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14655 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14656 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14658 case ${MACOSX_DEPLOYMENT_TARGET} in
14660 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14663 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14669 archive_cmds_need_lc_F77
=no
14670 hardcode_direct_F77
=no
14671 hardcode_automatic_F77
=yes
14672 hardcode_shlibpath_var_F77
=unsupported
14673 whole_archive_flag_spec_F77
=''
14674 link_all_deplibs_F77
=yes
14675 if test "$GCC" = yes ; then
14676 output_verbose_link_cmd
='echo'
14677 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14678 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14679 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14680 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}'
14681 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}'
14683 case $cc_basename in
14685 output_verbose_link_cmd
='echo'
14686 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14687 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14688 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14689 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14690 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}'
14700 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_libdir_flag_spec_F77
='-L$libdir'
14702 hardcode_shlibpath_var_F77
=no
14709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14710 # support. Future versions do this automatically, but an explicit c++rt0.o
14711 # does not break anything, and helps significantly (at the cost of a little
14714 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14715 hardcode_libdir_flag_spec_F77
='-R$libdir'
14716 hardcode_direct_F77
=yes
14717 hardcode_shlibpath_var_F77
=no
14720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14722 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14723 hardcode_direct_F77
=yes
14724 hardcode_minus_L_F77
=yes
14725 hardcode_shlibpath_var_F77
=no
14728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14729 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14730 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14731 hardcode_libdir_flag_spec_F77
='-R$libdir'
14732 hardcode_direct_F77
=yes
14733 hardcode_shlibpath_var_F77
=no
14737 if test "$GCC" = yes; then
14738 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'
14740 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'
14742 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14743 hardcode_libdir_separator_F77
=:
14744 hardcode_direct_F77
=yes
14746 # hardcode_minus_L: Not really in the search PATH,
14747 # but as the default location of the library.
14748 hardcode_minus_L_F77
=yes
14749 export_dynamic_flag_spec_F77
='${wl}-E'
14753 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14754 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14756 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14758 if test "$with_gnu_ld" = no
; then
14759 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14760 hardcode_libdir_separator_F77
=:
14762 hardcode_direct_F77
=yes
14763 export_dynamic_flag_spec_F77
='${wl}-E'
14765 # hardcode_minus_L: Not really in the search PATH,
14766 # but as the default location of the library.
14767 hardcode_minus_L_F77
=yes
14772 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14775 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14778 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14781 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14787 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14790 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14793 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14797 if test "$with_gnu_ld" = no
; then
14798 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14799 hardcode_libdir_separator_F77
=:
14803 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14804 hardcode_direct_F77
=no
14805 hardcode_shlibpath_var_F77
=no
14808 hardcode_direct_F77
=yes
14809 export_dynamic_flag_spec_F77
='${wl}-E'
14811 # hardcode_minus_L: Not really in the search PATH,
14812 # but as the default location of the library.
14813 hardcode_minus_L_F77
=yes
14819 irix5
* | irix6
* | nonstopux
*)
14820 if test "$GCC" = yes; then
14821 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'
14823 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'
14824 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14826 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14827 hardcode_libdir_separator_F77
=:
14828 link_all_deplibs_F77
=yes
14832 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14833 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14835 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14837 hardcode_libdir_flag_spec_F77
='-R$libdir'
14838 hardcode_direct_F77
=yes
14839 hardcode_shlibpath_var_F77
=no
14843 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14844 hardcode_direct_F77
=yes
14845 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14846 hardcode_libdir_separator_F77
=:
14847 hardcode_shlibpath_var_F77
=no
14851 hardcode_direct_F77
=yes
14852 hardcode_shlibpath_var_F77
=no
14853 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14854 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14855 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14856 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14857 export_dynamic_flag_spec_F77
='${wl}-E'
14860 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14861 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14862 hardcode_libdir_flag_spec_F77
='-R$libdir'
14865 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14866 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14873 hardcode_libdir_flag_spec_F77
='-L$libdir'
14874 hardcode_minus_L_F77
=yes
14875 allow_undefined_flag_F77
=unsupported
14876 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'
14877 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14881 if test "$GCC" = yes; then
14882 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14883 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'
14885 allow_undefined_flag_F77
=' -expect_unresolved \*'
14886 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'
14888 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14889 hardcode_libdir_separator_F77
=:
14892 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14893 if test "$GCC" = yes; then
14894 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14895 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'
14896 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14898 allow_undefined_flag_F77
=' -expect_unresolved \*'
14899 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'
14900 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~
14901 $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'
14903 # Both c and cxx compiler support -rpath directly
14904 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14906 hardcode_libdir_separator_F77
=:
14910 no_undefined_flag_F77
=' -z text'
14911 if test "$GCC" = yes; then
14913 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14914 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14915 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14918 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14919 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14920 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14922 hardcode_libdir_flag_spec_F77
='-R$libdir'
14923 hardcode_shlibpath_var_F77
=no
14925 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14927 # The compiler driver will combine linker options so we
14928 # cannot just pass the convience library names through
14929 # without $wl, iff we do not link with $LD.
14930 # Luckily, gcc supports the same syntax we need for Sun Studio.
14931 # Supported since Solaris 2.6 (maybe 2.5.1?)
14934 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14936 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14939 link_all_deplibs_F77
=yes
14943 if test "x$host_vendor" = xsequent
; then
14944 # Use $CC to link under sequent, because it throws in some extra .o
14945 # files that make .init and .fini sections work.
14946 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14948 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14950 hardcode_libdir_flag_spec_F77
='-L$libdir'
14951 hardcode_direct_F77
=yes
14952 hardcode_minus_L_F77
=yes
14953 hardcode_shlibpath_var_F77
=no
14957 case $host_vendor in
14959 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14960 hardcode_direct_F77
=yes # is this really true???
14963 ## LD is ld it makes a PLAMLIB
14964 ## CC just makes a GrossModule.
14965 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14966 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14967 hardcode_direct_F77
=no
14970 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14971 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14974 runpath_var
='LD_RUN_PATH'
14975 hardcode_shlibpath_var_F77
=no
14979 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14980 hardcode_shlibpath_var_F77
=no
14981 export_dynamic_flag_spec_F77
='-Bexport'
14985 if test -d /usr
/nec
; then
14986 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14987 hardcode_shlibpath_var_F77
=no
14988 runpath_var
=LD_RUN_PATH
14989 hardcode_runpath_var
=yes
14994 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14995 no_undefined_flag_F77
='${wl}-z,text'
14996 archive_cmds_need_lc_F77
=no
14997 hardcode_shlibpath_var_F77
=no
14998 runpath_var
='LD_RUN_PATH'
15000 if test "$GCC" = yes; then
15001 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15002 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15004 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15009 sysv5
* | sco3.2v5
* | sco5v6
*)
15010 # Note: We can NOT use -z defs as we might desire, because we do not
15011 # link with -lc, and that would cause any symbols used from libc to
15012 # always be unresolved, which means just about no library would
15013 # ever link correctly. If we're not using GNU ld we use -z text
15014 # though, which does catch some bad symbols but isn't as heavy-handed
15016 no_undefined_flag_F77
='${wl}-z,text'
15017 allow_undefined_flag_F77
='${wl}-z,nodefs'
15018 archive_cmds_need_lc_F77
=no
15019 hardcode_shlibpath_var_F77
=no
15020 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15021 hardcode_libdir_separator_F77
=':'
15022 link_all_deplibs_F77
=yes
15023 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15024 runpath_var
='LD_RUN_PATH'
15026 if test "$GCC" = yes; then
15027 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15028 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15030 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15031 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15036 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15037 hardcode_libdir_flag_spec_F77
='-L$libdir'
15038 hardcode_shlibpath_var_F77
=no
15047 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15048 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15049 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15052 # Do we need to explicitly link libc?
15054 case "x$archive_cmds_need_lc_F77" in
15056 # Assume -lc should be added
15057 archive_cmds_need_lc_F77
=yes
15059 if test "$enable_shared" = yes && test "$GCC" = yes; then
15060 case $archive_cmds_F77 in
15062 # FIXME: we may have to deal with multi-command sequences.
15065 # Test whether the compiler implicitly links with -lc since on some
15066 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15067 # to ld, don't add -lc before -lgcc.
15068 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15069 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15071 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15074 (eval $ac_compile) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } 2>conftest.err
; then
15080 libobjs
=conftest.
$ac_objext
15082 wl
=$lt_prog_compiler_wl_F77
15083 pic_flag
=$lt_prog_compiler_pic_F77
15089 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15090 allow_undefined_flag_F77
=
15091 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15092 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }
15097 archive_cmds_need_lc_F77
=no
15099 archive_cmds_need_lc_F77
=yes
15101 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15103 cat conftest.err
1>&5
15106 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15107 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15114 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15115 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15116 library_names_spec
=
15117 libname_spec
='lib$name'
15121 postuninstall_cmds
=
15125 shlibpath_overrides_runpath
=unknown
15127 dynamic_linker
="$host_os ld.so"
15128 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15129 if test "$GCC" = yes; then
15130 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15131 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15132 # if the path contains ";" then we assume it to be the separator
15133 # otherwise default to the standard path separator (i.e. ":") - it is
15134 # assumed that no part of a normal pathname contains ";" but that should
15135 # okay in the real world where ";" in dirpaths is itself problematic.
15136 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15138 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15141 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15143 need_lib_prefix
=unknown
15144 hardcode_into_libs
=no
15146 # when you set need_version to no, make sure it does not cause -set_version
15147 # flags to be left without arguments
15148 need_version
=unknown
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15154 shlibpath_var
=LIBPATH
15156 # AIX 3 has no versioning support, so we append a major version to the name.
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15164 hardcode_into_libs
=yes
15165 if test "$host_cpu" = ia64
; then
15166 # AIX 5 supports IA64
15167 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15168 shlibpath_var
=LD_LIBRARY_PATH
15170 # With GCC up to 2.95.x, collect2 would create an import file
15171 # for dependence libraries. The import file would start with
15172 # the line `#! .'. This would cause the generated library to
15173 # depend on `.', always an invalid library. This was fixed in
15174 # development snapshots of GCC prior to 3.0.
15176 aix4 | aix4.
[01] | aix4.
[01].
*)
15177 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15179 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15182 can_build_shared
=no
15186 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15187 # soname into executable. Probably we can add versioning support to
15188 # collect2, so additional links can be useful in future.
15189 if test "$aix_use_runtimelinking" = yes; then
15190 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15191 # instead of lib<name>.a to let people know that these are not
15192 # typical AIX shared libraries.
15193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15195 # We preserve .a as extension for shared libraries through AIX4.2
15196 # and later when we are not doing run time linking.
15197 library_names_spec
='${libname}${release}.a $libname.a'
15198 soname_spec
='${libname}${release}${shared_ext}$major'
15200 shlibpath_var
=LIBPATH
15205 library_names_spec
='$libname.ixlibrary $libname.a'
15206 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15207 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'
15211 library_names_spec
='${libname}${shared_ext}'
15212 dynamic_linker
="$host_os ld.so"
15213 shlibpath_var
=LIBRARY_PATH
15219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15221 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15222 shlibpath_var
=LD_LIBRARY_PATH
15223 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15224 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15225 # the default ld.so.conf also contains /usr/contrib/lib and
15226 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15227 # libtool to hard-code these into programs
15230 cygwin
* | mingw
* | pw32
*)
15231 version_type
=windows
15236 case $GCC,$host_os in
15237 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15238 library_names_spec
='$libname.dll.a'
15239 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15240 postinstall_cmds
='base_file=`basename \${file}`~
15241 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15242 dldir=$destdir/`dirname \$dlpath`~
15243 test -d \$dldir || mkdir -p \$dldir~
15244 $install_prog $dir/$dlname \$dldir/$dlname~
15245 chmod a+x \$dldir/$dlname'
15246 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15247 dlpath=$dir/\$dldll~
15249 shlibpath_overrides_runpath
=yes
15253 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15254 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15255 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15258 # MinGW DLLs use traditional 'lib' prefix
15259 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15260 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15261 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15262 # It is most probably a Windows format PATH printed by
15263 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15264 # path with ; separators, and with drive letters. We can handle the
15265 # drive letters (cygwin fileutils understands them), so leave them,
15266 # especially as we might pass files found there to a mingw objdump,
15267 # which wouldn't understand a cygwinified path. Ahh.
15268 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15270 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15274 # pw32 DLLs use 'pw' prefix rather than 'lib'
15275 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15281 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15284 dynamic_linker
='Win32 ld.exe'
15285 # FIXME: first we should search . and the directory the executable is in
15289 darwin
* | rhapsody
*)
15290 dynamic_linker
="$host_os dyld"
15291 version_type
=darwin
15294 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15295 soname_spec
='${libname}${release}${major}$shared_ext'
15296 shlibpath_overrides_runpath
=yes
15297 shlibpath_var
=DYLD_LIBRARY_PATH
15298 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15299 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15300 if test "$GCC" = yes; then
15301 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15303 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15305 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15314 shlibpath_var
=LD_LIBRARY_PATH
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15327 shlibpath_var
=LD_LIBRARY_PATH
15328 shlibpath_overrides_runpath
=no
15329 hardcode_into_libs
=yes
15330 dynamic_linker
='GNU ld.so'
15333 freebsd
* | dragonfly
*)
15334 # DragonFly does not have aout. When/if they implement a new
15335 # versioning mechanism, adjust this.
15336 if test -x /usr
/bin
/objformat
; then
15337 objformat
=`/usr/bin/objformat`
15340 freebsd
[123]*) objformat
=aout
;;
15341 *) objformat
=elf
;;
15344 version_type
=freebsd-
$objformat
15345 case $version_type in
15347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15356 shlibpath_var
=LD_LIBRARY_PATH
15359 shlibpath_overrides_runpath
=yes
15361 freebsd3.
[01]* | freebsdelf3.
[01]*)
15362 shlibpath_overrides_runpath
=yes
15363 hardcode_into_libs
=yes
15365 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15366 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15367 shlibpath_overrides_runpath
=no
15368 hardcode_into_libs
=yes
15370 freebsd
*) # from 4.6 on
15371 shlibpath_overrides_runpath
=yes
15372 hardcode_into_libs
=yes
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15382 soname_spec
='${libname}${release}${shared_ext}$major'
15383 shlibpath_var
=LD_LIBRARY_PATH
15384 hardcode_into_libs
=yes
15387 hpux9
* | hpux10
* | hpux11
*)
15388 # Give a soname corresponding to the major version so that dld.sl refuses to
15389 # link against other versions.
15396 hardcode_into_libs
=yes
15397 dynamic_linker
="$host_os dld.so"
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15402 if test "X$HPUX_IA64_MODE" = X32
; then
15403 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15405 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15407 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15411 hardcode_into_libs
=yes
15412 dynamic_linker
="$host_os dld.sl"
15413 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15414 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416 soname_spec
='${libname}${release}${shared_ext}$major'
15417 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15418 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15422 dynamic_linker
="$host_os dld.sl"
15423 shlibpath_var
=SHLIB_PATH
15424 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15426 soname_spec
='${libname}${release}${shared_ext}$major'
15429 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15430 postinstall_cmds
='chmod 555 $lib'
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15438 soname_spec
='${libname}${release}${shared_ext}$major'
15439 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=no
15442 hardcode_into_libs
=yes
15445 irix5
* | irix6
* | nonstopux
*)
15447 nonstopux
*) version_type
=nonstopux
;;
15449 if test "$lt_cv_prog_gnu_ld" = yes; then
15457 soname_spec
='${libname}${release}${shared_ext}$major'
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15460 irix5
* | nonstopux
*)
15461 libsuff
= shlibsuff
=
15464 case $LD in # libtool.m4 will add one of these switches to LD
15465 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15466 libsuff
= shlibsuff
= libmagic
=32-bit;;
15467 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15468 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15469 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15470 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15471 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15475 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15476 shlibpath_overrides_runpath
=no
15477 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15478 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15479 hardcode_into_libs
=yes
15482 # No shared lib support for Linux oldld, aout, or coff.
15483 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15487 # This must be Linux ELF.
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15493 soname_spec
='${libname}${release}${shared_ext}$major'
15494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 shlibpath_overrides_runpath
=no
15497 # This implies no fast_install, which is unacceptable.
15498 # Some rework will be needed to allow for fast_install
15499 # before this can be enabled.
15500 hardcode_into_libs
=yes
15502 # find out which ABI we are using
15504 case "$host_cpu" in
15505 x86_64
*|s390x
*|powerpc64
*)
15506 echo '#line 15506 "configure"' > conftest.
$ac_ext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15508 (eval $ac_compile) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; then
15512 case `/usr/bin/file conftest.$ac_objext` in
15515 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15523 # Append ld.so.conf contents to the search path
15524 if test -f /etc
/ld.so.conf
; then
15525 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15526 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15529 # We used to test for /lib/ld.so.1 and disable shared libraries on
15530 # powerpc, because MkLinux only supported shared libraries with the
15531 # GNU dynamic linker. Since this was broken with cross compilers,
15532 # most powerpc-linux boxes support dynamic linking these days and
15533 # people can always --disable-shared, the test was removed, and we
15534 # assume the GNU/Linux dynamic linker is in use.
15535 dynamic_linker
='GNU/Linux ld.so'
15542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15543 soname_spec
='${libname}${release}${shared_ext}$major'
15544 shlibpath_var
=LD_LIBRARY_PATH
15545 shlibpath_overrides_runpath
=no
15546 hardcode_into_libs
=yes
15547 dynamic_linker
='GNU ld.so'
15554 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15557 dynamic_linker
='NetBSD (a.out) ld.so'
15559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15560 soname_spec
='${libname}${release}${shared_ext}$major'
15561 dynamic_linker
='NetBSD ld.elf_so'
15563 shlibpath_var
=LD_LIBRARY_PATH
15564 shlibpath_overrides_runpath
=yes
15565 hardcode_into_libs
=yes
15570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15571 shlibpath_var
=LD_LIBRARY_PATH
15572 shlibpath_overrides_runpath
=yes
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15580 soname_spec
='${libname}${release}${shared_ext}$major'
15581 shlibpath_var
=LD_LIBRARY_PATH
15582 shlibpath_overrides_runpath
=yes
15587 sys_lib_dlsearch_path_spec
="/usr/lib"
15589 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15591 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15592 *) need_version
=no
;;
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15596 shlibpath_var
=LD_LIBRARY_PATH
15597 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15599 openbsd2.
[89] | openbsd2.
[89].
*)
15600 shlibpath_overrides_runpath
=no
15603 shlibpath_overrides_runpath
=yes
15607 shlibpath_overrides_runpath
=yes
15612 libname_spec
='$name'
15615 library_names_spec
='$libname${shared_ext} $libname.a'
15616 dynamic_linker
='OS/2 ld.exe'
15617 shlibpath_var
=LIBPATH
15620 osf3
* | osf4
* | osf5
*)
15624 soname_spec
='${libname}${release}${shared_ext}$major'
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 shlibpath_var
=LD_LIBRARY_PATH
15627 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15628 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15636 soname_spec
='${libname}${release}${shared_ext}$major'
15637 shlibpath_var
=LD_LIBRARY_PATH
15638 shlibpath_overrides_runpath
=yes
15639 hardcode_into_libs
=yes
15640 # ldd complains unless libraries are executable
15641 postinstall_cmds
='chmod +x $lib'
15646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15647 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15648 shlibpath_var
=LD_LIBRARY_PATH
15649 shlibpath_overrides_runpath
=yes
15650 if test "$with_gnu_ld" = yes; then
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 soname_spec
='${libname}${release}${shared_ext}$major'
15660 shlibpath_var
=LD_LIBRARY_PATH
15661 case $host_vendor in
15663 shlibpath_overrides_runpath
=no
15665 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15666 runpath_var
=LD_RUN_PATH
15674 shlibpath_overrides_runpath
=no
15675 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15681 if test -d /usr
/nec
;then
15683 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15684 soname_spec
='$libname${shared_ext}.$major'
15685 shlibpath_var
=LD_LIBRARY_PATH
15689 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15690 version_type
=freebsd-elf
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15694 soname_spec
='${libname}${release}${shared_ext}$major'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 hardcode_into_libs
=yes
15697 if test "$with_gnu_ld" = yes; then
15698 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15699 shlibpath_overrides_runpath
=no
15701 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15702 shlibpath_overrides_runpath
=yes
15705 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15709 sys_lib_dlsearch_path_spec
='/usr/lib'
15714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15715 soname_spec
='${libname}${release}${shared_ext}$major'
15716 shlibpath_var
=LD_LIBRARY_PATH
15723 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15724 echo "${ECHO_T}$dynamic_linker" >&6; }
15725 test "$dynamic_linker" = no
&& can_build_shared
=no
15727 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15728 if test "$GCC" = yes; then
15729 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15732 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15733 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15734 hardcode_action_F77
=
15735 if test -n "$hardcode_libdir_flag_spec_F77" || \
15736 test -n "$runpath_var_F77" || \
15737 test "X$hardcode_automatic_F77" = "Xyes" ; then
15739 # We can hardcode non-existant directories.
15740 if test "$hardcode_direct_F77" != no
&&
15741 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15742 # have to relink, otherwise we might link with an installed library
15743 # when we should be linking with a yet-to-be-installed one
15744 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15745 test "$hardcode_minus_L_F77" != no
; then
15746 # Linking always hardcodes the temporary library directory.
15747 hardcode_action_F77
=relink
15749 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15750 hardcode_action_F77
=immediate
15753 # We cannot hardcode anything, or else we can only hardcode existing
15755 hardcode_action_F77
=unsupported
15757 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15758 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15760 if test "$hardcode_action_F77" = relink
; then
15761 # Fast installation is not supported
15762 enable_fast_install
=no
15763 elif test "$shlibpath_overrides_runpath" = yes ||
15764 test "$enable_shared" = no
; then
15765 # Fast installation is not necessary
15766 enable_fast_install
=needless
15770 # The else clause should only fire when bootstrapping the
15771 # libtool distribution, otherwise you forgot to ship ltmain.sh
15772 # with your package, and you will get complaints that there are
15773 # no rules to generate ltmain.sh.
15774 if test -f "$ltmain"; then
15775 # See if we are running on zsh, and set the options which allow our commands through
15776 # without removal of \ escapes.
15777 if test -n "${ZSH_VERSION+set}" ; then
15778 setopt NO_GLOB_SUBST
15780 # Now quote all the things that may contain metacharacters while being
15781 # careful not to overquote the AC_SUBSTed values. We take copies of the
15782 # variables and quote the copies for generation of the libtool script.
15783 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15785 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15786 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15787 deplibs_check_method reload_flag reload_cmds need_locks \
15788 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15789 lt_cv_sys_global_symbol_to_c_name_address \
15790 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15791 old_postinstall_cmds old_postuninstall_cmds \
15795 lt_prog_compiler_wl_F77 \
15796 lt_prog_compiler_pic_F77 \
15797 lt_prog_compiler_static_F77 \
15798 lt_prog_compiler_no_builtin_flag_F77 \
15799 export_dynamic_flag_spec_F77 \
15800 thread_safe_flag_spec_F77 \
15801 whole_archive_flag_spec_F77 \
15802 enable_shared_with_static_runtimes_F77 \
15803 old_archive_cmds_F77 \
15804 old_archive_from_new_cmds_F77 \
15805 predep_objects_F77 \
15806 postdep_objects_F77 \
15809 compiler_lib_search_path_F77 \
15811 archive_expsym_cmds_F77 \
15812 postinstall_cmds_F77 \
15813 postuninstall_cmds_F77 \
15814 old_archive_from_expsyms_cmds_F77 \
15815 allow_undefined_flag_F77 \
15816 no_undefined_flag_F77 \
15817 export_symbols_cmds_F77 \
15818 hardcode_libdir_flag_spec_F77 \
15819 hardcode_libdir_flag_spec_ld_F77 \
15820 hardcode_libdir_separator_F77 \
15821 hardcode_automatic_F77 \
15823 module_expsym_cmds_F77 \
15824 lt_cv_prog_compiler_c_o_F77 \
15825 exclude_expsyms_F77 \
15826 include_expsyms_F77
; do
15829 old_archive_cmds_F77 | \
15830 old_archive_from_new_cmds_F77 | \
15831 archive_cmds_F77 | \
15832 archive_expsym_cmds_F77 | \
15833 module_cmds_F77 | \
15834 module_expsym_cmds_F77 | \
15835 old_archive_from_expsyms_cmds_F77 | \
15836 export_symbols_cmds_F77 | \
15837 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15838 postinstall_cmds | postuninstall_cmds | \
15839 old_postinstall_cmds | old_postuninstall_cmds | \
15840 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15841 # Double-quote double-evaled strings.
15842 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15845 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15851 *'\$0 --fallback-echo"')
15852 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15858 cat <<__EOF__ >> "$cfgfile"
15859 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15863 # Shell to use when invoking shell scripts.
15866 # Whether or not to build shared libraries.
15867 build_libtool_libs=$enable_shared
15869 # Whether or not to build static libraries.
15870 build_old_libs=$enable_static
15872 # Whether or not to add -lc for building shared libraries.
15873 build_libtool_need_lc=$archive_cmds_need_lc_F77
15875 # Whether or not to disallow shared libs when runtime libs are static
15876 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15878 # Whether or not to optimize for fast installation.
15879 fast_install=$enable_fast_install
15882 host_alias=$host_alias
15886 # The build system.
15887 build_alias=$build_alias
15891 # An echo program that does not interpret backslashes.
15896 AR_FLAGS=$lt_AR_FLAGS
15901 # LTCC compiler flags.
15902 LTCFLAGS=$lt_LTCFLAGS
15904 # A language-specific compiler.
15905 CC=$lt_compiler_F77
15907 # Is the compiler the GNU C compiler?
15913 # The linker used to build libraries.
15916 # Whether we need hard or soft links.
15919 # A BSD-compatible nm program.
15922 # A symbol stripping program
15925 # Used to examine libraries when file_magic_cmd begins "file"
15926 MAGIC_CMD=$MAGIC_CMD
15928 # Used on cygwin: DLL creation program.
15931 # Used on cygwin: object dumper.
15934 # Used on cygwin: assembler.
15937 # The name of the directory that contains temporary libtool files.
15940 # How to create reloadable object files.
15941 reload_flag=$lt_reload_flag
15942 reload_cmds=$lt_reload_cmds
15944 # How to pass a linker flag through the compiler.
15945 wl=$lt_lt_prog_compiler_wl_F77
15947 # Object file suffix (normally "o").
15948 objext="$ac_objext"
15950 # Old archive suffix (normally "a").
15953 # Shared library suffix (normally ".so").
15954 shrext_cmds='$shrext_cmds'
15956 # Executable file suffix (normally "").
15959 # Additional compiler flags for building library objects.
15960 pic_flag=$lt_lt_prog_compiler_pic_F77
15963 # What is the maximum length of a command?
15964 max_cmd_len=$lt_cv_sys_max_cmd_len
15966 # Does compiler simultaneously support -c and -o options?
15967 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15969 # Must we lock files when doing compilation?
15970 need_locks=$lt_need_locks
15972 # Do we need the lib prefix for modules?
15973 need_lib_prefix=$need_lib_prefix
15975 # Do we need a version for libraries?
15976 need_version=$need_version
15978 # Whether dlopen is supported.
15979 dlopen_support=$enable_dlopen
15981 # Whether dlopen of programs is supported.
15982 dlopen_self=$enable_dlopen_self
15984 # Whether dlopen of statically linked programs is supported.
15985 dlopen_self_static=$enable_dlopen_self_static
15987 # Compiler flag to prevent dynamic linking.
15988 link_static_flag=$lt_lt_prog_compiler_static_F77
15990 # Compiler flag to turn off builtin functions.
15991 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15993 # Compiler flag to allow reflexive dlopens.
15994 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15996 # Compiler flag to generate shared objects directly from archives.
15997 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15999 # Compiler flag to generate thread-safe objects.
16000 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16002 # Library versioning type.
16003 version_type=$version_type
16005 # Format of library name prefix.
16006 libname_spec=$lt_libname_spec
16008 # List of archive names. First name is the real one, the rest are links.
16009 # The last name is the one that the linker finds with -lNAME.
16010 library_names_spec=$lt_library_names_spec
16012 # The coded name of the library, if different from the real name.
16013 soname_spec=$lt_soname_spec
16015 # Commands used to build and install an old-style archive.
16017 old_archive_cmds=$lt_old_archive_cmds_F77
16018 old_postinstall_cmds=$lt_old_postinstall_cmds
16019 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16021 # Create an old-style archive from a shared archive.
16022 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16024 # Create a temporary old-style archive to link instead of a shared archive.
16025 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16027 # Commands used to build and install a shared archive.
16028 archive_cmds=$lt_archive_cmds_F77
16029 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16030 postinstall_cmds=$lt_postinstall_cmds
16031 postuninstall_cmds=$lt_postuninstall_cmds
16033 # Commands used to build a loadable module (assumed same as above if empty)
16034 module_cmds=$lt_module_cmds_F77
16035 module_expsym_cmds=$lt_module_expsym_cmds_F77
16037 # Commands to strip libraries.
16038 old_striplib=$lt_old_striplib
16039 striplib=$lt_striplib
16041 # Dependencies to place before the objects being linked to create a
16043 predep_objects=$lt_predep_objects_F77
16045 # Dependencies to place after the objects being linked to create a
16047 postdep_objects=$lt_postdep_objects_F77
16049 # Dependencies to place before the objects being linked to create a
16051 predeps=$lt_predeps_F77
16053 # Dependencies to place after the objects being linked to create a
16055 postdeps=$lt_postdeps_F77
16057 # The library search path used internally by the compiler when linking
16058 # a shared library.
16059 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16061 # Method to check whether dependent libraries are shared objects.
16062 deplibs_check_method=$lt_deplibs_check_method
16064 # Command to use when deplibs_check_method == file_magic.
16065 file_magic_cmd=$lt_file_magic_cmd
16067 # Flag that allows shared libraries with undefined symbols to be built.
16068 allow_undefined_flag=$lt_allow_undefined_flag_F77
16070 # Flag that forces no undefined symbols.
16071 no_undefined_flag=$lt_no_undefined_flag_F77
16073 # Commands used to finish a libtool library installation in a directory.
16074 finish_cmds=$lt_finish_cmds
16076 # Same as above, but a single script fragment to be evaled but not shown.
16077 finish_eval=$lt_finish_eval
16079 # Take the output of nm and produce a listing of raw symbols and C names.
16080 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16082 # Transform the output of nm in a proper C declaration
16083 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16085 # Transform the output of nm in a C name address pair
16086 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16088 # This is the shared library runtime path variable.
16089 runpath_var=$runpath_var
16091 # This is the shared library path variable.
16092 shlibpath_var=$shlibpath_var
16094 # Is shlibpath searched before the hard-coded library search path?
16095 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16097 # How to hardcode a shared library path into an executable.
16098 hardcode_action=$hardcode_action_F77
16100 # Whether we should hardcode library paths into libraries.
16101 hardcode_into_libs=$hardcode_into_libs
16103 # Flag to hardcode \$libdir into a binary during linking.
16104 # This must work even if \$libdir does not exist.
16105 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16107 # If ld is used when linking, flag to hardcode \$libdir into
16108 # a binary during linking. This must work even if \$libdir does
16110 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16112 # Whether we need a single -rpath flag with a separated argument.
16113 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16115 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16116 # resulting binary.
16117 hardcode_direct=$hardcode_direct_F77
16119 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16120 # resulting binary.
16121 hardcode_minus_L=$hardcode_minus_L_F77
16123 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16124 # the resulting binary.
16125 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16127 # Set to yes if building a shared library automatically hardcodes DIR into the library
16128 # and all subsequent libraries and executables linked against it.
16129 hardcode_automatic=$hardcode_automatic_F77
16131 # Variables whose values should be saved in libtool wrapper scripts and
16132 # restored at relink time.
16133 variables_saved_for_relink="$variables_saved_for_relink"
16135 # Whether libtool must link a program against all its dependency libraries.
16136 link_all_deplibs=$link_all_deplibs_F77
16138 # Compile-time system search path for libraries
16139 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16141 # Run-time system search path for libraries
16142 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16144 # Fix the shell variable \$srcfile for the compiler.
16145 fix_srcfile_path="$fix_srcfile_path_F77"
16147 # Set to yes if exported symbols are required.
16148 always_export_symbols=$always_export_symbols_F77
16150 # The commands to list exported symbols.
16151 export_symbols_cmds=$lt_export_symbols_cmds_F77
16153 # The commands to extract the exported symbol list from a shared archive.
16154 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16156 # Symbols that should not be listed in the preloaded symbols.
16157 exclude_expsyms=$lt_exclude_expsyms_F77
16159 # Symbols that must always be exported.
16160 include_expsyms=$lt_include_expsyms_F77
16162 # ### END LIBTOOL TAG CONFIG: $tagname
16168 # If there is no Makefile yet, we rely on a make rule to execute
16169 # `config.status --recheck' to rerun these tests and create the
16170 # libtool script then.
16171 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16172 if test -f "$ltmain_in"; then
16173 test -f Makefile
&& make "$ltmain"
16179 ac_cpp
='$CPP $CPPFLAGS'
16180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16192 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16195 # Source file extension for Java test sources.
16198 # Object file extension for compiled Java test sources.
16202 # Code to be used in simple compile tests
16203 lt_simple_compile_test_code
="class foo {}\n"
16205 # Code to be used in simple link tests
16206 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16208 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16210 # If no C compiler was specified, use CC.
16213 # If no C compiler flags were specified, use CFLAGS.
16214 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16216 # Allow CC to be a program name with arguments.
16220 # save warnings/boilerplate of simple test code
16221 ac_outfile
=conftest.
$ac_objext
16222 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16223 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16224 _lt_compiler_boilerplate
=`cat conftest.err`
16227 ac_outfile
=conftest.
$ac_objext
16228 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16229 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16230 _lt_linker_boilerplate
=`cat conftest.err`
16234 # Allow CC to be a program name with arguments.
16239 for cc_temp
in $compiler""; do
16241 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16242 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16247 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16250 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16251 archive_cmds_need_lc_GCJ
=no
16253 old_archive_cmds_GCJ
=$old_archive_cmds
16256 lt_prog_compiler_no_builtin_flag_GCJ
=
16258 if test "$GCC" = yes; then
16259 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16262 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16263 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16264 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16265 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 lt_cv_prog_compiler_rtti_exceptions
=no
16268 ac_outfile
=conftest.
$ac_objext
16269 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16270 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16271 # Insert the option either (1) after the last *FLAGS variable, or
16272 # (2) before a word containing "conftest.", or (3) at the end.
16273 # Note that $ac_compile itself does not contain backslashes and begins
16274 # with a dollar sign (not a hyphen), so the echo should work correctly.
16275 # The option is referenced via a variable to avoid confusing sed.
16276 lt_compile
=`echo "$ac_compile" | $SED \
16277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16279 -e 's:$: $lt_compiler_flag:'`
16280 (eval echo "\"\$as_me:16280: $lt_compile\"" >&5)
16281 (eval "$lt_compile" 2>conftest.err
)
16283 cat conftest.err
>&5
16284 echo "$as_me:16284: \$? = $ac_status" >&5
16285 if (exit $ac_status) && test -s "$ac_outfile"; then
16286 # The compiler can only warn and ignore the option if not recognized
16287 # So say no if there are warnings other than the usual output.
16288 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16289 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16290 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16291 lt_cv_prog_compiler_rtti_exceptions
=yes
16297 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16298 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16300 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16301 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16308 lt_prog_compiler_wl_GCJ
=
16309 lt_prog_compiler_pic_GCJ
=
16310 lt_prog_compiler_static_GCJ
=
16312 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16315 if test "$GCC" = yes; then
16316 lt_prog_compiler_wl_GCJ
='-Wl,'
16317 lt_prog_compiler_static_GCJ
='-static'
16321 # All AIX code is PIC.
16322 if test "$host_cpu" = ia64
; then
16323 # AIX 5 now supports IA64 processor
16324 lt_prog_compiler_static_GCJ
='-Bstatic'
16329 # FIXME: we need at least 68020 code to build shared libraries, but
16330 # adding the `-m68020' flag to GCC prevents building anything better,
16332 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16335 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16336 # PIC is the default for these OSes.
16339 mingw
* | pw32
* | os2
*)
16340 # This hack is so that the source file can tell whether it is being
16341 # built for inclusion in a dll (and should export symbols for example).
16342 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16345 darwin
* | rhapsody
*)
16346 # PIC is the default on this platform
16347 # Common symbols not allowed in MH_DYLIB files
16348 lt_prog_compiler_pic_GCJ
='-fno-common'
16352 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16353 # Instead, we relocate shared libraries at runtime.
16357 # Just because we use GCC doesn't mean we suddenly get shared libraries
16358 # on systems that don't support them.
16359 lt_prog_compiler_can_build_shared_GCJ
=no
16364 if test -d /usr
/nec
; then
16365 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16370 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16371 # not for PA HP-UX.
16377 lt_prog_compiler_pic_GCJ
='-fPIC'
16383 lt_prog_compiler_pic_GCJ
='-fPIC'
16387 # PORTME Check for flag to pass linker flags through the system compiler.
16390 lt_prog_compiler_wl_GCJ
='-Wl,'
16391 if test "$host_cpu" = ia64
; then
16392 # AIX 5 now supports IA64 processor
16393 lt_prog_compiler_static_GCJ
='-Bstatic'
16395 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16399 # PIC is the default on this platform
16400 # Common symbols not allowed in MH_DYLIB files
16401 case $cc_basename in
16403 lt_prog_compiler_pic_GCJ
='-qnocommon'
16404 lt_prog_compiler_wl_GCJ
='-Wl,'
16409 mingw
* | pw32
* | os2
*)
16410 # This hack is so that the source file can tell whether it is being
16411 # built for inclusion in a dll (and should export symbols for example).
16412 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16415 hpux9
* | hpux10
* | hpux11
*)
16416 lt_prog_compiler_wl_GCJ
='-Wl,'
16417 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16418 # not for PA HP-UX.
16424 lt_prog_compiler_pic_GCJ
='+Z'
16427 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16428 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16431 irix5
* | irix6
* | nonstopux
*)
16432 lt_prog_compiler_wl_GCJ
='-Wl,'
16433 # PIC (with -KPIC) is the default.
16434 lt_prog_compiler_static_GCJ
='-non_shared'
16438 lt_prog_compiler_pic_GCJ
='-KPIC'
16439 lt_prog_compiler_static_GCJ
='-Bstatic'
16443 case $cc_basename in
16445 lt_prog_compiler_wl_GCJ
='-Wl,'
16446 lt_prog_compiler_pic_GCJ
='-KPIC'
16447 lt_prog_compiler_static_GCJ
='-static'
16449 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16450 # Portland Group compilers (*not* the Pentium gcc compiler,
16451 # which looks to be a dead project)
16452 lt_prog_compiler_wl_GCJ
='-Wl,'
16453 lt_prog_compiler_pic_GCJ
='-fpic'
16454 lt_prog_compiler_static_GCJ
='-Bstatic'
16457 lt_prog_compiler_wl_GCJ
='-Wl,'
16458 # All Alpha code is PIC.
16459 lt_prog_compiler_static_GCJ
='-non_shared'
16464 osf3
* | osf4
* | osf5
*)
16465 lt_prog_compiler_wl_GCJ
='-Wl,'
16466 # All OSF/1 code is PIC.
16467 lt_prog_compiler_static_GCJ
='-non_shared'
16471 lt_prog_compiler_pic_GCJ
='-KPIC'
16472 lt_prog_compiler_static_GCJ
='-Bstatic'
16473 case $cc_basename in
16474 f77
* | f90
* | f95
*)
16475 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16477 lt_prog_compiler_wl_GCJ
='-Wl,';;
16482 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16483 lt_prog_compiler_pic_GCJ
='-PIC'
16484 lt_prog_compiler_static_GCJ
='-Bstatic'
16487 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16488 lt_prog_compiler_wl_GCJ
='-Wl,'
16489 lt_prog_compiler_pic_GCJ
='-KPIC'
16490 lt_prog_compiler_static_GCJ
='-Bstatic'
16494 if test -d /usr
/nec
;then
16495 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16496 lt_prog_compiler_static_GCJ
='-Bstatic'
16500 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16501 lt_prog_compiler_wl_GCJ
='-Wl,'
16502 lt_prog_compiler_pic_GCJ
='-KPIC'
16503 lt_prog_compiler_static_GCJ
='-Bstatic'
16507 lt_prog_compiler_wl_GCJ
='-Wl,'
16508 lt_prog_compiler_can_build_shared_GCJ
=no
16512 lt_prog_compiler_pic_GCJ
='-pic'
16513 lt_prog_compiler_static_GCJ
='-Bstatic'
16517 lt_prog_compiler_can_build_shared_GCJ
=no
16522 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16523 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16526 # Check to make sure the PIC flag actually works.
16528 if test -n "$lt_prog_compiler_pic_GCJ"; then
16530 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16531 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16532 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 lt_prog_compiler_pic_works_GCJ
=no
16536 ac_outfile
=conftest.
$ac_objext
16537 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16538 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16539 # Insert the option either (1) after the last *FLAGS variable, or
16540 # (2) before a word containing "conftest.", or (3) at the end.
16541 # Note that $ac_compile itself does not contain backslashes and begins
16542 # with a dollar sign (not a hyphen), so the echo should work correctly.
16543 # The option is referenced via a variable to avoid confusing sed.
16544 lt_compile
=`echo "$ac_compile" | $SED \
16545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16547 -e 's:$: $lt_compiler_flag:'`
16548 (eval echo "\"\$as_me:16548: $lt_compile\"" >&5)
16549 (eval "$lt_compile" 2>conftest.err
)
16551 cat conftest.err
>&5
16552 echo "$as_me:16552: \$? = $ac_status" >&5
16553 if (exit $ac_status) && test -s "$ac_outfile"; then
16554 # The compiler can only warn and ignore the option if not recognized
16555 # So say no if there are warnings other than the usual output.
16556 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16557 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16558 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16559 lt_prog_compiler_pic_works_GCJ
=yes
16565 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16566 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16568 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16569 case $lt_prog_compiler_pic_GCJ in
16571 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16574 lt_prog_compiler_pic_GCJ
=
16575 lt_prog_compiler_can_build_shared_GCJ
=no
16580 # For platforms which do not support PIC, -DPIC is meaningless:
16582 lt_prog_compiler_pic_GCJ
=
16585 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16590 # Check to make sure the static flag actually works.
16592 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16593 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16594 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16595 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 lt_prog_compiler_static_works_GCJ
=no
16599 save_LDFLAGS
="$LDFLAGS"
16600 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16601 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16602 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16603 # The linker can only warn and ignore the option if not recognized
16604 # So say no if there are warnings
16605 if test -s conftest.err
; then
16606 # Append any errors to the config.log.
16607 cat conftest.err
1>&5
16608 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16609 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16610 if diff conftest.exp conftest.er2
>/dev
/null
; then
16611 lt_prog_compiler_static_works_GCJ
=yes
16614 lt_prog_compiler_static_works_GCJ
=yes
16618 LDFLAGS
="$save_LDFLAGS"
16621 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16622 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16624 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16627 lt_prog_compiler_static_GCJ
=
16631 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16632 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16633 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 lt_cv_prog_compiler_c_o_GCJ
=no
16637 $rm -r conftest
2>/dev
/null
16641 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16643 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16644 # Insert the option either (1) after the last *FLAGS variable, or
16645 # (2) before a word containing "conftest.", or (3) at the end.
16646 # Note that $ac_compile itself does not contain backslashes and begins
16647 # with a dollar sign (not a hyphen), so the echo should work correctly.
16648 lt_compile
=`echo "$ac_compile" | $SED \
16649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16651 -e 's:$: $lt_compiler_flag:'`
16652 (eval echo "\"\$as_me:16652: $lt_compile\"" >&5)
16653 (eval "$lt_compile" 2>out
/conftest.err
)
16655 cat out
/conftest.err
>&5
16656 echo "$as_me:16656: \$? = $ac_status" >&5
16657 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16659 # The compiler can only warn and ignore the option if not recognized
16660 # So say no if there are warnings
16661 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16662 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16663 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16664 lt_cv_prog_compiler_c_o_GCJ
=yes
16669 # SGI C++ compiler will create directory out/ii_files/ for
16670 # template instantiation
16671 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16672 $rm out
/* && rmdir out
16678 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16679 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16682 hard_links
="nottested"
16683 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16684 # do not overwrite the value of need_locks provided by the user
16685 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16686 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16689 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16691 ln conftest.a conftest.b
2>&5 || hard_links
=no
16692 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16693 { echo "$as_me:$LINENO: result: $hard_links" >&5
16694 echo "${ECHO_T}$hard_links" >&6; }
16695 if test "$hard_links" = no
; then
16696 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16697 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16704 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16705 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16708 allow_undefined_flag_GCJ
=
16709 enable_shared_with_static_runtimes_GCJ
=no
16711 archive_expsym_cmds_GCJ
=
16712 old_archive_From_new_cmds_GCJ
=
16713 old_archive_from_expsyms_cmds_GCJ
=
16714 export_dynamic_flag_spec_GCJ
=
16715 whole_archive_flag_spec_GCJ
=
16716 thread_safe_flag_spec_GCJ
=
16717 hardcode_libdir_flag_spec_GCJ
=
16718 hardcode_libdir_flag_spec_ld_GCJ
=
16719 hardcode_libdir_separator_GCJ
=
16720 hardcode_direct_GCJ
=no
16721 hardcode_minus_L_GCJ
=no
16722 hardcode_shlibpath_var_GCJ
=unsupported
16723 link_all_deplibs_GCJ
=unknown
16724 hardcode_automatic_GCJ
=no
16726 module_expsym_cmds_GCJ
=
16727 always_export_symbols_GCJ
=no
16728 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16729 # include_expsyms should be a list of space-separated symbols to be *always*
16730 # included in the symbol list
16731 include_expsyms_GCJ
=
16732 # exclude_expsyms can be an extended regexp of symbols to exclude
16733 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16734 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16735 # as well as any symbol that contains `d'.
16736 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16737 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16738 # platforms (ab)use it in PIC code, but their linkers get confused if
16739 # the symbol is explicitly referenced. Since portable code cannot
16740 # rely on this symbol name, it's probably fine to never include it in
16741 # preloaded symbol tables.
16742 extract_expsyms_cmds
=
16743 # Just being paranoid about ensuring that cc_basename is set.
16744 for cc_temp
in $compiler""; do
16746 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16747 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16752 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16755 cygwin
* | mingw
* | pw32
*)
16756 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16757 # When not using gcc, we currently assume that we are using
16758 # Microsoft Visual C++.
16759 if test "$GCC" != yes; then
16764 # we just hope/assume this is gcc and not c89 (= MSVC++)
16773 if test "$with_gnu_ld" = yes; then
16774 # If archive_cmds runs LD, not CC, wlarc should be empty
16777 # Set some defaults for GNU ld with shared library support. These
16778 # are reset later if shared libraries are not supported. Putting them
16779 # here allows them to be overridden if necessary.
16780 runpath_var
=LD_RUN_PATH
16781 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16782 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16783 # ancient GNU ld didn't support --whole-archive et. al.
16784 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16785 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16787 whole_archive_flag_spec_GCJ
=
16789 supports_anon_versioning
=no
16790 case `$LD -v 2>/dev/null` in
16791 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16792 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16793 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16794 *\
2.11.
*) ;; # other 2.11 versions
16795 *) supports_anon_versioning
=yes ;;
16798 # See if GNU ld supports shared libraries.
16800 aix3
* | aix4
* | aix5
*)
16801 # On AIX/PPC, the GNU linker is very broken
16802 if test "$host_cpu" != ia64
; then
16806 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16807 *** to be unable to reliably create shared libraries on AIX.
16808 *** Therefore, libtool is disabling shared libraries support. If you
16809 *** really care for shared libraries, you may want to modify your PATH
16810 *** so that a non-GNU linker is found, and then restart.
16817 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)'
16818 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16819 hardcode_minus_L_GCJ
=yes
16821 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16822 # that the semantics of dynamic libraries on AmigaOS, at least up
16823 # to version 4, is to share data among multiple programs linked
16824 # with the same dynamic library. Since this doesn't match the
16825 # behavior of shared libraries on other platforms, we can't use
16831 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16832 allow_undefined_flag_GCJ
=unsupported
16833 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16834 # support --undefined. This deserves some investigation. FIXME
16835 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16841 cygwin
* | mingw
* | pw32
*)
16842 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16843 # as there is no search path for DLLs.
16844 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16845 allow_undefined_flag_GCJ
=unsupported
16846 always_export_symbols_GCJ
=no
16847 enable_shared_with_static_runtimes_GCJ
=yes
16848 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16850 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16851 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16852 # If the export-symbols file already is a .def file (1st line
16853 # is EXPORTS), use it as is; otherwise, prepend...
16854 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16855 cp $export_symbols $output_objdir/$soname.def;
16857 echo EXPORTS > $output_objdir/$soname.def;
16858 cat $export_symbols >> $output_objdir/$soname.def;
16860 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16867 hardcode_direct_GCJ
=no
16868 hardcode_shlibpath_var_GCJ
=no
16869 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16870 export_dynamic_flag_spec_GCJ
='${wl}-E'
16871 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16872 # Instead, shared libraries are loaded at an image base (0x10000000 by
16873 # default) and relocated if they conflict, which is a slow very memory
16874 # consuming and fragmenting process. To avoid this, we pick a random,
16875 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16876 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16877 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'
16878 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'
16882 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16884 case $cc_basename,$host_cpu in
16885 pgcc
*) # Portland Group C compiler
16886 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'
16887 tmp_addflag
=' $pic_flag'
16889 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16890 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'
16891 tmp_addflag
=' $pic_flag -Mnomain' ;;
16892 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16893 tmp_addflag
=' -i_dynamic' ;;
16894 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16895 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16896 ifc
* | ifort
*) # Intel Fortran compiler
16897 tmp_addflag
=' -nofor_main' ;;
16899 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16901 if test $supports_anon_versioning = yes; then
16902 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16903 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16904 $echo "local: *; };" >> $output_objdir/$libname.ver~
16905 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16913 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16914 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16917 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16918 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16923 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16927 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16928 *** create shared libraries on Solaris systems. Therefore, libtool
16929 *** is disabling shared libraries support. We urge you to upgrade GNU
16930 *** binutils to release 2.9.1 or newer. Another option is to modify
16931 *** your PATH or compiler configuration so that the native linker is
16932 *** used, and then restart.
16935 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16936 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16937 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16943 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16944 case `$LD -v 2>&1` in
16945 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16949 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16950 *** reliably create shared libraries on SCO systems. Therefore, libtool
16951 *** is disabling shared libraries support. We urge you to upgrade GNU
16952 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16953 *** your PATH or compiler configuration so that the native linker is
16954 *** used, and then restart.
16959 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16960 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16961 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16962 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16971 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16973 hardcode_direct_GCJ
=yes
16974 hardcode_shlibpath_var_GCJ
=no
16978 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16979 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16980 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16987 if test "$ld_shlibs_GCJ" = no
; then
16989 hardcode_libdir_flag_spec_GCJ
=
16990 export_dynamic_flag_spec_GCJ
=
16991 whole_archive_flag_spec_GCJ
=
16994 # PORTME fill in a description of your system's linker (not GNU ld)
16997 allow_undefined_flag_GCJ
=unsupported
16998 always_export_symbols_GCJ
=yes
16999 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'
17000 # Note: this linker hardcodes the directories in LIBPATH if there
17001 # are no directories specified by -L.
17002 hardcode_minus_L_GCJ
=yes
17003 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17004 # Neither direct hardcoding nor static linking is supported with a
17006 hardcode_direct_GCJ
=unsupported
17011 if test "$host_cpu" = ia64
; then
17012 # On IA64, the linker does run time linking by default, so we don't
17013 # have to do anything special.
17014 aix_use_runtimelinking
=no
17015 exp_sym_flag
='-Bexport'
17018 # If we're using GNU nm, then we don't want the "-C" option.
17019 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17020 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17021 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'
17023 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'
17025 aix_use_runtimelinking
=no
17027 # Test if we are trying to use run time linking or normal
17028 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17029 # need to do runtime linking.
17030 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17031 for ld_flag
in $LDFLAGS; do
17032 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17033 aix_use_runtimelinking
=yes
17040 exp_sym_flag
='-bexport'
17041 no_entry_flag
='-bnoentry'
17044 # When large executables or shared objects are built, AIX ld can
17045 # have problems creating the table of contents. If linking a library
17046 # or program results in "error TOC overflow" add -mminimal-toc to
17047 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17048 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17050 archive_cmds_GCJ
=''
17051 hardcode_direct_GCJ
=yes
17052 hardcode_libdir_separator_GCJ
=':'
17053 link_all_deplibs_GCJ
=yes
17055 if test "$GCC" = yes; then
17056 case $host_os in aix4.
[012]|aix4.
[012].
*)
17057 # We only want to do this on AIX 4.2 and lower, the check
17058 # below for broken collect2 doesn't work under 4.3+
17059 collect2name
=`${CC} -print-prog-name=collect2`
17060 if test -f "$collect2name" && \
17061 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17063 # We have reworked collect2
17064 hardcode_direct_GCJ
=yes
17066 # We have old collect2
17067 hardcode_direct_GCJ
=unsupported
17068 # It fails to find uninstalled libraries when the uninstalled
17069 # path is not listed in the libpath. Setting hardcode_minus_L
17070 # to unsupported forces relinking
17071 hardcode_minus_L_GCJ
=yes
17072 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17073 hardcode_libdir_separator_GCJ
=
17077 shared_flag
='-shared'
17078 if test "$aix_use_runtimelinking" = yes; then
17079 shared_flag
="$shared_flag "'${wl}-G'
17083 if test "$host_cpu" = ia64
; then
17084 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17085 # chokes on -Wl,-G. The following line is correct:
17088 if test "$aix_use_runtimelinking" = yes; then
17089 shared_flag
='${wl}-G'
17091 shared_flag
='${wl}-bM:SRE'
17096 # It seems that -bexpall does not export symbols beginning with
17097 # underscore (_), so it is better to generate a list of symbols to export.
17098 always_export_symbols_GCJ
=yes
17099 if test "$aix_use_runtimelinking" = yes; then
17100 # Warning - without using the other runtime loading flags (-brtl),
17101 # -berok will link without error, but may produce a broken library.
17102 allow_undefined_flag_GCJ
='-berok'
17103 # Determine the default libpath from the value encoded in an empty executable.
17104 cat >conftest.
$ac_ext <<_ACEOF
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17119 rm -f conftest.
$ac_objext conftest
$ac_exeext
17120 if { (ac_try
="$ac_link"
17121 case "(($ac_try" in
17122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_link") 2>conftest.er1
17128 grep -v '^ *+' conftest.er1 >conftest.err
17130 cat conftest.err >&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } && {
17133 test -z "$ac_c_werror_flag" ||
17134 test ! -s conftest.err
17135 } && test -s conftest$ac_exeext &&
17136 $as_test_x conftest$ac_exeext; then
17138 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17140 # Check for a 64-bit object if we didn't find anything.
17141 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17151 conftest$ac_exeext conftest.$ac_ext
17152 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17154 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17155 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"
17157 if test "$host_cpu" = ia64; then
17158 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17159 allow_undefined_flag_GCJ="-z nodefs"
17160 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"
17162 # Determine the default libpath from the value encoded in an empty executable.
17163 cat >conftest.$ac_ext <<_ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17178 rm -f conftest.$ac_objext conftest$ac_exeext
17179 if { (ac_try="$ac_link"
17180 case "(($ac_try" in
17181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17182 *) ac_try_echo
=$ac_try;;
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_link") 2>conftest.er1
17187 grep -v '^ *+' conftest.er1
>conftest.err
17189 cat conftest.err
>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && {
17192 test -z "$ac_c_werror_flag" ||
17193 test ! -s conftest.err
17194 } && test -s conftest
$ac_exeext &&
17195 $as_test_x conftest
$ac_exeext; then
17197 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17199 # Check for a 64-bit object if we didn't find anything.
17200 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.
$ac_ext >&5
17209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17210 conftest
$ac_exeext conftest.
$ac_ext
17211 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17213 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17214 # Warning - without using the other run time loading flags,
17215 # -berok will link without error, but may produce a broken library.
17216 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17217 allow_undefined_flag_GCJ
=' ${wl}-berok'
17218 # Exported symbols can be pulled into shared objects from archives
17219 whole_archive_flag_spec_GCJ
='$convenience'
17220 archive_cmds_need_lc_GCJ
=yes
17221 # This is similar to how AIX traditionally builds its shared libraries.
17222 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'
17228 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)'
17229 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17230 hardcode_minus_L_GCJ
=yes
17231 # see comment about different semantics on the GNU ld section
17236 export_dynamic_flag_spec_GCJ
=-rdynamic
17239 cygwin
* | mingw
* | pw32
*)
17240 # When not using gcc, we currently assume that we are using
17241 # Microsoft Visual C++.
17242 # hardcode_libdir_flag_spec is actually meaningless, as there is
17243 # no search path for DLLs.
17244 hardcode_libdir_flag_spec_GCJ
=' '
17245 allow_undefined_flag_GCJ
=unsupported
17246 # Tell ltmain to make .lib files, not .a files.
17248 # Tell ltmain to make .dll files, not .so files.
17250 # FIXME: Setting linknames here is a bad hack.
17251 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17252 # The linker will automatically build a .lib file if we build a DLL.
17253 old_archive_From_new_cmds_GCJ
='true'
17254 # FIXME: Should let the user specify the lib program.
17255 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17256 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17257 enable_shared_with_static_runtimes_GCJ
=yes
17260 darwin
* | rhapsody
*)
17262 rhapsody
* | darwin1.
[012])
17263 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17266 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17267 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17269 case ${MACOSX_DEPLOYMENT_TARGET} in
17271 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17274 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17280 archive_cmds_need_lc_GCJ
=no
17281 hardcode_direct_GCJ
=no
17282 hardcode_automatic_GCJ
=yes
17283 hardcode_shlibpath_var_GCJ
=unsupported
17284 whole_archive_flag_spec_GCJ
=''
17285 link_all_deplibs_GCJ
=yes
17286 if test "$GCC" = yes ; then
17287 output_verbose_link_cmd
='echo'
17288 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17289 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17290 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17291 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}'
17292 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}'
17294 case $cc_basename in
17296 output_verbose_link_cmd
='echo'
17297 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17298 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17299 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17300 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17301 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}'
17311 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17312 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17313 hardcode_shlibpath_var_GCJ
=no
17320 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17321 # support. Future versions do this automatically, but an explicit c++rt0.o
17322 # does not break anything, and helps significantly (at the cost of a little
17325 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17326 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17327 hardcode_direct_GCJ
=yes
17328 hardcode_shlibpath_var_GCJ
=no
17331 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17333 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17334 hardcode_direct_GCJ
=yes
17335 hardcode_minus_L_GCJ
=yes
17336 hardcode_shlibpath_var_GCJ
=no
17339 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17340 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17341 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17342 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17343 hardcode_direct_GCJ
=yes
17344 hardcode_shlibpath_var_GCJ
=no
17348 if test "$GCC" = yes; then
17349 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'
17351 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'
17353 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17354 hardcode_libdir_separator_GCJ
=:
17355 hardcode_direct_GCJ
=yes
17357 # hardcode_minus_L: Not really in the search PATH,
17358 # but as the default location of the library.
17359 hardcode_minus_L_GCJ
=yes
17360 export_dynamic_flag_spec_GCJ
='${wl}-E'
17364 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17365 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17367 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17369 if test "$with_gnu_ld" = no
; then
17370 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17371 hardcode_libdir_separator_GCJ
=:
17373 hardcode_direct_GCJ
=yes
17374 export_dynamic_flag_spec_GCJ
='${wl}-E'
17376 # hardcode_minus_L: Not really in the search PATH,
17377 # but as the default location of the library.
17378 hardcode_minus_L_GCJ
=yes
17383 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17386 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17389 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17392 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17398 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17401 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17404 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17408 if test "$with_gnu_ld" = no
; then
17409 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17410 hardcode_libdir_separator_GCJ
=:
17414 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17415 hardcode_direct_GCJ
=no
17416 hardcode_shlibpath_var_GCJ
=no
17419 hardcode_direct_GCJ
=yes
17420 export_dynamic_flag_spec_GCJ
='${wl}-E'
17422 # hardcode_minus_L: Not really in the search PATH,
17423 # but as the default location of the library.
17424 hardcode_minus_L_GCJ
=yes
17430 irix5
* | irix6
* | nonstopux
*)
17431 if test "$GCC" = yes; then
17432 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'
17434 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'
17435 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17437 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17438 hardcode_libdir_separator_GCJ
=:
17439 link_all_deplibs_GCJ
=yes
17443 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17444 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17446 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17448 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17449 hardcode_direct_GCJ
=yes
17450 hardcode_shlibpath_var_GCJ
=no
17454 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17455 hardcode_direct_GCJ
=yes
17456 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17457 hardcode_libdir_separator_GCJ
=:
17458 hardcode_shlibpath_var_GCJ
=no
17462 hardcode_direct_GCJ
=yes
17463 hardcode_shlibpath_var_GCJ
=no
17464 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17465 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17466 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17467 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17468 export_dynamic_flag_spec_GCJ
='${wl}-E'
17471 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17472 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17473 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17476 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17477 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17484 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17485 hardcode_minus_L_GCJ
=yes
17486 allow_undefined_flag_GCJ
=unsupported
17487 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'
17488 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17492 if test "$GCC" = yes; then
17493 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17494 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'
17496 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17497 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'
17499 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17500 hardcode_libdir_separator_GCJ
=:
17503 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17504 if test "$GCC" = yes; then
17505 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17506 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'
17507 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17509 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17510 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'
17511 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~
17512 $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'
17514 # Both c and cxx compiler support -rpath directly
17515 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17517 hardcode_libdir_separator_GCJ
=:
17521 no_undefined_flag_GCJ
=' -z text'
17522 if test "$GCC" = yes; then
17524 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17525 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17526 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17529 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17530 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17531 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17533 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17534 hardcode_shlibpath_var_GCJ
=no
17536 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17538 # The compiler driver will combine linker options so we
17539 # cannot just pass the convience library names through
17540 # without $wl, iff we do not link with $LD.
17541 # Luckily, gcc supports the same syntax we need for Sun Studio.
17542 # Supported since Solaris 2.6 (maybe 2.5.1?)
17545 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17547 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17550 link_all_deplibs_GCJ
=yes
17554 if test "x$host_vendor" = xsequent
; then
17555 # Use $CC to link under sequent, because it throws in some extra .o
17556 # files that make .init and .fini sections work.
17557 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17559 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17561 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17562 hardcode_direct_GCJ
=yes
17563 hardcode_minus_L_GCJ
=yes
17564 hardcode_shlibpath_var_GCJ
=no
17568 case $host_vendor in
17570 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17571 hardcode_direct_GCJ
=yes # is this really true???
17574 ## LD is ld it makes a PLAMLIB
17575 ## CC just makes a GrossModule.
17576 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17577 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17578 hardcode_direct_GCJ
=no
17581 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17582 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17585 runpath_var
='LD_RUN_PATH'
17586 hardcode_shlibpath_var_GCJ
=no
17590 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17591 hardcode_shlibpath_var_GCJ
=no
17592 export_dynamic_flag_spec_GCJ
='-Bexport'
17596 if test -d /usr
/nec
; then
17597 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17598 hardcode_shlibpath_var_GCJ
=no
17599 runpath_var
=LD_RUN_PATH
17600 hardcode_runpath_var
=yes
17605 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17606 no_undefined_flag_GCJ
='${wl}-z,text'
17607 archive_cmds_need_lc_GCJ
=no
17608 hardcode_shlibpath_var_GCJ
=no
17609 runpath_var
='LD_RUN_PATH'
17611 if test "$GCC" = yes; then
17612 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17613 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17615 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17616 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17620 sysv5
* | sco3.2v5
* | sco5v6
*)
17621 # Note: We can NOT use -z defs as we might desire, because we do not
17622 # link with -lc, and that would cause any symbols used from libc to
17623 # always be unresolved, which means just about no library would
17624 # ever link correctly. If we're not using GNU ld we use -z text
17625 # though, which does catch some bad symbols but isn't as heavy-handed
17627 no_undefined_flag_GCJ
='${wl}-z,text'
17628 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17629 archive_cmds_need_lc_GCJ
=no
17630 hardcode_shlibpath_var_GCJ
=no
17631 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17632 hardcode_libdir_separator_GCJ
=':'
17633 link_all_deplibs_GCJ
=yes
17634 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17635 runpath_var
='LD_RUN_PATH'
17637 if test "$GCC" = yes; then
17638 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17639 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17641 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17642 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17647 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17648 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17649 hardcode_shlibpath_var_GCJ
=no
17658 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17659 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17660 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17663 # Do we need to explicitly link libc?
17665 case "x$archive_cmds_need_lc_GCJ" in
17667 # Assume -lc should be added
17668 archive_cmds_need_lc_GCJ
=yes
17670 if test "$enable_shared" = yes && test "$GCC" = yes; then
17671 case $archive_cmds_GCJ in
17673 # FIXME: we may have to deal with multi-command sequences.
17676 # Test whether the compiler implicitly links with -lc since on some
17677 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17678 # to ld, don't add -lc before -lgcc.
17679 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17680 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17682 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } 2>conftest.err
; then
17691 libobjs
=conftest.
$ac_objext
17693 wl
=$lt_prog_compiler_wl_GCJ
17694 pic_flag
=$lt_prog_compiler_pic_GCJ
17700 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17701 allow_undefined_flag_GCJ
=
17702 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17703 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }
17708 archive_cmds_need_lc_GCJ
=no
17710 archive_cmds_need_lc_GCJ
=yes
17712 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17714 cat conftest.err
1>&5
17717 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17718 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17725 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17726 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17727 library_names_spec
=
17728 libname_spec
='lib$name'
17732 postuninstall_cmds
=
17736 shlibpath_overrides_runpath
=unknown
17738 dynamic_linker
="$host_os ld.so"
17739 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17740 if test "$GCC" = yes; then
17741 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17742 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17743 # if the path contains ";" then we assume it to be the separator
17744 # otherwise default to the standard path separator (i.e. ":") - it is
17745 # assumed that no part of a normal pathname contains ";" but that should
17746 # okay in the real world where ";" in dirpaths is itself problematic.
17747 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17749 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17752 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17754 need_lib_prefix
=unknown
17755 hardcode_into_libs
=no
17757 # when you set need_version to no, make sure it does not cause -set_version
17758 # flags to be left without arguments
17759 need_version
=unknown
17764 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17765 shlibpath_var
=LIBPATH
17767 # AIX 3 has no versioning support, so we append a major version to the name.
17768 soname_spec
='${libname}${release}${shared_ext}$major'
17775 hardcode_into_libs
=yes
17776 if test "$host_cpu" = ia64
; then
17777 # AIX 5 supports IA64
17778 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17779 shlibpath_var
=LD_LIBRARY_PATH
17781 # With GCC up to 2.95.x, collect2 would create an import file
17782 # for dependence libraries. The import file would start with
17783 # the line `#! .'. This would cause the generated library to
17784 # depend on `.', always an invalid library. This was fixed in
17785 # development snapshots of GCC prior to 3.0.
17787 aix4 | aix4.
[01] | aix4.
[01].
*)
17788 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17790 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17793 can_build_shared
=no
17797 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17798 # soname into executable. Probably we can add versioning support to
17799 # collect2, so additional links can be useful in future.
17800 if test "$aix_use_runtimelinking" = yes; then
17801 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17802 # instead of lib<name>.a to let people know that these are not
17803 # typical AIX shared libraries.
17804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17806 # We preserve .a as extension for shared libraries through AIX4.2
17807 # and later when we are not doing run time linking.
17808 library_names_spec
='${libname}${release}.a $libname.a'
17809 soname_spec
='${libname}${release}${shared_ext}$major'
17811 shlibpath_var
=LIBPATH
17816 library_names_spec
='$libname.ixlibrary $libname.a'
17817 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17818 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'
17822 library_names_spec
='${libname}${shared_ext}'
17823 dynamic_linker
="$host_os ld.so"
17824 shlibpath_var
=LIBRARY_PATH
17830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17831 soname_spec
='${libname}${release}${shared_ext}$major'
17832 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17833 shlibpath_var
=LD_LIBRARY_PATH
17834 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17835 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17836 # the default ld.so.conf also contains /usr/contrib/lib and
17837 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17838 # libtool to hard-code these into programs
17841 cygwin
* | mingw
* | pw32
*)
17842 version_type
=windows
17847 case $GCC,$host_os in
17848 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17849 library_names_spec
='$libname.dll.a'
17850 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17851 postinstall_cmds
='base_file=`basename \${file}`~
17852 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17853 dldir=$destdir/`dirname \$dlpath`~
17854 test -d \$dldir || mkdir -p \$dldir~
17855 $install_prog $dir/$dlname \$dldir/$dlname~
17856 chmod a+x \$dldir/$dlname'
17857 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17858 dlpath=$dir/\$dldll~
17860 shlibpath_overrides_runpath
=yes
17864 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17865 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17866 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17869 # MinGW DLLs use traditional 'lib' prefix
17870 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17871 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17872 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17873 # It is most probably a Windows format PATH printed by
17874 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17875 # path with ; separators, and with drive letters. We can handle the
17876 # drive letters (cygwin fileutils understands them), so leave them,
17877 # especially as we might pass files found there to a mingw objdump,
17878 # which wouldn't understand a cygwinified path. Ahh.
17879 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17881 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17885 # pw32 DLLs use 'pw' prefix rather than 'lib'
17886 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17892 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17895 dynamic_linker
='Win32 ld.exe'
17896 # FIXME: first we should search . and the directory the executable is in
17900 darwin
* | rhapsody
*)
17901 dynamic_linker
="$host_os dyld"
17902 version_type
=darwin
17905 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17906 soname_spec
='${libname}${release}${major}$shared_ext'
17907 shlibpath_overrides_runpath
=yes
17908 shlibpath_var
=DYLD_LIBRARY_PATH
17909 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17910 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17911 if test "$GCC" = yes; then
17912 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17914 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17916 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17924 soname_spec
='${libname}${release}${shared_ext}$major'
17925 shlibpath_var
=LD_LIBRARY_PATH
17936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17937 soname_spec
='${libname}${release}${shared_ext}$major'
17938 shlibpath_var
=LD_LIBRARY_PATH
17939 shlibpath_overrides_runpath
=no
17940 hardcode_into_libs
=yes
17941 dynamic_linker
='GNU ld.so'
17944 freebsd
* | dragonfly
*)
17945 # DragonFly does not have aout. When/if they implement a new
17946 # versioning mechanism, adjust this.
17947 if test -x /usr
/bin
/objformat
; then
17948 objformat
=`/usr/bin/objformat`
17951 freebsd
[123]*) objformat
=aout
;;
17952 *) objformat
=elf
;;
17955 version_type
=freebsd-
$objformat
17956 case $version_type in
17958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17963 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17967 shlibpath_var
=LD_LIBRARY_PATH
17970 shlibpath_overrides_runpath
=yes
17972 freebsd3.
[01]* | freebsdelf3.
[01]*)
17973 shlibpath_overrides_runpath
=yes
17974 hardcode_into_libs
=yes
17976 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17977 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17978 shlibpath_overrides_runpath
=no
17979 hardcode_into_libs
=yes
17981 freebsd
*) # from 4.6 on
17982 shlibpath_overrides_runpath
=yes
17983 hardcode_into_libs
=yes
17992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17993 soname_spec
='${libname}${release}${shared_ext}$major'
17994 shlibpath_var
=LD_LIBRARY_PATH
17995 hardcode_into_libs
=yes
17998 hpux9
* | hpux10
* | hpux11
*)
17999 # Give a soname corresponding to the major version so that dld.sl refuses to
18000 # link against other versions.
18007 hardcode_into_libs
=yes
18008 dynamic_linker
="$host_os dld.so"
18009 shlibpath_var
=LD_LIBRARY_PATH
18010 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18012 soname_spec
='${libname}${release}${shared_ext}$major'
18013 if test "X$HPUX_IA64_MODE" = X32
; then
18014 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18016 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18018 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18022 hardcode_into_libs
=yes
18023 dynamic_linker
="$host_os dld.sl"
18024 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18025 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18027 soname_spec
='${libname}${release}${shared_ext}$major'
18028 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18033 dynamic_linker
="$host_os dld.sl"
18034 shlibpath_var
=SHLIB_PATH
18035 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18037 soname_spec
='${libname}${release}${shared_ext}$major'
18040 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18041 postinstall_cmds
='chmod 555 $lib'
18048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18049 soname_spec
='${libname}${release}${shared_ext}$major'
18050 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18051 shlibpath_var
=LD_LIBRARY_PATH
18052 shlibpath_overrides_runpath
=no
18053 hardcode_into_libs
=yes
18056 irix5
* | irix6
* | nonstopux
*)
18058 nonstopux
*) version_type
=nonstopux
;;
18060 if test "$lt_cv_prog_gnu_ld" = yes; then
18068 soname_spec
='${libname}${release}${shared_ext}$major'
18069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18071 irix5
* | nonstopux
*)
18072 libsuff
= shlibsuff
=
18075 case $LD in # libtool.m4 will add one of these switches to LD
18076 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18077 libsuff
= shlibsuff
= libmagic
=32-bit;;
18078 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18079 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18080 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18081 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18082 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18086 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18087 shlibpath_overrides_runpath
=no
18088 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18089 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18090 hardcode_into_libs
=yes
18093 # No shared lib support for Linux oldld, aout, or coff.
18094 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18098 # This must be Linux ELF.
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18106 shlibpath_var
=LD_LIBRARY_PATH
18107 shlibpath_overrides_runpath
=no
18108 # This implies no fast_install, which is unacceptable.
18109 # Some rework will be needed to allow for fast_install
18110 # before this can be enabled.
18111 hardcode_into_libs
=yes
18113 # find out which ABI we are using
18115 case "$host_cpu" in
18116 x86_64
*|s390x
*|powerpc64
*)
18117 echo '#line 18117 "configure"' > conftest.
$ac_ext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; then
18123 case `/usr/bin/file conftest.$ac_objext` in
18126 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18134 # Append ld.so.conf contents to the search path
18135 if test -f /etc
/ld.so.conf
; then
18136 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18137 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18140 # We used to test for /lib/ld.so.1 and disable shared libraries on
18141 # powerpc, because MkLinux only supported shared libraries with the
18142 # GNU dynamic linker. Since this was broken with cross compilers,
18143 # most powerpc-linux boxes support dynamic linking these days and
18144 # people can always --disable-shared, the test was removed, and we
18145 # assume the GNU/Linux dynamic linker is in use.
18146 dynamic_linker
='GNU/Linux ld.so'
18153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18154 soname_spec
='${libname}${release}${shared_ext}$major'
18155 shlibpath_var
=LD_LIBRARY_PATH
18156 shlibpath_overrides_runpath
=no
18157 hardcode_into_libs
=yes
18158 dynamic_linker
='GNU ld.so'
18165 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18168 dynamic_linker
='NetBSD (a.out) ld.so'
18170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18171 soname_spec
='${libname}${release}${shared_ext}$major'
18172 dynamic_linker
='NetBSD ld.elf_so'
18174 shlibpath_var
=LD_LIBRARY_PATH
18175 shlibpath_overrides_runpath
=yes
18176 hardcode_into_libs
=yes
18181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18182 shlibpath_var
=LD_LIBRARY_PATH
18183 shlibpath_overrides_runpath
=yes
18190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18191 soname_spec
='${libname}${release}${shared_ext}$major'
18192 shlibpath_var
=LD_LIBRARY_PATH
18193 shlibpath_overrides_runpath
=yes
18198 sys_lib_dlsearch_path_spec
="/usr/lib"
18200 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18202 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18203 *) need_version
=no
;;
18205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18207 shlibpath_var
=LD_LIBRARY_PATH
18208 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18210 openbsd2.
[89] | openbsd2.
[89].
*)
18211 shlibpath_overrides_runpath
=no
18214 shlibpath_overrides_runpath
=yes
18218 shlibpath_overrides_runpath
=yes
18223 libname_spec
='$name'
18226 library_names_spec
='$libname${shared_ext} $libname.a'
18227 dynamic_linker
='OS/2 ld.exe'
18228 shlibpath_var
=LIBPATH
18231 osf3
* | osf4
* | osf5
*)
18235 soname_spec
='${libname}${release}${shared_ext}$major'
18236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18237 shlibpath_var
=LD_LIBRARY_PATH
18238 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18239 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18247 soname_spec
='${libname}${release}${shared_ext}$major'
18248 shlibpath_var
=LD_LIBRARY_PATH
18249 shlibpath_overrides_runpath
=yes
18250 hardcode_into_libs
=yes
18251 # ldd complains unless libraries are executable
18252 postinstall_cmds
='chmod +x $lib'
18257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18258 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18259 shlibpath_var
=LD_LIBRARY_PATH
18260 shlibpath_overrides_runpath
=yes
18261 if test "$with_gnu_ld" = yes; then
18269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18270 soname_spec
='${libname}${release}${shared_ext}$major'
18271 shlibpath_var
=LD_LIBRARY_PATH
18272 case $host_vendor in
18274 shlibpath_overrides_runpath
=no
18276 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18277 runpath_var
=LD_RUN_PATH
18285 shlibpath_overrides_runpath
=no
18286 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18292 if test -d /usr
/nec
;then
18294 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18295 soname_spec
='$libname${shared_ext}.$major'
18296 shlibpath_var
=LD_LIBRARY_PATH
18300 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18301 version_type
=freebsd-elf
18304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 hardcode_into_libs
=yes
18308 if test "$with_gnu_ld" = yes; then
18309 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18310 shlibpath_overrides_runpath
=no
18312 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18313 shlibpath_overrides_runpath
=yes
18316 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18320 sys_lib_dlsearch_path_spec
='/usr/lib'
18325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18326 soname_spec
='${libname}${release}${shared_ext}$major'
18327 shlibpath_var
=LD_LIBRARY_PATH
18334 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18335 echo "${ECHO_T}$dynamic_linker" >&6; }
18336 test "$dynamic_linker" = no
&& can_build_shared
=no
18338 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18339 if test "$GCC" = yes; then
18340 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18343 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18344 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18345 hardcode_action_GCJ
=
18346 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18347 test -n "$runpath_var_GCJ" || \
18348 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18350 # We can hardcode non-existant directories.
18351 if test "$hardcode_direct_GCJ" != no
&&
18352 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18353 # have to relink, otherwise we might link with an installed library
18354 # when we should be linking with a yet-to-be-installed one
18355 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18356 test "$hardcode_minus_L_GCJ" != no
; then
18357 # Linking always hardcodes the temporary library directory.
18358 hardcode_action_GCJ
=relink
18360 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18361 hardcode_action_GCJ
=immediate
18364 # We cannot hardcode anything, or else we can only hardcode existing
18366 hardcode_action_GCJ
=unsupported
18368 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18369 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18371 if test "$hardcode_action_GCJ" = relink
; then
18372 # Fast installation is not supported
18373 enable_fast_install
=no
18374 elif test "$shlibpath_overrides_runpath" = yes ||
18375 test "$enable_shared" = no
; then
18376 # Fast installation is not necessary
18377 enable_fast_install
=needless
18381 # The else clause should only fire when bootstrapping the
18382 # libtool distribution, otherwise you forgot to ship ltmain.sh
18383 # with your package, and you will get complaints that there are
18384 # no rules to generate ltmain.sh.
18385 if test -f "$ltmain"; then
18386 # See if we are running on zsh, and set the options which allow our commands through
18387 # without removal of \ escapes.
18388 if test -n "${ZSH_VERSION+set}" ; then
18389 setopt NO_GLOB_SUBST
18391 # Now quote all the things that may contain metacharacters while being
18392 # careful not to overquote the AC_SUBSTed values. We take copies of the
18393 # variables and quote the copies for generation of the libtool script.
18394 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18396 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18397 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18398 deplibs_check_method reload_flag reload_cmds need_locks \
18399 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18400 lt_cv_sys_global_symbol_to_c_name_address \
18401 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18402 old_postinstall_cmds old_postuninstall_cmds \
18406 lt_prog_compiler_wl_GCJ \
18407 lt_prog_compiler_pic_GCJ \
18408 lt_prog_compiler_static_GCJ \
18409 lt_prog_compiler_no_builtin_flag_GCJ \
18410 export_dynamic_flag_spec_GCJ \
18411 thread_safe_flag_spec_GCJ \
18412 whole_archive_flag_spec_GCJ \
18413 enable_shared_with_static_runtimes_GCJ \
18414 old_archive_cmds_GCJ \
18415 old_archive_from_new_cmds_GCJ \
18416 predep_objects_GCJ \
18417 postdep_objects_GCJ \
18420 compiler_lib_search_path_GCJ \
18422 archive_expsym_cmds_GCJ \
18423 postinstall_cmds_GCJ \
18424 postuninstall_cmds_GCJ \
18425 old_archive_from_expsyms_cmds_GCJ \
18426 allow_undefined_flag_GCJ \
18427 no_undefined_flag_GCJ \
18428 export_symbols_cmds_GCJ \
18429 hardcode_libdir_flag_spec_GCJ \
18430 hardcode_libdir_flag_spec_ld_GCJ \
18431 hardcode_libdir_separator_GCJ \
18432 hardcode_automatic_GCJ \
18434 module_expsym_cmds_GCJ \
18435 lt_cv_prog_compiler_c_o_GCJ \
18436 exclude_expsyms_GCJ \
18437 include_expsyms_GCJ
; do
18440 old_archive_cmds_GCJ | \
18441 old_archive_from_new_cmds_GCJ | \
18442 archive_cmds_GCJ | \
18443 archive_expsym_cmds_GCJ | \
18444 module_cmds_GCJ | \
18445 module_expsym_cmds_GCJ | \
18446 old_archive_from_expsyms_cmds_GCJ | \
18447 export_symbols_cmds_GCJ | \
18448 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18449 postinstall_cmds | postuninstall_cmds | \
18450 old_postinstall_cmds | old_postuninstall_cmds | \
18451 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18452 # Double-quote double-evaled strings.
18453 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18456 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18462 *'\$0 --fallback-echo"')
18463 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18469 cat <<__EOF__ >> "$cfgfile"
18470 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18472 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18474 # Shell to use when invoking shell scripts.
18477 # Whether or not to build shared libraries.
18478 build_libtool_libs=$enable_shared
18480 # Whether or not to build static libraries.
18481 build_old_libs=$enable_static
18483 # Whether or not to add -lc for building shared libraries.
18484 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18486 # Whether or not to disallow shared libs when runtime libs are static
18487 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18489 # Whether or not to optimize for fast installation.
18490 fast_install=$enable_fast_install
18493 host_alias=$host_alias
18497 # The build system.
18498 build_alias=$build_alias
18502 # An echo program that does not interpret backslashes.
18507 AR_FLAGS=$lt_AR_FLAGS
18512 # LTCC compiler flags.
18513 LTCFLAGS=$lt_LTCFLAGS
18515 # A language-specific compiler.
18516 CC=$lt_compiler_GCJ
18518 # Is the compiler the GNU C compiler?
18524 # The linker used to build libraries.
18527 # Whether we need hard or soft links.
18530 # A BSD-compatible nm program.
18533 # A symbol stripping program
18536 # Used to examine libraries when file_magic_cmd begins "file"
18537 MAGIC_CMD=$MAGIC_CMD
18539 # Used on cygwin: DLL creation program.
18542 # Used on cygwin: object dumper.
18545 # Used on cygwin: assembler.
18548 # The name of the directory that contains temporary libtool files.
18551 # How to create reloadable object files.
18552 reload_flag=$lt_reload_flag
18553 reload_cmds=$lt_reload_cmds
18555 # How to pass a linker flag through the compiler.
18556 wl=$lt_lt_prog_compiler_wl_GCJ
18558 # Object file suffix (normally "o").
18559 objext="$ac_objext"
18561 # Old archive suffix (normally "a").
18564 # Shared library suffix (normally ".so").
18565 shrext_cmds='$shrext_cmds'
18567 # Executable file suffix (normally "").
18570 # Additional compiler flags for building library objects.
18571 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18574 # What is the maximum length of a command?
18575 max_cmd_len=$lt_cv_sys_max_cmd_len
18577 # Does compiler simultaneously support -c and -o options?
18578 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18580 # Must we lock files when doing compilation?
18581 need_locks=$lt_need_locks
18583 # Do we need the lib prefix for modules?
18584 need_lib_prefix=$need_lib_prefix
18586 # Do we need a version for libraries?
18587 need_version=$need_version
18589 # Whether dlopen is supported.
18590 dlopen_support=$enable_dlopen
18592 # Whether dlopen of programs is supported.
18593 dlopen_self=$enable_dlopen_self
18595 # Whether dlopen of statically linked programs is supported.
18596 dlopen_self_static=$enable_dlopen_self_static
18598 # Compiler flag to prevent dynamic linking.
18599 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18601 # Compiler flag to turn off builtin functions.
18602 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18604 # Compiler flag to allow reflexive dlopens.
18605 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18607 # Compiler flag to generate shared objects directly from archives.
18608 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18610 # Compiler flag to generate thread-safe objects.
18611 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18613 # Library versioning type.
18614 version_type=$version_type
18616 # Format of library name prefix.
18617 libname_spec=$lt_libname_spec
18619 # List of archive names. First name is the real one, the rest are links.
18620 # The last name is the one that the linker finds with -lNAME.
18621 library_names_spec=$lt_library_names_spec
18623 # The coded name of the library, if different from the real name.
18624 soname_spec=$lt_soname_spec
18626 # Commands used to build and install an old-style archive.
18628 old_archive_cmds=$lt_old_archive_cmds_GCJ
18629 old_postinstall_cmds=$lt_old_postinstall_cmds
18630 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18632 # Create an old-style archive from a shared archive.
18633 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18635 # Create a temporary old-style archive to link instead of a shared archive.
18636 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18638 # Commands used to build and install a shared archive.
18639 archive_cmds=$lt_archive_cmds_GCJ
18640 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18641 postinstall_cmds=$lt_postinstall_cmds
18642 postuninstall_cmds=$lt_postuninstall_cmds
18644 # Commands used to build a loadable module (assumed same as above if empty)
18645 module_cmds=$lt_module_cmds_GCJ
18646 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18648 # Commands to strip libraries.
18649 old_striplib=$lt_old_striplib
18650 striplib=$lt_striplib
18652 # Dependencies to place before the objects being linked to create a
18654 predep_objects=$lt_predep_objects_GCJ
18656 # Dependencies to place after the objects being linked to create a
18658 postdep_objects=$lt_postdep_objects_GCJ
18660 # Dependencies to place before the objects being linked to create a
18662 predeps=$lt_predeps_GCJ
18664 # Dependencies to place after the objects being linked to create a
18666 postdeps=$lt_postdeps_GCJ
18668 # The library search path used internally by the compiler when linking
18669 # a shared library.
18670 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18672 # Method to check whether dependent libraries are shared objects.
18673 deplibs_check_method=$lt_deplibs_check_method
18675 # Command to use when deplibs_check_method == file_magic.
18676 file_magic_cmd=$lt_file_magic_cmd
18678 # Flag that allows shared libraries with undefined symbols to be built.
18679 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18681 # Flag that forces no undefined symbols.
18682 no_undefined_flag=$lt_no_undefined_flag_GCJ
18684 # Commands used to finish a libtool library installation in a directory.
18685 finish_cmds=$lt_finish_cmds
18687 # Same as above, but a single script fragment to be evaled but not shown.
18688 finish_eval=$lt_finish_eval
18690 # Take the output of nm and produce a listing of raw symbols and C names.
18691 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18693 # Transform the output of nm in a proper C declaration
18694 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18696 # Transform the output of nm in a C name address pair
18697 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18699 # This is the shared library runtime path variable.
18700 runpath_var=$runpath_var
18702 # This is the shared library path variable.
18703 shlibpath_var=$shlibpath_var
18705 # Is shlibpath searched before the hard-coded library search path?
18706 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18708 # How to hardcode a shared library path into an executable.
18709 hardcode_action=$hardcode_action_GCJ
18711 # Whether we should hardcode library paths into libraries.
18712 hardcode_into_libs=$hardcode_into_libs
18714 # Flag to hardcode \$libdir into a binary during linking.
18715 # This must work even if \$libdir does not exist.
18716 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18718 # If ld is used when linking, flag to hardcode \$libdir into
18719 # a binary during linking. This must work even if \$libdir does
18721 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18723 # Whether we need a single -rpath flag with a separated argument.
18724 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18726 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18727 # resulting binary.
18728 hardcode_direct=$hardcode_direct_GCJ
18730 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18731 # resulting binary.
18732 hardcode_minus_L=$hardcode_minus_L_GCJ
18734 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18735 # the resulting binary.
18736 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18738 # Set to yes if building a shared library automatically hardcodes DIR into the library
18739 # and all subsequent libraries and executables linked against it.
18740 hardcode_automatic=$hardcode_automatic_GCJ
18742 # Variables whose values should be saved in libtool wrapper scripts and
18743 # restored at relink time.
18744 variables_saved_for_relink="$variables_saved_for_relink"
18746 # Whether libtool must link a program against all its dependency libraries.
18747 link_all_deplibs=$link_all_deplibs_GCJ
18749 # Compile-time system search path for libraries
18750 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18752 # Run-time system search path for libraries
18753 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18755 # Fix the shell variable \$srcfile for the compiler.
18756 fix_srcfile_path="$fix_srcfile_path_GCJ"
18758 # Set to yes if exported symbols are required.
18759 always_export_symbols=$always_export_symbols_GCJ
18761 # The commands to list exported symbols.
18762 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18764 # The commands to extract the exported symbol list from a shared archive.
18765 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18767 # Symbols that should not be listed in the preloaded symbols.
18768 exclude_expsyms=$lt_exclude_expsyms_GCJ
18770 # Symbols that must always be exported.
18771 include_expsyms=$lt_include_expsyms_GCJ
18773 # ### END LIBTOOL TAG CONFIG: $tagname
18779 # If there is no Makefile yet, we rely on a make rule to execute
18780 # `config.status --recheck' to rerun these tests and create the
18781 # libtool script then.
18782 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18783 if test -f "$ltmain_in"; then
18784 test -f Makefile
&& make "$ltmain"
18790 ac_cpp
='$CPP $CPPFLAGS'
18791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18805 # Source file extension for RC test sources.
18808 # Object file extension for compiled RC test sources.
18812 # Code to be used in simple compile tests
18813 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18815 # Code to be used in simple link tests
18816 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18818 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18820 # If no C compiler was specified, use CC.
18823 # If no C compiler flags were specified, use CFLAGS.
18824 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18826 # Allow CC to be a program name with arguments.
18830 # save warnings/boilerplate of simple test code
18831 ac_outfile
=conftest.
$ac_objext
18832 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18833 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18834 _lt_compiler_boilerplate
=`cat conftest.err`
18837 ac_outfile
=conftest.
$ac_objext
18838 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18839 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18840 _lt_linker_boilerplate
=`cat conftest.err`
18844 # Allow CC to be a program name with arguments.
18849 for cc_temp
in $compiler""; do
18851 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18852 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18857 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18859 lt_cv_prog_compiler_c_o_RC
=yes
18861 # The else clause should only fire when bootstrapping the
18862 # libtool distribution, otherwise you forgot to ship ltmain.sh
18863 # with your package, and you will get complaints that there are
18864 # no rules to generate ltmain.sh.
18865 if test -f "$ltmain"; then
18866 # See if we are running on zsh, and set the options which allow our commands through
18867 # without removal of \ escapes.
18868 if test -n "${ZSH_VERSION+set}" ; then
18869 setopt NO_GLOB_SUBST
18871 # Now quote all the things that may contain metacharacters while being
18872 # careful not to overquote the AC_SUBSTed values. We take copies of the
18873 # variables and quote the copies for generation of the libtool script.
18874 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18876 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18877 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18878 deplibs_check_method reload_flag reload_cmds need_locks \
18879 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18880 lt_cv_sys_global_symbol_to_c_name_address \
18881 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18882 old_postinstall_cmds old_postuninstall_cmds \
18886 lt_prog_compiler_wl_RC \
18887 lt_prog_compiler_pic_RC \
18888 lt_prog_compiler_static_RC \
18889 lt_prog_compiler_no_builtin_flag_RC \
18890 export_dynamic_flag_spec_RC \
18891 thread_safe_flag_spec_RC \
18892 whole_archive_flag_spec_RC \
18893 enable_shared_with_static_runtimes_RC \
18894 old_archive_cmds_RC \
18895 old_archive_from_new_cmds_RC \
18896 predep_objects_RC \
18897 postdep_objects_RC \
18900 compiler_lib_search_path_RC \
18902 archive_expsym_cmds_RC \
18903 postinstall_cmds_RC \
18904 postuninstall_cmds_RC \
18905 old_archive_from_expsyms_cmds_RC \
18906 allow_undefined_flag_RC \
18907 no_undefined_flag_RC \
18908 export_symbols_cmds_RC \
18909 hardcode_libdir_flag_spec_RC \
18910 hardcode_libdir_flag_spec_ld_RC \
18911 hardcode_libdir_separator_RC \
18912 hardcode_automatic_RC \
18914 module_expsym_cmds_RC \
18915 lt_cv_prog_compiler_c_o_RC \
18916 exclude_expsyms_RC \
18917 include_expsyms_RC
; do
18920 old_archive_cmds_RC | \
18921 old_archive_from_new_cmds_RC | \
18922 archive_cmds_RC | \
18923 archive_expsym_cmds_RC | \
18925 module_expsym_cmds_RC | \
18926 old_archive_from_expsyms_cmds_RC | \
18927 export_symbols_cmds_RC | \
18928 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18929 postinstall_cmds | postuninstall_cmds | \
18930 old_postinstall_cmds | old_postuninstall_cmds | \
18931 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18932 # Double-quote double-evaled strings.
18933 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18936 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18942 *'\$0 --fallback-echo"')
18943 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18949 cat <<__EOF__ >> "$cfgfile"
18950 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18952 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18954 # Shell to use when invoking shell scripts.
18957 # Whether or not to build shared libraries.
18958 build_libtool_libs=$enable_shared
18960 # Whether or not to build static libraries.
18961 build_old_libs=$enable_static
18963 # Whether or not to add -lc for building shared libraries.
18964 build_libtool_need_lc=$archive_cmds_need_lc_RC
18966 # Whether or not to disallow shared libs when runtime libs are static
18967 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18969 # Whether or not to optimize for fast installation.
18970 fast_install=$enable_fast_install
18973 host_alias=$host_alias
18977 # The build system.
18978 build_alias=$build_alias
18982 # An echo program that does not interpret backslashes.
18987 AR_FLAGS=$lt_AR_FLAGS
18992 # LTCC compiler flags.
18993 LTCFLAGS=$lt_LTCFLAGS
18995 # A language-specific compiler.
18998 # Is the compiler the GNU C compiler?
19004 # The linker used to build libraries.
19007 # Whether we need hard or soft links.
19010 # A BSD-compatible nm program.
19013 # A symbol stripping program
19016 # Used to examine libraries when file_magic_cmd begins "file"
19017 MAGIC_CMD=$MAGIC_CMD
19019 # Used on cygwin: DLL creation program.
19022 # Used on cygwin: object dumper.
19025 # Used on cygwin: assembler.
19028 # The name of the directory that contains temporary libtool files.
19031 # How to create reloadable object files.
19032 reload_flag=$lt_reload_flag
19033 reload_cmds=$lt_reload_cmds
19035 # How to pass a linker flag through the compiler.
19036 wl=$lt_lt_prog_compiler_wl_RC
19038 # Object file suffix (normally "o").
19039 objext="$ac_objext"
19041 # Old archive suffix (normally "a").
19044 # Shared library suffix (normally ".so").
19045 shrext_cmds='$shrext_cmds'
19047 # Executable file suffix (normally "").
19050 # Additional compiler flags for building library objects.
19051 pic_flag=$lt_lt_prog_compiler_pic_RC
19054 # What is the maximum length of a command?
19055 max_cmd_len=$lt_cv_sys_max_cmd_len
19057 # Does compiler simultaneously support -c and -o options?
19058 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19060 # Must we lock files when doing compilation?
19061 need_locks=$lt_need_locks
19063 # Do we need the lib prefix for modules?
19064 need_lib_prefix=$need_lib_prefix
19066 # Do we need a version for libraries?
19067 need_version=$need_version
19069 # Whether dlopen is supported.
19070 dlopen_support=$enable_dlopen
19072 # Whether dlopen of programs is supported.
19073 dlopen_self=$enable_dlopen_self
19075 # Whether dlopen of statically linked programs is supported.
19076 dlopen_self_static=$enable_dlopen_self_static
19078 # Compiler flag to prevent dynamic linking.
19079 link_static_flag=$lt_lt_prog_compiler_static_RC
19081 # Compiler flag to turn off builtin functions.
19082 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19084 # Compiler flag to allow reflexive dlopens.
19085 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19087 # Compiler flag to generate shared objects directly from archives.
19088 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19090 # Compiler flag to generate thread-safe objects.
19091 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19093 # Library versioning type.
19094 version_type=$version_type
19096 # Format of library name prefix.
19097 libname_spec=$lt_libname_spec
19099 # List of archive names. First name is the real one, the rest are links.
19100 # The last name is the one that the linker finds with -lNAME.
19101 library_names_spec=$lt_library_names_spec
19103 # The coded name of the library, if different from the real name.
19104 soname_spec=$lt_soname_spec
19106 # Commands used to build and install an old-style archive.
19108 old_archive_cmds=$lt_old_archive_cmds_RC
19109 old_postinstall_cmds=$lt_old_postinstall_cmds
19110 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19112 # Create an old-style archive from a shared archive.
19113 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19115 # Create a temporary old-style archive to link instead of a shared archive.
19116 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19118 # Commands used to build and install a shared archive.
19119 archive_cmds=$lt_archive_cmds_RC
19120 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19121 postinstall_cmds=$lt_postinstall_cmds
19122 postuninstall_cmds=$lt_postuninstall_cmds
19124 # Commands used to build a loadable module (assumed same as above if empty)
19125 module_cmds=$lt_module_cmds_RC
19126 module_expsym_cmds=$lt_module_expsym_cmds_RC
19128 # Commands to strip libraries.
19129 old_striplib=$lt_old_striplib
19130 striplib=$lt_striplib
19132 # Dependencies to place before the objects being linked to create a
19134 predep_objects=$lt_predep_objects_RC
19136 # Dependencies to place after the objects being linked to create a
19138 postdep_objects=$lt_postdep_objects_RC
19140 # Dependencies to place before the objects being linked to create a
19142 predeps=$lt_predeps_RC
19144 # Dependencies to place after the objects being linked to create a
19146 postdeps=$lt_postdeps_RC
19148 # The library search path used internally by the compiler when linking
19149 # a shared library.
19150 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19152 # Method to check whether dependent libraries are shared objects.
19153 deplibs_check_method=$lt_deplibs_check_method
19155 # Command to use when deplibs_check_method == file_magic.
19156 file_magic_cmd=$lt_file_magic_cmd
19158 # Flag that allows shared libraries with undefined symbols to be built.
19159 allow_undefined_flag=$lt_allow_undefined_flag_RC
19161 # Flag that forces no undefined symbols.
19162 no_undefined_flag=$lt_no_undefined_flag_RC
19164 # Commands used to finish a libtool library installation in a directory.
19165 finish_cmds=$lt_finish_cmds
19167 # Same as above, but a single script fragment to be evaled but not shown.
19168 finish_eval=$lt_finish_eval
19170 # Take the output of nm and produce a listing of raw symbols and C names.
19171 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19173 # Transform the output of nm in a proper C declaration
19174 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19176 # Transform the output of nm in a C name address pair
19177 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19179 # This is the shared library runtime path variable.
19180 runpath_var=$runpath_var
19182 # This is the shared library path variable.
19183 shlibpath_var=$shlibpath_var
19185 # Is shlibpath searched before the hard-coded library search path?
19186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19188 # How to hardcode a shared library path into an executable.
19189 hardcode_action=$hardcode_action_RC
19191 # Whether we should hardcode library paths into libraries.
19192 hardcode_into_libs=$hardcode_into_libs
19194 # Flag to hardcode \$libdir into a binary during linking.
19195 # This must work even if \$libdir does not exist.
19196 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19198 # If ld is used when linking, flag to hardcode \$libdir into
19199 # a binary during linking. This must work even if \$libdir does
19201 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19203 # Whether we need a single -rpath flag with a separated argument.
19204 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19206 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19207 # resulting binary.
19208 hardcode_direct=$hardcode_direct_RC
19210 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19211 # resulting binary.
19212 hardcode_minus_L=$hardcode_minus_L_RC
19214 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19215 # the resulting binary.
19216 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19218 # Set to yes if building a shared library automatically hardcodes DIR into the library
19219 # and all subsequent libraries and executables linked against it.
19220 hardcode_automatic=$hardcode_automatic_RC
19222 # Variables whose values should be saved in libtool wrapper scripts and
19223 # restored at relink time.
19224 variables_saved_for_relink="$variables_saved_for_relink"
19226 # Whether libtool must link a program against all its dependency libraries.
19227 link_all_deplibs=$link_all_deplibs_RC
19229 # Compile-time system search path for libraries
19230 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19232 # Run-time system search path for libraries
19233 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19235 # Fix the shell variable \$srcfile for the compiler.
19236 fix_srcfile_path="$fix_srcfile_path_RC"
19238 # Set to yes if exported symbols are required.
19239 always_export_symbols=$always_export_symbols_RC
19241 # The commands to list exported symbols.
19242 export_symbols_cmds=$lt_export_symbols_cmds_RC
19244 # The commands to extract the exported symbol list from a shared archive.
19245 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19247 # Symbols that should not be listed in the preloaded symbols.
19248 exclude_expsyms=$lt_exclude_expsyms_RC
19250 # Symbols that must always be exported.
19251 include_expsyms=$lt_include_expsyms_RC
19253 # ### END LIBTOOL TAG CONFIG: $tagname
19259 # If there is no Makefile yet, we rely on a make rule to execute
19260 # `config.status --recheck' to rerun these tests and create the
19261 # libtool script then.
19262 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19263 if test -f "$ltmain_in"; then
19264 test -f Makefile
&& make "$ltmain"
19270 ac_cpp
='$CPP $CPPFLAGS'
19271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19280 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19281 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19282 { (exit 1); exit 1; }; }
19286 # Append the new tag name to the list of available tags.
19287 if test -n "$tagname" ; then
19288 available_tags
="$available_tags $tagname"
19294 # Now substitute the updated list of available tags.
19295 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19296 mv "${ofile}T" "$ofile"
19300 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19301 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19302 { (exit 1); exit 1; }; }
19308 # This can be used to rebuild libtool when needed
19309 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19311 # Always use our own libtool.
19312 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19314 # Prevent multiple expansion
19336 if test "$GCC" = yes
19338 CFLAGS
="-Wall $CFLAGS"
19340 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
19345 for ac_header
in sys
/types.h
19347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19348 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19351 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 ac_res
=`eval echo '${'$as_ac_Header'}'`
19355 { echo "$as_me:$LINENO: result: $ac_res" >&5
19356 echo "${ECHO_T}$ac_res" >&6; }
19358 # Is the header compilable?
19359 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19361 cat >conftest.
$ac_ext <<_ACEOF
19364 cat confdefs.h
>>conftest.
$ac_ext
19365 cat >>conftest.
$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 $ac_includes_default
19368 #include <$ac_header>
19370 rm -f conftest.
$ac_objext
19371 if { (ac_try
="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19379 grep -v '^ *+' conftest.er1 >conftest.err
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_header_compiler=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 ac_header_compiler=no
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19397 echo "${ECHO_T}$ac_header_compiler" >&6; }
19399 # Is the header present?
19400 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19402 cat >conftest.$ac_ext <<_ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <$ac_header>
19410 if { (ac_try="$ac_cpp conftest.$ac_ext"
19411 case "(($ac_try" in
19412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19413 *) ac_try_echo
=$ac_try;;
19415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19418 grep -v '^ *+' conftest.er1
>conftest.err
19420 cat conftest.err
>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } >/dev
/null
&& {
19423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19424 test ! -s conftest.err
19426 ac_header_preproc
=yes
19428 echo "$as_me: failed program was:" >&5
19429 sed 's/^/| /' conftest.
$ac_ext >&5
19431 ac_header_preproc
=no
19434 rm -f conftest.err conftest.
$ac_ext
19435 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19436 echo "${ECHO_T}$ac_header_preproc" >&6; }
19438 # So? What about this header?
19439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19445 ac_header_preproc
=yes
19448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19461 ## -------------------------------------------------- ##
19462 ## Report this to courier-users@lists.sourceforge.net ##
19463 ## -------------------------------------------------- ##
19465 ) |
sed "s/^/$as_me: WARNING: /" >&2
19468 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19470 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 eval "$as_ac_Header=\$ac_header_preproc"
19475 ac_res
=`eval echo '${'$as_ac_Header'}'`
19476 { echo "$as_me:$LINENO: result: $ac_res" >&5
19477 echo "${ECHO_T}$ac_res" >&6; }
19480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19481 cat >>confdefs.h
<<_ACEOF
19482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19491 # Check whether --with-int32 was given.
19492 if test "${with_int32+set}" = set; then
19493 withval
=$with_int32; int32
="$withval"
19497 { echo "$as_me:$LINENO: checking for uint32_t" >&5
19498 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19507 #if HAVE_SYS_TYPES_H
19508 #include <sys/types.h>
19521 rm -f conftest.
$ac_objext
19522 if { (ac_try
="$ac_compile"
19523 case "(($ac_try" in
19524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_compile") 2>conftest.er1
19530 grep -v '^ *+' conftest.er1 >conftest.err
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_c_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest.$ac_objext; then
19538 { echo "$as_me:$LINENO: result: yes" >&5
19539 echo "${ECHO_T}yes" >&6; } ; int32="uint32_t"
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19546 { echo "$as_me:$LINENO: result: no" >&5
19547 echo "${ECHO_T}no" >&6; }
19548 { echo "$as_me:$LINENO: checking for u_int_32_t" >&5
19549 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6; }
19551 cat >conftest.$ac_ext <<_ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19558 #if HAVE_SYS_TYPES_H
19559 #include <sys/types.h>
19572 rm -f conftest.$ac_objext
19573 if { (ac_try="$ac_compile"
19574 case "(($ac_try" in
19575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19576 *) ac_try_echo
=$ac_try;;
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19579 (eval "$ac_compile") 2>conftest.er1
19581 grep -v '^ *+' conftest.er1
>conftest.err
19583 cat conftest.err
>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } && {
19586 test -z "$ac_c_werror_flag" ||
19587 test ! -s conftest.err
19588 } && test -s conftest.
$ac_objext; then
19589 { echo "$as_me:$LINENO: result: yes" >&5
19590 echo "${ECHO_T}yes" >&6; }; int32
="u_int32_t"
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.
$ac_ext >&5
19597 { echo "$as_me:$LINENO: result: no" >&5
19598 echo "${ECHO_T}no" >&6; }
19600 { echo "$as_me:$LINENO: checking for unsigned" >&5
19601 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
19602 if test "${ac_cv_type_unsigned+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef unsigned ac__type_new_;
19616 if ((ac__type_new_ *) 0)
19618 if (sizeof (ac__type_new_))
19624 rm -f conftest.
$ac_objext
19625 if { (ac_try
="$ac_compile"
19626 case "(($ac_try" in
19627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compile") 2>conftest.er1
19633 grep -v '^ *+' conftest.er1 >conftest.err
19635 cat conftest.err >&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } && {
19638 test -z "$ac_c_werror_flag" ||
19639 test ! -s conftest.err
19640 } && test -s conftest.$ac_objext; then
19641 ac_cv_type_unsigned=yes
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19646 ac_cv_type_unsigned=no
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19652 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
19654 # The cast to long int works around a bug in the HP C Compiler
19655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19656 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
19657 # This bug is HP SR number 8606223364.
19658 { echo "$as_me:$LINENO: checking size of unsigned" >&5
19659 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
19660 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 if test "$cross_compiling" = yes; then
19664 # Depending upon the size, compute the lo and hi bounds.
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 typedef unsigned ac__type_sizeof_;
19676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19692 grep -v '^
*+' conftest.er1 >conftest.err
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19702 cat >conftest.$ac_ext <<_ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709 typedef unsigned ac__type_sizeof_;
19713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19729 grep -v '^
*+' conftest.er1 >conftest.err
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.$ac_objext; then
19737 ac_hi=$ac_mid; break
19739 echo "$as_me: failed program was:" >&5
19740 sed 's
/^
/|
/' conftest.$ac_ext >&5
19742 ac_lo=`expr $ac_mid + 1`
19743 if test $ac_lo -le $ac_mid; then
19747 ac_mid=`expr 2 '*' $ac_mid + 1`
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753 echo "$as_me: failed program was:" >&5
19754 sed 's
/^
/|
/' conftest.$ac_ext >&5
19756 cat >conftest.$ac_ext <<_ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef unsigned ac__type_sizeof_;
19767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19783 grep -v '^
*+' conftest.er1 >conftest.err
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19800 typedef unsigned ac__type_sizeof_;
19804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19820 grep -v '^
*+' conftest.er1 >conftest.err
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_lo=$ac_mid; break
19830 echo "$as_me: failed program was:" >&5
19831 sed 's
/^
/|
/' conftest.$ac_ext >&5
19833 ac_hi=`expr '(' $ac_mid ')' - 1`
19834 if test $ac_mid -le $ac_hi; then
19838 ac_mid=`expr 2 '*' $ac_mid`
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844 echo "$as_me: failed program was:" >&5
19845 sed 's
/^
/|
/' conftest.$ac_ext >&5
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 # Binary search between lo and hi bounds.
19855 while test "x$ac_lo" != "x$ac_hi"; do
19856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19857 cat >conftest.$ac_ext <<_ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 typedef unsigned ac__type_sizeof_;
19868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^
*+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19894 echo "$as_me: failed program was:" >&5
19895 sed 's
/^
/|
/' conftest.$ac_ext >&5
19897 ac_lo=`expr '(' $ac_mid ')' + 1`
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
19904 '') if test "$ac_cv_type_unsigned" = yes; then
19905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
19906 See \`config.log' for more details.
" >&5
19907 echo "$as_me: error
: cannot compute sizeof
(unsigned
)
19908 See \
`config.log' for more details." >&2;}
19909 { (exit 77); exit 77; }; }
19911 ac_cv_sizeof_unsigned=0
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 typedef unsigned ac__type_sizeof_;
19923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19926 #include <stdlib.h>
19931 FILE *f = fopen ("conftest.val", "w");
19934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19936 long int i = longval ();
19937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19939 fprintf (f, "%ld\n", i);
19943 unsigned long int i = ulongval ();
19944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19946 fprintf (f, "%lu\n", i);
19948 return ferror (f) || fclose (f) != 0;
19954 rm -f conftest$ac_exeext
19955 if { (ac_try="$ac_link"
19956 case "(($ac_try" in
19957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19958 *) ac_try_echo
=$ac_try;;
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_link") 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19965 { (case "(($ac_try" in
19966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_try") 2>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; }; then
19974 ac_cv_sizeof_unsigned=`cat conftest.val
`
19976 echo "$as_me: program exited with status $ac_status" >&5
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 ( exit $ac_status )
19981 if test "$ac_cv_type_unsigned" = yes; then
19982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
19983 See \`config.log
' for more details." >&5
19984 echo "$as_me: error: cannot compute sizeof (unsigned)
19985 See \`config.log' for more details.
" >&2;}
19986 { (exit 77); exit 77; }; }
19988 ac_cv_sizeof_unsigned=0
19991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19995 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned" >&5
19996 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
20000 cat >>confdefs.h <<_ACEOF
20001 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
20005 if test "$ac_cv_sizeof_unsigned" != 4
20007 { echo "$as_me:$LINENO: checking
for unsigned long
" >&5
20008 echo $ECHO_N "checking
for unsigned long...
$ECHO_C" >&6; }
20009 if test "${ac_cv_type_unsigned_long+set}" = set; then
20010 echo $ECHO_N "(cached
) $ECHO_C" >&6
20012 cat >conftest.$ac_ext <<_ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 $ac_includes_default
20019 typedef unsigned long ac__type_new_;
20023 if ((ac__type_new_ *) 0)
20025 if (sizeof (ac__type_new_))
20031 rm -f conftest.$ac_objext
20032 if { (ac_try="$ac_compile"
20033 case "(($ac_try" in
20034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20035 *) ac_try_echo=$ac_try;;
20037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_compile") 2>conftest.er1
20040 grep -v '^ *+' conftest.er1 >conftest.err
20042 cat conftest.err >&5
20043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20044 (exit $ac_status); } && {
20045 test -z "$ac_c_werror_flag" ||
20046 test ! -s conftest.err
20047 } && test -s conftest.$ac_objext; then
20048 ac_cv_type_unsigned_long=yes
20050 echo "$as_me: failed program was
:" >&5
20051 sed 's/^/| /' conftest.$ac_ext >&5
20053 ac_cv_type_unsigned_long=no
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20058 { echo "$as_me:$LINENO: result
: $ac_cv_type_unsigned_long" >&5
20059 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
20061 # The cast to long int works around a bug in the HP C Compiler
20062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20064 # This bug is HP SR number 8606223364.
20065 { echo "$as_me:$LINENO: checking size of unsigned long
" >&5
20066 echo $ECHO_N "checking size of unsigned long...
$ECHO_C" >&6; }
20067 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
20068 echo $ECHO_N "(cached
) $ECHO_C" >&6
20070 if test "$cross_compiling" = yes; then
20071 # Depending upon the size, compute the lo and hi bounds.
20072 cat >conftest.$ac_ext <<_ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078 $ac_includes_default
20079 typedef unsigned long ac__type_sizeof_;
20083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20090 rm -f conftest.$ac_objext
20091 if { (ac_try="$ac_compile"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_compile") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest.$ac_objext; then
20109 cat >conftest.$ac_ext <<_ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 $ac_includes_default
20116 typedef unsigned long ac__type_sizeof_;
20120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20127 rm -f conftest.$ac_objext
20128 if { (ac_try="$ac_compile"
20129 case "(($ac_try" in
20130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20131 *) ac_try_echo=$ac_try;;
20133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20134 (eval "$ac_compile") 2>conftest.er1
20136 grep -v '^ *+' conftest.er1 >conftest.err
20138 cat conftest.err >&5
20139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20140 (exit $ac_status); } && {
20141 test -z "$ac_c_werror_flag" ||
20142 test ! -s conftest.err
20143 } && test -s conftest.$ac_objext; then
20144 ac_hi=$ac_mid; break
20146 echo "$as_me: failed program was
:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5
20149 ac_lo=`expr $ac_mid + 1`
20150 if test $ac_lo -le $ac_mid; then
20154 ac_mid=`expr 2 '*' $ac_mid + 1`
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160 echo "$as_me: failed program was
:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20163 cat >conftest.$ac_ext <<_ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170 typedef unsigned long ac__type_sizeof_;
20174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20181 rm -f conftest.$ac_objext
20182 if { (ac_try="$ac_compile"
20183 case "(($ac_try" in
20184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20185 *) ac_try_echo=$ac_try;;
20187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20188 (eval "$ac_compile") 2>conftest.er1
20190 grep -v '^ *+' conftest.er1 >conftest.err
20192 cat conftest.err >&5
20193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20194 (exit $ac_status); } && {
20195 test -z "$ac_c_werror_flag" ||
20196 test ! -s conftest.err
20197 } && test -s conftest.$ac_objext; then
20200 cat >conftest.$ac_ext <<_ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20207 typedef unsigned long ac__type_sizeof_;
20211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20218 rm -f conftest.$ac_objext
20219 if { (ac_try="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20225 (eval "$ac_compile") 2>conftest.er1
20227 grep -v '^ *+' conftest.er1 >conftest.err
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20231 (exit $ac_status); } && {
20232 test -z "$ac_c_werror_flag" ||
20233 test ! -s conftest.err
20234 } && test -s conftest.$ac_objext; then
20235 ac_lo=$ac_mid; break
20237 echo "$as_me: failed program was
:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_hi=`expr '(' $ac_mid ')' - 1`
20241 if test $ac_mid -le $ac_hi; then
20245 ac_mid=`expr 2 '*' $ac_mid`
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20251 echo "$as_me: failed program was
:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 # Binary search between lo and hi bounds.
20262 while test "x
$ac_lo" != "x
$ac_hi"; do
20263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef unsigned long ac__type_sizeof_;
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1 >conftest.err
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20301 echo "$as_me: failed program was
:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20304 ac_lo=`expr '(' $ac_mid ')' + 1`
20307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
20311 '') if test "$ac_cv_type_unsigned_long" = yes; then
20312 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
20313 See \
`config.log' for more details." >&5
20314 echo "$as_me: error: cannot compute sizeof (unsigned long)
20315 See \`config.log
' for more details." >&2;}
20316 { (exit 77); exit 77; }; }
20318 ac_cv_sizeof_unsigned_long=0
20322 cat >conftest.$ac_ext <<_ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 typedef unsigned long ac__type_sizeof_;
20330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20333 #include <stdlib.h>
20338 FILE *f = fopen ("conftest.val", "w");
20341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20343 long int i = longval ();
20344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20346 fprintf (f, "%ld\n", i);
20350 unsigned long int i = ulongval ();
20351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20353 fprintf (f, "%lu\n", i);
20355 return ferror (f) || fclose (f) != 0;
20361 rm -f conftest$ac_exeext
20362 if { (ac_try="$ac_link"
20363 case "(($ac_try" in
20364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20365 *) ac_try_echo=$ac_try;;
20367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20368 (eval "$ac_link") 2>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20372 { (case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_try") 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_cv_sizeof_unsigned_long=`cat conftest.val`
20383 echo "$as_me: program exited with status $ac_status" >&5
20384 echo "$as_me: failed program was:" >&5
20385 sed 's
/^
/|
/' conftest.$ac_ext >&5
20387 ( exit $ac_status )
20388 if test "$ac_cv_type_unsigned_long" = yes; then
20389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
20390 See \`config.log' for more details.
" >&5
20391 echo "$as_me: error
: cannot compute sizeof
(unsigned long
)
20392 See \
`config.log' for more details." >&2;}
20393 { (exit 77); exit 77; }; }
20395 ac_cv_sizeof_unsigned_long=0
20398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
20403 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
20407 cat >>confdefs.h <<_ACEOF
20408 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20412 if test "$ac_cv_sizeof_unsigned_long" != 4
20414 { echo "$as_me:$LINENO: checking for unsigned short" >&5
20415 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
20416 if test "${ac_cv_type_unsigned_short+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 cat >conftest.$ac_ext <<_ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 $ac_includes_default
20426 typedef unsigned short ac__type_new_;
20430 if ((ac__type_new_ *) 0)
20432 if (sizeof (ac__type_new_))
20438 rm -f conftest.$ac_objext
20439 if { (ac_try="$ac_compile"
20440 case "(($ac_try" in
20441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20442 *) ac_try_echo
=$ac_try;;
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_compile") 2>conftest.er1
20447 grep -v '^ *+' conftest.er1
>conftest.err
20449 cat conftest.err
>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } && {
20452 test -z "$ac_c_werror_flag" ||
20453 test ! -s conftest.err
20454 } && test -s conftest.
$ac_objext; then
20455 ac_cv_type_unsigned_short
=yes
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.
$ac_ext >&5
20460 ac_cv_type_unsigned_short
=no
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20466 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
20468 # The cast to long int works around a bug in the HP C Compiler
20469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20471 # This bug is HP SR number 8606223364.
20472 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
20473 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
20474 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 if test "$cross_compiling" = yes; then
20478 # Depending upon the size, compute the lo and hi bounds.
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef unsigned short ac__type_sizeof_;
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20497 rm -f conftest.
$ac_objext
20498 if { (ac_try
="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20516 cat >conftest.$ac_ext <<_ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20523 typedef unsigned short ac__type_sizeof_;
20527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20534 rm -f conftest.$ac_objext
20535 if { (ac_try="$ac_compile"
20536 case "(($ac_try" in
20537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20538 *) ac_try_echo
=$ac_try;;
20540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20541 (eval "$ac_compile") 2>conftest.er1
20543 grep -v '^ *+' conftest.er1
>conftest.err
20545 cat conftest.err
>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } && {
20548 test -z "$ac_c_werror_flag" ||
20549 test ! -s conftest.err
20550 } && test -s conftest.
$ac_objext; then
20551 ac_hi
=$ac_mid; break
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ac_lo
=`expr $ac_mid + 1`
20557 if test $ac_lo -le $ac_mid; then
20561 ac_mid
=`expr 2 '*' $ac_mid + 1`
20564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.
$ac_ext >&5
20570 cat >conftest.
$ac_ext <<_ACEOF
20573 cat confdefs.h
>>conftest.
$ac_ext
20574 cat >>conftest.
$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20577 typedef unsigned short ac__type_sizeof_;
20581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20588 rm -f conftest.
$ac_objext
20589 if { (ac_try
="$ac_compile"
20590 case "(($ac_try" in
20591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20592 *) ac_try_echo=$ac_try;;
20594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20595 (eval "$ac_compile") 2>conftest.er1
20597 grep -v '^ *+' conftest.er1 >conftest.err
20599 cat conftest.err >&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } && {
20602 test -z "$ac_c_werror_flag" ||
20603 test ! -s conftest.err
20604 } && test -s conftest.$ac_objext; then
20607 cat >conftest.$ac_ext <<_ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef unsigned short ac__type_sizeof_;
20618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20629 *) ac_try_echo
=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1
>conftest.err
20636 cat conftest.err
>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.
$ac_objext; then
20642 ac_lo
=$ac_mid; break
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.
$ac_ext >&5
20647 ac_hi
=`expr '(' $ac_mid ')' - 1`
20648 if test $ac_mid -le $ac_hi; then
20652 ac_mid
=`expr 2 '*' $ac_mid`
20655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20658 echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.
$ac_ext >&5
20664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20668 # Binary search between lo and hi bounds.
20669 while test "x$ac_lo" != "x$ac_hi"; do
20670 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20671 cat >conftest.
$ac_ext <<_ACEOF
20674 cat confdefs.h
>>conftest.
$ac_ext
20675 cat >>conftest.
$ac_ext <<_ACEOF
20676 /* end confdefs.h. */
20677 $ac_includes_default
20678 typedef unsigned short ac__type_sizeof_;
20682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20689 rm -f conftest.
$ac_objext
20690 if { (ac_try
="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20698 grep -v '^ *+' conftest.er1 >conftest.err
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } && {
20703 test -z "$ac_c_werror_flag" ||
20704 test ! -s conftest.err
20705 } && test -s conftest.$ac_objext; then
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20711 ac_lo=`expr '(' $ac_mid ')' + 1`
20714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
20718 '') if test "$ac_cv_type_unsigned_short" = yes; then
20719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
20720 See \`config.log
' for more details." >&5
20721 echo "$as_me: error: cannot compute sizeof (unsigned short)
20722 See \`config.log' for more details.
" >&2;}
20723 { (exit 77); exit 77; }; }
20725 ac_cv_sizeof_unsigned_short=0
20729 cat >conftest.$ac_ext <<_ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef unsigned short ac__type_sizeof_;
20737 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20738 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20740 #include <stdlib.h>
20745 FILE *f = fopen ("conftest.val
", "w
");
20748 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20750 long int i = longval ();
20751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20753 fprintf (f, "%ld
\n", i);
20757 unsigned long int i = ulongval ();
20758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20760 fprintf (f, "%lu
\n", i);
20762 return ferror (f) || fclose (f) != 0;
20768 rm -f conftest$ac_exeext
20769 if { (ac_try="$ac_link"
20770 case "(($ac_try" in
20771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772 *) ac_try_echo=$ac_try;;
20774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_link") 2>&5
20777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_sizeof_unsigned_short=`cat conftest.val`
20790 echo "$as_me: program exited with status
$ac_status" >&5
20791 echo "$as_me: failed program was
:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20794 ( exit $ac_status )
20795 if test "$ac_cv_type_unsigned_short" = yes; then
20796 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
20797 See \
`config.log' for more details." >&5
20798 echo "$as_me: error: cannot compute sizeof (unsigned short)
20799 See \`config.log
' for more details." >&2;}
20800 { (exit 77); exit 77; }; }
20802 ac_cv_sizeof_unsigned_short=0
20805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20809 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
20810 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
20814 cat >>confdefs.h <<_ACEOF
20815 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20819 if test "$ac_cv_sizeof_unsigned_short" != 4
20821 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
20822 echo "$as_me: error: --with-int32 option is required" >&2;}
20823 { (exit 1); exit 1; }; }
20825 int32="unsigned short"
20827 int32="unsigned long"
20835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847 cat >>confdefs.h <<_ACEOF
20848 #define SHA1_WORD $UINT32
20852 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20853 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20854 if test "${ac_cv_c_const+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 cat >conftest.$ac_ext <<_ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20867 /* FIXME: Include the comments suggested by Paul. */
20868 #ifndef __cplusplus
20869 /* Ultrix mips cc rejects this. */
20870 typedef int charset[2];
20872 /* SunOS 4.1.1 cc rejects this. */
20873 char const *const *pcpcc;
20875 /* NEC SVR4.0.2 mips cc rejects this. */
20876 struct point {int x, y;};
20877 static struct point const zero = {0,0};
20878 /* AIX XL C 1.02.0.0 rejects this.
20879 It does not let you subtract one const X* pointer from another in
20880 an arm of an if-expression whose if-part is not a constant
20882 const char *g = "string";
20883 pcpcc = &g + (g ? g-g : 0);
20884 /* HPUX 7.0 cc rejects these. */
20886 ppc = (char**) pcpcc;
20887 pcpcc = (char const *const *) ppc;
20888 { /* SCO 3.2v4 cc rejects this. */
20890 char const *s = 0 ? (char *) 0 : (char const *) 0;
20895 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20896 int x[] = {25, 17};
20897 const int *foo = &x[0];
20900 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20901 typedef const int *iptr;
20905 { /* AIX XL C 1.02.0.0 rejects this saying
20906 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20907 struct s { int j; const int *ap[3]; };
20908 struct s *b; b->j = 5;
20910 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20911 const int foo = 10;
20912 if (!foo) return 0;
20914 return !cs[0] && !zero.x;
20921 rm -f conftest.$ac_objext
20922 if { (ac_try="$ac_compile"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_compile") 2>conftest.er1
20930 grep -v '^
*+' conftest.er1 >conftest.err
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } && {
20935 test -z "$ac_c_werror_flag" ||
20936 test ! -s conftest.err
20937 } && test -s conftest.$ac_objext; then
20940 echo "$as_me: failed program was:" >&5
20941 sed 's
/^
/|
/' conftest.$ac_ext >&5
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20948 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20949 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20950 if test $ac_cv_c_const = no; then
20952 cat >>confdefs.h <<\_ACEOF
20959 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20960 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20961 if test "${ac_cv_header_stdc+set}" = set; then
20962 echo $ECHO_N "(cached) $ECHO_C" >&6
20964 cat >conftest.$ac_ext <<_ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 #include <stdlib.h>
20971 #include <stdarg.h>
20972 #include <string.h>
20983 rm -f conftest.$ac_objext
20984 if { (ac_try="$ac_compile"
20985 case "(($ac_try" in
20986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20987 *) ac_try_echo=$ac_try;;
20989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20990 (eval "$ac_compile") 2>conftest.er1
20992 grep -v '^
*+' conftest.er1 >conftest.err
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } && {
20997 test -z "$ac_c_werror_flag" ||
20998 test ! -s conftest.err
20999 } && test -s conftest.$ac_objext; then
21000 ac_cv_header_stdc=yes
21002 echo "$as_me: failed program was:" >&5
21003 sed 's
/^
/|
/' conftest.$ac_ext >&5
21005 ac_cv_header_stdc=no
21008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 if test $ac_cv_header_stdc = yes; then
21011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #include <string.h>
21021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21022 $EGREP "memchr" >/dev/null 2>&1; then
21025 ac_cv_header_stdc=no
21031 if test $ac_cv_header_stdc = yes; then
21032 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21033 cat >conftest.$ac_ext <<_ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 #include <stdlib.h>
21042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21043 $EGREP "free" >/dev/null 2>&1; then
21046 ac_cv_header_stdc=no
21052 if test $ac_cv_header_stdc = yes; then
21053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21054 if test "$cross_compiling" = yes; then
21057 cat >conftest.$ac_ext <<_ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21064 #include <stdlib.h>
21065 #if ((' ' & 0x0FF) == 0x020)
21066 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
21067 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
21069 # define ISLOWER(c) \
21070 (('a
' <= (c) && (c) <= 'i
') \
21071 || ('j
' <= (c) && (c) <= 'r
') \
21072 || ('s
' <= (c) && (c) <= 'z
'))
21073 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21076 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21081 for (i = 0; i < 256; i++)
21082 if (XOR (islower (i), ISLOWER (i))
21083 || toupper (i) != TOUPPER (i))
21088 rm -f conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21099 { (case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_try") 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21110 echo "$as_me: program exited with status $ac_status" >&5
21111 echo "$as_me: failed program was:" >&5
21112 sed 's
/^
/|
/' conftest.$ac_ext >&5
21114 ( exit $ac_status )
21115 ac_cv_header_stdc=no
21117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21123 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21124 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21125 if test $ac_cv_header_stdc = yes; then
21127 cat >>confdefs.h <<\_ACEOF
21128 #define STDC_HEADERS 1
21134 ac_config_files="$ac_config_files Makefile"
21136 cat >confcache <<\_ACEOF
21137 # This file is a shell script that caches the results of configure
21138 # tests run on this system so they can be shared between configure
21139 # scripts and configure runs, see configure's option
--config-cache.
21140 # It is not useful on other systems. If it contains results you don't
21141 # want to keep, you may remove or edit it.
21143 # config.status only pays attention to the cache file if you give it
21144 # the --recheck option to rerun configure.
21146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21148 # following values.
21152 # The following way of writing the cache mishandles newlines in values,
21153 # but we know of no workaround that is simple, portable, and efficient.
21154 # So, we kill variables containing newlines.
21155 # Ultrix sh set writes to stderr and can't be redirected directly,
21156 # and sets the high bit in the cache file unless we assign to the vars.
21158 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21159 eval ac_val
=\$
$ac_var
21163 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21164 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21167 _ | IFS | as_nl
) ;; #(
21168 *) $as_unset $ac_var ;;
21174 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21175 *${as_nl}ac_space
=\
*)
21176 # `set' does not quote correctly, so add quotes (double-quote
21177 # substitution turns \\\\ into \\, and sed turns \\ into \).
21180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21183 # `set' quotes correctly as required by POSIX, so do not add quotes.
21184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21195 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21197 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21198 if test -w "$cache_file"; then
21199 test "x$cache_file" != "x/dev/null" &&
21200 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21201 echo "$as_me: updating cache $cache_file" >&6;}
21202 cat confcache
>$cache_file
21204 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21205 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21210 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21211 # Let make expand exec_prefix.
21212 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21214 DEFS
=-DHAVE_CONFIG_H
21218 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21219 # 1. Remove the extension, and $U if already installed.
21220 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21221 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21222 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21223 # will be set to the directory where LIBOBJS objects are built.
21224 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21225 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21227 LIBOBJS
=$ac_libobjs
21229 LTLIBOBJS
=$ac_ltlibobjs
21232 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
21233 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
21234 Usually this means the macro was only invoked conditionally." >&5
21235 echo "$as_me: error: conditional \"HMACC\" was never defined.
21236 Usually this means the macro was only invoked conditionally." >&2;}
21237 { (exit 1); exit 1; }; }
21239 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21240 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21241 Usually this means the macro was only invoked conditionally." >&5
21242 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21243 Usually this means the macro was only invoked conditionally." >&2;}
21244 { (exit 1); exit 1; }; }
21246 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21247 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21248 Usually this means the macro was only invoked conditionally." >&5
21249 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21250 Usually this means the macro was only invoked conditionally." >&2;}
21251 { (exit 1); exit 1; }; }
21253 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21254 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21255 Usually this means the macro was only invoked conditionally." >&5
21256 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21257 Usually this means the macro was only invoked conditionally." >&2;}
21258 { (exit 1); exit 1; }; }
21261 : ${CONFIG_STATUS=./config.status}
21262 ac_clean_files_save
=$ac_clean_files
21263 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21264 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21265 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21266 cat >$CONFIG_STATUS <<_ACEOF
21268 # Generated by $as_me.
21269 # Run this file to recreate the current configuration.
21270 # Compiler output produced by configure, useful for debugging
21271 # configure, is in config.log if it exists.
21274 ac_cs_recheck=false
21276 SHELL=\${CONFIG_SHELL-$SHELL}
21279 cat >>$CONFIG_STATUS <<\_ACEOF
21280 ## --------------------- ##
21281 ## M4sh Initialization. ##
21282 ## --------------------- ##
21284 # Be more Bourne compatible
21285 DUALCASE
=1; export DUALCASE
# for MKS sh
21286 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21289 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21290 # is contrary to our usage. Disable this feature.
21291 alias -g '${1+"$@"}'='"$@"'
21292 setopt NO_GLOB_SUBST
21294 case `(set -o) 2>/dev/null` in
21295 *posix
*) set -o posix
;;
21304 # Avoid depending upon Character Ranges.
21305 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21306 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21307 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21308 as_cr_digits
='0123456789'
21309 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21311 # The user is always right.
21312 if test "${PATH_SEPARATOR+set}" != set; then
21313 echo "#! /bin/sh" >conf$$.sh
21314 echo "exit 0" >>conf$$.sh
21316 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21324 # Support unset when possible.
21325 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21333 # We need space, tab and new line, in precisely that order. Quoting is
21334 # there to prevent editors from complaining about space-tab.
21335 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21336 # splitting by setting IFS to empty value.)
21341 # Find who we are. Look in the path if we contain no directory separator.
21343 *[\\/]* ) as_myself
=$0 ;;
21344 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21345 for as_dir
in $PATH
21348 test -z "$as_dir" && as_dir
=.
21349 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21355 # We did not find ourselves, most probably we were run as `sh COMMAND'
21356 # in which case we are not to be found in the path.
21357 if test "x$as_myself" = x
; then
21360 if test ! -f "$as_myself"; then
21361 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21362 { (exit 1); exit 1; }
21365 # Work around bugs in pre-3.0 UWIN ksh.
21366 for as_var
in ENV MAIL MAILPATH
21367 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21375 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21376 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21377 LC_TELEPHONE LC_TIME
21379 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21380 eval $as_var=C
; export $as_var
21382 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21386 # Required to use basename.
21387 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21388 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21394 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21395 as_basename
=basename
21401 # Name of the executable.
21402 as_me
=`$as_basename -- "$0" ||
21403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21404 X"$0" : 'X\(//\)$' \| \
21405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21407 sed '/^.*\/\([^/][^/]*\)\/*$/{
21426 as_lineno_1
=$LINENO
21427 as_lineno_2
=$LINENO
21428 test "x$as_lineno_1" != "x$as_lineno_2" &&
21429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21432 # uniformly replaced by the line number. The first 'sed' inserts a
21433 # line-number line after each line using $LINENO; the second 'sed'
21434 # does the real work. The second script uses 'N' to pair each
21435 # line-number line with the line containing $LINENO, and appends
21436 # trailing '-' during substitution so that $LINENO is not a special
21437 # case at line end.
21438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21439 # scripts with optimization help from Paolo Bonzini. Blame Lee
21440 # E. McMahon (1931-1989) for sed's syntax. :-)
21452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21455 ' >$as_me.lineno
&&
21456 chmod +x
"$as_me.lineno" ||
21457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21458 { (exit 1); exit 1; }; }
21460 # Don't try to exec as it changes $[0], causing all sort of problems
21461 # (the dirname of $[0] is not the place where we might find the
21462 # original and so on. Autoconf is especially sensitive to this).
21463 .
"./$as_me.lineno"
21464 # Exit status is that of the last command.
21469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21475 ECHO_C
= ECHO_N
= ECHO_T
=
21476 case `echo -n x` in
21478 case `echo 'x\c'` in
21479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21493 rm -f conf$$ conf$$.exe conf$$.
file
21494 if test -d conf$$.dir
; then
21495 rm -f conf$$.dir
/conf$$.
file
21501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21503 # ... but there are two gotchas:
21504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21506 # In both cases, we have to default to `cp -p'.
21507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21515 rmdir conf$$.dir
2>/dev
/null
21517 if mkdir
-p .
2>/dev
/null
; then
21520 test -d .
/-p && rmdir .
/-p
21524 if test -x / >/dev
/null
2>&1; then
21525 as_test_x
='test -x'
21527 if ls -dL / >/dev
/null
2>&1; then
21534 if test -d "$1"; then
21540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21541 ???[sx]*):;;*)false;;esac;fi
21545 as_executable_p
=$as_test_x
21547 # Sed expression to map a string onto a valid CPP name.
21548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21550 # Sed expression to map a string onto a valid variable name.
21551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21556 # Save the log message, to keep $[0] and so on meaningful, and to
21557 # report actual input values of CONFIG_FILES etc. instead of their
21558 # values after options handling.
21560 This file was extended by libsha1 $as_me 1.21, which was
21561 generated by GNU Autoconf 2.61. Invocation command line was
21563 CONFIG_FILES = $CONFIG_FILES
21564 CONFIG_HEADERS = $CONFIG_HEADERS
21565 CONFIG_LINKS = $CONFIG_LINKS
21566 CONFIG_COMMANDS = $CONFIG_COMMANDS
21569 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21574 cat >>$CONFIG_STATUS <<_ACEOF
21575 # Files that config.status was made for.
21576 config_files="$ac_config_files"
21577 config_headers="$ac_config_headers"
21578 config_commands="$ac_config_commands"
21582 cat >>$CONFIG_STATUS <<\_ACEOF
21584 \`$as_me' instantiates files from templates according to the
21585 current configuration.
21587 Usage: $0 [OPTIONS] [FILE]...
21589 -h, --help print this help, then exit
21590 -V, --version print version number and configuration settings, then exit
21591 -q, --quiet do not print progress messages
21592 -d, --debug don't remove temporary files
21593 --recheck update $as_me by reconfiguring in the same conditions
21594 --file=FILE[:TEMPLATE]
21595 instantiate the configuration file FILE
21596 --header=FILE[:TEMPLATE]
21597 instantiate the configuration header FILE
21599 Configuration files:
21602 Configuration headers:
21605 Configuration commands:
21608 Report bugs to <bug-autoconf@gnu.org>."
21611 cat >>$CONFIG_STATUS <<_ACEOF
21613 libsha1 config.status 1.21
21614 configured by $0, generated by GNU Autoconf 2.61,
21615 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21617 Copyright (C) 2006 Free Software Foundation, Inc.
21618 This config.status script is free software; the Free Software Foundation
21619 gives unlimited permission to copy, distribute and modify it."
21627 cat >>$CONFIG_STATUS <<\_ACEOF
21628 # If no file are specified by the user, then we need to provide default
21629 # value. By we need to know if files were specified by the user.
21635 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21636 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21647 # Handling of the options.
21648 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21650 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21651 echo "$ac_cs_version"; exit ;;
21652 --debug |
--debu |
--deb |
--de |
--d |
-d )
21654 --file |
--fil |
--fi |
--f )
21656 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21657 ac_need_defaults
=false
;;
21658 --header |
--heade |
--head |
--hea )
21660 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21661 ac_need_defaults
=false
;;
21663 # Conflict between --help and --header
21664 { echo "$as_me: error: ambiguous option: $1
21665 Try \`$0 --help' for more information." >&2
21666 { (exit 1); exit 1; }; };;
21667 --help |
--hel |
-h )
21668 echo "$ac_cs_usage"; exit ;;
21669 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21670 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21673 # This is an error.
21674 -*) { echo "$as_me: error: unrecognized option: $1
21675 Try \`$0 --help' for more information." >&2
21676 { (exit 1); exit 1; }; } ;;
21678 *) ac_config_targets
="$ac_config_targets $1"
21679 ac_need_defaults
=false
;;
21685 ac_configure_extra_args
=
21687 if $ac_cs_silent; then
21689 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21693 cat >>$CONFIG_STATUS <<_ACEOF
21694 if \$ac_cs_recheck; then
21695 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21696 CONFIG_SHELL=$SHELL
21697 export CONFIG_SHELL
21698 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21702 cat >>$CONFIG_STATUS <<\_ACEOF
21706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21707 ## Running $as_me. ##
21713 cat >>$CONFIG_STATUS <<_ACEOF
21717 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21721 cat >>$CONFIG_STATUS <<\_ACEOF
21723 # Handling of arguments.
21724 for ac_config_target
in $ac_config_targets
21726 case $ac_config_target in
21727 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21728 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21729 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21731 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21732 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21733 { (exit 1); exit 1; }; };;
21738 # If the user did not use the arguments to specify the items to instantiate,
21739 # then the envvar interface is used. Set only those that are not.
21740 # We use the long form for the default assignment because of an extremely
21741 # bizarre bug on SunOS 4.1.3.
21742 if $ac_need_defaults; then
21743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21745 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21748 # Have a temporary directory for convenience. Make it in the build tree
21749 # simply because there is no reason against having it here, and in addition,
21750 # creating and moving files from /tmp can sometimes cause problems.
21751 # Hook for its removal unless debugging.
21752 # Note that there is a small window in which the directory will not be cleaned:
21753 # after its creation but before its name has been assigned to `$tmp'.
21757 trap 'exit_status=$?
21758 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21760 trap '{ (exit 1); exit 1; }' 1 2 13 15
21762 # Create a (secure) tmp directory for tmp files.
21765 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21766 test -n "$tmp" && test -d "$tmp"
21769 tmp
=.
/conf$$
-$RANDOM
21770 (umask 077 && mkdir
"$tmp")
21773 echo "$me: cannot create a temporary directory in ." >&2
21774 { (exit 1); exit 1; }
21778 # Set up the sed scripts for CONFIG_FILES section.
21781 # No need to generate the scripts if there are no CONFIG_FILES.
21782 # This happens for instance when ./config.status config.h
21783 if test -n "$CONFIG_FILES"; then
21790 for ac_last_try
in false false false false false
:; do
21791 cat >conf$
$subs.
sed <<_ACEOF
21792 SHELL!$SHELL$ac_delim
21793 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21794 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21795 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21796 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21797 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21798 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21799 exec_prefix!$exec_prefix$ac_delim
21800 prefix!$prefix$ac_delim
21801 program_transform_name!$program_transform_name$ac_delim
21802 bindir!$bindir$ac_delim
21803 sbindir!$sbindir$ac_delim
21804 libexecdir!$libexecdir$ac_delim
21805 datarootdir!$datarootdir$ac_delim
21806 datadir!$datadir$ac_delim
21807 sysconfdir!$sysconfdir$ac_delim
21808 sharedstatedir!$sharedstatedir$ac_delim
21809 localstatedir!$localstatedir$ac_delim
21810 includedir!$includedir$ac_delim
21811 oldincludedir!$oldincludedir$ac_delim
21812 docdir!$docdir$ac_delim
21813 infodir!$infodir$ac_delim
21814 htmldir!$htmldir$ac_delim
21815 dvidir!$dvidir$ac_delim
21816 pdfdir!$pdfdir$ac_delim
21817 psdir!$psdir$ac_delim
21818 libdir!$libdir$ac_delim
21819 localedir!$localedir$ac_delim
21820 mandir!$mandir$ac_delim
21821 DEFS!$DEFS$ac_delim
21822 ECHO_C!$ECHO_C$ac_delim
21823 ECHO_N!$ECHO_N$ac_delim
21824 ECHO_T!$ECHO_T$ac_delim
21825 LIBS!$LIBS$ac_delim
21826 build_alias!$build_alias$ac_delim
21827 host_alias!$host_alias$ac_delim
21828 target_alias!$target_alias$ac_delim
21829 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21830 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21831 INSTALL_DATA!$INSTALL_DATA$ac_delim
21832 am__isrc!$am__isrc$ac_delim
21833 CYGPATH_W!$CYGPATH_W$ac_delim
21834 PACKAGE!$PACKAGE$ac_delim
21835 VERSION!$VERSION$ac_delim
21836 ACLOCAL!$ACLOCAL$ac_delim
21837 AUTOCONF!$AUTOCONF$ac_delim
21838 AUTOMAKE!$AUTOMAKE$ac_delim
21839 AUTOHEADER!$AUTOHEADER$ac_delim
21840 MAKEINFO!$MAKEINFO$ac_delim
21841 install_sh!$install_sh$ac_delim
21842 STRIP!$STRIP$ac_delim
21843 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21844 mkdir_p!$mkdir_p$ac_delim
21846 SET_MAKE!$SET_MAKE$ac_delim
21847 am__leading_dot!$am__leading_dot$ac_delim
21848 AMTAR!$AMTAR$ac_delim
21849 am__tar!$am__tar$ac_delim
21850 am__untar!$am__untar$ac_delim
21851 HMACC_TRUE!$HMACC_TRUE$ac_delim
21852 HMACC_FALSE!$HMACC_FALSE$ac_delim
21854 CFLAGS!$CFLAGS$ac_delim
21855 LDFLAGS!$LDFLAGS$ac_delim
21856 CPPFLAGS!$CPPFLAGS$ac_delim
21857 ac_ct_CC!$ac_ct_CC$ac_delim
21858 EXEEXT!$EXEEXT$ac_delim
21859 OBJEXT!$OBJEXT$ac_delim
21860 DEPDIR!$DEPDIR$ac_delim
21861 am__include!$am__include$ac_delim
21862 am__quote!$am__quote$ac_delim
21863 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21864 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21865 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21866 CCDEPMODE!$CCDEPMODE$ac_delim
21867 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21868 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21869 LN_S!$LN_S$ac_delim
21870 build!$build$ac_delim
21871 build_cpu!$build_cpu$ac_delim
21872 build_vendor!$build_vendor$ac_delim
21873 build_os!$build_os$ac_delim
21874 host!$host$ac_delim
21875 host_cpu!$host_cpu$ac_delim
21876 host_vendor!$host_vendor$ac_delim
21877 host_os!$host_os$ac_delim
21879 GREP!$GREP$ac_delim
21880 EGREP!$EGREP$ac_delim
21881 ECHO!$ECHO$ac_delim
21883 RANLIB!$RANLIB$ac_delim
21886 CXXFLAGS!$CXXFLAGS$ac_delim
21887 ac_ct_CXX!$ac_ct_CXX$ac_delim
21888 CXXDEPMODE!$CXXDEPMODE$ac_delim
21891 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21893 elif $ac_last_try; then
21894 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21895 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21896 { (exit 1); exit 1; }; }
21898 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21902 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21903 if test -n "$ac_eof"; then
21904 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21905 ac_eof
=`expr $ac_eof + 1`
21908 cat >>$CONFIG_STATUS <<_ACEOF
21909 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21913 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21914 s/^/s,@/; s/!/@,|#_!!_#|/
21917 s/'"$ac_delim"'$/,g/; t
21919 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21920 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21921 rm -f conf$
$subs.
sed
21922 cat >>$CONFIG_STATUS <<_ACEOF
21928 for ac_last_try
in false false false false false
:; do
21929 cat >conf$
$subs.
sed <<_ACEOF
21930 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21931 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21932 CXXCPP!$CXXCPP$ac_delim
21934 FFLAGS!$FFLAGS$ac_delim
21935 ac_ct_F77!$ac_ct_F77$ac_delim
21936 LIBTOOL!$LIBTOOL$ac_delim
21937 LIBOBJS!$LIBOBJS$ac_delim
21938 LTLIBOBJS!$LTLIBOBJS$ac_delim
21941 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
21943 elif $ac_last_try; then
21944 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21945 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21946 { (exit 1); exit 1; }; }
21948 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21952 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21953 if test -n "$ac_eof"; then
21954 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21955 ac_eof
=`expr $ac_eof + 1`
21958 cat >>$CONFIG_STATUS <<_ACEOF
21959 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21960 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21963 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21964 s/^/s,@/; s/!/@,|#_!!_#|/
21967 s/'"$ac_delim"'$/,g/; t
21969 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21970 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21971 rm -f conf$
$subs.
sed
21972 cat >>$CONFIG_STATUS <<_ACEOF
21979 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21980 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21981 # trailing colons and then remove the whole line if VPATH becomes empty
21982 # (actually we leave an empty line to preserve line numbers).
21983 if test "x$srcdir" = x.
; then
21984 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21985 s/:*\$(srcdir):*/:/
21986 s/:*\${srcdir}:*/:/
21988 s/^\([^=]*=[ ]*\):*/\1/
21994 cat >>$CONFIG_STATUS <<\_ACEOF
21995 fi # test -n "$CONFIG_FILES"
21998 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22001 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22003 case $ac_mode$ac_tag in
22005 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22006 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22007 { (exit 1); exit 1; }; };;
22008 :[FH
]-) ac_tag
=-:-;;
22009 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22026 -) ac_f
="$tmp/stdin";;
22027 *) # Look for the file first in the build tree, then in the source tree
22028 # (if the path is not absolute). The absolute path cannot be DOS-style,
22029 # because $ac_f cannot contain `:'.
22033 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22035 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22036 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22037 { (exit 1); exit 1; }; };;
22039 ac_file_inputs
="$ac_file_inputs $ac_f"
22042 # Let's still pretend it is `configure' which instantiates (i.e., don't
22043 # use $as_me), people would be surprised to read:
22044 # /* config.h. Generated by config.status. */
22045 configure_input
="Generated from "`IFS=:
22046 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22047 if test x
"$ac_file" != x-
; then
22048 configure_input
="$ac_file. $configure_input"
22049 { echo "$as_me:$LINENO: creating $ac_file" >&5
22050 echo "$as_me: creating $ac_file" >&6;}
22054 *:-:* |
*:-) cat >"$tmp/stdin";;
22059 ac_dir
=`$as_dirname -- "$ac_file" ||
22060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22061 X"$ac_file" : 'X\(//\)[^/]' \| \
22062 X"$ac_file" : 'X\(//\)$' \| \
22063 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22069 /^X\(\/\/\)[^/].*/{
22084 -*) as_dir
=.
/$as_dir;;
22086 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22090 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22091 *) as_qdir
=$as_dir;;
22093 as_dirs
="'$as_qdir' $as_dirs"
22094 as_dir
=`$as_dirname -- "$as_dir" ||
22095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22096 X"$as_dir" : 'X\(//\)[^/]' \| \
22097 X"$as_dir" : 'X\(//\)$' \| \
22098 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22104 /^X\(\/\/\)[^/].*/{
22117 test -d "$as_dir" && break
22119 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22120 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22121 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22122 { (exit 1); exit 1; }; }; }
22126 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22128 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22129 # A ".." for each directory in $ac_dir_suffix.
22130 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22131 case $ac_top_builddir_sub in
22132 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22133 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22136 ac_abs_top_builddir
=$ac_pwd
22137 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22138 # for backward compatibility:
22139 ac_top_builddir
=$ac_top_build_prefix
22142 .
) # We are building in place.
22144 ac_top_srcdir
=$ac_top_builddir_sub
22145 ac_abs_top_srcdir
=$ac_pwd ;;
22146 [\\/]* | ?
:[\\/]* ) # Absolute name.
22147 ac_srcdir
=$srcdir$ac_dir_suffix;
22148 ac_top_srcdir
=$srcdir
22149 ac_abs_top_srcdir
=$srcdir ;;
22150 *) # Relative name.
22151 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22152 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22153 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22155 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22165 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22166 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22168 ac_MKDIR_P
=$MKDIR_P
22170 [\\/$
]* | ?
:[\\/]* ) ;;
22171 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22175 cat >>$CONFIG_STATUS <<\_ACEOF
22176 # If the template does not know about datarootdir, expand it.
22177 # FIXME: This hack should be removed a few years after 2.60.
22178 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22180 case `sed -n '/datarootdir/ {
22189 ' $ac_file_inputs` in
22190 *datarootdir
*) ac_datarootdir_seen
=yes;;
22191 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22192 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22193 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22195 cat >>$CONFIG_STATUS <<_ACEOF
22196 ac_datarootdir_hack='
22197 s&@datadir@&$datadir&g
22198 s&@docdir@&$docdir&g
22199 s&@infodir@&$infodir&g
22200 s&@localedir@&$localedir&g
22201 s&@mandir@&$mandir&g
22202 s&\\\${datarootdir}&$datarootdir&g' ;;
22206 # Neutralize VPATH when `$srcdir' = `.'.
22207 # Shell code in configure.ac might set extrasub.
22208 # FIXME: do we really want to maintain this feature?
22209 cat >>$CONFIG_STATUS <<_ACEOF
22213 cat >>$CONFIG_STATUS <<\_ACEOF
22215 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22216 s
&@configure_input@
&$configure_input&;t t
22217 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22218 s
&@srcdir@
&$ac_srcdir&;t t
22219 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22220 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22221 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22222 s
&@builddir@
&$ac_builddir&;t t
22223 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22224 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22225 s
&@INSTALL@
&$ac_INSTALL&;t t
22226 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22227 $ac_datarootdir_hack
22228 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22230 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22231 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22232 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22233 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22234 which seems to be undefined. Please make sure it is defined." >&5
22235 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22236 which seems to be undefined. Please make sure it is defined." >&2;}
22240 -) cat "$tmp/out"; rm -f "$tmp/out";;
22241 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22250 # Transform confdefs.h into a sed script `conftest.defines', that
22251 # substitutes the proper values into config.h.in to produce config.h.
22252 rm -f conftest.defines conftest.
tail
22253 # First, append a space to every undef/define line, to ease matching.
22254 echo 's/$/ /' >conftest.defines
22255 # Then, protect against being on the right side of a sed subst, or in
22256 # an unquoted here document, in config.status. If some macros were
22257 # called several times there might be several #defines for the same
22258 # symbol, which is useless. But do not sort them, since the last
22259 # AC_DEFINE must be honored.
22260 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22261 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22262 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22263 # PARAMS is the parameter list in the macro definition--in most cases, it's
22264 # just an empty string.
22265 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22266 ac_dB
='\\)[ (].*,\\1define\\2'
22274 s/^[ ]*#[ ]*define[ ][ ]*//
22279 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22280 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22281 ' >>conftest.defines
22283 # Remove the space that was appended to ease matching.
22284 # Then replace #undef with comments. This is necessary, for
22285 # example, in the case of _POSIX_SOURCE, which is predefined and required
22286 # on some systems where configure will not decide to define it.
22287 # (The regexp can be short, since the line contains either #define or #undef.)
22289 s,^[ #]*u.*,/* & */,' >>conftest.defines
22291 # Break up conftest.defines:
22292 ac_max_sed_lines
=50
22294 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22295 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22296 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22298 ac_in
='$ac_file_inputs'
22299 ac_out
='"$tmp/out1"'
22300 ac_nxt
='"$tmp/out2"'
22304 # Write a here document:
22305 cat >>$CONFIG_STATUS <<_ACEOF
22306 # First, check the format of the line:
22307 cat >"\$tmp/defines.sed" <<\\CEOF
22308 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22309 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22313 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22315 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22316 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22317 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22318 grep . conftest.
tail >/dev
/null ||
break
22319 rm -f conftest.defines
22320 mv conftest.
tail conftest.defines
22322 rm -f conftest.defines conftest.
tail
22324 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22325 cat >>$CONFIG_STATUS <<\_ACEOF
22326 if test x
"$ac_file" != x-
; then
22327 echo "/* $configure_input */" >"$tmp/config.h"
22328 cat "$ac_result" >>"$tmp/config.h"
22329 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22330 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22331 echo "$as_me: $ac_file is unchanged" >&6;}
22334 mv "$tmp/config.h" $ac_file
22337 echo "/* $configure_input */"
22341 # Compute $ac_file's index in $config_headers.
22343 for _am_header
in $config_headers :; do
22344 case $_am_header in
22345 $ac_file |
$ac_file:* )
22348 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22351 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22352 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22353 X$ac_file : 'X\(//\)[^/]' \| \
22354 X$ac_file : 'X\(//\)$' \| \
22355 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22361 /^X\(\/\/\)[^/].*/{
22373 s/.*/./; q'`/stamp-h
$_am_stamp_count
22376 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22377 echo "$as_me: executing $ac_file commands" >&6;}
22382 case $ac_file$ac_mode in
22383 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22384 # Strip MF so we end up with the name of the file.
22385 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22386 # Check whether this is an Automake generated Makefile or not.
22387 # We used to match only the files named `Makefile.in', but
22388 # some people rename them; so instead we look at the file content.
22389 # Grep'ing the first line is not enough: some people post-process
22390 # each Makefile.in and add a new line on top of each file to say so.
22391 # Grep'ing the whole file is not good either: AIX grep has a line
22392 # limit of 2048, but all sed's we know have understand at least 4000.
22393 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22394 dirpart
=`$as_dirname -- "$mf" ||
22395 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22396 X"$mf" : 'X\(//\)[^/]' \| \
22397 X"$mf" : 'X\(//\)$' \| \
22398 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22404 /^X\(\/\/\)[^/].*/{
22420 # Extract the definition of DEPDIR, am__include, and am__quote
22421 # from the Makefile without running `make'.
22422 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22423 test -z "$DEPDIR" && continue
22424 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22425 test -z "am__include" && continue
22426 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22427 # When using ansi2knr, U may be empty or an underscore; expand it
22428 U
=`sed -n 's/^U = //p' < "$mf"`
22429 # Find all dependency output files, they are included files with
22430 # $(DEPDIR) in their names. We invoke sed twice because it is the
22431 # simplest approach to changing $(DEPDIR) to its actual value in the
22433 for file in `sed -n "
22434 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22435 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22436 # Make sure the directory exists.
22437 test -f "$dirpart/$file" && continue
22438 fdir
=`$as_dirname -- "$file" ||
22439 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22440 X"$file" : 'X\(//\)[^/]' \| \
22441 X"$file" : 'X\(//\)$' \| \
22442 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22448 /^X\(\/\/\)[^/].*/{
22461 { as_dir
=$dirpart/$fdir
22463 -*) as_dir
=.
/$as_dir;;
22465 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22469 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22470 *) as_qdir
=$as_dir;;
22472 as_dirs
="'$as_qdir' $as_dirs"
22473 as_dir
=`$as_dirname -- "$as_dir" ||
22474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22475 X"$as_dir" : 'X\(//\)[^/]' \| \
22476 X"$as_dir" : 'X\(//\)$' \| \
22477 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22483 /^X\(\/\/\)[^/].*/{
22496 test -d "$as_dir" && break
22498 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22499 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22500 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22501 { (exit 1); exit 1; }; }; }
22502 # echo "creating $dirpart/$file"
22503 echo '# dummy' > "$dirpart/$file"
22512 { (exit 0); exit 0; }
22514 chmod +x
$CONFIG_STATUS
22515 ac_clean_files
=$ac_clean_files_save
22518 # configure is writing to config.log, and then calls config.status.
22519 # config.status does its own redirection, appending to config.log.
22520 # Unfortunately, on DOS this fails, as config.log is still kept open
22521 # by configure, so config.status won't be able to write to it; its
22522 # output is simply discarded. So we exec the FD to /dev/null,
22523 # effectively closing config.log, so it can be properly (re)opened and
22524 # appended to by config.status. When coming back to configure, we
22525 # need to make the FD available again.
22526 if test "$no_create" != yes; then
22528 ac_config_status_args
=
22529 test "$silent" = yes &&
22530 ac_config_status_args
="$ac_config_status_args --quiet"
22532 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22534 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22535 # would make configure fail if this is the last instruction.
22536 $ac_cs_success ||
{ (exit 1); exit 1; }