2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for liblock 0.60.
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
='liblock'
730 PACKAGE_TARNAME
='liblock'
731 PACKAGE_VERSION
='0.60'
732 PACKAGE_STRING
='liblock 0.60'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="liblock.h"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
884 ac_precious_vars
='build_alias
901 # Initialize some variables set by options.
903 ac_init_version
=false
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
913 program_transform_name
=s
,x
,x
,
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir
='${exec_prefix}/bin'
928 sbindir
='${exec_prefix}/sbin'
929 libexecdir
='${exec_prefix}/libexec'
930 datarootdir
='${prefix}/share'
931 datadir
='${datarootdir}'
932 sysconfdir
='${prefix}/etc'
933 sharedstatedir
='${prefix}/com'
934 localstatedir
='${prefix}/var'
935 includedir
='${prefix}/include'
936 oldincludedir
='/usr/include'
937 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir
='${datarootdir}/info'
943 libdir
='${exec_prefix}/lib'
944 localedir
='${datarootdir}/locale'
945 mandir
='${datarootdir}/man'
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\
$ac_option
959 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 # Accept the important Cygnus configure options, so we can diagnose typos.
965 case $ac_dashdash$ac_option in
969 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
971 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
974 -build |
--build |
--buil |
--bui |
--bu)
975 ac_prev
=build_alias
;;
976 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
977 build_alias
=$ac_optarg ;;
979 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
980 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
981 ac_prev
=cache_file
;;
982 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
983 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
984 cache_file
=$ac_optarg ;;
987 cache_file
=config.cache
;;
989 -datadir |
--datadir |
--datadi |
--datad)
991 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
992 datadir
=$ac_optarg ;;
994 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
995 |
--dataroo |
--dataro |
--datar)
996 ac_prev
=datarootdir
;;
997 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
998 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
999 datarootdir
=$ac_optarg ;;
1001 -disable-* |
--disable-*)
1002 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1005 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1006 { (exit 1); exit 1; }; }
1007 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1008 eval enable_
$ac_feature=no
;;
1010 -docdir |
--docdir |
--docdi |
--doc |
--do)
1012 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1013 docdir
=$ac_optarg ;;
1015 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1017 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1018 dvidir
=$ac_optarg ;;
1020 -enable-* |
--enable-*)
1021 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1024 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1025 { (exit 1); exit 1; }; }
1026 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1027 eval enable_
$ac_feature=\
$ac_optarg ;;
1029 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1030 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1031 |
--exec |
--exe |
--ex)
1032 ac_prev
=exec_prefix
;;
1033 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1034 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1035 |
--exec=* |
--exe=* |
--ex=*)
1036 exec_prefix
=$ac_optarg ;;
1038 -gas |
--gas |
--ga |
--g)
1039 # Obsolete; use --with-gas.
1042 -help |
--help |
--hel |
--he |
-h)
1043 ac_init_help
=long
;;
1044 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1045 ac_init_help
=recursive
;;
1046 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1047 ac_init_help
=short
;;
1049 -host |
--host |
--hos |
--ho)
1050 ac_prev
=host_alias
;;
1051 -host=* |
--host=* |
--hos=* |
--ho=*)
1052 host_alias
=$ac_optarg ;;
1054 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1056 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1058 htmldir
=$ac_optarg ;;
1060 -includedir |
--includedir |
--includedi |
--included |
--include \
1061 |
--includ |
--inclu |
--incl |
--inc)
1062 ac_prev
=includedir
;;
1063 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1064 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1065 includedir
=$ac_optarg ;;
1067 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1069 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1070 infodir
=$ac_optarg ;;
1072 -libdir |
--libdir |
--libdi |
--libd)
1074 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1075 libdir
=$ac_optarg ;;
1077 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1078 |
--libexe |
--libex |
--libe)
1079 ac_prev
=libexecdir
;;
1080 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1081 |
--libexe=* |
--libex=* |
--libe=*)
1082 libexecdir
=$ac_optarg ;;
1084 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1085 ac_prev
=localedir
;;
1086 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1087 localedir
=$ac_optarg ;;
1089 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1090 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1091 ac_prev
=localstatedir
;;
1092 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1093 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1094 localstatedir
=$ac_optarg ;;
1096 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1098 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1099 mandir
=$ac_optarg ;;
1101 -nfp |
--nfp |
--nf)
1102 # Obsolete; use --without-fp.
1105 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1106 |
--no-cr |
--no-c |
-n)
1109 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1110 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1113 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1114 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1115 |
--oldin |
--oldi |
--old |
--ol |
--o)
1116 ac_prev
=oldincludedir
;;
1117 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1118 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1119 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1120 oldincludedir
=$ac_optarg ;;
1122 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1124 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1125 prefix
=$ac_optarg ;;
1127 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1128 |
--program-pre |
--program-pr |
--program-p)
1129 ac_prev
=program_prefix
;;
1130 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1131 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1132 program_prefix
=$ac_optarg ;;
1134 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1135 |
--program-suf |
--program-su |
--program-s)
1136 ac_prev
=program_suffix
;;
1137 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1138 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1139 program_suffix
=$ac_optarg ;;
1141 -program-transform-name |
--program-transform-name \
1142 |
--program-transform-nam |
--program-transform-na \
1143 |
--program-transform-n |
--program-transform- \
1144 |
--program-transform |
--program-transfor \
1145 |
--program-transfo |
--program-transf \
1146 |
--program-trans |
--program-tran \
1147 |
--progr-tra |
--program-tr |
--program-t)
1148 ac_prev
=program_transform_name
;;
1149 -program-transform-name=* |
--program-transform-name=* \
1150 |
--program-transform-nam=* |
--program-transform-na=* \
1151 |
--program-transform-n=* |
--program-transform-=* \
1152 |
--program-transform=* |
--program-transfor=* \
1153 |
--program-transfo=* |
--program-transf=* \
1154 |
--program-trans=* |
--program-tran=* \
1155 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1156 program_transform_name
=$ac_optarg ;;
1158 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1160 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1161 pdfdir
=$ac_optarg ;;
1163 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1165 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1168 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1169 |
-silent |
--silent |
--silen |
--sile |
--sil)
1172 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1174 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1176 sbindir
=$ac_optarg ;;
1178 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1179 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1180 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1182 ac_prev
=sharedstatedir
;;
1183 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1184 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1185 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1187 sharedstatedir
=$ac_optarg ;;
1189 -site |
--site |
--sit)
1191 -site=* |
--site=* |
--sit=*)
1194 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1196 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1197 srcdir
=$ac_optarg ;;
1199 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1200 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1201 ac_prev
=sysconfdir
;;
1202 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1203 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1204 sysconfdir
=$ac_optarg ;;
1206 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1207 ac_prev
=target_alias
;;
1208 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1209 target_alias
=$ac_optarg ;;
1211 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1214 -version |
--version |
--versio |
--versi |
--vers |
-V)
1215 ac_init_version
=: ;;
1218 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1221 { echo "$as_me: error: invalid package name: $ac_package" >&2
1222 { (exit 1); exit 1; }; }
1223 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1224 eval with_
$ac_package=\
$ac_optarg ;;
1226 -without-* |
--without-*)
1227 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 { echo "$as_me: error: invalid package name: $ac_package" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1233 eval with_
$ac_package=no
;;
1236 # Obsolete; use --with-x.
1239 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1240 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1241 ac_prev
=x_includes
;;
1242 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1243 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1244 x_includes
=$ac_optarg ;;
1246 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1247 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1248 ac_prev
=x_libraries
;;
1249 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1250 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1251 x_libraries
=$ac_optarg ;;
1253 -*) { echo "$as_me: error: unrecognized option: $ac_option
1254 Try \`$0 --help' for more information." >&2
1255 { (exit 1); exit 1; }; }
1259 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1262 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1263 { (exit 1); exit 1; }; }
1264 eval $ac_envvar=\
$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1271 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1278 if test -n "$ac_prev"; then
1279 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1280 { echo "$as_me: error: missing argument to $ac_option" >&2
1281 { (exit 1); exit 1; }; }
1284 # Be sure to have absolute directory names.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1292 [\\/$
]* | ?
:[\\/]* ) continue;;
1293 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1295 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1296 { (exit 1); exit 1; }; }
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used." >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 { echo "$as_me: error: Working directory cannot be determined" >&2
1327 { (exit 1); exit 1; }; }
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 { echo "$as_me: error: pwd does not report name of working directory" >&2
1330 { (exit 1); exit 1; }; }
1333 # Find the source files, if location was not specified.
1334 if test -z "$srcdir"; then
1335 ac_srcdir_defaulted
=yes
1336 # Try the directory containing this script, then the parent directory.
1337 ac_confdir
=`$as_dirname -- "$0" ||
1338 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339 X"$0" : 'X\(//\)[^/]' \| \
1340 X"$0" : 'X\(//\)$' \| \
1341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1365 ac_srcdir_defaulted
=no
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1369 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1370 { (exit 1); exit 1; }; }
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1375 { (exit 1); exit 1; }; }
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures liblock 0.60 to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/liblock]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short | recursive
) echo "Configuration of liblock 0.60:";;
1476 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1477 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1478 --disable-dependency-tracking speeds up one-time build
1479 --enable-dependency-tracking do not reject slow dependency extractors
1480 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1481 --enable-static[=PKGS
] build static libraries
[default
=yes]
1482 --enable-fast-install[=PKGS
]
1483 optimize
for fast installation
[default
=yes]
1484 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1490 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1492 --with-tags[=TAGS
] include additional configurations
[automatic
]
1495 Some influential environment variables
:
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1504 CXX C
++ compiler
command
1505 CXXFLAGS C
++ compiler flags
1506 CXXCPP C
++ preprocessor
1507 F77 Fortran
77 compiler
command
1508 FFLAGS Fortran
77 compiler flags
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to <courier-users@lists.sourceforge.net>.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" || continue
1525 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1528 # A ".." for each directory in $ac_dir_suffix.
1529 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1530 case $ac_top_builddir_sub in
1531 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535 ac_abs_top_builddir=$ac_pwd
1536 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1537 # for backward compatibility:
1538 ac_top_builddir=$ac_top_build_prefix
1541 .) # We are building in place.
1543 ac_top_srcdir=$ac_top_builddir_sub
1544 ac_abs_top_srcdir=$ac_pwd ;;
1545 [\\/]* | ?:[\\/]* ) # Absolute name.
1546 ac_srcdir=$srcdir$ac_dir_suffix;
1547 ac_top_srcdir=$srcdir
1548 ac_abs_top_srcdir=$srcdir ;;
1550 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1551 ac_top_srcdir=$ac_top_build_prefix$srcdir
1552 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1554 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1556 cd "$ac_dir" || { ac_status=$?; continue; }
1557 # Check for guested configure.
1558 if test -f "$ac_srcdir/configure.gnu"; then
1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561 elif test -f "$ac_srcdir/configure"; then
1563 $SHELL "$ac_srcdir/configure" --help=recursive
1565 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 cd "$ac_pwd" || { ac_status=$?; break; }
1571 test -n "$ac_init_help" && exit $ac_status
1572 if $ac_init_version; then
1574 liblock configure 0.60
1575 generated by GNU Autoconf 2.61
1577 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1578 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1579 This configure script is free software; the Free Software Foundation
1580 gives unlimited permission to copy, distribute and modify it.
1584 cat >config.log <<_ACEOF
1585 This file contains any messages produced by compilers while
1586 running configure, to aid debugging if configure makes a mistake.
1588 It was created by liblock $as_me 0.60, which was
1589 generated by GNU Autoconf 2.61. Invocation command line was
1601 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1602 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1603 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1604 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1605 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1608 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1610 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1612 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1613 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1614 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1615 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1616 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1624 test -z "$as_dir" && as_dir=.
1625 echo "PATH: $as_dir"
1641 # Keep a trace of the command line.
1642 # Strip out --no-create and --no-recursion so they do not pile up.
1643 # Strip out --silent because we don't want to record it for future runs.
1644 # Also quote any args containing shell meta-characters.
1645 # Make two passes to allow for proper duplicate-argument suppression.
1649 ac_must_keep_next=false
1655 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1656 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1657 | -silent | --silent | --silen | --sile | --sil)
1660 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1663 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1665 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1666 if test $ac_must_keep_next = true; then
1667 ac_must_keep_next=false # Got value, back to normal.
1670 *=* | --config-cache | -C | -disable-* | --disable-* \
1671 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1672 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1673 | -with-* | --with-* | -without-* | --without-* | --x)
1674 case "$ac_configure_args0 " in
1675 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1678 -* ) ac_must_keep_next=true ;;
1681 ac_configure_args="$ac_configure_args '$ac_arg'"
1686 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1687 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1689 # When interrupted or exit'd, cleanup temporary files, and complete
1690 # config.log. We remove comments because anyway the quotes in there
1691 # would cause problems or look ugly.
1692 # WARNING: Use '\'' to represent an apostrophe within the trap.
1693 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1694 trap 'exit_status=$?
1695 # Save into config.log some information that might help in debugging.
1700 ## ---------------- ##
1701 ## Cache variables. ##
1702 ## ---------------- ##
1705 # The following way of writing the cache mishandles newlines in values,
1707 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1708 eval ac_val=\$$ac_var
1712 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1713 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1716 _ | IFS | as_nl) ;; #(
1717 *) $as_unset $ac_var ;;
1722 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1723 *${as_nl}ac_space=\ *)
1725 "s/'\''/'\''\\\\'\'''\''/g;
1726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1729 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1737 ## ----------------- ##
1738 ## Output variables. ##
1739 ## ----------------- ##
1742 for ac_var in $ac_subst_vars
1744 eval ac_val=\$$ac_var
1746 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1748 echo "$ac_var='\''$ac_val'\''"
1752 if test -n "$ac_subst_files"; then
1754 ## ------------------- ##
1755 ## File substitutions. ##
1756 ## ------------------- ##
1759 for ac_var in $ac_subst_files
1761 eval ac_val=\$$ac_var
1763 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1765 echo "$ac_var='\''$ac_val'\''"
1770 if test -s confdefs.h; then
1780 test "$ac_signal" != 0 &&
1781 echo "$as_me: caught signal $ac_signal"
1782 echo "$as_me: exit $exit_status"
1784 rm -f core *.core core.conftest.* &&
1785 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1788 for ac_signal in 1 2 13 15; do
1789 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1793 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1794 rm -f -r conftest* confdefs.h
1796 # Predefined preprocessor variables.
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_NAME "$PACKAGE_NAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_STRING "$PACKAGE_STRING"
1818 cat >>confdefs.h <<_ACEOF
1819 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1823 # Let the site file select an alternate cache file if it wants to.
1824 # Prefer explicitly selected file to automatically selected ones.
1825 if test -n "$CONFIG_SITE"; then
1826 set x "$CONFIG_SITE"
1827 elif test "x$prefix" != xNONE; then
1828 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1830 set x "$ac_default_prefix/share/config.site" \
1831 "$ac_default_prefix/etc/config.site"
1836 if test -r "$ac_site_file"; then
1837 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1838 echo "$as_me: loading site script $ac_site_file" >&6;}
1839 sed 's/^/| /' "$ac_site_file" >&5
1844 if test -r "$cache_file"; then
1845 # Some versions of bash will fail to source /dev/null (special
1846 # files actually), so we avoid doing that.
1847 if test -f "$cache_file"; then
1848 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1849 echo "$as_me: loading cache $cache_file" >&6;}
1851 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1852 *) . "./$cache_file";;
1856 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1857 echo "$as_me: creating cache $cache_file" >&6;}
1861 # Check that the precious variables saved in the cache have kept the same
1863 ac_cache_corrupted=false
1864 for ac_var in $ac_precious_vars; do
1865 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1866 eval ac_new_set=\$ac_env_${ac_var}_set
1867 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1868 eval ac_new_val=\$ac_env_${ac_var}_value
1869 case $ac_old_set,$ac_new_set in
1871 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1872 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1873 ac_cache_corrupted=: ;;
1875 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1876 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1877 ac_cache_corrupted=: ;;
1880 if test "x$ac_old_val" != "x$ac_new_val"; then
1881 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1882 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1883 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1884 echo "$as_me: former value
: $ac_old_val" >&2;}
1885 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1886 echo "$as_me: current value
: $ac_new_val" >&2;}
1887 ac_cache_corrupted=:
1890 # Pass precious variables to config.status.
1891 if test "$ac_new_set" = set; then
1893 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1894 *) ac_arg=$ac_var=$ac_new_val ;;
1896 case " $ac_configure_args " in
1897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1898 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1902 if $ac_cache_corrupted; then
1903 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1904 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1905 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1906 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1907 { (exit 1); exit 1; }; }
1935 ac_cpp='$CPP $CPPFLAGS'
1936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1942 >confdefs.h # Kill PACKAGE_ macros
1945 ac_config_headers="$ac_config_headers config.h"
1947 am__api_version='1.10'
1950 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1951 if test -f "$ac_dir/install-sh"; then
1953 ac_install_sh="$ac_aux_dir/install-sh -c"
1955 elif test -f "$ac_dir/install.sh"; then
1957 ac_install_sh="$ac_aux_dir/install.sh -c"
1959 elif test -f "$ac_dir/shtool"; then
1961 ac_install_sh="$ac_aux_dir/shtool install -c"
1965 if test -z "$ac_aux_dir"; then
1966 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1967 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1968 { (exit 1); exit 1; }; }
1971 # These three variables are undocumented and unsupported,
1972 # and are intended to be withdrawn in a future Autoconf release.
1973 # They can cause serious problems if a builder's source tree is in a directory
1974 # whose full name contains unusual characters.
1975 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1976 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1977 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1980 # Find a good install program. We prefer a C program (faster),
1981 # so one script is as good as another. But avoid the broken or
1982 # incompatible versions:
1983 # SysV /etc/install, /usr/sbin/install
1984 # SunOS /usr/etc/install
1985 # IRIX /sbin/install
1987 # AmigaOS /C/install, which installs bootblocks on floppy discs
1988 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1989 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1990 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1991 # OS/2's system install, which has a completely different semantic
1992 # ./install, which can be erroneously created by make from ./install.sh.
1993 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1994 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1995 if test -z "$INSTALL"; then
1996 if test "${ac_cv_path_install+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 # Account for people who put trailing slashes in PATH elements.
2006 ./ | .// | /cC/* | \
2007 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2008 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2011 # OSF1 and SCO ODT 3.0 have their own names for install.
2012 # Don't use installbsd from OSF since it installs stuff as root
2014 for ac_prog in ginstall scoinst install; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2017 if test $ac_prog = install &&
2018 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # AIX install. It has an incompatible calling convention.
2021 elif test $ac_prog = install &&
2022 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2023 # program-specific install script used by HP pwplus--don't use.
2026 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2039 if test "${ac_cv_path_install+set}" = set; then
2040 INSTALL=$ac_cv_path_install
2042 # As a last resort, use the slow shell script. Don't cache a
2043 # value for INSTALL within a source directory, because that will
2044 # break other packages using the cache if that directory is
2045 # removed, or if the value is a relative name.
2046 INSTALL=$ac_install_sh
2049 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2050 echo "${ECHO_T}$INSTALL" >&6; }
2052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2053 # It thinks the first close brace ends the variable substitution.
2054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2058 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2061 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2064 echo timestamp > conftest.file
2065 # Do `set' in a subshell so we don't clobber the current shell
's
2066 # arguments. Must try -L first in case configure is actually a
2067 # symlink; some systems play weird games with the mod time of symlinks
2068 # (eg FreeBSD returns the mod time of the symlink's containing
2071 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2072 if test "$*" = "X"; then
2074 set X
`ls -t $srcdir/configure conftest.file`
2077 if test "$*" != "X $srcdir/configure conftest.file" \
2078 && test "$*" != "X conftest.file $srcdir/configure"; then
2080 # If neither matched, then we have a broken ls. This can happen
2081 # if, for instance, CONFIG_SHELL is bash and it inherits a
2082 # broken ls alias from the environment. This has actually
2083 # happened. Such a system could not be considered "sane".
2084 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2085 alias in your environment" >&5
2086 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2087 alias in your environment" >&2;}
2088 { (exit 1); exit 1; }; }
2091 test "$2" = conftest.
file
2097 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2098 Check your system clock" >&5
2099 echo "$as_me: error: newly created file is older than distributed files!
2100 Check your system clock" >&2;}
2101 { (exit 1); exit 1; }; }
2103 { echo "$as_me:$LINENO: result: yes" >&5
2104 echo "${ECHO_T}yes" >&6; }
2105 test "$program_prefix" != NONE
&&
2106 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2107 # Use a double $ so make ignores it.
2108 test "$program_suffix" != NONE
&&
2109 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2110 # Double any \ or $. echo might interpret backslashes.
2111 # By default was `s,x,x', remove it if useless.
2112 cat <<\_ACEOF
>conftest.
sed
2113 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2115 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2118 # expand $ac_aux_dir to an absolute path
2119 am_aux_dir
=`cd $ac_aux_dir && pwd`
2121 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2122 # Use eval to expand $SHELL
2123 if eval "$MISSING --run true"; then
2124 am_missing_run
="$MISSING --run "
2127 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2128 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2131 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2132 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2133 if test -z "$MKDIR_P"; then
2134 if test "${ac_cv_path_mkdir+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2138 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_prog
in mkdir gmkdir
; do
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2145 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2146 'mkdir (GNU coreutils) '* | \
2147 'mkdir (coreutils) '* | \
2148 'mkdir (fileutils) '4.1*)
2149 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2159 if test "${ac_cv_path_mkdir+set}" = set; then
2160 MKDIR_P
="$ac_cv_path_mkdir -p"
2162 # As a last resort, use the slow shell script. Don't cache a
2163 # value for MKDIR_P within a source directory, because that will
2164 # break other packages using the cache if that directory is
2165 # removed, or if the value is a relative name.
2166 test -d .
/--version && rmdir .
/--version
2167 MKDIR_P
="$ac_install_sh -d"
2170 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2171 echo "${ECHO_T}$MKDIR_P" >&6; }
2175 [\\/$
]* | ?
:[\\/]*) ;;
2176 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2179 for ac_prog
in gawk mawk nawk
awk
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy
$ac_prog; ac_word
=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_AWK+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$AWK"; then
2189 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir
=.
2196 for ac_exec_ext
in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_AWK
="$ac_prog"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$AWK"; then
2210 { echo "$as_me:$LINENO: result: $AWK" >&5
2211 echo "${ECHO_T}$AWK" >&6; }
2213 { echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6; }
2218 test -n "$AWK" && break
2221 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2223 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2224 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.
make <<\_ACEOF
2230 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2235 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2237 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2241 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2242 { echo "$as_me:$LINENO: result: yes" >&5
2243 echo "${ECHO_T}yes" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2248 SET_MAKE
="MAKE=${MAKE-make}"
2251 rm -rf .tst
2>/dev
/null
2252 mkdir .tst
2>/dev
/null
2253 if test -d .tst
; then
2258 rmdir .tst
2>/dev
/null
2260 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2261 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2262 # is not polluted with repeated "-I."
2263 am__isrc
=' -I$(srcdir)'
2264 # test to see if srcdir already configured
2265 if test -f $srcdir/config.status
; then
2266 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2267 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2268 { (exit 1); exit 1; }; }
2272 # test whether we have cygpath
2273 if test -z "$CYGPATH_W"; then
2274 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2275 CYGPATH_W
='cygpath -w'
2282 # Define the identity of the package.
2287 # Some tools Automake needs.
2289 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2292 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2295 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2298 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2301 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2303 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2305 # Installed binaries are usually stripped using `strip' when the user
2306 # run `make install-strip'. However `strip' might not be the right
2307 # tool to use in cross-compilation environments, therefore Automake
2308 # will honor the `STRIP' environment variable to overrule this program.
2309 if test "$cross_compiling" != no
; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2312 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_STRIP+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 if test -n "$STRIP"; then
2319 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir
=.
2326 for ac_exec_ext
in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 STRIP
=$ac_cv_prog_STRIP
2339 if test -n "$STRIP"; then
2340 { echo "$as_me:$LINENO: result: $STRIP" >&5
2341 echo "${ECHO_T}$STRIP" >&6; }
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2349 if test -z "$ac_cv_prog_STRIP"; then
2351 # Extract the first word of "strip", so it can be a program name with args.
2352 set dummy strip
; ac_word
=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$ac_ct_STRIP"; then
2359 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir
=.
2366 for ac_exec_ext
in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_STRIP
="strip"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2379 if test -n "$ac_ct_STRIP"; then
2380 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2381 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2387 if test "x$ac_ct_STRIP" = x
; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2393 whose name does not start with the host triplet. If you think this
2394 configuration is useful to you, please write to autoconf@gnu.org." >&5
2395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2398 ac_tool_warned
=yes ;;
2403 STRIP
="$ac_cv_prog_STRIP"
2407 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2409 # We need awk for the "check" target. The system "awk" is bad on
2411 # Always define AMTAR for backward compatibility.
2413 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2415 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2422 for ac_prog
in gawk mawk nawk
awk
2424 # Extract the first word of "$ac_prog", so it can be a program name with args.
2425 set dummy
$ac_prog; ac_word
=$2
2426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428 if test "${ac_cv_prog_AWK+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$AWK"; then
2432 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_AWK
="$ac_prog"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test -n "$AWK"; then
2453 { echo "$as_me:$LINENO: result: $AWK" >&5
2454 echo "${ECHO_T}$AWK" >&6; }
2456 { echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6; }
2461 test -n "$AWK" && break
2465 ac_cpp
='$CPP $CPPFLAGS'
2466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2471 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC
="$CC" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test -n "$CC"; then
2499 { echo "$as_me:$LINENO: result: $CC" >&5
2500 echo "${ECHO_T}$CC" >&6; }
2502 { echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6; }
2508 if test -z "$ac_cv_prog_CC"; then
2510 # Extract the first word of "gcc", so it can be a program name with args.
2511 set dummy gcc
; ac_word
=$2
2512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2514 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test -n "$ac_ct_CC"; then
2518 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir
=.
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 ac_cv_prog_ac_ct_CC
="gcc"
2528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2538 if test -n "$ac_ct_CC"; then
2539 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2540 echo "${ECHO_T}$ac_ct_CC" >&6; }
2542 { echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6; }
2546 if test "x$ac_ct_CC" = x
; then
2549 case $cross_compiling:$ac_tool_warned in
2551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2552 whose name does not start with the host triplet. If you think this
2553 configuration is useful to you, please write to autoconf@gnu.org." >&5
2554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2557 ac_tool_warned
=yes ;;
2565 if test -z "$CC"; then
2566 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2568 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2571 if test "${ac_cv_prog_CC+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$CC"; then
2575 ac_cv_prog_CC
="$CC" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 if test -n "$CC"; then
2596 { echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6; }
2599 { echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6; }
2606 if test -z "$CC"; then
2607 # Extract the first word of "cc", so it can be a program name with args.
2608 set dummy cc
; ac_word
=$2
2609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2611 if test "${ac_cv_prog_CC+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC
="$CC" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2626 ac_prog_rejected
=yes
2630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 if test $ac_prog_rejected = yes; then
2638 # We found a bogon in the path, so make sure we never use it.
2639 set dummy
$ac_cv_prog_CC
2641 if test $# != 0; then
2642 # We chose a different compiler from the bogus one.
2643 # However, it has the same basename, so the bogon will be chosen
2644 # first if we set CC to just the basename; use the full file name.
2646 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2652 if test -n "$CC"; then
2653 { echo "$as_me:$LINENO: result: $CC" >&5
2654 echo "${ECHO_T}$CC" >&6; }
2656 { echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6; }
2662 if test -z "$CC"; then
2663 if test -n "$ac_tool_prefix"; then
2664 for ac_prog
in cl.exe
2666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2667 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2670 if test "${ac_cv_prog_CC+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 if test -n "$CC"; then
2674 ac_cv_prog_CC
="$CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 if test -n "$CC"; then
2695 { echo "$as_me:$LINENO: result: $CC" >&5
2696 echo "${ECHO_T}$CC" >&6; }
2698 { echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6; }
2703 test -n "$CC" && break
2706 if test -z "$CC"; then
2708 for ac_prog
in cl.exe
2710 # Extract the first word of "$ac_prog", so it can be a program name with args.
2711 set dummy
$ac_prog; ac_word
=$2
2712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 if test -n "$ac_ct_CC"; then
2718 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_ac_ct_CC
="$ac_prog"
2728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2738 if test -n "$ac_ct_CC"; then
2739 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2740 echo "${ECHO_T}$ac_ct_CC" >&6; }
2742 { echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6; }
2747 test -n "$ac_ct_CC" && break
2750 if test "x$ac_ct_CC" = x
; then
2753 case $cross_compiling:$ac_tool_warned in
2755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2756 whose name does not start with the host triplet. If you think this
2757 configuration is useful to you, please write to autoconf@gnu.org." >&5
2758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2759 whose name does not start with the host triplet. If you think this
2760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2761 ac_tool_warned
=yes ;;
2770 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2771 See \`config.log' for more details." >&5
2772 echo "$as_me: error: no acceptable C compiler found in \$PATH
2773 See \`config.log' for more details." >&2;}
2774 { (exit 1); exit 1; }; }
2776 # Provide some information about the compiler.
2777 echo "$as_me:$LINENO: checking for C compiler version" >&5
2778 ac_compiler
=`set X $ac_compile; echo $2`
2779 { (ac_try
="$ac_compiler --version >&5"
2781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_compiler --version >&5") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }
2789 { (ac_try="$ac_compiler -v >&5"
2791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2792 *) ac_try_echo
=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compiler -v >&5") 2>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }
2799 { (ac_try
="$ac_compiler -V >&5"
2801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_compiler -V >&5") 2>&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }
2810 cat >conftest.$ac_ext <<_ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2825 ac_clean_files_save=$ac_clean_files
2826 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2827 # Try to create an executable without -o first, disregard a.out.
2828 # It will help us diagnose broken compilers, and finding out an intuition
2830 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2831 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2832 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2834 # List of possible output files, starting from the most likely.
2835 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2836 # only as a last resort. b.out is created by i960 compilers.
2837 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2839 # The IRIX 6 linker writes into existing files which may not be
2840 # executable, retaining their permissions. Remove them first so a
2841 # subsequent execution test works.
2843 for ac_file in $ac_files
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2847 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2852 if { (ac_try="$ac_link_default"
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2858 (eval "$ac_link_default") 2>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; then
2862 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2863 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2864 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2865 # so that the user can short-circuit this test for compilers unknown to
2867 for ac_file
in $ac_files ''
2869 test -f "$ac_file" ||
continue
2871 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2874 # We found the default executable, but exeext='' is most
2878 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2880 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882 # We set ac_cv_exeext here because the later test for it is not
2883 # safe: cross compilers may not add the suffix if given an `-o'
2884 # argument, so we may need to know it at that point already.
2885 # Even if this section looks crufty: it has the advantage of
2892 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2898 { echo "$as_me:$LINENO: result: $ac_file" >&5
2899 echo "${ECHO_T}$ac_file" >&6; }
2900 if test -z "$ac_file"; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.
$ac_ext >&5
2904 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2905 See \`config.log' for more details." >&5
2906 echo "$as_me: error: C compiler cannot create executables
2907 See \`config.log' for more details." >&2;}
2908 { (exit 77); exit 77; }; }
2911 ac_exeext
=$ac_cv_exeext
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 the C compiler works" >&5
2916 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2917 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2918 # If not cross compiling, check that we can run a simple program.
2919 if test "$cross_compiling" != yes; then
2920 if { ac_try
='./$ac_file'
2921 { (case "(($ac_try" in
2922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_try") 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; }; then
2932 if test "$cross_compiling" = maybe; then
2935 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2936 If you meant to cross compile, use \`--host'.
2937 See \`config.log' for more details.
" >&5
2938 echo "$as_me: error
: cannot run C compiled programs.
2939 If you meant to cross compile
, use \
`--host'.
2940 See \`config.log
' for more details." >&2;}
2941 { (exit 1); exit 1; }; }
2945 { echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6; }
2948 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2949 ac_clean_files=$ac_clean_files_save
2950 # Check that the compiler produces executables we can run. If not, either
2951 # the compiler is broken, or we cross compile.
2952 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2953 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2954 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2955 echo "${ECHO_T}$cross_compiling" >&6; }
2957 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2958 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2959 if { (ac_try="$ac_link"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_link") 2>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; then
2969 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2970 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2971 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2973 for ac_file
in conftest.exe conftest conftest.
*; do
2974 test -f "$ac_file" ||
continue
2976 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2977 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2984 See \`config.log' for more details." >&5
2985 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2986 See \`config.log' for more details." >&2;}
2987 { (exit 1); exit 1; }; }
2990 rm -f conftest
$ac_cv_exeext
2991 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2992 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2994 rm -f conftest.
$ac_ext
2995 EXEEXT
=$ac_cv_exeext
2997 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2998 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2999 if test "${ac_cv_objext+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 cat >conftest.
$ac_ext <<_ACEOF
3005 cat confdefs.h
>>conftest.
$ac_ext
3006 cat >>conftest.
$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3017 rm -f conftest.o conftest.obj
3018 if { (ac_try
="$ac_compile"
3020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_compile") 2>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in conftest.o conftest.obj conftest.*; do
3029 test -f "$ac_file" || continue;
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3032 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3040 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3041 See \`config.log
' for more details." >&5
3042 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3043 See \`config.log' for more details.
" >&2;}
3044 { (exit 1); exit 1; }; }
3047 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3049 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3050 echo "${ECHO_T}$ac_cv_objext" >&6; }
3051 OBJEXT=$ac_cv_objext
3053 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3054 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3055 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3056 echo $ECHO_N "(cached
) $ECHO_C" >&6
3058 cat >conftest.$ac_ext <<_ACEOF
3061 cat confdefs.h >>conftest.$ac_ext
3062 cat >>conftest.$ac_ext <<_ACEOF
3063 /* end confdefs.h. */
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compile") 2>conftest.er1
3085 grep -v '^ *+' conftest.er1 >conftest.err
3087 cat conftest.err >&5
3088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3089 (exit $ac_status); } && {
3090 test -z "$ac_c_werror_flag" ||
3091 test ! -s conftest.err
3092 } && test -s conftest.$ac_objext; then
3095 echo "$as_me: failed program was
:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3105 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3106 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3107 GCC=`test $ac_compiler_gnu = yes && echo yes`
3108 ac_test_CFLAGS=${CFLAGS+set}
3109 ac_save_CFLAGS=$CFLAGS
3110 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3111 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3112 if test "${ac_cv_prog_cc_g+set}" = set; then
3113 echo $ECHO_N "(cached
) $ECHO_C" >&6
3115 ac_save_c_werror_flag=$ac_c_werror_flag
3116 ac_c_werror_flag=yes
3119 cat >conftest.$ac_ext <<_ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3153 echo "$as_me: failed program was
:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3157 cat >conftest.$ac_ext <<_ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3172 rm -f conftest.$ac_objext
3173 if { (ac_try="$ac_compile"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3181 grep -v '^ *+' conftest.er1 >conftest.err
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.$ac_objext; then
3191 echo "$as_me: failed program was
:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3194 ac_c_werror_flag=$ac_save_c_werror_flag
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3211 rm -f conftest.$ac_objext
3212 if { (ac_try="$ac_compile"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_c_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then
3230 echo "$as_me: failed program was
:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_c_werror_flag=$ac_save_c_werror_flag
3245 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3247 if test "$ac_test_CFLAGS" = set; then
3248 CFLAGS=$ac_save_CFLAGS
3249 elif test $ac_cv_prog_cc_g = yes; then
3250 if test "$GCC" = yes; then
3256 if test "$GCC" = yes; then
3262 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3263 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3264 if test "${ac_cv_prog_cc_c89+set}" = set; then
3265 echo $ECHO_N "(cached
) $ECHO_C" >&6
3267 ac_cv_prog_cc_c89=no
3269 cat >conftest.$ac_ext <<_ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3277 #include <sys/types.h>
3278 #include <sys/stat.h>
3279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3280 struct buf { int x; };
3281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3282 static char *e (p, i)
3288 static char *f (char * (*g) (char **, int), char **p, ...)
3293 s = g (p, va_arg (v,int));
3298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3299 function prototypes and stuff, but not '\xHH' hex character constants.
3300 These don't provoke an error unfortunately, instead are silently treated
3301 as 'x'. The following induces an error, until -std is added to get
3302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3303 array size at least. It's necessary to write '\x00'==0 to get something
3304 that's true only with -std. */
3305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3308 inside strings and character constants. */
3310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3312 int test (int i, double x);
3313 struct s1 {int (*f) (int a);};
3314 struct s2 {int (*f) (double a);};
3315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3329 CC="$ac_save_CC $ac_arg"
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3343 (exit $ac_status); } && {
3344 test -z "$ac_c_werror_flag" ||
3345 test ! -s conftest.err
3346 } && test -s conftest.$ac_objext; then
3347 ac_cv_prog_cc_c89=$ac_arg
3349 echo "$as_me: failed program was
:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3355 rm -f core conftest.err conftest.$ac_objext
3356 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3358 rm -f conftest.$ac_ext
3363 case "x
$ac_cv_prog_cc_c89" in
3365 { echo "$as_me:$LINENO: result
: none needed
" >&5
3366 echo "${ECHO_T}none needed
" >&6; } ;;
3368 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3369 echo "${ECHO_T}unsupported
" >&6; } ;;
3371 CC="$CC $ac_cv_prog_cc_c89"
3372 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3373 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3378 ac_cpp='$CPP $CPPFLAGS'
3379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 DEPDIR="${am__leading_dot}deps
"
3384 ac_config_commands="$ac_config_commands depfiles
"
3387 am_make=${MAKE-make}
3388 cat > confinc << 'END'
3393 # If we don't find an include directive, just comment out the code.
3394 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3395 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3399 # First try GNU make style include.
3400 echo "include confinc" > confmf
3401 # We grep out `Entering directory' and `Leaving directory'
3402 # messages which can occur if `w' ends up in MAKEFLAGS.
3403 # In particular we don't look at `^make:' because GNU make might
3404 # be invoked under some other name (usually "gmake"), in which
3405 # case it prints its new name instead of `make'.
3406 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3411 # Now try BSD make style include.
3412 if test "$am__include" = "#"; then
3413 echo '.include "confinc"' > confmf
3414 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3415 am__include
=.include
3422 { echo "$as_me:$LINENO: result: $_am_result" >&5
3423 echo "${ECHO_T}$_am_result" >&6; }
3424 rm -f confinc confmf
3426 # Check whether --enable-dependency-tracking was given.
3427 if test "${enable_dependency_tracking+set}" = set; then
3428 enableval
=$enable_dependency_tracking;
3431 if test "x$enable_dependency_tracking" != xno
; then
3432 am_depcomp
="$ac_aux_dir/depcomp"
3435 if test "x$enable_dependency_tracking" != xno; then
3445 depcc
="$CC" am_compiler_list
=
3447 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3448 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3449 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3453 # We make a subdir and do the tests there. Otherwise we can end up
3454 # making bogus files that we don't know about and never remove. For
3455 # instance it was reported that on HP-UX the gcc test will end up
3456 # making a dummy file named `D' -- because `-MD' means `put the output
3459 # Copy depcomp to subdir because otherwise we won't find it if we're
3460 # using a relative directory.
3461 cp "$am_depcomp" conftest.dir
3463 # We will build objects and dependencies in a subdirectory because
3464 # it helps to detect inapplicable dependency modes. For instance
3465 # both Tru64's cc and ICC support -MD to output dependencies as a
3466 # side effect of compilation, but ICC will put the dependencies in
3467 # the current directory while Tru64 will put them in the object
3471 am_cv_CC_dependencies_compiler_type
=none
3472 if test "$am_compiler_list" = ""; then
3473 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3475 for depmode
in $am_compiler_list; do
3476 # Setup a source with many dependencies, because some compilers
3477 # like to wrap large dependency lists on column 80 (with \), and
3478 # we should not choose a depcomp mode which is confused by this.
3480 # We need to recreate these files for each test, as the compiler may
3481 # overwrite some of them when testing with obscure command lines.
3482 # This happens at least with the AIX C compiler.
3484 for i
in 1 2 3 4 5 6; do
3485 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3486 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3487 # Solaris 8's {/usr,}/bin/sh.
3488 touch sub
/conftst
$i.h
3490 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3494 # after this tag, mechanisms are not by side-effect, so they'll
3495 # only be used when explicitly requested
3496 if test "x$enable_dependency_tracking" = xyes
; then
3504 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3505 # mode. It turns out that the SunPro C++ compiler does not properly
3506 # handle `-M -o', and we need to detect this.
3507 if depmode
=$depmode \
3508 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3509 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3510 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3511 >/dev
/null
2>conftest.err
&&
3512 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3513 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3514 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3515 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3516 # icc doesn't choke on unknown options, it will just issue warnings
3517 # or remarks (even with -Werror). So we grep stderr for any message
3518 # that says an option was ignored or not supported.
3519 # When given -MP, icc 7.0 and 7.1 complain thusly:
3520 # icc: Command line warning: ignoring option '-M'; no argument required
3521 # The diagnosis changed in icc 8.0:
3522 # icc: Command line remark: option '-MP' not supported
3523 if (grep 'ignoring option' conftest.err ||
3524 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3525 am_cv_CC_dependencies_compiler_type
=$depmode
3534 am_cv_CC_dependencies_compiler_type
=none
3538 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3539 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3540 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3543 test "x$enable_dependency_tracking" != xno \
3544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3546 am__fastdepCC_FALSE
='#'
3548 am__fastdepCC_TRUE
='#'
3549 am__fastdepCC_FALSE
=
3553 # Find a good install program. We prefer a C program (faster),
3554 # so one script is as good as another. But avoid the broken or
3555 # incompatible versions:
3556 # SysV /etc/install, /usr/sbin/install
3557 # SunOS /usr/etc/install
3558 # IRIX /sbin/install
3560 # AmigaOS /C/install, which installs bootblocks on floppy discs
3561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3564 # OS/2's system install, which has a completely different semantic
3565 # ./install, which can be erroneously created by make from ./install.sh.
3566 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3567 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3568 if test -z "$INSTALL"; then
3569 if test "${ac_cv_path_install+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 # Account for people who put trailing slashes in PATH elements.
3579 .
/ | .
// |
/cC
/* | \
3580 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3581 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3584 # OSF1 and SCO ODT 3.0 have their own names for install.
3585 # Don't use installbsd from OSF since it installs stuff as root
3587 for ac_prog
in ginstall scoinst
install; do
3588 for ac_exec_ext
in '' $ac_executable_extensions; do
3589 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3590 if test $ac_prog = install &&
3591 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3592 # AIX install. It has an incompatible calling convention.
3594 elif test $ac_prog = install &&
3595 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3596 # program-specific install script used by HP pwplus--don't use.
3599 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3612 if test "${ac_cv_path_install+set}" = set; then
3613 INSTALL
=$ac_cv_path_install
3615 # As a last resort, use the slow shell script. Don't cache a
3616 # value for INSTALL within a source directory, because that will
3617 # break other packages using the cache if that directory is
3618 # removed, or if the value is a relative name.
3619 INSTALL
=$ac_install_sh
3622 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3623 echo "${ECHO_T}$INSTALL" >&6; }
3625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3626 # It thinks the first close brace ends the variable substitution.
3627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3631 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3633 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3634 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3636 if test "$LN_S" = "ln -s"; then
3637 { echo "$as_me:$LINENO: result: yes" >&5
3638 echo "${ECHO_T}yes" >&6; }
3640 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3641 echo "${ECHO_T}no, using $LN_S" >&6; }
3644 # Check whether --enable-shared was given.
3645 if test "${enable_shared+set}" = set; then
3646 enableval
=$enable_shared; p
=${PACKAGE-default}
3648 yes) enable_shared
=yes ;;
3649 no
) enable_shared
=no
;;
3652 # Look at the argument we got. We use all the common list separators.
3653 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3654 for pkg
in $enableval; do
3656 if test "X$pkg" = "X$p"; then
3668 # Check whether --enable-static was given.
3669 if test "${enable_static+set}" = set; then
3670 enableval
=$enable_static; p
=${PACKAGE-default}
3672 yes) enable_static
=yes ;;
3673 no
) enable_static
=no
;;
3676 # Look at the argument we got. We use all the common list separators.
3677 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3678 for pkg
in $enableval; do
3680 if test "X$pkg" = "X$p"; then
3692 # Check whether --enable-fast-install was given.
3693 if test "${enable_fast_install+set}" = set; then
3694 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3696 yes) enable_fast_install
=yes ;;
3697 no
) enable_fast_install
=no
;;
3699 enable_fast_install
=no
3700 # Look at the argument we got. We use all the common list separators.
3701 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3702 for pkg
in $enableval; do
3704 if test "X$pkg" = "X$p"; then
3705 enable_fast_install
=yes
3712 enable_fast_install
=yes
3716 # Make sure we can run config.sub.
3717 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3718 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3719 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3720 { (exit 1); exit 1; }; }
3722 { echo "$as_me:$LINENO: checking build system type" >&5
3723 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3724 if test "${ac_cv_build+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 ac_build_alias
=$build_alias
3728 test "x$ac_build_alias" = x
&&
3729 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3730 test "x$ac_build_alias" = x
&&
3731 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3732 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3733 { (exit 1); exit 1; }; }
3734 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3735 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3736 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3737 { (exit 1); exit 1; }; }
3740 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3741 echo "${ECHO_T}$ac_cv_build" >&6; }
3742 case $ac_cv_build in
3744 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3745 echo "$as_me: error: invalid value of canonical build" >&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 $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3762 { echo "$as_me:$LINENO: checking host system type" >&5
3763 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3764 if test "${ac_cv_host+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 if test "x$host_alias" = x
; then
3768 ac_cv_host
=$ac_cv_build
3770 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3771 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3772 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3773 { (exit 1); exit 1; }; }
3777 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3778 echo "${ECHO_T}$ac_cv_host" >&6; }
3781 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3782 echo "$as_me: error: invalid value of canonical host" >&2;}
3783 { (exit 1); exit 1; }; };;
3786 ac_save_IFS
=$IFS; IFS
='-'
3792 # Remember, the first character of IFS is used to create $*,
3793 # except with old shells:
3796 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3799 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3800 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3801 if test "${lt_cv_path_SED+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 # Loop through the user's path and test for sed and gsed.
3805 # Then use that list of sed's as ones to test for truncation.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for lt_ac_prog
in sed gsed
; do
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3814 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3821 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3822 # along with /bin/sed that truncates output.
3823 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3824 test ! -f $lt_ac_sed && continue
3825 cat /dev
/null
> conftest.
in
3827 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3828 # Check for GNU sed and select it if it is found.
3829 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3830 lt_cv_path_SED
=$lt_ac_sed
3834 cat conftest.
in conftest.
in >conftest.tmp
3835 mv conftest.tmp conftest.
in
3836 cp conftest.
in conftest.
nl
3838 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3839 cmp -s conftest.out conftest.
nl ||
break
3840 # 10000 chars as input seems more than enough
3841 test $lt_ac_count -gt 10 && break
3842 lt_ac_count
=`expr $lt_ac_count + 1`
3843 if test $lt_ac_count -gt $lt_ac_max; then
3844 lt_ac_max
=$lt_ac_count
3845 lt_cv_path_SED
=$lt_ac_sed
3853 { echo "$as_me:$LINENO: result: $SED" >&5
3854 echo "${ECHO_T}$SED" >&6; }
3856 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3857 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3858 if test "${ac_cv_path_GREP+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 # Extract the first word of "grep ggrep" to use in msg output
3862 if test -z "$GREP"; then
3863 set dummy
grep ggrep
; ac_prog_name
=$2
3864 if test "${ac_cv_path_GREP+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 ac_path_GREP_found
=false
3868 # Loop through the user's path and test for each of PROGNAME-LIST
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3870 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3873 test -z "$as_dir" && as_dir
=.
3874 for ac_prog
in grep ggrep
; do
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3877 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3878 # Check for GNU ac_path_GREP and select it if it is found.
3879 # Check for GNU $ac_path_GREP
3880 case `"$ac_path_GREP" --version 2>&1` in
3882 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3885 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3888 cat "conftest.in" "conftest.in" >"conftest.tmp"
3889 mv "conftest.tmp" "conftest.in"
3890 cp "conftest.in" "conftest.nl"
3891 echo 'GREP' >> "conftest.nl"
3892 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3893 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3894 ac_count
=`expr $ac_count + 1`
3895 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3896 # Best one so far, save it but keep looking for a better one
3897 ac_cv_path_GREP
="$ac_path_GREP"
3898 ac_path_GREP_max
=$ac_count
3900 # 10*(2^10) chars as input seems more than enough
3901 test $ac_count -gt 10 && break
3903 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3907 $ac_path_GREP_found && break 3
3917 GREP
="$ac_cv_path_GREP"
3918 if test -z "$GREP"; then
3919 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3920 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3921 { (exit 1); exit 1; }; }
3925 ac_cv_path_GREP
=$GREP
3930 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3931 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3932 GREP
="$ac_cv_path_GREP"
3935 { echo "$as_me:$LINENO: checking for egrep" >&5
3936 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3937 if test "${ac_cv_path_EGREP+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3941 then ac_cv_path_EGREP
="$GREP -E"
3943 # Extract the first word of "egrep" to use in msg output
3944 if test -z "$EGREP"; then
3945 set dummy
egrep; ac_prog_name
=$2
3946 if test "${ac_cv_path_EGREP+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 ac_path_EGREP_found
=false
3950 # Loop through the user's path and test for each of PROGNAME-LIST
3951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3955 test -z "$as_dir" && as_dir
=.
3956 for ac_prog
in egrep; do
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3959 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3960 # Check for GNU ac_path_EGREP and select it if it is found.
3961 # Check for GNU $ac_path_EGREP
3962 case `"$ac_path_EGREP" --version 2>&1` in
3964 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3967 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3970 cat "conftest.in" "conftest.in" >"conftest.tmp"
3971 mv "conftest.tmp" "conftest.in"
3972 cp "conftest.in" "conftest.nl"
3973 echo 'EGREP' >> "conftest.nl"
3974 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3975 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3976 ac_count
=`expr $ac_count + 1`
3977 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3978 # Best one so far, save it but keep looking for a better one
3979 ac_cv_path_EGREP
="$ac_path_EGREP"
3980 ac_path_EGREP_max
=$ac_count
3982 # 10*(2^10) chars as input seems more than enough
3983 test $ac_count -gt 10 && break
3985 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3989 $ac_path_EGREP_found && break 3
3999 EGREP
="$ac_cv_path_EGREP"
4000 if test -z "$EGREP"; then
4001 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4002 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4003 { (exit 1); exit 1; }; }
4007 ac_cv_path_EGREP
=$EGREP
4013 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4014 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4015 EGREP
="$ac_cv_path_EGREP"
4019 # Check whether --with-gnu-ld was given.
4020 if test "${with_gnu_ld+set}" = set; then
4021 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4027 if test "$GCC" = yes; then
4028 # Check if gcc -print-prog-name=ld gives a path.
4029 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4030 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4033 # gcc leaves a trailing carriage return which upsets mingw
4034 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4036 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4039 # Accept absolute paths.
4041 re_direlt
='/[^/][^/]*/\.\./'
4042 # Canonicalize the pathname of ld
4043 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4044 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4045 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4047 test -z "$LD" && LD
="$ac_prog"
4050 # If it fails, then pretend we aren't using GCC.
4054 # If it is relative, then search for the first ld in PATH.
4058 elif test "$with_gnu_ld" = yes; then
4059 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4060 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4062 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4063 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4065 if test "${lt_cv_path_LD+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 if test -z "$LD"; then
4069 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4070 for ac_dir
in $PATH; do
4072 test -z "$ac_dir" && ac_dir
=.
4073 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4074 lt_cv_path_LD
="$ac_dir/$ac_prog"
4075 # Check to see if the program is GNU ld. I'd rather use --version,
4076 # but apparently some variants of GNU ld only accept -v.
4077 # Break only if it was the GNU/non-GNU ld that we prefer.
4078 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4079 *GNU
* |
*'with BFD'*)
4080 test "$with_gnu_ld" != no
&& break
4083 test "$with_gnu_ld" != yes && break
4090 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4095 if test -n "$LD"; then
4096 { echo "$as_me:$LINENO: result: $LD" >&5
4097 echo "${ECHO_T}$LD" >&6; }
4099 { echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6; }
4102 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4103 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4104 { (exit 1); exit 1; }; }
4105 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4106 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4107 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4111 case `$LD -v 2>&1 </dev/null` in
4112 *GNU
* |
*'with BFD'*)
4113 lt_cv_prog_gnu_ld
=yes
4116 lt_cv_prog_gnu_ld
=no
4120 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4121 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4122 with_gnu_ld
=$lt_cv_prog_gnu_ld
4125 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4126 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4127 if test "${lt_cv_ld_reload_flag+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 lt_cv_ld_reload_flag
='-r'
4132 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4133 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4134 reload_flag
=$lt_cv_ld_reload_flag
4135 case $reload_flag in
4137 *) reload_flag
=" $reload_flag" ;;
4139 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4142 if test "$GCC" = yes; then
4143 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4145 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4150 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4151 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4152 if test "${lt_cv_path_NM+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -n "$NM"; then
4156 # Let the user override the test.
4159 lt_nm_to_check
="${ac_tool_prefix}nm"
4160 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4161 lt_nm_to_check
="$lt_nm_to_check nm"
4163 for lt_tmp_nm
in $lt_nm_to_check; do
4164 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4165 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4167 test -z "$ac_dir" && ac_dir
=.
4168 tmp_nm
="$ac_dir/$lt_tmp_nm"
4169 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4170 # Check to see if the nm accepts a BSD-compat flag.
4171 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4172 # nm: unknown option "B" ignored
4173 # Tru64's nm complains that /dev/null is an invalid object file
4174 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4175 */dev
/null
* |
*'Invalid file or object type'*)
4176 lt_cv_path_NM
="$tmp_nm -B"
4180 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4182 lt_cv_path_NM
="$tmp_nm -p"
4186 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4187 continue # so that we can try to find one that supports BSD flags
4196 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4199 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4200 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4203 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4204 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4205 if test "${lt_cv_deplibs_check_method+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4209 lt_cv_file_magic_test_file
=
4210 lt_cv_deplibs_check_method
='unknown'
4211 # Need to set the preceding variable on all platforms that support
4212 # interlibrary dependencies.
4213 # 'none' -- dependencies not supported.
4214 # `unknown' -- same as none, but documents that we really don't know.
4215 # 'pass_all' -- all dependencies passed with no checks.
4216 # 'test_compile' -- check by making test program.
4217 # 'file_magic [[regex]]' -- check by looking for files in library path
4218 # which responds to the $file_magic_cmd with a given extended regex.
4219 # If you have `file' or equivalent on your system and you're not sure
4220 # whether `pass_all' will *always* work, you probably want this one.
4224 lt_cv_deplibs_check_method
=pass_all
4228 lt_cv_deplibs_check_method
=pass_all
4232 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4233 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4234 lt_cv_file_magic_test_file
=/shlib
/libc.so
4238 # func_win32_libid is a shell function defined in ltmain.sh
4239 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4240 lt_cv_file_magic_cmd
='func_win32_libid'
4244 # Base MSYS/MinGW do not provide the 'file' command needed by
4245 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4246 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4247 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4250 darwin
* | rhapsody
*)
4251 lt_cv_deplibs_check_method
=pass_all
4254 freebsd
* | dragonfly
*)
4255 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4258 # Not sure whether the presence of OpenBSD here was a mistake.
4259 # Let's accept both of them until this is cleared up.
4260 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4261 lt_cv_file_magic_cmd
=/usr
/bin
/file
4262 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4266 lt_cv_deplibs_check_method
=pass_all
4271 lt_cv_deplibs_check_method
=pass_all
4274 hpux10.20
* | hpux11
*)
4275 lt_cv_file_magic_cmd
=/usr
/bin
/file
4278 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4279 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4282 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]'
4283 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4286 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4287 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4294 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4297 irix5
* | irix6
* | nonstopux
*)
4299 *-32|
*"-32 ") libmagic
=32-bit;;
4300 *-n32|
*"-n32 ") libmagic
=N32
;;
4301 *-64|
*"-64 ") libmagic
=64-bit;;
4302 *) libmagic
=never-match
;;
4304 lt_cv_deplibs_check_method
=pass_all
4307 # This must be Linux ELF.
4308 linux
* | k
*bsd
*-gnu)
4309 lt_cv_deplibs_check_method
=pass_all
4312 netbsd
* | netbsdelf
*-gnu)
4313 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4314 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4316 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4321 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4322 lt_cv_file_magic_cmd
=/usr
/bin
/file
4323 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4327 lt_cv_deplibs_check_method
=unknown
4331 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4332 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4334 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4338 osf3
* | osf4
* | osf5
*)
4339 lt_cv_deplibs_check_method
=pass_all
4343 lt_cv_deplibs_check_method
=pass_all
4347 case $host_vendor in
4349 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]'
4350 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4353 lt_cv_deplibs_check_method
=pass_all
4356 lt_cv_file_magic_cmd
='/bin/file'
4357 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4360 lt_cv_file_magic_cmd
='/bin/file'
4361 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4362 lt_cv_file_magic_test_file
=/lib
/libc.so
4365 lt_cv_deplibs_check_method
=pass_all
4368 lt_cv_deplibs_check_method
=pass_all
4373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4374 lt_cv_deplibs_check_method
=pass_all
4379 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4380 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4381 file_magic_cmd
=$lt_cv_file_magic_cmd
4382 deplibs_check_method
=$lt_cv_deplibs_check_method
4383 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4388 # If no C compiler was specified, use CC.
4391 # If no C compiler flags were specified, use CFLAGS.
4392 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4394 # Allow CC to be a program name with arguments.
4398 # Check whether --enable-libtool-lock was given.
4399 if test "${enable_libtool_lock+set}" = set; then
4400 enableval
=$enable_libtool_lock;
4403 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4405 # Some flags need to be propagated to the compiler or linker for good
4409 # Find out which ABI we are using.
4410 echo 'int i;' > conftest.
$ac_ext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }; then
4416 case `/usr/bin/file conftest.$ac_objext` in
4428 # Find out which ABI we are using.
4429 echo '#line 4429 "configure"' > conftest.
$ac_ext
4430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4431 (eval $ac_compile) 2>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; then
4435 if test "$lt_cv_prog_gnu_ld" = yes; then
4436 case `/usr/bin/file conftest.$ac_objext` in
4438 LD
="${LD-ld} -melf32bsmip"
4441 LD
="${LD-ld} -melf32bmipn32"
4444 LD
="${LD-ld} -melf64bmip"
4448 case `/usr/bin/file conftest.$ac_objext` in
4464 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4465 # Find out which ABI we are using.
4466 echo 'int i;' > conftest.
$ac_ext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4468 (eval $ac_compile) 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; then
4472 case `/usr/bin/file conftest.o` in
4476 LD
="${LD-ld} -m elf_i386"
4478 ppc64-
*linux
*|powerpc64-
*linux
*)
4479 LD
="${LD-ld} -m elf32ppclinux"
4482 LD
="${LD-ld} -m elf_s390"
4485 LD
="${LD-ld} -m elf32_sparc"
4492 LD
="${LD-ld} -m elf_x86_64"
4494 ppc
*-*linux
*|powerpc
*-*linux
*)
4495 LD
="${LD-ld} -m elf64ppc"
4498 LD
="${LD-ld} -m elf64_s390"
4501 LD
="${LD-ld} -m elf64_sparc"
4511 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4512 SAVE_CFLAGS
="$CFLAGS"
4513 CFLAGS
="$CFLAGS -belf"
4514 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4515 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4516 if test "${lt_cv_cc_needs_belf+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 ac_cpp
='$CPP $CPPFLAGS'
4521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4525 cat >conftest.
$ac_ext <<_ACEOF
4528 cat confdefs.h
>>conftest.
$ac_ext
4529 cat >>conftest.
$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4540 rm -f conftest.
$ac_objext conftest
$ac_exeext
4541 if { (ac_try
="$ac_link"
4543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4547 (eval "$ac_link") 2>conftest.er1
4549 grep -v '^ *+' conftest.er1 >conftest.err
4551 cat conftest.err >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); } && {
4554 test -z "$ac_c_werror_flag" ||
4555 test ! -s conftest.err
4556 } && test -s conftest$ac_exeext &&
4557 $as_test_x conftest$ac_exeext; then
4558 lt_cv_cc_needs_belf=yes
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.$ac_ext >&5
4563 lt_cv_cc_needs_belf=no
4566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4567 conftest$ac_exeext conftest.$ac_ext
4569 ac_cpp='$CPP $CPPFLAGS'
4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4576 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4577 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4578 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4579 CFLAGS="$SAVE_CFLAGS"
4583 # Find out which ABI we are using.
4584 echo 'int i;' > conftest.$ac_ext
4585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4586 (eval $ac_compile) 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; then
4590 case `/usr
/bin
/file conftest.o
` in
4592 case $lt_cv_prog_gnu_ld in
4593 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4594 *) LD="${LD-ld} -64" ;;
4605 need_locks="$enable_libtool_lock"
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4614 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4615 # On Suns, sometimes $CPP names a directory.
4616 if test -n "$CPP" && test -d "$CPP"; then
4619 if test -z "$CPP"; then
4620 if test "${ac_cv_prog_CPP+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 # Double quotes because CPP needs to be expanded
4624 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4627 for ac_c_preproc_warn_flag in '' yes
4629 # Use a header file that comes with gcc, so configuring glibc
4630 # with a fresh cross-compiler works.
4631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 # <limits.h> exists even on freestanding compilers.
4633 # On the NeXT, cc -E runs the code through the compiler's parser,
4634 # not just through cpp. "Syntax error" is here to catch this case.
4635 cat >conftest.$ac_ext <<_ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 # include <limits.h>
4644 # include <assert.h>
4648 if { (ac_try="$ac_cpp conftest.$ac_ext"
4650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4651 *) ac_try_echo
=$ac_try;;
4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4656 grep -v '^ *+' conftest.er1
>conftest.err
4658 cat conftest.err
>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } >/dev
/null
&& {
4661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4662 test ! -s conftest.err
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 # Broken: fails on valid input.
4673 rm -f conftest.err conftest.
$ac_ext
4675 # OK, works on sane cases. Now check whether nonexistent headers
4676 # can be detected and how.
4677 cat >conftest.
$ac_ext <<_ACEOF
4680 cat confdefs.h
>>conftest.
$ac_ext
4681 cat >>conftest.
$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4683 #include <ac_nonexistent.h>
4685 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null && {
4698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4701 # Broken: success on invalid input.
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 # Passes both tests.
4712 rm -f conftest.err conftest.$ac_ext
4715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4716 rm -f conftest.err conftest.
$ac_ext
4717 if $ac_preproc_ok; then
4729 { echo "$as_me:$LINENO: result: $CPP" >&5
4730 echo "${ECHO_T}$CPP" >&6; }
4732 for ac_c_preproc_warn_flag
in '' yes
4734 # Use a header file that comes with gcc, so configuring glibc
4735 # with a fresh cross-compiler works.
4736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4737 # <limits.h> exists even on freestanding compilers.
4738 # On the NeXT, cc -E runs the code through the compiler's parser,
4739 # not just through cpp. "Syntax error" is here to catch this case.
4740 cat >conftest.
$ac_ext <<_ACEOF
4743 cat confdefs.h
>>conftest.
$ac_ext
4744 cat >>conftest.
$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4747 # include <limits.h>
4749 # include <assert.h>
4753 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4761 grep -v '^ *+' conftest.er1 >conftest.err
4763 cat conftest.err >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } >/dev/null && {
4766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4767 test ! -s conftest.err
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4774 # Broken: fails on valid input.
4778 rm -f conftest.err conftest.$ac_ext
4780 # OK, works on sane cases. Now check whether nonexistent headers
4781 # can be detected and how.
4782 cat >conftest.$ac_ext <<_ACEOF
4785 cat confdefs.h >>conftest.$ac_ext
4786 cat >>conftest.$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 #include <ac_nonexistent.h>
4790 if { (ac_try="$ac_cpp conftest.$ac_ext"
4792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4793 *) ac_try_echo
=$ac_try;;
4795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4798 grep -v '^ *+' conftest.er1
>conftest.err
4800 cat conftest.err
>&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } >/dev
/null
&& {
4803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4804 test ! -s conftest.err
4806 # Broken: success on invalid input.
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.
$ac_ext >&5
4812 # Passes both tests.
4817 rm -f conftest.err conftest.
$ac_ext
4820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4821 rm -f conftest.err conftest.
$ac_ext
4822 if $ac_preproc_ok; then
4825 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details." >&5
4827 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4828 See \`config.log' for more details." >&2;}
4829 { (exit 1); exit 1; }; }
4833 ac_cpp
='$CPP $CPPFLAGS'
4834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4839 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4840 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4841 if test "${ac_cv_header_stdc+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 cat >conftest.
$ac_ext <<_ACEOF
4847 cat confdefs.h
>>conftest.
$ac_ext
4848 cat >>conftest.
$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4863 rm -f conftest.
$ac_objext
4864 if { (ac_try
="$ac_compile"
4866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4870 (eval "$ac_compile") 2>conftest.er1
4872 grep -v '^ *+' conftest.er1 >conftest.err
4874 cat conftest.err >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } && {
4877 test -z "$ac_c_werror_flag" ||
4878 test ! -s conftest.err
4879 } && test -s conftest.$ac_objext; then
4880 ac_cv_header_stdc=yes
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4885 ac_cv_header_stdc=no
4888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 if test $ac_cv_header_stdc = yes; then
4891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902 $EGREP "memchr" >/dev/null 2>&1; then
4905 ac_cv_header_stdc=no
4911 if test $ac_cv_header_stdc = yes; then
4912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4913 cat >conftest.$ac_ext <<_ACEOF
4916 cat confdefs.h >>conftest.$ac_ext
4917 cat >>conftest.$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4923 $EGREP "free" >/dev/null 2>&1; then
4926 ac_cv_header_stdc=no
4932 if test $ac_cv_header_stdc = yes; then
4933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4934 if test "$cross_compiling" = yes; then
4937 cat >conftest.$ac_ext <<_ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4945 #if ((' ' & 0x0FF) == 0x020)
4946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4949 # define ISLOWER(c) \
4950 (('a' <= (c) && (c) <= 'i') \
4951 || ('j' <= (c) && (c) <= 'r') \
4952 || ('s' <= (c) && (c) <= 'z'))
4953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4961 for (i = 0; i < 256; i++)
4962 if (XOR (islower (i), ISLOWER (i))
4963 || toupper (i) != TOUPPER (i))
4968 rm -f conftest$ac_exeext
4969 if { (ac_try="$ac_link"
4971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4972 *) ac_try_echo
=$ac_try;;
4974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4975 (eval "$ac_link") 2>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4979 { (case "(($ac_try" in
4980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4981 *) ac_try_echo=$ac_try;;
4983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4984 (eval "$ac_try") 2>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; }; then
4990 echo "$as_me: program exited with status $ac_status" >&5
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4995 ac_cv_header_stdc=no
4997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5003 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5004 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5005 if test $ac_cv_header_stdc = yes; then
5007 cat >>confdefs.h <<\_ACEOF
5008 #define STDC_HEADERS 1
5013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5023 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5024 inttypes.h stdint.h unistd.h
5026 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 cat >conftest.$ac_ext <<_ACEOF
5035 cat confdefs.h >>conftest.$ac_ext
5036 cat >>conftest.$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5038 $ac_includes_default
5040 #include <$ac_header>
5042 rm -f conftest.$ac_objext
5043 if { (ac_try="$ac_compile"
5045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5046 *) ac_try_echo
=$ac_try;;
5048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5049 (eval "$ac_compile") 2>conftest.er1
5051 grep -v '^ *+' conftest.er1
>conftest.err
5053 cat conftest.err
>&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } && {
5056 test -z "$ac_c_werror_flag" ||
5057 test ! -s conftest.err
5058 } && test -s conftest.
$ac_objext; then
5059 eval "$as_ac_Header=yes"
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.
$ac_ext >&5
5064 eval "$as_ac_Header=no"
5067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 ac_res
=`eval echo '${'$as_ac_Header'}'`
5070 { echo "$as_me:$LINENO: result: $ac_res" >&5
5071 echo "${ECHO_T}$ac_res" >&6; }
5072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5073 cat >>confdefs.h
<<_ACEOF
5074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5083 for ac_header
in dlfcn.h
5085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5086 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5089 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 ac_res
=`eval echo '${'$as_ac_Header'}'`
5093 { echo "$as_me:$LINENO: result: $ac_res" >&5
5094 echo "${ECHO_T}$ac_res" >&6; }
5096 # Is the header compilable?
5097 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5105 $ac_includes_default
5106 #include <$ac_header>
5108 rm -f conftest.
$ac_objext
5109 if { (ac_try
="$ac_compile"
5111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_compile") 2>conftest.er1
5117 grep -v '^ *+' conftest.er1 >conftest.err
5119 cat conftest.err >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } && {
5122 test -z "$ac_c_werror_flag" ||
5123 test ! -s conftest.err
5124 } && test -s conftest.$ac_objext; then
5125 ac_header_compiler=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_header_compiler=no
5133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5134 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5135 echo "${ECHO_T}$ac_header_compiler" >&6; }
5137 # Is the header present?
5138 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5140 cat >conftest.$ac_ext <<_ACEOF
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 #include <$ac_header>
5148 if { (ac_try="$ac_cpp conftest.$ac_ext"
5150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5151 *) ac_try_echo
=$ac_try;;
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } >/dev
/null
&& {
5161 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5162 test ! -s conftest.err
5164 ac_header_preproc
=yes
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.
$ac_ext >&5
5169 ac_header_preproc
=no
5172 rm -f conftest.err conftest.
$ac_ext
5173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5174 echo "${ECHO_T}$ac_header_preproc" >&6; }
5176 # So? What about this header?
5177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5183 ac_header_preproc
=yes
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5199 ## -------------------------------------------------- ##
5200 ## Report this to courier-users@lists.sourceforge.net ##
5201 ## -------------------------------------------------- ##
5203 ) |
sed "s/^/$as_me: WARNING: /" >&2
5206 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5208 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 eval "$as_ac_Header=\$ac_header_preproc"
5213 ac_res
=`eval echo '${'$as_ac_Header'}'`
5214 { echo "$as_me:$LINENO: result: $ac_res" >&5
5215 echo "${ECHO_T}$ac_res" >&6; }
5218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5219 cat >>confdefs.h
<<_ACEOF
5220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5228 ac_cpp
='$CXXCPP $CPPFLAGS'
5229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5232 if test -z "$CXX"; then
5233 if test -n "$CCC"; then
5236 if test -n "$ac_tool_prefix"; then
5237 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5240 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_CXX+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 if test -n "$CXX"; then
5247 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 if test -n "$CXX"; then
5268 { echo "$as_me:$LINENO: result: $CXX" >&5
5269 echo "${ECHO_T}$CXX" >&6; }
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5276 test -n "$CXX" && break
5279 if test -z "$CXX"; then
5281 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5283 # Extract the first word of "$ac_prog", so it can be a program name with args.
5284 set dummy
$ac_prog; ac_word
=$2
5285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5287 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 if test -n "$ac_ct_CXX"; then
5291 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5311 if test -n "$ac_ct_CXX"; then
5312 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5313 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5315 { echo "$as_me:$LINENO: result: no" >&5
5316 echo "${ECHO_T}no" >&6; }
5320 test -n "$ac_ct_CXX" && break
5323 if test "x$ac_ct_CXX" = x
; then
5326 case $cross_compiling:$ac_tool_warned in
5328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5329 whose name does not start with the host triplet. If you think this
5330 configuration is useful to you, please write to autoconf@gnu.org." >&5
5331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5332 whose name does not start with the host triplet. If you think this
5333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5334 ac_tool_warned
=yes ;;
5342 # Provide some information about the compiler.
5343 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5344 ac_compiler
=`set X $ac_compile; echo $2`
5345 { (ac_try
="$ac_compiler --version >&5"
5347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5348 *) ac_try_echo=$ac_try;;
5350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5351 (eval "$ac_compiler --version >&5") 2>&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }
5355 { (ac_try="$ac_compiler -v >&5"
5357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5358 *) ac_try_echo
=$ac_try;;
5360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5361 (eval "$ac_compiler -v >&5") 2>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }
5365 { (ac_try
="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }
5376 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5377 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5378 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 cat >conftest.$ac_ext <<_ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5399 rm -f conftest.$ac_objext
5400 if { (ac_try="$ac_compile"
5402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5403 *) ac_try_echo
=$ac_try;;
5405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5406 (eval "$ac_compile") 2>conftest.er1
5408 grep -v '^ *+' conftest.er1
>conftest.err
5410 cat conftest.err
>&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); } && {
5413 test -z "$ac_cxx_werror_flag" ||
5414 test ! -s conftest.err
5415 } && test -s conftest.
$ac_objext; then
5418 echo "$as_me: failed program was:" >&5
5419 sed 's/^/| /' conftest.
$ac_ext >&5
5424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5425 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5428 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5429 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5430 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5431 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5432 ac_save_CXXFLAGS
=$CXXFLAGS
5433 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5434 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_cxx_g+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5439 ac_cxx_werror_flag
=yes
5442 cat >conftest.
$ac_ext <<_ACEOF
5445 cat confdefs.h
>>conftest.
$ac_ext
5446 cat >>conftest.
$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5457 rm -f conftest.
$ac_objext
5458 if { (ac_try
="$ac_compile"
5460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5464 (eval "$ac_compile") 2>conftest.er1
5466 grep -v '^ *+' conftest.er1 >conftest.err
5468 cat conftest.err >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } && {
5471 test -z "$ac_cxx_werror_flag" ||
5472 test ! -s conftest.err
5473 } && test -s conftest.$ac_objext; then
5474 ac_cv_prog_cxx_g=yes
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.$ac_ext >&5
5480 cat >conftest.$ac_ext <<_ACEOF
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5495 rm -f conftest.$ac_objext
5496 if { (ac_try="$ac_compile"
5498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5499 *) ac_try_echo
=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_compile") 2>conftest.er1
5504 grep -v '^ *+' conftest.er1
>conftest.err
5506 cat conftest.err
>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } && {
5509 test -z "$ac_cxx_werror_flag" ||
5510 test ! -s conftest.err
5511 } && test -s conftest.
$ac_objext; then
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.
$ac_ext >&5
5517 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5519 cat >conftest.
$ac_ext <<_ACEOF
5522 cat confdefs.h
>>conftest.
$ac_ext
5523 cat >>conftest.
$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5534 rm -f conftest.
$ac_objext
5535 if { (ac_try
="$ac_compile"
5537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_compile") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && {
5548 test -z "$ac_cxx_werror_flag" ||
5549 test ! -s conftest.err
5550 } && test -s conftest.$ac_objext; then
5551 ac_cv_prog_cxx_g=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.$ac_ext >&5
5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5568 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5569 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5570 if test "$ac_test_CXXFLAGS" = set; then
5571 CXXFLAGS=$ac_save_CXXFLAGS
5572 elif test $ac_cv_prog_cxx_g = yes; then
5573 if test "$GXX" = yes; then
5579 if test "$GXX" = yes; then
5586 ac_cpp='$CXXCPP $CPPFLAGS'
5587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5591 depcc="$CXX" am_compiler_list=
5593 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5594 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5595 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5599 # We make a subdir and do the tests there. Otherwise we can end up
5600 # making bogus files that we don't know about and never remove. For
5601 # instance it was reported that on HP-UX the gcc test will end up
5602 # making a dummy file named `D
' -- because `-MD' means
`put the output
5605 # Copy depcomp to subdir because otherwise we won't find it if we're
5606 # using a relative directory.
5607 cp "$am_depcomp" conftest.dir
5609 # We will build objects and dependencies in a subdirectory because
5610 # it helps to detect inapplicable dependency modes. For instance
5611 # both Tru64's cc and ICC support -MD to output dependencies as a
5612 # side effect of compilation, but ICC will put the dependencies in
5613 # the current directory while Tru64 will put them in the object
5617 am_cv_CXX_dependencies_compiler_type=none
5618 if test "$am_compiler_list" = ""; then
5619 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5621 for depmode in $am_compiler_list; do
5622 # Setup a source with many dependencies, because some compilers
5623 # like to wrap large dependency lists on column 80 (with \), and
5624 # we should not choose a depcomp mode which is confused by this.
5626 # We need to recreate these files for each test, as the compiler may
5627 # overwrite some of them when testing with obscure command lines.
5628 # This happens at least with the AIX C compiler.
5630 for i in 1 2 3 4 5 6; do
5631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5632 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5633 # Solaris 8's
{/usr
,}/bin
/sh.
5634 touch sub
/conftst
$i.h
5636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5640 # after this tag, mechanisms are not by side-effect, so they'll
5641 # only be used when explicitly requested
5642 if test "x$enable_dependency_tracking" = xyes
; then
5650 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5651 # mode. It turns out that the SunPro C++ compiler does not properly
5652 # handle `-M -o', and we need to detect this.
5653 if depmode
=$depmode \
5654 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5655 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5656 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5657 >/dev
/null
2>conftest.err
&&
5658 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5659 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5660 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5661 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5662 # icc doesn't choke on unknown options, it will just issue warnings
5663 # or remarks (even with -Werror). So we grep stderr for any message
5664 # that says an option was ignored or not supported.
5665 # When given -MP, icc 7.0 and 7.1 complain thusly:
5666 # icc: Command line warning: ignoring option '-M'; no argument required
5667 # The diagnosis changed in icc 8.0:
5668 # icc: Command line remark: option '-MP' not supported
5669 if (grep 'ignoring option' conftest.err ||
5670 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5671 am_cv_CXX_dependencies_compiler_type
=$depmode
5680 am_cv_CXX_dependencies_compiler_type
=none
5684 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5685 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5686 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5689 test "x$enable_dependency_tracking" != xno \
5690 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5691 am__fastdepCXX_TRUE
=
5692 am__fastdepCXX_FALSE
='#'
5694 am__fastdepCXX_TRUE
='#'
5695 am__fastdepCXX_FALSE
=
5701 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5702 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5703 (test "X$CXX" != "Xg++"))) ; then
5705 ac_cpp
='$CXXCPP $CPPFLAGS'
5706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5709 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5710 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5711 if test -z "$CXXCPP"; then
5712 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 # Double quotes because CXXCPP needs to be expanded
5716 for CXXCPP
in "$CXX -E" "/lib/cpp"
5719 for ac_cxx_preproc_warn_flag
in '' yes
5721 # Use a header file that comes with gcc, so configuring glibc
5722 # with a fresh cross-compiler works.
5723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5724 # <limits.h> exists even on freestanding compilers.
5725 # On the NeXT, cc -E runs the code through the compiler's parser,
5726 # not just through cpp. "Syntax error" is here to catch this case.
5727 cat >conftest.
$ac_ext <<_ACEOF
5730 cat confdefs.h
>>conftest.
$ac_ext
5731 cat >>conftest.
$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5734 # include <limits.h>
5736 # include <assert.h>
5740 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5743 *) ac_try_echo=$ac_try;;
5745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5748 grep -v '^ *+' conftest.er1 >conftest.err
5750 cat conftest.err >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } >/dev/null && {
5753 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5754 test ! -s conftest.err
5758 echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5761 # Broken: fails on valid input.
5765 rm -f conftest.err conftest.$ac_ext
5767 # OK, works on sane cases. Now check whether nonexistent headers
5768 # can be detected and how.
5769 cat >conftest.$ac_ext <<_ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5775 #include <ac_nonexistent.h>
5777 if { (ac_try="$ac_cpp conftest.$ac_ext"
5779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5780 *) ac_try_echo
=$ac_try;;
5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5785 grep -v '^ *+' conftest.er1
>conftest.err
5787 cat conftest.err
>&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } >/dev
/null
&& {
5790 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5791 test ! -s conftest.err
5793 # Broken: success on invalid input.
5796 echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.
$ac_ext >&5
5799 # Passes both tests.
5804 rm -f conftest.err conftest.
$ac_ext
5807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5808 rm -f conftest.err conftest.
$ac_ext
5809 if $ac_preproc_ok; then
5814 ac_cv_prog_CXXCPP
=$CXXCPP
5817 CXXCPP
=$ac_cv_prog_CXXCPP
5819 ac_cv_prog_CXXCPP
=$CXXCPP
5821 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5822 echo "${ECHO_T}$CXXCPP" >&6; }
5824 for ac_cxx_preproc_warn_flag
in '' yes
5826 # Use a header file that comes with gcc, so configuring glibc
5827 # with a fresh cross-compiler works.
5828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5829 # <limits.h> exists even on freestanding compilers.
5830 # On the NeXT, cc -E runs the code through the compiler's parser,
5831 # not just through cpp. "Syntax error" is here to catch this case.
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5839 # include <limits.h>
5841 # include <assert.h>
5845 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5848 *) ac_try_echo=$ac_try;;
5850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5853 grep -v '^ *+' conftest.er1 >conftest.err
5855 cat conftest.err >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } >/dev/null && {
5858 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5859 test ! -s conftest.err
5863 echo "$as_me: failed program was:" >&5
5864 sed 's/^/| /' conftest.$ac_ext >&5
5866 # Broken: fails on valid input.
5870 rm -f conftest.err conftest.$ac_ext
5872 # OK, works on sane cases. Now check whether nonexistent headers
5873 # can be detected and how.
5874 cat >conftest.$ac_ext <<_ACEOF
5877 cat confdefs.h >>conftest.$ac_ext
5878 cat >>conftest.$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 #include <ac_nonexistent.h>
5882 if { (ac_try="$ac_cpp conftest.$ac_ext"
5884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5885 *) ac_try_echo
=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5890 grep -v '^ *+' conftest.er1
>conftest.err
5892 cat conftest.err
>&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } >/dev
/null
&& {
5895 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5896 test ! -s conftest.err
5898 # Broken: success on invalid input.
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5904 # Passes both tests.
5909 rm -f conftest.err conftest.
$ac_ext
5912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5913 rm -f conftest.err conftest.
$ac_ext
5914 if $ac_preproc_ok; then
5917 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5918 See \`config.log' for more details." >&5
5919 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5920 See \`config.log' for more details." >&2;}
5921 { (exit 1); exit 1; }; }
5925 ac_cpp
='$CXXCPP $CPPFLAGS'
5926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5934 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5935 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5936 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5937 if test -n "$ac_tool_prefix"; then
5938 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
5940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5944 if test "${ac_cv_prog_F77+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 if test -n "$F77"; then
5948 ac_cv_prog_F77
="$F77" # Let the user override the test.
5950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir
=.
5955 for ac_exec_ext
in '' $ac_executable_extensions; do
5956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5957 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 if test -n "$F77"; then
5969 { echo "$as_me:$LINENO: result: $F77" >&5
5970 echo "${ECHO_T}$F77" >&6; }
5972 { echo "$as_me:$LINENO: result: no" >&5
5973 echo "${ECHO_T}no" >&6; }
5977 test -n "$F77" && break
5980 if test -z "$F77"; then
5982 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
5984 # Extract the first word of "$ac_prog", so it can be a program name with args.
5985 set dummy
$ac_prog; ac_word
=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 if test -n "$ac_ct_F77"; then
5992 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir
=.
5999 for ac_exec_ext
in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_F77
="$ac_prog"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6012 if test -n "$ac_ct_F77"; then
6013 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6014 echo "${ECHO_T}$ac_ct_F77" >&6; }
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6021 test -n "$ac_ct_F77" && break
6024 if test "x$ac_ct_F77" = x
; then
6027 case $cross_compiling:$ac_tool_warned in
6029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6030 whose name does not start with the host triplet. If you think this
6031 configuration is useful to you, please write to autoconf@gnu.org." >&5
6032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6035 ac_tool_warned
=yes ;;
6042 # Provide some information about the compiler.
6043 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6044 ac_compiler
=`set X $ac_compile; echo $2`
6045 { (ac_try
="$ac_compiler --version >&5"
6047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6048 *) ac_try_echo=$ac_try;;
6050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6051 (eval "$ac_compiler --version >&5") 2>&5
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }
6055 { (ac_try="$ac_compiler -v >&5"
6057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6058 *) ac_try_echo
=$ac_try;;
6060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061 (eval "$ac_compiler -v >&5") 2>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); }
6065 { (ac_try
="$ac_compiler -V >&5"
6067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6068 *) ac_try_echo=$ac_try;;
6070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6071 (eval "$ac_compiler -V >&5") 2>&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }
6077 # If we don't use `.F
' as extension, the preprocessor is not run on the
6078 # input file. (Note that this only needs to work for GNU compilers.)
6081 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6082 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6083 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 cat >conftest.$ac_ext <<_ACEOF
6094 rm -f conftest.$ac_objext
6095 if { (ac_try="$ac_compile"
6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6098 *) ac_try_echo=$ac_try;;
6100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6101 (eval "$ac_compile") 2>conftest.er1
6103 grep -v '^
*+' conftest.er1 >conftest.err
6105 cat conftest.err >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } && {
6108 test -z "$ac_f77_werror_flag" ||
6109 test ! -s conftest.err
6110 } && test -s conftest.$ac_objext; then
6113 echo "$as_me: failed program was:" >&5
6114 sed 's
/^
/|
/' conftest.$ac_ext >&5
6119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6120 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6123 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6124 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6126 ac_test_FFLAGS=${FFLAGS+set}
6127 ac_save_FFLAGS=$FFLAGS
6129 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6130 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6131 if test "${ac_cv_prog_f77_g+set}" = set; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 cat >conftest.$ac_ext <<_ACEOF
6140 rm -f conftest.$ac_objext
6141 if { (ac_try="$ac_compile"
6143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6144 *) ac_try_echo=$ac_try;;
6146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6147 (eval "$ac_compile") 2>conftest.er1
6149 grep -v '^
*+' conftest.er1 >conftest.err
6151 cat conftest.err >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } && {
6154 test -z "$ac_f77_werror_flag" ||
6155 test ! -s conftest.err
6156 } && test -s conftest.$ac_objext; then
6157 ac_cv_prog_f77_g=yes
6159 echo "$as_me: failed program was:" >&5
6160 sed 's
/^
/|
/' conftest.$ac_ext >&5
6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6169 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6170 if test "$ac_test_FFLAGS" = set; then
6171 FFLAGS=$ac_save_FFLAGS
6172 elif test $ac_cv_prog_f77_g = yes; then
6173 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6179 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6186 G77=`test $ac_compiler_gnu = yes && echo yes`
6188 ac_cpp='$CPP $CPPFLAGS'
6189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6197 # find the maximum length of command line arguments
6198 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6199 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6200 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 # On DJGPP, this test can blow up pretty badly due to problems in libc
6209 # (any single argument exceeding 2000 bytes causes a buffer overrun
6210 # during glob expansion). Even if it were fixed, the result of this
6211 # check would be larger than it should be.
6212 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6216 # Under GNU Hurd, this test is not required because there is
6217 # no limit to the length of command line arguments.
6218 # Libtool will interpret -1 as no limit whatsoever
6219 lt_cv_sys_max_cmd_len
=-1;
6223 # On Win9x/ME, this test blows up -- it succeeds, but takes
6224 # about 5 minutes as the teststring grows exponentially.
6225 # Worse, since 9x/ME are not pre-emptively multitasking,
6226 # you end up with a "frozen" computer, even though with patience
6227 # the test eventually succeeds (with a max line length of 256k).
6228 # Instead, let's just punt: use the minimum linelength reported by
6229 # all of the supported platforms: 8192 (on NT/2K/XP).
6230 lt_cv_sys_max_cmd_len
=8192;
6234 # On AmigaOS with pdksh, this test takes hours, literally.
6235 # So we just punt and use a minimum line length of 8192.
6236 lt_cv_sys_max_cmd_len
=8192;
6239 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6240 # This has been around since 386BSD, at least. Likely further.
6241 if test -x /sbin
/sysctl
; then
6242 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6243 elif test -x /usr
/sbin
/sysctl
; then
6244 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6246 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6248 # And add a safety zone
6249 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6250 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6254 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6255 lt_cv_sys_max_cmd_len
=196608
6259 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6260 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6261 # nice to cause kernel panics so lets avoid the loop below.
6262 # First set a reasonable default.
6263 lt_cv_sys_max_cmd_len
=16384
6265 if test -x /sbin
/sysconfig
; then
6266 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6267 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6272 lt_cv_sys_max_cmd_len
=102400
6274 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6275 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6276 if test -n "$kargmax"; then
6277 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6279 lt_cv_sys_max_cmd_len
=32768
6283 # If test is not a shell built-in, we'll probably end up computing a
6284 # maximum length that is only half of the actual maximum length, but
6286 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6287 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6288 = "XX$teststring") >/dev
/null
2>&1 &&
6289 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6290 lt_cv_sys_max_cmd_len
=$new_result &&
6291 test $i != 17 # 1/2 MB should be enough
6294 teststring
=$teststring$teststring
6297 # Add a significant safety factor because C++ compilers can tack on massive
6298 # amounts of additional arguments before passing them to the linker.
6299 # It appears as though 1/2 is a usable value.
6300 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6306 if test -n $lt_cv_sys_max_cmd_len ; then
6307 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6308 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6310 { echo "$as_me:$LINENO: result: none" >&5
6311 echo "${ECHO_T}none" >&6; }
6317 # Check for command to grab the raw symbol name followed by C symbol from nm.
6318 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6319 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6320 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 # These are sane defaults that work on at least a few old systems.
6325 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6327 # Character class describing NM global symbol codes.
6328 symcode
='[BCDEGRST]'
6330 # Regexp to match symbols that can be accessed directly from C.
6331 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6333 # Transform an extracted symbol line into a proper C declaration
6334 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6336 # Transform an extracted symbol line into symbol name and symbol address
6337 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'"
6339 # Define system-specific variables.
6344 cygwin
* | mingw
* | pw32
*)
6345 symcode
='[ABCDGISTW]'
6347 hpux
*) # Its linker distinguishes data from code symbols
6348 if test "$host_cpu" = ia64
; then
6349 symcode
='[ABCDEGRST]'
6351 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6352 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6354 linux
* | k
*bsd
*-gnu)
6355 if test "$host_cpu" = ia64
; then
6356 symcode
='[ABCDGIRSTW]'
6357 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6358 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'"
6362 symcode
='[BCDEGRST]'
6365 symcode
='[BCDEGQRST]'
6376 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6384 # Handle CRLF in mingw tool chain
6388 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6392 # If we're using GNU nm, then use its standard symbol codes.
6393 case `$NM -V 2>&1` in
6394 *GNU
* |
*'with BFD'*)
6395 symcode
='[ABCDGIRSTW]' ;;
6398 # Try without a prefix undercore, then with it.
6399 for ac_symprfx
in "" "_"; do
6401 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6402 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6404 # Write the raw and C identifiers.
6405 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6407 # Check to see that the pipe works correctly.
6411 cat > conftest.
$ac_ext <<EOF
6416 void nm_test_func(){}
6420 int main(){nm_test_var='a';nm_test_func();return(0);}
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; then
6428 # Now try to grab the symbols.
6430 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6431 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && test -s "$nlist"; then
6435 # Try sorting and uniquifying the output.
6436 if sort "$nlist" |
uniq > "$nlist"T
; then
6437 mv -f "$nlist"T
"$nlist"
6442 # Make sure that we snagged all the symbols we need.
6443 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6444 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6445 cat <<EOF > conftest.$ac_ext
6451 # Now generate the symbol file.
6452 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6454 cat <<EOF >> conftest.$ac_ext
6455 #if defined (__STDC__) && __STDC__
6456 # define lt_ptr_t void *
6458 # define lt_ptr_t char *
6462 /* The mapping between symbol names and symbols. */
6467 lt_preloaded_symbols[] =
6470 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6471 cat <<\EOF
>> conftest.
$ac_ext
6479 # Now try linking the two files.
6480 mv conftest.
$ac_objext conftstm.
$ac_objext
6481 lt_save_LIBS
="$LIBS"
6482 lt_save_CFLAGS
="$CFLAGS"
6483 LIBS
="conftstm.$ac_objext"
6484 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6486 (eval $ac_link) 2>&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6492 LIBS
="$lt_save_LIBS"
6493 CFLAGS
="$lt_save_CFLAGS"
6495 echo "cannot find nm_test_func in $nlist" >&5
6498 echo "cannot find nm_test_var in $nlist" >&5
6501 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6504 echo "$progname: failed program was:" >&5
6505 cat conftest.
$ac_ext >&5
6507 rm -f conftest
* conftst
*
6509 # Do not use the global_symbol_pipe unless it works.
6510 if test "$pipe_works" = yes; then
6513 lt_cv_sys_global_symbol_pipe
=
6519 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6520 lt_cv_sys_global_symbol_to_cdecl
=
6522 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6523 { echo "$as_me:$LINENO: result: failed" >&5
6524 echo "${ECHO_T}failed" >&6; }
6526 { echo "$as_me:$LINENO: result: ok" >&5
6527 echo "${ECHO_T}ok" >&6; }
6530 { echo "$as_me:$LINENO: checking for objdir" >&5
6531 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6532 if test "${lt_cv_objdir+set}" = set; then
6533 echo $ECHO_N "(cached) $ECHO_C" >&6
6535 rm -f .libs
2>/dev
/null
6536 mkdir .libs
2>/dev
/null
6537 if test -d .libs
; then
6540 # MS-DOS does not allow filenames that begin with a dot.
6543 rmdir .libs
2>/dev
/null
6545 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6546 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6547 objdir
=$lt_cv_objdir
6555 # AIX sometimes has problems with the GCC collect2 program. For some
6556 # reason, if we set the COLLECT_NAMES environment variable, the problems
6557 # vanish in a puff of smoke.
6558 if test "X${COLLECT_NAMES+set}" != Xset
; then
6560 export COLLECT_NAMES
6565 # Sed substitution that helps us do robust quoting. It backslashifies
6566 # metacharacters that are still active within double-quoted strings.
6567 Xsed
='sed -e 1s/^X//'
6568 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6570 # Same as above, but do not quote variable references.
6571 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6573 # Sed substitution to delay expansion of an escaped shell variable in a
6574 # double_quote_subst'ed string.
6575 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6577 # Sed substitution to avoid accidental globbing in evaled expressions
6578 no_glob_subst
='s/\*/\\\*/g'
6584 default_ofile
=libtool
6585 can_build_shared
=yes
6587 # All known linkers require a `.a' archive for static linking (except MSVC,
6588 # which needs '.lib').
6590 ltmain
="$ac_aux_dir/ltmain.sh"
6591 ofile
="$default_ofile"
6592 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6594 if test -n "$ac_tool_prefix"; then
6595 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6596 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6599 if test "${ac_cv_prog_AR+set}" = set; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 if test -n "$AR"; then
6603 ac_cv_prog_AR
="$AR" # Let the user override the test.
6605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir
=.
6610 for ac_exec_ext
in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6612 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6623 if test -n "$AR"; then
6624 { echo "$as_me:$LINENO: result: $AR" >&5
6625 echo "${ECHO_T}$AR" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6633 if test -z "$ac_cv_prog_AR"; then
6635 # Extract the first word of "ar", so it can be a program name with args.
6636 set dummy
ar; ac_word
=$2
6637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6639 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 if test -n "$ac_ct_AR"; then
6643 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir
=.
6650 for ac_exec_ext
in '' $ac_executable_extensions; do
6651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6652 ac_cv_prog_ac_ct_AR
="ar"
6653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6663 if test -n "$ac_ct_AR"; then
6664 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6665 echo "${ECHO_T}$ac_ct_AR" >&6; }
6667 { echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6; }
6671 if test "x$ac_ct_AR" = x
; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6677 whose name does not start with the host triplet. If you think this
6678 configuration is useful to you, please write to autoconf@gnu.org." >&5
6679 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6680 whose name does not start with the host triplet. If you think this
6681 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6682 ac_tool_warned
=yes ;;
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6692 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6695 if test "${ac_cv_prog_RANLIB+set}" = set; then
6696 echo $ECHO_N "(cached) $ECHO_C" >&6
6698 if test -n "$RANLIB"; then
6699 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir
=.
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 RANLIB
=$ac_cv_prog_RANLIB
6719 if test -n "$RANLIB"; then
6720 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6721 echo "${ECHO_T}$RANLIB" >&6; }
6723 { echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6; }
6729 if test -z "$ac_cv_prog_RANLIB"; then
6730 ac_ct_RANLIB
=$RANLIB
6731 # Extract the first word of "ranlib", so it can be a program name with args.
6732 set dummy ranlib
; ac_word
=$2
6733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6735 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6736 echo $ECHO_N "(cached) $ECHO_C" >&6
6738 if test -n "$ac_ct_RANLIB"; then
6739 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir
=.
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6759 if test -n "$ac_ct_RANLIB"; then
6760 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6761 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6763 { echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6; }
6767 if test "x$ac_ct_RANLIB" = x
; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6773 whose name does not start with the host triplet. If you think this
6774 configuration is useful to you, please write to autoconf@gnu.org." >&5
6775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6776 whose name does not start with the host triplet. If you think this
6777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6778 ac_tool_warned
=yes ;;
6780 RANLIB
=$ac_ct_RANLIB
6783 RANLIB
="$ac_cv_prog_RANLIB"
6786 if test -n "$ac_tool_prefix"; then
6787 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6788 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6791 if test "${ac_cv_prog_STRIP+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 if test -n "$STRIP"; then
6795 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir
=.
6802 for ac_exec_ext
in '' $ac_executable_extensions; do
6803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6804 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 STRIP
=$ac_cv_prog_STRIP
6815 if test -n "$STRIP"; then
6816 { echo "$as_me:$LINENO: result: $STRIP" >&5
6817 echo "${ECHO_T}$STRIP" >&6; }
6819 { echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6; }
6825 if test -z "$ac_cv_prog_STRIP"; then
6827 # Extract the first word of "strip", so it can be a program name with args.
6828 set dummy strip
; ac_word
=$2
6829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6831 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6834 if test -n "$ac_ct_STRIP"; then
6835 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir
=.
6842 for ac_exec_ext
in '' $ac_executable_extensions; do
6843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844 ac_cv_prog_ac_ct_STRIP
="strip"
6845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6855 if test -n "$ac_ct_STRIP"; then
6856 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6857 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6859 { echo "$as_me:$LINENO: result: no" >&5
6860 echo "${ECHO_T}no" >&6; }
6863 if test "x$ac_ct_STRIP" = x
; then
6866 case $cross_compiling:$ac_tool_warned in
6868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6869 whose name does not start with the host triplet. If you think this
6870 configuration is useful to you, please write to autoconf@gnu.org." >&5
6871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6872 whose name does not start with the host triplet. If you think this
6873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6874 ac_tool_warned
=yes ;;
6879 STRIP
="$ac_cv_prog_STRIP"
6884 old_CFLAGS
="$CFLAGS"
6886 # Set sane defaults for various variables
6887 test -z "$AR" && AR
=ar
6888 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6889 test -z "$AS" && AS
=as
6890 test -z "$CC" && CC
=cc
6891 test -z "$LTCC" && LTCC
=$CC
6892 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6893 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6894 test -z "$LD" && LD
=ld
6895 test -z "$LN_S" && LN_S
="ln -s"
6896 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6897 test -z "$NM" && NM
=nm
6898 test -z "$SED" && SED
=sed
6899 test -z "$OBJDUMP" && OBJDUMP
=objdump
6900 test -z "$RANLIB" && RANLIB
=:
6901 test -z "$STRIP" && STRIP
=:
6902 test -z "$ac_objext" && ac_objext
=o
6904 # Determine commands to create old-style static archives.
6905 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6906 old_postinstall_cmds
='chmod 644 $oldlib'
6907 old_postuninstall_cmds
=
6909 if test -n "$RANLIB"; then
6912 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6915 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6918 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6921 for cc_temp
in $compiler""; do
6923 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6924 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6929 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 # Only perform the check for file, if the check method requires it
6933 case $deplibs_check_method in
6935 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6936 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6937 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6938 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6946 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6947 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6948 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6949 for ac_dir
in $ac_dummy; do
6951 test -z "$ac_dir" && ac_dir
=.
6952 if test -f $ac_dir/${ac_tool_prefix}file; then
6953 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6954 if test -n "$file_magic_test_file"; then
6955 case $deplibs_check_method in
6957 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6958 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6959 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6960 $EGREP "$file_magic_regex" > /dev
/null
; then
6965 *** Warning: the command libtool uses to detect shared libraries,
6966 *** $file_magic_cmd, produces output that libtool cannot recognize.
6967 *** The result is that libtool may fail to recognize shared libraries
6968 *** as such. This will affect the creation of libtool libraries that
6969 *** depend on shared libraries, but programs linked with such libtool
6970 *** libraries will work regardless of this problem. Nevertheless, you
6971 *** may want to report the problem to your system manager and/or to
6972 *** bug-libtool@gnu.org
6982 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6987 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6988 if test -n "$MAGIC_CMD"; then
6989 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6990 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6992 { echo "$as_me:$LINENO: result: no" >&5
6993 echo "${ECHO_T}no" >&6; }
6996 if test -z "$lt_cv_path_MAGIC_CMD"; then
6997 if test -n "$ac_tool_prefix"; then
6998 { echo "$as_me:$LINENO: checking for file" >&5
6999 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7000 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7008 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7009 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7010 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7011 for ac_dir
in $ac_dummy; do
7013 test -z "$ac_dir" && ac_dir
=.
7014 if test -f $ac_dir/file; then
7015 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7016 if test -n "$file_magic_test_file"; then
7017 case $deplibs_check_method in
7019 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7020 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7021 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7022 $EGREP "$file_magic_regex" > /dev
/null
; then
7027 *** Warning: the command libtool uses to detect shared libraries,
7028 *** $file_magic_cmd, produces output that libtool cannot recognize.
7029 *** The result is that libtool may fail to recognize shared libraries
7030 *** as such. This will affect the creation of libtool libraries that
7031 *** depend on shared libraries, but programs linked with such libtool
7032 *** libraries will work regardless of this problem. Nevertheless, you
7033 *** may want to report the problem to your system manager and/or to
7034 *** bug-libtool@gnu.org
7044 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7049 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7050 if test -n "$MAGIC_CMD"; then
7051 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7052 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7054 { echo "$as_me:$LINENO: result: no" >&5
7055 echo "${ECHO_T}no" >&6; }
7070 # Check whether --enable-libtool-lock was given.
7071 if test "${enable_libtool_lock+set}" = set; then
7072 enableval
=$enable_libtool_lock;
7075 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7078 # Check whether --with-pic was given.
7079 if test "${with_pic+set}" = set; then
7080 withval
=$with_pic; pic_mode
="$withval"
7085 test -z "$pic_mode" && pic_mode
=default
7087 # Use C for the default configuration in the libtool script
7091 ac_cpp
='$CPP $CPPFLAGS'
7092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7097 # Source file extension for C test sources.
7100 # Object file extension for compiled C test sources.
7104 # Code to be used in simple compile tests
7105 lt_simple_compile_test_code
="int some_variable = 0;\n"
7107 # Code to be used in simple link tests
7108 lt_simple_link_test_code
='int main(){return(0);}\n'
7111 # If no C compiler was specified, use CC.
7114 # If no C compiler flags were specified, use CFLAGS.
7115 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7117 # Allow CC to be a program name with arguments.
7121 # save warnings/boilerplate of simple test code
7122 ac_outfile
=conftest.
$ac_objext
7123 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7124 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_compiler_boilerplate
=`cat conftest.err`
7128 ac_outfile
=conftest.
$ac_objext
7129 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7130 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7131 _lt_linker_boilerplate
=`cat conftest.err`
7136 lt_prog_compiler_no_builtin_flag
=
7138 if test "$GCC" = yes; then
7139 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7142 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7143 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7144 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 lt_cv_prog_compiler_rtti_exceptions
=no
7148 ac_outfile
=conftest.
$ac_objext
7149 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7150 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7151 # Insert the option either (1) after the last *FLAGS variable, or
7152 # (2) before a word containing "conftest.", or (3) at the end.
7153 # Note that $ac_compile itself does not contain backslashes and begins
7154 # with a dollar sign (not a hyphen), so the echo should work correctly.
7155 # The option is referenced via a variable to avoid confusing sed.
7156 lt_compile
=`echo "$ac_compile" | $SED \
7157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7159 -e 's:$: $lt_compiler_flag:'`
7160 (eval echo "\"\$as_me:7160: $lt_compile\"" >&5)
7161 (eval "$lt_compile" 2>conftest.err
)
7163 cat conftest.err
>&5
7164 echo "$as_me:7164: \$? = $ac_status" >&5
7165 if (exit $ac_status) && test -s "$ac_outfile"; then
7166 # The compiler can only warn and ignore the option if not recognized
7167 # So say no if there are warnings other than the usual output.
7168 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7169 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7170 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7171 lt_cv_prog_compiler_rtti_exceptions
=yes
7177 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7178 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7180 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7181 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7188 lt_prog_compiler_wl
=
7189 lt_prog_compiler_pic
=
7190 lt_prog_compiler_static
=
7192 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7193 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7195 if test "$GCC" = yes; then
7196 lt_prog_compiler_wl
='-Wl,'
7197 lt_prog_compiler_static
='-static'
7201 # All AIX code is PIC.
7202 if test "$host_cpu" = ia64
; then
7203 # AIX 5 now supports IA64 processor
7204 lt_prog_compiler_static
='-Bstatic'
7209 # FIXME: we need at least 68020 code to build shared libraries, but
7210 # adding the `-m68020' flag to GCC prevents building anything better,
7212 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7215 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7216 # PIC is the default for these OSes.
7219 mingw
* | pw32
* | os2
*)
7220 # This hack is so that the source file can tell whether it is being
7221 # built for inclusion in a dll (and should export symbols for example).
7222 lt_prog_compiler_pic
='-DDLL_EXPORT'
7225 darwin
* | rhapsody
*)
7226 # PIC is the default on this platform
7227 # Common symbols not allowed in MH_DYLIB files
7228 lt_prog_compiler_pic
='-fno-common'
7232 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7233 # Instead, we relocate shared libraries at runtime.
7237 # Just because we use GCC doesn't mean we suddenly get shared libraries
7238 # on systems that don't support them.
7239 lt_prog_compiler_can_build_shared
=no
7244 if test -d /usr
/nec
; then
7245 lt_prog_compiler_pic
=-Kconform_pic
7250 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7257 lt_prog_compiler_pic
='-fPIC'
7263 lt_prog_compiler_pic
='-fPIC'
7267 # PORTME Check for flag to pass linker flags through the system compiler.
7270 lt_prog_compiler_wl
='-Wl,'
7271 if test "$host_cpu" = ia64
; then
7272 # AIX 5 now supports IA64 processor
7273 lt_prog_compiler_static
='-Bstatic'
7275 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7279 # PIC is the default on this platform
7280 # Common symbols not allowed in MH_DYLIB files
7281 case $cc_basename in
7283 lt_prog_compiler_pic
='-qnocommon'
7284 lt_prog_compiler_wl
='-Wl,'
7289 mingw
* | pw32
* | os2
*)
7290 # This hack is so that the source file can tell whether it is being
7291 # built for inclusion in a dll (and should export symbols for example).
7292 lt_prog_compiler_pic
='-DDLL_EXPORT'
7295 hpux9
* | hpux10
* | hpux11
*)
7296 lt_prog_compiler_wl
='-Wl,'
7297 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7304 lt_prog_compiler_pic
='+Z'
7307 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7308 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7311 irix5
* | irix6
* | nonstopux
*)
7312 lt_prog_compiler_wl
='-Wl,'
7313 # PIC (with -KPIC) is the default.
7314 lt_prog_compiler_static
='-non_shared'
7318 lt_prog_compiler_pic
='-KPIC'
7319 lt_prog_compiler_static
='-Bstatic'
7322 linux
* | k
*bsd
*-gnu)
7323 case $cc_basename in
7325 lt_prog_compiler_wl
='-Wl,'
7326 lt_prog_compiler_pic
='-KPIC'
7327 lt_prog_compiler_static
='-static'
7329 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7330 # Portland Group compilers (*not* the Pentium gcc compiler,
7331 # which looks to be a dead project)
7332 lt_prog_compiler_wl
='-Wl,'
7333 lt_prog_compiler_pic
='-fpic'
7334 lt_prog_compiler_static
='-Bstatic'
7337 lt_prog_compiler_wl
='-Wl,'
7338 # All Alpha code is PIC.
7339 lt_prog_compiler_static
='-non_shared'
7344 osf3
* | osf4
* | osf5
*)
7345 lt_prog_compiler_wl
='-Wl,'
7346 # All OSF/1 code is PIC.
7347 lt_prog_compiler_static
='-non_shared'
7351 lt_prog_compiler_pic
='-KPIC'
7352 lt_prog_compiler_static
='-Bstatic'
7353 case $cc_basename in
7355 lt_prog_compiler_wl
='-Qoption ld ';;
7357 lt_prog_compiler_wl
='-Wl,';;
7362 lt_prog_compiler_wl
='-Qoption ld '
7363 lt_prog_compiler_pic
='-PIC'
7364 lt_prog_compiler_static
='-Bstatic'
7367 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7368 lt_prog_compiler_wl
='-Wl,'
7369 lt_prog_compiler_pic
='-KPIC'
7370 lt_prog_compiler_static
='-Bstatic'
7374 if test -d /usr
/nec
;then
7375 lt_prog_compiler_pic
='-Kconform_pic'
7376 lt_prog_compiler_static
='-Bstatic'
7380 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7381 lt_prog_compiler_wl
='-Wl,'
7382 lt_prog_compiler_pic
='-KPIC'
7383 lt_prog_compiler_static
='-Bstatic'
7387 lt_prog_compiler_wl
='-Wl,'
7388 lt_prog_compiler_can_build_shared
=no
7392 lt_prog_compiler_pic
='-pic'
7393 lt_prog_compiler_static
='-Bstatic'
7397 lt_prog_compiler_can_build_shared
=no
7402 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7403 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7406 # Check to make sure the PIC flag actually works.
7408 if test -n "$lt_prog_compiler_pic"; then
7410 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7411 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7412 if test "${lt_prog_compiler_pic_works+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 lt_prog_compiler_pic_works
=no
7416 ac_outfile
=conftest.
$ac_objext
7417 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7418 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7419 # Insert the option either (1) after the last *FLAGS variable, or
7420 # (2) before a word containing "conftest.", or (3) at the end.
7421 # Note that $ac_compile itself does not contain backslashes and begins
7422 # with a dollar sign (not a hyphen), so the echo should work correctly.
7423 # The option is referenced via a variable to avoid confusing sed.
7424 lt_compile
=`echo "$ac_compile" | $SED \
7425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7427 -e 's:$: $lt_compiler_flag:'`
7428 (eval echo "\"\$as_me:7428: $lt_compile\"" >&5)
7429 (eval "$lt_compile" 2>conftest.err
)
7431 cat conftest.err
>&5
7432 echo "$as_me:7432: \$? = $ac_status" >&5
7433 if (exit $ac_status) && test -s "$ac_outfile"; then
7434 # The compiler can only warn and ignore the option if not recognized
7435 # So say no if there are warnings other than the usual output.
7436 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7437 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7438 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7439 lt_prog_compiler_pic_works
=yes
7445 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7446 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7448 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7449 case $lt_prog_compiler_pic in
7451 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7454 lt_prog_compiler_pic
=
7455 lt_prog_compiler_can_build_shared
=no
7460 # For platforms which do not support PIC, -DPIC is meaningless:
7462 lt_prog_compiler_pic
=
7465 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7470 # Check to make sure the static flag actually works.
7472 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7473 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7474 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7475 if test "${lt_prog_compiler_static_works+set}" = set; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 lt_prog_compiler_static_works
=no
7479 save_LDFLAGS
="$LDFLAGS"
7480 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7481 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7482 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7483 # The linker can only warn and ignore the option if not recognized
7484 # So say no if there are warnings
7485 if test -s conftest.err
; then
7486 # Append any errors to the config.log.
7487 cat conftest.err
1>&5
7488 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7490 if diff conftest.exp conftest.er2
>/dev
/null
; then
7491 lt_prog_compiler_static_works
=yes
7494 lt_prog_compiler_static_works
=yes
7498 LDFLAGS
="$save_LDFLAGS"
7501 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7502 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7504 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7507 lt_prog_compiler_static
=
7511 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7512 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7513 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 lt_cv_prog_compiler_c_o
=no
7517 $rm -r conftest
2>/dev
/null
7521 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7523 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7524 # Insert the option either (1) after the last *FLAGS variable, or
7525 # (2) before a word containing "conftest.", or (3) at the end.
7526 # Note that $ac_compile itself does not contain backslashes and begins
7527 # with a dollar sign (not a hyphen), so the echo should work correctly.
7528 lt_compile
=`echo "$ac_compile" | $SED \
7529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7531 -e 's:$: $lt_compiler_flag:'`
7532 (eval echo "\"\$as_me:7532: $lt_compile\"" >&5)
7533 (eval "$lt_compile" 2>out
/conftest.err
)
7535 cat out
/conftest.err
>&5
7536 echo "$as_me:7536: \$? = $ac_status" >&5
7537 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7539 # The compiler can only warn and ignore the option if not recognized
7540 # So say no if there are warnings
7541 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7542 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7543 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7544 lt_cv_prog_compiler_c_o
=yes
7549 # SGI C++ compiler will create directory out/ii_files/ for
7550 # template instantiation
7551 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7552 $rm out
/* && rmdir out
7558 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7559 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7562 hard_links
="nottested"
7563 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7564 # do not overwrite the value of need_locks provided by the user
7565 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7566 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7569 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7571 ln conftest.a conftest.b
2>&5 || hard_links
=no
7572 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7573 { echo "$as_me:$LINENO: result: $hard_links" >&5
7574 echo "${ECHO_T}$hard_links" >&6; }
7575 if test "$hard_links" = no
; then
7576 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7577 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7584 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7585 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7588 allow_undefined_flag
=
7589 enable_shared_with_static_runtimes
=no
7591 archive_expsym_cmds
=
7592 old_archive_From_new_cmds
=
7593 old_archive_from_expsyms_cmds
=
7594 export_dynamic_flag_spec
=
7595 whole_archive_flag_spec
=
7596 thread_safe_flag_spec
=
7597 hardcode_libdir_flag_spec
=
7598 hardcode_libdir_flag_spec_ld
=
7599 hardcode_libdir_separator
=
7602 hardcode_shlibpath_var
=unsupported
7603 link_all_deplibs
=unknown
7604 hardcode_automatic
=no
7607 always_export_symbols
=no
7608 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7609 # include_expsyms should be a list of space-separated symbols to be *always*
7610 # included in the symbol list
7612 # exclude_expsyms can be an extended regexp of symbols to exclude
7613 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7614 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7615 # as well as any symbol that contains `d'.
7616 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7617 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7618 # platforms (ab)use it in PIC code, but their linkers get confused if
7619 # the symbol is explicitly referenced. Since portable code cannot
7620 # rely on this symbol name, it's probably fine to never include it in
7621 # preloaded symbol tables.
7622 extract_expsyms_cmds
=
7623 # Just being paranoid about ensuring that cc_basename is set.
7624 for cc_temp
in $compiler""; do
7626 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7627 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7632 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7635 cygwin
* | mingw
* | pw32
*)
7636 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7637 # When not using gcc, we currently assume that we are using
7638 # Microsoft Visual C++.
7639 if test "$GCC" != yes; then
7644 # we just hope/assume this is gcc and not c89 (= MSVC++)
7653 if test "$with_gnu_ld" = yes; then
7654 # If archive_cmds runs LD, not CC, wlarc should be empty
7657 # Set some defaults for GNU ld with shared library support. These
7658 # are reset later if shared libraries are not supported. Putting them
7659 # here allows them to be overridden if necessary.
7660 runpath_var
=LD_RUN_PATH
7661 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7662 export_dynamic_flag_spec
='${wl}--export-dynamic'
7663 # ancient GNU ld didn't support --whole-archive et. al.
7664 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7665 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7667 whole_archive_flag_spec
=
7669 supports_anon_versioning
=no
7670 case `$LD -v 2>/dev/null` in
7671 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7672 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7673 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7674 *\
2.11.
*) ;; # other 2.11 versions
7675 *) supports_anon_versioning
=yes ;;
7678 # See if GNU ld supports shared libraries.
7680 aix3
* | aix4
* | aix5
*)
7681 # On AIX/PPC, the GNU linker is very broken
7682 if test "$host_cpu" != ia64
; then
7686 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7687 *** to be unable to reliably create shared libraries on AIX.
7688 *** Therefore, libtool is disabling shared libraries support. If you
7689 *** really care for shared libraries, you may want to modify your PATH
7690 *** so that a non-GNU linker is found, and then restart.
7697 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)'
7698 hardcode_libdir_flag_spec
='-L$libdir'
7699 hardcode_minus_L
=yes
7701 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7702 # that the semantics of dynamic libraries on AmigaOS, at least up
7703 # to version 4, is to share data among multiple programs linked
7704 # with the same dynamic library. Since this doesn't match the
7705 # behavior of shared libraries on other platforms, we can't use
7711 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7712 allow_undefined_flag
=unsupported
7713 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7714 # support --undefined. This deserves some investigation. FIXME
7715 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7721 cygwin
* | mingw
* | pw32
*)
7722 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7723 # as there is no search path for DLLs.
7724 hardcode_libdir_flag_spec
='-L$libdir'
7725 allow_undefined_flag
=unsupported
7726 always_export_symbols
=no
7727 enable_shared_with_static_runtimes
=yes
7728 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7730 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7731 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7732 # If the export-symbols file already is a .def file (1st line
7733 # is EXPORTS), use it as is; otherwise, prepend...
7734 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7735 cp $export_symbols $output_objdir/$soname.def;
7737 echo EXPORTS > $output_objdir/$soname.def;
7738 cat $export_symbols >> $output_objdir/$soname.def;
7740 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7748 hardcode_shlibpath_var
=no
7749 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7750 export_dynamic_flag_spec
='${wl}-E'
7751 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7752 # Instead, shared libraries are loaded at an image base (0x10000000 by
7753 # default) and relocated if they conflict, which is a slow very memory
7754 # consuming and fragmenting process. To avoid this, we pick a random,
7755 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7756 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7757 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7758 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'
7761 linux
* | k
*bsd
*-gnu)
7762 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7764 case $cc_basename,$host_cpu in
7765 pgcc
*) # Portland Group C compiler
7766 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'
7767 tmp_addflag
=' $pic_flag'
7769 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7770 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'
7771 tmp_addflag
=' $pic_flag -Mnomain' ;;
7772 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7773 tmp_addflag
=' -i_dynamic' ;;
7774 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7775 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7776 ifc
* | ifort
*) # Intel Fortran compiler
7777 tmp_addflag
=' -nofor_main' ;;
7779 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7781 if test $supports_anon_versioning = yes; then
7782 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7783 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7784 $echo "local: *; };" >> $output_objdir/$libname.ver~
7785 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7793 netbsd
* | netbsdelf
*-gnu)
7794 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7795 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7798 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7799 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7804 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7809 *** create shared libraries on Solaris systems. Therefore, libtool
7810 *** is disabling shared libraries support. We urge you to upgrade GNU
7811 *** binutils to release 2.9.1 or newer. Another option is to modify
7812 *** your PATH or compiler configuration so that the native linker is
7813 *** used, and then restart.
7816 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7818 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7824 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7825 case `$LD -v 2>&1` in
7826 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7830 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7831 *** reliably create shared libraries on SCO systems. Therefore, libtool
7832 *** is disabling shared libraries support. We urge you to upgrade GNU
7833 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7834 *** your PATH or compiler configuration so that the native linker is
7835 *** used, and then restart.
7840 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7841 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7842 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7843 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7852 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7855 hardcode_shlibpath_var
=no
7859 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7860 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7861 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7868 if test "$ld_shlibs" = no
; then
7870 hardcode_libdir_flag_spec
=
7871 export_dynamic_flag_spec
=
7872 whole_archive_flag_spec
=
7875 # PORTME fill in a description of your system's linker (not GNU ld)
7878 allow_undefined_flag
=unsupported
7879 always_export_symbols
=yes
7880 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'
7881 # Note: this linker hardcodes the directories in LIBPATH if there
7882 # are no directories specified by -L.
7883 hardcode_minus_L
=yes
7884 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7885 # Neither direct hardcoding nor static linking is supported with a
7887 hardcode_direct
=unsupported
7892 if test "$host_cpu" = ia64
; then
7893 # On IA64, the linker does run time linking by default, so we don't
7894 # have to do anything special.
7895 aix_use_runtimelinking
=no
7896 exp_sym_flag
='-Bexport'
7899 # If we're using GNU nm, then we don't want the "-C" option.
7900 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7901 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7902 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'
7904 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'
7906 aix_use_runtimelinking
=no
7908 # Test if we are trying to use run time linking or normal
7909 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7910 # need to do runtime linking.
7911 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7912 for ld_flag
in $LDFLAGS; do
7913 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7914 aix_use_runtimelinking
=yes
7921 exp_sym_flag
='-bexport'
7922 no_entry_flag
='-bnoentry'
7925 # When large executables or shared objects are built, AIX ld can
7926 # have problems creating the table of contents. If linking a library
7927 # or program results in "error TOC overflow" add -mminimal-toc to
7928 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7929 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7933 hardcode_libdir_separator
=':'
7934 link_all_deplibs
=yes
7936 if test "$GCC" = yes; then
7937 case $host_os in aix4.
[012]|aix4.
[012].
*)
7938 # We only want to do this on AIX 4.2 and lower, the check
7939 # below for broken collect2 doesn't work under 4.3+
7940 collect2name
=`${CC} -print-prog-name=collect2`
7941 if test -f "$collect2name" && \
7942 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7944 # We have reworked collect2
7947 # We have old collect2
7948 hardcode_direct
=unsupported
7949 # It fails to find uninstalled libraries when the uninstalled
7950 # path is not listed in the libpath. Setting hardcode_minus_L
7951 # to unsupported forces relinking
7952 hardcode_minus_L
=yes
7953 hardcode_libdir_flag_spec
='-L$libdir'
7954 hardcode_libdir_separator
=
7958 shared_flag
='-shared'
7959 if test "$aix_use_runtimelinking" = yes; then
7960 shared_flag
="$shared_flag "'${wl}-G'
7964 if test "$host_cpu" = ia64
; then
7965 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7966 # chokes on -Wl,-G. The following line is correct:
7969 if test "$aix_use_runtimelinking" = yes; then
7970 shared_flag
='${wl}-G'
7972 shared_flag
='${wl}-bM:SRE'
7977 # It seems that -bexpall does not export symbols beginning with
7978 # underscore (_), so it is better to generate a list of symbols to export.
7979 always_export_symbols
=yes
7980 if test "$aix_use_runtimelinking" = yes; then
7981 # Warning - without using the other runtime loading flags (-brtl),
7982 # -berok will link without error, but may produce a broken library.
7983 allow_undefined_flag
='-berok'
7984 # Determine the default libpath from the value encoded in an empty executable.
7985 cat >conftest.
$ac_ext <<_ACEOF
7988 cat confdefs.h
>>conftest.
$ac_ext
7989 cat >>conftest.
$ac_ext <<_ACEOF
7990 /* end confdefs.h. */
8000 rm -f conftest.
$ac_objext conftest
$ac_exeext
8001 if { (ac_try
="$ac_link"
8003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_link") 2>conftest.er1
8009 grep -v '^ *+' conftest.er1 >conftest.err
8011 cat conftest.err >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } && {
8014 test -z "$ac_c_werror_flag" ||
8015 test ! -s conftest.err
8016 } && test -s conftest$ac_exeext &&
8017 $as_test_x conftest$ac_exeext; then
8019 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8021 # Check for a 64-bit object if we didn't find anything.
8022 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; }
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.$ac_ext >&5
8031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8032 conftest$ac_exeext conftest.$ac_ext
8033 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8035 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8036 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"
8038 if test "$host_cpu" = ia64; then
8039 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8040 allow_undefined_flag="-z nodefs"
8041 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"
8043 # Determine the default libpath from the value encoded in an empty executable.
8044 cat >conftest.$ac_ext <<_ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8059 rm -f conftest.$ac_objext conftest$ac_exeext
8060 if { (ac_try="$ac_link"
8062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8063 *) ac_try_echo
=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_link") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1
>conftest.err
8070 cat conftest.err
>&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest
$ac_exeext &&
8076 $as_test_x conftest
$ac_exeext; then
8078 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8080 # Check for a 64-bit object if we didn't find anything.
8081 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; }
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.
$ac_ext >&5
8090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8094 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8095 # Warning - without using the other run time loading flags,
8096 # -berok will link without error, but may produce a broken library.
8097 no_undefined_flag
=' ${wl}-bernotok'
8098 allow_undefined_flag
=' ${wl}-berok'
8099 # Exported symbols can be pulled into shared objects from archives
8100 whole_archive_flag_spec
='$convenience'
8101 archive_cmds_need_lc
=yes
8102 # This is similar to how AIX traditionally builds its shared libraries.
8103 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'
8109 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)'
8110 hardcode_libdir_flag_spec
='-L$libdir'
8111 hardcode_minus_L
=yes
8112 # see comment about different semantics on the GNU ld section
8117 export_dynamic_flag_spec
=-rdynamic
8120 cygwin
* | mingw
* | pw32
*)
8121 # When not using gcc, we currently assume that we are using
8122 # Microsoft Visual C++.
8123 # hardcode_libdir_flag_spec is actually meaningless, as there is
8124 # no search path for DLLs.
8125 hardcode_libdir_flag_spec
=' '
8126 allow_undefined_flag
=unsupported
8127 # Tell ltmain to make .lib files, not .a files.
8129 # Tell ltmain to make .dll files, not .so files.
8131 # FIXME: Setting linknames here is a bad hack.
8132 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8133 # The linker will automatically build a .lib file if we build a DLL.
8134 old_archive_From_new_cmds
='true'
8135 # FIXME: Should let the user specify the lib program.
8136 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8137 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8138 enable_shared_with_static_runtimes
=yes
8141 darwin
* | rhapsody
*)
8143 rhapsody
* | darwin1.
[012])
8144 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8147 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8148 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8150 case ${MACOSX_DEPLOYMENT_TARGET} in
8152 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8155 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8161 archive_cmds_need_lc
=no
8163 hardcode_automatic
=yes
8164 hardcode_shlibpath_var
=unsupported
8165 whole_archive_flag_spec
=''
8166 link_all_deplibs
=yes
8167 if test "$GCC" = yes ; then
8168 output_verbose_link_cmd
='echo'
8169 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8170 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8171 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8172 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}'
8173 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}'
8175 case $cc_basename in
8177 output_verbose_link_cmd
='echo'
8178 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8179 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8180 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8181 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}'
8182 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}'
8192 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8193 hardcode_libdir_flag_spec
='-L$libdir'
8194 hardcode_shlibpath_var
=no
8201 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8202 # support. Future versions do this automatically, but an explicit c++rt0.o
8203 # does not break anything, and helps significantly (at the cost of a little
8206 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8207 hardcode_libdir_flag_spec
='-R$libdir'
8209 hardcode_shlibpath_var
=no
8212 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8214 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8216 hardcode_minus_L
=yes
8217 hardcode_shlibpath_var
=no
8220 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8221 freebsd
* | dragonfly
*)
8222 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8223 hardcode_libdir_flag_spec
='-R$libdir'
8225 hardcode_shlibpath_var
=no
8229 if test "$GCC" = yes; then
8230 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'
8232 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'
8234 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8235 hardcode_libdir_separator
=:
8238 # hardcode_minus_L: Not really in the search PATH,
8239 # but as the default location of the library.
8240 hardcode_minus_L
=yes
8241 export_dynamic_flag_spec
='${wl}-E'
8245 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8246 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8248 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8250 if test "$with_gnu_ld" = no
; then
8251 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8252 hardcode_libdir_separator
=:
8255 export_dynamic_flag_spec
='${wl}-E'
8257 # hardcode_minus_L: Not really in the search PATH,
8258 # but as the default location of the library.
8259 hardcode_minus_L
=yes
8264 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8267 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8270 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8273 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8279 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8285 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8289 if test "$with_gnu_ld" = no
; then
8290 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8291 hardcode_libdir_separator
=:
8295 hardcode_libdir_flag_spec_ld
='+b $libdir'
8297 hardcode_shlibpath_var
=no
8301 export_dynamic_flag_spec
='${wl}-E'
8303 # hardcode_minus_L: Not really in the search PATH,
8304 # but as the default location of the library.
8305 hardcode_minus_L
=yes
8311 irix5
* | irix6
* | nonstopux
*)
8312 if test "$GCC" = yes; then
8313 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'
8315 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'
8316 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8318 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8319 hardcode_libdir_separator
=:
8320 link_all_deplibs
=yes
8323 netbsd
* | netbsdelf
*-gnu)
8324 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8325 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8327 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8329 hardcode_libdir_flag_spec
='-R$libdir'
8331 hardcode_shlibpath_var
=no
8335 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8337 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8338 hardcode_libdir_separator
=:
8339 hardcode_shlibpath_var
=no
8344 hardcode_shlibpath_var
=no
8345 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8346 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8347 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8348 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8349 export_dynamic_flag_spec
='${wl}-E'
8352 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8353 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8354 hardcode_libdir_flag_spec
='-R$libdir'
8357 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8358 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8365 hardcode_libdir_flag_spec
='-L$libdir'
8366 hardcode_minus_L
=yes
8367 allow_undefined_flag
=unsupported
8368 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'
8369 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8373 if test "$GCC" = yes; then
8374 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8375 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'
8377 allow_undefined_flag
=' -expect_unresolved \*'
8378 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'
8380 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8381 hardcode_libdir_separator
=:
8384 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8385 if test "$GCC" = yes; then
8386 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8387 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'
8388 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8390 allow_undefined_flag
=' -expect_unresolved \*'
8391 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'
8392 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8393 $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'
8395 # Both c and cxx compiler support -rpath directly
8396 hardcode_libdir_flag_spec
='-rpath $libdir'
8398 hardcode_libdir_separator
=:
8402 no_undefined_flag
=' -z text'
8403 if test "$GCC" = yes; then
8405 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8406 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8407 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8410 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8411 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8412 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8414 hardcode_libdir_flag_spec
='-R$libdir'
8415 hardcode_shlibpath_var
=no
8417 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8419 # The compiler driver will combine linker options so we
8420 # cannot just pass the convience library names through
8421 # without $wl, iff we do not link with $LD.
8422 # Luckily, gcc supports the same syntax we need for Sun Studio.
8423 # Supported since Solaris 2.6 (maybe 2.5.1?)
8426 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8428 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' ;;
8431 link_all_deplibs
=yes
8435 if test "x$host_vendor" = xsequent
; then
8436 # Use $CC to link under sequent, because it throws in some extra .o
8437 # files that make .init and .fini sections work.
8438 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8440 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8442 hardcode_libdir_flag_spec
='-L$libdir'
8444 hardcode_minus_L
=yes
8445 hardcode_shlibpath_var
=no
8449 case $host_vendor in
8451 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8452 hardcode_direct
=yes # is this really true???
8455 ## LD is ld it makes a PLAMLIB
8456 ## CC just makes a GrossModule.
8457 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8458 reload_cmds
='$CC -r -o $output$reload_objs'
8462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8466 runpath_var
='LD_RUN_PATH'
8467 hardcode_shlibpath_var
=no
8471 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8472 hardcode_shlibpath_var
=no
8473 export_dynamic_flag_spec
='-Bexport'
8477 if test -d /usr
/nec
; then
8478 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8479 hardcode_shlibpath_var
=no
8480 runpath_var
=LD_RUN_PATH
8481 hardcode_runpath_var
=yes
8486 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8487 no_undefined_flag
='${wl}-z,text'
8488 archive_cmds_need_lc
=no
8489 hardcode_shlibpath_var
=no
8490 runpath_var
='LD_RUN_PATH'
8492 if test "$GCC" = yes; then
8493 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8494 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8496 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8497 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8501 sysv5
* | sco3.2v5
* | sco5v6
*)
8502 # Note: We can NOT use -z defs as we might desire, because we do not
8503 # link with -lc, and that would cause any symbols used from libc to
8504 # always be unresolved, which means just about no library would
8505 # ever link correctly. If we're not using GNU ld we use -z text
8506 # though, which does catch some bad symbols but isn't as heavy-handed
8508 no_undefined_flag
='${wl}-z,text'
8509 allow_undefined_flag
='${wl}-z,nodefs'
8510 archive_cmds_need_lc
=no
8511 hardcode_shlibpath_var
=no
8512 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8513 hardcode_libdir_separator
=':'
8514 link_all_deplibs
=yes
8515 export_dynamic_flag_spec
='${wl}-Bexport'
8516 runpath_var
='LD_RUN_PATH'
8518 if test "$GCC" = yes; then
8519 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8520 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8523 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8529 hardcode_libdir_flag_spec
='-L$libdir'
8530 hardcode_shlibpath_var
=no
8539 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8540 echo "${ECHO_T}$ld_shlibs" >&6; }
8541 test "$ld_shlibs" = no
&& can_build_shared
=no
8544 # Do we need to explicitly link libc?
8546 case "x$archive_cmds_need_lc" in
8548 # Assume -lc should be added
8549 archive_cmds_need_lc
=yes
8551 if test "$enable_shared" = yes && test "$GCC" = yes; then
8552 case $archive_cmds in
8554 # FIXME: we may have to deal with multi-command sequences.
8557 # Test whether the compiler implicitly links with -lc since on some
8558 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8559 # to ld, don't add -lc before -lgcc.
8560 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8561 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8563 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8566 (eval $ac_compile) 2>&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } 2>conftest.err
; then
8572 libobjs
=conftest.
$ac_objext
8574 wl
=$lt_prog_compiler_wl
8575 pic_flag
=$lt_prog_compiler_pic
8581 lt_save_allow_undefined_flag
=$allow_undefined_flag
8582 allow_undefined_flag
=
8583 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8584 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }
8589 archive_cmds_need_lc
=no
8591 archive_cmds_need_lc
=yes
8593 allow_undefined_flag
=$lt_save_allow_undefined_flag
8595 cat conftest.err
1>&5
8598 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8599 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8606 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8607 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8609 libname_spec
='lib$name'
8617 shlibpath_overrides_runpath
=unknown
8619 dynamic_linker
="$host_os ld.so"
8620 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8621 if test "$GCC" = yes; then
8622 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8623 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8624 # if the path contains ";" then we assume it to be the separator
8625 # otherwise default to the standard path separator (i.e. ":") - it is
8626 # assumed that no part of a normal pathname contains ";" but that should
8627 # okay in the real world where ";" in dirpaths is itself problematic.
8628 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8630 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8633 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8635 need_lib_prefix
=unknown
8636 hardcode_into_libs
=no
8638 # when you set need_version to no, make sure it does not cause -set_version
8639 # flags to be left without arguments
8640 need_version
=unknown
8645 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8646 shlibpath_var
=LIBPATH
8648 # AIX 3 has no versioning support, so we append a major version to the name.
8649 soname_spec
='${libname}${release}${shared_ext}$major'
8656 hardcode_into_libs
=yes
8657 if test "$host_cpu" = ia64
; then
8658 # AIX 5 supports IA64
8659 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8660 shlibpath_var
=LD_LIBRARY_PATH
8662 # With GCC up to 2.95.x, collect2 would create an import file
8663 # for dependence libraries. The import file would start with
8664 # the line `#! .'. This would cause the generated library to
8665 # depend on `.', always an invalid library. This was fixed in
8666 # development snapshots of GCC prior to 3.0.
8668 aix4 | aix4.
[01] | aix4.
[01].
*)
8669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8671 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8678 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8679 # soname into executable. Probably we can add versioning support to
8680 # collect2, so additional links can be useful in future.
8681 if test "$aix_use_runtimelinking" = yes; then
8682 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8683 # instead of lib<name>.a to let people know that these are not
8684 # typical AIX shared libraries.
8685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8687 # We preserve .a as extension for shared libraries through AIX4.2
8688 # and later when we are not doing run time linking.
8689 library_names_spec
='${libname}${release}.a $libname.a'
8690 soname_spec
='${libname}${release}${shared_ext}$major'
8692 shlibpath_var
=LIBPATH
8697 library_names_spec
='$libname.ixlibrary $libname.a'
8698 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8699 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'
8703 library_names_spec
='${libname}${shared_ext}'
8704 dynamic_linker
="$host_os ld.so"
8705 shlibpath_var
=LIBRARY_PATH
8711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8712 soname_spec
='${libname}${release}${shared_ext}$major'
8713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8714 shlibpath_var
=LD_LIBRARY_PATH
8715 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8716 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8717 # the default ld.so.conf also contains /usr/contrib/lib and
8718 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8719 # libtool to hard-code these into programs
8722 cygwin
* | mingw
* | pw32
*)
8723 version_type
=windows
8728 case $GCC,$host_os in
8729 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8730 library_names_spec
='$libname.dll.a'
8731 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8732 postinstall_cmds
='base_file=`basename \${file}`~
8733 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8734 dldir=$destdir/`dirname \$dlpath`~
8735 test -d \$dldir || mkdir -p \$dldir~
8736 $install_prog $dir/$dlname \$dldir/$dlname~
8737 chmod a+x \$dldir/$dlname'
8738 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8739 dlpath=$dir/\$dldll~
8741 shlibpath_overrides_runpath
=yes
8745 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8746 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8747 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8750 # MinGW DLLs use traditional 'lib' prefix
8751 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8752 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8753 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8754 # It is most probably a Windows format PATH printed by
8755 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8756 # path with ; separators, and with drive letters. We can handle the
8757 # drive letters (cygwin fileutils understands them), so leave them,
8758 # especially as we might pass files found there to a mingw objdump,
8759 # which wouldn't understand a cygwinified path. Ahh.
8760 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8762 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8766 # pw32 DLLs use 'pw' prefix rather than 'lib'
8767 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8773 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8776 dynamic_linker
='Win32 ld.exe'
8777 # FIXME: first we should search . and the directory the executable is in
8781 darwin
* | rhapsody
*)
8782 dynamic_linker
="$host_os dyld"
8786 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8787 soname_spec
='${libname}${release}${major}$shared_ext'
8788 shlibpath_overrides_runpath
=yes
8789 shlibpath_var
=DYLD_LIBRARY_PATH
8790 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8791 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8792 if test "$GCC" = yes; then
8793 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"`
8795 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8797 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8805 soname_spec
='${libname}${release}${shared_ext}$major'
8806 shlibpath_var
=LD_LIBRARY_PATH
8813 freebsd
* | dragonfly
*)
8814 # DragonFly does not have aout. When/if they implement a new
8815 # versioning mechanism, adjust this.
8816 if test -x /usr
/bin
/objformat
; then
8817 objformat
=`/usr/bin/objformat`
8820 freebsd
[123]*) objformat
=aout
;;
8824 version_type
=freebsd-
$objformat
8825 case $version_type in
8827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8832 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8836 shlibpath_var
=LD_LIBRARY_PATH
8839 shlibpath_overrides_runpath
=yes
8841 freebsd3.
[01]* | freebsdelf3.
[01]*)
8842 shlibpath_overrides_runpath
=yes
8843 hardcode_into_libs
=yes
8845 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8846 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8847 shlibpath_overrides_runpath
=no
8848 hardcode_into_libs
=yes
8850 freebsd
*) # from 4.6 on
8851 shlibpath_overrides_runpath
=yes
8852 hardcode_into_libs
=yes
8861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8862 soname_spec
='${libname}${release}${shared_ext}$major'
8863 shlibpath_var
=LD_LIBRARY_PATH
8864 hardcode_into_libs
=yes
8867 hpux9
* | hpux10
* | hpux11
*)
8868 # Give a soname corresponding to the major version so that dld.sl refuses to
8869 # link against other versions.
8876 hardcode_into_libs
=yes
8877 dynamic_linker
="$host_os dld.so"
8878 shlibpath_var
=LD_LIBRARY_PATH
8879 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 if test "X$HPUX_IA64_MODE" = X32
; then
8883 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8885 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8887 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8891 hardcode_into_libs
=yes
8892 dynamic_linker
="$host_os dld.sl"
8893 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8894 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8896 soname_spec
='${libname}${release}${shared_ext}$major'
8897 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8902 dynamic_linker
="$host_os dld.sl"
8903 shlibpath_var
=SHLIB_PATH
8904 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8906 soname_spec
='${libname}${release}${shared_ext}$major'
8909 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8910 postinstall_cmds
='chmod 555 $lib'
8917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8918 soname_spec
='${libname}${release}${shared_ext}$major'
8919 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8920 shlibpath_var
=LD_LIBRARY_PATH
8921 shlibpath_overrides_runpath
=no
8922 hardcode_into_libs
=yes
8925 irix5
* | irix6
* | nonstopux
*)
8927 nonstopux
*) version_type
=nonstopux
;;
8929 if test "$lt_cv_prog_gnu_ld" = yes; then
8937 soname_spec
='${libname}${release}${shared_ext}$major'
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8940 irix5
* | nonstopux
*)
8944 case $LD in # libtool.m4 will add one of these switches to LD
8945 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8946 libsuff
= shlibsuff
= libmagic
=32-bit;;
8947 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8948 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8949 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8950 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8951 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8955 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8956 shlibpath_overrides_runpath
=no
8957 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8958 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8959 hardcode_into_libs
=yes
8962 # No shared lib support for Linux oldld, aout, or coff.
8963 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8967 # This must be Linux ELF.
8968 linux
* | k
*bsd
*-gnu)
8972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8973 soname_spec
='${libname}${release}${shared_ext}$major'
8974 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8975 shlibpath_var
=LD_LIBRARY_PATH
8976 shlibpath_overrides_runpath
=no
8977 # This implies no fast_install, which is unacceptable.
8978 # Some rework will be needed to allow for fast_install
8979 # before this can be enabled.
8980 hardcode_into_libs
=yes
8982 # Append ld.so.conf contents to the search path
8983 if test -f /etc
/ld.so.conf
; then
8984 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8985 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8988 # We used to test for /lib/ld.so.1 and disable shared libraries on
8989 # powerpc, because MkLinux only supported shared libraries with the
8990 # GNU dynamic linker. Since this was broken with cross compilers,
8991 # most powerpc-linux boxes support dynamic linking these days and
8992 # people can always --disable-shared, the test was removed, and we
8993 # assume the GNU/Linux dynamic linker is in use.
8994 dynamic_linker
='GNU/Linux ld.so'
9001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9002 soname_spec
='${libname}${release}${shared_ext}$major'
9003 shlibpath_var
=LD_LIBRARY_PATH
9004 shlibpath_overrides_runpath
=no
9005 hardcode_into_libs
=yes
9006 dynamic_linker
='NetBSD ld.elf_so'
9013 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9015 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9016 dynamic_linker
='NetBSD (a.out) ld.so'
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9019 soname_spec
='${libname}${release}${shared_ext}$major'
9020 dynamic_linker
='NetBSD ld.elf_so'
9022 shlibpath_var
=LD_LIBRARY_PATH
9023 shlibpath_overrides_runpath
=yes
9024 hardcode_into_libs
=yes
9029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9030 shlibpath_var
=LD_LIBRARY_PATH
9031 shlibpath_overrides_runpath
=yes
9038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9039 soname_spec
='${libname}${release}${shared_ext}$major'
9040 shlibpath_var
=LD_LIBRARY_PATH
9041 shlibpath_overrides_runpath
=yes
9046 sys_lib_dlsearch_path_spec
="/usr/lib"
9048 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9050 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9051 *) need_version
=no
;;
9053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9055 shlibpath_var
=LD_LIBRARY_PATH
9056 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9058 openbsd2.
[89] | openbsd2.
[89].
*)
9059 shlibpath_overrides_runpath
=no
9062 shlibpath_overrides_runpath
=yes
9066 shlibpath_overrides_runpath
=yes
9071 libname_spec
='$name'
9074 library_names_spec
='$libname${shared_ext} $libname.a'
9075 dynamic_linker
='OS/2 ld.exe'
9076 shlibpath_var
=LIBPATH
9079 osf3
* | osf4
* | osf5
*)
9083 soname_spec
='${libname}${release}${shared_ext}$major'
9084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9085 shlibpath_var
=LD_LIBRARY_PATH
9086 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9087 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 shlibpath_overrides_runpath
=yes
9098 hardcode_into_libs
=yes
9099 # ldd complains unless libraries are executable
9100 postinstall_cmds
='chmod +x $lib'
9105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9106 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9107 shlibpath_var
=LD_LIBRARY_PATH
9108 shlibpath_overrides_runpath
=yes
9109 if test "$with_gnu_ld" = yes; then
9117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9118 soname_spec
='${libname}${release}${shared_ext}$major'
9119 shlibpath_var
=LD_LIBRARY_PATH
9120 case $host_vendor in
9122 shlibpath_overrides_runpath
=no
9124 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9125 runpath_var
=LD_RUN_PATH
9133 shlibpath_overrides_runpath
=no
9134 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9140 if test -d /usr
/nec
;then
9142 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9143 soname_spec
='$libname${shared_ext}.$major'
9144 shlibpath_var
=LD_LIBRARY_PATH
9148 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9149 version_type
=freebsd-elf
9152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9153 soname_spec
='${libname}${release}${shared_ext}$major'
9154 shlibpath_var
=LD_LIBRARY_PATH
9155 hardcode_into_libs
=yes
9156 if test "$with_gnu_ld" = yes; then
9157 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9158 shlibpath_overrides_runpath
=no
9160 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9161 shlibpath_overrides_runpath
=yes
9164 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9168 sys_lib_dlsearch_path_spec
='/usr/lib'
9173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9174 soname_spec
='${libname}${release}${shared_ext}$major'
9175 shlibpath_var
=LD_LIBRARY_PATH
9182 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9183 echo "${ECHO_T}$dynamic_linker" >&6; }
9184 test "$dynamic_linker" = no
&& can_build_shared
=no
9186 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9187 if test "$GCC" = yes; then
9188 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9191 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9192 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9194 if test -n "$hardcode_libdir_flag_spec" || \
9195 test -n "$runpath_var" || \
9196 test "X$hardcode_automatic" = "Xyes" ; then
9198 # We can hardcode non-existant directories.
9199 if test "$hardcode_direct" != no
&&
9200 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9201 # have to relink, otherwise we might link with an installed library
9202 # when we should be linking with a yet-to-be-installed one
9203 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9204 test "$hardcode_minus_L" != no
; then
9205 # Linking always hardcodes the temporary library directory.
9206 hardcode_action
=relink
9208 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9209 hardcode_action
=immediate
9212 # We cannot hardcode anything, or else we can only hardcode existing
9214 hardcode_action
=unsupported
9216 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9217 echo "${ECHO_T}$hardcode_action" >&6; }
9219 if test "$hardcode_action" = relink
; then
9220 # Fast installation is not supported
9221 enable_fast_install
=no
9222 elif test "$shlibpath_overrides_runpath" = yes ||
9223 test "$enable_shared" = no
; then
9224 # Fast installation is not necessary
9225 enable_fast_install
=needless
9230 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9231 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9232 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9233 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9234 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9235 { echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6; }
9238 # FIXME - insert some real tests, host_os isn't really good enough
9241 if test -n "$STRIP" ; then
9242 striplib
="$STRIP -x"
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9251 { echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6; }
9257 if test "x$enable_dlopen" != xyes
; then
9258 enable_dlopen
=unknown
9259 enable_dlopen_self
=unknown
9260 enable_dlopen_self_static
=unknown
9267 lt_cv_dlopen
="load_add_on"
9269 lt_cv_dlopen_self
=yes
9273 lt_cv_dlopen
="LoadLibrary"
9278 lt_cv_dlopen
="dlopen"
9283 # if libdl is installed we need to link against it
9284 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9285 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 ac_check_lib_save_LIBS
=$LIBS
9291 cat >conftest.
$ac_ext <<_ACEOF
9294 cat confdefs.h
>>conftest.
$ac_ext
9295 cat >>conftest.
$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9313 rm -f conftest.
$ac_objext conftest
$ac_exeext
9314 if { (ac_try
="$ac_link"
9316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_link") 2>conftest.er1
9322 grep -v '^ *+' conftest.er1 >conftest.err
9324 cat conftest.err >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } && {
9327 test -z "$ac_c_werror_flag" ||
9328 test ! -s conftest.err
9329 } && test -s conftest$ac_exeext &&
9330 $as_test_x conftest$ac_exeext; then
9331 ac_cv_lib_dl_dlopen=yes
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.$ac_ext >&5
9336 ac_cv_lib_dl_dlopen=no
9339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9340 conftest$ac_exeext conftest.$ac_ext
9341 LIBS=$ac_check_lib_save_LIBS
9343 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9344 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9345 if test $ac_cv_lib_dl_dlopen = yes; then
9346 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9351 lt_cv_dlopen_self=yes
9358 { echo "$as_me:$LINENO: checking for shl_load" >&5
9359 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9360 if test "${ac_cv_func_shl_load+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 cat >conftest.$ac_ext <<_ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h. */
9369 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9371 #define shl_load innocuous_shl_load
9373 /* System header to define __stub macros and hopefully few prototypes,
9374 which can conflict with char shl_load (); below.
9375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9376 <limits.h> exists even on freestanding compilers. */
9379 # include <limits.h>
9381 # include <assert.h>
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9393 /* The GNU C library defines this for functions which it implements
9394 to always fail with ENOSYS. Some functions are actually named
9395 something starting with __ and the normal name is an alias. */
9396 #if defined __stub_shl_load || defined __stub___shl_load
9408 rm -f conftest.$ac_objext conftest$ac_exeext
9409 if { (ac_try="$ac_link"
9411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9412 *) ac_try_echo
=$ac_try;;
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_link") 2>conftest.er1
9417 grep -v '^ *+' conftest.er1
>conftest.err
9419 cat conftest.err
>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } && {
9422 test -z "$ac_c_werror_flag" ||
9423 test ! -s conftest.err
9424 } && test -s conftest
$ac_exeext &&
9425 $as_test_x conftest
$ac_exeext; then
9426 ac_cv_func_shl_load
=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.
$ac_ext >&5
9431 ac_cv_func_shl_load
=no
9434 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9435 conftest
$ac_exeext conftest.
$ac_ext
9437 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9438 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9439 if test $ac_cv_func_shl_load = yes; then
9440 lt_cv_dlopen
="shl_load"
9442 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9443 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9444 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9445 echo $ECHO_N "(cached) $ECHO_C" >&6
9447 ac_check_lib_save_LIBS
=$LIBS
9449 cat >conftest.
$ac_ext <<_ACEOF
9452 cat confdefs.h
>>conftest.
$ac_ext
9453 cat >>conftest.
$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9456 /* Override any GCC internal prototype to avoid an error.
9457 Use char because int might match the return type of a GCC
9458 builtin and then its argument prototype would still apply. */
9471 rm -f conftest.
$ac_objext conftest
$ac_exeext
9472 if { (ac_try
="$ac_link"
9474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_link") 2>conftest.er1
9480 grep -v '^ *+' conftest.er1 >conftest.err
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } && {
9485 test -z "$ac_c_werror_flag" ||
9486 test ! -s conftest.err
9487 } && test -s conftest$ac_exeext &&
9488 $as_test_x conftest$ac_exeext; then
9489 ac_cv_lib_dld_shl_load=yes
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9494 ac_cv_lib_dld_shl_load=no
9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9502 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9503 if test $ac_cv_lib_dld_shl_load = yes; then
9504 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9506 { echo "$as_me:$LINENO: checking for dlopen" >&5
9507 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9508 if test "${ac_cv_func_dlopen+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 cat >conftest.$ac_ext <<_ACEOF
9514 cat confdefs.h >>conftest.$ac_ext
9515 cat >>conftest.$ac_ext <<_ACEOF
9516 /* end confdefs.h. */
9517 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9519 #define dlopen innocuous_dlopen
9521 /* System header to define __stub macros and hopefully few prototypes,
9522 which can conflict with char dlopen (); below.
9523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9524 <limits.h> exists even on freestanding compilers. */
9527 # include <limits.h>
9529 # include <assert.h>
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9541 /* The GNU C library defines this for functions which it implements
9542 to always fail with ENOSYS. Some functions are actually named
9543 something starting with __ and the normal name is an alias. */
9544 #if defined __stub_dlopen || defined __stub___dlopen
9556 rm -f conftest.$ac_objext conftest$ac_exeext
9557 if { (ac_try="$ac_link"
9559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9560 *) ac_try_echo
=$ac_try;;
9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9563 (eval "$ac_link") 2>conftest.er1
9565 grep -v '^ *+' conftest.er1
>conftest.err
9567 cat conftest.err
>&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } && {
9570 test -z "$ac_c_werror_flag" ||
9571 test ! -s conftest.err
9572 } && test -s conftest
$ac_exeext &&
9573 $as_test_x conftest
$ac_exeext; then
9574 ac_cv_func_dlopen
=yes
9576 echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.
$ac_ext >&5
9579 ac_cv_func_dlopen
=no
9582 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9583 conftest
$ac_exeext conftest.
$ac_ext
9585 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9586 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9587 if test $ac_cv_func_dlopen = yes; then
9588 lt_cv_dlopen
="dlopen"
9590 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9591 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9592 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9593 echo $ECHO_N "(cached) $ECHO_C" >&6
9595 ac_check_lib_save_LIBS
=$LIBS
9597 cat >conftest.
$ac_ext <<_ACEOF
9600 cat confdefs.h
>>conftest.
$ac_ext
9601 cat >>conftest.
$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9619 rm -f conftest.
$ac_objext conftest
$ac_exeext
9620 if { (ac_try
="$ac_link"
9622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9623 *) ac_try_echo=$ac_try;;
9625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9626 (eval "$ac_link") 2>conftest.er1
9628 grep -v '^ *+' conftest.er1 >conftest.err
9630 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } && {
9633 test -z "$ac_c_werror_flag" ||
9634 test ! -s conftest.err
9635 } && test -s conftest$ac_exeext &&
9636 $as_test_x conftest$ac_exeext; then
9637 ac_cv_lib_dl_dlopen=yes
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.$ac_ext >&5
9642 ac_cv_lib_dl_dlopen=no
9645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_lib_save_LIBS
9649 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9650 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9651 if test $ac_cv_lib_dl_dlopen = yes; then
9652 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9654 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9655 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9656 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 ac_check_lib_save_LIBS=$LIBS
9661 cat >conftest.$ac_ext <<_ACEOF
9664 cat confdefs.h >>conftest.$ac_ext
9665 cat >>conftest.$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9683 rm -f conftest.$ac_objext conftest$ac_exeext
9684 if { (ac_try="$ac_link"
9686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9687 *) ac_try_echo
=$ac_try;;
9689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9690 (eval "$ac_link") 2>conftest.er1
9692 grep -v '^ *+' conftest.er1
>conftest.err
9694 cat conftest.err
>&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } && {
9697 test -z "$ac_c_werror_flag" ||
9698 test ! -s conftest.err
9699 } && test -s conftest
$ac_exeext &&
9700 $as_test_x conftest
$ac_exeext; then
9701 ac_cv_lib_svld_dlopen
=yes
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.
$ac_ext >&5
9706 ac_cv_lib_svld_dlopen
=no
9709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9710 conftest
$ac_exeext conftest.
$ac_ext
9711 LIBS
=$ac_check_lib_save_LIBS
9713 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9714 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9715 if test $ac_cv_lib_svld_dlopen = yes; then
9716 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9718 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9719 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9720 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_lib_save_LIBS
=$LIBS
9725 cat >conftest.
$ac_ext <<_ACEOF
9728 cat confdefs.h
>>conftest.
$ac_ext
9729 cat >>conftest.
$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9747 rm -f conftest.
$ac_objext conftest
$ac_exeext
9748 if { (ac_try
="$ac_link"
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_link") 2>conftest.er1
9756 grep -v '^ *+' conftest.er1 >conftest.err
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && {
9761 test -z "$ac_c_werror_flag" ||
9762 test ! -s conftest.err
9763 } && test -s conftest$ac_exeext &&
9764 $as_test_x conftest$ac_exeext; then
9765 ac_cv_lib_dld_dld_link=yes
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.$ac_ext >&5
9770 ac_cv_lib_dld_dld_link=no
9773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9774 conftest$ac_exeext conftest.$ac_ext
9775 LIBS=$ac_check_lib_save_LIBS
9777 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9778 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9779 if test $ac_cv_lib_dld_dld_link = yes; then
9780 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9801 if test "x$lt_cv_dlopen" != xno; then
9807 case $lt_cv_dlopen in
9809 save_CPPFLAGS="$CPPFLAGS"
9810 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9812 save_LDFLAGS="$LDFLAGS"
9813 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9816 LIBS="$lt_cv_dlopen_libs $LIBS"
9818 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9819 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9820 if test "${lt_cv_dlopen_self+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 if test "$cross_compiling" = yes; then :
9824 lt_cv_dlopen_self=cross
9826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9827 lt_status=$lt_dlunknown
9828 cat > conftest.$ac_ext <<EOF
9829 #line 9829 "configure"
9830 #include "confdefs.h"
9839 # define LT_DLGLOBAL RTLD_GLOBAL
9842 # define LT_DLGLOBAL DL_GLOBAL
9844 # define LT_DLGLOBAL 0
9848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9849 find out it does not work in some platform. */
9850 #ifndef LT_DLLAZY_OR_NOW
9852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9855 # define LT_DLLAZY_OR_NOW DL_LAZY
9858 # define LT_DLLAZY_OR_NOW RTLD_NOW
9861 # define LT_DLLAZY_OR_NOW DL_NOW
9863 # define LT_DLLAZY_OR_NOW 0
9871 extern "C" void exit (int);
9874 void fnord() { int i=42;}
9877 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9878 int status = $lt_dlunknown;
9882 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9883 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9884 /* dlclose (self); */
9892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9893 (eval $ac_link) 2>&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9897 (./conftest; exit; ) >&5 2>/dev/null
9900 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9901 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9902 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9905 # compilation failed
9906 lt_cv_dlopen_self=no
9913 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9914 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9916 if test "x$lt_cv_dlopen_self" = xyes; then
9917 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9918 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9919 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9920 if test "${lt_cv_dlopen_self_static+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 if test "$cross_compiling" = yes; then :
9924 lt_cv_dlopen_self_static=cross
9926 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9927 lt_status=$lt_dlunknown
9928 cat > conftest.$ac_ext <<EOF
9929 #line 9929 "configure"
9930 #include "confdefs.h"
9939 # define LT_DLGLOBAL RTLD_GLOBAL
9942 # define LT_DLGLOBAL DL_GLOBAL
9944 # define LT_DLGLOBAL 0
9948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9949 find out it does not work in some platform. */
9950 #ifndef LT_DLLAZY_OR_NOW
9952 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9955 # define LT_DLLAZY_OR_NOW DL_LAZY
9958 # define LT_DLLAZY_OR_NOW RTLD_NOW
9961 # define LT_DLLAZY_OR_NOW DL_NOW
9963 # define LT_DLLAZY_OR_NOW 0
9971 extern "C" void exit (int);
9974 void fnord() { int i=42;}
9977 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9978 int status = $lt_dlunknown;
9982 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9983 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9984 /* dlclose (self); */
9992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9993 (eval $ac_link) 2>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9997 (./conftest; exit; ) >&5 2>/dev/null
10000 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10001 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10002 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10005 # compilation failed
10006 lt_cv_dlopen_self_static=no
10013 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10014 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10017 CPPFLAGS="$save_CPPFLAGS"
10018 LDFLAGS="$save_LDFLAGS"
10023 case $lt_cv_dlopen_self in
10024 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10025 *) enable_dlopen_self=unknown ;;
10028 case $lt_cv_dlopen_self_static in
10029 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10030 *) enable_dlopen_self_static=unknown ;;
10035 # Report which library types will actually be built
10036 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10037 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10038 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10039 echo "${ECHO_T}$can_build_shared" >&6; }
10041 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10042 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10043 test "$can_build_shared" = "no" && enable_shared=no
10045 # On AIX, shared libraries and static libraries use the same namespace, and
10046 # are all built from PIC.
10049 test "$enable_shared" = yes && enable_static=no
10050 if test -n "$RANLIB"; then
10051 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10052 postinstall_cmds='$RANLIB $lib'
10057 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10058 test "$enable_shared" = yes && enable_static=no
10062 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10063 echo "${ECHO_T}$enable_shared" >&6; }
10065 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10066 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10067 # Make sure either enable_shared or enable_static is yes.
10068 test "$enable_shared" = yes || enable_static=yes
10069 { echo "$as_me:$LINENO: result: $enable_static" >&5
10070 echo "${ECHO_T}$enable_static" >&6; }
10072 # The else clause should only fire when bootstrapping the
10073 # libtool distribution, otherwise you forgot to ship ltmain.sh
10074 # with your package, and you will get complaints that there are
10075 # no rules to generate ltmain.sh.
10076 if test -f "$ltmain"; then
10077 # See if we are running on zsh, and set the options which allow our commands through
10078 # without removal of \ escapes.
10079 if test -n "${ZSH_VERSION+set}" ; then
10080 setopt NO_GLOB_SUBST
10082 # Now quote all the things that may contain metacharacters while being
10083 # careful not to overquote the AC_SUBSTed values. We take copies of the
10084 # variables and quote the copies for generation of the libtool script.
10085 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10087 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10088 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10089 deplibs_check_method reload_flag reload_cmds need_locks \
10090 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10091 lt_cv_sys_global_symbol_to_c_name_address \
10092 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10093 old_postinstall_cmds old_postuninstall_cmds \
10097 lt_prog_compiler_wl \
10098 lt_prog_compiler_pic \
10099 lt_prog_compiler_static \
10100 lt_prog_compiler_no_builtin_flag \
10101 export_dynamic_flag_spec \
10102 thread_safe_flag_spec \
10103 whole_archive_flag_spec \
10104 enable_shared_with_static_runtimes \
10106 old_archive_from_new_cmds \
10111 compiler_lib_search_path \
10113 archive_expsym_cmds \
10115 postuninstall_cmds \
10116 old_archive_from_expsyms_cmds \
10117 allow_undefined_flag \
10118 no_undefined_flag \
10119 export_symbols_cmds \
10120 hardcode_libdir_flag_spec \
10121 hardcode_libdir_flag_spec_ld \
10122 hardcode_libdir_separator \
10123 hardcode_automatic \
10125 module_expsym_cmds \
10126 lt_cv_prog_compiler_c_o \
10128 include_expsyms; do
10131 old_archive_cmds | \
10132 old_archive_from_new_cmds | \
10134 archive_expsym_cmds | \
10136 module_expsym_cmds | \
10137 old_archive_from_expsyms_cmds | \
10138 export_symbols_cmds | \
10139 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10140 postinstall_cmds | postuninstall_cmds | \
10141 old_postinstall_cmds | old_postuninstall_cmds | \
10142 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10143 # Double-quote double-evaled strings.
10144 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10147 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10153 *'\$0 --fallback-echo"')
10154 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10158 cfgfile="${ofile}T"
10159 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10161 { echo "$as_me:$LINENO: creating $ofile" >&5
10162 echo "$as_me: creating $ofile" >&6;}
10164 cat <<__EOF__ >> "$cfgfile"
10167 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10168 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10169 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10171 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10172 # Free Software Foundation, Inc.
10174 # This file is part of GNU Libtool:
10175 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10177 # This program is free software; you can redistribute it and/or modify
10178 # it under the terms of the GNU General Public License as published by
10179 # the Free Software Foundation; either version 2 of the License, or
10180 # (at your option) any later version.
10182 # This program is distributed in the hope that it will be useful, but
10183 # WITHOUT ANY WARRANTY; without even the implied warranty of
10184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10185 # General Public License for more details.
10187 # You should have received a copy of the GNU General Public License
10188 # along with this program; if not, write to the Free Software
10189 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10191 # As a special exception to the GNU General Public License, if you
10192 # distribute this file as part of a program that contains a
10193 # configuration script generated by Autoconf, you may include it under
10194 # the same distribution terms that you use for the rest of that program.
10196 # A sed program that does not truncate output.
10199 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10200 Xsed="$SED -e 1s/^X//"
10202 # The HP-UX ksh and POSIX shell print the target directory to stdout
10203 # if CDPATH is set.
10204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10206 # The names of the tagged configurations supported by this script.
10209 # ### BEGIN LIBTOOL CONFIG
10211 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10213 # Shell to use when invoking shell scripts.
10216 # Whether or not to build shared libraries.
10217 build_libtool_libs=$enable_shared
10219 # Whether or not to build static libraries.
10220 build_old_libs=$enable_static
10222 # Whether or not to add -lc for building shared libraries.
10223 build_libtool_need_lc=$archive_cmds_need_lc
10225 # Whether or not to disallow shared libs when runtime libs are static
10226 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10228 # Whether or not to optimize for fast installation.
10229 fast_install=$enable_fast_install
10232 host_alias=$host_alias
10236 # The build system.
10237 build_alias=$build_alias
10241 # An echo program that does not interpret backslashes.
10246 AR_FLAGS=$lt_AR_FLAGS
10251 # LTCC compiler flags.
10252 LTCFLAGS=$lt_LTCFLAGS
10254 # A language-specific compiler.
10257 # Is the compiler the GNU C compiler?
10263 # The linker used to build libraries.
10266 # Whether we need hard or soft links.
10269 # A BSD-compatible nm program.
10272 # A symbol stripping program
10275 # Used to examine libraries when file_magic_cmd begins "file"
10276 MAGIC_CMD=$MAGIC_CMD
10278 # Used on cygwin: DLL creation program.
10281 # Used on cygwin: object dumper.
10284 # Used on cygwin: assembler.
10287 # The name of the directory that contains temporary libtool files.
10290 # How to create reloadable object files.
10291 reload_flag=$lt_reload_flag
10292 reload_cmds=$lt_reload_cmds
10294 # How to pass a linker flag through the compiler.
10295 wl=$lt_lt_prog_compiler_wl
10297 # Object file suffix (normally "o").
10298 objext="$ac_objext"
10300 # Old archive suffix (normally "a").
10303 # Shared library suffix (normally ".so").
10304 shrext_cmds='$shrext_cmds'
10306 # Executable file suffix (normally "").
10309 # Additional compiler flags for building library objects.
10310 pic_flag=$lt_lt_prog_compiler_pic
10313 # What is the maximum length of a command?
10314 max_cmd_len=$lt_cv_sys_max_cmd_len
10316 # Does compiler simultaneously support -c and -o options?
10317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10319 # Must we lock files when doing compilation?
10320 need_locks=$lt_need_locks
10322 # Do we need the lib prefix for modules?
10323 need_lib_prefix=$need_lib_prefix
10325 # Do we need a version for libraries?
10326 need_version=$need_version
10328 # Whether dlopen is supported.
10329 dlopen_support=$enable_dlopen
10331 # Whether dlopen of programs is supported.
10332 dlopen_self=$enable_dlopen_self
10334 # Whether dlopen of statically linked programs is supported.
10335 dlopen_self_static=$enable_dlopen_self_static
10337 # Compiler flag to prevent dynamic linking.
10338 link_static_flag=$lt_lt_prog_compiler_static
10340 # Compiler flag to turn off builtin functions.
10341 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10343 # Compiler flag to allow reflexive dlopens.
10344 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10346 # Compiler flag to generate shared objects directly from archives.
10347 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10349 # Compiler flag to generate thread-safe objects.
10350 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10352 # Library versioning type.
10353 version_type=$version_type
10355 # Format of library name prefix.
10356 libname_spec=$lt_libname_spec
10358 # List of archive names. First name is the real one, the rest are links.
10359 # The last name is the one that the linker finds with -lNAME.
10360 library_names_spec=$lt_library_names_spec
10362 # The coded name of the library, if different from the real name.
10363 soname_spec=$lt_soname_spec
10365 # Commands used to build and install an old-style archive.
10367 old_archive_cmds=$lt_old_archive_cmds
10368 old_postinstall_cmds=$lt_old_postinstall_cmds
10369 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10371 # Create an old-style archive from a shared archive.
10372 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10374 # Create a temporary old-style archive to link instead of a shared archive.
10375 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10377 # Commands used to build and install a shared archive.
10378 archive_cmds=$lt_archive_cmds
10379 archive_expsym_cmds=$lt_archive_expsym_cmds
10380 postinstall_cmds=$lt_postinstall_cmds
10381 postuninstall_cmds=$lt_postuninstall_cmds
10383 # Commands used to build a loadable module (assumed same as above if empty)
10384 module_cmds=$lt_module_cmds
10385 module_expsym_cmds=$lt_module_expsym_cmds
10387 # Commands to strip libraries.
10388 old_striplib=$lt_old_striplib
10389 striplib=$lt_striplib
10391 # Dependencies to place before the objects being linked to create a
10393 predep_objects=$lt_predep_objects
10395 # Dependencies to place after the objects being linked to create a
10397 postdep_objects=$lt_postdep_objects
10399 # Dependencies to place before the objects being linked to create a
10401 predeps=$lt_predeps
10403 # Dependencies to place after the objects being linked to create a
10405 postdeps=$lt_postdeps
10407 # The library search path used internally by the compiler when linking
10408 # a shared library.
10409 compiler_lib_search_path=$lt_compiler_lib_search_path
10411 # Method to check whether dependent libraries are shared objects.
10412 deplibs_check_method=$lt_deplibs_check_method
10414 # Command to use when deplibs_check_method == file_magic.
10415 file_magic_cmd=$lt_file_magic_cmd
10417 # Flag that allows shared libraries with undefined symbols to be built.
10418 allow_undefined_flag=$lt_allow_undefined_flag
10420 # Flag that forces no undefined symbols.
10421 no_undefined_flag=$lt_no_undefined_flag
10423 # Commands used to finish a libtool library installation in a directory.
10424 finish_cmds=$lt_finish_cmds
10426 # Same as above, but a single script fragment to be evaled but not shown.
10427 finish_eval=$lt_finish_eval
10429 # Take the output of nm and produce a listing of raw symbols and C names.
10430 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10432 # Transform the output of nm in a proper C declaration
10433 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10435 # Transform the output of nm in a C name address pair
10436 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10438 # This is the shared library runtime path variable.
10439 runpath_var=$runpath_var
10441 # This is the shared library path variable.
10442 shlibpath_var=$shlibpath_var
10444 # Is shlibpath searched before the hard-coded library search path?
10445 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10447 # How to hardcode a shared library path into an executable.
10448 hardcode_action=$hardcode_action
10450 # Whether we should hardcode library paths into libraries.
10451 hardcode_into_libs=$hardcode_into_libs
10453 # Flag to hardcode \$libdir into a binary during linking.
10454 # This must work even if \$libdir does not exist.
10455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10457 # If ld is used when linking, flag to hardcode \$libdir into
10458 # a binary during linking. This must work even if \$libdir does
10460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10462 # Whether we need a single -rpath flag with a separated argument.
10463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10465 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10466 # resulting binary.
10467 hardcode_direct=$hardcode_direct
10469 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10470 # resulting binary.
10471 hardcode_minus_L=$hardcode_minus_L
10473 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10474 # the resulting binary.
10475 hardcode_shlibpath_var=$hardcode_shlibpath_var
10477 # Set to yes if building a shared library automatically hardcodes DIR into the library
10478 # and all subsequent libraries and executables linked against it.
10479 hardcode_automatic=$hardcode_automatic
10481 # Variables whose values should be saved in libtool wrapper scripts and
10482 # restored at relink time.
10483 variables_saved_for_relink="$variables_saved_for_relink"
10485 # Whether libtool must link a program against all its dependency libraries.
10486 link_all_deplibs=$link_all_deplibs
10488 # Compile-time system search path for libraries
10489 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10491 # Run-time system search path for libraries
10492 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10494 # Fix the shell variable \$srcfile for the compiler.
10495 fix_srcfile_path="$fix_srcfile_path"
10497 # Set to yes if exported symbols are required.
10498 always_export_symbols=$always_export_symbols
10500 # The commands to list exported symbols.
10501 export_symbols_cmds=$lt_export_symbols_cmds
10503 # The commands to extract the exported symbol list from a shared archive.
10504 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10506 # Symbols that should not be listed in the preloaded symbols.
10507 exclude_expsyms=$lt_exclude_expsyms
10509 # Symbols that must always be exported.
10510 include_expsyms=$lt_include_expsyms
10512 # ### END LIBTOOL CONFIG
10519 cat <<\EOF >> "$cfgfile"
10521 # AIX sometimes has problems with the GCC collect2 program. For some
10522 # reason, if we set the COLLECT_NAMES environment variable, the problems
10523 # vanish in a puff of smoke.
10524 if test "X${COLLECT_NAMES+set}" != Xset; then
10526 export COLLECT_NAMES
10532 # We use sed instead of cat because bash on DJGPP gets confused if
10533 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10534 # text mode, it properly converts lines to CR/LF. This bash problem
10535 # is reportedly fixed, but why not run on old versions too?
10536 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10538 mv -f "$cfgfile" "$ofile" || \
10539 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10543 # If there is no Makefile yet, we rely on a make rule to execute
10544 # `config.status
--recheck' to rerun these tests and create the
10545 # libtool script then.
10546 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10547 if test -f "$ltmain_in"; then
10548 test -f Makefile && make "$ltmain"
10554 ac_cpp='$CPP $CPPFLAGS'
10555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10556 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10562 # Check whether --with-tags was given.
10563 if test "${with_tags+set}" = set; then
10564 withval=$with_tags; tagnames="$withval"
10568 if test -f "$ltmain" && test -n "$tagnames"; then
10569 if test ! -f "${ofile}"; then
10570 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10571 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10574 if test -z "$LTCC"; then
10575 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10576 if test -z "$LTCC"; then
10577 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10578 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10580 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10581 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10584 if test -z "$LTCFLAGS"; then
10585 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10588 # Extract list of available tagged configurations in $ofile.
10589 # Note that this assumes the entire list is on one line.
10590 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10592 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10593 for tagname in $tagnames; do
10595 # Check whether tagname contains only valid characters
10596 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10598 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10599 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10600 { (exit 1); exit 1; }; }
10604 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10606 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10607 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10608 { (exit 1); exit 1; }; }
10611 # Update the list of available tags.
10612 if test -n "$tagname"; then
10613 echo appending configuration tag \"$tagname\" to $ofile
10617 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10618 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10619 (test "X$CXX" != "Xg++"))) ; then
10621 ac_cpp='$CXXCPP $CPPFLAGS'
10622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10629 archive_cmds_need_lc_CXX=no
10630 allow_undefined_flag_CXX=
10631 always_export_symbols_CXX=no
10632 archive_expsym_cmds_CXX=
10633 export_dynamic_flag_spec_CXX=
10634 hardcode_direct_CXX=no
10635 hardcode_libdir_flag_spec_CXX=
10636 hardcode_libdir_flag_spec_ld_CXX=
10637 hardcode_libdir_separator_CXX=
10638 hardcode_minus_L_CXX=no
10639 hardcode_shlibpath_var_CXX=unsupported
10640 hardcode_automatic_CXX=no
10642 module_expsym_cmds_CXX=
10643 link_all_deplibs_CXX=unknown
10644 old_archive_cmds_CXX=$old_archive_cmds
10645 no_undefined_flag_CXX=
10646 whole_archive_flag_spec_CXX=
10647 enable_shared_with_static_runtimes_CXX=no
10649 # Dependencies to place before and after the object being linked:
10650 predep_objects_CXX=
10651 postdep_objects_CXX=
10654 compiler_lib_search_path_CXX=
10656 # Source file extension for C++ test sources.
10659 # Object file extension for compiled C++ test sources.
10663 # Code to be used in simple compile tests
10664 lt_simple_compile_test_code="int some_variable = 0;\n"
10666 # Code to be used in simple link tests
10667 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10669 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10671 # If no C compiler was specified, use CC.
10674 # If no C compiler flags were specified, use CFLAGS.
10675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10677 # Allow CC to be a program name with arguments.
10681 # save warnings/boilerplate of simple test code
10682 ac_outfile=conftest.$ac_objext
10683 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10684 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10685 _lt_compiler_boilerplate=`cat conftest.err
`
10688 ac_outfile=conftest.$ac_objext
10689 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10690 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10691 _lt_linker_boilerplate=`cat conftest.err
`
10695 # Allow CC to be a program name with arguments.
10700 lt_save_with_gnu_ld=$with_gnu_ld
10701 lt_save_path_LD=$lt_cv_path_LD
10702 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10703 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10705 $as_unset lt_cv_prog_gnu_ld
10707 if test -n "${lt_cv_path_LDCXX+set}"; then
10708 lt_cv_path_LD=$lt_cv_path_LDCXX
10710 $as_unset lt_cv_path_LD
10712 test -z "${LDCXX+set}" || LD=$LDCXX
10716 for cc_temp in $compiler""; do
10718 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10719 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10724 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10727 # We don't want -fno-exception wen compiling C++ code, so set the
10728 # no_builtin_flag separately
10729 if test "$GXX" = yes; then
10730 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10732 lt_prog_compiler_no_builtin_flag_CXX=
10735 if test "$GXX" = yes; then
10736 # Set up default GNU C++ configuration
10739 # Check whether --with-gnu-ld was given.
10740 if test "${with_gnu_ld+set}" = set; then
10741 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10747 if test "$GCC" = yes; then
10748 # Check if gcc -print-prog-name=ld gives a path.
10749 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10750 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10753 # gcc leaves a trailing carriage return which upsets mingw
10754 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10756 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10759 # Accept absolute paths.
10761 re_direlt='/[^/][^/]*/\.\./'
10762 # Canonicalize the pathname of ld
10763 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10764 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10765 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10767 test -z "$LD" && LD="$ac_prog"
10770 # If it fails, then pretend we aren't using GCC.
10774 # If it is relative, then search for the first ld in PATH.
10775 with_gnu_ld=unknown
10778 elif test "$with_gnu_ld" = yes; then
10779 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10780 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10782 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10783 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10785 if test "${lt_cv_path_LD+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10788 if test -z "$LD"; then
10789 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10790 for ac_dir in $PATH; do
10792 test -z "$ac_dir" && ac_dir=.
10793 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10794 lt_cv_path_LD="$ac_dir/$ac_prog"
10795 # Check to see if the program is GNU ld. I'd rather use --version,
10796 # but apparently some variants of GNU ld only accept -v.
10797 # Break only if it was the GNU/non-GNU ld that we prefer.
10798 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10799 *GNU* | *'with BFD'*)
10800 test "$with_gnu_ld" != no && break
10803 test "$with_gnu_ld" != yes && break
10810 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10814 LD="$lt_cv_path_LD"
10815 if test -n "$LD"; then
10816 { echo "$as_me:$LINENO: result: $LD" >&5
10817 echo "${ECHO_T}$LD" >&6; }
10819 { echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6; }
10822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10824 { (exit 1); exit 1; }; }
10825 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10831 case `$LD -v 2>&1 </dev
/null
` in
10832 *GNU* | *'with BFD'*)
10833 lt_cv_prog_gnu_ld=yes
10836 lt_cv_prog_gnu_ld=no
10840 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10841 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10842 with_gnu_ld=$lt_cv_prog_gnu_ld
10846 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10847 # archiving commands below assume that GNU ld is being used.
10848 if test "$with_gnu_ld" = yes; then
10849 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10850 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'
10852 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10855 # If archive_cmds runs LD, not CC, wlarc should be empty
10856 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10857 # investigate it a little bit more. (MM)
10860 # ancient GNU ld didn't support --whole-archive et. al.
10861 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10862 grep 'no-whole-archive' > /dev/null; then
10863 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10865 whole_archive_flag_spec_CXX=
10871 # A generic and very simple default shared library creation
10872 # command for GNU C++ for the case where it uses the native
10873 # linker, instead of GNU ld. If possible, this setting should
10874 # overridden to take advantage of the native linker features on
10875 # the platform it is being used on.
10876 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10879 # Commands to make compiler produce verbose output that lists
10880 # what "hidden" libraries, object files and flags are used when
10881 # linking a shared library.
10882 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10890 # PORTME: fill in a description of your system's C++ link characteristics
10891 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10892 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10896 # FIXME: insert proper C++ library support
10900 if test "$host_cpu" = ia64; then
10901 # On IA64, the linker does run time linking by default, so we don't
10902 # have to do anything special.
10903 aix_use_runtimelinking=no
10904 exp_sym_flag='-Bexport'
10907 aix_use_runtimelinking=no
10909 # Test if we are trying to use run time linking or normal
10910 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10911 # need to do runtime linking.
10912 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10913 for ld_flag in $LDFLAGS; do
10916 aix_use_runtimelinking=yes
10924 exp_sym_flag='-bexport'
10925 no_entry_flag='-bnoentry'
10928 # When large executables or shared objects are built, AIX ld can
10929 # have problems creating the table of contents. If linking a library
10930 # or program results in "error TOC overflow" add -mminimal-toc to
10931 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10932 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10934 archive_cmds_CXX=''
10935 hardcode_direct_CXX=yes
10936 hardcode_libdir_separator_CXX=':'
10937 link_all_deplibs_CXX=yes
10939 if test "$GXX" = yes; then
10940 case $host_os in aix4.[012]|aix4.[012].*)
10941 # We only want to do this on AIX 4.2 and lower, the check
10942 # below for broken collect2 doesn't work under 4.3+
10943 collect2name=`${CC} -print-prog-name=collect2
`
10944 if test -f "$collect2name" && \
10945 strings "$collect2name" | grep resolve_lib_name >/dev/null
10947 # We have reworked collect2
10948 hardcode_direct_CXX=yes
10950 # We have old collect2
10951 hardcode_direct_CXX=unsupported
10952 # It fails to find uninstalled libraries when the uninstalled
10953 # path is not listed in the libpath. Setting hardcode_minus_L
10954 # to unsupported forces relinking
10955 hardcode_minus_L_CXX=yes
10956 hardcode_libdir_flag_spec_CXX='-L$libdir'
10957 hardcode_libdir_separator_CXX=
10961 shared_flag='-shared'
10962 if test "$aix_use_runtimelinking" = yes; then
10963 shared_flag="$shared_flag "'${wl}-G'
10967 if test "$host_cpu" = ia64; then
10968 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10969 # chokes on -Wl,-G. The following line is correct:
10972 if test "$aix_use_runtimelinking" = yes; then
10973 shared_flag='${wl}-G'
10975 shared_flag='${wl}-bM:SRE'
10980 # It seems that -bexpall does not export symbols beginning with
10981 # underscore (_), so it is better to generate a list of symbols to export.
10982 always_export_symbols_CXX=yes
10983 if test "$aix_use_runtimelinking" = yes; then
10984 # Warning - without using the other runtime loading flags (-brtl),
10985 # -berok will link without error, but may produce a broken library.
10986 allow_undefined_flag_CXX='-berok'
10987 # Determine the default libpath from the value encoded in an empty executable.
10988 cat >conftest.$ac_ext <<_ACEOF
10991 cat confdefs.h >>conftest.$ac_ext
10992 cat >>conftest.$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
11003 rm -f conftest.$ac_objext conftest$ac_exeext
11004 if { (ac_try="$ac_link"
11005 case "(($ac_try" in
11006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11007 *) ac_try_echo
=$ac_try;;
11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010 (eval "$ac_link") 2>conftest.er1
11012 grep -v '^ *+' conftest.er1
>conftest.err
11014 cat conftest.err
>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && {
11017 test -z "$ac_cxx_werror_flag" ||
11018 test ! -s conftest.err
11019 } && test -s conftest
$ac_exeext &&
11020 $as_test_x conftest
$ac_exeext; then
11022 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11024 # Check for a 64-bit object if we didn't find anything.
11025 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; }
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11034 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11035 conftest
$ac_exeext conftest.
$ac_ext
11036 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11038 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11040 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"
11042 if test "$host_cpu" = ia64
; then
11043 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11044 allow_undefined_flag_CXX
="-z nodefs"
11045 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"
11047 # Determine the default libpath from the value encoded in an empty executable.
11048 cat >conftest.
$ac_ext <<_ACEOF
11051 cat confdefs.h
>>conftest.
$ac_ext
11052 cat >>conftest.
$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11063 rm -f conftest.
$ac_objext conftest
$ac_exeext
11064 if { (ac_try
="$ac_link"
11065 case "(($ac_try" in
11066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11067 *) ac_try_echo=$ac_try;;
11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11070 (eval "$ac_link") 2>conftest.er1
11072 grep -v '^ *+' conftest.er1 >conftest.err
11074 cat conftest.err >&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && {
11077 test -z "$ac_cxx_werror_flag" ||
11078 test ! -s conftest.err
11079 } && test -s conftest$ac_exeext &&
11080 $as_test_x conftest$ac_exeext; then
11082 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11084 # Check for a 64-bit object if we didn't find anything.
11085 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; }
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11095 conftest$ac_exeext conftest.$ac_ext
11096 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11098 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11099 # Warning - without using the other run time loading flags,
11100 # -berok will link without error, but may produce a broken library.
11101 no_undefined_flag_CXX=' ${wl}-bernotok'
11102 allow_undefined_flag_CXX=' ${wl}-berok'
11103 # Exported symbols can be pulled into shared objects from archives
11104 whole_archive_flag_spec_CXX='$convenience'
11105 archive_cmds_need_lc_CXX=yes
11106 # This is similar to how AIX traditionally builds its shared libraries.
11107 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'
11113 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11114 allow_undefined_flag_CXX=unsupported
11115 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11116 # support --undefined. This deserves some investigation. FIXME
11117 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11124 case $cc_basename in
11126 # FIXME: insert proper C++ library support
11132 cygwin* | mingw* | pw32*)
11133 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11134 # as there is no search path for DLLs.
11135 hardcode_libdir_flag_spec_CXX='-L$libdir'
11136 allow_undefined_flag_CXX=unsupported
11137 always_export_symbols_CXX=no
11138 enable_shared_with_static_runtimes_CXX=yes
11140 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11141 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'
11142 # If the export-symbols file already is a .def file (1st line
11143 # is EXPORTS), use it as is; otherwise, prepend...
11144 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11145 cp $export_symbols $output_objdir/$soname.def;
11147 echo EXPORTS > $output_objdir/$soname.def;
11148 cat $export_symbols >> $output_objdir/$soname.def;
11150 $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'
11155 darwin* | rhapsody*)
11157 rhapsody* | darwin1.[012])
11158 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11161 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11162 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11164 case ${MACOSX_DEPLOYMENT_TARGET} in
11166 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11169 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11175 archive_cmds_need_lc_CXX=no
11176 hardcode_direct_CXX=no
11177 hardcode_automatic_CXX=yes
11178 hardcode_shlibpath_var_CXX=unsupported
11179 whole_archive_flag_spec_CXX=''
11180 link_all_deplibs_CXX=yes
11182 if test "$GXX" = yes ; then
11183 lt_int_apple_cc_single_mod=no
11184 output_verbose_link_cmd='echo'
11185 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11186 lt_int_apple_cc_single_mod=yes
11188 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11189 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11191 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'
11193 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11194 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11195 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11196 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}'
11198 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}'
11200 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}'
11202 case $cc_basename in
11204 output_verbose_link_cmd='echo'
11205 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'
11206 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11207 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11208 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}'
11209 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}'
11219 case $cc_basename in
11221 # FIXME: insert proper C++ library support
11225 # Green Hills C++ Compiler
11226 # FIXME: insert proper C++ library support
11230 # FIXME: insert proper C++ library support
11236 # C++ shared libraries reported to be fairly broken before switch to ELF
11240 archive_cmds_need_lc_CXX=no
11242 freebsd* | dragonfly*)
11243 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11250 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11251 hardcode_libdir_separator_CXX=:
11252 export_dynamic_flag_spec_CXX='${wl}-E'
11253 hardcode_direct_CXX=yes
11254 hardcode_minus_L_CXX=yes # Not in the search PATH,
11255 # but as the default
11256 # location of the library.
11258 case $cc_basename in
11260 # FIXME: insert proper C++ library support
11264 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'
11265 # Commands to make compiler produce verbose output that lists
11266 # what "hidden" libraries, object files and flags are used when
11267 # linking a shared library.
11269 # There doesn't appear to be a way to prevent this compiler from
11270 # explicitly linking system object files so we need to strip them
11271 # from the output so that they don't get included in the library
11273 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'
11276 if test "$GXX" = yes; then
11277 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'
11279 # FIXME: insert proper C++ library support
11286 if test $with_gnu_ld = no; then
11287 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11288 hardcode_libdir_separator_CXX=:
11292 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11295 export_dynamic_flag_spec_CXX='${wl}-E'
11301 hardcode_direct_CXX=no
11302 hardcode_shlibpath_var_CXX=no
11305 hardcode_direct_CXX=yes
11306 hardcode_minus_L_CXX=yes # Not in the search PATH,
11307 # but as the default
11308 # location of the library.
11312 case $cc_basename in
11314 # FIXME: insert proper C++ library support
11320 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11323 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11326 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11329 # Commands to make compiler produce verbose output that lists
11330 # what "hidden" libraries, object files and flags are used when
11331 # linking a shared library.
11333 # There doesn't appear to be a way to prevent this compiler from
11334 # explicitly linking system object files so we need to strip them
11335 # from the output so that they don't get included in the library
11337 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'
11340 if test "$GXX" = yes; then
11341 if test $with_gnu_ld = no; then
11344 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11347 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11350 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'
11355 # FIXME: insert proper C++ library support
11362 hardcode_direct_CXX=no
11363 hardcode_shlibpath_var_CXX=no
11364 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11365 export_dynamic_flag_spec_CXX='${wl}-E'
11366 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11367 # Instead, shared libraries are loaded at an image base (0x10000000 by
11368 # default) and relocated if they conflict, which is a slow very memory
11369 # consuming and fragmenting process. To avoid this, we pick a random,
11370 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11371 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11372 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'
11373 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'
11376 case $cc_basename in
11379 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'
11381 # Archives containing C++ object files must be created using
11382 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11383 # necessary to make sure instantiated templates are included
11385 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11388 if test "$GXX" = yes; then
11389 if test "$with_gnu_ld" = no; then
11390 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'
11392 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'
11395 link_all_deplibs_CXX=yes
11398 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11399 hardcode_libdir_separator_CXX=:
11401 linux* | k*bsd*-gnu)
11402 case $cc_basename in
11404 # Kuck and Associates, Inc. (KAI) C++ Compiler
11406 # KCC will only create a shared library if the output file
11407 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11408 # to its proper name (with version) after linking.
11409 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'
11410 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'
11411 # Commands to make compiler produce verbose output that lists
11412 # what "hidden" libraries, object files and flags are used when
11413 # linking a shared library.
11415 # There doesn't appear to be a way to prevent this compiler from
11416 # explicitly linking system object files so we need to strip them
11417 # from the output so that they don't get included in the library
11419 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'
11421 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11422 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11424 # Archives containing C++ object files must be created using
11425 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11426 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11431 # version 8.0 and above of icpc choke on multiply defined symbols
11432 # if we add $predep_objects and $postdep_objects, however 7.1 and
11433 # earlier do not add the objects themselves.
11434 case `$CC -V 2>&1` in
11436 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11437 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'
11439 *) # Version 8.0 or newer
11442 ia64
*) tmp_idyn
=' -i_dynamic';;
11444 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11445 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'
11448 archive_cmds_need_lc_CXX
=no
11449 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11450 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11451 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11454 # Portland Group C++ compiler
11455 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11456 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'
11458 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11459 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11460 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'
11464 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11465 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'
11467 runpath_var
=LD_RUN_PATH
11468 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11469 hardcode_libdir_separator_CXX
=:
11471 # Commands to make compiler produce verbose output that lists
11472 # what "hidden" libraries, object files and flags are used when
11473 # linking a shared library.
11475 # There doesn't appear to be a way to prevent this compiler from
11476 # explicitly linking system object files so we need to strip them
11477 # from the output so that they don't get included in the library
11479 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'
11484 # FIXME: insert proper C++ library support
11488 # FIXME: insert proper C++ library support
11492 case $cc_basename in
11494 # FIXME: insert proper C++ library support
11498 # FIXME: insert proper C++ library support
11503 netbsd
* | netbsdelf
*-gnu)
11504 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11505 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11507 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11508 hardcode_direct_CXX
=yes
11509 hardcode_shlibpath_var_CXX
=no
11511 # Workaround some broken pre-1.5 toolchains
11512 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11515 # C++ shared libraries are fairly broken
11519 hardcode_direct_CXX
=yes
11520 hardcode_shlibpath_var_CXX
=no
11521 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11522 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11523 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11524 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11525 export_dynamic_flag_spec_CXX
='${wl}-E'
11526 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11528 output_verbose_link_cmd
='echo'
11531 case $cc_basename in
11533 # Kuck and Associates, Inc. (KAI) C++ Compiler
11535 # KCC will only create a shared library if the output file
11536 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11537 # to its proper name (with version) after linking.
11538 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'
11540 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11541 hardcode_libdir_separator_CXX
=:
11543 # Archives containing C++ object files must be created using
11544 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11545 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11549 # Rational C++ 2.4.1
11550 # FIXME: insert proper C++ library support
11554 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11555 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'
11557 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11558 hardcode_libdir_separator_CXX
=:
11560 # Commands to make compiler produce verbose output that lists
11561 # what "hidden" libraries, object files and flags are used when
11562 # linking a shared library.
11564 # There doesn't appear to be a way to prevent this compiler from
11565 # explicitly linking system object files so we need to strip them
11566 # from the output so that they don't get included in the library
11568 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'
11571 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11572 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11573 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'
11575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11576 hardcode_libdir_separator_CXX
=:
11578 # Commands to make compiler produce verbose output that lists
11579 # what "hidden" libraries, object files and flags are used when
11580 # linking a shared library.
11581 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11584 # FIXME: insert proper C++ library support
11591 case $cc_basename in
11593 # Kuck and Associates, Inc. (KAI) C++ Compiler
11595 # KCC will only create a shared library if the output file
11596 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11597 # to its proper name (with version) after linking.
11598 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'
11600 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11601 hardcode_libdir_separator_CXX
=:
11603 # Archives containing C++ object files must be created using
11604 # the KAI C++ compiler.
11605 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11608 # Rational C++ 2.4.1
11609 # FIXME: insert proper C++ library support
11613 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11614 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'
11615 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11616 echo "-hidden">> $lib.exp~
11617 $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~
11620 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11621 hardcode_libdir_separator_CXX
=:
11623 # Commands to make compiler produce verbose output that lists
11624 # what "hidden" libraries, object files and flags are used when
11625 # linking a shared library.
11627 # There doesn't appear to be a way to prevent this compiler from
11628 # explicitly linking system object files so we need to strip them
11629 # from the output so that they don't get included in the library
11631 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'
11634 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11635 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11636 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'
11638 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11639 hardcode_libdir_separator_CXX
=:
11641 # Commands to make compiler produce verbose output that lists
11642 # what "hidden" libraries, object files and flags are used when
11643 # linking a shared library.
11644 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11647 # FIXME: insert proper C++ library support
11654 # FIXME: insert proper C++ library support
11658 case $cc_basename in
11661 # FIXME: insert proper C++ library support
11666 # FIXME: insert proper C++ library support
11670 # FIXME: insert proper C++ library support
11676 case $cc_basename in
11678 # Sun C++ 4.2, 5.x and Centerline C++
11679 archive_cmds_need_lc_CXX
=yes
11680 no_undefined_flag_CXX
=' -zdefs'
11681 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11682 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11683 $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'
11685 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11686 hardcode_shlibpath_var_CXX
=no
11688 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11690 # The C++ compiler is used as linker so we must use $wl
11691 # flag to pass the commands to the underlying system
11692 # linker. We must also pass each convience library through
11693 # to the system linker between allextract/defaultextract.
11694 # The C++ compiler will combine linker options so we
11695 # cannot just pass the convience library names through
11697 # Supported since Solaris 2.6 (maybe 2.5.1?)
11698 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'
11701 link_all_deplibs_CXX
=yes
11703 output_verbose_link_cmd
='echo'
11705 # Archives containing C++ object files must be created using
11706 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11707 # necessary to make sure instantiated templates are included
11709 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11712 # Green Hills C++ Compiler
11713 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11715 # The C++ compiler must be used to create the archive.
11716 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11719 # GNU C++ compiler with Solaris linker
11720 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11721 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11722 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11723 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11724 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11725 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11727 # Commands to make compiler produce verbose output that lists
11728 # what "hidden" libraries, object files and flags are used when
11729 # linking a shared library.
11730 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11732 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11734 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11735 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11736 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11738 # Commands to make compiler produce verbose output that lists
11739 # what "hidden" libraries, object files and flags are used when
11740 # linking a shared library.
11741 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11744 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11749 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11750 no_undefined_flag_CXX
='${wl}-z,text'
11751 archive_cmds_need_lc_CXX
=no
11752 hardcode_shlibpath_var_CXX
=no
11753 runpath_var
='LD_RUN_PATH'
11755 case $cc_basename in
11757 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11758 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11761 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11762 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11766 sysv5
* | sco3.2v5
* | sco5v6
*)
11767 # Note: We can NOT use -z defs as we might desire, because we do not
11768 # link with -lc, and that would cause any symbols used from libc to
11769 # always be unresolved, which means just about no library would
11770 # ever link correctly. If we're not using GNU ld we use -z text
11771 # though, which does catch some bad symbols but isn't as heavy-handed
11773 # For security reasons, it is highly recommended that you always
11774 # use absolute paths for naming shared libraries, and exclude the
11775 # DT_RUNPATH tag from executables and libraries. But doing so
11776 # requires that you compile everything twice, which is a pain.
11777 # So that behaviour is only enabled if SCOABSPATH is set to a
11778 # non-empty value in the environment. Most likely only useful for
11779 # creating official distributions of packages.
11780 # This is a hack until libtool officially supports absolute path
11781 # names for shared libraries.
11782 no_undefined_flag_CXX
='${wl}-z,text'
11783 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11784 archive_cmds_need_lc_CXX
=no
11785 hardcode_shlibpath_var_CXX
=no
11786 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11787 hardcode_libdir_separator_CXX
=':'
11788 link_all_deplibs_CXX
=yes
11789 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11790 runpath_var
='LD_RUN_PATH'
11792 case $cc_basename in
11794 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11795 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11798 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11799 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11804 case $cc_basename in
11806 # NonStop-UX NCC 3.20
11807 # FIXME: insert proper C++ library support
11811 # FIXME: insert proper C++ library support
11817 # FIXME: insert proper C++ library support
11821 # FIXME: insert proper C++ library support
11825 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11826 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11827 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11833 cat > conftest.
$ac_ext <<EOF
11837 Foo (void) { a = 0; }
11843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11844 (eval $ac_compile) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; then
11848 # Parse the compiler output and extract the necessary
11849 # objects, libraries and library flags.
11851 # Sentinel used to keep track of whether or not we are before
11852 # the conftest object file.
11853 pre_test_object_deps_done
=no
11855 # The `*' in the case matches for architectures that use `case' in
11856 # $output_verbose_cmd can trigger glob expansion during the loop
11857 # eval without this substitution.
11858 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11860 for p
in `eval $output_verbose_link_cmd`; do
11864 # Some compilers place space between "-{L,R}" and the path.
11865 # Remove the space.
11866 if test $p = "-L" \
11867 ||
test $p = "-R"; then
11874 if test "$pre_test_object_deps_done" = no
; then
11877 # Internal compiler library paths should come after those
11878 # provided the user. The postdeps already come after the
11879 # user supplied libs so there is no need to process them.
11880 if test -z "$compiler_lib_search_path_CXX"; then
11881 compiler_lib_search_path_CXX
="${prev}${p}"
11883 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11886 # The "-l" case would never come before the object being
11887 # linked, so don't bother handling this case.
11890 if test -z "$postdeps_CXX"; then
11891 postdeps_CXX
="${prev}${p}"
11893 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11899 # This assumes that the test object file only shows up
11900 # once in the compiler output.
11901 if test "$p" = "conftest.$objext"; then
11902 pre_test_object_deps_done
=yes
11906 if test "$pre_test_object_deps_done" = no
; then
11907 if test -z "$predep_objects_CXX"; then
11908 predep_objects_CXX
="$p"
11910 predep_objects_CXX
="$predep_objects_CXX $p"
11913 if test -z "$postdep_objects_CXX"; then
11914 postdep_objects_CXX
="$p"
11916 postdep_objects_CXX
="$postdep_objects_CXX $p"
11921 *) ;; # Ignore the rest.
11929 echo "libtool.m4: error: problem compiling CXX test program"
11932 $rm -f confest.
$objext
11934 # PORTME: override above test on systems where it is broken
11937 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11938 # hack all around it, let's just trust "g++" to DTRT.
11939 predep_objects_CXX
=
11940 postdep_objects_CXX
=
11945 case $cc_basename in
11947 # Adding this requires a known-good setup of shared libraries for
11948 # Sun compiler versions before 5.6, else PIC objects from an old
11949 # archive will be linked into the output, leading to subtle bugs.
11950 postdeps_CXX
='-lCstd -lCrun'
11957 case " $postdeps_CXX " in
11958 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11961 lt_prog_compiler_wl_CXX
=
11962 lt_prog_compiler_pic_CXX
=
11963 lt_prog_compiler_static_CXX
=
11965 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11966 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11968 # C++ specific cases for pic, static, wl, etc.
11969 if test "$GXX" = yes; then
11970 lt_prog_compiler_wl_CXX
='-Wl,'
11971 lt_prog_compiler_static_CXX
='-static'
11975 # All AIX code is PIC.
11976 if test "$host_cpu" = ia64
; then
11977 # AIX 5 now supports IA64 processor
11978 lt_prog_compiler_static_CXX
='-Bstatic'
11982 # FIXME: we need at least 68020 code to build shared libraries, but
11983 # adding the `-m68020' flag to GCC prevents building anything better,
11985 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11987 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11988 # PIC is the default for these OSes.
11990 mingw
* | os2
* | pw32
*)
11991 # This hack is so that the source file can tell whether it is being
11992 # built for inclusion in a dll (and should export symbols for example).
11993 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11995 darwin
* | rhapsody
*)
11996 # PIC is the default on this platform
11997 # Common symbols not allowed in MH_DYLIB files
11998 lt_prog_compiler_pic_CXX
='-fno-common'
12001 # DJGPP does not support shared libraries at all
12002 lt_prog_compiler_pic_CXX
=
12005 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12006 # Instead, we relocate shared libraries at runtime.
12009 if test -d /usr
/nec
; then
12010 lt_prog_compiler_pic_CXX
=-Kconform_pic
12014 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12015 # not for PA HP-UX.
12020 lt_prog_compiler_pic_CXX
='-fPIC'
12025 lt_prog_compiler_pic_CXX
='-fPIC'
12031 # All AIX code is PIC.
12032 if test "$host_cpu" = ia64
; then
12033 # AIX 5 now supports IA64 processor
12034 lt_prog_compiler_static_CXX
='-Bstatic'
12036 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12040 case $cc_basename in
12042 # Green Hills C++ Compiler
12043 # _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"
12048 # PIC is the default on this platform
12049 # Common symbols not allowed in MH_DYLIB files
12050 case $cc_basename in
12052 lt_prog_compiler_pic_CXX
='-qnocommon'
12053 lt_prog_compiler_wl_CXX
='-Wl,'
12058 case $cc_basename in
12060 lt_prog_compiler_pic_CXX
='-KPIC'
12063 # Green Hills C++ Compiler
12064 lt_prog_compiler_pic_CXX
='-pic'
12070 freebsd
* | dragonfly
*)
12071 # FreeBSD uses GNU C++
12073 hpux9
* | hpux10
* | hpux11
*)
12074 case $cc_basename in
12076 lt_prog_compiler_wl_CXX
='-Wl,'
12077 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12078 if test "$host_cpu" != ia64
; then
12079 lt_prog_compiler_pic_CXX
='+Z'
12083 lt_prog_compiler_wl_CXX
='-Wl,'
12084 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12090 lt_prog_compiler_pic_CXX
='+Z'
12099 # This is c89, which is MS Visual C++ (no shared libs)
12100 # Anyone wants to do a port?
12102 irix5
* | irix6
* | nonstopux
*)
12103 case $cc_basename in
12105 lt_prog_compiler_wl_CXX
='-Wl,'
12106 lt_prog_compiler_static_CXX
='-non_shared'
12107 # CC pic flag -KPIC is the default.
12113 linux
* | k
*bsd
*-gnu)
12114 case $cc_basename in
12117 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12118 lt_prog_compiler_pic_CXX
='-fPIC'
12122 lt_prog_compiler_wl_CXX
='-Wl,'
12123 lt_prog_compiler_pic_CXX
='-KPIC'
12124 lt_prog_compiler_static_CXX
='-static'
12127 # Portland Group C++ compiler.
12128 lt_prog_compiler_wl_CXX
='-Wl,'
12129 lt_prog_compiler_pic_CXX
='-fpic'
12130 lt_prog_compiler_static_CXX
='-Bstatic'
12134 # Make sure the PIC flag is empty. It appears that all Alpha
12135 # Linux and Compaq Tru64 Unix objects are PIC.
12136 lt_prog_compiler_pic_CXX
=
12137 lt_prog_compiler_static_CXX
='-non_shared'
12148 case $cc_basename in
12150 lt_prog_compiler_pic_CXX
='-W c,exportall'
12156 netbsd
* | netbsdelf
*-gnu)
12158 osf3
* | osf4
* | osf5
*)
12159 case $cc_basename in
12161 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12164 # Rational C++ 2.4.1
12165 lt_prog_compiler_pic_CXX
='-pic'
12168 # Digital/Compaq C++
12169 lt_prog_compiler_wl_CXX
='-Wl,'
12170 # Make sure the PIC flag is empty. It appears that all Alpha
12171 # Linux and Compaq Tru64 Unix objects are PIC.
12172 lt_prog_compiler_pic_CXX
=
12173 lt_prog_compiler_static_CXX
='-non_shared'
12182 case $cc_basename in
12184 # Sun C++ 4.2, 5.x and Centerline C++
12185 lt_prog_compiler_pic_CXX
='-KPIC'
12186 lt_prog_compiler_static_CXX
='-Bstatic'
12187 lt_prog_compiler_wl_CXX
='-Qoption ld '
12190 # Green Hills C++ Compiler
12191 lt_prog_compiler_pic_CXX
='-PIC'
12198 case $cc_basename in
12201 lt_prog_compiler_pic_CXX
='-pic'
12202 lt_prog_compiler_static_CXX
='-Bstatic'
12206 lt_prog_compiler_pic_CXX
='-pic'
12213 case $cc_basename in
12215 # NonStop-UX NCC 3.20
12216 lt_prog_compiler_pic_CXX
='-KPIC'
12222 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12223 case $cc_basename in
12225 lt_prog_compiler_wl_CXX
='-Wl,'
12226 lt_prog_compiler_pic_CXX
='-KPIC'
12227 lt_prog_compiler_static_CXX
='-Bstatic'
12234 lt_prog_compiler_can_build_shared_CXX
=no
12239 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12240 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12243 # Check to make sure the PIC flag actually works.
12245 if test -n "$lt_prog_compiler_pic_CXX"; then
12247 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12248 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12249 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 lt_prog_compiler_pic_works_CXX
=no
12253 ac_outfile
=conftest.
$ac_objext
12254 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12255 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12256 # Insert the option either (1) after the last *FLAGS variable, or
12257 # (2) before a word containing "conftest.", or (3) at the end.
12258 # Note that $ac_compile itself does not contain backslashes and begins
12259 # with a dollar sign (not a hyphen), so the echo should work correctly.
12260 # The option is referenced via a variable to avoid confusing sed.
12261 lt_compile
=`echo "$ac_compile" | $SED \
12262 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12264 -e 's:$: $lt_compiler_flag:'`
12265 (eval echo "\"\$as_me:12265: $lt_compile\"" >&5)
12266 (eval "$lt_compile" 2>conftest.err
)
12268 cat conftest.err
>&5
12269 echo "$as_me:12269: \$? = $ac_status" >&5
12270 if (exit $ac_status) && test -s "$ac_outfile"; then
12271 # The compiler can only warn and ignore the option if not recognized
12272 # So say no if there are warnings other than the usual output.
12273 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12274 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12275 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12276 lt_prog_compiler_pic_works_CXX
=yes
12282 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12283 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12285 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12286 case $lt_prog_compiler_pic_CXX in
12288 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12291 lt_prog_compiler_pic_CXX
=
12292 lt_prog_compiler_can_build_shared_CXX
=no
12297 # For platforms which do not support PIC, -DPIC is meaningless:
12299 lt_prog_compiler_pic_CXX
=
12302 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12307 # Check to make sure the static flag actually works.
12309 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12310 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12311 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12312 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 lt_prog_compiler_static_works_CXX
=no
12316 save_LDFLAGS
="$LDFLAGS"
12317 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12318 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12319 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12320 # The linker can only warn and ignore the option if not recognized
12321 # So say no if there are warnings
12322 if test -s conftest.err
; then
12323 # Append any errors to the config.log.
12324 cat conftest.err
1>&5
12325 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12326 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12327 if diff conftest.exp conftest.er2
>/dev
/null
; then
12328 lt_prog_compiler_static_works_CXX
=yes
12331 lt_prog_compiler_static_works_CXX
=yes
12335 LDFLAGS
="$save_LDFLAGS"
12338 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12339 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12341 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12344 lt_prog_compiler_static_CXX
=
12348 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12349 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12350 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12353 lt_cv_prog_compiler_c_o_CXX
=no
12354 $rm -r conftest
2>/dev
/null
12358 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12360 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12361 # Insert the option either (1) after the last *FLAGS variable, or
12362 # (2) before a word containing "conftest.", or (3) at the end.
12363 # Note that $ac_compile itself does not contain backslashes and begins
12364 # with a dollar sign (not a hyphen), so the echo should work correctly.
12365 lt_compile
=`echo "$ac_compile" | $SED \
12366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12368 -e 's:$: $lt_compiler_flag:'`
12369 (eval echo "\"\$as_me:12369: $lt_compile\"" >&5)
12370 (eval "$lt_compile" 2>out
/conftest.err
)
12372 cat out
/conftest.err
>&5
12373 echo "$as_me:12373: \$? = $ac_status" >&5
12374 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12376 # The compiler can only warn and ignore the option if not recognized
12377 # So say no if there are warnings
12378 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12379 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12380 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12381 lt_cv_prog_compiler_c_o_CXX
=yes
12386 # SGI C++ compiler will create directory out/ii_files/ for
12387 # template instantiation
12388 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12389 $rm out
/* && rmdir out
12395 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12396 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12399 hard_links
="nottested"
12400 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12401 # do not overwrite the value of need_locks provided by the user
12402 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12403 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12406 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12408 ln conftest.a conftest.b
2>&5 || hard_links
=no
12409 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12410 { echo "$as_me:$LINENO: result: $hard_links" >&5
12411 echo "${ECHO_T}$hard_links" >&6; }
12412 if test "$hard_links" = no
; then
12413 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12414 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12421 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12422 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12424 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12427 # If we're using GNU nm, then we don't want the "-C" option.
12428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12429 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12430 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'
12432 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'
12436 export_symbols_cmds_CXX
="$ltdll_cmds"
12439 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'
12441 linux
* | k
*bsd
*-gnu)
12442 link_all_deplibs_CXX
=no
12445 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12449 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12450 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12451 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12454 # Do we need to explicitly link libc?
12456 case "x$archive_cmds_need_lc_CXX" in
12458 # Assume -lc should be added
12459 archive_cmds_need_lc_CXX
=yes
12461 if test "$enable_shared" = yes && test "$GCC" = yes; then
12462 case $archive_cmds_CXX in
12464 # FIXME: we may have to deal with multi-command sequences.
12467 # Test whether the compiler implicitly links with -lc since on some
12468 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12469 # to ld, don't add -lc before -lgcc.
12470 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12471 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12473 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12476 (eval $ac_compile) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } 2>conftest.err
; then
12482 libobjs
=conftest.
$ac_objext
12484 wl
=$lt_prog_compiler_wl_CXX
12485 pic_flag
=$lt_prog_compiler_pic_CXX
12491 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12492 allow_undefined_flag_CXX
=
12493 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12494 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }
12499 archive_cmds_need_lc_CXX
=no
12501 archive_cmds_need_lc_CXX
=yes
12503 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12505 cat conftest.err
1>&5
12508 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12509 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12516 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12517 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12518 library_names_spec
=
12519 libname_spec
='lib$name'
12523 postuninstall_cmds
=
12527 shlibpath_overrides_runpath
=unknown
12529 dynamic_linker
="$host_os ld.so"
12530 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12531 if test "$GCC" = yes; then
12532 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12533 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12534 # if the path contains ";" then we assume it to be the separator
12535 # otherwise default to the standard path separator (i.e. ":") - it is
12536 # assumed that no part of a normal pathname contains ";" but that should
12537 # okay in the real world where ";" in dirpaths is itself problematic.
12538 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12540 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12543 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12545 need_lib_prefix
=unknown
12546 hardcode_into_libs
=no
12548 # when you set need_version to no, make sure it does not cause -set_version
12549 # flags to be left without arguments
12550 need_version
=unknown
12555 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12556 shlibpath_var
=LIBPATH
12558 # AIX 3 has no versioning support, so we append a major version to the name.
12559 soname_spec
='${libname}${release}${shared_ext}$major'
12566 hardcode_into_libs
=yes
12567 if test "$host_cpu" = ia64
; then
12568 # AIX 5 supports IA64
12569 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12570 shlibpath_var
=LD_LIBRARY_PATH
12572 # With GCC up to 2.95.x, collect2 would create an import file
12573 # for dependence libraries. The import file would start with
12574 # the line `#! .'. This would cause the generated library to
12575 # depend on `.', always an invalid library. This was fixed in
12576 # development snapshots of GCC prior to 3.0.
12578 aix4 | aix4.
[01] | aix4.
[01].
*)
12579 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12581 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12584 can_build_shared
=no
12588 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12589 # soname into executable. Probably we can add versioning support to
12590 # collect2, so additional links can be useful in future.
12591 if test "$aix_use_runtimelinking" = yes; then
12592 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12593 # instead of lib<name>.a to let people know that these are not
12594 # typical AIX shared libraries.
12595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12597 # We preserve .a as extension for shared libraries through AIX4.2
12598 # and later when we are not doing run time linking.
12599 library_names_spec
='${libname}${release}.a $libname.a'
12600 soname_spec
='${libname}${release}${shared_ext}$major'
12602 shlibpath_var
=LIBPATH
12607 library_names_spec
='$libname.ixlibrary $libname.a'
12608 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12609 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'
12613 library_names_spec
='${libname}${shared_ext}'
12614 dynamic_linker
="$host_os ld.so"
12615 shlibpath_var
=LIBRARY_PATH
12621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12622 soname_spec
='${libname}${release}${shared_ext}$major'
12623 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12624 shlibpath_var
=LD_LIBRARY_PATH
12625 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12626 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12627 # the default ld.so.conf also contains /usr/contrib/lib and
12628 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12629 # libtool to hard-code these into programs
12632 cygwin
* | mingw
* | pw32
*)
12633 version_type
=windows
12638 case $GCC,$host_os in
12639 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12640 library_names_spec
='$libname.dll.a'
12641 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12642 postinstall_cmds
='base_file=`basename \${file}`~
12643 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12644 dldir=$destdir/`dirname \$dlpath`~
12645 test -d \$dldir || mkdir -p \$dldir~
12646 $install_prog $dir/$dlname \$dldir/$dlname~
12647 chmod a+x \$dldir/$dlname'
12648 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12649 dlpath=$dir/\$dldll~
12651 shlibpath_overrides_runpath
=yes
12655 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12656 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12657 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12660 # MinGW DLLs use traditional 'lib' prefix
12661 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12662 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12663 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12664 # It is most probably a Windows format PATH printed by
12665 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12666 # path with ; separators, and with drive letters. We can handle the
12667 # drive letters (cygwin fileutils understands them), so leave them,
12668 # especially as we might pass files found there to a mingw objdump,
12669 # which wouldn't understand a cygwinified path. Ahh.
12670 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12672 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12676 # pw32 DLLs use 'pw' prefix rather than 'lib'
12677 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12683 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12686 dynamic_linker
='Win32 ld.exe'
12687 # FIXME: first we should search . and the directory the executable is in
12691 darwin
* | rhapsody
*)
12692 dynamic_linker
="$host_os dyld"
12693 version_type
=darwin
12696 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12697 soname_spec
='${libname}${release}${major}$shared_ext'
12698 shlibpath_overrides_runpath
=yes
12699 shlibpath_var
=DYLD_LIBRARY_PATH
12700 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12701 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12702 if test "$GCC" = yes; then
12703 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"`
12705 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12707 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12715 soname_spec
='${libname}${release}${shared_ext}$major'
12716 shlibpath_var
=LD_LIBRARY_PATH
12723 freebsd
* | dragonfly
*)
12724 # DragonFly does not have aout. When/if they implement a new
12725 # versioning mechanism, adjust this.
12726 if test -x /usr
/bin
/objformat
; then
12727 objformat
=`/usr/bin/objformat`
12730 freebsd
[123]*) objformat
=aout
;;
12731 *) objformat
=elf
;;
12734 version_type
=freebsd-
$objformat
12735 case $version_type in
12737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12746 shlibpath_var
=LD_LIBRARY_PATH
12749 shlibpath_overrides_runpath
=yes
12751 freebsd3.
[01]* | freebsdelf3.
[01]*)
12752 shlibpath_overrides_runpath
=yes
12753 hardcode_into_libs
=yes
12755 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12756 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12757 shlibpath_overrides_runpath
=no
12758 hardcode_into_libs
=yes
12760 freebsd
*) # from 4.6 on
12761 shlibpath_overrides_runpath
=yes
12762 hardcode_into_libs
=yes
12771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12772 soname_spec
='${libname}${release}${shared_ext}$major'
12773 shlibpath_var
=LD_LIBRARY_PATH
12774 hardcode_into_libs
=yes
12777 hpux9
* | hpux10
* | hpux11
*)
12778 # Give a soname corresponding to the major version so that dld.sl refuses to
12779 # link against other versions.
12786 hardcode_into_libs
=yes
12787 dynamic_linker
="$host_os dld.so"
12788 shlibpath_var
=LD_LIBRARY_PATH
12789 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12791 soname_spec
='${libname}${release}${shared_ext}$major'
12792 if test "X$HPUX_IA64_MODE" = X32
; then
12793 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12795 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12797 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12801 hardcode_into_libs
=yes
12802 dynamic_linker
="$host_os dld.sl"
12803 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12804 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12806 soname_spec
='${libname}${release}${shared_ext}$major'
12807 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12808 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12812 dynamic_linker
="$host_os dld.sl"
12813 shlibpath_var
=SHLIB_PATH
12814 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12816 soname_spec
='${libname}${release}${shared_ext}$major'
12819 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12820 postinstall_cmds
='chmod 555 $lib'
12827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12828 soname_spec
='${libname}${release}${shared_ext}$major'
12829 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12830 shlibpath_var
=LD_LIBRARY_PATH
12831 shlibpath_overrides_runpath
=no
12832 hardcode_into_libs
=yes
12835 irix5
* | irix6
* | nonstopux
*)
12837 nonstopux
*) version_type
=nonstopux
;;
12839 if test "$lt_cv_prog_gnu_ld" = yes; then
12847 soname_spec
='${libname}${release}${shared_ext}$major'
12848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12850 irix5
* | nonstopux
*)
12851 libsuff
= shlibsuff
=
12854 case $LD in # libtool.m4 will add one of these switches to LD
12855 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12856 libsuff
= shlibsuff
= libmagic
=32-bit;;
12857 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12858 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12859 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12860 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12861 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12865 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12866 shlibpath_overrides_runpath
=no
12867 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12868 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12869 hardcode_into_libs
=yes
12872 # No shared lib support for Linux oldld, aout, or coff.
12873 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12877 # This must be Linux ELF.
12878 linux
* | k
*bsd
*-gnu)
12882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12883 soname_spec
='${libname}${release}${shared_ext}$major'
12884 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12885 shlibpath_var
=LD_LIBRARY_PATH
12886 shlibpath_overrides_runpath
=no
12887 # This implies no fast_install, which is unacceptable.
12888 # Some rework will be needed to allow for fast_install
12889 # before this can be enabled.
12890 hardcode_into_libs
=yes
12892 # Append ld.so.conf contents to the search path
12893 if test -f /etc
/ld.so.conf
; then
12894 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12895 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12898 # We used to test for /lib/ld.so.1 and disable shared libraries on
12899 # powerpc, because MkLinux only supported shared libraries with the
12900 # GNU dynamic linker. Since this was broken with cross compilers,
12901 # most powerpc-linux boxes support dynamic linking these days and
12902 # people can always --disable-shared, the test was removed, and we
12903 # assume the GNU/Linux dynamic linker is in use.
12904 dynamic_linker
='GNU/Linux ld.so'
12911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12912 soname_spec
='${libname}${release}${shared_ext}$major'
12913 shlibpath_var
=LD_LIBRARY_PATH
12914 shlibpath_overrides_runpath
=no
12915 hardcode_into_libs
=yes
12916 dynamic_linker
='NetBSD ld.elf_so'
12923 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12925 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12926 dynamic_linker
='NetBSD (a.out) ld.so'
12928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12929 soname_spec
='${libname}${release}${shared_ext}$major'
12930 dynamic_linker
='NetBSD ld.elf_so'
12932 shlibpath_var
=LD_LIBRARY_PATH
12933 shlibpath_overrides_runpath
=yes
12934 hardcode_into_libs
=yes
12939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12940 shlibpath_var
=LD_LIBRARY_PATH
12941 shlibpath_overrides_runpath
=yes
12948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12949 soname_spec
='${libname}${release}${shared_ext}$major'
12950 shlibpath_var
=LD_LIBRARY_PATH
12951 shlibpath_overrides_runpath
=yes
12956 sys_lib_dlsearch_path_spec
="/usr/lib"
12958 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12960 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12961 *) need_version
=no
;;
12963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12965 shlibpath_var
=LD_LIBRARY_PATH
12966 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12968 openbsd2.
[89] | openbsd2.
[89].
*)
12969 shlibpath_overrides_runpath
=no
12972 shlibpath_overrides_runpath
=yes
12976 shlibpath_overrides_runpath
=yes
12981 libname_spec
='$name'
12984 library_names_spec
='$libname${shared_ext} $libname.a'
12985 dynamic_linker
='OS/2 ld.exe'
12986 shlibpath_var
=LIBPATH
12989 osf3
* | osf4
* | osf5
*)
12993 soname_spec
='${libname}${release}${shared_ext}$major'
12994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12995 shlibpath_var
=LD_LIBRARY_PATH
12996 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12997 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13005 soname_spec
='${libname}${release}${shared_ext}$major'
13006 shlibpath_var
=LD_LIBRARY_PATH
13007 shlibpath_overrides_runpath
=yes
13008 hardcode_into_libs
=yes
13009 # ldd complains unless libraries are executable
13010 postinstall_cmds
='chmod +x $lib'
13015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13016 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13017 shlibpath_var
=LD_LIBRARY_PATH
13018 shlibpath_overrides_runpath
=yes
13019 if test "$with_gnu_ld" = yes; then
13027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13028 soname_spec
='${libname}${release}${shared_ext}$major'
13029 shlibpath_var
=LD_LIBRARY_PATH
13030 case $host_vendor in
13032 shlibpath_overrides_runpath
=no
13034 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13035 runpath_var
=LD_RUN_PATH
13043 shlibpath_overrides_runpath
=no
13044 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13050 if test -d /usr
/nec
;then
13052 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13053 soname_spec
='$libname${shared_ext}.$major'
13054 shlibpath_var
=LD_LIBRARY_PATH
13058 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13059 version_type
=freebsd-elf
13062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13063 soname_spec
='${libname}${release}${shared_ext}$major'
13064 shlibpath_var
=LD_LIBRARY_PATH
13065 hardcode_into_libs
=yes
13066 if test "$with_gnu_ld" = yes; then
13067 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13068 shlibpath_overrides_runpath
=no
13070 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13071 shlibpath_overrides_runpath
=yes
13074 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13078 sys_lib_dlsearch_path_spec
='/usr/lib'
13083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13084 soname_spec
='${libname}${release}${shared_ext}$major'
13085 shlibpath_var
=LD_LIBRARY_PATH
13092 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13093 echo "${ECHO_T}$dynamic_linker" >&6; }
13094 test "$dynamic_linker" = no
&& can_build_shared
=no
13096 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13097 if test "$GCC" = yes; then
13098 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13101 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13102 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13103 hardcode_action_CXX
=
13104 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13105 test -n "$runpath_var_CXX" || \
13106 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13108 # We can hardcode non-existant directories.
13109 if test "$hardcode_direct_CXX" != no
&&
13110 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13111 # have to relink, otherwise we might link with an installed library
13112 # when we should be linking with a yet-to-be-installed one
13113 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13114 test "$hardcode_minus_L_CXX" != no
; then
13115 # Linking always hardcodes the temporary library directory.
13116 hardcode_action_CXX
=relink
13118 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13119 hardcode_action_CXX
=immediate
13122 # We cannot hardcode anything, or else we can only hardcode existing
13124 hardcode_action_CXX
=unsupported
13126 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13127 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13129 if test "$hardcode_action_CXX" = relink
; then
13130 # Fast installation is not supported
13131 enable_fast_install
=no
13132 elif test "$shlibpath_overrides_runpath" = yes ||
13133 test "$enable_shared" = no
; then
13134 # Fast installation is not necessary
13135 enable_fast_install
=needless
13139 # The else clause should only fire when bootstrapping the
13140 # libtool distribution, otherwise you forgot to ship ltmain.sh
13141 # with your package, and you will get complaints that there are
13142 # no rules to generate ltmain.sh.
13143 if test -f "$ltmain"; then
13144 # See if we are running on zsh, and set the options which allow our commands through
13145 # without removal of \ escapes.
13146 if test -n "${ZSH_VERSION+set}" ; then
13147 setopt NO_GLOB_SUBST
13149 # Now quote all the things that may contain metacharacters while being
13150 # careful not to overquote the AC_SUBSTed values. We take copies of the
13151 # variables and quote the copies for generation of the libtool script.
13152 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13154 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13155 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13156 deplibs_check_method reload_flag reload_cmds need_locks \
13157 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13158 lt_cv_sys_global_symbol_to_c_name_address \
13159 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13160 old_postinstall_cmds old_postuninstall_cmds \
13164 lt_prog_compiler_wl_CXX \
13165 lt_prog_compiler_pic_CXX \
13166 lt_prog_compiler_static_CXX \
13167 lt_prog_compiler_no_builtin_flag_CXX \
13168 export_dynamic_flag_spec_CXX \
13169 thread_safe_flag_spec_CXX \
13170 whole_archive_flag_spec_CXX \
13171 enable_shared_with_static_runtimes_CXX \
13172 old_archive_cmds_CXX \
13173 old_archive_from_new_cmds_CXX \
13174 predep_objects_CXX \
13175 postdep_objects_CXX \
13178 compiler_lib_search_path_CXX \
13180 archive_expsym_cmds_CXX \
13181 postinstall_cmds_CXX \
13182 postuninstall_cmds_CXX \
13183 old_archive_from_expsyms_cmds_CXX \
13184 allow_undefined_flag_CXX \
13185 no_undefined_flag_CXX \
13186 export_symbols_cmds_CXX \
13187 hardcode_libdir_flag_spec_CXX \
13188 hardcode_libdir_flag_spec_ld_CXX \
13189 hardcode_libdir_separator_CXX \
13190 hardcode_automatic_CXX \
13192 module_expsym_cmds_CXX \
13193 lt_cv_prog_compiler_c_o_CXX \
13194 exclude_expsyms_CXX \
13195 include_expsyms_CXX
; do
13198 old_archive_cmds_CXX | \
13199 old_archive_from_new_cmds_CXX | \
13200 archive_cmds_CXX | \
13201 archive_expsym_cmds_CXX | \
13202 module_cmds_CXX | \
13203 module_expsym_cmds_CXX | \
13204 old_archive_from_expsyms_cmds_CXX | \
13205 export_symbols_cmds_CXX | \
13206 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13207 postinstall_cmds | postuninstall_cmds | \
13208 old_postinstall_cmds | old_postuninstall_cmds | \
13209 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13210 # Double-quote double-evaled strings.
13211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13214 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13220 *'\$0 --fallback-echo"')
13221 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13227 cat <<__EOF__ >> "$cfgfile"
13228 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13230 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13232 # Shell to use when invoking shell scripts.
13235 # Whether or not to build shared libraries.
13236 build_libtool_libs=$enable_shared
13238 # Whether or not to build static libraries.
13239 build_old_libs=$enable_static
13241 # Whether or not to add -lc for building shared libraries.
13242 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13244 # Whether or not to disallow shared libs when runtime libs are static
13245 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13247 # Whether or not to optimize for fast installation.
13248 fast_install=$enable_fast_install
13251 host_alias=$host_alias
13255 # The build system.
13256 build_alias=$build_alias
13260 # An echo program that does not interpret backslashes.
13265 AR_FLAGS=$lt_AR_FLAGS
13270 # LTCC compiler flags.
13271 LTCFLAGS=$lt_LTCFLAGS
13273 # A language-specific compiler.
13274 CC=$lt_compiler_CXX
13276 # Is the compiler the GNU C compiler?
13282 # The linker used to build libraries.
13285 # Whether we need hard or soft links.
13288 # A BSD-compatible nm program.
13291 # A symbol stripping program
13294 # Used to examine libraries when file_magic_cmd begins "file"
13295 MAGIC_CMD=$MAGIC_CMD
13297 # Used on cygwin: DLL creation program.
13300 # Used on cygwin: object dumper.
13303 # Used on cygwin: assembler.
13306 # The name of the directory that contains temporary libtool files.
13309 # How to create reloadable object files.
13310 reload_flag=$lt_reload_flag
13311 reload_cmds=$lt_reload_cmds
13313 # How to pass a linker flag through the compiler.
13314 wl=$lt_lt_prog_compiler_wl_CXX
13316 # Object file suffix (normally "o").
13317 objext="$ac_objext"
13319 # Old archive suffix (normally "a").
13322 # Shared library suffix (normally ".so").
13323 shrext_cmds='$shrext_cmds'
13325 # Executable file suffix (normally "").
13328 # Additional compiler flags for building library objects.
13329 pic_flag=$lt_lt_prog_compiler_pic_CXX
13332 # What is the maximum length of a command?
13333 max_cmd_len=$lt_cv_sys_max_cmd_len
13335 # Does compiler simultaneously support -c and -o options?
13336 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13338 # Must we lock files when doing compilation?
13339 need_locks=$lt_need_locks
13341 # Do we need the lib prefix for modules?
13342 need_lib_prefix=$need_lib_prefix
13344 # Do we need a version for libraries?
13345 need_version=$need_version
13347 # Whether dlopen is supported.
13348 dlopen_support=$enable_dlopen
13350 # Whether dlopen of programs is supported.
13351 dlopen_self=$enable_dlopen_self
13353 # Whether dlopen of statically linked programs is supported.
13354 dlopen_self_static=$enable_dlopen_self_static
13356 # Compiler flag to prevent dynamic linking.
13357 link_static_flag=$lt_lt_prog_compiler_static_CXX
13359 # Compiler flag to turn off builtin functions.
13360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13362 # Compiler flag to allow reflexive dlopens.
13363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13365 # Compiler flag to generate shared objects directly from archives.
13366 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13368 # Compiler flag to generate thread-safe objects.
13369 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13371 # Library versioning type.
13372 version_type=$version_type
13374 # Format of library name prefix.
13375 libname_spec=$lt_libname_spec
13377 # List of archive names. First name is the real one, the rest are links.
13378 # The last name is the one that the linker finds with -lNAME.
13379 library_names_spec=$lt_library_names_spec
13381 # The coded name of the library, if different from the real name.
13382 soname_spec=$lt_soname_spec
13384 # Commands used to build and install an old-style archive.
13386 old_archive_cmds=$lt_old_archive_cmds_CXX
13387 old_postinstall_cmds=$lt_old_postinstall_cmds
13388 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13390 # Create an old-style archive from a shared archive.
13391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13393 # Create a temporary old-style archive to link instead of a shared archive.
13394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13396 # Commands used to build and install a shared archive.
13397 archive_cmds=$lt_archive_cmds_CXX
13398 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13399 postinstall_cmds=$lt_postinstall_cmds
13400 postuninstall_cmds=$lt_postuninstall_cmds
13402 # Commands used to build a loadable module (assumed same as above if empty)
13403 module_cmds=$lt_module_cmds_CXX
13404 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13406 # Commands to strip libraries.
13407 old_striplib=$lt_old_striplib
13408 striplib=$lt_striplib
13410 # Dependencies to place before the objects being linked to create a
13412 predep_objects=$lt_predep_objects_CXX
13414 # Dependencies to place after the objects being linked to create a
13416 postdep_objects=$lt_postdep_objects_CXX
13418 # Dependencies to place before the objects being linked to create a
13420 predeps=$lt_predeps_CXX
13422 # Dependencies to place after the objects being linked to create a
13424 postdeps=$lt_postdeps_CXX
13426 # The library search path used internally by the compiler when linking
13427 # a shared library.
13428 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13430 # Method to check whether dependent libraries are shared objects.
13431 deplibs_check_method=$lt_deplibs_check_method
13433 # Command to use when deplibs_check_method == file_magic.
13434 file_magic_cmd=$lt_file_magic_cmd
13436 # Flag that allows shared libraries with undefined symbols to be built.
13437 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13439 # Flag that forces no undefined symbols.
13440 no_undefined_flag=$lt_no_undefined_flag_CXX
13442 # Commands used to finish a libtool library installation in a directory.
13443 finish_cmds=$lt_finish_cmds
13445 # Same as above, but a single script fragment to be evaled but not shown.
13446 finish_eval=$lt_finish_eval
13448 # Take the output of nm and produce a listing of raw symbols and C names.
13449 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13451 # Transform the output of nm in a proper C declaration
13452 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13454 # Transform the output of nm in a C name address pair
13455 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13457 # This is the shared library runtime path variable.
13458 runpath_var=$runpath_var
13460 # This is the shared library path variable.
13461 shlibpath_var=$shlibpath_var
13463 # Is shlibpath searched before the hard-coded library search path?
13464 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13466 # How to hardcode a shared library path into an executable.
13467 hardcode_action=$hardcode_action_CXX
13469 # Whether we should hardcode library paths into libraries.
13470 hardcode_into_libs=$hardcode_into_libs
13472 # Flag to hardcode \$libdir into a binary during linking.
13473 # This must work even if \$libdir does not exist.
13474 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13476 # If ld is used when linking, flag to hardcode \$libdir into
13477 # a binary during linking. This must work even if \$libdir does
13479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13481 # Whether we need a single -rpath flag with a separated argument.
13482 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13484 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13485 # resulting binary.
13486 hardcode_direct=$hardcode_direct_CXX
13488 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13489 # resulting binary.
13490 hardcode_minus_L=$hardcode_minus_L_CXX
13492 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13493 # the resulting binary.
13494 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13496 # Set to yes if building a shared library automatically hardcodes DIR into the library
13497 # and all subsequent libraries and executables linked against it.
13498 hardcode_automatic=$hardcode_automatic_CXX
13500 # Variables whose values should be saved in libtool wrapper scripts and
13501 # restored at relink time.
13502 variables_saved_for_relink="$variables_saved_for_relink"
13504 # Whether libtool must link a program against all its dependency libraries.
13505 link_all_deplibs=$link_all_deplibs_CXX
13507 # Compile-time system search path for libraries
13508 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13510 # Run-time system search path for libraries
13511 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13513 # Fix the shell variable \$srcfile for the compiler.
13514 fix_srcfile_path="$fix_srcfile_path_CXX"
13516 # Set to yes if exported symbols are required.
13517 always_export_symbols=$always_export_symbols_CXX
13519 # The commands to list exported symbols.
13520 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13522 # The commands to extract the exported symbol list from a shared archive.
13523 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13525 # Symbols that should not be listed in the preloaded symbols.
13526 exclude_expsyms=$lt_exclude_expsyms_CXX
13528 # Symbols that must always be exported.
13529 include_expsyms=$lt_include_expsyms_CXX
13531 # ### END LIBTOOL TAG CONFIG: $tagname
13537 # If there is no Makefile yet, we rely on a make rule to execute
13538 # `config.status --recheck' to rerun these tests and create the
13539 # libtool script then.
13540 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13541 if test -f "$ltmain_in"; then
13542 test -f Makefile
&& make "$ltmain"
13548 ac_cpp
='$CPP $CPPFLAGS'
13549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13557 with_gnu_ldcxx
=$with_gnu_ld
13558 with_gnu_ld
=$lt_save_with_gnu_ld
13559 lt_cv_path_LDCXX
=$lt_cv_path_LD
13560 lt_cv_path_LD
=$lt_save_path_LD
13561 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13562 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13570 if test -n "$F77" && test "X$F77" != "Xno"; then
13573 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13574 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13575 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13578 archive_cmds_need_lc_F77
=no
13579 allow_undefined_flag_F77
=
13580 always_export_symbols_F77
=no
13581 archive_expsym_cmds_F77
=
13582 export_dynamic_flag_spec_F77
=
13583 hardcode_direct_F77
=no
13584 hardcode_libdir_flag_spec_F77
=
13585 hardcode_libdir_flag_spec_ld_F77
=
13586 hardcode_libdir_separator_F77
=
13587 hardcode_minus_L_F77
=no
13588 hardcode_automatic_F77
=no
13590 module_expsym_cmds_F77
=
13591 link_all_deplibs_F77
=unknown
13592 old_archive_cmds_F77
=$old_archive_cmds
13593 no_undefined_flag_F77
=
13594 whole_archive_flag_spec_F77
=
13595 enable_shared_with_static_runtimes_F77
=no
13597 # Source file extension for f77 test sources.
13600 # Object file extension for compiled f77 test sources.
13604 # Code to be used in simple compile tests
13605 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13607 # Code to be used in simple link tests
13608 lt_simple_link_test_code
=" program t\n end\n"
13610 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13612 # If no C compiler was specified, use CC.
13615 # If no C compiler flags were specified, use CFLAGS.
13616 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13618 # Allow CC to be a program name with arguments.
13622 # save warnings/boilerplate of simple test code
13623 ac_outfile
=conftest.
$ac_objext
13624 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13625 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13626 _lt_compiler_boilerplate
=`cat conftest.err`
13629 ac_outfile
=conftest.
$ac_objext
13630 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13631 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13632 _lt_linker_boilerplate
=`cat conftest.err`
13636 # Allow CC to be a program name with arguments.
13641 for cc_temp
in $compiler""; do
13643 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13644 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13649 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13652 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13653 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13654 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13655 echo "${ECHO_T}$can_build_shared" >&6; }
13657 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13658 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13659 test "$can_build_shared" = "no" && enable_shared
=no
13661 # On AIX, shared libraries and static libraries use the same namespace, and
13662 # are all built from PIC.
13665 test "$enable_shared" = yes && enable_static
=no
13666 if test -n "$RANLIB"; then
13667 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13668 postinstall_cmds
='$RANLIB $lib'
13672 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13673 test "$enable_shared" = yes && enable_static
=no
13677 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13678 echo "${ECHO_T}$enable_shared" >&6; }
13680 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13681 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13682 # Make sure either enable_shared or enable_static is yes.
13683 test "$enable_shared" = yes || enable_static
=yes
13684 { echo "$as_me:$LINENO: result: $enable_static" >&5
13685 echo "${ECHO_T}$enable_static" >&6; }
13690 lt_prog_compiler_wl_F77
=
13691 lt_prog_compiler_pic_F77
=
13692 lt_prog_compiler_static_F77
=
13694 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13695 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13697 if test "$GCC" = yes; then
13698 lt_prog_compiler_wl_F77
='-Wl,'
13699 lt_prog_compiler_static_F77
='-static'
13703 # All AIX code is PIC.
13704 if test "$host_cpu" = ia64
; then
13705 # AIX 5 now supports IA64 processor
13706 lt_prog_compiler_static_F77
='-Bstatic'
13711 # FIXME: we need at least 68020 code to build shared libraries, but
13712 # adding the `-m68020' flag to GCC prevents building anything better,
13714 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13717 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13718 # PIC is the default for these OSes.
13721 mingw
* | pw32
* | os2
*)
13722 # This hack is so that the source file can tell whether it is being
13723 # built for inclusion in a dll (and should export symbols for example).
13724 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13727 darwin
* | rhapsody
*)
13728 # PIC is the default on this platform
13729 # Common symbols not allowed in MH_DYLIB files
13730 lt_prog_compiler_pic_F77
='-fno-common'
13734 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13735 # Instead, we relocate shared libraries at runtime.
13739 # Just because we use GCC doesn't mean we suddenly get shared libraries
13740 # on systems that don't support them.
13741 lt_prog_compiler_can_build_shared_F77
=no
13746 if test -d /usr
/nec
; then
13747 lt_prog_compiler_pic_F77
=-Kconform_pic
13752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13753 # not for PA HP-UX.
13759 lt_prog_compiler_pic_F77
='-fPIC'
13765 lt_prog_compiler_pic_F77
='-fPIC'
13769 # PORTME Check for flag to pass linker flags through the system compiler.
13772 lt_prog_compiler_wl_F77
='-Wl,'
13773 if test "$host_cpu" = ia64
; then
13774 # AIX 5 now supports IA64 processor
13775 lt_prog_compiler_static_F77
='-Bstatic'
13777 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13781 # PIC is the default on this platform
13782 # Common symbols not allowed in MH_DYLIB files
13783 case $cc_basename in
13785 lt_prog_compiler_pic_F77
='-qnocommon'
13786 lt_prog_compiler_wl_F77
='-Wl,'
13791 mingw
* | pw32
* | os2
*)
13792 # This hack is so that the source file can tell whether it is being
13793 # built for inclusion in a dll (and should export symbols for example).
13794 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13797 hpux9
* | hpux10
* | hpux11
*)
13798 lt_prog_compiler_wl_F77
='-Wl,'
13799 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13800 # not for PA HP-UX.
13806 lt_prog_compiler_pic_F77
='+Z'
13809 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13810 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13813 irix5
* | irix6
* | nonstopux
*)
13814 lt_prog_compiler_wl_F77
='-Wl,'
13815 # PIC (with -KPIC) is the default.
13816 lt_prog_compiler_static_F77
='-non_shared'
13820 lt_prog_compiler_pic_F77
='-KPIC'
13821 lt_prog_compiler_static_F77
='-Bstatic'
13824 linux
* | k
*bsd
*-gnu)
13825 case $cc_basename in
13827 lt_prog_compiler_wl_F77
='-Wl,'
13828 lt_prog_compiler_pic_F77
='-KPIC'
13829 lt_prog_compiler_static_F77
='-static'
13831 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13832 # Portland Group compilers (*not* the Pentium gcc compiler,
13833 # which looks to be a dead project)
13834 lt_prog_compiler_wl_F77
='-Wl,'
13835 lt_prog_compiler_pic_F77
='-fpic'
13836 lt_prog_compiler_static_F77
='-Bstatic'
13839 lt_prog_compiler_wl_F77
='-Wl,'
13840 # All Alpha code is PIC.
13841 lt_prog_compiler_static_F77
='-non_shared'
13846 osf3
* | osf4
* | osf5
*)
13847 lt_prog_compiler_wl_F77
='-Wl,'
13848 # All OSF/1 code is PIC.
13849 lt_prog_compiler_static_F77
='-non_shared'
13853 lt_prog_compiler_pic_F77
='-KPIC'
13854 lt_prog_compiler_static_F77
='-Bstatic'
13855 case $cc_basename in
13856 f77
* | f90
* | f95
*)
13857 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13859 lt_prog_compiler_wl_F77
='-Wl,';;
13864 lt_prog_compiler_wl_F77
='-Qoption ld '
13865 lt_prog_compiler_pic_F77
='-PIC'
13866 lt_prog_compiler_static_F77
='-Bstatic'
13869 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13870 lt_prog_compiler_wl_F77
='-Wl,'
13871 lt_prog_compiler_pic_F77
='-KPIC'
13872 lt_prog_compiler_static_F77
='-Bstatic'
13876 if test -d /usr
/nec
;then
13877 lt_prog_compiler_pic_F77
='-Kconform_pic'
13878 lt_prog_compiler_static_F77
='-Bstatic'
13882 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13883 lt_prog_compiler_wl_F77
='-Wl,'
13884 lt_prog_compiler_pic_F77
='-KPIC'
13885 lt_prog_compiler_static_F77
='-Bstatic'
13889 lt_prog_compiler_wl_F77
='-Wl,'
13890 lt_prog_compiler_can_build_shared_F77
=no
13894 lt_prog_compiler_pic_F77
='-pic'
13895 lt_prog_compiler_static_F77
='-Bstatic'
13899 lt_prog_compiler_can_build_shared_F77
=no
13904 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13905 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13908 # Check to make sure the PIC flag actually works.
13910 if test -n "$lt_prog_compiler_pic_F77"; then
13912 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13913 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13914 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13915 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 lt_prog_compiler_pic_works_F77
=no
13918 ac_outfile
=conftest.
$ac_objext
13919 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13920 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 # The option is referenced via a variable to avoid confusing sed.
13926 lt_compile
=`echo "$ac_compile" | $SED \
13927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13929 -e 's:$: $lt_compiler_flag:'`
13930 (eval echo "\"\$as_me:13930: $lt_compile\"" >&5)
13931 (eval "$lt_compile" 2>conftest.err
)
13933 cat conftest.err
>&5
13934 echo "$as_me:13934: \$? = $ac_status" >&5
13935 if (exit $ac_status) && test -s "$ac_outfile"; then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings other than the usual output.
13938 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13939 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13940 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13941 lt_prog_compiler_pic_works_F77
=yes
13947 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13948 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13950 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13951 case $lt_prog_compiler_pic_F77 in
13953 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13956 lt_prog_compiler_pic_F77
=
13957 lt_prog_compiler_can_build_shared_F77
=no
13962 # For platforms which do not support PIC, -DPIC is meaningless:
13964 lt_prog_compiler_pic_F77
=
13967 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13972 # Check to make sure the static flag actually works.
13974 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13975 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13976 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13977 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 lt_prog_compiler_static_works_F77
=no
13981 save_LDFLAGS
="$LDFLAGS"
13982 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13983 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13984 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13985 # The linker can only warn and ignore the option if not recognized
13986 # So say no if there are warnings
13987 if test -s conftest.err
; then
13988 # Append any errors to the config.log.
13989 cat conftest.err
1>&5
13990 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13991 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13992 if diff conftest.exp conftest.er2
>/dev
/null
; then
13993 lt_prog_compiler_static_works_F77
=yes
13996 lt_prog_compiler_static_works_F77
=yes
14000 LDFLAGS
="$save_LDFLAGS"
14003 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14004 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14006 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14009 lt_prog_compiler_static_F77
=
14013 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14014 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14015 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 lt_cv_prog_compiler_c_o_F77
=no
14019 $rm -r conftest
2>/dev
/null
14023 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14025 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14026 # Insert the option either (1) after the last *FLAGS variable, or
14027 # (2) before a word containing "conftest.", or (3) at the end.
14028 # Note that $ac_compile itself does not contain backslashes and begins
14029 # with a dollar sign (not a hyphen), so the echo should work correctly.
14030 lt_compile
=`echo "$ac_compile" | $SED \
14031 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14032 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14033 -e 's:$: $lt_compiler_flag:'`
14034 (eval echo "\"\$as_me:14034: $lt_compile\"" >&5)
14035 (eval "$lt_compile" 2>out
/conftest.err
)
14037 cat out
/conftest.err
>&5
14038 echo "$as_me:14038: \$? = $ac_status" >&5
14039 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14041 # The compiler can only warn and ignore the option if not recognized
14042 # So say no if there are warnings
14043 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14044 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14045 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14046 lt_cv_prog_compiler_c_o_F77
=yes
14051 # SGI C++ compiler will create directory out/ii_files/ for
14052 # template instantiation
14053 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14054 $rm out
/* && rmdir out
14060 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14061 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14064 hard_links
="nottested"
14065 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14066 # do not overwrite the value of need_locks provided by the user
14067 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14068 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14071 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14073 ln conftest.a conftest.b
2>&5 || hard_links
=no
14074 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14075 { echo "$as_me:$LINENO: result: $hard_links" >&5
14076 echo "${ECHO_T}$hard_links" >&6; }
14077 if test "$hard_links" = no
; then
14078 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14079 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14086 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14087 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14090 allow_undefined_flag_F77
=
14091 enable_shared_with_static_runtimes_F77
=no
14093 archive_expsym_cmds_F77
=
14094 old_archive_From_new_cmds_F77
=
14095 old_archive_from_expsyms_cmds_F77
=
14096 export_dynamic_flag_spec_F77
=
14097 whole_archive_flag_spec_F77
=
14098 thread_safe_flag_spec_F77
=
14099 hardcode_libdir_flag_spec_F77
=
14100 hardcode_libdir_flag_spec_ld_F77
=
14101 hardcode_libdir_separator_F77
=
14102 hardcode_direct_F77
=no
14103 hardcode_minus_L_F77
=no
14104 hardcode_shlibpath_var_F77
=unsupported
14105 link_all_deplibs_F77
=unknown
14106 hardcode_automatic_F77
=no
14108 module_expsym_cmds_F77
=
14109 always_export_symbols_F77
=no
14110 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14111 # include_expsyms should be a list of space-separated symbols to be *always*
14112 # included in the symbol list
14113 include_expsyms_F77
=
14114 # exclude_expsyms can be an extended regexp of symbols to exclude
14115 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14116 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14117 # as well as any symbol that contains `d'.
14118 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14119 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14120 # platforms (ab)use it in PIC code, but their linkers get confused if
14121 # the symbol is explicitly referenced. Since portable code cannot
14122 # rely on this symbol name, it's probably fine to never include it in
14123 # preloaded symbol tables.
14124 extract_expsyms_cmds
=
14125 # Just being paranoid about ensuring that cc_basename is set.
14126 for cc_temp
in $compiler""; do
14128 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14129 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14134 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14137 cygwin
* | mingw
* | pw32
*)
14138 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14139 # When not using gcc, we currently assume that we are using
14140 # Microsoft Visual C++.
14141 if test "$GCC" != yes; then
14146 # we just hope/assume this is gcc and not c89 (= MSVC++)
14155 if test "$with_gnu_ld" = yes; then
14156 # If archive_cmds runs LD, not CC, wlarc should be empty
14159 # Set some defaults for GNU ld with shared library support. These
14160 # are reset later if shared libraries are not supported. Putting them
14161 # here allows them to be overridden if necessary.
14162 runpath_var
=LD_RUN_PATH
14163 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14164 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14165 # ancient GNU ld didn't support --whole-archive et. al.
14166 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14167 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14169 whole_archive_flag_spec_F77
=
14171 supports_anon_versioning
=no
14172 case `$LD -v 2>/dev/null` in
14173 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14174 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14175 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14176 *\
2.11.
*) ;; # other 2.11 versions
14177 *) supports_anon_versioning
=yes ;;
14180 # See if GNU ld supports shared libraries.
14182 aix3
* | aix4
* | aix5
*)
14183 # On AIX/PPC, the GNU linker is very broken
14184 if test "$host_cpu" != ia64
; then
14188 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14189 *** to be unable to reliably create shared libraries on AIX.
14190 *** Therefore, libtool is disabling shared libraries support. If you
14191 *** really care for shared libraries, you may want to modify your PATH
14192 *** so that a non-GNU linker is found, and then restart.
14199 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)'
14200 hardcode_libdir_flag_spec_F77
='-L$libdir'
14201 hardcode_minus_L_F77
=yes
14203 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14204 # that the semantics of dynamic libraries on AmigaOS, at least up
14205 # to version 4, is to share data among multiple programs linked
14206 # with the same dynamic library. Since this doesn't match the
14207 # behavior of shared libraries on other platforms, we can't use
14213 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14214 allow_undefined_flag_F77
=unsupported
14215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14216 # support --undefined. This deserves some investigation. FIXME
14217 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14223 cygwin
* | mingw
* | pw32
*)
14224 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14225 # as there is no search path for DLLs.
14226 hardcode_libdir_flag_spec_F77
='-L$libdir'
14227 allow_undefined_flag_F77
=unsupported
14228 always_export_symbols_F77
=no
14229 enable_shared_with_static_runtimes_F77
=yes
14230 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14232 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14233 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14234 # If the export-symbols file already is a .def file (1st line
14235 # is EXPORTS), use it as is; otherwise, prepend...
14236 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14237 cp $export_symbols $output_objdir/$soname.def;
14239 echo EXPORTS > $output_objdir/$soname.def;
14240 cat $export_symbols >> $output_objdir/$soname.def;
14242 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14249 hardcode_direct_F77
=no
14250 hardcode_shlibpath_var_F77
=no
14251 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14252 export_dynamic_flag_spec_F77
='${wl}-E'
14253 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14254 # Instead, shared libraries are loaded at an image base (0x10000000 by
14255 # default) and relocated if they conflict, which is a slow very memory
14256 # consuming and fragmenting process. To avoid this, we pick a random,
14257 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14258 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14259 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'
14260 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'
14263 linux
* | k
*bsd
*-gnu)
14264 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14266 case $cc_basename,$host_cpu in
14267 pgcc
*) # Portland Group C compiler
14268 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'
14269 tmp_addflag
=' $pic_flag'
14271 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14272 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'
14273 tmp_addflag
=' $pic_flag -Mnomain' ;;
14274 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14275 tmp_addflag
=' -i_dynamic' ;;
14276 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14277 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14278 ifc
* | ifort
*) # Intel Fortran compiler
14279 tmp_addflag
=' -nofor_main' ;;
14281 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14283 if test $supports_anon_versioning = yes; then
14284 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14285 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14286 $echo "local: *; };" >> $output_objdir/$libname.ver~
14287 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14289 link_all_deplibs_F77
=no
14295 netbsd
* | netbsdelf
*-gnu)
14296 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14297 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14300 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14301 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14306 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14310 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14311 *** create shared libraries on Solaris systems. Therefore, libtool
14312 *** is disabling shared libraries support. We urge you to upgrade GNU
14313 *** binutils to release 2.9.1 or newer. Another option is to modify
14314 *** your PATH or compiler configuration so that the native linker is
14315 *** used, and then restart.
14318 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14319 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14320 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14326 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14327 case `$LD -v 2>&1` in
14328 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14332 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14333 *** reliably create shared libraries on SCO systems. Therefore, libtool
14334 *** is disabling shared libraries support. We urge you to upgrade GNU
14335 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14336 *** your PATH or compiler configuration so that the native linker is
14337 *** used, and then restart.
14342 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14343 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14344 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14345 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14354 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14356 hardcode_direct_F77
=yes
14357 hardcode_shlibpath_var_F77
=no
14361 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14362 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14363 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14370 if test "$ld_shlibs_F77" = no
; then
14372 hardcode_libdir_flag_spec_F77
=
14373 export_dynamic_flag_spec_F77
=
14374 whole_archive_flag_spec_F77
=
14377 # PORTME fill in a description of your system's linker (not GNU ld)
14380 allow_undefined_flag_F77
=unsupported
14381 always_export_symbols_F77
=yes
14382 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'
14383 # Note: this linker hardcodes the directories in LIBPATH if there
14384 # are no directories specified by -L.
14385 hardcode_minus_L_F77
=yes
14386 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14387 # Neither direct hardcoding nor static linking is supported with a
14389 hardcode_direct_F77
=unsupported
14394 if test "$host_cpu" = ia64
; then
14395 # On IA64, the linker does run time linking by default, so we don't
14396 # have to do anything special.
14397 aix_use_runtimelinking
=no
14398 exp_sym_flag
='-Bexport'
14401 # If we're using GNU nm, then we don't want the "-C" option.
14402 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14403 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14404 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'
14406 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'
14408 aix_use_runtimelinking
=no
14410 # Test if we are trying to use run time linking or normal
14411 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14412 # need to do runtime linking.
14413 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14414 for ld_flag
in $LDFLAGS; do
14415 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14416 aix_use_runtimelinking
=yes
14423 exp_sym_flag
='-bexport'
14424 no_entry_flag
='-bnoentry'
14427 # When large executables or shared objects are built, AIX ld can
14428 # have problems creating the table of contents. If linking a library
14429 # or program results in "error TOC overflow" add -mminimal-toc to
14430 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14431 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14433 archive_cmds_F77
=''
14434 hardcode_direct_F77
=yes
14435 hardcode_libdir_separator_F77
=':'
14436 link_all_deplibs_F77
=yes
14438 if test "$GCC" = yes; then
14439 case $host_os in aix4.
[012]|aix4.
[012].
*)
14440 # We only want to do this on AIX 4.2 and lower, the check
14441 # below for broken collect2 doesn't work under 4.3+
14442 collect2name
=`${CC} -print-prog-name=collect2`
14443 if test -f "$collect2name" && \
14444 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14446 # We have reworked collect2
14447 hardcode_direct_F77
=yes
14449 # We have old collect2
14450 hardcode_direct_F77
=unsupported
14451 # It fails to find uninstalled libraries when the uninstalled
14452 # path is not listed in the libpath. Setting hardcode_minus_L
14453 # to unsupported forces relinking
14454 hardcode_minus_L_F77
=yes
14455 hardcode_libdir_flag_spec_F77
='-L$libdir'
14456 hardcode_libdir_separator_F77
=
14460 shared_flag
='-shared'
14461 if test "$aix_use_runtimelinking" = yes; then
14462 shared_flag
="$shared_flag "'${wl}-G'
14466 if test "$host_cpu" = ia64
; then
14467 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14468 # chokes on -Wl,-G. The following line is correct:
14471 if test "$aix_use_runtimelinking" = yes; then
14472 shared_flag
='${wl}-G'
14474 shared_flag
='${wl}-bM:SRE'
14479 # It seems that -bexpall does not export symbols beginning with
14480 # underscore (_), so it is better to generate a list of symbols to export.
14481 always_export_symbols_F77
=yes
14482 if test "$aix_use_runtimelinking" = yes; then
14483 # Warning - without using the other runtime loading flags (-brtl),
14484 # -berok will link without error, but may produce a broken library.
14485 allow_undefined_flag_F77
='-berok'
14486 # Determine the default libpath from the value encoded in an empty executable.
14487 cat >conftest.
$ac_ext <<_ACEOF
14492 rm -f conftest.
$ac_objext conftest
$ac_exeext
14493 if { (ac_try
="$ac_link"
14494 case "(($ac_try" in
14495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14496 *) ac_try_echo=$ac_try;;
14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14499 (eval "$ac_link") 2>conftest.er1
14501 grep -v '^ *+' conftest.er1 >conftest.err
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } && {
14506 test -z "$ac_f77_werror_flag" ||
14507 test ! -s conftest.err
14508 } && test -s conftest$ac_exeext &&
14509 $as_test_x conftest$ac_exeext; then
14511 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14513 # Check for a 64-bit object if we didn't find anything.
14514 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; }
14517 echo "$as_me: failed program was:" >&5
14518 sed 's/^/| /' conftest.$ac_ext >&5
14523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14524 conftest$ac_exeext conftest.$ac_ext
14525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14527 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14528 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"
14530 if test "$host_cpu" = ia64; then
14531 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14532 allow_undefined_flag_F77="-z nodefs"
14533 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"
14535 # Determine the default libpath from the value encoded in an empty executable.
14536 cat >conftest.$ac_ext <<_ACEOF
14541 rm -f conftest.$ac_objext conftest$ac_exeext
14542 if { (ac_try="$ac_link"
14543 case "(($ac_try" in
14544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14545 *) ac_try_echo
=$ac_try;;
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_link") 2>conftest.er1
14550 grep -v '^ *+' conftest.er1
>conftest.err
14552 cat conftest.err
>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_f77_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest
$ac_exeext &&
14558 $as_test_x conftest
$ac_exeext; then
14560 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14562 # Check for a 64-bit object if we didn't find anything.
14563 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; }
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.
$ac_ext >&5
14572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14573 conftest
$ac_exeext conftest.
$ac_ext
14574 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14576 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14577 # Warning - without using the other run time loading flags,
14578 # -berok will link without error, but may produce a broken library.
14579 no_undefined_flag_F77
=' ${wl}-bernotok'
14580 allow_undefined_flag_F77
=' ${wl}-berok'
14581 # Exported symbols can be pulled into shared objects from archives
14582 whole_archive_flag_spec_F77
='$convenience'
14583 archive_cmds_need_lc_F77
=yes
14584 # This is similar to how AIX traditionally builds its shared libraries.
14585 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'
14591 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)'
14592 hardcode_libdir_flag_spec_F77
='-L$libdir'
14593 hardcode_minus_L_F77
=yes
14594 # see comment about different semantics on the GNU ld section
14599 export_dynamic_flag_spec_F77
=-rdynamic
14602 cygwin
* | mingw
* | pw32
*)
14603 # When not using gcc, we currently assume that we are using
14604 # Microsoft Visual C++.
14605 # hardcode_libdir_flag_spec is actually meaningless, as there is
14606 # no search path for DLLs.
14607 hardcode_libdir_flag_spec_F77
=' '
14608 allow_undefined_flag_F77
=unsupported
14609 # Tell ltmain to make .lib files, not .a files.
14611 # Tell ltmain to make .dll files, not .so files.
14613 # FIXME: Setting linknames here is a bad hack.
14614 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14615 # The linker will automatically build a .lib file if we build a DLL.
14616 old_archive_From_new_cmds_F77
='true'
14617 # FIXME: Should let the user specify the lib program.
14618 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14619 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14620 enable_shared_with_static_runtimes_F77
=yes
14623 darwin
* | rhapsody
*)
14625 rhapsody
* | darwin1.
[012])
14626 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14629 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14630 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14632 case ${MACOSX_DEPLOYMENT_TARGET} in
14634 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14637 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14643 archive_cmds_need_lc_F77
=no
14644 hardcode_direct_F77
=no
14645 hardcode_automatic_F77
=yes
14646 hardcode_shlibpath_var_F77
=unsupported
14647 whole_archive_flag_spec_F77
=''
14648 link_all_deplibs_F77
=yes
14649 if test "$GCC" = yes ; then
14650 output_verbose_link_cmd
='echo'
14651 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14652 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14653 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14654 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}'
14655 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}'
14657 case $cc_basename in
14659 output_verbose_link_cmd
='echo'
14660 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14661 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14662 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14663 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}'
14664 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}'
14674 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14675 hardcode_libdir_flag_spec_F77
='-L$libdir'
14676 hardcode_shlibpath_var_F77
=no
14683 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14684 # support. Future versions do this automatically, but an explicit c++rt0.o
14685 # does not break anything, and helps significantly (at the cost of a little
14688 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14689 hardcode_libdir_flag_spec_F77
='-R$libdir'
14690 hardcode_direct_F77
=yes
14691 hardcode_shlibpath_var_F77
=no
14694 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14696 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14697 hardcode_direct_F77
=yes
14698 hardcode_minus_L_F77
=yes
14699 hardcode_shlibpath_var_F77
=no
14702 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14703 freebsd
* | dragonfly
*)
14704 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14705 hardcode_libdir_flag_spec_F77
='-R$libdir'
14706 hardcode_direct_F77
=yes
14707 hardcode_shlibpath_var_F77
=no
14711 if test "$GCC" = yes; then
14712 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'
14714 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'
14716 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14717 hardcode_libdir_separator_F77
=:
14718 hardcode_direct_F77
=yes
14720 # hardcode_minus_L: Not really in the search PATH,
14721 # but as the default location of the library.
14722 hardcode_minus_L_F77
=yes
14723 export_dynamic_flag_spec_F77
='${wl}-E'
14727 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14728 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14730 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14732 if test "$with_gnu_ld" = no
; then
14733 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14734 hardcode_libdir_separator_F77
=:
14736 hardcode_direct_F77
=yes
14737 export_dynamic_flag_spec_F77
='${wl}-E'
14739 # hardcode_minus_L: Not really in the search PATH,
14740 # but as the default location of the library.
14741 hardcode_minus_L_F77
=yes
14746 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14749 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14752 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14755 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14761 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14764 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14767 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14771 if test "$with_gnu_ld" = no
; then
14772 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14773 hardcode_libdir_separator_F77
=:
14777 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14778 hardcode_direct_F77
=no
14779 hardcode_shlibpath_var_F77
=no
14782 hardcode_direct_F77
=yes
14783 export_dynamic_flag_spec_F77
='${wl}-E'
14785 # hardcode_minus_L: Not really in the search PATH,
14786 # but as the default location of the library.
14787 hardcode_minus_L_F77
=yes
14793 irix5
* | irix6
* | nonstopux
*)
14794 if test "$GCC" = yes; then
14795 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'
14797 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'
14798 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14800 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14801 hardcode_libdir_separator_F77
=:
14802 link_all_deplibs_F77
=yes
14805 netbsd
* | netbsdelf
*-gnu)
14806 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14807 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14809 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14811 hardcode_libdir_flag_spec_F77
='-R$libdir'
14812 hardcode_direct_F77
=yes
14813 hardcode_shlibpath_var_F77
=no
14817 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14818 hardcode_direct_F77
=yes
14819 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14820 hardcode_libdir_separator_F77
=:
14821 hardcode_shlibpath_var_F77
=no
14825 hardcode_direct_F77
=yes
14826 hardcode_shlibpath_var_F77
=no
14827 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14828 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14829 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14830 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14831 export_dynamic_flag_spec_F77
='${wl}-E'
14834 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14835 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14836 hardcode_libdir_flag_spec_F77
='-R$libdir'
14839 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14840 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14847 hardcode_libdir_flag_spec_F77
='-L$libdir'
14848 hardcode_minus_L_F77
=yes
14849 allow_undefined_flag_F77
=unsupported
14850 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'
14851 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14855 if test "$GCC" = yes; then
14856 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14857 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'
14859 allow_undefined_flag_F77
=' -expect_unresolved \*'
14860 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'
14862 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14863 hardcode_libdir_separator_F77
=:
14866 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14867 if test "$GCC" = yes; then
14868 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14869 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'
14870 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14872 allow_undefined_flag_F77
=' -expect_unresolved \*'
14873 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'
14874 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~
14875 $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'
14877 # Both c and cxx compiler support -rpath directly
14878 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14880 hardcode_libdir_separator_F77
=:
14884 no_undefined_flag_F77
=' -z text'
14885 if test "$GCC" = yes; then
14887 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14888 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14889 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14892 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14893 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14894 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14896 hardcode_libdir_flag_spec_F77
='-R$libdir'
14897 hardcode_shlibpath_var_F77
=no
14899 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14901 # The compiler driver will combine linker options so we
14902 # cannot just pass the convience library names through
14903 # without $wl, iff we do not link with $LD.
14904 # Luckily, gcc supports the same syntax we need for Sun Studio.
14905 # Supported since Solaris 2.6 (maybe 2.5.1?)
14908 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14910 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' ;;
14913 link_all_deplibs_F77
=yes
14917 if test "x$host_vendor" = xsequent
; then
14918 # Use $CC to link under sequent, because it throws in some extra .o
14919 # files that make .init and .fini sections work.
14920 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14922 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14924 hardcode_libdir_flag_spec_F77
='-L$libdir'
14925 hardcode_direct_F77
=yes
14926 hardcode_minus_L_F77
=yes
14927 hardcode_shlibpath_var_F77
=no
14931 case $host_vendor in
14933 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14934 hardcode_direct_F77
=yes # is this really true???
14937 ## LD is ld it makes a PLAMLIB
14938 ## CC just makes a GrossModule.
14939 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14940 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14941 hardcode_direct_F77
=no
14944 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14945 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14948 runpath_var
='LD_RUN_PATH'
14949 hardcode_shlibpath_var_F77
=no
14953 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14954 hardcode_shlibpath_var_F77
=no
14955 export_dynamic_flag_spec_F77
='-Bexport'
14959 if test -d /usr
/nec
; then
14960 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14961 hardcode_shlibpath_var_F77
=no
14962 runpath_var
=LD_RUN_PATH
14963 hardcode_runpath_var
=yes
14968 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14969 no_undefined_flag_F77
='${wl}-z,text'
14970 archive_cmds_need_lc_F77
=no
14971 hardcode_shlibpath_var_F77
=no
14972 runpath_var
='LD_RUN_PATH'
14974 if test "$GCC" = yes; then
14975 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14976 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14978 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14979 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14983 sysv5
* | sco3.2v5
* | sco5v6
*)
14984 # Note: We can NOT use -z defs as we might desire, because we do not
14985 # link with -lc, and that would cause any symbols used from libc to
14986 # always be unresolved, which means just about no library would
14987 # ever link correctly. If we're not using GNU ld we use -z text
14988 # though, which does catch some bad symbols but isn't as heavy-handed
14990 no_undefined_flag_F77
='${wl}-z,text'
14991 allow_undefined_flag_F77
='${wl}-z,nodefs'
14992 archive_cmds_need_lc_F77
=no
14993 hardcode_shlibpath_var_F77
=no
14994 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14995 hardcode_libdir_separator_F77
=':'
14996 link_all_deplibs_F77
=yes
14997 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14998 runpath_var
='LD_RUN_PATH'
15000 if test "$GCC" = yes; then
15001 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15002 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15004 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15010 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15011 hardcode_libdir_flag_spec_F77
='-L$libdir'
15012 hardcode_shlibpath_var_F77
=no
15021 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15022 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15023 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15026 # Do we need to explicitly link libc?
15028 case "x$archive_cmds_need_lc_F77" in
15030 # Assume -lc should be added
15031 archive_cmds_need_lc_F77
=yes
15033 if test "$enable_shared" = yes && test "$GCC" = yes; then
15034 case $archive_cmds_F77 in
15036 # FIXME: we may have to deal with multi-command sequences.
15039 # Test whether the compiler implicitly links with -lc since on some
15040 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15041 # to ld, don't add -lc before -lgcc.
15042 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15043 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15045 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15048 (eval $ac_compile) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } 2>conftest.err
; then
15054 libobjs
=conftest.
$ac_objext
15056 wl
=$lt_prog_compiler_wl_F77
15057 pic_flag
=$lt_prog_compiler_pic_F77
15063 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15064 allow_undefined_flag_F77
=
15065 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15066 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }
15071 archive_cmds_need_lc_F77
=no
15073 archive_cmds_need_lc_F77
=yes
15075 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15077 cat conftest.err
1>&5
15080 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15081 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15088 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15089 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15090 library_names_spec
=
15091 libname_spec
='lib$name'
15095 postuninstall_cmds
=
15099 shlibpath_overrides_runpath
=unknown
15101 dynamic_linker
="$host_os ld.so"
15102 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15103 if test "$GCC" = yes; then
15104 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15105 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15106 # if the path contains ";" then we assume it to be the separator
15107 # otherwise default to the standard path separator (i.e. ":") - it is
15108 # assumed that no part of a normal pathname contains ";" but that should
15109 # okay in the real world where ";" in dirpaths is itself problematic.
15110 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15112 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15115 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15117 need_lib_prefix
=unknown
15118 hardcode_into_libs
=no
15120 # when you set need_version to no, make sure it does not cause -set_version
15121 # flags to be left without arguments
15122 need_version
=unknown
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15128 shlibpath_var
=LIBPATH
15130 # AIX 3 has no versioning support, so we append a major version to the name.
15131 soname_spec
='${libname}${release}${shared_ext}$major'
15138 hardcode_into_libs
=yes
15139 if test "$host_cpu" = ia64
; then
15140 # AIX 5 supports IA64
15141 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15142 shlibpath_var
=LD_LIBRARY_PATH
15144 # With GCC up to 2.95.x, collect2 would create an import file
15145 # for dependence libraries. The import file would start with
15146 # the line `#! .'. This would cause the generated library to
15147 # depend on `.', always an invalid library. This was fixed in
15148 # development snapshots of GCC prior to 3.0.
15150 aix4 | aix4.
[01] | aix4.
[01].
*)
15151 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15153 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15156 can_build_shared
=no
15160 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15161 # soname into executable. Probably we can add versioning support to
15162 # collect2, so additional links can be useful in future.
15163 if test "$aix_use_runtimelinking" = yes; then
15164 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15165 # instead of lib<name>.a to let people know that these are not
15166 # typical AIX shared libraries.
15167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15169 # We preserve .a as extension for shared libraries through AIX4.2
15170 # and later when we are not doing run time linking.
15171 library_names_spec
='${libname}${release}.a $libname.a'
15172 soname_spec
='${libname}${release}${shared_ext}$major'
15174 shlibpath_var
=LIBPATH
15179 library_names_spec
='$libname.ixlibrary $libname.a'
15180 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15181 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'
15185 library_names_spec
='${libname}${shared_ext}'
15186 dynamic_linker
="$host_os ld.so"
15187 shlibpath_var
=LIBRARY_PATH
15193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194 soname_spec
='${libname}${release}${shared_ext}$major'
15195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15196 shlibpath_var
=LD_LIBRARY_PATH
15197 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15198 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15199 # the default ld.so.conf also contains /usr/contrib/lib and
15200 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15201 # libtool to hard-code these into programs
15204 cygwin
* | mingw
* | pw32
*)
15205 version_type
=windows
15210 case $GCC,$host_os in
15211 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15212 library_names_spec
='$libname.dll.a'
15213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15214 postinstall_cmds
='base_file=`basename \${file}`~
15215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15216 dldir=$destdir/`dirname \$dlpath`~
15217 test -d \$dldir || mkdir -p \$dldir~
15218 $install_prog $dir/$dlname \$dldir/$dlname~
15219 chmod a+x \$dldir/$dlname'
15220 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15221 dlpath=$dir/\$dldll~
15223 shlibpath_overrides_runpath
=yes
15227 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15228 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15229 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15232 # MinGW DLLs use traditional 'lib' prefix
15233 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15234 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15235 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15236 # It is most probably a Windows format PATH printed by
15237 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15238 # path with ; separators, and with drive letters. We can handle the
15239 # drive letters (cygwin fileutils understands them), so leave them,
15240 # especially as we might pass files found there to a mingw objdump,
15241 # which wouldn't understand a cygwinified path. Ahh.
15242 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15244 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15248 # pw32 DLLs use 'pw' prefix rather than 'lib'
15249 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15255 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15258 dynamic_linker
='Win32 ld.exe'
15259 # FIXME: first we should search . and the directory the executable is in
15263 darwin
* | rhapsody
*)
15264 dynamic_linker
="$host_os dyld"
15265 version_type
=darwin
15268 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15269 soname_spec
='${libname}${release}${major}$shared_ext'
15270 shlibpath_overrides_runpath
=yes
15271 shlibpath_var
=DYLD_LIBRARY_PATH
15272 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15273 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15274 if test "$GCC" = yes; then
15275 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"`
15277 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15279 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15287 soname_spec
='${libname}${release}${shared_ext}$major'
15288 shlibpath_var
=LD_LIBRARY_PATH
15295 freebsd
* | dragonfly
*)
15296 # DragonFly does not have aout. When/if they implement a new
15297 # versioning mechanism, adjust this.
15298 if test -x /usr
/bin
/objformat
; then
15299 objformat
=`/usr/bin/objformat`
15302 freebsd
[123]*) objformat
=aout
;;
15303 *) objformat
=elf
;;
15306 version_type
=freebsd-
$objformat
15307 case $version_type in
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15314 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15318 shlibpath_var
=LD_LIBRARY_PATH
15321 shlibpath_overrides_runpath
=yes
15323 freebsd3.
[01]* | freebsdelf3.
[01]*)
15324 shlibpath_overrides_runpath
=yes
15325 hardcode_into_libs
=yes
15327 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15328 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15329 shlibpath_overrides_runpath
=no
15330 hardcode_into_libs
=yes
15332 freebsd
*) # from 4.6 on
15333 shlibpath_overrides_runpath
=yes
15334 hardcode_into_libs
=yes
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15344 soname_spec
='${libname}${release}${shared_ext}$major'
15345 shlibpath_var
=LD_LIBRARY_PATH
15346 hardcode_into_libs
=yes
15349 hpux9
* | hpux10
* | hpux11
*)
15350 # Give a soname corresponding to the major version so that dld.sl refuses to
15351 # link against other versions.
15358 hardcode_into_libs
=yes
15359 dynamic_linker
="$host_os dld.so"
15360 shlibpath_var
=LD_LIBRARY_PATH
15361 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15363 soname_spec
='${libname}${release}${shared_ext}$major'
15364 if test "X$HPUX_IA64_MODE" = X32
; then
15365 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15367 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15369 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15373 hardcode_into_libs
=yes
15374 dynamic_linker
="$host_os dld.sl"
15375 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15376 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15378 soname_spec
='${libname}${release}${shared_ext}$major'
15379 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15380 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15384 dynamic_linker
="$host_os dld.sl"
15385 shlibpath_var
=SHLIB_PATH
15386 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15388 soname_spec
='${libname}${release}${shared_ext}$major'
15391 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15392 postinstall_cmds
='chmod 555 $lib'
15399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15400 soname_spec
='${libname}${release}${shared_ext}$major'
15401 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15402 shlibpath_var
=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath
=no
15404 hardcode_into_libs
=yes
15407 irix5
* | irix6
* | nonstopux
*)
15409 nonstopux
*) version_type
=nonstopux
;;
15411 if test "$lt_cv_prog_gnu_ld" = yes; then
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15422 irix5
* | nonstopux
*)
15423 libsuff
= shlibsuff
=
15426 case $LD in # libtool.m4 will add one of these switches to LD
15427 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15428 libsuff
= shlibsuff
= libmagic
=32-bit;;
15429 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15430 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15431 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15432 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15433 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15437 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15438 shlibpath_overrides_runpath
=no
15439 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15440 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15441 hardcode_into_libs
=yes
15444 # No shared lib support for Linux oldld, aout, or coff.
15445 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15449 # This must be Linux ELF.
15450 linux
* | k
*bsd
*-gnu)
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15457 shlibpath_var
=LD_LIBRARY_PATH
15458 shlibpath_overrides_runpath
=no
15459 # This implies no fast_install, which is unacceptable.
15460 # Some rework will be needed to allow for fast_install
15461 # before this can be enabled.
15462 hardcode_into_libs
=yes
15464 # Append ld.so.conf contents to the search path
15465 if test -f /etc
/ld.so.conf
; then
15466 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15467 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15470 # We used to test for /lib/ld.so.1 and disable shared libraries on
15471 # powerpc, because MkLinux only supported shared libraries with the
15472 # GNU dynamic linker. Since this was broken with cross compilers,
15473 # most powerpc-linux boxes support dynamic linking these days and
15474 # people can always --disable-shared, the test was removed, and we
15475 # assume the GNU/Linux dynamic linker is in use.
15476 dynamic_linker
='GNU/Linux ld.so'
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15484 soname_spec
='${libname}${release}${shared_ext}$major'
15485 shlibpath_var
=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath
=no
15487 hardcode_into_libs
=yes
15488 dynamic_linker
='NetBSD ld.elf_so'
15495 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15497 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15498 dynamic_linker
='NetBSD (a.out) ld.so'
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 dynamic_linker
='NetBSD ld.elf_so'
15504 shlibpath_var
=LD_LIBRARY_PATH
15505 shlibpath_overrides_runpath
=yes
15506 hardcode_into_libs
=yes
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 shlibpath_var
=LD_LIBRARY_PATH
15513 shlibpath_overrides_runpath
=yes
15520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15521 soname_spec
='${libname}${release}${shared_ext}$major'
15522 shlibpath_var
=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath
=yes
15528 sys_lib_dlsearch_path_spec
="/usr/lib"
15530 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15532 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15533 *) need_version
=no
;;
15535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15537 shlibpath_var
=LD_LIBRARY_PATH
15538 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15540 openbsd2.
[89] | openbsd2.
[89].
*)
15541 shlibpath_overrides_runpath
=no
15544 shlibpath_overrides_runpath
=yes
15548 shlibpath_overrides_runpath
=yes
15553 libname_spec
='$name'
15556 library_names_spec
='$libname${shared_ext} $libname.a'
15557 dynamic_linker
='OS/2 ld.exe'
15558 shlibpath_var
=LIBPATH
15561 osf3
* | osf4
* | osf5
*)
15565 soname_spec
='${libname}${release}${shared_ext}$major'
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 shlibpath_var
=LD_LIBRARY_PATH
15568 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15569 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15577 soname_spec
='${libname}${release}${shared_ext}$major'
15578 shlibpath_var
=LD_LIBRARY_PATH
15579 shlibpath_overrides_runpath
=yes
15580 hardcode_into_libs
=yes
15581 # ldd complains unless libraries are executable
15582 postinstall_cmds
='chmod +x $lib'
15587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15588 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15589 shlibpath_var
=LD_LIBRARY_PATH
15590 shlibpath_overrides_runpath
=yes
15591 if test "$with_gnu_ld" = yes; then
15599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15600 soname_spec
='${libname}${release}${shared_ext}$major'
15601 shlibpath_var
=LD_LIBRARY_PATH
15602 case $host_vendor in
15604 shlibpath_overrides_runpath
=no
15606 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15607 runpath_var
=LD_RUN_PATH
15615 shlibpath_overrides_runpath
=no
15616 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15622 if test -d /usr
/nec
;then
15624 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15625 soname_spec
='$libname${shared_ext}.$major'
15626 shlibpath_var
=LD_LIBRARY_PATH
15630 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15631 version_type
=freebsd-elf
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 shlibpath_var
=LD_LIBRARY_PATH
15637 hardcode_into_libs
=yes
15638 if test "$with_gnu_ld" = yes; then
15639 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15640 shlibpath_overrides_runpath
=no
15642 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15643 shlibpath_overrides_runpath
=yes
15646 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15650 sys_lib_dlsearch_path_spec
='/usr/lib'
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 soname_spec
='${libname}${release}${shared_ext}$major'
15657 shlibpath_var
=LD_LIBRARY_PATH
15664 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15665 echo "${ECHO_T}$dynamic_linker" >&6; }
15666 test "$dynamic_linker" = no
&& can_build_shared
=no
15668 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15669 if test "$GCC" = yes; then
15670 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15673 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15674 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15675 hardcode_action_F77
=
15676 if test -n "$hardcode_libdir_flag_spec_F77" || \
15677 test -n "$runpath_var_F77" || \
15678 test "X$hardcode_automatic_F77" = "Xyes" ; then
15680 # We can hardcode non-existant directories.
15681 if test "$hardcode_direct_F77" != no
&&
15682 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15683 # have to relink, otherwise we might link with an installed library
15684 # when we should be linking with a yet-to-be-installed one
15685 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15686 test "$hardcode_minus_L_F77" != no
; then
15687 # Linking always hardcodes the temporary library directory.
15688 hardcode_action_F77
=relink
15690 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15691 hardcode_action_F77
=immediate
15694 # We cannot hardcode anything, or else we can only hardcode existing
15696 hardcode_action_F77
=unsupported
15698 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15699 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15701 if test "$hardcode_action_F77" = relink
; then
15702 # Fast installation is not supported
15703 enable_fast_install
=no
15704 elif test "$shlibpath_overrides_runpath" = yes ||
15705 test "$enable_shared" = no
; then
15706 # Fast installation is not necessary
15707 enable_fast_install
=needless
15711 # The else clause should only fire when bootstrapping the
15712 # libtool distribution, otherwise you forgot to ship ltmain.sh
15713 # with your package, and you will get complaints that there are
15714 # no rules to generate ltmain.sh.
15715 if test -f "$ltmain"; then
15716 # See if we are running on zsh, and set the options which allow our commands through
15717 # without removal of \ escapes.
15718 if test -n "${ZSH_VERSION+set}" ; then
15719 setopt NO_GLOB_SUBST
15721 # Now quote all the things that may contain metacharacters while being
15722 # careful not to overquote the AC_SUBSTed values. We take copies of the
15723 # variables and quote the copies for generation of the libtool script.
15724 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15726 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15727 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15728 deplibs_check_method reload_flag reload_cmds need_locks \
15729 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15730 lt_cv_sys_global_symbol_to_c_name_address \
15731 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15732 old_postinstall_cmds old_postuninstall_cmds \
15736 lt_prog_compiler_wl_F77 \
15737 lt_prog_compiler_pic_F77 \
15738 lt_prog_compiler_static_F77 \
15739 lt_prog_compiler_no_builtin_flag_F77 \
15740 export_dynamic_flag_spec_F77 \
15741 thread_safe_flag_spec_F77 \
15742 whole_archive_flag_spec_F77 \
15743 enable_shared_with_static_runtimes_F77 \
15744 old_archive_cmds_F77 \
15745 old_archive_from_new_cmds_F77 \
15746 predep_objects_F77 \
15747 postdep_objects_F77 \
15750 compiler_lib_search_path_F77 \
15752 archive_expsym_cmds_F77 \
15753 postinstall_cmds_F77 \
15754 postuninstall_cmds_F77 \
15755 old_archive_from_expsyms_cmds_F77 \
15756 allow_undefined_flag_F77 \
15757 no_undefined_flag_F77 \
15758 export_symbols_cmds_F77 \
15759 hardcode_libdir_flag_spec_F77 \
15760 hardcode_libdir_flag_spec_ld_F77 \
15761 hardcode_libdir_separator_F77 \
15762 hardcode_automatic_F77 \
15764 module_expsym_cmds_F77 \
15765 lt_cv_prog_compiler_c_o_F77 \
15766 exclude_expsyms_F77 \
15767 include_expsyms_F77
; do
15770 old_archive_cmds_F77 | \
15771 old_archive_from_new_cmds_F77 | \
15772 archive_cmds_F77 | \
15773 archive_expsym_cmds_F77 | \
15774 module_cmds_F77 | \
15775 module_expsym_cmds_F77 | \
15776 old_archive_from_expsyms_cmds_F77 | \
15777 export_symbols_cmds_F77 | \
15778 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15779 postinstall_cmds | postuninstall_cmds | \
15780 old_postinstall_cmds | old_postuninstall_cmds | \
15781 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15782 # Double-quote double-evaled strings.
15783 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15786 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15792 *'\$0 --fallback-echo"')
15793 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15799 cat <<__EOF__ >> "$cfgfile"
15800 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15802 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15804 # Shell to use when invoking shell scripts.
15807 # Whether or not to build shared libraries.
15808 build_libtool_libs=$enable_shared
15810 # Whether or not to build static libraries.
15811 build_old_libs=$enable_static
15813 # Whether or not to add -lc for building shared libraries.
15814 build_libtool_need_lc=$archive_cmds_need_lc_F77
15816 # Whether or not to disallow shared libs when runtime libs are static
15817 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15819 # Whether or not to optimize for fast installation.
15820 fast_install=$enable_fast_install
15823 host_alias=$host_alias
15827 # The build system.
15828 build_alias=$build_alias
15832 # An echo program that does not interpret backslashes.
15837 AR_FLAGS=$lt_AR_FLAGS
15842 # LTCC compiler flags.
15843 LTCFLAGS=$lt_LTCFLAGS
15845 # A language-specific compiler.
15846 CC=$lt_compiler_F77
15848 # Is the compiler the GNU C compiler?
15854 # The linker used to build libraries.
15857 # Whether we need hard or soft links.
15860 # A BSD-compatible nm program.
15863 # A symbol stripping program
15866 # Used to examine libraries when file_magic_cmd begins "file"
15867 MAGIC_CMD=$MAGIC_CMD
15869 # Used on cygwin: DLL creation program.
15872 # Used on cygwin: object dumper.
15875 # Used on cygwin: assembler.
15878 # The name of the directory that contains temporary libtool files.
15881 # How to create reloadable object files.
15882 reload_flag=$lt_reload_flag
15883 reload_cmds=$lt_reload_cmds
15885 # How to pass a linker flag through the compiler.
15886 wl=$lt_lt_prog_compiler_wl_F77
15888 # Object file suffix (normally "o").
15889 objext="$ac_objext"
15891 # Old archive suffix (normally "a").
15894 # Shared library suffix (normally ".so").
15895 shrext_cmds='$shrext_cmds'
15897 # Executable file suffix (normally "").
15900 # Additional compiler flags for building library objects.
15901 pic_flag=$lt_lt_prog_compiler_pic_F77
15904 # What is the maximum length of a command?
15905 max_cmd_len=$lt_cv_sys_max_cmd_len
15907 # Does compiler simultaneously support -c and -o options?
15908 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15910 # Must we lock files when doing compilation?
15911 need_locks=$lt_need_locks
15913 # Do we need the lib prefix for modules?
15914 need_lib_prefix=$need_lib_prefix
15916 # Do we need a version for libraries?
15917 need_version=$need_version
15919 # Whether dlopen is supported.
15920 dlopen_support=$enable_dlopen
15922 # Whether dlopen of programs is supported.
15923 dlopen_self=$enable_dlopen_self
15925 # Whether dlopen of statically linked programs is supported.
15926 dlopen_self_static=$enable_dlopen_self_static
15928 # Compiler flag to prevent dynamic linking.
15929 link_static_flag=$lt_lt_prog_compiler_static_F77
15931 # Compiler flag to turn off builtin functions.
15932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15934 # Compiler flag to allow reflexive dlopens.
15935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15937 # Compiler flag to generate shared objects directly from archives.
15938 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15940 # Compiler flag to generate thread-safe objects.
15941 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15943 # Library versioning type.
15944 version_type=$version_type
15946 # Format of library name prefix.
15947 libname_spec=$lt_libname_spec
15949 # List of archive names. First name is the real one, the rest are links.
15950 # The last name is the one that the linker finds with -lNAME.
15951 library_names_spec=$lt_library_names_spec
15953 # The coded name of the library, if different from the real name.
15954 soname_spec=$lt_soname_spec
15956 # Commands used to build and install an old-style archive.
15958 old_archive_cmds=$lt_old_archive_cmds_F77
15959 old_postinstall_cmds=$lt_old_postinstall_cmds
15960 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15962 # Create an old-style archive from a shared archive.
15963 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15965 # Create a temporary old-style archive to link instead of a shared archive.
15966 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15968 # Commands used to build and install a shared archive.
15969 archive_cmds=$lt_archive_cmds_F77
15970 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15971 postinstall_cmds=$lt_postinstall_cmds
15972 postuninstall_cmds=$lt_postuninstall_cmds
15974 # Commands used to build a loadable module (assumed same as above if empty)
15975 module_cmds=$lt_module_cmds_F77
15976 module_expsym_cmds=$lt_module_expsym_cmds_F77
15978 # Commands to strip libraries.
15979 old_striplib=$lt_old_striplib
15980 striplib=$lt_striplib
15982 # Dependencies to place before the objects being linked to create a
15984 predep_objects=$lt_predep_objects_F77
15986 # Dependencies to place after the objects being linked to create a
15988 postdep_objects=$lt_postdep_objects_F77
15990 # Dependencies to place before the objects being linked to create a
15992 predeps=$lt_predeps_F77
15994 # Dependencies to place after the objects being linked to create a
15996 postdeps=$lt_postdeps_F77
15998 # The library search path used internally by the compiler when linking
15999 # a shared library.
16000 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16002 # Method to check whether dependent libraries are shared objects.
16003 deplibs_check_method=$lt_deplibs_check_method
16005 # Command to use when deplibs_check_method == file_magic.
16006 file_magic_cmd=$lt_file_magic_cmd
16008 # Flag that allows shared libraries with undefined symbols to be built.
16009 allow_undefined_flag=$lt_allow_undefined_flag_F77
16011 # Flag that forces no undefined symbols.
16012 no_undefined_flag=$lt_no_undefined_flag_F77
16014 # Commands used to finish a libtool library installation in a directory.
16015 finish_cmds=$lt_finish_cmds
16017 # Same as above, but a single script fragment to be evaled but not shown.
16018 finish_eval=$lt_finish_eval
16020 # Take the output of nm and produce a listing of raw symbols and C names.
16021 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16023 # Transform the output of nm in a proper C declaration
16024 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16026 # Transform the output of nm in a C name address pair
16027 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16029 # This is the shared library runtime path variable.
16030 runpath_var=$runpath_var
16032 # This is the shared library path variable.
16033 shlibpath_var=$shlibpath_var
16035 # Is shlibpath searched before the hard-coded library search path?
16036 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16038 # How to hardcode a shared library path into an executable.
16039 hardcode_action=$hardcode_action_F77
16041 # Whether we should hardcode library paths into libraries.
16042 hardcode_into_libs=$hardcode_into_libs
16044 # Flag to hardcode \$libdir into a binary during linking.
16045 # This must work even if \$libdir does not exist.
16046 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16048 # If ld is used when linking, flag to hardcode \$libdir into
16049 # a binary during linking. This must work even if \$libdir does
16051 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16053 # Whether we need a single -rpath flag with a separated argument.
16054 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16056 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16057 # resulting binary.
16058 hardcode_direct=$hardcode_direct_F77
16060 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16061 # resulting binary.
16062 hardcode_minus_L=$hardcode_minus_L_F77
16064 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16065 # the resulting binary.
16066 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16068 # Set to yes if building a shared library automatically hardcodes DIR into the library
16069 # and all subsequent libraries and executables linked against it.
16070 hardcode_automatic=$hardcode_automatic_F77
16072 # Variables whose values should be saved in libtool wrapper scripts and
16073 # restored at relink time.
16074 variables_saved_for_relink="$variables_saved_for_relink"
16076 # Whether libtool must link a program against all its dependency libraries.
16077 link_all_deplibs=$link_all_deplibs_F77
16079 # Compile-time system search path for libraries
16080 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16082 # Run-time system search path for libraries
16083 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16085 # Fix the shell variable \$srcfile for the compiler.
16086 fix_srcfile_path="$fix_srcfile_path_F77"
16088 # Set to yes if exported symbols are required.
16089 always_export_symbols=$always_export_symbols_F77
16091 # The commands to list exported symbols.
16092 export_symbols_cmds=$lt_export_symbols_cmds_F77
16094 # The commands to extract the exported symbol list from a shared archive.
16095 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16097 # Symbols that should not be listed in the preloaded symbols.
16098 exclude_expsyms=$lt_exclude_expsyms_F77
16100 # Symbols that must always be exported.
16101 include_expsyms=$lt_include_expsyms_F77
16103 # ### END LIBTOOL TAG CONFIG: $tagname
16109 # If there is no Makefile yet, we rely on a make rule to execute
16110 # `config.status --recheck' to rerun these tests and create the
16111 # libtool script then.
16112 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16113 if test -f "$ltmain_in"; then
16114 test -f Makefile
&& make "$ltmain"
16120 ac_cpp
='$CPP $CPPFLAGS'
16121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16133 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16136 # Source file extension for Java test sources.
16139 # Object file extension for compiled Java test sources.
16143 # Code to be used in simple compile tests
16144 lt_simple_compile_test_code
="class foo {}\n"
16146 # Code to be used in simple link tests
16147 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16149 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16151 # If no C compiler was specified, use CC.
16154 # If no C compiler flags were specified, use CFLAGS.
16155 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16157 # Allow CC to be a program name with arguments.
16161 # save warnings/boilerplate of simple test code
16162 ac_outfile
=conftest.
$ac_objext
16163 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16164 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16165 _lt_compiler_boilerplate
=`cat conftest.err`
16168 ac_outfile
=conftest.
$ac_objext
16169 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16170 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16171 _lt_linker_boilerplate
=`cat conftest.err`
16175 # Allow CC to be a program name with arguments.
16180 for cc_temp
in $compiler""; do
16182 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16183 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16188 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16191 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16192 archive_cmds_need_lc_GCJ
=no
16194 old_archive_cmds_GCJ
=$old_archive_cmds
16197 lt_prog_compiler_no_builtin_flag_GCJ
=
16199 if test "$GCC" = yes; then
16200 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16203 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16204 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16205 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 lt_cv_prog_compiler_rtti_exceptions
=no
16209 ac_outfile
=conftest.
$ac_objext
16210 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16211 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16212 # Insert the option either (1) after the last *FLAGS variable, or
16213 # (2) before a word containing "conftest.", or (3) at the end.
16214 # Note that $ac_compile itself does not contain backslashes and begins
16215 # with a dollar sign (not a hyphen), so the echo should work correctly.
16216 # The option is referenced via a variable to avoid confusing sed.
16217 lt_compile
=`echo "$ac_compile" | $SED \
16218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16220 -e 's:$: $lt_compiler_flag:'`
16221 (eval echo "\"\$as_me:16221: $lt_compile\"" >&5)
16222 (eval "$lt_compile" 2>conftest.err
)
16224 cat conftest.err
>&5
16225 echo "$as_me:16225: \$? = $ac_status" >&5
16226 if (exit $ac_status) && test -s "$ac_outfile"; then
16227 # The compiler can only warn and ignore the option if not recognized
16228 # So say no if there are warnings other than the usual output.
16229 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16231 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16232 lt_cv_prog_compiler_rtti_exceptions
=yes
16238 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16239 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16241 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16242 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16249 lt_prog_compiler_wl_GCJ
=
16250 lt_prog_compiler_pic_GCJ
=
16251 lt_prog_compiler_static_GCJ
=
16253 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16254 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16256 if test "$GCC" = yes; then
16257 lt_prog_compiler_wl_GCJ
='-Wl,'
16258 lt_prog_compiler_static_GCJ
='-static'
16262 # All AIX code is PIC.
16263 if test "$host_cpu" = ia64
; then
16264 # AIX 5 now supports IA64 processor
16265 lt_prog_compiler_static_GCJ
='-Bstatic'
16270 # FIXME: we need at least 68020 code to build shared libraries, but
16271 # adding the `-m68020' flag to GCC prevents building anything better,
16273 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16276 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16277 # PIC is the default for these OSes.
16280 mingw
* | pw32
* | os2
*)
16281 # This hack is so that the source file can tell whether it is being
16282 # built for inclusion in a dll (and should export symbols for example).
16283 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16286 darwin
* | rhapsody
*)
16287 # PIC is the default on this platform
16288 # Common symbols not allowed in MH_DYLIB files
16289 lt_prog_compiler_pic_GCJ
='-fno-common'
16293 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16294 # Instead, we relocate shared libraries at runtime.
16298 # Just because we use GCC doesn't mean we suddenly get shared libraries
16299 # on systems that don't support them.
16300 lt_prog_compiler_can_build_shared_GCJ
=no
16305 if test -d /usr
/nec
; then
16306 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16311 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16312 # not for PA HP-UX.
16318 lt_prog_compiler_pic_GCJ
='-fPIC'
16324 lt_prog_compiler_pic_GCJ
='-fPIC'
16328 # PORTME Check for flag to pass linker flags through the system compiler.
16331 lt_prog_compiler_wl_GCJ
='-Wl,'
16332 if test "$host_cpu" = ia64
; then
16333 # AIX 5 now supports IA64 processor
16334 lt_prog_compiler_static_GCJ
='-Bstatic'
16336 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16340 # PIC is the default on this platform
16341 # Common symbols not allowed in MH_DYLIB files
16342 case $cc_basename in
16344 lt_prog_compiler_pic_GCJ
='-qnocommon'
16345 lt_prog_compiler_wl_GCJ
='-Wl,'
16350 mingw
* | pw32
* | os2
*)
16351 # This hack is so that the source file can tell whether it is being
16352 # built for inclusion in a dll (and should export symbols for example).
16353 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16356 hpux9
* | hpux10
* | hpux11
*)
16357 lt_prog_compiler_wl_GCJ
='-Wl,'
16358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16359 # not for PA HP-UX.
16365 lt_prog_compiler_pic_GCJ
='+Z'
16368 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16369 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16372 irix5
* | irix6
* | nonstopux
*)
16373 lt_prog_compiler_wl_GCJ
='-Wl,'
16374 # PIC (with -KPIC) is the default.
16375 lt_prog_compiler_static_GCJ
='-non_shared'
16379 lt_prog_compiler_pic_GCJ
='-KPIC'
16380 lt_prog_compiler_static_GCJ
='-Bstatic'
16383 linux
* | k
*bsd
*-gnu)
16384 case $cc_basename in
16386 lt_prog_compiler_wl_GCJ
='-Wl,'
16387 lt_prog_compiler_pic_GCJ
='-KPIC'
16388 lt_prog_compiler_static_GCJ
='-static'
16390 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16391 # Portland Group compilers (*not* the Pentium gcc compiler,
16392 # which looks to be a dead project)
16393 lt_prog_compiler_wl_GCJ
='-Wl,'
16394 lt_prog_compiler_pic_GCJ
='-fpic'
16395 lt_prog_compiler_static_GCJ
='-Bstatic'
16398 lt_prog_compiler_wl_GCJ
='-Wl,'
16399 # All Alpha code is PIC.
16400 lt_prog_compiler_static_GCJ
='-non_shared'
16405 osf3
* | osf4
* | osf5
*)
16406 lt_prog_compiler_wl_GCJ
='-Wl,'
16407 # All OSF/1 code is PIC.
16408 lt_prog_compiler_static_GCJ
='-non_shared'
16412 lt_prog_compiler_pic_GCJ
='-KPIC'
16413 lt_prog_compiler_static_GCJ
='-Bstatic'
16414 case $cc_basename in
16415 f77
* | f90
* | f95
*)
16416 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16418 lt_prog_compiler_wl_GCJ
='-Wl,';;
16423 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16424 lt_prog_compiler_pic_GCJ
='-PIC'
16425 lt_prog_compiler_static_GCJ
='-Bstatic'
16428 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16429 lt_prog_compiler_wl_GCJ
='-Wl,'
16430 lt_prog_compiler_pic_GCJ
='-KPIC'
16431 lt_prog_compiler_static_GCJ
='-Bstatic'
16435 if test -d /usr
/nec
;then
16436 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16437 lt_prog_compiler_static_GCJ
='-Bstatic'
16441 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16442 lt_prog_compiler_wl_GCJ
='-Wl,'
16443 lt_prog_compiler_pic_GCJ
='-KPIC'
16444 lt_prog_compiler_static_GCJ
='-Bstatic'
16448 lt_prog_compiler_wl_GCJ
='-Wl,'
16449 lt_prog_compiler_can_build_shared_GCJ
=no
16453 lt_prog_compiler_pic_GCJ
='-pic'
16454 lt_prog_compiler_static_GCJ
='-Bstatic'
16458 lt_prog_compiler_can_build_shared_GCJ
=no
16463 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16464 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16467 # Check to make sure the PIC flag actually works.
16469 if test -n "$lt_prog_compiler_pic_GCJ"; then
16471 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16472 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16473 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16476 lt_prog_compiler_pic_works_GCJ
=no
16477 ac_outfile
=conftest.
$ac_objext
16478 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16479 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16480 # Insert the option either (1) after the last *FLAGS variable, or
16481 # (2) before a word containing "conftest.", or (3) at the end.
16482 # Note that $ac_compile itself does not contain backslashes and begins
16483 # with a dollar sign (not a hyphen), so the echo should work correctly.
16484 # The option is referenced via a variable to avoid confusing sed.
16485 lt_compile
=`echo "$ac_compile" | $SED \
16486 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16488 -e 's:$: $lt_compiler_flag:'`
16489 (eval echo "\"\$as_me:16489: $lt_compile\"" >&5)
16490 (eval "$lt_compile" 2>conftest.err
)
16492 cat conftest.err
>&5
16493 echo "$as_me:16493: \$? = $ac_status" >&5
16494 if (exit $ac_status) && test -s "$ac_outfile"; then
16495 # The compiler can only warn and ignore the option if not recognized
16496 # So say no if there are warnings other than the usual output.
16497 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16499 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16500 lt_prog_compiler_pic_works_GCJ
=yes
16506 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16507 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16509 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16510 case $lt_prog_compiler_pic_GCJ in
16512 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16515 lt_prog_compiler_pic_GCJ
=
16516 lt_prog_compiler_can_build_shared_GCJ
=no
16521 # For platforms which do not support PIC, -DPIC is meaningless:
16523 lt_prog_compiler_pic_GCJ
=
16526 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16531 # Check to make sure the static flag actually works.
16533 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16534 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16535 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16536 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 lt_prog_compiler_static_works_GCJ
=no
16540 save_LDFLAGS
="$LDFLAGS"
16541 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16542 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16543 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16544 # The linker can only warn and ignore the option if not recognized
16545 # So say no if there are warnings
16546 if test -s conftest.err
; then
16547 # Append any errors to the config.log.
16548 cat conftest.err
1>&5
16549 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16550 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16551 if diff conftest.exp conftest.er2
>/dev
/null
; then
16552 lt_prog_compiler_static_works_GCJ
=yes
16555 lt_prog_compiler_static_works_GCJ
=yes
16559 LDFLAGS
="$save_LDFLAGS"
16562 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16563 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16565 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16568 lt_prog_compiler_static_GCJ
=
16572 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16573 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16574 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 lt_cv_prog_compiler_c_o_GCJ
=no
16578 $rm -r conftest
2>/dev
/null
16582 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16584 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16585 # Insert the option either (1) after the last *FLAGS variable, or
16586 # (2) before a word containing "conftest.", or (3) at the end.
16587 # Note that $ac_compile itself does not contain backslashes and begins
16588 # with a dollar sign (not a hyphen), so the echo should work correctly.
16589 lt_compile
=`echo "$ac_compile" | $SED \
16590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16592 -e 's:$: $lt_compiler_flag:'`
16593 (eval echo "\"\$as_me:16593: $lt_compile\"" >&5)
16594 (eval "$lt_compile" 2>out
/conftest.err
)
16596 cat out
/conftest.err
>&5
16597 echo "$as_me:16597: \$? = $ac_status" >&5
16598 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16600 # The compiler can only warn and ignore the option if not recognized
16601 # So say no if there are warnings
16602 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16603 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16604 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16605 lt_cv_prog_compiler_c_o_GCJ
=yes
16610 # SGI C++ compiler will create directory out/ii_files/ for
16611 # template instantiation
16612 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16613 $rm out
/* && rmdir out
16619 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16620 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16623 hard_links
="nottested"
16624 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16625 # do not overwrite the value of need_locks provided by the user
16626 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16627 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16630 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16632 ln conftest.a conftest.b
2>&5 || hard_links
=no
16633 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16634 { echo "$as_me:$LINENO: result: $hard_links" >&5
16635 echo "${ECHO_T}$hard_links" >&6; }
16636 if test "$hard_links" = no
; then
16637 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16638 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16645 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16646 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16649 allow_undefined_flag_GCJ
=
16650 enable_shared_with_static_runtimes_GCJ
=no
16652 archive_expsym_cmds_GCJ
=
16653 old_archive_From_new_cmds_GCJ
=
16654 old_archive_from_expsyms_cmds_GCJ
=
16655 export_dynamic_flag_spec_GCJ
=
16656 whole_archive_flag_spec_GCJ
=
16657 thread_safe_flag_spec_GCJ
=
16658 hardcode_libdir_flag_spec_GCJ
=
16659 hardcode_libdir_flag_spec_ld_GCJ
=
16660 hardcode_libdir_separator_GCJ
=
16661 hardcode_direct_GCJ
=no
16662 hardcode_minus_L_GCJ
=no
16663 hardcode_shlibpath_var_GCJ
=unsupported
16664 link_all_deplibs_GCJ
=unknown
16665 hardcode_automatic_GCJ
=no
16667 module_expsym_cmds_GCJ
=
16668 always_export_symbols_GCJ
=no
16669 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16670 # include_expsyms should be a list of space-separated symbols to be *always*
16671 # included in the symbol list
16672 include_expsyms_GCJ
=
16673 # exclude_expsyms can be an extended regexp of symbols to exclude
16674 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16675 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16676 # as well as any symbol that contains `d'.
16677 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16678 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16679 # platforms (ab)use it in PIC code, but their linkers get confused if
16680 # the symbol is explicitly referenced. Since portable code cannot
16681 # rely on this symbol name, it's probably fine to never include it in
16682 # preloaded symbol tables.
16683 extract_expsyms_cmds
=
16684 # Just being paranoid about ensuring that cc_basename is set.
16685 for cc_temp
in $compiler""; do
16687 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16688 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16693 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16696 cygwin
* | mingw
* | pw32
*)
16697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16698 # When not using gcc, we currently assume that we are using
16699 # Microsoft Visual C++.
16700 if test "$GCC" != yes; then
16705 # we just hope/assume this is gcc and not c89 (= MSVC++)
16714 if test "$with_gnu_ld" = yes; then
16715 # If archive_cmds runs LD, not CC, wlarc should be empty
16718 # Set some defaults for GNU ld with shared library support. These
16719 # are reset later if shared libraries are not supported. Putting them
16720 # here allows them to be overridden if necessary.
16721 runpath_var
=LD_RUN_PATH
16722 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16723 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16724 # ancient GNU ld didn't support --whole-archive et. al.
16725 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16726 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16728 whole_archive_flag_spec_GCJ
=
16730 supports_anon_versioning
=no
16731 case `$LD -v 2>/dev/null` in
16732 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16733 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16734 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16735 *\
2.11.
*) ;; # other 2.11 versions
16736 *) supports_anon_versioning
=yes ;;
16739 # See if GNU ld supports shared libraries.
16741 aix3
* | aix4
* | aix5
*)
16742 # On AIX/PPC, the GNU linker is very broken
16743 if test "$host_cpu" != ia64
; then
16747 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16748 *** to be unable to reliably create shared libraries on AIX.
16749 *** Therefore, libtool is disabling shared libraries support. If you
16750 *** really care for shared libraries, you may want to modify your PATH
16751 *** so that a non-GNU linker is found, and then restart.
16758 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)'
16759 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16760 hardcode_minus_L_GCJ
=yes
16762 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16763 # that the semantics of dynamic libraries on AmigaOS, at least up
16764 # to version 4, is to share data among multiple programs linked
16765 # with the same dynamic library. Since this doesn't match the
16766 # behavior of shared libraries on other platforms, we can't use
16772 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16773 allow_undefined_flag_GCJ
=unsupported
16774 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16775 # support --undefined. This deserves some investigation. FIXME
16776 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16782 cygwin
* | mingw
* | pw32
*)
16783 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16784 # as there is no search path for DLLs.
16785 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16786 allow_undefined_flag_GCJ
=unsupported
16787 always_export_symbols_GCJ
=no
16788 enable_shared_with_static_runtimes_GCJ
=yes
16789 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16791 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16792 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16793 # If the export-symbols file already is a .def file (1st line
16794 # is EXPORTS), use it as is; otherwise, prepend...
16795 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16796 cp $export_symbols $output_objdir/$soname.def;
16798 echo EXPORTS > $output_objdir/$soname.def;
16799 cat $export_symbols >> $output_objdir/$soname.def;
16801 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16808 hardcode_direct_GCJ
=no
16809 hardcode_shlibpath_var_GCJ
=no
16810 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16811 export_dynamic_flag_spec_GCJ
='${wl}-E'
16812 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16813 # Instead, shared libraries are loaded at an image base (0x10000000 by
16814 # default) and relocated if they conflict, which is a slow very memory
16815 # consuming and fragmenting process. To avoid this, we pick a random,
16816 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16817 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16818 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'
16819 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'
16822 linux
* | k
*bsd
*-gnu)
16823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16825 case $cc_basename,$host_cpu in
16826 pgcc
*) # Portland Group C compiler
16827 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'
16828 tmp_addflag
=' $pic_flag'
16830 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16831 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'
16832 tmp_addflag
=' $pic_flag -Mnomain' ;;
16833 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16834 tmp_addflag
=' -i_dynamic' ;;
16835 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16836 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16837 ifc
* | ifort
*) # Intel Fortran compiler
16838 tmp_addflag
=' -nofor_main' ;;
16840 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16842 if test $supports_anon_versioning = yes; then
16843 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16845 $echo "local: *; };" >> $output_objdir/$libname.ver~
16846 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16848 link_all_deplibs_GCJ
=no
16854 netbsd
* | netbsdelf
*-gnu)
16855 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16856 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16859 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16860 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16865 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16869 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16870 *** create shared libraries on Solaris systems. Therefore, libtool
16871 *** is disabling shared libraries support. We urge you to upgrade GNU
16872 *** binutils to release 2.9.1 or newer. Another option is to modify
16873 *** your PATH or compiler configuration so that the native linker is
16874 *** used, and then restart.
16877 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16878 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16879 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16885 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16886 case `$LD -v 2>&1` in
16887 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16891 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16892 *** reliably create shared libraries on SCO systems. Therefore, libtool
16893 *** is disabling shared libraries support. We urge you to upgrade GNU
16894 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16895 *** your PATH or compiler configuration so that the native linker is
16896 *** used, and then restart.
16901 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16902 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16903 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16904 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16913 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16915 hardcode_direct_GCJ
=yes
16916 hardcode_shlibpath_var_GCJ
=no
16920 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16921 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16922 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16929 if test "$ld_shlibs_GCJ" = no
; then
16931 hardcode_libdir_flag_spec_GCJ
=
16932 export_dynamic_flag_spec_GCJ
=
16933 whole_archive_flag_spec_GCJ
=
16936 # PORTME fill in a description of your system's linker (not GNU ld)
16939 allow_undefined_flag_GCJ
=unsupported
16940 always_export_symbols_GCJ
=yes
16941 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'
16942 # Note: this linker hardcodes the directories in LIBPATH if there
16943 # are no directories specified by -L.
16944 hardcode_minus_L_GCJ
=yes
16945 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16946 # Neither direct hardcoding nor static linking is supported with a
16948 hardcode_direct_GCJ
=unsupported
16953 if test "$host_cpu" = ia64
; then
16954 # On IA64, the linker does run time linking by default, so we don't
16955 # have to do anything special.
16956 aix_use_runtimelinking
=no
16957 exp_sym_flag
='-Bexport'
16960 # If we're using GNU nm, then we don't want the "-C" option.
16961 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16962 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16963 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'
16965 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'
16967 aix_use_runtimelinking
=no
16969 # Test if we are trying to use run time linking or normal
16970 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16971 # need to do runtime linking.
16972 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16973 for ld_flag
in $LDFLAGS; do
16974 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16975 aix_use_runtimelinking
=yes
16982 exp_sym_flag
='-bexport'
16983 no_entry_flag
='-bnoentry'
16986 # When large executables or shared objects are built, AIX ld can
16987 # have problems creating the table of contents. If linking a library
16988 # or program results in "error TOC overflow" add -mminimal-toc to
16989 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16990 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16992 archive_cmds_GCJ
=''
16993 hardcode_direct_GCJ
=yes
16994 hardcode_libdir_separator_GCJ
=':'
16995 link_all_deplibs_GCJ
=yes
16997 if test "$GCC" = yes; then
16998 case $host_os in aix4.
[012]|aix4.
[012].
*)
16999 # We only want to do this on AIX 4.2 and lower, the check
17000 # below for broken collect2 doesn't work under 4.3+
17001 collect2name
=`${CC} -print-prog-name=collect2`
17002 if test -f "$collect2name" && \
17003 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17005 # We have reworked collect2
17006 hardcode_direct_GCJ
=yes
17008 # We have old collect2
17009 hardcode_direct_GCJ
=unsupported
17010 # It fails to find uninstalled libraries when the uninstalled
17011 # path is not listed in the libpath. Setting hardcode_minus_L
17012 # to unsupported forces relinking
17013 hardcode_minus_L_GCJ
=yes
17014 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17015 hardcode_libdir_separator_GCJ
=
17019 shared_flag
='-shared'
17020 if test "$aix_use_runtimelinking" = yes; then
17021 shared_flag
="$shared_flag "'${wl}-G'
17025 if test "$host_cpu" = ia64
; then
17026 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17027 # chokes on -Wl,-G. The following line is correct:
17030 if test "$aix_use_runtimelinking" = yes; then
17031 shared_flag
='${wl}-G'
17033 shared_flag
='${wl}-bM:SRE'
17038 # It seems that -bexpall does not export symbols beginning with
17039 # underscore (_), so it is better to generate a list of symbols to export.
17040 always_export_symbols_GCJ
=yes
17041 if test "$aix_use_runtimelinking" = yes; then
17042 # Warning - without using the other runtime loading flags (-brtl),
17043 # -berok will link without error, but may produce a broken library.
17044 allow_undefined_flag_GCJ
='-berok'
17045 # Determine the default libpath from the value encoded in an empty executable.
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17061 rm -f conftest.
$ac_objext conftest
$ac_exeext
17062 if { (ac_try
="$ac_link"
17063 case "(($ac_try" in
17064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_link") 2>conftest.er1
17070 grep -v '^ *+' conftest.er1 >conftest.err
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_c_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest$ac_exeext &&
17078 $as_test_x conftest$ac_exeext; then
17080 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17082 # Check for a 64-bit object if we didn't find anything.
17083 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; }
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17093 conftest$ac_exeext conftest.$ac_ext
17094 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17096 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17097 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"
17099 if test "$host_cpu" = ia64; then
17100 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17101 allow_undefined_flag_GCJ="-z nodefs"
17102 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"
17104 # Determine the default libpath from the value encoded in an empty executable.
17105 cat >conftest.$ac_ext <<_ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17120 rm -f conftest.$ac_objext conftest$ac_exeext
17121 if { (ac_try="$ac_link"
17122 case "(($ac_try" in
17123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17124 *) ac_try_echo
=$ac_try;;
17126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17127 (eval "$ac_link") 2>conftest.er1
17129 grep -v '^ *+' conftest.er1
>conftest.err
17131 cat conftest.err
>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } && {
17134 test -z "$ac_c_werror_flag" ||
17135 test ! -s conftest.err
17136 } && test -s conftest
$ac_exeext &&
17137 $as_test_x conftest
$ac_exeext; then
17139 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17141 # Check for a 64-bit object if we didn't find anything.
17142 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; }
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.
$ac_ext >&5
17151 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17152 conftest
$ac_exeext conftest.
$ac_ext
17153 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17155 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17156 # Warning - without using the other run time loading flags,
17157 # -berok will link without error, but may produce a broken library.
17158 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17159 allow_undefined_flag_GCJ
=' ${wl}-berok'
17160 # Exported symbols can be pulled into shared objects from archives
17161 whole_archive_flag_spec_GCJ
='$convenience'
17162 archive_cmds_need_lc_GCJ
=yes
17163 # This is similar to how AIX traditionally builds its shared libraries.
17164 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'
17170 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)'
17171 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17172 hardcode_minus_L_GCJ
=yes
17173 # see comment about different semantics on the GNU ld section
17178 export_dynamic_flag_spec_GCJ
=-rdynamic
17181 cygwin
* | mingw
* | pw32
*)
17182 # When not using gcc, we currently assume that we are using
17183 # Microsoft Visual C++.
17184 # hardcode_libdir_flag_spec is actually meaningless, as there is
17185 # no search path for DLLs.
17186 hardcode_libdir_flag_spec_GCJ
=' '
17187 allow_undefined_flag_GCJ
=unsupported
17188 # Tell ltmain to make .lib files, not .a files.
17190 # Tell ltmain to make .dll files, not .so files.
17192 # FIXME: Setting linknames here is a bad hack.
17193 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17194 # The linker will automatically build a .lib file if we build a DLL.
17195 old_archive_From_new_cmds_GCJ
='true'
17196 # FIXME: Should let the user specify the lib program.
17197 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17198 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17199 enable_shared_with_static_runtimes_GCJ
=yes
17202 darwin
* | rhapsody
*)
17204 rhapsody
* | darwin1.
[012])
17205 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17208 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17209 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17211 case ${MACOSX_DEPLOYMENT_TARGET} in
17213 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17216 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17222 archive_cmds_need_lc_GCJ
=no
17223 hardcode_direct_GCJ
=no
17224 hardcode_automatic_GCJ
=yes
17225 hardcode_shlibpath_var_GCJ
=unsupported
17226 whole_archive_flag_spec_GCJ
=''
17227 link_all_deplibs_GCJ
=yes
17228 if test "$GCC" = yes ; then
17229 output_verbose_link_cmd
='echo'
17230 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17231 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17232 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17233 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}'
17234 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}'
17236 case $cc_basename in
17238 output_verbose_link_cmd
='echo'
17239 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17240 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17241 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17242 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}'
17243 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}'
17253 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17254 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17255 hardcode_shlibpath_var_GCJ
=no
17262 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17263 # support. Future versions do this automatically, but an explicit c++rt0.o
17264 # does not break anything, and helps significantly (at the cost of a little
17267 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17268 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17269 hardcode_direct_GCJ
=yes
17270 hardcode_shlibpath_var_GCJ
=no
17273 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17275 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17276 hardcode_direct_GCJ
=yes
17277 hardcode_minus_L_GCJ
=yes
17278 hardcode_shlibpath_var_GCJ
=no
17281 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17282 freebsd
* | dragonfly
*)
17283 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17284 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17285 hardcode_direct_GCJ
=yes
17286 hardcode_shlibpath_var_GCJ
=no
17290 if test "$GCC" = yes; then
17291 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'
17293 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'
17295 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17296 hardcode_libdir_separator_GCJ
=:
17297 hardcode_direct_GCJ
=yes
17299 # hardcode_minus_L: Not really in the search PATH,
17300 # but as the default location of the library.
17301 hardcode_minus_L_GCJ
=yes
17302 export_dynamic_flag_spec_GCJ
='${wl}-E'
17306 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17307 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17309 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17311 if test "$with_gnu_ld" = no
; then
17312 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17313 hardcode_libdir_separator_GCJ
=:
17315 hardcode_direct_GCJ
=yes
17316 export_dynamic_flag_spec_GCJ
='${wl}-E'
17318 # hardcode_minus_L: Not really in the search PATH,
17319 # but as the default location of the library.
17320 hardcode_minus_L_GCJ
=yes
17325 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17328 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17331 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17334 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17340 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17343 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17346 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17350 if test "$with_gnu_ld" = no
; then
17351 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17352 hardcode_libdir_separator_GCJ
=:
17356 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17357 hardcode_direct_GCJ
=no
17358 hardcode_shlibpath_var_GCJ
=no
17361 hardcode_direct_GCJ
=yes
17362 export_dynamic_flag_spec_GCJ
='${wl}-E'
17364 # hardcode_minus_L: Not really in the search PATH,
17365 # but as the default location of the library.
17366 hardcode_minus_L_GCJ
=yes
17372 irix5
* | irix6
* | nonstopux
*)
17373 if test "$GCC" = yes; then
17374 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'
17376 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'
17377 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17379 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17380 hardcode_libdir_separator_GCJ
=:
17381 link_all_deplibs_GCJ
=yes
17384 netbsd
* | netbsdelf
*-gnu)
17385 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17386 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17388 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17390 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17391 hardcode_direct_GCJ
=yes
17392 hardcode_shlibpath_var_GCJ
=no
17396 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17397 hardcode_direct_GCJ
=yes
17398 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17399 hardcode_libdir_separator_GCJ
=:
17400 hardcode_shlibpath_var_GCJ
=no
17404 hardcode_direct_GCJ
=yes
17405 hardcode_shlibpath_var_GCJ
=no
17406 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17407 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17408 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17409 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17410 export_dynamic_flag_spec_GCJ
='${wl}-E'
17413 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17414 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17415 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17418 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17419 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17426 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17427 hardcode_minus_L_GCJ
=yes
17428 allow_undefined_flag_GCJ
=unsupported
17429 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'
17430 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17434 if test "$GCC" = yes; then
17435 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17436 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'
17438 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17439 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'
17441 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17442 hardcode_libdir_separator_GCJ
=:
17445 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17446 if test "$GCC" = yes; then
17447 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17448 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'
17449 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17451 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17452 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'
17453 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~
17454 $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'
17456 # Both c and cxx compiler support -rpath directly
17457 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17459 hardcode_libdir_separator_GCJ
=:
17463 no_undefined_flag_GCJ
=' -z text'
17464 if test "$GCC" = yes; then
17466 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17467 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17468 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17471 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17472 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17473 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17475 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17476 hardcode_shlibpath_var_GCJ
=no
17478 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17480 # The compiler driver will combine linker options so we
17481 # cannot just pass the convience library names through
17482 # without $wl, iff we do not link with $LD.
17483 # Luckily, gcc supports the same syntax we need for Sun Studio.
17484 # Supported since Solaris 2.6 (maybe 2.5.1?)
17487 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17489 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' ;;
17492 link_all_deplibs_GCJ
=yes
17496 if test "x$host_vendor" = xsequent
; then
17497 # Use $CC to link under sequent, because it throws in some extra .o
17498 # files that make .init and .fini sections work.
17499 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17501 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17503 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17504 hardcode_direct_GCJ
=yes
17505 hardcode_minus_L_GCJ
=yes
17506 hardcode_shlibpath_var_GCJ
=no
17510 case $host_vendor in
17512 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17513 hardcode_direct_GCJ
=yes # is this really true???
17516 ## LD is ld it makes a PLAMLIB
17517 ## CC just makes a GrossModule.
17518 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17519 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17520 hardcode_direct_GCJ
=no
17523 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17524 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17527 runpath_var
='LD_RUN_PATH'
17528 hardcode_shlibpath_var_GCJ
=no
17532 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17533 hardcode_shlibpath_var_GCJ
=no
17534 export_dynamic_flag_spec_GCJ
='-Bexport'
17538 if test -d /usr
/nec
; then
17539 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17540 hardcode_shlibpath_var_GCJ
=no
17541 runpath_var
=LD_RUN_PATH
17542 hardcode_runpath_var
=yes
17547 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17548 no_undefined_flag_GCJ
='${wl}-z,text'
17549 archive_cmds_need_lc_GCJ
=no
17550 hardcode_shlibpath_var_GCJ
=no
17551 runpath_var
='LD_RUN_PATH'
17553 if test "$GCC" = yes; then
17554 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17555 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17557 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17558 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17562 sysv5
* | sco3.2v5
* | sco5v6
*)
17563 # Note: We can NOT use -z defs as we might desire, because we do not
17564 # link with -lc, and that would cause any symbols used from libc to
17565 # always be unresolved, which means just about no library would
17566 # ever link correctly. If we're not using GNU ld we use -z text
17567 # though, which does catch some bad symbols but isn't as heavy-handed
17569 no_undefined_flag_GCJ
='${wl}-z,text'
17570 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17571 archive_cmds_need_lc_GCJ
=no
17572 hardcode_shlibpath_var_GCJ
=no
17573 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17574 hardcode_libdir_separator_GCJ
=':'
17575 link_all_deplibs_GCJ
=yes
17576 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17577 runpath_var
='LD_RUN_PATH'
17579 if test "$GCC" = yes; then
17580 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17581 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17583 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17584 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17589 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17590 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17591 hardcode_shlibpath_var_GCJ
=no
17600 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17601 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17602 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17605 # Do we need to explicitly link libc?
17607 case "x$archive_cmds_need_lc_GCJ" in
17609 # Assume -lc should be added
17610 archive_cmds_need_lc_GCJ
=yes
17612 if test "$enable_shared" = yes && test "$GCC" = yes; then
17613 case $archive_cmds_GCJ in
17615 # FIXME: we may have to deal with multi-command sequences.
17618 # Test whether the compiler implicitly links with -lc since on some
17619 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17620 # to ld, don't add -lc before -lgcc.
17621 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17622 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17624 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17627 (eval $ac_compile) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); } 2>conftest.err
; then
17633 libobjs
=conftest.
$ac_objext
17635 wl
=$lt_prog_compiler_wl_GCJ
17636 pic_flag
=$lt_prog_compiler_pic_GCJ
17642 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17643 allow_undefined_flag_GCJ
=
17644 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17645 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }
17650 archive_cmds_need_lc_GCJ
=no
17652 archive_cmds_need_lc_GCJ
=yes
17654 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17656 cat conftest.err
1>&5
17659 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17660 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17667 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17668 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17669 library_names_spec
=
17670 libname_spec
='lib$name'
17674 postuninstall_cmds
=
17678 shlibpath_overrides_runpath
=unknown
17680 dynamic_linker
="$host_os ld.so"
17681 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17682 if test "$GCC" = yes; then
17683 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17684 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17685 # if the path contains ";" then we assume it to be the separator
17686 # otherwise default to the standard path separator (i.e. ":") - it is
17687 # assumed that no part of a normal pathname contains ";" but that should
17688 # okay in the real world where ";" in dirpaths is itself problematic.
17689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17694 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17696 need_lib_prefix
=unknown
17697 hardcode_into_libs
=no
17699 # when you set need_version to no, make sure it does not cause -set_version
17700 # flags to be left without arguments
17701 need_version
=unknown
17706 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17707 shlibpath_var
=LIBPATH
17709 # AIX 3 has no versioning support, so we append a major version to the name.
17710 soname_spec
='${libname}${release}${shared_ext}$major'
17717 hardcode_into_libs
=yes
17718 if test "$host_cpu" = ia64
; then
17719 # AIX 5 supports IA64
17720 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17721 shlibpath_var
=LD_LIBRARY_PATH
17723 # With GCC up to 2.95.x, collect2 would create an import file
17724 # for dependence libraries. The import file would start with
17725 # the line `#! .'. This would cause the generated library to
17726 # depend on `.', always an invalid library. This was fixed in
17727 # development snapshots of GCC prior to 3.0.
17729 aix4 | aix4.
[01] | aix4.
[01].
*)
17730 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17732 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17735 can_build_shared
=no
17739 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17740 # soname into executable. Probably we can add versioning support to
17741 # collect2, so additional links can be useful in future.
17742 if test "$aix_use_runtimelinking" = yes; then
17743 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17744 # instead of lib<name>.a to let people know that these are not
17745 # typical AIX shared libraries.
17746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17748 # We preserve .a as extension for shared libraries through AIX4.2
17749 # and later when we are not doing run time linking.
17750 library_names_spec
='${libname}${release}.a $libname.a'
17751 soname_spec
='${libname}${release}${shared_ext}$major'
17753 shlibpath_var
=LIBPATH
17758 library_names_spec
='$libname.ixlibrary $libname.a'
17759 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17760 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'
17764 library_names_spec
='${libname}${shared_ext}'
17765 dynamic_linker
="$host_os ld.so"
17766 shlibpath_var
=LIBRARY_PATH
17772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17773 soname_spec
='${libname}${release}${shared_ext}$major'
17774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17775 shlibpath_var
=LD_LIBRARY_PATH
17776 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17777 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17778 # the default ld.so.conf also contains /usr/contrib/lib and
17779 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17780 # libtool to hard-code these into programs
17783 cygwin
* | mingw
* | pw32
*)
17784 version_type
=windows
17789 case $GCC,$host_os in
17790 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17791 library_names_spec
='$libname.dll.a'
17792 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17793 postinstall_cmds
='base_file=`basename \${file}`~
17794 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17795 dldir=$destdir/`dirname \$dlpath`~
17796 test -d \$dldir || mkdir -p \$dldir~
17797 $install_prog $dir/$dlname \$dldir/$dlname~
17798 chmod a+x \$dldir/$dlname'
17799 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17800 dlpath=$dir/\$dldll~
17802 shlibpath_overrides_runpath
=yes
17806 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17807 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17808 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17811 # MinGW DLLs use traditional 'lib' prefix
17812 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17813 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17814 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17815 # It is most probably a Windows format PATH printed by
17816 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17817 # path with ; separators, and with drive letters. We can handle the
17818 # drive letters (cygwin fileutils understands them), so leave them,
17819 # especially as we might pass files found there to a mingw objdump,
17820 # which wouldn't understand a cygwinified path. Ahh.
17821 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17823 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17827 # pw32 DLLs use 'pw' prefix rather than 'lib'
17828 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17834 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17837 dynamic_linker
='Win32 ld.exe'
17838 # FIXME: first we should search . and the directory the executable is in
17842 darwin
* | rhapsody
*)
17843 dynamic_linker
="$host_os dyld"
17844 version_type
=darwin
17847 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17848 soname_spec
='${libname}${release}${major}$shared_ext'
17849 shlibpath_overrides_runpath
=yes
17850 shlibpath_var
=DYLD_LIBRARY_PATH
17851 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17852 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17853 if test "$GCC" = yes; then
17854 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"`
17856 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17858 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17866 soname_spec
='${libname}${release}${shared_ext}$major'
17867 shlibpath_var
=LD_LIBRARY_PATH
17874 freebsd
* | dragonfly
*)
17875 # DragonFly does not have aout. When/if they implement a new
17876 # versioning mechanism, adjust this.
17877 if test -x /usr
/bin
/objformat
; then
17878 objformat
=`/usr/bin/objformat`
17881 freebsd
[123]*) objformat
=aout
;;
17882 *) objformat
=elf
;;
17885 version_type
=freebsd-
$objformat
17886 case $version_type in
17888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17893 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17897 shlibpath_var
=LD_LIBRARY_PATH
17900 shlibpath_overrides_runpath
=yes
17902 freebsd3.
[01]* | freebsdelf3.
[01]*)
17903 shlibpath_overrides_runpath
=yes
17904 hardcode_into_libs
=yes
17906 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17907 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17908 shlibpath_overrides_runpath
=no
17909 hardcode_into_libs
=yes
17911 freebsd
*) # from 4.6 on
17912 shlibpath_overrides_runpath
=yes
17913 hardcode_into_libs
=yes
17922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17923 soname_spec
='${libname}${release}${shared_ext}$major'
17924 shlibpath_var
=LD_LIBRARY_PATH
17925 hardcode_into_libs
=yes
17928 hpux9
* | hpux10
* | hpux11
*)
17929 # Give a soname corresponding to the major version so that dld.sl refuses to
17930 # link against other versions.
17937 hardcode_into_libs
=yes
17938 dynamic_linker
="$host_os dld.so"
17939 shlibpath_var
=LD_LIBRARY_PATH
17940 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17942 soname_spec
='${libname}${release}${shared_ext}$major'
17943 if test "X$HPUX_IA64_MODE" = X32
; then
17944 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17946 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17948 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17952 hardcode_into_libs
=yes
17953 dynamic_linker
="$host_os dld.sl"
17954 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17955 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17957 soname_spec
='${libname}${release}${shared_ext}$major'
17958 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17963 dynamic_linker
="$host_os dld.sl"
17964 shlibpath_var
=SHLIB_PATH
17965 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17967 soname_spec
='${libname}${release}${shared_ext}$major'
17970 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17971 postinstall_cmds
='chmod 555 $lib'
17978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17979 soname_spec
='${libname}${release}${shared_ext}$major'
17980 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17981 shlibpath_var
=LD_LIBRARY_PATH
17982 shlibpath_overrides_runpath
=no
17983 hardcode_into_libs
=yes
17986 irix5
* | irix6
* | nonstopux
*)
17988 nonstopux
*) version_type
=nonstopux
;;
17990 if test "$lt_cv_prog_gnu_ld" = yes; then
17998 soname_spec
='${libname}${release}${shared_ext}$major'
17999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18001 irix5
* | nonstopux
*)
18002 libsuff
= shlibsuff
=
18005 case $LD in # libtool.m4 will add one of these switches to LD
18006 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18007 libsuff
= shlibsuff
= libmagic
=32-bit;;
18008 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18009 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18010 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18011 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18012 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18016 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18017 shlibpath_overrides_runpath
=no
18018 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18019 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18020 hardcode_into_libs
=yes
18023 # No shared lib support for Linux oldld, aout, or coff.
18024 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18028 # This must be Linux ELF.
18029 linux
* | k
*bsd
*-gnu)
18033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18034 soname_spec
='${libname}${release}${shared_ext}$major'
18035 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18036 shlibpath_var
=LD_LIBRARY_PATH
18037 shlibpath_overrides_runpath
=no
18038 # This implies no fast_install, which is unacceptable.
18039 # Some rework will be needed to allow for fast_install
18040 # before this can be enabled.
18041 hardcode_into_libs
=yes
18043 # Append ld.so.conf contents to the search path
18044 if test -f /etc
/ld.so.conf
; then
18045 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18046 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18049 # We used to test for /lib/ld.so.1 and disable shared libraries on
18050 # powerpc, because MkLinux only supported shared libraries with the
18051 # GNU dynamic linker. Since this was broken with cross compilers,
18052 # most powerpc-linux boxes support dynamic linking these days and
18053 # people can always --disable-shared, the test was removed, and we
18054 # assume the GNU/Linux dynamic linker is in use.
18055 dynamic_linker
='GNU/Linux ld.so'
18062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18063 soname_spec
='${libname}${release}${shared_ext}$major'
18064 shlibpath_var
=LD_LIBRARY_PATH
18065 shlibpath_overrides_runpath
=no
18066 hardcode_into_libs
=yes
18067 dynamic_linker
='NetBSD ld.elf_so'
18074 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18077 dynamic_linker
='NetBSD (a.out) ld.so'
18079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18080 soname_spec
='${libname}${release}${shared_ext}$major'
18081 dynamic_linker
='NetBSD ld.elf_so'
18083 shlibpath_var
=LD_LIBRARY_PATH
18084 shlibpath_overrides_runpath
=yes
18085 hardcode_into_libs
=yes
18090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18091 shlibpath_var
=LD_LIBRARY_PATH
18092 shlibpath_overrides_runpath
=yes
18099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18100 soname_spec
='${libname}${release}${shared_ext}$major'
18101 shlibpath_var
=LD_LIBRARY_PATH
18102 shlibpath_overrides_runpath
=yes
18107 sys_lib_dlsearch_path_spec
="/usr/lib"
18109 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18111 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18112 *) need_version
=no
;;
18114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18116 shlibpath_var
=LD_LIBRARY_PATH
18117 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18119 openbsd2.
[89] | openbsd2.
[89].
*)
18120 shlibpath_overrides_runpath
=no
18123 shlibpath_overrides_runpath
=yes
18127 shlibpath_overrides_runpath
=yes
18132 libname_spec
='$name'
18135 library_names_spec
='$libname${shared_ext} $libname.a'
18136 dynamic_linker
='OS/2 ld.exe'
18137 shlibpath_var
=LIBPATH
18140 osf3
* | osf4
* | osf5
*)
18144 soname_spec
='${libname}${release}${shared_ext}$major'
18145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18146 shlibpath_var
=LD_LIBRARY_PATH
18147 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18148 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18156 soname_spec
='${libname}${release}${shared_ext}$major'
18157 shlibpath_var
=LD_LIBRARY_PATH
18158 shlibpath_overrides_runpath
=yes
18159 hardcode_into_libs
=yes
18160 # ldd complains unless libraries are executable
18161 postinstall_cmds
='chmod +x $lib'
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18167 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18168 shlibpath_var
=LD_LIBRARY_PATH
18169 shlibpath_overrides_runpath
=yes
18170 if test "$with_gnu_ld" = yes; then
18178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18179 soname_spec
='${libname}${release}${shared_ext}$major'
18180 shlibpath_var
=LD_LIBRARY_PATH
18181 case $host_vendor in
18183 shlibpath_overrides_runpath
=no
18185 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18186 runpath_var
=LD_RUN_PATH
18194 shlibpath_overrides_runpath
=no
18195 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18201 if test -d /usr
/nec
;then
18203 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18204 soname_spec
='$libname${shared_ext}.$major'
18205 shlibpath_var
=LD_LIBRARY_PATH
18209 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18210 version_type
=freebsd-elf
18213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18214 soname_spec
='${libname}${release}${shared_ext}$major'
18215 shlibpath_var
=LD_LIBRARY_PATH
18216 hardcode_into_libs
=yes
18217 if test "$with_gnu_ld" = yes; then
18218 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18219 shlibpath_overrides_runpath
=no
18221 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18222 shlibpath_overrides_runpath
=yes
18225 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18229 sys_lib_dlsearch_path_spec
='/usr/lib'
18234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18235 soname_spec
='${libname}${release}${shared_ext}$major'
18236 shlibpath_var
=LD_LIBRARY_PATH
18243 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18244 echo "${ECHO_T}$dynamic_linker" >&6; }
18245 test "$dynamic_linker" = no
&& can_build_shared
=no
18247 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18248 if test "$GCC" = yes; then
18249 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18252 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18253 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18254 hardcode_action_GCJ
=
18255 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18256 test -n "$runpath_var_GCJ" || \
18257 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18259 # We can hardcode non-existant directories.
18260 if test "$hardcode_direct_GCJ" != no
&&
18261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18262 # have to relink, otherwise we might link with an installed library
18263 # when we should be linking with a yet-to-be-installed one
18264 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18265 test "$hardcode_minus_L_GCJ" != no
; then
18266 # Linking always hardcodes the temporary library directory.
18267 hardcode_action_GCJ
=relink
18269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18270 hardcode_action_GCJ
=immediate
18273 # We cannot hardcode anything, or else we can only hardcode existing
18275 hardcode_action_GCJ
=unsupported
18277 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18278 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18280 if test "$hardcode_action_GCJ" = relink
; then
18281 # Fast installation is not supported
18282 enable_fast_install
=no
18283 elif test "$shlibpath_overrides_runpath" = yes ||
18284 test "$enable_shared" = no
; then
18285 # Fast installation is not necessary
18286 enable_fast_install
=needless
18290 # The else clause should only fire when bootstrapping the
18291 # libtool distribution, otherwise you forgot to ship ltmain.sh
18292 # with your package, and you will get complaints that there are
18293 # no rules to generate ltmain.sh.
18294 if test -f "$ltmain"; then
18295 # See if we are running on zsh, and set the options which allow our commands through
18296 # without removal of \ escapes.
18297 if test -n "${ZSH_VERSION+set}" ; then
18298 setopt NO_GLOB_SUBST
18300 # Now quote all the things that may contain metacharacters while being
18301 # careful not to overquote the AC_SUBSTed values. We take copies of the
18302 # variables and quote the copies for generation of the libtool script.
18303 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18305 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18306 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18307 deplibs_check_method reload_flag reload_cmds need_locks \
18308 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18309 lt_cv_sys_global_symbol_to_c_name_address \
18310 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18311 old_postinstall_cmds old_postuninstall_cmds \
18315 lt_prog_compiler_wl_GCJ \
18316 lt_prog_compiler_pic_GCJ \
18317 lt_prog_compiler_static_GCJ \
18318 lt_prog_compiler_no_builtin_flag_GCJ \
18319 export_dynamic_flag_spec_GCJ \
18320 thread_safe_flag_spec_GCJ \
18321 whole_archive_flag_spec_GCJ \
18322 enable_shared_with_static_runtimes_GCJ \
18323 old_archive_cmds_GCJ \
18324 old_archive_from_new_cmds_GCJ \
18325 predep_objects_GCJ \
18326 postdep_objects_GCJ \
18329 compiler_lib_search_path_GCJ \
18331 archive_expsym_cmds_GCJ \
18332 postinstall_cmds_GCJ \
18333 postuninstall_cmds_GCJ \
18334 old_archive_from_expsyms_cmds_GCJ \
18335 allow_undefined_flag_GCJ \
18336 no_undefined_flag_GCJ \
18337 export_symbols_cmds_GCJ \
18338 hardcode_libdir_flag_spec_GCJ \
18339 hardcode_libdir_flag_spec_ld_GCJ \
18340 hardcode_libdir_separator_GCJ \
18341 hardcode_automatic_GCJ \
18343 module_expsym_cmds_GCJ \
18344 lt_cv_prog_compiler_c_o_GCJ \
18345 exclude_expsyms_GCJ \
18346 include_expsyms_GCJ
; do
18349 old_archive_cmds_GCJ | \
18350 old_archive_from_new_cmds_GCJ | \
18351 archive_cmds_GCJ | \
18352 archive_expsym_cmds_GCJ | \
18353 module_cmds_GCJ | \
18354 module_expsym_cmds_GCJ | \
18355 old_archive_from_expsyms_cmds_GCJ | \
18356 export_symbols_cmds_GCJ | \
18357 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18358 postinstall_cmds | postuninstall_cmds | \
18359 old_postinstall_cmds | old_postuninstall_cmds | \
18360 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18361 # Double-quote double-evaled strings.
18362 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18365 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18371 *'\$0 --fallback-echo"')
18372 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18378 cat <<__EOF__ >> "$cfgfile"
18379 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18381 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18383 # Shell to use when invoking shell scripts.
18386 # Whether or not to build shared libraries.
18387 build_libtool_libs=$enable_shared
18389 # Whether or not to build static libraries.
18390 build_old_libs=$enable_static
18392 # Whether or not to add -lc for building shared libraries.
18393 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18395 # Whether or not to disallow shared libs when runtime libs are static
18396 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18398 # Whether or not to optimize for fast installation.
18399 fast_install=$enable_fast_install
18402 host_alias=$host_alias
18406 # The build system.
18407 build_alias=$build_alias
18411 # An echo program that does not interpret backslashes.
18416 AR_FLAGS=$lt_AR_FLAGS
18421 # LTCC compiler flags.
18422 LTCFLAGS=$lt_LTCFLAGS
18424 # A language-specific compiler.
18425 CC=$lt_compiler_GCJ
18427 # Is the compiler the GNU C compiler?
18433 # The linker used to build libraries.
18436 # Whether we need hard or soft links.
18439 # A BSD-compatible nm program.
18442 # A symbol stripping program
18445 # Used to examine libraries when file_magic_cmd begins "file"
18446 MAGIC_CMD=$MAGIC_CMD
18448 # Used on cygwin: DLL creation program.
18451 # Used on cygwin: object dumper.
18454 # Used on cygwin: assembler.
18457 # The name of the directory that contains temporary libtool files.
18460 # How to create reloadable object files.
18461 reload_flag=$lt_reload_flag
18462 reload_cmds=$lt_reload_cmds
18464 # How to pass a linker flag through the compiler.
18465 wl=$lt_lt_prog_compiler_wl_GCJ
18467 # Object file suffix (normally "o").
18468 objext="$ac_objext"
18470 # Old archive suffix (normally "a").
18473 # Shared library suffix (normally ".so").
18474 shrext_cmds='$shrext_cmds'
18476 # Executable file suffix (normally "").
18479 # Additional compiler flags for building library objects.
18480 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18483 # What is the maximum length of a command?
18484 max_cmd_len=$lt_cv_sys_max_cmd_len
18486 # Does compiler simultaneously support -c and -o options?
18487 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18489 # Must we lock files when doing compilation?
18490 need_locks=$lt_need_locks
18492 # Do we need the lib prefix for modules?
18493 need_lib_prefix=$need_lib_prefix
18495 # Do we need a version for libraries?
18496 need_version=$need_version
18498 # Whether dlopen is supported.
18499 dlopen_support=$enable_dlopen
18501 # Whether dlopen of programs is supported.
18502 dlopen_self=$enable_dlopen_self
18504 # Whether dlopen of statically linked programs is supported.
18505 dlopen_self_static=$enable_dlopen_self_static
18507 # Compiler flag to prevent dynamic linking.
18508 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18510 # Compiler flag to turn off builtin functions.
18511 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18513 # Compiler flag to allow reflexive dlopens.
18514 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18516 # Compiler flag to generate shared objects directly from archives.
18517 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18519 # Compiler flag to generate thread-safe objects.
18520 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18522 # Library versioning type.
18523 version_type=$version_type
18525 # Format of library name prefix.
18526 libname_spec=$lt_libname_spec
18528 # List of archive names. First name is the real one, the rest are links.
18529 # The last name is the one that the linker finds with -lNAME.
18530 library_names_spec=$lt_library_names_spec
18532 # The coded name of the library, if different from the real name.
18533 soname_spec=$lt_soname_spec
18535 # Commands used to build and install an old-style archive.
18537 old_archive_cmds=$lt_old_archive_cmds_GCJ
18538 old_postinstall_cmds=$lt_old_postinstall_cmds
18539 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18541 # Create an old-style archive from a shared archive.
18542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18544 # Create a temporary old-style archive to link instead of a shared archive.
18545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18547 # Commands used to build and install a shared archive.
18548 archive_cmds=$lt_archive_cmds_GCJ
18549 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18550 postinstall_cmds=$lt_postinstall_cmds
18551 postuninstall_cmds=$lt_postuninstall_cmds
18553 # Commands used to build a loadable module (assumed same as above if empty)
18554 module_cmds=$lt_module_cmds_GCJ
18555 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18557 # Commands to strip libraries.
18558 old_striplib=$lt_old_striplib
18559 striplib=$lt_striplib
18561 # Dependencies to place before the objects being linked to create a
18563 predep_objects=$lt_predep_objects_GCJ
18565 # Dependencies to place after the objects being linked to create a
18567 postdep_objects=$lt_postdep_objects_GCJ
18569 # Dependencies to place before the objects being linked to create a
18571 predeps=$lt_predeps_GCJ
18573 # Dependencies to place after the objects being linked to create a
18575 postdeps=$lt_postdeps_GCJ
18577 # The library search path used internally by the compiler when linking
18578 # a shared library.
18579 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18581 # Method to check whether dependent libraries are shared objects.
18582 deplibs_check_method=$lt_deplibs_check_method
18584 # Command to use when deplibs_check_method == file_magic.
18585 file_magic_cmd=$lt_file_magic_cmd
18587 # Flag that allows shared libraries with undefined symbols to be built.
18588 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18590 # Flag that forces no undefined symbols.
18591 no_undefined_flag=$lt_no_undefined_flag_GCJ
18593 # Commands used to finish a libtool library installation in a directory.
18594 finish_cmds=$lt_finish_cmds
18596 # Same as above, but a single script fragment to be evaled but not shown.
18597 finish_eval=$lt_finish_eval
18599 # Take the output of nm and produce a listing of raw symbols and C names.
18600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18602 # Transform the output of nm in a proper C declaration
18603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18605 # Transform the output of nm in a C name address pair
18606 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18608 # This is the shared library runtime path variable.
18609 runpath_var=$runpath_var
18611 # This is the shared library path variable.
18612 shlibpath_var=$shlibpath_var
18614 # Is shlibpath searched before the hard-coded library search path?
18615 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18617 # How to hardcode a shared library path into an executable.
18618 hardcode_action=$hardcode_action_GCJ
18620 # Whether we should hardcode library paths into libraries.
18621 hardcode_into_libs=$hardcode_into_libs
18623 # Flag to hardcode \$libdir into a binary during linking.
18624 # This must work even if \$libdir does not exist.
18625 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18627 # If ld is used when linking, flag to hardcode \$libdir into
18628 # a binary during linking. This must work even if \$libdir does
18630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18632 # Whether we need a single -rpath flag with a separated argument.
18633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18635 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18636 # resulting binary.
18637 hardcode_direct=$hardcode_direct_GCJ
18639 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18640 # resulting binary.
18641 hardcode_minus_L=$hardcode_minus_L_GCJ
18643 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18644 # the resulting binary.
18645 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18647 # Set to yes if building a shared library automatically hardcodes DIR into the library
18648 # and all subsequent libraries and executables linked against it.
18649 hardcode_automatic=$hardcode_automatic_GCJ
18651 # Variables whose values should be saved in libtool wrapper scripts and
18652 # restored at relink time.
18653 variables_saved_for_relink="$variables_saved_for_relink"
18655 # Whether libtool must link a program against all its dependency libraries.
18656 link_all_deplibs=$link_all_deplibs_GCJ
18658 # Compile-time system search path for libraries
18659 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18661 # Run-time system search path for libraries
18662 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18664 # Fix the shell variable \$srcfile for the compiler.
18665 fix_srcfile_path="$fix_srcfile_path_GCJ"
18667 # Set to yes if exported symbols are required.
18668 always_export_symbols=$always_export_symbols_GCJ
18670 # The commands to list exported symbols.
18671 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18673 # The commands to extract the exported symbol list from a shared archive.
18674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18676 # Symbols that should not be listed in the preloaded symbols.
18677 exclude_expsyms=$lt_exclude_expsyms_GCJ
18679 # Symbols that must always be exported.
18680 include_expsyms=$lt_include_expsyms_GCJ
18682 # ### END LIBTOOL TAG CONFIG: $tagname
18688 # If there is no Makefile yet, we rely on a make rule to execute
18689 # `config.status --recheck' to rerun these tests and create the
18690 # libtool script then.
18691 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18692 if test -f "$ltmain_in"; then
18693 test -f Makefile
&& make "$ltmain"
18699 ac_cpp
='$CPP $CPPFLAGS'
18700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18714 # Source file extension for RC test sources.
18717 # Object file extension for compiled RC test sources.
18721 # Code to be used in simple compile tests
18722 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18724 # Code to be used in simple link tests
18725 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18727 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18729 # If no C compiler was specified, use CC.
18732 # If no C compiler flags were specified, use CFLAGS.
18733 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18735 # Allow CC to be a program name with arguments.
18739 # save warnings/boilerplate of simple test code
18740 ac_outfile
=conftest.
$ac_objext
18741 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18742 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18743 _lt_compiler_boilerplate
=`cat conftest.err`
18746 ac_outfile
=conftest.
$ac_objext
18747 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18748 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18749 _lt_linker_boilerplate
=`cat conftest.err`
18753 # Allow CC to be a program name with arguments.
18758 for cc_temp
in $compiler""; do
18760 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18761 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18766 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18768 lt_cv_prog_compiler_c_o_RC
=yes
18770 # The else clause should only fire when bootstrapping the
18771 # libtool distribution, otherwise you forgot to ship ltmain.sh
18772 # with your package, and you will get complaints that there are
18773 # no rules to generate ltmain.sh.
18774 if test -f "$ltmain"; then
18775 # See if we are running on zsh, and set the options which allow our commands through
18776 # without removal of \ escapes.
18777 if test -n "${ZSH_VERSION+set}" ; then
18778 setopt NO_GLOB_SUBST
18780 # Now quote all the things that may contain metacharacters while being
18781 # careful not to overquote the AC_SUBSTed values. We take copies of the
18782 # variables and quote the copies for generation of the libtool script.
18783 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18785 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18786 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18787 deplibs_check_method reload_flag reload_cmds need_locks \
18788 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18789 lt_cv_sys_global_symbol_to_c_name_address \
18790 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18791 old_postinstall_cmds old_postuninstall_cmds \
18795 lt_prog_compiler_wl_RC \
18796 lt_prog_compiler_pic_RC \
18797 lt_prog_compiler_static_RC \
18798 lt_prog_compiler_no_builtin_flag_RC \
18799 export_dynamic_flag_spec_RC \
18800 thread_safe_flag_spec_RC \
18801 whole_archive_flag_spec_RC \
18802 enable_shared_with_static_runtimes_RC \
18803 old_archive_cmds_RC \
18804 old_archive_from_new_cmds_RC \
18805 predep_objects_RC \
18806 postdep_objects_RC \
18809 compiler_lib_search_path_RC \
18811 archive_expsym_cmds_RC \
18812 postinstall_cmds_RC \
18813 postuninstall_cmds_RC \
18814 old_archive_from_expsyms_cmds_RC \
18815 allow_undefined_flag_RC \
18816 no_undefined_flag_RC \
18817 export_symbols_cmds_RC \
18818 hardcode_libdir_flag_spec_RC \
18819 hardcode_libdir_flag_spec_ld_RC \
18820 hardcode_libdir_separator_RC \
18821 hardcode_automatic_RC \
18823 module_expsym_cmds_RC \
18824 lt_cv_prog_compiler_c_o_RC \
18825 exclude_expsyms_RC \
18826 include_expsyms_RC
; do
18829 old_archive_cmds_RC | \
18830 old_archive_from_new_cmds_RC | \
18831 archive_cmds_RC | \
18832 archive_expsym_cmds_RC | \
18834 module_expsym_cmds_RC | \
18835 old_archive_from_expsyms_cmds_RC | \
18836 export_symbols_cmds_RC | \
18837 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18838 postinstall_cmds | postuninstall_cmds | \
18839 old_postinstall_cmds | old_postuninstall_cmds | \
18840 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18841 # Double-quote double-evaled strings.
18842 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18845 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18851 *'\$0 --fallback-echo"')
18852 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18858 cat <<__EOF__ >> "$cfgfile"
18859 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18863 # Shell to use when invoking shell scripts.
18866 # Whether or not to build shared libraries.
18867 build_libtool_libs=$enable_shared
18869 # Whether or not to build static libraries.
18870 build_old_libs=$enable_static
18872 # Whether or not to add -lc for building shared libraries.
18873 build_libtool_need_lc=$archive_cmds_need_lc_RC
18875 # Whether or not to disallow shared libs when runtime libs are static
18876 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18878 # Whether or not to optimize for fast installation.
18879 fast_install=$enable_fast_install
18882 host_alias=$host_alias
18886 # The build system.
18887 build_alias=$build_alias
18891 # An echo program that does not interpret backslashes.
18896 AR_FLAGS=$lt_AR_FLAGS
18901 # LTCC compiler flags.
18902 LTCFLAGS=$lt_LTCFLAGS
18904 # A language-specific compiler.
18907 # Is the compiler the GNU C compiler?
18913 # The linker used to build libraries.
18916 # Whether we need hard or soft links.
18919 # A BSD-compatible nm program.
18922 # A symbol stripping program
18925 # Used to examine libraries when file_magic_cmd begins "file"
18926 MAGIC_CMD=$MAGIC_CMD
18928 # Used on cygwin: DLL creation program.
18931 # Used on cygwin: object dumper.
18934 # Used on cygwin: assembler.
18937 # The name of the directory that contains temporary libtool files.
18940 # How to create reloadable object files.
18941 reload_flag=$lt_reload_flag
18942 reload_cmds=$lt_reload_cmds
18944 # How to pass a linker flag through the compiler.
18945 wl=$lt_lt_prog_compiler_wl_RC
18947 # Object file suffix (normally "o").
18948 objext="$ac_objext"
18950 # Old archive suffix (normally "a").
18953 # Shared library suffix (normally ".so").
18954 shrext_cmds='$shrext_cmds'
18956 # Executable file suffix (normally "").
18959 # Additional compiler flags for building library objects.
18960 pic_flag=$lt_lt_prog_compiler_pic_RC
18963 # What is the maximum length of a command?
18964 max_cmd_len=$lt_cv_sys_max_cmd_len
18966 # Does compiler simultaneously support -c and -o options?
18967 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18969 # Must we lock files when doing compilation?
18970 need_locks=$lt_need_locks
18972 # Do we need the lib prefix for modules?
18973 need_lib_prefix=$need_lib_prefix
18975 # Do we need a version for libraries?
18976 need_version=$need_version
18978 # Whether dlopen is supported.
18979 dlopen_support=$enable_dlopen
18981 # Whether dlopen of programs is supported.
18982 dlopen_self=$enable_dlopen_self
18984 # Whether dlopen of statically linked programs is supported.
18985 dlopen_self_static=$enable_dlopen_self_static
18987 # Compiler flag to prevent dynamic linking.
18988 link_static_flag=$lt_lt_prog_compiler_static_RC
18990 # Compiler flag to turn off builtin functions.
18991 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18993 # Compiler flag to allow reflexive dlopens.
18994 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18996 # Compiler flag to generate shared objects directly from archives.
18997 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18999 # Compiler flag to generate thread-safe objects.
19000 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19002 # Library versioning type.
19003 version_type=$version_type
19005 # Format of library name prefix.
19006 libname_spec=$lt_libname_spec
19008 # List of archive names. First name is the real one, the rest are links.
19009 # The last name is the one that the linker finds with -lNAME.
19010 library_names_spec=$lt_library_names_spec
19012 # The coded name of the library, if different from the real name.
19013 soname_spec=$lt_soname_spec
19015 # Commands used to build and install an old-style archive.
19017 old_archive_cmds=$lt_old_archive_cmds_RC
19018 old_postinstall_cmds=$lt_old_postinstall_cmds
19019 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19021 # Create an old-style archive from a shared archive.
19022 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19024 # Create a temporary old-style archive to link instead of a shared archive.
19025 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19027 # Commands used to build and install a shared archive.
19028 archive_cmds=$lt_archive_cmds_RC
19029 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19030 postinstall_cmds=$lt_postinstall_cmds
19031 postuninstall_cmds=$lt_postuninstall_cmds
19033 # Commands used to build a loadable module (assumed same as above if empty)
19034 module_cmds=$lt_module_cmds_RC
19035 module_expsym_cmds=$lt_module_expsym_cmds_RC
19037 # Commands to strip libraries.
19038 old_striplib=$lt_old_striplib
19039 striplib=$lt_striplib
19041 # Dependencies to place before the objects being linked to create a
19043 predep_objects=$lt_predep_objects_RC
19045 # Dependencies to place after the objects being linked to create a
19047 postdep_objects=$lt_postdep_objects_RC
19049 # Dependencies to place before the objects being linked to create a
19051 predeps=$lt_predeps_RC
19053 # Dependencies to place after the objects being linked to create a
19055 postdeps=$lt_postdeps_RC
19057 # The library search path used internally by the compiler when linking
19058 # a shared library.
19059 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19061 # Method to check whether dependent libraries are shared objects.
19062 deplibs_check_method=$lt_deplibs_check_method
19064 # Command to use when deplibs_check_method == file_magic.
19065 file_magic_cmd=$lt_file_magic_cmd
19067 # Flag that allows shared libraries with undefined symbols to be built.
19068 allow_undefined_flag=$lt_allow_undefined_flag_RC
19070 # Flag that forces no undefined symbols.
19071 no_undefined_flag=$lt_no_undefined_flag_RC
19073 # Commands used to finish a libtool library installation in a directory.
19074 finish_cmds=$lt_finish_cmds
19076 # Same as above, but a single script fragment to be evaled but not shown.
19077 finish_eval=$lt_finish_eval
19079 # Take the output of nm and produce a listing of raw symbols and C names.
19080 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19082 # Transform the output of nm in a proper C declaration
19083 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19085 # Transform the output of nm in a C name address pair
19086 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19088 # This is the shared library runtime path variable.
19089 runpath_var=$runpath_var
19091 # This is the shared library path variable.
19092 shlibpath_var=$shlibpath_var
19094 # Is shlibpath searched before the hard-coded library search path?
19095 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19097 # How to hardcode a shared library path into an executable.
19098 hardcode_action=$hardcode_action_RC
19100 # Whether we should hardcode library paths into libraries.
19101 hardcode_into_libs=$hardcode_into_libs
19103 # Flag to hardcode \$libdir into a binary during linking.
19104 # This must work even if \$libdir does not exist.
19105 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19107 # If ld is used when linking, flag to hardcode \$libdir into
19108 # a binary during linking. This must work even if \$libdir does
19110 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19112 # Whether we need a single -rpath flag with a separated argument.
19113 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19115 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19116 # resulting binary.
19117 hardcode_direct=$hardcode_direct_RC
19119 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19120 # resulting binary.
19121 hardcode_minus_L=$hardcode_minus_L_RC
19123 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19124 # the resulting binary.
19125 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19127 # Set to yes if building a shared library automatically hardcodes DIR into the library
19128 # and all subsequent libraries and executables linked against it.
19129 hardcode_automatic=$hardcode_automatic_RC
19131 # Variables whose values should be saved in libtool wrapper scripts and
19132 # restored at relink time.
19133 variables_saved_for_relink="$variables_saved_for_relink"
19135 # Whether libtool must link a program against all its dependency libraries.
19136 link_all_deplibs=$link_all_deplibs_RC
19138 # Compile-time system search path for libraries
19139 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19141 # Run-time system search path for libraries
19142 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19144 # Fix the shell variable \$srcfile for the compiler.
19145 fix_srcfile_path="$fix_srcfile_path_RC"
19147 # Set to yes if exported symbols are required.
19148 always_export_symbols=$always_export_symbols_RC
19150 # The commands to list exported symbols.
19151 export_symbols_cmds=$lt_export_symbols_cmds_RC
19153 # The commands to extract the exported symbol list from a shared archive.
19154 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19156 # Symbols that should not be listed in the preloaded symbols.
19157 exclude_expsyms=$lt_exclude_expsyms_RC
19159 # Symbols that must always be exported.
19160 include_expsyms=$lt_include_expsyms_RC
19162 # ### END LIBTOOL TAG CONFIG: $tagname
19168 # If there is no Makefile yet, we rely on a make rule to execute
19169 # `config.status --recheck' to rerun these tests and create the
19170 # libtool script then.
19171 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19172 if test -f "$ltmain_in"; then
19173 test -f Makefile
&& make "$ltmain"
19179 ac_cpp
='$CPP $CPPFLAGS'
19180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19189 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19190 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19191 { (exit 1); exit 1; }; }
19195 # Append the new tag name to the list of available tags.
19196 if test -n "$tagname" ; then
19197 available_tags
="$available_tags $tagname"
19203 # Now substitute the updated list of available tags.
19204 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19205 mv "${ofile}T" "$ofile"
19209 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19210 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19211 { (exit 1); exit 1; }; }
19217 # This can be used to rebuild libtool when needed
19218 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19220 # Always use our own libtool.
19221 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19223 # Prevent multiple expansion
19253 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
19255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19256 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19259 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 ac_res
=`eval echo '${'$as_ac_Header'}'`
19263 { echo "$as_me:$LINENO: result: $ac_res" >&5
19264 echo "${ECHO_T}$ac_res" >&6; }
19266 # Is the header compilable?
19267 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19269 cat >conftest.
$ac_ext <<_ACEOF
19272 cat confdefs.h
>>conftest.
$ac_ext
19273 cat >>conftest.
$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 $ac_includes_default
19276 #include <$ac_header>
19278 rm -f conftest.
$ac_objext
19279 if { (ac_try
="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1 >conftest.err
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 ac_header_compiler=yes
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 ac_header_compiler=no
19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19304 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19305 echo "${ECHO_T}$ac_header_compiler" >&6; }
19307 # Is the header present?
19308 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <$ac_header>
19318 if { (ac_try="$ac_cpp conftest.$ac_ext"
19319 case "(($ac_try" in
19320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19321 *) ac_try_echo
=$ac_try;;
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19326 grep -v '^ *+' conftest.er1
>conftest.err
19328 cat conftest.err
>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } >/dev
/null
&& {
19331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19334 ac_header_preproc
=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.
$ac_ext >&5
19339 ac_header_preproc
=no
19342 rm -f conftest.err conftest.
$ac_ext
19343 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19344 echo "${ECHO_T}$ac_header_preproc" >&6; }
19346 # So? What about this header?
19347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19353 ac_header_preproc
=yes
19356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19369 ## -------------------------------------------------- ##
19370 ## Report this to courier-users@lists.sourceforge.net ##
19371 ## -------------------------------------------------- ##
19373 ) |
sed "s/^/$as_me: WARNING: /" >&2
19376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19378 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 eval "$as_ac_Header=\$ac_header_preproc"
19383 ac_res
=`eval echo '${'$as_ac_Header'}'`
19384 { echo "$as_me:$LINENO: result: $ac_res" >&5
19385 echo "${ECHO_T}$ac_res" >&6; }
19388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19389 cat >>confdefs.h
<<_ACEOF
19390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19397 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19398 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19399 if test "${ac_cv_header_stdc+set}" = set; then
19400 echo $ECHO_N "(cached) $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 <stdlib.h>
19409 #include <stdarg.h>
19410 #include <string.h>
19421 rm -f conftest.
$ac_objext
19422 if { (ac_try
="$ac_compile"
19423 case "(($ac_try" in
19424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19425 *) ac_try_echo=$ac_try;;
19427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19428 (eval "$ac_compile") 2>conftest.er1
19430 grep -v '^ *+' conftest.er1 >conftest.err
19432 cat conftest.err >&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } && {
19435 test -z "$ac_c_werror_flag" ||
19436 test ! -s conftest.err
19437 } && test -s conftest.$ac_objext; then
19438 ac_cv_header_stdc=yes
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.$ac_ext >&5
19443 ac_cv_header_stdc=no
19446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19448 if test $ac_cv_header_stdc = yes; then
19449 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19450 cat >conftest.$ac_ext <<_ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #include <string.h>
19459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19460 $EGREP "memchr" >/dev/null 2>&1; then
19463 ac_cv_header_stdc=no
19469 if test $ac_cv_header_stdc = yes; then
19470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19471 cat >conftest.$ac_ext <<_ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #include <stdlib.h>
19480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19481 $EGREP "free" >/dev/null 2>&1; then
19484 ac_cv_header_stdc=no
19490 if test $ac_cv_header_stdc = yes; then
19491 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19492 if test "$cross_compiling" = yes; then
19495 cat >conftest.$ac_ext <<_ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19502 #include <stdlib.h>
19503 #if ((' ' & 0x0FF) == 0x020)
19504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19507 # define ISLOWER(c) \
19508 (('a' <= (c) && (c) <= 'i') \
19509 || ('j' <= (c) && (c) <= 'r') \
19510 || ('s' <= (c) && (c) <= 'z'))
19511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19519 for (i = 0; i < 256; i++)
19520 if (XOR (islower (i), ISLOWER (i))
19521 || toupper (i) != TOUPPER (i))
19526 rm -f conftest$ac_exeext
19527 if { (ac_try="$ac_link"
19528 case "(($ac_try" in
19529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19530 *) ac_try_echo
=$ac_try;;
19532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19533 (eval "$ac_link") 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19537 { (case "(($ac_try" in
19538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_try") 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19548 echo "$as_me: program exited with status $ac_status" >&5
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19552 ( exit $ac_status )
19553 ac_cv_header_stdc=no
19555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19561 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19562 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19563 if test $ac_cv_header_stdc = yes; then
19565 cat >>confdefs.h <<\_ACEOF
19566 #define STDC_HEADERS 1
19571 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19572 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
19573 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 cat >conftest.$ac_ext <<_ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #include <sys/types.h>
19583 #include <sys/wait.h>
19584 #ifndef WEXITSTATUS
19585 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
19588 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19596 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19605 *) ac_try_echo
=$ac_try;;
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1
>conftest.err
19612 cat conftest.err
>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } && {
19615 test -z "$ac_c_werror_flag" ||
19616 test ! -s conftest.err
19617 } && test -s conftest.
$ac_objext; then
19618 ac_cv_header_sys_wait_h
=yes
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.
$ac_ext >&5
19623 ac_cv_header_sys_wait_h
=no
19626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19628 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19629 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
19630 if test $ac_cv_header_sys_wait_h = yes; then
19632 cat >>confdefs.h
<<\_ACEOF
19633 #define HAVE_SYS_WAIT_H 1
19640 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19641 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19642 if test "${ac_cv_c_const+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 cat >conftest.
$ac_ext <<_ACEOF
19648 cat confdefs.h
>>conftest.
$ac_ext
19649 cat >>conftest.
$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19655 /* FIXME: Include the comments suggested by Paul. */
19656 #ifndef __cplusplus
19657 /* Ultrix mips cc rejects this. */
19658 typedef int charset[2];
19660 /* SunOS 4.1.1 cc rejects this. */
19661 char const *const *pcpcc;
19663 /* NEC SVR4.0.2 mips cc rejects this. */
19664 struct point {int x, y;};
19665 static struct point const zero = {0,0};
19666 /* AIX XL C 1.02.0.0 rejects this.
19667 It does not let you subtract one const X* pointer from another in
19668 an arm of an if-expression whose if-part is not a constant
19670 const char *g = "string";
19671 pcpcc = &g + (g ? g-g : 0);
19672 /* HPUX 7.0 cc rejects these. */
19674 ppc = (char**) pcpcc;
19675 pcpcc = (char const *const *) ppc;
19676 { /* SCO 3.2v4 cc rejects this. */
19678 char const *s = 0 ? (char *) 0 : (char const *) 0;
19683 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19684 int x[] = {25, 17};
19685 const int *foo = &x[0];
19688 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19689 typedef const int *iptr;
19693 { /* AIX XL C 1.02.0.0 rejects this saying
19694 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19695 struct s { int j; const int *ap[3]; };
19696 struct s *b; b->j = 5;
19698 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19699 const int foo = 10;
19700 if (!foo) return 0;
19702 return !cs[0] && !zero.x;
19709 rm -f conftest.
$ac_objext
19710 if { (ac_try
="$ac_compile"
19711 case "(($ac_try" in
19712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_compile") 2>conftest.er1
19718 grep -v '^ *+' conftest.er1 >conftest.err
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest.$ac_objext; then
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19736 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19737 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19738 if test $ac_cv_c_const = no; then
19740 cat >>confdefs.h <<\_ACEOF
19746 { echo "$as_me:$LINENO: checking for off_t" >&5
19747 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19748 if test "${ac_cv_type_off_t+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 cat >conftest.$ac_ext <<_ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 $ac_includes_default
19758 typedef off_t ac__type_new_;
19762 if ((ac__type_new_ *) 0)
19764 if (sizeof (ac__type_new_))
19770 rm -f conftest.$ac_objext
19771 if { (ac_try="$ac_compile"
19772 case "(($ac_try" in
19773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19774 *) ac_try_echo
=$ac_try;;
19776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19777 (eval "$ac_compile") 2>conftest.er1
19779 grep -v '^ *+' conftest.er1
>conftest.err
19781 cat conftest.err
>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } && {
19784 test -z "$ac_c_werror_flag" ||
19785 test ! -s conftest.err
19786 } && test -s conftest.
$ac_objext; then
19787 ac_cv_type_off_t
=yes
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.
$ac_ext >&5
19792 ac_cv_type_off_t
=no
19795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19797 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19798 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19799 if test $ac_cv_type_off_t = yes; then
19803 cat >>confdefs.h
<<_ACEOF
19804 #define off_t long int
19809 { echo "$as_me:$LINENO: checking for pid_t" >&5
19810 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19811 if test "${ac_cv_type_pid_t+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 $ac_includes_default
19821 typedef pid_t ac__type_new_;
19825 if ((ac__type_new_ *) 0)
19827 if (sizeof (ac__type_new_))
19833 rm -f conftest.
$ac_objext
19834 if { (ac_try
="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19842 grep -v '^ *+' conftest.er1 >conftest.err
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19850 ac_cv_type_pid_t=yes
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.$ac_ext >&5
19855 ac_cv_type_pid_t=no
19858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19860 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19861 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19862 if test $ac_cv_type_pid_t = yes; then
19866 cat >>confdefs.h <<_ACEOF
19872 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
19873 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
19874 if test "${ac_cv_type_signal+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 #include <sys/types.h>
19884 #include <signal.h>
19889 return *(signal (0, 0)) (0) == 1;
19894 rm -f conftest.$ac_objext
19895 if { (ac_try="$ac_compile"
19896 case "(($ac_try" in
19897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19898 *) ac_try_echo
=$ac_try;;
19900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19901 (eval "$ac_compile") 2>conftest.er1
19903 grep -v '^ *+' conftest.er1
>conftest.err
19905 cat conftest.err
>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } && {
19908 test -z "$ac_c_werror_flag" ||
19909 test ! -s conftest.err
19910 } && test -s conftest.
$ac_objext; then
19911 ac_cv_type_signal
=int
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19916 ac_cv_type_signal
=void
19919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19921 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19922 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
19924 cat >>confdefs.h
<<_ACEOF
19925 #define RETSIGTYPE $ac_cv_type_signal
19930 { echo "$as_me:$LINENO: checking for off64_t" >&5
19931 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
19932 if test "${liblock_cv_hasoff64t+set}" = set; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 liblock_cv_hasoff64t
="no"
19936 cat >conftest.
$ac_ext <<_ACEOF
19939 cat confdefs.h
>>conftest.
$ac_ext
19940 cat >>conftest.
$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19943 #include <sys/types.h>
19957 rm -f conftest.
$ac_objext
19958 if { (ac_try
="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19966 grep -v '^ *+' conftest.er1 >conftest.err
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19974 liblock_cv_hasoff64t="yes"
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19986 { echo "$as_me:$LINENO: result: $liblock_cv_hasoff64t" >&5
19987 echo "${ECHO_T}$liblock_cv_hasoff64t" >&6; }
19989 if test "$liblock_cv_hasoff64t" = "yes"
19991 LL_OFFSET_TYPE=off64_t
19993 LL_OFFSET_TYPE=off_t
19996 cat >>confdefs.h <<_ACEOF
19997 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20001 { echo "$as_me:$LINENO: checking for flock_t" >&5
20002 echo $ECHO_N "checking for flock_t... $ECHO_C" >&6; }
20003 if test "${liblock_cv_hasflock_t+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 liblock_cv_hasflock_t="no"
20007 cat >conftest.$ac_ext <<_ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20015 #include "config.h"
20017 #include <sys/types.h>
20021 #if HAVE_SYS_FCNTL_H
20022 #include <sys/fcntl.h>
20035 rm -f conftest.$ac_objext
20036 if { (ac_try="$ac_compile"
20037 case "(($ac_try" in
20038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20039 *) ac_try_echo
=$ac_try;;
20041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20042 (eval "$ac_compile") 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } && {
20049 test -z "$ac_c_werror_flag" ||
20050 test ! -s conftest.err
20051 } && test -s conftest.
$ac_objext; then
20052 liblock_cv_hasflock_t
="yes"
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.
$ac_ext >&5
20060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20062 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock_t" >&5
20063 echo "${ECHO_T}$liblock_cv_hasflock_t" >&6; }
20065 if test "$liblock_cv_hasflock_t" = "yes"
20068 cat >>confdefs.h
<<_ACEOF
20069 #define HAS_FLOCK_T 1
20078 for ac_func
in getdtablesize setpgrp sysconf
20080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20083 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20094 #define $ac_func innocuous_$ac_func
20096 /* System header to define __stub macros and hopefully few prototypes,
20097 which can conflict with char $ac_func (); below.
20098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20099 <limits.h> exists even on freestanding compilers. */
20102 # include <limits.h>
20104 # include <assert.h>
20109 /* Override any GCC internal prototype to avoid an error.
20110 Use char because int might match the return type of a GCC
20111 builtin and then its argument prototype would still apply. */
20116 /* The GNU C library defines this for functions which it implements
20117 to always fail with ENOSYS. Some functions are actually named
20118 something starting with __ and the normal name is an alias. */
20119 #if defined __stub_$ac_func || defined __stub___$ac_func
20126 return $ac_func ();
20131 rm -f conftest.
$ac_objext conftest
$ac_exeext
20132 if { (ac_try
="$ac_link"
20133 case "(($ac_try" in
20134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_link") 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest$ac_exeext &&
20148 $as_test_x conftest$ac_exeext; then
20149 eval "$as_ac_var=yes"
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20154 eval "$as_ac_var=no"
20157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20158 conftest$ac_exeext conftest.$ac_ext
20160 ac_res=`eval echo '${'$as_ac_var'}'`
20161 { echo "$as_me:$LINENO: result: $ac_res" >&5
20162 echo "${ECHO_T}$ac_res" >&6; }
20163 if test `eval echo '${'$as_ac_var'}'` = yes; then
20164 cat >>confdefs.h <<_ACEOF
20165 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20171 { echo "$as_me:$LINENO: checking for setpgrp" >&5
20172 echo $ECHO_N "checking for setpgrp... $ECHO_C" >&6; }
20173 if test "${ac_cv_func_setpgrp+set}" = set; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 cat >conftest.$ac_ext <<_ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 /* Define setpgrp to an innocuous variant, in case <limits.h> declares setpgrp.
20183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20184 #define setpgrp innocuous_setpgrp
20186 /* System header to define __stub macros and hopefully few prototypes,
20187 which can conflict with char setpgrp (); below.
20188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20189 <limits.h> exists even on freestanding compilers. */
20192 # include <limits.h>
20194 # include <assert.h>
20199 /* Override any GCC internal prototype to avoid an error.
20200 Use char because int might match the return type of a GCC
20201 builtin and then its argument prototype would still apply. */
20206 /* The GNU C library defines this for functions which it implements
20207 to always fail with ENOSYS. Some functions are actually named
20208 something starting with __ and the normal name is an alias. */
20209 #if defined __stub_setpgrp || defined __stub___setpgrp
20221 rm -f conftest.$ac_objext conftest$ac_exeext
20222 if { (ac_try="$ac_link"
20223 case "(($ac_try" in
20224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20225 *) ac_try_echo
=$ac_try;;
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_link") 2>conftest.er1
20230 grep -v '^ *+' conftest.er1
>conftest.err
20232 cat conftest.err
>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest
$ac_exeext &&
20238 $as_test_x conftest
$ac_exeext; then
20239 ac_cv_func_setpgrp
=yes
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.
$ac_ext >&5
20244 ac_cv_func_setpgrp
=no
20247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20248 conftest
$ac_exeext conftest.
$ac_ext
20250 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp" >&5
20251 echo "${ECHO_T}$ac_cv_func_setpgrp" >&6; }
20252 if test $ac_cv_func_setpgrp = yes; then
20254 { echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20255 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
20256 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 if test "$cross_compiling" = yes; then
20260 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20261 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20262 { (exit 1); exit 1; }; }
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
20274 /* If this system has a BSD-style setpgrp which takes arguments,
20275 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20276 exit successfully. */
20277 return setpgrp (1,1) != -1;
20282 rm -f conftest
$ac_exeext
20283 if { (ac_try
="$ac_link"
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_link") 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20293 { (case "(($ac_try" in
20294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20295 *) ac_try_echo
=$ac_try;;
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_try") 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 ac_cv_func_setpgrp_void
=no
20304 echo "$as_me: program exited with status $ac_status" >&5
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.
$ac_ext >&5
20308 ( exit $ac_status )
20309 ac_cv_func_setpgrp_void
=yes
20311 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20316 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20317 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
20318 if test $ac_cv_func_setpgrp_void = yes; then
20320 cat >>confdefs.h
<<\_ACEOF
20321 #define SETPGRP_VOID 1
20331 { echo "$as_me:$LINENO: checking for fcntl" >&5
20332 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6; }
20333 if test "${liblock_cv_hasfcntl+set}" = set; then
20334 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 liblock_cv_hasfcntl
="no"
20337 cat >conftest.
$ac_ext <<_ACEOF
20340 cat confdefs.h
>>conftest.
$ac_ext
20341 cat >>conftest.
$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20344 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20345 #include "${srcdir}/lockfcntl.c"
20357 rm -f conftest.
$ac_objext conftest
$ac_exeext
20358 if { (ac_try
="$ac_link"
20359 case "(($ac_try" in
20360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_link") 2>conftest.er1
20366 grep -v '^ *+' conftest.er1 >conftest.err
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest$ac_exeext &&
20374 $as_test_x conftest$ac_exeext; then
20375 liblock_cv_hasfcntl="yes"
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20384 conftest$ac_exeext conftest.$ac_ext
20386 { echo "$as_me:$LINENO: result: $liblock_cv_hasfcntl" >&5
20387 echo "${ECHO_T}$liblock_cv_hasfcntl" >&6; }
20388 if test "$liblock_cv_hasfcntl" = "yes"
20391 cat >>confdefs.h <<_ACEOF
20392 #define HAS_FCNTL 1
20397 { echo "$as_me:$LINENO: checking for flock" >&5
20398 echo $ECHO_N "checking for flock... $ECHO_C" >&6; }
20399 if test "${liblock_cv_hasflock+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 liblock_cv_hasflock="no"
20403 cat >conftest.$ac_ext <<_ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20411 #include "${srcdir}/lockflock.c"
20423 rm -f conftest.$ac_objext conftest$ac_exeext
20424 if { (ac_try="$ac_link"
20425 case "(($ac_try" in
20426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20427 *) ac_try_echo
=$ac_try;;
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_link") 2>conftest.er1
20432 grep -v '^ *+' conftest.er1
>conftest.err
20434 cat conftest.err
>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && {
20437 test -z "$ac_c_werror_flag" ||
20438 test ! -s conftest.err
20439 } && test -s conftest
$ac_exeext &&
20440 $as_test_x conftest
$ac_exeext; then
20441 liblock_cv_hasflock
="yes"
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.
$ac_ext >&5
20449 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20450 conftest
$ac_exeext conftest.
$ac_ext
20452 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock" >&5
20453 echo "${ECHO_T}$liblock_cv_hasflock" >&6; }
20454 if test "$liblock_cv_hasflock" = "yes"
20457 cat >>confdefs.h
<<_ACEOF
20458 #define HAS_FLOCK 1
20463 { echo "$as_me:$LINENO: checking for lockf" >&5
20464 echo $ECHO_N "checking for lockf... $ECHO_C" >&6; }
20465 if test "${liblock_cv_haslockf+set}" = set; then
20466 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 liblock_cv_haslockf
="no"
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20476 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20477 #include "${srcdir}/locklockf.c"
20489 rm -f conftest.
$ac_objext conftest
$ac_exeext
20490 if { (ac_try
="$ac_link"
20491 case "(($ac_try" in
20492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_link") 2>conftest.er1
20498 grep -v '^ *+' conftest.er1 >conftest.err
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_c_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest$ac_exeext &&
20506 $as_test_x conftest$ac_exeext; then
20507 liblock_cv_haslockf="yes"
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20516 conftest$ac_exeext conftest.$ac_ext
20518 { echo "$as_me:$LINENO: result: $liblock_cv_haslockf" >&5
20519 echo "${ECHO_T}$liblock_cv_haslockf" >&6; }
20520 if test "$liblock_cv_haslockf" = "yes"
20523 cat >>confdefs.h <<_ACEOF
20524 #define HAS_LOCKF 1
20529 { echo "$as_me:$LINENO: checking for locking method" >&5
20530 echo $ECHO_N "checking for locking method... $ECHO_C" >&6; }
20532 # Check whether --with-locking-method was given.
20533 if test "${with_locking_method+set}" = set; then
20534 withval=$with_locking_method; lockmethod="$withval"
20540 case x$lockmethod in
20542 if test "$cross_compiling" = yes; then
20546 cat >conftest.$ac_ext <<_ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20553 #define USE_FCNTL 1
20554 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20555 #include "${srcdir}/locktest.c"
20558 rm -f conftest$ac_exeext
20559 if { (ac_try="$ac_link"
20560 case "(($ac_try" in
20561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20562 *) ac_try_echo
=$ac_try;;
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_link") 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20569 { (case "(($ac_try" in
20570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20571 *) ac_try_echo=$ac_try;;
20573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20574 (eval "$ac_try") 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20580 echo "$as_me: program exited with status $ac_status" >&5
20581 echo "$as_me: failed program was:" >&5
20582 sed 's/^/| /' conftest.$ac_ext >&5
20584 ( exit $ac_status )
20585 { { echo "$as_me:$LINENO: error: fcntl test failed." >&5
20586 echo "$as_me: error: fcntl test failed." >&2;}
20587 { (exit 1); exit 1; }; }
20589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20595 if test "$cross_compiling" = yes; then
20596 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20597 echo "$as_me: error: --with-locking-method option required" >&2;}
20598 { (exit 1); exit 1; }; }
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20607 #define USE_FCNTL 1
20608 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20609 #include "${srcdir}/locktest.c"
20612 rm -f conftest$ac_exeext
20613 if { (ac_try="$ac_link"
20614 case "(($ac_try" in
20615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20616 *) ac_try_echo
=$ac_try;;
20618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20619 (eval "$ac_link") 2>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20623 { (case "(($ac_try" in
20624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_try") 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; }; then
20634 echo "$as_me: program exited with status $ac_status" >&5
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20646 case x$lockmethod in
20648 if test "$cross_compiling" = yes; then
20652 cat >conftest.$ac_ext <<_ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20659 #define USE_LOCKF 1
20660 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20661 #include "${srcdir}/locktest.c"
20664 rm -f conftest$ac_exeext
20665 if { (ac_try="$ac_link"
20666 case "(($ac_try" in
20667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20668 *) ac_try_echo
=$ac_try;;
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_link") 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20675 { (case "(($ac_try" in
20676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20680 (eval "$ac_try") 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20686 echo "$as_me: program exited with status $ac_status" >&5
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 ( exit $ac_status )
20691 { { echo "$as_me:$LINENO: error: lockf test failed." >&5
20692 echo "$as_me: error: lockf test failed." >&2;}
20693 { (exit 1); exit 1; }; }
20695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20701 if test "$cross_compiling" = yes; then
20702 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20703 echo "$as_me: error: --with-locking-method option required" >&2;}
20704 { (exit 1); exit 1; }; }
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20713 #define USE_LOCKF 1
20714 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20715 #include "${srcdir}/locktest.c"
20718 rm -f conftest$ac_exeext
20719 if { (ac_try="$ac_link"
20720 case "(($ac_try" in
20721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20722 *) ac_try_echo
=$ac_try;;
20724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20725 (eval "$ac_link") 2>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20729 { (case "(($ac_try" in
20730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20731 *) ac_try_echo=$ac_try;;
20733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20734 (eval "$ac_try") 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20740 echo "$as_me: program exited with status $ac_status" >&5
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20753 case x$lockmethod in
20755 if test "$cross_compiling" = yes; then
20759 cat >conftest.$ac_ext <<_ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20766 #define USE_FLOCK 1
20767 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20768 #include "${srcdir}/locktest.c"
20771 rm -f conftest$ac_exeext
20772 if { (ac_try="$ac_link"
20773 case "(($ac_try" in
20774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20775 *) ac_try_echo
=$ac_try;;
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_link") 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20782 { (case "(($ac_try" in
20783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20784 *) ac_try_echo=$ac_try;;
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_try") 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; }; then
20793 echo "$as_me: program exited with status $ac_status" >&5
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20797 ( exit $ac_status )
20798 { { echo "$as_me:$LINENO: error: flock test failed." >&5
20799 echo "$as_me: error: flock test failed." >&2;}
20800 { (exit 1); exit 1; }; }
20802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20808 if test "$cross_compiling" = yes; then
20809 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20810 echo "$as_me: error: --with-locking-method option required" >&2;}
20811 { (exit 1); exit 1; }; }
20813 cat >conftest.$ac_ext <<_ACEOF
20816 cat confdefs.h >>conftest.$ac_ext
20817 cat >>conftest.$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20820 #define USE_FLOCK 1
20821 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20822 #include "${srcdir}/locktest.c"
20825 rm -f conftest$ac_exeext
20826 if { (ac_try="$ac_link"
20827 case "(($ac_try" in
20828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20829 *) ac_try_echo
=$ac_try;;
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_link") 2>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20836 { (case "(($ac_try" in
20837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20838 *) ac_try_echo=$ac_try;;
20840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20841 (eval "$ac_try") 2>&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); }; }; then
20847 echo "$as_me: program exited with status $ac_status" >&5
20848 echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.$ac_ext >&5
20852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20859 case x$lockmethod in
20867 { { echo "$as_me:$LINENO: error: must specify --with-locking-method option" >&5
20868 echo "$as_me: error: must specify --with-locking-method option" >&2;}
20869 { (exit 1); exit 1; }; }
20873 { echo "$as_me:$LINENO: result: $lockmethod" >&5
20874 echo "${ECHO_T}$lockmethod" >&6; }
20876 if test "$lockmethod" = "fcntl"; then
20878 USE_FCNTL_FALSE='#'
20884 if test "$lockmethod" = "flock"; then
20886 USE_FLOCK_FALSE='#'
20892 if test "$lockmethod" = "lockf"; then
20894 USE_LOCKF_FALSE='#'
20901 if test -d ${srcdir}/../docbook; then
20903 HAVE_SGML_FALSE='#'
20911 cat >>confdefs.h <<_ACEOF
20912 #define liblock_config_h 1
20916 ac_config_files="$ac_config_files Makefile"
20918 cat >confcache <<\_ACEOF
20919 # This file is a shell script that caches the results of configure
20920 # tests run on this system so they can be shared between configure
20921 # scripts and configure runs, see configure's option --config-cache.
20922 # It is not useful on other systems. If it contains results you don't
20923 # want to keep, you may remove or edit it.
20925 # config.status only pays attention to the cache file if you give it
20926 # the --recheck option to rerun configure.
20928 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20930 # following values.
20934 # The following way of writing the cache mishandles newlines in values,
20935 # but we know of no workaround that is simple, portable, and efficient.
20936 # So, we kill variables containing newlines.
20937 # Ultrix sh set writes to stderr and can't be redirected directly,
20938 # and sets the high bit in the cache file unless we assign to the vars.
20940 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20941 eval ac_val
=\$
$ac_var
20945 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20946 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20949 _ | IFS | as_nl
) ;; #(
20950 *) $as_unset $ac_var ;;
20956 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20957 *${as_nl}ac_space
=\
*)
20958 # `set' does not quote correctly, so add quotes (double-quote
20959 # substitution turns \\\\ into \\, and sed turns \\ into \).
20962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20965 # `set' quotes correctly as required by POSIX, so do not add quotes.
20966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20977 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20979 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20980 if test -w "$cache_file"; then
20981 test "x$cache_file" != "x/dev/null" &&
20982 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20983 echo "$as_me: updating cache $cache_file" >&6;}
20984 cat confcache
>$cache_file
20986 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20987 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20992 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20993 # Let make expand exec_prefix.
20994 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20996 DEFS
=-DHAVE_CONFIG_H
21000 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21001 # 1. Remove the extension, and $U if already installed.
21002 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21003 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21004 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21005 # will be set to the directory where LIBOBJS objects are built.
21006 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21007 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21009 LIBOBJS
=$ac_libobjs
21011 LTLIBOBJS
=$ac_ltlibobjs
21014 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21015 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21016 Usually this means the macro was only invoked conditionally." >&5
21017 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21018 Usually this means the macro was only invoked conditionally." >&2;}
21019 { (exit 1); exit 1; }; }
21021 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21022 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21023 Usually this means the macro was only invoked conditionally." >&5
21024 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21025 Usually this means the macro was only invoked conditionally." >&2;}
21026 { (exit 1); exit 1; }; }
21028 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21029 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21030 Usually this means the macro was only invoked conditionally." >&5
21031 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21032 Usually this means the macro was only invoked conditionally." >&2;}
21033 { (exit 1); exit 1; }; }
21035 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
21036 { { echo "$as_me:$LINENO: error: conditional \"USE_FCNTL\" was never defined.
21037 Usually this means the macro was only invoked conditionally." >&5
21038 echo "$as_me: error: conditional \"USE_FCNTL\" was never defined.
21039 Usually this means the macro was only invoked conditionally." >&2;}
21040 { (exit 1); exit 1; }; }
21042 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
21043 { { echo "$as_me:$LINENO: error: conditional \"USE_FLOCK\" was never defined.
21044 Usually this means the macro was only invoked conditionally." >&5
21045 echo "$as_me: error: conditional \"USE_FLOCK\" was never defined.
21046 Usually this means the macro was only invoked conditionally." >&2;}
21047 { (exit 1); exit 1; }; }
21049 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
21050 { { echo "$as_me:$LINENO: error: conditional \"USE_LOCKF\" was never defined.
21051 Usually this means the macro was only invoked conditionally." >&5
21052 echo "$as_me: error: conditional \"USE_LOCKF\" was never defined.
21053 Usually this means the macro was only invoked conditionally." >&2;}
21054 { (exit 1); exit 1; }; }
21056 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
21057 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
21058 Usually this means the macro was only invoked conditionally." >&5
21059 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
21060 Usually this means the macro was only invoked conditionally." >&2;}
21061 { (exit 1); exit 1; }; }
21064 : ${CONFIG_STATUS=./config.status}
21065 ac_clean_files_save
=$ac_clean_files
21066 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21067 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21068 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21069 cat >$CONFIG_STATUS <<_ACEOF
21071 # Generated by $as_me.
21072 # Run this file to recreate the current configuration.
21073 # Compiler output produced by configure, useful for debugging
21074 # configure, is in config.log if it exists.
21077 ac_cs_recheck=false
21079 SHELL=\${CONFIG_SHELL-$SHELL}
21082 cat >>$CONFIG_STATUS <<\_ACEOF
21083 ## --------------------- ##
21084 ## M4sh Initialization. ##
21085 ## --------------------- ##
21087 # Be more Bourne compatible
21088 DUALCASE
=1; export DUALCASE
# for MKS sh
21089 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21092 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21093 # is contrary to our usage. Disable this feature.
21094 alias -g '${1+"$@"}'='"$@"'
21095 setopt NO_GLOB_SUBST
21097 case `(set -o) 2>/dev/null` in
21098 *posix
*) set -o posix
;;
21107 # Avoid depending upon Character Ranges.
21108 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21109 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21110 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21111 as_cr_digits
='0123456789'
21112 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21114 # The user is always right.
21115 if test "${PATH_SEPARATOR+set}" != set; then
21116 echo "#! /bin/sh" >conf$$.sh
21117 echo "exit 0" >>conf$$.sh
21119 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21127 # Support unset when possible.
21128 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21136 # We need space, tab and new line, in precisely that order. Quoting is
21137 # there to prevent editors from complaining about space-tab.
21138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21139 # splitting by setting IFS to empty value.)
21144 # Find who we are. Look in the path if we contain no directory separator.
21146 *[\\/]* ) as_myself
=$0 ;;
21147 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21148 for as_dir
in $PATH
21151 test -z "$as_dir" && as_dir
=.
21152 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21158 # We did not find ourselves, most probably we were run as `sh COMMAND'
21159 # in which case we are not to be found in the path.
21160 if test "x$as_myself" = x
; then
21163 if test ! -f "$as_myself"; then
21164 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21165 { (exit 1); exit 1; }
21168 # Work around bugs in pre-3.0 UWIN ksh.
21169 for as_var
in ENV MAIL MAILPATH
21170 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21178 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21179 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21180 LC_TELEPHONE LC_TIME
21182 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21183 eval $as_var=C
; export $as_var
21185 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21189 # Required to use basename.
21190 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21191 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21197 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21198 as_basename
=basename
21204 # Name of the executable.
21205 as_me
=`$as_basename -- "$0" ||
21206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21207 X"$0" : 'X\(//\)$' \| \
21208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21210 sed '/^.*\/\([^/][^/]*\)\/*$/{
21229 as_lineno_1
=$LINENO
21230 as_lineno_2
=$LINENO
21231 test "x$as_lineno_1" != "x$as_lineno_2" &&
21232 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21234 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21235 # uniformly replaced by the line number. The first 'sed' inserts a
21236 # line-number line after each line using $LINENO; the second 'sed'
21237 # does the real work. The second script uses 'N' to pair each
21238 # line-number line with the line containing $LINENO, and appends
21239 # trailing '-' during substitution so that $LINENO is not a special
21240 # case at line end.
21241 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21242 # scripts with optimization help from Paolo Bonzini. Blame Lee
21243 # E. McMahon (1931-1989) for sed's syntax. :-)
21255 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21258 ' >$as_me.lineno
&&
21259 chmod +x
"$as_me.lineno" ||
21260 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21261 { (exit 1); exit 1; }; }
21263 # Don't try to exec as it changes $[0], causing all sort of problems
21264 # (the dirname of $[0] is not the place where we might find the
21265 # original and so on. Autoconf is especially sensitive to this).
21266 .
"./$as_me.lineno"
21267 # Exit status is that of the last command.
21272 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21278 ECHO_C
= ECHO_N
= ECHO_T
=
21279 case `echo -n x` in
21281 case `echo 'x\c'` in
21282 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21289 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21290 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21296 rm -f conf$$ conf$$.exe conf$$.
file
21297 if test -d conf$$.dir
; then
21298 rm -f conf$$.dir
/conf$$.
file
21304 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21306 # ... but there are two gotchas:
21307 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21308 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21309 # In both cases, we have to default to `cp -p'.
21310 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21312 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21317 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21318 rmdir conf$$.dir
2>/dev
/null
21320 if mkdir
-p .
2>/dev
/null
; then
21323 test -d .
/-p && rmdir .
/-p
21327 if test -x / >/dev
/null
2>&1; then
21328 as_test_x
='test -x'
21330 if ls -dL / >/dev
/null
2>&1; then
21337 if test -d "$1"; then
21343 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21344 ???[sx]*):;;*)false;;esac;fi
21348 as_executable_p
=$as_test_x
21350 # Sed expression to map a string onto a valid CPP name.
21351 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21353 # Sed expression to map a string onto a valid variable name.
21354 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21359 # Save the log message, to keep $[0] and so on meaningful, and to
21360 # report actual input values of CONFIG_FILES etc. instead of their
21361 # values after options handling.
21363 This file was extended by liblock $as_me 0.60, which was
21364 generated by GNU Autoconf 2.61. Invocation command line was
21366 CONFIG_FILES = $CONFIG_FILES
21367 CONFIG_HEADERS = $CONFIG_HEADERS
21368 CONFIG_LINKS = $CONFIG_LINKS
21369 CONFIG_COMMANDS = $CONFIG_COMMANDS
21372 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21377 cat >>$CONFIG_STATUS <<_ACEOF
21378 # Files that config.status was made for.
21379 config_files="$ac_config_files"
21380 config_headers="$ac_config_headers"
21381 config_commands="$ac_config_commands"
21385 cat >>$CONFIG_STATUS <<\_ACEOF
21387 \`$as_me' instantiates files from templates according to the
21388 current configuration.
21390 Usage: $0 [OPTIONS] [FILE]...
21392 -h, --help print this help, then exit
21393 -V, --version print version number and configuration settings, then exit
21394 -q, --quiet do not print progress messages
21395 -d, --debug don't remove temporary files
21396 --recheck update $as_me by reconfiguring in the same conditions
21397 --file=FILE[:TEMPLATE]
21398 instantiate the configuration file FILE
21399 --header=FILE[:TEMPLATE]
21400 instantiate the configuration header FILE
21402 Configuration files:
21405 Configuration headers:
21408 Configuration commands:
21411 Report bugs to <bug-autoconf@gnu.org>."
21414 cat >>$CONFIG_STATUS <<_ACEOF
21416 liblock config.status 0.60
21417 configured by $0, generated by GNU Autoconf 2.61,
21418 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21420 Copyright (C) 2006 Free Software Foundation, Inc.
21421 This config.status script is free software; the Free Software Foundation
21422 gives unlimited permission to copy, distribute and modify it."
21430 cat >>$CONFIG_STATUS <<\_ACEOF
21431 # If no file are specified by the user, then we need to provide default
21432 # value. By we need to know if files were specified by the user.
21438 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21439 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21450 # Handling of the options.
21451 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21453 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21454 echo "$ac_cs_version"; exit ;;
21455 --debug |
--debu |
--deb |
--de |
--d |
-d )
21457 --file |
--fil |
--fi |
--f )
21459 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21460 ac_need_defaults
=false
;;
21461 --header |
--heade |
--head |
--hea )
21463 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21464 ac_need_defaults
=false
;;
21466 # Conflict between --help and --header
21467 { echo "$as_me: error: ambiguous option: $1
21468 Try \`$0 --help' for more information." >&2
21469 { (exit 1); exit 1; }; };;
21470 --help |
--hel |
-h )
21471 echo "$ac_cs_usage"; exit ;;
21472 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21473 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21476 # This is an error.
21477 -*) { echo "$as_me: error: unrecognized option: $1
21478 Try \`$0 --help' for more information." >&2
21479 { (exit 1); exit 1; }; } ;;
21481 *) ac_config_targets
="$ac_config_targets $1"
21482 ac_need_defaults
=false
;;
21488 ac_configure_extra_args
=
21490 if $ac_cs_silent; then
21492 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21496 cat >>$CONFIG_STATUS <<_ACEOF
21497 if \$ac_cs_recheck; then
21498 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21499 CONFIG_SHELL=$SHELL
21500 export CONFIG_SHELL
21501 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21505 cat >>$CONFIG_STATUS <<\_ACEOF
21509 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21510 ## Running $as_me. ##
21516 cat >>$CONFIG_STATUS <<_ACEOF
21520 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21524 cat >>$CONFIG_STATUS <<\_ACEOF
21526 # Handling of arguments.
21527 for ac_config_target
in $ac_config_targets
21529 case $ac_config_target in
21530 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21531 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21532 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21534 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21535 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21536 { (exit 1); exit 1; }; };;
21541 # If the user did not use the arguments to specify the items to instantiate,
21542 # then the envvar interface is used. Set only those that are not.
21543 # We use the long form for the default assignment because of an extremely
21544 # bizarre bug on SunOS 4.1.3.
21545 if $ac_need_defaults; then
21546 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21547 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21548 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21551 # Have a temporary directory for convenience. Make it in the build tree
21552 # simply because there is no reason against having it here, and in addition,
21553 # creating and moving files from /tmp can sometimes cause problems.
21554 # Hook for its removal unless debugging.
21555 # Note that there is a small window in which the directory will not be cleaned:
21556 # after its creation but before its name has been assigned to `$tmp'.
21560 trap 'exit_status=$?
21561 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21563 trap '{ (exit 1); exit 1; }' 1 2 13 15
21565 # Create a (secure) tmp directory for tmp files.
21568 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21569 test -n "$tmp" && test -d "$tmp"
21572 tmp
=.
/conf$$
-$RANDOM
21573 (umask 077 && mkdir
"$tmp")
21576 echo "$me: cannot create a temporary directory in ." >&2
21577 { (exit 1); exit 1; }
21581 # Set up the sed scripts for CONFIG_FILES section.
21584 # No need to generate the scripts if there are no CONFIG_FILES.
21585 # This happens for instance when ./config.status config.h
21586 if test -n "$CONFIG_FILES"; then
21593 for ac_last_try
in false false false false false
:; do
21594 cat >conf$
$subs.
sed <<_ACEOF
21595 SHELL!$SHELL$ac_delim
21596 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21597 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21598 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21599 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21600 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21601 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21602 exec_prefix!$exec_prefix$ac_delim
21603 prefix!$prefix$ac_delim
21604 program_transform_name!$program_transform_name$ac_delim
21605 bindir!$bindir$ac_delim
21606 sbindir!$sbindir$ac_delim
21607 libexecdir!$libexecdir$ac_delim
21608 datarootdir!$datarootdir$ac_delim
21609 datadir!$datadir$ac_delim
21610 sysconfdir!$sysconfdir$ac_delim
21611 sharedstatedir!$sharedstatedir$ac_delim
21612 localstatedir!$localstatedir$ac_delim
21613 includedir!$includedir$ac_delim
21614 oldincludedir!$oldincludedir$ac_delim
21615 docdir!$docdir$ac_delim
21616 infodir!$infodir$ac_delim
21617 htmldir!$htmldir$ac_delim
21618 dvidir!$dvidir$ac_delim
21619 pdfdir!$pdfdir$ac_delim
21620 psdir!$psdir$ac_delim
21621 libdir!$libdir$ac_delim
21622 localedir!$localedir$ac_delim
21623 mandir!$mandir$ac_delim
21624 DEFS!$DEFS$ac_delim
21625 ECHO_C!$ECHO_C$ac_delim
21626 ECHO_N!$ECHO_N$ac_delim
21627 ECHO_T!$ECHO_T$ac_delim
21628 LIBS!$LIBS$ac_delim
21629 build_alias!$build_alias$ac_delim
21630 host_alias!$host_alias$ac_delim
21631 target_alias!$target_alias$ac_delim
21632 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21633 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21634 INSTALL_DATA!$INSTALL_DATA$ac_delim
21635 am__isrc!$am__isrc$ac_delim
21636 CYGPATH_W!$CYGPATH_W$ac_delim
21637 PACKAGE!$PACKAGE$ac_delim
21638 VERSION!$VERSION$ac_delim
21639 ACLOCAL!$ACLOCAL$ac_delim
21640 AUTOCONF!$AUTOCONF$ac_delim
21641 AUTOMAKE!$AUTOMAKE$ac_delim
21642 AUTOHEADER!$AUTOHEADER$ac_delim
21643 MAKEINFO!$MAKEINFO$ac_delim
21644 install_sh!$install_sh$ac_delim
21645 STRIP!$STRIP$ac_delim
21646 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21647 mkdir_p!$mkdir_p$ac_delim
21649 SET_MAKE!$SET_MAKE$ac_delim
21650 am__leading_dot!$am__leading_dot$ac_delim
21651 AMTAR!$AMTAR$ac_delim
21652 am__tar!$am__tar$ac_delim
21653 am__untar!$am__untar$ac_delim
21655 CFLAGS!$CFLAGS$ac_delim
21656 LDFLAGS!$LDFLAGS$ac_delim
21657 CPPFLAGS!$CPPFLAGS$ac_delim
21658 ac_ct_CC!$ac_ct_CC$ac_delim
21659 EXEEXT!$EXEEXT$ac_delim
21660 OBJEXT!$OBJEXT$ac_delim
21661 DEPDIR!$DEPDIR$ac_delim
21662 am__include!$am__include$ac_delim
21663 am__quote!$am__quote$ac_delim
21664 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21665 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21666 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21667 CCDEPMODE!$CCDEPMODE$ac_delim
21668 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21669 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21670 LN_S!$LN_S$ac_delim
21671 build!$build$ac_delim
21672 build_cpu!$build_cpu$ac_delim
21673 build_vendor!$build_vendor$ac_delim
21674 build_os!$build_os$ac_delim
21675 host!$host$ac_delim
21676 host_cpu!$host_cpu$ac_delim
21677 host_vendor!$host_vendor$ac_delim
21678 host_os!$host_os$ac_delim
21679 GREP!$GREP$ac_delim
21680 EGREP!$EGREP$ac_delim
21681 ECHO!$ECHO$ac_delim
21683 RANLIB!$RANLIB$ac_delim
21686 CXXFLAGS!$CXXFLAGS$ac_delim
21687 ac_ct_CXX!$ac_ct_CXX$ac_delim
21688 CXXDEPMODE!$CXXDEPMODE$ac_delim
21689 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21690 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21691 CXXCPP!$CXXCPP$ac_delim
21694 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21696 elif $ac_last_try; then
21697 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21698 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21699 { (exit 1); exit 1; }; }
21701 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21705 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21706 if test -n "$ac_eof"; then
21707 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21708 ac_eof
=`expr $ac_eof + 1`
21711 cat >>$CONFIG_STATUS <<_ACEOF
21712 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21716 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21717 s/^/s,@/; s/!/@,|#_!!_#|/
21720 s/'"$ac_delim"'$/,g/; t
21722 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21723 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21724 rm -f conf$
$subs.
sed
21725 cat >>$CONFIG_STATUS <<_ACEOF
21731 for ac_last_try
in false false false false false
:; do
21732 cat >conf$
$subs.
sed <<_ACEOF
21734 FFLAGS!$FFLAGS$ac_delim
21735 ac_ct_F77!$ac_ct_F77$ac_delim
21736 LIBTOOL!$LIBTOOL$ac_delim
21737 USE_FCNTL_TRUE!$USE_FCNTL_TRUE$ac_delim
21738 USE_FCNTL_FALSE!$USE_FCNTL_FALSE$ac_delim
21739 USE_FLOCK_TRUE!$USE_FLOCK_TRUE$ac_delim
21740 USE_FLOCK_FALSE!$USE_FLOCK_FALSE$ac_delim
21741 USE_LOCKF_TRUE!$USE_LOCKF_TRUE$ac_delim
21742 USE_LOCKF_FALSE!$USE_LOCKF_FALSE$ac_delim
21743 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21744 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21745 LIBOBJS!$LIBOBJS$ac_delim
21746 LTLIBOBJS!$LTLIBOBJS$ac_delim
21749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
21751 elif $ac_last_try; then
21752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21753 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21754 { (exit 1); exit 1; }; }
21756 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21760 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21761 if test -n "$ac_eof"; then
21762 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21763 ac_eof
=`expr $ac_eof + 1`
21766 cat >>$CONFIG_STATUS <<_ACEOF
21767 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21771 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21772 s/^/s,@/; s/!/@,|#_!!_#|/
21775 s/'"$ac_delim"'$/,g/; t
21777 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21778 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21779 rm -f conf$
$subs.
sed
21780 cat >>$CONFIG_STATUS <<_ACEOF
21787 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21788 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21789 # trailing colons and then remove the whole line if VPATH becomes empty
21790 # (actually we leave an empty line to preserve line numbers).
21791 if test "x$srcdir" = x.
; then
21792 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21793 s/:*\$(srcdir):*/:/
21794 s/:*\${srcdir}:*/:/
21796 s/^\([^=]*=[ ]*\):*/\1/
21802 cat >>$CONFIG_STATUS <<\_ACEOF
21803 fi # test -n "$CONFIG_FILES"
21806 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21809 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21811 case $ac_mode$ac_tag in
21813 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21814 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21815 { (exit 1); exit 1; }; };;
21816 :[FH
]-) ac_tag
=-:-;;
21817 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21834 -) ac_f
="$tmp/stdin";;
21835 *) # Look for the file first in the build tree, then in the source tree
21836 # (if the path is not absolute). The absolute path cannot be DOS-style,
21837 # because $ac_f cannot contain `:'.
21841 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21843 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21844 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21845 { (exit 1); exit 1; }; };;
21847 ac_file_inputs
="$ac_file_inputs $ac_f"
21850 # Let's still pretend it is `configure' which instantiates (i.e., don't
21851 # use $as_me), people would be surprised to read:
21852 # /* config.h. Generated by config.status. */
21853 configure_input
="Generated from "`IFS=:
21854 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21855 if test x
"$ac_file" != x-
; then
21856 configure_input
="$ac_file. $configure_input"
21857 { echo "$as_me:$LINENO: creating $ac_file" >&5
21858 echo "$as_me: creating $ac_file" >&6;}
21862 *:-:* |
*:-) cat >"$tmp/stdin";;
21867 ac_dir
=`$as_dirname -- "$ac_file" ||
21868 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21869 X"$ac_file" : 'X\(//\)[^/]' \| \
21870 X"$ac_file" : 'X\(//\)$' \| \
21871 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21877 /^X\(\/\/\)[^/].*/{
21892 -*) as_dir
=.
/$as_dir;;
21894 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21898 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21899 *) as_qdir
=$as_dir;;
21901 as_dirs
="'$as_qdir' $as_dirs"
21902 as_dir
=`$as_dirname -- "$as_dir" ||
21903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21904 X"$as_dir" : 'X\(//\)[^/]' \| \
21905 X"$as_dir" : 'X\(//\)$' \| \
21906 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21912 /^X\(\/\/\)[^/].*/{
21925 test -d "$as_dir" && break
21927 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21928 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21929 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21930 { (exit 1); exit 1; }; }; }
21934 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21937 # A ".." for each directory in $ac_dir_suffix.
21938 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21939 case $ac_top_builddir_sub in
21940 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21941 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21944 ac_abs_top_builddir
=$ac_pwd
21945 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21946 # for backward compatibility:
21947 ac_top_builddir
=$ac_top_build_prefix
21950 .
) # We are building in place.
21952 ac_top_srcdir
=$ac_top_builddir_sub
21953 ac_abs_top_srcdir
=$ac_pwd ;;
21954 [\\/]* | ?
:[\\/]* ) # Absolute name.
21955 ac_srcdir
=$srcdir$ac_dir_suffix;
21956 ac_top_srcdir
=$srcdir
21957 ac_abs_top_srcdir
=$srcdir ;;
21958 *) # Relative name.
21959 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21960 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21961 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21963 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21973 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21974 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21976 ac_MKDIR_P
=$MKDIR_P
21978 [\\/$
]* | ?
:[\\/]* ) ;;
21979 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21983 cat >>$CONFIG_STATUS <<\_ACEOF
21984 # If the template does not know about datarootdir, expand it.
21985 # FIXME: This hack should be removed a few years after 2.60.
21986 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21988 case `sed -n '/datarootdir/ {
21997 ' $ac_file_inputs` in
21998 *datarootdir
*) ac_datarootdir_seen
=yes;;
21999 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22000 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22001 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22003 cat >>$CONFIG_STATUS <<_ACEOF
22004 ac_datarootdir_hack='
22005 s&@datadir@&$datadir&g
22006 s&@docdir@&$docdir&g
22007 s&@infodir@&$infodir&g
22008 s&@localedir@&$localedir&g
22009 s&@mandir@&$mandir&g
22010 s&\\\${datarootdir}&$datarootdir&g' ;;
22014 # Neutralize VPATH when `$srcdir' = `.'.
22015 # Shell code in configure.ac might set extrasub.
22016 # FIXME: do we really want to maintain this feature?
22017 cat >>$CONFIG_STATUS <<_ACEOF
22021 cat >>$CONFIG_STATUS <<\_ACEOF
22023 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22024 s
&@configure_input@
&$configure_input&;t t
22025 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22026 s
&@srcdir@
&$ac_srcdir&;t t
22027 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22028 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22029 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22030 s
&@builddir@
&$ac_builddir&;t t
22031 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22032 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22033 s
&@INSTALL@
&$ac_INSTALL&;t t
22034 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22035 $ac_datarootdir_hack
22036 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22038 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22039 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22040 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22041 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22042 which seems to be undefined. Please make sure it is defined." >&5
22043 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22044 which seems to be undefined. Please make sure it is defined." >&2;}
22048 -) cat "$tmp/out"; rm -f "$tmp/out";;
22049 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22058 # Transform confdefs.h into a sed script `conftest.defines', that
22059 # substitutes the proper values into config.h.in to produce config.h.
22060 rm -f conftest.defines conftest.
tail
22061 # First, append a space to every undef/define line, to ease matching.
22062 echo 's/$/ /' >conftest.defines
22063 # Then, protect against being on the right side of a sed subst, or in
22064 # an unquoted here document, in config.status. If some macros were
22065 # called several times there might be several #defines for the same
22066 # symbol, which is useless. But do not sort them, since the last
22067 # AC_DEFINE must be honored.
22068 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22069 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22070 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22071 # PARAMS is the parameter list in the macro definition--in most cases, it's
22072 # just an empty string.
22073 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22074 ac_dB
='\\)[ (].*,\\1define\\2'
22082 s/^[ ]*#[ ]*define[ ][ ]*//
22087 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22088 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22089 ' >>conftest.defines
22091 # Remove the space that was appended to ease matching.
22092 # Then replace #undef with comments. This is necessary, for
22093 # example, in the case of _POSIX_SOURCE, which is predefined and required
22094 # on some systems where configure will not decide to define it.
22095 # (The regexp can be short, since the line contains either #define or #undef.)
22097 s,^[ #]*u.*,/* & */,' >>conftest.defines
22099 # Break up conftest.defines:
22100 ac_max_sed_lines
=50
22102 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22103 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22104 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22106 ac_in
='$ac_file_inputs'
22107 ac_out
='"$tmp/out1"'
22108 ac_nxt
='"$tmp/out2"'
22112 # Write a here document:
22113 cat >>$CONFIG_STATUS <<_ACEOF
22114 # First, check the format of the line:
22115 cat >"\$tmp/defines.sed" <<\\CEOF
22116 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22117 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22121 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22123 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22124 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22125 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22126 grep . conftest.
tail >/dev
/null ||
break
22127 rm -f conftest.defines
22128 mv conftest.
tail conftest.defines
22130 rm -f conftest.defines conftest.
tail
22132 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22133 cat >>$CONFIG_STATUS <<\_ACEOF
22134 if test x
"$ac_file" != x-
; then
22135 echo "/* $configure_input */" >"$tmp/config.h"
22136 cat "$ac_result" >>"$tmp/config.h"
22137 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22138 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22139 echo "$as_me: $ac_file is unchanged" >&6;}
22142 mv "$tmp/config.h" $ac_file
22145 echo "/* $configure_input */"
22149 # Compute $ac_file's index in $config_headers.
22151 for _am_header
in $config_headers :; do
22152 case $_am_header in
22153 $ac_file |
$ac_file:* )
22156 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22159 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22160 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22161 X$ac_file : 'X\(//\)[^/]' \| \
22162 X$ac_file : 'X\(//\)$' \| \
22163 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22169 /^X\(\/\/\)[^/].*/{
22181 s/.*/./; q'`/stamp-h
$_am_stamp_count
22184 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22185 echo "$as_me: executing $ac_file commands" >&6;}
22190 case $ac_file$ac_mode in
22191 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22192 # Strip MF so we end up with the name of the file.
22193 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22194 # Check whether this is an Automake generated Makefile or not.
22195 # We used to match only the files named `Makefile.in', but
22196 # some people rename them; so instead we look at the file content.
22197 # Grep'ing the first line is not enough: some people post-process
22198 # each Makefile.in and add a new line on top of each file to say so.
22199 # Grep'ing the whole file is not good either: AIX grep has a line
22200 # limit of 2048, but all sed's we know have understand at least 4000.
22201 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22202 dirpart
=`$as_dirname -- "$mf" ||
22203 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22204 X"$mf" : 'X\(//\)[^/]' \| \
22205 X"$mf" : 'X\(//\)$' \| \
22206 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22212 /^X\(\/\/\)[^/].*/{
22228 # Extract the definition of DEPDIR, am__include, and am__quote
22229 # from the Makefile without running `make'.
22230 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22231 test -z "$DEPDIR" && continue
22232 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22233 test -z "am__include" && continue
22234 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22235 # When using ansi2knr, U may be empty or an underscore; expand it
22236 U
=`sed -n 's/^U = //p' < "$mf"`
22237 # Find all dependency output files, they are included files with
22238 # $(DEPDIR) in their names. We invoke sed twice because it is the
22239 # simplest approach to changing $(DEPDIR) to its actual value in the
22241 for file in `sed -n "
22242 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22243 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22244 # Make sure the directory exists.
22245 test -f "$dirpart/$file" && continue
22246 fdir
=`$as_dirname -- "$file" ||
22247 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22248 X"$file" : 'X\(//\)[^/]' \| \
22249 X"$file" : 'X\(//\)$' \| \
22250 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22256 /^X\(\/\/\)[^/].*/{
22269 { as_dir
=$dirpart/$fdir
22271 -*) as_dir
=.
/$as_dir;;
22273 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22277 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22278 *) as_qdir
=$as_dir;;
22280 as_dirs
="'$as_qdir' $as_dirs"
22281 as_dir
=`$as_dirname -- "$as_dir" ||
22282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22283 X"$as_dir" : 'X\(//\)[^/]' \| \
22284 X"$as_dir" : 'X\(//\)$' \| \
22285 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22291 /^X\(\/\/\)[^/].*/{
22304 test -d "$as_dir" && break
22306 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22307 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22308 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22309 { (exit 1); exit 1; }; }; }
22310 # echo "creating $dirpart/$file"
22311 echo '# dummy' > "$dirpart/$file"
22320 { (exit 0); exit 0; }
22322 chmod +x
$CONFIG_STATUS
22323 ac_clean_files
=$ac_clean_files_save
22326 # configure is writing to config.log, and then calls config.status.
22327 # config.status does its own redirection, appending to config.log.
22328 # Unfortunately, on DOS this fails, as config.log is still kept open
22329 # by configure, so config.status won't be able to write to it; its
22330 # output is simply discarded. So we exec the FD to /dev/null,
22331 # effectively closing config.log, so it can be properly (re)opened and
22332 # appended to by config.status. When coming back to configure, we
22333 # need to make the FD available again.
22334 if test "$no_create" != yes; then
22336 ac_config_status_args
=
22337 test "$silent" = yes &&
22338 ac_config_status_args
="$ac_config_status_args --quiet"
22340 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22342 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22343 # would make configure fail if this is the last instruction.
22344 $ac_cs_success ||
{ (exit 1); exit 1; }