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
885 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1006 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007 { (exit 1); exit 1; }; }
1008 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1009 eval enable_
$ac_feature=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1025 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026 { (exit 1); exit 1; }; }
1027 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1028 eval enable_
$ac_feature=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid package name: $ac_package" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1225 eval with_
$ac_package=\
$ac_optarg ;;
1227 -without-* |
--without-*)
1228 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 { echo "$as_me: error: invalid package name: $ac_package" >&2
1232 { (exit 1); exit 1; }; }
1233 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1234 eval with_
$ac_package=no
;;
1237 # Obsolete; use --with-x.
1240 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1241 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1242 ac_prev
=x_includes
;;
1243 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1244 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1245 x_includes
=$ac_optarg ;;
1247 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1248 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1249 ac_prev
=x_libraries
;;
1250 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1251 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1252 x_libraries
=$ac_optarg ;;
1254 -*) { echo "$as_me: error: unrecognized option: $ac_option
1255 Try \`$0 --help' for more information." >&2
1256 { (exit 1); exit 1; }; }
1260 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1263 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1264 { (exit 1); exit 1; }; }
1265 eval $ac_envvar=\
$ac_optarg
1266 export $ac_envvar ;;
1269 # FIXME: should be removed in autoconf 3.0.
1270 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1272 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1279 if test -n "$ac_prev"; then
1280 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1281 { echo "$as_me: error: missing argument to $ac_option" >&2
1282 { (exit 1); exit 1; }; }
1285 # Be sure to have absolute directory names.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297 { (exit 1); exit 1; }; }
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1312 If a cross compiler is detected then cross compile mode will be used." >&2
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 { echo "$as_me: error: Working directory cannot be determined" >&2
1328 { (exit 1); exit 1; }; }
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 { echo "$as_me: error: pwd does not report name of working directory" >&2
1331 { (exit 1); exit 1; }; }
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$0" ||
1339 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$0" : 'X\(//\)[^/]' \| \
1341 X"$0" : 'X\(//\)$' \| \
1342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371 { (exit 1); exit 1; }; }
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1376 { (exit 1); exit 1; }; }
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures liblock 0.60 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/liblock]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of liblock 0.60:";;
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --disable-dependency-tracking speeds up one-time build
1480 --enable-dependency-tracking do not reject slow dependency extractors
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1489 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1493 --with-tags[=TAGS
] include additional configurations
[automatic
]
1496 Some influential environment variables
:
1497 CC C compiler
command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1500 nonstandard directory
<lib dir
>
1501 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1502 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1503 you have headers
in a nonstandard directory
<include dir
>
1505 CXX C
++ compiler
command
1506 CXXFLAGS C
++ compiler flags
1507 CXXCPP C
++ preprocessor
1508 F77 Fortran
77 compiler
command
1509 FFLAGS Fortran
77 compiler flags
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to <courier-users@lists.sourceforge.net>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" || continue
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1529 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1531 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 ac_abs_top_builddir=$ac_pwd
1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir=$ac_top_build_prefix
1542 .) # We are building in place.
1544 ac_top_srcdir=$ac_top_builddir_sub
1545 ac_abs_top_srcdir=$ac_pwd ;;
1546 [\\/]* | ?:[\\/]* ) # Absolute name.
1547 ac_srcdir=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir=$srcdir
1549 ac_abs_top_srcdir=$srcdir ;;
1551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557 cd "$ac_dir" || { ac_status=$?; continue; }
1558 # Check for guested configure.
1559 if test -f "$ac_srcdir/configure.gnu"; then
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then
1564 $SHELL "$ac_srcdir/configure" --help=recursive
1566 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568 cd "$ac_pwd" || { ac_status=$?; break; }
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1575 liblock configure 0.60
1576 generated by GNU Autoconf 2.61
1578 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1585 cat >config.log <<_ACEOF
1586 This file contains any messages produced by compilers while
1587 running configure, to aid debugging if configure makes a mistake.
1589 It was created by liblock $as_me 0.60, which was
1590 generated by GNU Autoconf 2.61. Invocation command line was
1602 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1603 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1604 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1605 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1606 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1609 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1611 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1613 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1614 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1615 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1617 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625 test -z "$as_dir" && as_dir=.
1626 echo "PATH: $as_dir"
1642 # Keep a trace of the command line.
1643 # Strip out --no-create and --no-recursion so they do not pile up.
1644 # Strip out --silent because we don't want to record it for future runs.
1645 # Also quote any args containing shell meta-characters.
1646 # Make two passes to allow for proper duplicate-argument suppression.
1650 ac_must_keep_next=false
1656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658 | -silent | --silent | --silen | --sile | --sil)
1661 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1664 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1666 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1667 if test $ac_must_keep_next = true; then
1668 ac_must_keep_next=false # Got value, back to normal.
1671 *=* | --config-cache | -C | -disable-* | --disable-* \
1672 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1673 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1674 | -with-* | --with-* | -without-* | --without-* | --x)
1675 case "$ac_configure_args0 " in
1676 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1679 -* ) ac_must_keep_next=true ;;
1682 ac_configure_args="$ac_configure_args '$ac_arg'"
1687 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1688 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1690 # When interrupted or exit'd, cleanup temporary files, and complete
1691 # config.log. We remove comments because anyway the quotes in there
1692 # would cause problems or look ugly.
1693 # WARNING: Use '\'' to represent an apostrophe within the trap.
1694 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1695 trap 'exit_status=$?
1696 # Save into config.log some information that might help in debugging.
1701 ## ---------------- ##
1702 ## Cache variables. ##
1703 ## ---------------- ##
1706 # The following way of writing the cache mishandles newlines in values,
1708 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1709 eval ac_val=\$$ac_var
1713 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1714 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1717 _ | IFS | as_nl) ;; #(
1718 *) $as_unset $ac_var ;;
1723 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1724 *${as_nl}ac_space=\ *)
1726 "s/'\''/'\''\\\\'\'''\''/g;
1727 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1738 ## ----------------- ##
1739 ## Output variables. ##
1740 ## ----------------- ##
1743 for ac_var in $ac_subst_vars
1745 eval ac_val=\$$ac_var
1747 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 echo "$ac_var='\''$ac_val'\''"
1753 if test -n "$ac_subst_files"; then
1755 ## ------------------- ##
1756 ## File substitutions. ##
1757 ## ------------------- ##
1760 for ac_var in $ac_subst_files
1762 eval ac_val=\$$ac_var
1764 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 echo "$ac_var='\''$ac_val'\''"
1771 if test -s confdefs.h; then
1781 test "$ac_signal" != 0 &&
1782 echo "$as_me: caught signal $ac_signal"
1783 echo "$as_me: exit $exit_status"
1785 rm -f core *.core core.conftest.* &&
1786 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1789 for ac_signal in 1 2 13 15; do
1790 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1794 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1795 rm -f -r conftest* confdefs.h
1797 # Predefined preprocessor variables.
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_NAME "$PACKAGE_NAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_STRING "$PACKAGE_STRING"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1824 # Let the site file select an alternate cache file if it wants to.
1825 # Prefer explicitly selected file to automatically selected ones.
1826 if test -n "$CONFIG_SITE"; then
1827 set x "$CONFIG_SITE"
1828 elif test "x$prefix" != xNONE; then
1829 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1831 set x "$ac_default_prefix/share/config.site" \
1832 "$ac_default_prefix/etc/config.site"
1837 if test -r "$ac_site_file"; then
1838 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1839 echo "$as_me: loading site script $ac_site_file" >&6;}
1840 sed 's/^/| /' "$ac_site_file" >&5
1845 if test -r "$cache_file"; then
1846 # Some versions of bash will fail to source /dev/null (special
1847 # files actually), so we avoid doing that.
1848 if test -f "$cache_file"; then
1849 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1850 echo "$as_me: loading cache $cache_file" >&6;}
1852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853 *) . "./$cache_file";;
1857 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1858 echo "$as_me: creating cache $cache_file" >&6;}
1862 # Check that the precious variables saved in the cache have kept the same
1864 ac_cache_corrupted=false
1865 for ac_var in $ac_precious_vars; do
1866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867 eval ac_new_set=\$ac_env_${ac_var}_set
1868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869 eval ac_new_val=\$ac_env_${ac_var}_value
1870 case $ac_old_set,$ac_new_set in
1872 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1873 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1881 if test "x$ac_old_val" != "x$ac_new_val"; then
1882 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1883 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1884 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1885 echo "$as_me: former value
: $ac_old_val" >&2;}
1886 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1887 echo "$as_me: current value
: $ac_new_val" >&2;}
1888 ac_cache_corrupted=:
1891 # Pass precious variables to config.status.
1892 if test "$ac_new_set" = set; then
1894 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1895 *) ac_arg=$ac_var=$ac_new_val ;;
1897 case " $ac_configure_args " in
1898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1899 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1903 if $ac_cache_corrupted; then
1904 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1905 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1906 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1907 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1908 { (exit 1); exit 1; }; }
1936 ac_cpp='$CPP $CPPFLAGS'
1937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1943 >confdefs.h # Kill PACKAGE_ macros
1946 ac_config_headers="$ac_config_headers config.h"
1948 am__api_version='1.10'
1951 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952 if test -f "$ac_dir/install-sh"; then
1954 ac_install_sh="$ac_aux_dir/install-sh -c"
1956 elif test -f "$ac_dir/install.sh"; then
1958 ac_install_sh="$ac_aux_dir/install.sh -c"
1960 elif test -f "$ac_dir/shtool"; then
1962 ac_install_sh="$ac_aux_dir/shtool install -c"
1966 if test -z "$ac_aux_dir"; then
1967 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1968 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1969 { (exit 1); exit 1; }; }
1972 # These three variables are undocumented and unsupported,
1973 # and are intended to be withdrawn in a future Autoconf release.
1974 # They can cause serious problems if a builder's source tree is in a directory
1975 # whose full name contains unusual characters.
1976 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1977 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1978 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1981 # Find a good install program. We prefer a C program (faster),
1982 # so one script is as good as another. But avoid the broken or
1983 # incompatible versions:
1984 # SysV /etc/install, /usr/sbin/install
1985 # SunOS /usr/etc/install
1986 # IRIX /sbin/install
1988 # AmigaOS /C/install, which installs bootblocks on floppy discs
1989 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1990 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1991 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1992 # OS/2's system install, which has a completely different semantic
1993 # ./install, which can be erroneously created by make from ./install.sh.
1994 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1995 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1996 if test -z "$INSTALL"; then
1997 if test "${ac_cv_path_install+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir=.
2005 # Account for people who put trailing slashes in PATH elements.
2007 ./ | .// | /cC/* | \
2008 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2009 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2012 # OSF1 and SCO ODT 3.0 have their own names for install.
2013 # Don't use installbsd from OSF since it installs stuff as root
2015 for ac_prog in ginstall scoinst install; do
2016 for ac_exec_ext in '' $ac_executable_extensions; do
2017 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2018 if test $ac_prog = install &&
2019 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2020 # AIX install. It has an incompatible calling convention.
2022 elif test $ac_prog = install &&
2023 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2024 # program-specific install script used by HP pwplus--don't use.
2027 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2040 if test "${ac_cv_path_install+set}" = set; then
2041 INSTALL=$ac_cv_path_install
2043 # As a last resort, use the slow shell script. Don't cache a
2044 # value for INSTALL within a source directory, because that will
2045 # break other packages using the cache if that directory is
2046 # removed, or if the value is a relative name.
2047 INSTALL=$ac_install_sh
2050 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2051 echo "${ECHO_T}$INSTALL" >&6; }
2053 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2054 # It thinks the first close brace ends the variable substitution.
2055 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2057 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2059 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2061 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2062 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2065 echo timestamp > conftest.file
2066 # Do `set' in a subshell so we don't clobber the current shell
's
2067 # arguments. Must try -L first in case configure is actually a
2068 # symlink; some systems play weird games with the mod time of symlinks
2069 # (eg FreeBSD returns the mod time of the symlink's containing
2072 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2073 if test "$*" = "X"; then
2075 set X
`ls -t $srcdir/configure conftest.file`
2078 if test "$*" != "X $srcdir/configure conftest.file" \
2079 && test "$*" != "X conftest.file $srcdir/configure"; then
2081 # If neither matched, then we have a broken ls. This can happen
2082 # if, for instance, CONFIG_SHELL is bash and it inherits a
2083 # broken ls alias from the environment. This has actually
2084 # happened. Such a system could not be considered "sane".
2085 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2086 alias in your environment" >&5
2087 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2088 alias in your environment" >&2;}
2089 { (exit 1); exit 1; }; }
2092 test "$2" = conftest.
file
2098 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2099 Check your system clock" >&5
2100 echo "$as_me: error: newly created file is older than distributed files!
2101 Check your system clock" >&2;}
2102 { (exit 1); exit 1; }; }
2104 { echo "$as_me:$LINENO: result: yes" >&5
2105 echo "${ECHO_T}yes" >&6; }
2106 test "$program_prefix" != NONE
&&
2107 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2108 # Use a double $ so make ignores it.
2109 test "$program_suffix" != NONE
&&
2110 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2111 # Double any \ or $. echo might interpret backslashes.
2112 # By default was `s,x,x', remove it if useless.
2113 cat <<\_ACEOF
>conftest.
sed
2114 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2116 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2119 # expand $ac_aux_dir to an absolute path
2120 am_aux_dir
=`cd $ac_aux_dir && pwd`
2122 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2123 # Use eval to expand $SHELL
2124 if eval "$MISSING --run true"; then
2125 am_missing_run
="$MISSING --run "
2128 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2129 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2132 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2133 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2134 if test -z "$MKDIR_P"; then
2135 if test "${ac_cv_path_mkdir+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_prog
in mkdir gmkdir
; do
2144 for ac_exec_ext
in '' $ac_executable_extensions; do
2145 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2146 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2147 'mkdir (GNU coreutils) '* | \
2148 'mkdir (coreutils) '* | \
2149 'mkdir (fileutils) '4.1*)
2150 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2160 if test "${ac_cv_path_mkdir+set}" = set; then
2161 MKDIR_P
="$ac_cv_path_mkdir -p"
2163 # As a last resort, use the slow shell script. Don't cache a
2164 # value for MKDIR_P within a source directory, because that will
2165 # break other packages using the cache if that directory is
2166 # removed, or if the value is a relative name.
2167 test -d .
/--version && rmdir .
/--version
2168 MKDIR_P
="$ac_install_sh -d"
2171 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2172 echo "${ECHO_T}$MKDIR_P" >&6; }
2176 [\\/$
]* | ?
:[\\/]*) ;;
2177 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2180 for ac_prog
in gawk mawk nawk
awk
2182 # Extract the first word of "$ac_prog", so it can be a program name with args.
2183 set dummy
$ac_prog; ac_word
=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_AWK+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$AWK"; then
2190 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 for ac_exec_ext
in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 ac_cv_prog_AWK
="$ac_prog"
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 if test -n "$AWK"; then
2211 { echo "$as_me:$LINENO: result: $AWK" >&5
2212 echo "${ECHO_T}$AWK" >&6; }
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2219 test -n "$AWK" && break
2222 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2223 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2224 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 cat >conftest.
make <<\_ACEOF
2231 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2236 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2238 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2242 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2243 { echo "$as_me:$LINENO: result: yes" >&5
2244 echo "${ECHO_T}yes" >&6; }
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2249 SET_MAKE
="MAKE=${MAKE-make}"
2252 rm -rf .tst
2>/dev
/null
2253 mkdir .tst
2>/dev
/null
2254 if test -d .tst
; then
2259 rmdir .tst
2>/dev
/null
2261 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2262 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2263 # is not polluted with repeated "-I."
2264 am__isrc
=' -I$(srcdir)'
2265 # test to see if srcdir already configured
2266 if test -f $srcdir/config.status
; then
2267 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2268 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2269 { (exit 1); exit 1; }; }
2273 # test whether we have cygpath
2274 if test -z "$CYGPATH_W"; then
2275 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2276 CYGPATH_W
='cygpath -w'
2283 # Define the identity of the package.
2288 # Some tools Automake needs.
2290 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2293 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2296 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2299 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2302 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2304 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2306 # Installed binaries are usually stripped using `strip' when the user
2307 # run `make install-strip'. However `strip' might not be the right
2308 # tool to use in cross-compilation environments, therefore Automake
2309 # will honor the `STRIP' environment variable to overrule this program.
2310 if test "$cross_compiling" != no
; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2316 if test "${ac_cv_prog_STRIP+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir
=.
2327 for ac_exec_ext
in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 STRIP
=$ac_cv_prog_STRIP
2340 if test -n "$STRIP"; then
2341 { echo "$as_me:$LINENO: result: $STRIP" >&5
2342 echo "${ECHO_T}$STRIP" >&6; }
2344 { echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6; }
2350 if test -z "$ac_cv_prog_STRIP"; then
2352 # Extract the first word of "strip", so it can be a program name with args.
2353 set dummy strip
; ac_word
=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$ac_ct_STRIP"; then
2360 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_ac_ct_STRIP
="strip"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2380 if test -n "$ac_ct_STRIP"; then
2381 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2382 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2388 if test "x$ac_ct_STRIP" = x
; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2394 whose name does not start with the host triplet. If you think this
2395 configuration is useful to you, please write to autoconf@gnu.org." >&5
2396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2399 ac_tool_warned
=yes ;;
2404 STRIP
="$ac_cv_prog_STRIP"
2408 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2410 # We need awk for the "check" target. The system "awk" is bad on
2412 # Always define AMTAR for backward compatibility.
2414 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2416 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2423 for ac_prog
in gawk mawk nawk
awk
2425 # Extract the first word of "$ac_prog", so it can be a program name with args.
2426 set dummy
$ac_prog; ac_word
=$2
2427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2429 if test "${ac_cv_prog_AWK+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test -n "$AWK"; then
2433 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_prog_AWK
="$ac_prog"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 if test -n "$AWK"; then
2454 { echo "$as_me:$LINENO: result: $AWK" >&5
2455 echo "${ECHO_T}$AWK" >&6; }
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2462 test -n "$AWK" && break
2466 ac_cpp
='$CPP $CPPFLAGS'
2467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 if test -n "$ac_tool_prefix"; then
2471 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2472 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2475 if test "${ac_cv_prog_CC+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC
="$CC" # Let the user override the test.
2481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir
=.
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 if test -n "$CC"; then
2500 { echo "$as_me:$LINENO: result: $CC" >&5
2501 echo "${ECHO_T}$CC" >&6; }
2503 { echo "$as_me:$LINENO: result: no" >&5
2504 echo "${ECHO_T}no" >&6; }
2509 if test -z "$ac_cv_prog_CC"; then
2511 # Extract the first word of "gcc", so it can be a program name with args.
2512 set dummy gcc
; ac_word
=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 for ac_exec_ext
in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC
="gcc"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2547 if test "x$ac_ct_CC" = x
; then
2550 case $cross_compiling:$ac_tool_warned in
2552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2553 whose name does not start with the host triplet. If you think this
2554 configuration is useful to you, please write to autoconf@gnu.org." >&5
2555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2556 whose name does not start with the host triplet. If you think this
2557 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2558 ac_tool_warned
=yes ;;
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC
="$CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test -n "$CC"; then
2597 { echo "$as_me:$LINENO: result: $CC" >&5
2598 echo "${ECHO_T}$CC" >&6; }
2600 { echo "$as_me:$LINENO: result: no" >&5
2601 echo "${ECHO_T}no" >&6; }
2607 if test -z "$CC"; then
2608 # Extract the first word of "cc", so it can be a program name with args.
2609 set dummy cc
; ac_word
=$2
2610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_CC+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC
="$CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2627 ac_prog_rejected
=yes
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 if test $ac_prog_rejected = yes; then
2639 # We found a bogon in the path, so make sure we never use it.
2640 set dummy
$ac_cv_prog_CC
2642 if test $# != 0; then
2643 # We chose a different compiler from the bogus one.
2644 # However, it has the same basename, so the bogon will be chosen
2645 # first if we set CC to just the basename; use the full file name.
2647 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2653 if test -n "$CC"; then
2654 { echo "$as_me:$LINENO: result: $CC" >&5
2655 echo "${ECHO_T}$CC" >&6; }
2657 { echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6; }
2663 if test -z "$CC"; then
2664 if test -n "$ac_tool_prefix"; then
2665 for ac_prog
in cl.exe
2667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2668 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2671 if test "${ac_cv_prog_CC+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$CC"; then
2675 ac_cv_prog_CC
="$CC" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test -n "$CC"; then
2696 { echo "$as_me:$LINENO: result: $CC" >&5
2697 echo "${ECHO_T}$CC" >&6; }
2699 { echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6; }
2704 test -n "$CC" && break
2707 if test -z "$CC"; then
2709 for ac_prog
in cl.exe
2711 # Extract the first word of "$ac_prog", so it can be a program name with args.
2712 set dummy
$ac_prog; ac_word
=$2
2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2715 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$ac_ct_CC"; then
2719 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_ac_ct_CC
="$ac_prog"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2739 if test -n "$ac_ct_CC"; then
2740 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2741 echo "${ECHO_T}$ac_ct_CC" >&6; }
2743 { echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6; }
2748 test -n "$ac_ct_CC" && break
2751 if test "x$ac_ct_CC" = x
; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2757 whose name does not start with the host triplet. If you think this
2758 configuration is useful to you, please write to autoconf@gnu.org." >&5
2759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2760 whose name does not start with the host triplet. If you think this
2761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2762 ac_tool_warned
=yes ;;
2771 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2772 See \`config.log' for more details." >&5
2773 echo "$as_me: error: no acceptable C compiler found in \$PATH
2774 See \`config.log' for more details." >&2;}
2775 { (exit 1); exit 1; }; }
2777 # Provide some information about the compiler.
2778 echo "$as_me:$LINENO: checking for C compiler version" >&5
2779 ac_compiler
=`set X $ac_compile; echo $2`
2780 { (ac_try
="$ac_compiler --version >&5"
2782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compiler --version >&5") 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2790 { (ac_try="$ac_compiler -v >&5"
2792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2793 *) ac_try_echo
=$ac_try;;
2795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_compiler -v >&5") 2>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }
2800 { (ac_try
="$ac_compiler -V >&5"
2802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2806 (eval "$ac_compiler -V >&5") 2>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }
2811 cat >conftest.$ac_ext <<_ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2826 ac_clean_files_save=$ac_clean_files
2827 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2828 # Try to create an executable without -o first, disregard a.out.
2829 # It will help us diagnose broken compilers, and finding out an intuition
2831 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2832 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2833 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2835 # List of possible output files, starting from the most likely.
2836 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2837 # only as a last resort. b.out is created by i960 compilers.
2838 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2840 # The IRIX 6 linker writes into existing files which may not be
2841 # executable, retaining their permissions. Remove them first so a
2842 # subsequent execution test works.
2844 for ac_file in $ac_files
2847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2848 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2853 if { (ac_try="$ac_link_default"
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2859 (eval "$ac_link_default") 2>&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; then
2863 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2864 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2865 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2866 # so that the user can short-circuit this test for compilers unknown to
2868 for ac_file
in $ac_files ''
2870 test -f "$ac_file" ||
continue
2872 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2875 # We found the default executable, but exeext='' is most
2879 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2881 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2883 # We set ac_cv_exeext here because the later test for it is not
2884 # safe: cross compilers may not add the suffix if given an `-o'
2885 # argument, so we may need to know it at that point already.
2886 # Even if this section looks crufty: it has the advantage of
2893 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2899 { echo "$as_me:$LINENO: result: $ac_file" >&5
2900 echo "${ECHO_T}$ac_file" >&6; }
2901 if test -z "$ac_file"; then
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.
$ac_ext >&5
2905 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2906 See \`config.log' for more details." >&5
2907 echo "$as_me: error: C compiler cannot create executables
2908 See \`config.log' for more details." >&2;}
2909 { (exit 77); exit 77; }; }
2912 ac_exeext
=$ac_cv_exeext
2914 # Check that the compiler produces executables we can run. If not, either
2915 # the compiler is broken, or we cross compile.
2916 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2917 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2918 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2919 # If not cross compiling, check that we can run a simple program.
2920 if test "$cross_compiling" != yes; then
2921 if { ac_try
='./$ac_file'
2922 { (case "(($ac_try" in
2923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_try") 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 if test "$cross_compiling" = maybe; then
2936 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2937 If you meant to cross compile, use \`--host'.
2938 See \`config.log' for more details.
" >&5
2939 echo "$as_me: error
: cannot run C compiled programs.
2940 If you meant to cross compile
, use \
`--host'.
2941 See \`config.log
' for more details." >&2;}
2942 { (exit 1); exit 1; }; }
2946 { echo "$as_me:$LINENO: result: yes" >&5
2947 echo "${ECHO_T}yes" >&6; }
2949 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2950 ac_clean_files=$ac_clean_files_save
2951 # Check that the compiler produces executables we can run. If not, either
2952 # the compiler is broken, or we cross compile.
2953 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2954 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2955 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2956 echo "${ECHO_T}$cross_compiling" >&6; }
2958 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2959 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2960 if { (ac_try="$ac_link"
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_link") 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; then
2970 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2971 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2972 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2974 for ac_file
in conftest.exe conftest conftest.
*; do
2975 test -f "$ac_file" ||
continue
2977 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2978 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2984 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2987 See \`config.log' for more details." >&2;}
2988 { (exit 1); exit 1; }; }
2991 rm -f conftest
$ac_cv_exeext
2992 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2993 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2995 rm -f conftest.
$ac_ext
2996 EXEEXT
=$ac_cv_exeext
2998 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2999 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3000 if test "${ac_cv_objext+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 cat >conftest.
$ac_ext <<_ACEOF
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3018 rm -f conftest.o conftest.obj
3019 if { (ac_try
="$ac_compile"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_compile") 2>&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; then
3029 for ac_file in conftest.o conftest.obj conftest.*; do
3030 test -f "$ac_file" || continue;
3032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3033 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log
' for more details." >&5
3043 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3044 See \`config.log' for more details.
" >&2;}
3045 { (exit 1); exit 1; }; }
3048 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3050 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3051 echo "${ECHO_T}$ac_cv_objext" >&6; }
3052 OBJEXT=$ac_cv_objext
3054 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3055 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3056 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3057 echo $ECHO_N "(cached
) $ECHO_C" >&6
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3077 rm -f conftest.$ac_objext
3078 if { (ac_try="$ac_compile"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3086 grep -v '^ *+' conftest.er1 >conftest.err
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3096 echo "$as_me: failed program was
:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3106 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3107 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3108 GCC=`test $ac_compiler_gnu = yes && echo yes`
3109 ac_test_CFLAGS=${CFLAGS+set}
3110 ac_save_CFLAGS=$CFLAGS
3111 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3112 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3113 if test "${ac_cv_prog_cc_g+set}" = set; then
3114 echo $ECHO_N "(cached
) $ECHO_C" >&6
3116 ac_save_c_werror_flag=$ac_c_werror_flag
3117 ac_c_werror_flag=yes
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 echo "$as_me: failed program was
:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_compile") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1 >conftest.err
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3186 (exit $ac_status); } && {
3187 test -z "$ac_c_werror_flag" ||
3188 test ! -s conftest.err
3189 } && test -s conftest.$ac_objext; then
3192 echo "$as_me: failed program was
:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 ac_c_werror_flag=$ac_save_c_werror_flag
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3212 rm -f conftest.$ac_objext
3213 if { (ac_try="$ac_compile"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_compile") 2>conftest.er1
3221 grep -v '^ *+' conftest.er1 >conftest.err
3223 cat conftest.err >&5
3224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.$ac_objext; then
3231 echo "$as_me: failed program was
:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_c_werror_flag=$ac_save_c_werror_flag
3246 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3247 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3248 if test "$ac_test_CFLAGS" = set; then
3249 CFLAGS=$ac_save_CFLAGS
3250 elif test $ac_cv_prog_cc_g = yes; then
3251 if test "$GCC" = yes; then
3257 if test "$GCC" = yes; then
3263 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3264 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3265 if test "${ac_cv_prog_cc_c89+set}" = set; then
3266 echo $ECHO_N "(cached
) $ECHO_C" >&6
3268 ac_cv_prog_cc_c89=no
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3278 #include <sys/types.h>
3279 #include <sys/stat.h>
3280 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3281 struct buf { int x; };
3282 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3283 static char *e (p, i)
3289 static char *f (char * (*g) (char **, int), char **p, ...)
3294 s = g (p, va_arg (v,int));
3299 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3300 function prototypes and stuff, but not '\xHH' hex character constants.
3301 These don't provoke an error unfortunately, instead are silently treated
3302 as 'x'. The following induces an error, until -std is added to get
3303 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3304 array size at least. It's necessary to write '\x00'==0 to get something
3305 that's true only with -std. */
3306 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3308 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3309 inside strings and character constants. */
3311 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3313 int test (int i, double x);
3314 struct s1 {int (*f) (int a);};
3315 struct s2 {int (*f) (double a);};
3316 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3322 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3327 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3328 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3330 CC="$ac_save_CC $ac_arg"
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3340 grep -v '^ *+' conftest.er1 >conftest.err
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3344 (exit $ac_status); } && {
3345 test -z "$ac_c_werror_flag" ||
3346 test ! -s conftest.err
3347 } && test -s conftest.$ac_objext; then
3348 ac_cv_prog_cc_c89=$ac_arg
3350 echo "$as_me: failed program was
:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3356 rm -f core conftest.err conftest.$ac_objext
3357 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3359 rm -f conftest.$ac_ext
3364 case "x
$ac_cv_prog_cc_c89" in
3366 { echo "$as_me:$LINENO: result
: none needed
" >&5
3367 echo "${ECHO_T}none needed
" >&6; } ;;
3369 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3370 echo "${ECHO_T}unsupported
" >&6; } ;;
3372 CC="$CC $ac_cv_prog_cc_c89"
3373 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3374 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 DEPDIR="${am__leading_dot}deps
"
3385 ac_config_commands="$ac_config_commands depfiles
"
3388 am_make=${MAKE-make}
3389 cat > confinc << 'END'
3394 # If we don't find an include directive, just comment out the code.
3395 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3396 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3400 # First try GNU make style include.
3401 echo "include confinc" > confmf
3402 # We grep out `Entering directory' and `Leaving directory'
3403 # messages which can occur if `w' ends up in MAKEFLAGS.
3404 # In particular we don't look at `^make:' because GNU make might
3405 # be invoked under some other name (usually "gmake"), in which
3406 # case it prints its new name instead of `make'.
3407 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3412 # Now try BSD make style include.
3413 if test "$am__include" = "#"; then
3414 echo '.include "confinc"' > confmf
3415 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3416 am__include
=.include
3423 { echo "$as_me:$LINENO: result: $_am_result" >&5
3424 echo "${ECHO_T}$_am_result" >&6; }
3425 rm -f confinc confmf
3427 # Check whether --enable-dependency-tracking was given.
3428 if test "${enable_dependency_tracking+set}" = set; then
3429 enableval
=$enable_dependency_tracking;
3432 if test "x$enable_dependency_tracking" != xno
; then
3433 am_depcomp
="$ac_aux_dir/depcomp"
3436 if test "x$enable_dependency_tracking" != xno; then
3446 depcc
="$CC" am_compiler_list
=
3448 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3449 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3450 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3454 # We make a subdir and do the tests there. Otherwise we can end up
3455 # making bogus files that we don't know about and never remove. For
3456 # instance it was reported that on HP-UX the gcc test will end up
3457 # making a dummy file named `D' -- because `-MD' means `put the output
3460 # Copy depcomp to subdir because otherwise we won't find it if we're
3461 # using a relative directory.
3462 cp "$am_depcomp" conftest.dir
3464 # We will build objects and dependencies in a subdirectory because
3465 # it helps to detect inapplicable dependency modes. For instance
3466 # both Tru64's cc and ICC support -MD to output dependencies as a
3467 # side effect of compilation, but ICC will put the dependencies in
3468 # the current directory while Tru64 will put them in the object
3472 am_cv_CC_dependencies_compiler_type
=none
3473 if test "$am_compiler_list" = ""; then
3474 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3476 for depmode
in $am_compiler_list; do
3477 # Setup a source with many dependencies, because some compilers
3478 # like to wrap large dependency lists on column 80 (with \), and
3479 # we should not choose a depcomp mode which is confused by this.
3481 # We need to recreate these files for each test, as the compiler may
3482 # overwrite some of them when testing with obscure command lines.
3483 # This happens at least with the AIX C compiler.
3485 for i
in 1 2 3 4 5 6; do
3486 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3487 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3488 # Solaris 8's {/usr,}/bin/sh.
3489 touch sub
/conftst
$i.h
3491 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3495 # after this tag, mechanisms are not by side-effect, so they'll
3496 # only be used when explicitly requested
3497 if test "x$enable_dependency_tracking" = xyes
; then
3505 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3506 # mode. It turns out that the SunPro C++ compiler does not properly
3507 # handle `-M -o', and we need to detect this.
3508 if depmode
=$depmode \
3509 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3510 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3511 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3512 >/dev
/null
2>conftest.err
&&
3513 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3514 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3515 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3516 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3517 # icc doesn't choke on unknown options, it will just issue warnings
3518 # or remarks (even with -Werror). So we grep stderr for any message
3519 # that says an option was ignored or not supported.
3520 # When given -MP, icc 7.0 and 7.1 complain thusly:
3521 # icc: Command line warning: ignoring option '-M'; no argument required
3522 # The diagnosis changed in icc 8.0:
3523 # icc: Command line remark: option '-MP' not supported
3524 if (grep 'ignoring option' conftest.err ||
3525 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3526 am_cv_CC_dependencies_compiler_type
=$depmode
3535 am_cv_CC_dependencies_compiler_type
=none
3539 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3540 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3541 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3544 test "x$enable_dependency_tracking" != xno \
3545 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3547 am__fastdepCC_FALSE
='#'
3549 am__fastdepCC_TRUE
='#'
3550 am__fastdepCC_FALSE
=
3554 # Find a good install program. We prefer a C program (faster),
3555 # so one script is as good as another. But avoid the broken or
3556 # incompatible versions:
3557 # SysV /etc/install, /usr/sbin/install
3558 # SunOS /usr/etc/install
3559 # IRIX /sbin/install
3561 # AmigaOS /C/install, which installs bootblocks on floppy discs
3562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3565 # OS/2's system install, which has a completely different semantic
3566 # ./install, which can be erroneously created by make from ./install.sh.
3567 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3568 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3569 if test -z "$INSTALL"; then
3570 if test "${ac_cv_path_install+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir
=.
3578 # Account for people who put trailing slashes in PATH elements.
3580 .
/ | .
// |
/cC
/* | \
3581 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3582 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3585 # OSF1 and SCO ODT 3.0 have their own names for install.
3586 # Don't use installbsd from OSF since it installs stuff as root
3588 for ac_prog
in ginstall scoinst
install; do
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3591 if test $ac_prog = install &&
3592 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3593 # AIX install. It has an incompatible calling convention.
3595 elif test $ac_prog = install &&
3596 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3597 # program-specific install script used by HP pwplus--don't use.
3600 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3613 if test "${ac_cv_path_install+set}" = set; then
3614 INSTALL
=$ac_cv_path_install
3616 # As a last resort, use the slow shell script. Don't cache a
3617 # value for INSTALL within a source directory, because that will
3618 # break other packages using the cache if that directory is
3619 # removed, or if the value is a relative name.
3620 INSTALL
=$ac_install_sh
3623 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3624 echo "${ECHO_T}$INSTALL" >&6; }
3626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3627 # It thinks the first close brace ends the variable substitution.
3628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3632 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3634 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3635 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3637 if test "$LN_S" = "ln -s"; then
3638 { echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6; }
3641 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3642 echo "${ECHO_T}no, using $LN_S" >&6; }
3645 # Check whether --enable-shared was given.
3646 if test "${enable_shared+set}" = set; then
3647 enableval
=$enable_shared; p
=${PACKAGE-default}
3649 yes) enable_shared
=yes ;;
3650 no
) enable_shared
=no
;;
3653 # Look at the argument we got. We use all the common list separators.
3654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3655 for pkg
in $enableval; do
3657 if test "X$pkg" = "X$p"; then
3669 # Check whether --enable-static was given.
3670 if test "${enable_static+set}" = set; then
3671 enableval
=$enable_static; p
=${PACKAGE-default}
3673 yes) enable_static
=yes ;;
3674 no
) enable_static
=no
;;
3677 # Look at the argument we got. We use all the common list separators.
3678 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3679 for pkg
in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3693 # Check whether --enable-fast-install was given.
3694 if test "${enable_fast_install+set}" = set; then
3695 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3697 yes) enable_fast_install
=yes ;;
3698 no
) enable_fast_install
=no
;;
3700 enable_fast_install
=no
3701 # Look at the argument we got. We use all the common list separators.
3702 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3703 for pkg
in $enableval; do
3705 if test "X$pkg" = "X$p"; then
3706 enable_fast_install
=yes
3713 enable_fast_install
=yes
3717 # Make sure we can run config.sub.
3718 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3719 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3720 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3721 { (exit 1); exit 1; }; }
3723 { echo "$as_me:$LINENO: checking build system type" >&5
3724 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3725 if test "${ac_cv_build+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 ac_build_alias
=$build_alias
3729 test "x$ac_build_alias" = x
&&
3730 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3731 test "x$ac_build_alias" = x
&&
3732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3734 { (exit 1); exit 1; }; }
3735 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3736 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3737 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3738 { (exit 1); exit 1; }; }
3741 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3742 echo "${ECHO_T}$ac_cv_build" >&6; }
3743 case $ac_cv_build in
3745 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3746 echo "$as_me: error: invalid value of canonical build" >&2;}
3747 { (exit 1); exit 1; }; };;
3750 ac_save_IFS
=$IFS; IFS
='-'
3756 # Remember, the first character of IFS is used to create $*,
3757 # except with old shells:
3760 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3763 { echo "$as_me:$LINENO: checking host system type" >&5
3764 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3765 if test "${ac_cv_host+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 if test "x$host_alias" = x
; then
3769 ac_cv_host
=$ac_cv_build
3771 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3772 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3773 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3774 { (exit 1); exit 1; }; }
3778 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3779 echo "${ECHO_T}$ac_cv_host" >&6; }
3782 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3783 echo "$as_me: error: invalid value of canonical host" >&2;}
3784 { (exit 1); exit 1; }; };;
3787 ac_save_IFS
=$IFS; IFS
='-'
3793 # Remember, the first character of IFS is used to create $*,
3794 # except with old shells:
3797 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3800 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3801 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3802 if test "${lt_cv_path_SED+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 # Loop through the user's path and test for sed and gsed.
3806 # Then use that list of sed's as ones to test for truncation.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for lt_ac_prog
in sed gsed
; do
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3815 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3823 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3824 # along with /bin/sed that truncates output.
3825 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3826 test ! -f $lt_ac_sed && continue
3827 cat /dev
/null
> conftest.
in
3829 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3830 # Check for GNU sed and select it if it is found.
3831 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3832 lt_cv_path_SED
=$lt_ac_sed
3836 cat conftest.
in conftest.
in >conftest.tmp
3837 mv conftest.tmp conftest.
in
3838 cp conftest.
in conftest.
nl
3840 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3841 cmp -s conftest.out conftest.
nl ||
break
3842 # 10000 chars as input seems more than enough
3843 test $lt_ac_count -gt 10 && break
3844 lt_ac_count
=`expr $lt_ac_count + 1`
3845 if test $lt_ac_count -gt $lt_ac_max; then
3846 lt_ac_max
=$lt_ac_count
3847 lt_cv_path_SED
=$lt_ac_sed
3856 { echo "$as_me:$LINENO: result: $SED" >&5
3857 echo "${ECHO_T}$SED" >&6; }
3859 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3860 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3861 if test "${ac_cv_path_GREP+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 # Extract the first word of "grep ggrep" to use in msg output
3865 if test -z "$GREP"; then
3866 set dummy
grep ggrep
; ac_prog_name
=$2
3867 if test "${ac_cv_path_GREP+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 ac_path_GREP_found
=false
3871 # Loop through the user's path and test for each of PROGNAME-LIST
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_prog
in grep ggrep
; do
3878 for ac_exec_ext
in '' $ac_executable_extensions; do
3879 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3880 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3881 # Check for GNU ac_path_GREP and select it if it is found.
3882 # Check for GNU $ac_path_GREP
3883 case `"$ac_path_GREP" --version 2>&1` in
3885 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3888 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3891 cat "conftest.in" "conftest.in" >"conftest.tmp"
3892 mv "conftest.tmp" "conftest.in"
3893 cp "conftest.in" "conftest.nl"
3894 echo 'GREP' >> "conftest.nl"
3895 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3896 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3897 ac_count
=`expr $ac_count + 1`
3898 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3899 # Best one so far, save it but keep looking for a better one
3900 ac_cv_path_GREP
="$ac_path_GREP"
3901 ac_path_GREP_max
=$ac_count
3903 # 10*(2^10) chars as input seems more than enough
3904 test $ac_count -gt 10 && break
3906 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3910 $ac_path_GREP_found && break 3
3920 GREP
="$ac_cv_path_GREP"
3921 if test -z "$GREP"; then
3922 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3923 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3924 { (exit 1); exit 1; }; }
3928 ac_cv_path_GREP
=$GREP
3933 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3934 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3935 GREP
="$ac_cv_path_GREP"
3938 { echo "$as_me:$LINENO: checking for egrep" >&5
3939 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3940 if test "${ac_cv_path_EGREP+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3944 then ac_cv_path_EGREP
="$GREP -E"
3946 # Extract the first word of "egrep" to use in msg output
3947 if test -z "$EGREP"; then
3948 set dummy
egrep; ac_prog_name
=$2
3949 if test "${ac_cv_path_EGREP+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 ac_path_EGREP_found
=false
3953 # Loop through the user's path and test for each of PROGNAME-LIST
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3955 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_prog
in egrep; do
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3962 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3963 # Check for GNU ac_path_EGREP and select it if it is found.
3964 # Check for GNU $ac_path_EGREP
3965 case `"$ac_path_EGREP" --version 2>&1` in
3967 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3970 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3973 cat "conftest.in" "conftest.in" >"conftest.tmp"
3974 mv "conftest.tmp" "conftest.in"
3975 cp "conftest.in" "conftest.nl"
3976 echo 'EGREP' >> "conftest.nl"
3977 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3978 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3979 ac_count
=`expr $ac_count + 1`
3980 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3981 # Best one so far, save it but keep looking for a better one
3982 ac_cv_path_EGREP
="$ac_path_EGREP"
3983 ac_path_EGREP_max
=$ac_count
3985 # 10*(2^10) chars as input seems more than enough
3986 test $ac_count -gt 10 && break
3988 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3992 $ac_path_EGREP_found && break 3
4002 EGREP
="$ac_cv_path_EGREP"
4003 if test -z "$EGREP"; then
4004 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4005 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4006 { (exit 1); exit 1; }; }
4010 ac_cv_path_EGREP
=$EGREP
4016 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4017 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4018 EGREP
="$ac_cv_path_EGREP"
4022 # Check whether --with-gnu-ld was given.
4023 if test "${with_gnu_ld+set}" = set; then
4024 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4030 if test "$GCC" = yes; then
4031 # Check if gcc -print-prog-name=ld gives a path.
4032 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4033 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4036 # gcc leaves a trailing carriage return which upsets mingw
4037 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4039 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4042 # Accept absolute paths.
4044 re_direlt
='/[^/][^/]*/\.\./'
4045 # Canonicalize the pathname of ld
4046 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4047 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4048 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4050 test -z "$LD" && LD
="$ac_prog"
4053 # If it fails, then pretend we aren't using GCC.
4057 # If it is relative, then search for the first ld in PATH.
4061 elif test "$with_gnu_ld" = yes; then
4062 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4063 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4065 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4066 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4068 if test "${lt_cv_path_LD+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 if test -z "$LD"; then
4072 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4073 for ac_dir
in $PATH; do
4075 test -z "$ac_dir" && ac_dir
=.
4076 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4077 lt_cv_path_LD
="$ac_dir/$ac_prog"
4078 # Check to see if the program is GNU ld. I'd rather use --version,
4079 # but apparently some variants of GNU ld only accept -v.
4080 # Break only if it was the GNU/non-GNU ld that we prefer.
4081 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4082 *GNU
* |
*'with BFD'*)
4083 test "$with_gnu_ld" != no
&& break
4086 test "$with_gnu_ld" != yes && break
4093 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4098 if test -n "$LD"; then
4099 { echo "$as_me:$LINENO: result: $LD" >&5
4100 echo "${ECHO_T}$LD" >&6; }
4102 { echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6; }
4105 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4106 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4107 { (exit 1); exit 1; }; }
4108 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4109 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4110 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4114 case `$LD -v 2>&1 </dev/null` in
4115 *GNU
* |
*'with BFD'*)
4116 lt_cv_prog_gnu_ld
=yes
4119 lt_cv_prog_gnu_ld
=no
4123 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4124 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4125 with_gnu_ld
=$lt_cv_prog_gnu_ld
4128 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4129 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4130 if test "${lt_cv_ld_reload_flag+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 lt_cv_ld_reload_flag
='-r'
4135 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4136 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4137 reload_flag
=$lt_cv_ld_reload_flag
4138 case $reload_flag in
4140 *) reload_flag
=" $reload_flag" ;;
4142 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4145 if test "$GCC" = yes; then
4146 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4148 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4153 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4154 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4155 if test "${lt_cv_path_NM+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 if test -n "$NM"; then
4159 # Let the user override the test.
4162 lt_nm_to_check
="${ac_tool_prefix}nm"
4163 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4164 lt_nm_to_check
="$lt_nm_to_check nm"
4166 for lt_tmp_nm
in $lt_nm_to_check; do
4167 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4168 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4170 test -z "$ac_dir" && ac_dir
=.
4171 tmp_nm
="$ac_dir/$lt_tmp_nm"
4172 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4173 # Check to see if the nm accepts a BSD-compat flag.
4174 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4175 # nm: unknown option "B" ignored
4176 # Tru64's nm complains that /dev/null is an invalid object file
4177 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4178 */dev
/null
* |
*'Invalid file or object type'*)
4179 lt_cv_path_NM
="$tmp_nm -B"
4183 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4185 lt_cv_path_NM
="$tmp_nm -p"
4189 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4190 continue # so that we can try to find one that supports BSD flags
4199 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4202 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4203 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4206 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4207 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4208 if test "${lt_cv_deplibs_check_method+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4212 lt_cv_file_magic_test_file
=
4213 lt_cv_deplibs_check_method
='unknown'
4214 # Need to set the preceding variable on all platforms that support
4215 # interlibrary dependencies.
4216 # 'none' -- dependencies not supported.
4217 # `unknown' -- same as none, but documents that we really don't know.
4218 # 'pass_all' -- all dependencies passed with no checks.
4219 # 'test_compile' -- check by making test program.
4220 # 'file_magic [[regex]]' -- check by looking for files in library path
4221 # which responds to the $file_magic_cmd with a given extended regex.
4222 # If you have `file' or equivalent on your system and you're not sure
4223 # whether `pass_all' will *always* work, you probably want this one.
4227 lt_cv_deplibs_check_method
=pass_all
4231 lt_cv_deplibs_check_method
=pass_all
4235 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4236 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4237 lt_cv_file_magic_test_file
=/shlib
/libc.so
4241 # func_win32_libid is a shell function defined in ltmain.sh
4242 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4243 lt_cv_file_magic_cmd
='func_win32_libid'
4247 # Base MSYS/MinGW do not provide the 'file' command needed by
4248 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4249 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4250 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4253 darwin
* | rhapsody
*)
4254 lt_cv_deplibs_check_method
=pass_all
4257 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4258 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4261 # Not sure whether the presence of OpenBSD here was a mistake.
4262 # Let's accept both of them until this is cleared up.
4263 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4264 lt_cv_file_magic_cmd
=/usr
/bin
/file
4265 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4269 lt_cv_deplibs_check_method
=pass_all
4274 lt_cv_deplibs_check_method
=pass_all
4277 hpux10.20
* | hpux11
*)
4278 lt_cv_file_magic_cmd
=/usr
/bin
/file
4281 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4282 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4285 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]'
4286 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4289 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4290 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4297 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4300 irix5
* | irix6
* | nonstopux
*)
4302 *-32|
*"-32 ") libmagic
=32-bit;;
4303 *-n32|
*"-n32 ") libmagic
=N32
;;
4304 *-64|
*"-64 ") libmagic
=64-bit;;
4305 *) libmagic
=never-match
;;
4307 lt_cv_deplibs_check_method
=pass_all
4310 # This must be Linux ELF.
4312 lt_cv_deplibs_check_method
=pass_all
4316 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4317 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4319 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4324 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4325 lt_cv_file_magic_cmd
=/usr
/bin
/file
4326 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4330 lt_cv_deplibs_check_method
=unknown
4334 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4335 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4337 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4341 osf3
* | osf4
* | osf5
*)
4342 lt_cv_deplibs_check_method
=pass_all
4346 lt_cv_deplibs_check_method
=pass_all
4350 case $host_vendor in
4352 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]'
4353 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4356 lt_cv_deplibs_check_method
=pass_all
4359 lt_cv_file_magic_cmd
='/bin/file'
4360 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4363 lt_cv_file_magic_cmd
='/bin/file'
4364 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4365 lt_cv_file_magic_test_file
=/lib
/libc.so
4368 lt_cv_deplibs_check_method
=pass_all
4371 lt_cv_deplibs_check_method
=pass_all
4376 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4377 lt_cv_deplibs_check_method
=pass_all
4382 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4383 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4384 file_magic_cmd
=$lt_cv_file_magic_cmd
4385 deplibs_check_method
=$lt_cv_deplibs_check_method
4386 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4391 # If no C compiler was specified, use CC.
4394 # If no C compiler flags were specified, use CFLAGS.
4395 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4397 # Allow CC to be a program name with arguments.
4401 # Check whether --enable-libtool-lock was given.
4402 if test "${enable_libtool_lock+set}" = set; then
4403 enableval
=$enable_libtool_lock;
4406 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4408 # Some flags need to be propagated to the compiler or linker for good
4412 # Find out which ABI we are using.
4413 echo 'int i;' > conftest.
$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; then
4419 case `/usr/bin/file conftest.$ac_objext` in
4431 # Find out which ABI we are using.
4432 echo '#line 4432 "configure"' > conftest.
$ac_ext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; then
4438 if test "$lt_cv_prog_gnu_ld" = yes; then
4439 case `/usr/bin/file conftest.$ac_objext` in
4441 LD
="${LD-ld} -melf32bsmip"
4444 LD
="${LD-ld} -melf32bmipn32"
4447 LD
="${LD-ld} -melf64bmip"
4451 case `/usr/bin/file conftest.$ac_objext` in
4467 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4468 # Find out which ABI we are using.
4469 echo 'int i;' > conftest.
$ac_ext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; then
4475 case `/usr/bin/file conftest.o` in
4479 LD
="${LD-ld} -m elf_i386"
4481 ppc64-
*linux
*|powerpc64-
*linux
*)
4482 LD
="${LD-ld} -m elf32ppclinux"
4485 LD
="${LD-ld} -m elf_s390"
4488 LD
="${LD-ld} -m elf32_sparc"
4495 LD
="${LD-ld} -m elf_x86_64"
4497 ppc
*-*linux
*|powerpc
*-*linux
*)
4498 LD
="${LD-ld} -m elf64ppc"
4501 LD
="${LD-ld} -m elf64_s390"
4504 LD
="${LD-ld} -m elf64_sparc"
4514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4515 SAVE_CFLAGS
="$CFLAGS"
4516 CFLAGS
="$CFLAGS -belf"
4517 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4518 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4519 if test "${lt_cv_cc_needs_belf+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 ac_cpp
='$CPP $CPPFLAGS'
4524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4528 cat >conftest.
$ac_ext <<_ACEOF
4531 cat confdefs.h
>>conftest.
$ac_ext
4532 cat >>conftest.
$ac_ext <<_ACEOF
4533 /* end confdefs.h. */
4543 rm -f conftest.
$ac_objext conftest
$ac_exeext
4544 if { (ac_try
="$ac_link"
4546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4550 (eval "$ac_link") 2>conftest.er1
4552 grep -v '^ *+' conftest.er1 >conftest.err
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } && {
4557 test -z "$ac_c_werror_flag" ||
4558 test ! -s conftest.err
4559 } && test -s conftest$ac_exeext &&
4560 $as_test_x conftest$ac_exeext; then
4561 lt_cv_cc_needs_belf=yes
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.$ac_ext >&5
4566 lt_cv_cc_needs_belf=no
4569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4570 conftest$ac_exeext conftest.$ac_ext
4572 ac_cpp='$CPP $CPPFLAGS'
4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4579 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4580 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4581 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4582 CFLAGS="$SAVE_CFLAGS"
4586 # Find out which ABI we are using.
4587 echo 'int i;' > conftest.$ac_ext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589 (eval $ac_compile) 2>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; then
4593 case `/usr
/bin
/file conftest.o
` in
4595 case $lt_cv_prog_gnu_ld in
4596 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4597 *) LD="${LD-ld} -64" ;;
4608 need_locks="$enable_libtool_lock"
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4617 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4618 # On Suns, sometimes $CPP names a directory.
4619 if test -n "$CPP" && test -d "$CPP"; then
4622 if test -z "$CPP"; then
4623 if test "${ac_cv_prog_CPP+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 # Double quotes because CPP needs to be expanded
4627 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4630 for ac_c_preproc_warn_flag in '' yes
4632 # Use a header file that comes with gcc, so configuring glibc
4633 # with a fresh cross-compiler works.
4634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4635 # <limits.h> exists even on freestanding compilers.
4636 # On the NeXT, cc -E runs the code through the compiler's parser,
4637 # not just through cpp. "Syntax error" is here to catch this case.
4638 cat >conftest.$ac_ext <<_ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4645 # include <limits.h>
4647 # include <assert.h>
4651 if { (ac_try="$ac_cpp conftest.$ac_ext"
4653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4654 *) ac_try_echo
=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1
>conftest.err
4661 cat conftest.err
>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } >/dev
/null
&& {
4664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.
$ac_ext >&5
4672 # Broken: fails on valid input.
4676 rm -f conftest.err conftest.
$ac_ext
4678 # OK, works on sane cases. Now check whether nonexistent headers
4679 # can be detected and how.
4680 cat >conftest.
$ac_ext <<_ACEOF
4683 cat confdefs.h
>>conftest.
$ac_ext
4684 cat >>conftest.
$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 #include <ac_nonexistent.h>
4688 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } >/dev/null && {
4701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4702 test ! -s conftest.err
4704 # Broken: success on invalid input.
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.$ac_ext >&5
4710 # Passes both tests.
4715 rm -f conftest.err conftest.$ac_ext
4718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4719 rm -f conftest.err conftest.
$ac_ext
4720 if $ac_preproc_ok; then
4732 { echo "$as_me:$LINENO: result: $CPP" >&5
4733 echo "${ECHO_T}$CPP" >&6; }
4735 for ac_c_preproc_warn_flag
in '' yes
4737 # Use a header file that comes with gcc, so configuring glibc
4738 # with a fresh cross-compiler works.
4739 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4740 # <limits.h> exists even on freestanding compilers.
4741 # On the NeXT, cc -E runs the code through the compiler's parser,
4742 # not just through cpp. "Syntax error" is here to catch this case.
4743 cat >conftest.
$ac_ext <<_ACEOF
4746 cat confdefs.h
>>conftest.
$ac_ext
4747 cat >>conftest.
$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4750 # include <limits.h>
4752 # include <assert.h>
4756 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } >/dev/null && {
4769 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4770 test ! -s conftest.err
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 # Broken: fails on valid input.
4781 rm -f conftest.err conftest.$ac_ext
4783 # OK, works on sane cases. Now check whether nonexistent headers
4784 # can be detected and how.
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4793 if { (ac_try="$ac_cpp conftest.$ac_ext"
4795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4796 *) ac_try_echo
=$ac_try;;
4798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4801 grep -v '^ *+' conftest.er1
>conftest.err
4803 cat conftest.err
>&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } >/dev
/null
&& {
4806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4807 test ! -s conftest.err
4809 # Broken: success on invalid input.
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.
$ac_ext >&5
4815 # Passes both tests.
4820 rm -f conftest.err conftest.
$ac_ext
4823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4824 rm -f conftest.err conftest.
$ac_ext
4825 if $ac_preproc_ok; then
4828 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4829 See \`config.log' for more details." >&5
4830 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4831 See \`config.log' for more details." >&2;}
4832 { (exit 1); exit 1; }; }
4836 ac_cpp
='$CPP $CPPFLAGS'
4837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4842 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4843 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4844 if test "${ac_cv_header_stdc+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4866 rm -f conftest.
$ac_objext
4867 if { (ac_try
="$ac_compile"
4869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 (eval "$ac_compile") 2>conftest.er1
4875 grep -v '^ *+' conftest.er1 >conftest.err
4877 cat conftest.err >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); } && {
4880 test -z "$ac_c_werror_flag" ||
4881 test ! -s conftest.err
4882 } && test -s conftest.$ac_objext; then
4883 ac_cv_header_stdc=yes
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 ac_cv_header_stdc=no
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 if test $ac_cv_header_stdc = yes; then
4894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4895 cat >conftest.$ac_ext <<_ACEOF
4898 cat confdefs.h >>conftest.$ac_ext
4899 cat >>conftest.$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4905 $EGREP "memchr" >/dev/null 2>&1; then
4908 ac_cv_header_stdc=no
4914 if test $ac_cv_header_stdc = yes; then
4915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4916 cat >conftest.$ac_ext <<_ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "free" >/dev/null 2>&1; then
4929 ac_cv_header_stdc=no
4935 if test $ac_cv_header_stdc = yes; then
4936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4937 if test "$cross_compiling" = yes; then
4940 cat >conftest.$ac_ext <<_ACEOF
4943 cat confdefs.h >>conftest.$ac_ext
4944 cat >>conftest.$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4948 #if ((' ' & 0x0FF) == 0x020)
4949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4952 # define ISLOWER(c) \
4953 (('a' <= (c) && (c) <= 'i') \
4954 || ('j' <= (c) && (c) <= 'r') \
4955 || ('s' <= (c) && (c) <= 'z'))
4956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4964 for (i = 0; i < 256; i++)
4965 if (XOR (islower (i), ISLOWER (i))
4966 || toupper (i) != TOUPPER (i))
4971 rm -f conftest$ac_exeext
4972 if { (ac_try="$ac_link"
4974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4975 *) ac_try_echo
=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4982 { (case "(($ac_try" in
4983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4993 echo "$as_me: program exited with status $ac_status" >&5
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_header_stdc=no
5000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5006 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5007 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5008 if test $ac_cv_header_stdc = yes; then
5010 cat >>confdefs.h <<\_ACEOF
5011 #define STDC_HEADERS 1
5016 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5026 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5027 inttypes.h stdint.h unistd.h
5029 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.$ac_ext <<_ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 $ac_includes_default
5043 #include <$ac_header>
5045 rm -f conftest.$ac_objext
5046 if { (ac_try="$ac_compile"
5048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5049 *) ac_try_echo
=$ac_try;;
5051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5052 (eval "$ac_compile") 2>conftest.er1
5054 grep -v '^ *+' conftest.er1
>conftest.err
5056 cat conftest.err
>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } && {
5059 test -z "$ac_c_werror_flag" ||
5060 test ! -s conftest.err
5061 } && test -s conftest.
$ac_objext; then
5062 eval "$as_ac_Header=yes"
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.
$ac_ext >&5
5067 eval "$as_ac_Header=no"
5070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5072 ac_res
=`eval echo '${'$as_ac_Header'}'`
5073 { echo "$as_me:$LINENO: result: $ac_res" >&5
5074 echo "${ECHO_T}$ac_res" >&6; }
5075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5076 cat >>confdefs.h
<<_ACEOF
5077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5086 for ac_header
in dlfcn.h
5088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5089 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5092 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 ac_res
=`eval echo '${'$as_ac_Header'}'`
5096 { echo "$as_me:$LINENO: result: $ac_res" >&5
5097 echo "${ECHO_T}$ac_res" >&6; }
5099 # Is the header compilable?
5100 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5108 $ac_includes_default
5109 #include <$ac_header>
5111 rm -f conftest.
$ac_objext
5112 if { (ac_try
="$ac_compile"
5114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5118 (eval "$ac_compile") 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } && {
5125 test -z "$ac_c_werror_flag" ||
5126 test ! -s conftest.err
5127 } && test -s conftest.$ac_objext; then
5128 ac_header_compiler=yes
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_header_compiler=no
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5138 echo "${ECHO_T}$ac_header_compiler" >&6; }
5140 # Is the header present?
5141 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5143 cat >conftest.$ac_ext <<_ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5149 #include <$ac_header>
5151 if { (ac_try="$ac_cpp conftest.$ac_ext"
5153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5154 *) ac_try_echo
=$ac_try;;
5156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5159 grep -v '^ *+' conftest.er1
>conftest.err
5161 cat conftest.err
>&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } >/dev
/null
&& {
5164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5165 test ! -s conftest.err
5167 ac_header_preproc
=yes
5169 echo "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.
$ac_ext >&5
5172 ac_header_preproc
=no
5175 rm -f conftest.err conftest.
$ac_ext
5176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5177 echo "${ECHO_T}$ac_header_preproc" >&6; }
5179 # So? What about this header?
5180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5186 ac_header_preproc
=yes
5189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5202 ## -------------------------------------------------- ##
5203 ## Report this to courier-users@lists.sourceforge.net ##
5204 ## -------------------------------------------------- ##
5206 ) |
sed "s/^/$as_me: WARNING: /" >&2
5209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5211 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 eval "$as_ac_Header=\$ac_header_preproc"
5216 ac_res
=`eval echo '${'$as_ac_Header'}'`
5217 { echo "$as_me:$LINENO: result: $ac_res" >&5
5218 echo "${ECHO_T}$ac_res" >&6; }
5221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5222 cat >>confdefs.h
<<_ACEOF
5223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5231 ac_cpp
='$CXXCPP $CPPFLAGS'
5232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5235 if test -z "$CXX"; then
5236 if test -n "$CCC"; then
5239 if test -n "$ac_tool_prefix"; then
5240 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5243 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_CXX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$CXX"; then
5250 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 if test -n "$CXX"; then
5271 { echo "$as_me:$LINENO: result: $CXX" >&5
5272 echo "${ECHO_T}$CXX" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$CXX" && break
5282 if test -z "$CXX"; then
5284 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy
$ac_prog; ac_word
=$2
5288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5290 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$ac_ct_CXX"; then
5294 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5314 if test -n "$ac_ct_CXX"; then
5315 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5316 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5318 { echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6; }
5323 test -n "$ac_ct_CXX" && break
5326 if test "x$ac_ct_CXX" = x
; then
5329 case $cross_compiling:$ac_tool_warned in
5331 { echo "$as_me:$LINENO: 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." >&5
5334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5335 whose name does not start with the host triplet. If you think this
5336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5337 ac_tool_warned
=yes ;;
5345 # Provide some information about the compiler.
5346 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5347 ac_compiler
=`set X $ac_compile; echo $2`
5348 { (ac_try
="$ac_compiler --version >&5"
5350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354 (eval "$ac_compiler --version >&5") 2>&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }
5358 { (ac_try="$ac_compiler -v >&5"
5360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5361 *) ac_try_echo
=$ac_try;;
5363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5364 (eval "$ac_compiler -v >&5") 2>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); }
5368 { (ac_try
="$ac_compiler -V >&5"
5370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5371 *) ac_try_echo=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_compiler -V >&5") 2>&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }
5379 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5380 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5381 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 cat >conftest.$ac_ext <<_ACEOF
5387 cat confdefs.h >>conftest.$ac_ext
5388 cat >>conftest.$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5402 rm -f conftest.$ac_objext
5403 if { (ac_try="$ac_compile"
5405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5406 *) ac_try_echo
=$ac_try;;
5408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5409 (eval "$ac_compile") 2>conftest.er1
5411 grep -v '^ *+' conftest.er1
>conftest.err
5413 cat conftest.err
>&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); } && {
5416 test -z "$ac_cxx_werror_flag" ||
5417 test ! -s conftest.err
5418 } && test -s conftest.
$ac_objext; then
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5428 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5431 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5432 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5433 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5434 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5435 ac_save_CXXFLAGS
=$CXXFLAGS
5436 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5437 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_cxx_g+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5442 ac_cxx_werror_flag
=yes
5445 cat >conftest.
$ac_ext <<_ACEOF
5448 cat confdefs.h
>>conftest.
$ac_ext
5449 cat >>conftest.
$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5460 rm -f conftest.
$ac_objext
5461 if { (ac_try
="$ac_compile"
5463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
5471 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_cxx_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest.$ac_objext; then
5477 ac_cv_prog_cxx_g=yes
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.$ac_ext >&5
5483 cat >conftest.$ac_ext <<_ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5498 rm -f conftest.$ac_objext
5499 if { (ac_try="$ac_compile"
5501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5502 *) ac_try_echo
=$ac_try;;
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_compile") 2>conftest.er1
5507 grep -v '^ *+' conftest.er1
>conftest.err
5509 cat conftest.err
>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } && {
5512 test -z "$ac_cxx_werror_flag" ||
5513 test ! -s conftest.err
5514 } && test -s conftest.
$ac_objext; then
5517 echo "$as_me: failed program was:" >&5
5518 sed 's/^/| /' conftest.
$ac_ext >&5
5520 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5537 rm -f conftest.
$ac_objext
5538 if { (ac_try
="$ac_compile"
5540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5541 *) ac_try_echo=$ac_try;;
5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5544 (eval "$ac_compile") 2>conftest.er1
5546 grep -v '^ *+' conftest.er1 >conftest.err
5548 cat conftest.err >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } && {
5551 test -z "$ac_cxx_werror_flag" ||
5552 test ! -s conftest.err
5553 } && test -s conftest.$ac_objext; then
5554 ac_cv_prog_cxx_g=yes
5556 echo "$as_me: failed program was:" >&5
5557 sed 's/^/| /' conftest.$ac_ext >&5
5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5571 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5572 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5573 if test "$ac_test_CXXFLAGS" = set; then
5574 CXXFLAGS=$ac_save_CXXFLAGS
5575 elif test $ac_cv_prog_cxx_g = yes; then
5576 if test "$GXX" = yes; then
5582 if test "$GXX" = yes; then
5589 ac_cpp='$CXXCPP $CPPFLAGS'
5590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 depcc="$CXX" am_compiler_list=
5596 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5597 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5598 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5602 # We make a subdir and do the tests there. Otherwise we can end up
5603 # making bogus files that we don't know about and never remove. For
5604 # instance it was reported that on HP-UX the gcc test will end up
5605 # making a dummy file named `D
' -- because `-MD' means
`put the output
5608 # Copy depcomp to subdir because otherwise we won't find it if we're
5609 # using a relative directory.
5610 cp "$am_depcomp" conftest.dir
5612 # We will build objects and dependencies in a subdirectory because
5613 # it helps to detect inapplicable dependency modes. For instance
5614 # both Tru64's cc and ICC support -MD to output dependencies as a
5615 # side effect of compilation, but ICC will put the dependencies in
5616 # the current directory while Tru64 will put them in the object
5620 am_cv_CXX_dependencies_compiler_type=none
5621 if test "$am_compiler_list" = ""; then
5622 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5624 for depmode in $am_compiler_list; do
5625 # Setup a source with many dependencies, because some compilers
5626 # like to wrap large dependency lists on column 80 (with \), and
5627 # we should not choose a depcomp mode which is confused by this.
5629 # We need to recreate these files for each test, as the compiler may
5630 # overwrite some of them when testing with obscure command lines.
5631 # This happens at least with the AIX C compiler.
5633 for i in 1 2 3 4 5 6; do
5634 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5635 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5636 # Solaris 8's
{/usr
,}/bin
/sh.
5637 touch sub
/conftst
$i.h
5639 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5643 # after this tag, mechanisms are not by side-effect, so they'll
5644 # only be used when explicitly requested
5645 if test "x$enable_dependency_tracking" = xyes
; then
5653 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5654 # mode. It turns out that the SunPro C++ compiler does not properly
5655 # handle `-M -o', and we need to detect this.
5656 if depmode
=$depmode \
5657 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5658 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5659 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5660 >/dev
/null
2>conftest.err
&&
5661 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5662 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5663 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5664 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5665 # icc doesn't choke on unknown options, it will just issue warnings
5666 # or remarks (even with -Werror). So we grep stderr for any message
5667 # that says an option was ignored or not supported.
5668 # When given -MP, icc 7.0 and 7.1 complain thusly:
5669 # icc: Command line warning: ignoring option '-M'; no argument required
5670 # The diagnosis changed in icc 8.0:
5671 # icc: Command line remark: option '-MP' not supported
5672 if (grep 'ignoring option' conftest.err ||
5673 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5674 am_cv_CXX_dependencies_compiler_type
=$depmode
5683 am_cv_CXX_dependencies_compiler_type
=none
5687 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5688 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5689 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5692 test "x$enable_dependency_tracking" != xno \
5693 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5694 am__fastdepCXX_TRUE
=
5695 am__fastdepCXX_FALSE
='#'
5697 am__fastdepCXX_TRUE
='#'
5698 am__fastdepCXX_FALSE
=
5704 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5705 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5706 (test "X$CXX" != "Xg++"))) ; then
5708 ac_cpp
='$CXXCPP $CPPFLAGS'
5709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5712 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5713 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5714 if test -z "$CXXCPP"; then
5715 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 # Double quotes because CXXCPP needs to be expanded
5719 for CXXCPP
in "$CXX -E" "/lib/cpp"
5722 for ac_cxx_preproc_warn_flag
in '' yes
5724 # Use a header file that comes with gcc, so configuring glibc
5725 # with a fresh cross-compiler works.
5726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5727 # <limits.h> exists even on freestanding compilers.
5728 # On the NeXT, cc -E runs the code through the compiler's parser,
5729 # not just through cpp. "Syntax error" is here to catch this case.
5730 cat >conftest.
$ac_ext <<_ACEOF
5733 cat confdefs.h
>>conftest.
$ac_ext
5734 cat >>conftest.
$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5737 # include <limits.h>
5739 # include <assert.h>
5743 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5746 *) ac_try_echo=$ac_try;;
5748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5751 grep -v '^ *+' conftest.er1 >conftest.err
5753 cat conftest.err >&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } >/dev/null && {
5756 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5757 test ! -s conftest.err
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.$ac_ext >&5
5764 # Broken: fails on valid input.
5768 rm -f conftest.err conftest.$ac_ext
5770 # OK, works on sane cases. Now check whether nonexistent headers
5771 # can be detected and how.
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5778 #include <ac_nonexistent.h>
5780 if { (ac_try="$ac_cpp conftest.$ac_ext"
5782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5783 *) ac_try_echo
=$ac_try;;
5785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5788 grep -v '^ *+' conftest.er1
>conftest.err
5790 cat conftest.err
>&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } >/dev
/null
&& {
5793 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5794 test ! -s conftest.err
5796 # Broken: success on invalid input.
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5802 # Passes both tests.
5807 rm -f conftest.err conftest.
$ac_ext
5810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5811 rm -f conftest.err conftest.
$ac_ext
5812 if $ac_preproc_ok; then
5817 ac_cv_prog_CXXCPP
=$CXXCPP
5820 CXXCPP
=$ac_cv_prog_CXXCPP
5822 ac_cv_prog_CXXCPP
=$CXXCPP
5824 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5825 echo "${ECHO_T}$CXXCPP" >&6; }
5827 for ac_cxx_preproc_warn_flag
in '' yes
5829 # Use a header file that comes with gcc, so configuring glibc
5830 # with a fresh cross-compiler works.
5831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5832 # <limits.h> exists even on freestanding compilers.
5833 # On the NeXT, cc -E runs the code through the compiler's parser,
5834 # not just through cpp. "Syntax error" is here to catch this case.
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5842 # include <limits.h>
5844 # include <assert.h>
5848 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5851 *) ac_try_echo=$ac_try;;
5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5856 grep -v '^ *+' conftest.er1 >conftest.err
5858 cat conftest.err >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } >/dev/null && {
5861 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5862 test ! -s conftest.err
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 # Broken: fails on valid input.
5873 rm -f conftest.err conftest.$ac_ext
5875 # OK, works on sane cases. Now check whether nonexistent headers
5876 # can be detected and how.
5877 cat >conftest.$ac_ext <<_ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <ac_nonexistent.h>
5885 if { (ac_try="$ac_cpp conftest.$ac_ext"
5887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5888 *) ac_try_echo
=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1
>conftest.err
5895 cat conftest.err
>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } >/dev
/null
&& {
5898 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5899 test ! -s conftest.err
5901 # Broken: success on invalid input.
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5907 # Passes both tests.
5912 rm -f conftest.err conftest.
$ac_ext
5915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5916 rm -f conftest.err conftest.
$ac_ext
5917 if $ac_preproc_ok; then
5920 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5921 See \`config.log' for more details." >&5
5922 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5923 See \`config.log' for more details." >&2;}
5924 { (exit 1); exit 1; }; }
5928 ac_cpp
='$CXXCPP $CPPFLAGS'
5929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5937 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5938 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5939 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5940 if test -n "$ac_tool_prefix"; then
5941 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
5943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5944 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5947 if test "${ac_cv_prog_F77+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 if test -n "$F77"; then
5951 ac_cv_prog_F77
="$F77" # Let the user override the test.
5953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir
=.
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 if test -n "$F77"; then
5972 { echo "$as_me:$LINENO: result: $F77" >&5
5973 echo "${ECHO_T}$F77" >&6; }
5975 { echo "$as_me:$LINENO: result: no" >&5
5976 echo "${ECHO_T}no" >&6; }
5980 test -n "$F77" && break
5983 if test -z "$F77"; then
5985 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
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy
$ac_prog; ac_word
=$2
5989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5991 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 if test -n "$ac_ct_F77"; then
5995 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir
=.
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_ac_ct_F77
="$ac_prog"
6005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6015 if test -n "$ac_ct_F77"; then
6016 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6017 echo "${ECHO_T}$ac_ct_F77" >&6; }
6019 { echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6; }
6024 test -n "$ac_ct_F77" && break
6027 if test "x$ac_ct_F77" = x
; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { echo "$as_me:$LINENO: 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." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned
=yes ;;
6045 # Provide some information about the compiler.
6046 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6047 ac_compiler
=`set X $ac_compile; echo $2`
6048 { (ac_try
="$ac_compiler --version >&5"
6050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_compiler --version >&5") 2>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }
6058 { (ac_try="$ac_compiler -v >&5"
6060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6061 *) ac_try_echo
=$ac_try;;
6063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6064 (eval "$ac_compiler -v >&5") 2>&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }
6068 { (ac_try
="$ac_compiler -V >&5"
6070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6071 *) ac_try_echo=$ac_try;;
6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6074 (eval "$ac_compiler -V >&5") 2>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }
6080 # If we don't use `.F
' as extension, the preprocessor is not run on the
6081 # input file. (Note that this only needs to work for GNU compilers.)
6084 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6085 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6086 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.$ac_ext <<_ACEOF
6097 rm -f conftest.$ac_objext
6098 if { (ac_try="$ac_compile"
6100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101 *) ac_try_echo=$ac_try;;
6103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104 (eval "$ac_compile") 2>conftest.er1
6106 grep -v '^
*+' conftest.er1 >conftest.err
6108 cat conftest.err >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } && {
6111 test -z "$ac_f77_werror_flag" ||
6112 test ! -s conftest.err
6113 } && test -s conftest.$ac_objext; then
6116 echo "$as_me: failed program was:" >&5
6117 sed 's
/^
/|
/' conftest.$ac_ext >&5
6122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6126 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6127 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6129 ac_test_FFLAGS=${FFLAGS+set}
6130 ac_save_FFLAGS=$FFLAGS
6132 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6133 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6134 if test "${ac_cv_prog_f77_g+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 cat >conftest.$ac_ext <<_ACEOF
6143 rm -f conftest.$ac_objext
6144 if { (ac_try="$ac_compile"
6146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6147 *) ac_try_echo=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_compile") 2>conftest.er1
6152 grep -v '^
*+' conftest.er1 >conftest.err
6154 cat conftest.err >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } && {
6157 test -z "$ac_f77_werror_flag" ||
6158 test ! -s conftest.err
6159 } && test -s conftest.$ac_objext; then
6160 ac_cv_prog_f77_g=yes
6162 echo "$as_me: failed program was:" >&5
6163 sed 's
/^
/|
/' conftest.$ac_ext >&5
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6172 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6173 if test "$ac_test_FFLAGS" = set; then
6174 FFLAGS=$ac_save_FFLAGS
6175 elif test $ac_cv_prog_f77_g = yes; then
6176 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6182 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6189 G77=`test $ac_compiler_gnu = yes && echo yes`
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6193 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6198 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6200 # find the maximum length of command line arguments
6201 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6202 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6203 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 # On DJGPP, this test can blow up pretty badly due to problems in libc
6212 # (any single argument exceeding 2000 bytes causes a buffer overrun
6213 # during glob expansion). Even if it were fixed, the result of this
6214 # check would be larger than it should be.
6215 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6219 # Under GNU Hurd, this test is not required because there is
6220 # no limit to the length of command line arguments.
6221 # Libtool will interpret -1 as no limit whatsoever
6222 lt_cv_sys_max_cmd_len
=-1;
6226 # On Win9x/ME, this test blows up -- it succeeds, but takes
6227 # about 5 minutes as the teststring grows exponentially.
6228 # Worse, since 9x/ME are not pre-emptively multitasking,
6229 # you end up with a "frozen" computer, even though with patience
6230 # the test eventually succeeds (with a max line length of 256k).
6231 # Instead, let's just punt: use the minimum linelength reported by
6232 # all of the supported platforms: 8192 (on NT/2K/XP).
6233 lt_cv_sys_max_cmd_len
=8192;
6237 # On AmigaOS with pdksh, this test takes hours, literally.
6238 # So we just punt and use a minimum line length of 8192.
6239 lt_cv_sys_max_cmd_len
=8192;
6242 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6243 # This has been around since 386BSD, at least. Likely further.
6244 if test -x /sbin
/sysctl
; then
6245 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6246 elif test -x /usr
/sbin
/sysctl
; then
6247 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6249 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6251 # And add a safety zone
6252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6253 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6257 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6258 lt_cv_sys_max_cmd_len
=196608
6262 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6263 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6264 # nice to cause kernel panics so lets avoid the loop below.
6265 # First set a reasonable default.
6266 lt_cv_sys_max_cmd_len
=16384
6268 if test -x /sbin
/sysconfig
; then
6269 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6270 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6275 lt_cv_sys_max_cmd_len
=102400
6277 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6278 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6279 if test -n "$kargmax"; then
6280 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6282 lt_cv_sys_max_cmd_len
=32768
6286 # If test is not a shell built-in, we'll probably end up computing a
6287 # maximum length that is only half of the actual maximum length, but
6289 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6290 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6291 = "XX$teststring") >/dev
/null
2>&1 &&
6292 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6293 lt_cv_sys_max_cmd_len
=$new_result &&
6294 test $i != 17 # 1/2 MB should be enough
6297 teststring
=$teststring$teststring
6300 # Add a significant safety factor because C++ compilers can tack on massive
6301 # amounts of additional arguments before passing them to the linker.
6302 # It appears as though 1/2 is a usable value.
6303 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6309 if test -n $lt_cv_sys_max_cmd_len ; then
6310 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6311 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6313 { echo "$as_me:$LINENO: result: none" >&5
6314 echo "${ECHO_T}none" >&6; }
6320 # Check for command to grab the raw symbol name followed by C symbol from nm.
6321 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6322 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6323 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 # These are sane defaults that work on at least a few old systems.
6328 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6330 # Character class describing NM global symbol codes.
6331 symcode
='[BCDEGRST]'
6333 # Regexp to match symbols that can be accessed directly from C.
6334 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6336 # Transform an extracted symbol line into a proper C declaration
6337 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6339 # Transform an extracted symbol line into symbol name and symbol address
6340 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'"
6342 # Define system-specific variables.
6347 cygwin
* | mingw
* | pw32
*)
6348 symcode
='[ABCDGISTW]'
6350 hpux
*) # Its linker distinguishes data from code symbols
6351 if test "$host_cpu" = ia64
; then
6352 symcode
='[ABCDEGRST]'
6354 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6355 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'"
6358 if test "$host_cpu" = ia64
; then
6359 symcode
='[ABCDGIRSTW]'
6360 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361 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'"
6365 symcode
='[BCDEGRST]'
6368 symcode
='[BCDEGQRST]'
6379 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6387 # Handle CRLF in mingw tool chain
6391 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6395 # If we're using GNU nm, then use its standard symbol codes.
6396 case `$NM -V 2>&1` in
6397 *GNU
* |
*'with BFD'*)
6398 symcode
='[ABCDGIRSTW]' ;;
6401 # Try without a prefix undercore, then with it.
6402 for ac_symprfx
in "" "_"; do
6404 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6405 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6407 # Write the raw and C identifiers.
6408 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6410 # Check to see that the pipe works correctly.
6414 cat > conftest.
$ac_ext <<EOF
6419 void nm_test_func(){}
6423 int main(){nm_test_var='a';nm_test_func();return(0);}
6426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6427 (eval $ac_compile) 2>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; then
6431 # Now try to grab the symbols.
6433 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6434 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && test -s "$nlist"; then
6438 # Try sorting and uniquifying the output.
6439 if sort "$nlist" |
uniq > "$nlist"T
; then
6440 mv -f "$nlist"T
"$nlist"
6445 # Make sure that we snagged all the symbols we need.
6446 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6447 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6448 cat <<EOF > conftest.$ac_ext
6454 # Now generate the symbol file.
6455 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6457 cat <<EOF >> conftest.$ac_ext
6458 #if defined (__STDC__) && __STDC__
6459 # define lt_ptr_t void *
6461 # define lt_ptr_t char *
6465 /* The mapping between symbol names and symbols. */
6470 lt_preloaded_symbols[] =
6473 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6474 cat <<\EOF
>> conftest.
$ac_ext
6482 # Now try linking the two files.
6483 mv conftest.
$ac_objext conftstm.
$ac_objext
6484 lt_save_LIBS
="$LIBS"
6485 lt_save_CFLAGS
="$CFLAGS"
6486 LIBS
="conftstm.$ac_objext"
6487 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6489 (eval $ac_link) 2>&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6495 LIBS
="$lt_save_LIBS"
6496 CFLAGS
="$lt_save_CFLAGS"
6498 echo "cannot find nm_test_func in $nlist" >&5
6501 echo "cannot find nm_test_var in $nlist" >&5
6504 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6507 echo "$progname: failed program was:" >&5
6508 cat conftest.
$ac_ext >&5
6510 rm -f conftest
* conftst
*
6512 # Do not use the global_symbol_pipe unless it works.
6513 if test "$pipe_works" = yes; then
6516 lt_cv_sys_global_symbol_pipe
=
6522 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6523 lt_cv_sys_global_symbol_to_cdecl
=
6525 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6526 { echo "$as_me:$LINENO: result: failed" >&5
6527 echo "${ECHO_T}failed" >&6; }
6529 { echo "$as_me:$LINENO: result: ok" >&5
6530 echo "${ECHO_T}ok" >&6; }
6533 { echo "$as_me:$LINENO: checking for objdir" >&5
6534 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6535 if test "${lt_cv_objdir+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 rm -f .libs
2>/dev
/null
6539 mkdir .libs
2>/dev
/null
6540 if test -d .libs
; then
6543 # MS-DOS does not allow filenames that begin with a dot.
6546 rmdir .libs
2>/dev
/null
6548 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6549 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6550 objdir
=$lt_cv_objdir
6558 # AIX sometimes has problems with the GCC collect2 program. For some
6559 # reason, if we set the COLLECT_NAMES environment variable, the problems
6560 # vanish in a puff of smoke.
6561 if test "X${COLLECT_NAMES+set}" != Xset
; then
6563 export COLLECT_NAMES
6568 # Sed substitution that helps us do robust quoting. It backslashifies
6569 # metacharacters that are still active within double-quoted strings.
6570 Xsed
='sed -e 1s/^X//'
6571 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6573 # Same as above, but do not quote variable references.
6574 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6576 # Sed substitution to delay expansion of an escaped shell variable in a
6577 # double_quote_subst'ed string.
6578 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6580 # Sed substitution to avoid accidental globbing in evaled expressions
6581 no_glob_subst
='s/\*/\\\*/g'
6587 default_ofile
=libtool
6588 can_build_shared
=yes
6590 # All known linkers require a `.a' archive for static linking (except MSVC,
6591 # which needs '.lib').
6593 ltmain
="$ac_aux_dir/ltmain.sh"
6594 ofile
="$default_ofile"
6595 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6599 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6602 if test "${ac_cv_prog_AR+set}" = set; then
6603 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 if test -n "$AR"; then
6606 ac_cv_prog_AR
="$AR" # Let the user override the test.
6608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir
=.
6613 for ac_exec_ext
in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 if test -n "$AR"; then
6627 { echo "$as_me:$LINENO: result: $AR" >&5
6628 echo "${ECHO_T}$AR" >&6; }
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6636 if test -z "$ac_cv_prog_AR"; then
6638 # Extract the first word of "ar", so it can be a program name with args.
6639 set dummy
ar; ac_word
=$2
6640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6642 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 if test -n "$ac_ct_AR"; then
6646 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_exec_ext
in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_AR
="ar"
6656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6666 if test -n "$ac_ct_AR"; then
6667 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6668 echo "${ECHO_T}$ac_ct_AR" >&6; }
6670 { echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6; }
6674 if test "x$ac_ct_AR" = x
; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { echo "$as_me:$LINENO: 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." >&5
6682 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6683 whose name does not start with the host triplet. If you think this
6684 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6685 ac_tool_warned
=yes ;;
6693 if test -n "$ac_tool_prefix"; then
6694 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6695 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6698 if test "${ac_cv_prog_RANLIB+set}" = set; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 if test -n "$RANLIB"; then
6702 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir
=.
6709 for ac_exec_ext
in '' $ac_executable_extensions; do
6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 RANLIB
=$ac_cv_prog_RANLIB
6722 if test -n "$RANLIB"; then
6723 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6724 echo "${ECHO_T}$RANLIB" >&6; }
6726 { echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6; }
6732 if test -z "$ac_cv_prog_RANLIB"; then
6733 ac_ct_RANLIB
=$RANLIB
6734 # Extract the first word of "ranlib", so it can be a program name with args.
6735 set dummy ranlib
; ac_word
=$2
6736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6738 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 if test -n "$ac_ct_RANLIB"; then
6742 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir
=.
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6762 if test -n "$ac_ct_RANLIB"; then
6763 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6764 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6770 if test "x$ac_ct_RANLIB" = x
; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { echo "$as_me:$LINENO: 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." >&5
6778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6779 whose name does not start with the host triplet. If you think this
6780 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6781 ac_tool_warned
=yes ;;
6783 RANLIB
=$ac_ct_RANLIB
6786 RANLIB
="$ac_cv_prog_RANLIB"
6789 if test -n "$ac_tool_prefix"; then
6790 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6791 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6794 if test "${ac_cv_prog_STRIP+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test -n "$STRIP"; then
6798 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir
=.
6805 for ac_exec_ext
in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 STRIP
=$ac_cv_prog_STRIP
6818 if test -n "$STRIP"; then
6819 { echo "$as_me:$LINENO: result: $STRIP" >&5
6820 echo "${ECHO_T}$STRIP" >&6; }
6822 { echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6; }
6828 if test -z "$ac_cv_prog_STRIP"; then
6830 # Extract the first word of "strip", so it can be a program name with args.
6831 set dummy strip
; ac_word
=$2
6832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6834 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 if test -n "$ac_ct_STRIP"; then
6838 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir
=.
6845 for ac_exec_ext
in '' $ac_executable_extensions; do
6846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6847 ac_cv_prog_ac_ct_STRIP
="strip"
6848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6858 if test -n "$ac_ct_STRIP"; then
6859 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6860 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6862 { echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6; }
6866 if test "x$ac_ct_STRIP" = x
; then
6869 case $cross_compiling:$ac_tool_warned in
6871 { echo "$as_me:$LINENO: 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." >&5
6874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6875 whose name does not start with the host triplet. If you think this
6876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6877 ac_tool_warned
=yes ;;
6882 STRIP
="$ac_cv_prog_STRIP"
6887 old_CFLAGS
="$CFLAGS"
6889 # Set sane defaults for various variables
6890 test -z "$AR" && AR
=ar
6891 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6892 test -z "$AS" && AS
=as
6893 test -z "$CC" && CC
=cc
6894 test -z "$LTCC" && LTCC
=$CC
6895 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6896 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6897 test -z "$LD" && LD
=ld
6898 test -z "$LN_S" && LN_S
="ln -s"
6899 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6900 test -z "$NM" && NM
=nm
6901 test -z "$SED" && SED
=sed
6902 test -z "$OBJDUMP" && OBJDUMP
=objdump
6903 test -z "$RANLIB" && RANLIB
=:
6904 test -z "$STRIP" && STRIP
=:
6905 test -z "$ac_objext" && ac_objext
=o
6907 # Determine commands to create old-style static archives.
6908 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6909 old_postinstall_cmds
='chmod 644 $oldlib'
6910 old_postuninstall_cmds
=
6912 if test -n "$RANLIB"; then
6915 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6918 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6921 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6924 for cc_temp
in $compiler""; do
6926 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6927 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6932 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6935 # Only perform the check for file, if the check method requires it
6936 case $deplibs_check_method in
6938 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6939 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6940 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6949 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6950 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6951 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6952 for ac_dir
in $ac_dummy; do
6954 test -z "$ac_dir" && ac_dir
=.
6955 if test -f $ac_dir/${ac_tool_prefix}file; then
6956 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6957 if test -n "$file_magic_test_file"; then
6958 case $deplibs_check_method in
6960 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6961 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6962 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6963 $EGREP "$file_magic_regex" > /dev
/null
; then
6968 *** Warning: the command libtool uses to detect shared libraries,
6969 *** $file_magic_cmd, produces output that libtool cannot recognize.
6970 *** The result is that libtool may fail to recognize shared libraries
6971 *** as such. This will affect the creation of libtool libraries that
6972 *** depend on shared libraries, but programs linked with such libtool
6973 *** libraries will work regardless of this problem. Nevertheless, you
6974 *** may want to report the problem to your system manager and/or to
6975 *** bug-libtool@gnu.org
6985 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6990 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6991 if test -n "$MAGIC_CMD"; then
6992 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6993 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6995 { echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6; }
6999 if test -z "$lt_cv_path_MAGIC_CMD"; then
7000 if test -n "$ac_tool_prefix"; then
7001 { echo "$as_me:$LINENO: checking for file" >&5
7002 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7003 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7011 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7012 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7013 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7014 for ac_dir
in $ac_dummy; do
7016 test -z "$ac_dir" && ac_dir
=.
7017 if test -f $ac_dir/file; then
7018 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7019 if test -n "$file_magic_test_file"; then
7020 case $deplibs_check_method in
7022 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7023 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7024 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7025 $EGREP "$file_magic_regex" > /dev
/null
; then
7030 *** Warning: the command libtool uses to detect shared libraries,
7031 *** $file_magic_cmd, produces output that libtool cannot recognize.
7032 *** The result is that libtool may fail to recognize shared libraries
7033 *** as such. This will affect the creation of libtool libraries that
7034 *** depend on shared libraries, but programs linked with such libtool
7035 *** libraries will work regardless of this problem. Nevertheless, you
7036 *** may want to report the problem to your system manager and/or to
7037 *** bug-libtool@gnu.org
7047 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7052 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7053 if test -n "$MAGIC_CMD"; then
7054 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7055 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7057 { echo "$as_me:$LINENO: result: no" >&5
7058 echo "${ECHO_T}no" >&6; }
7073 # Check whether --enable-libtool-lock was given.
7074 if test "${enable_libtool_lock+set}" = set; then
7075 enableval
=$enable_libtool_lock;
7078 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7081 # Check whether --with-pic was given.
7082 if test "${with_pic+set}" = set; then
7083 withval
=$with_pic; pic_mode
="$withval"
7088 test -z "$pic_mode" && pic_mode
=default
7090 # Use C for the default configuration in the libtool script
7094 ac_cpp
='$CPP $CPPFLAGS'
7095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7100 # Source file extension for C test sources.
7103 # Object file extension for compiled C test sources.
7107 # Code to be used in simple compile tests
7108 lt_simple_compile_test_code
="int some_variable = 0;\n"
7110 # Code to be used in simple link tests
7111 lt_simple_link_test_code
='int main(){return(0);}\n'
7114 # If no C compiler was specified, use CC.
7117 # If no C compiler flags were specified, use CFLAGS.
7118 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7120 # Allow CC to be a program name with arguments.
7124 # save warnings/boilerplate of simple test code
7125 ac_outfile
=conftest.
$ac_objext
7126 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7127 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7128 _lt_compiler_boilerplate
=`cat conftest.err`
7131 ac_outfile
=conftest.
$ac_objext
7132 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7133 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7134 _lt_linker_boilerplate
=`cat conftest.err`
7139 lt_prog_compiler_no_builtin_flag
=
7141 if test "$GCC" = yes; then
7142 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7145 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7146 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7147 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 lt_cv_prog_compiler_rtti_exceptions
=no
7151 ac_outfile
=conftest.
$ac_objext
7152 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7153 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7154 # Insert the option either (1) after the last *FLAGS variable, or
7155 # (2) before a word containing "conftest.", or (3) at the end.
7156 # Note that $ac_compile itself does not contain backslashes and begins
7157 # with a dollar sign (not a hyphen), so the echo should work correctly.
7158 # The option is referenced via a variable to avoid confusing sed.
7159 lt_compile
=`echo "$ac_compile" | $SED \
7160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7162 -e 's:$: $lt_compiler_flag:'`
7163 (eval echo "\"\$as_me:7163: $lt_compile\"" >&5)
7164 (eval "$lt_compile" 2>conftest.err
)
7166 cat conftest.err
>&5
7167 echo "$as_me:7167: \$? = $ac_status" >&5
7168 if (exit $ac_status) && test -s "$ac_outfile"; then
7169 # The compiler can only warn and ignore the option if not recognized
7170 # So say no if there are warnings other than the usual output.
7171 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7172 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7173 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7174 lt_cv_prog_compiler_rtti_exceptions
=yes
7180 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7181 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7183 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7184 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7191 lt_prog_compiler_wl
=
7192 lt_prog_compiler_pic
=
7193 lt_prog_compiler_static
=
7195 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl
='-Wl,'
7200 lt_prog_compiler_static
='-static'
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64
; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static
='-Bstatic'
7212 # FIXME: we need at least 68020 code to build shared libraries, but
7213 # adding the `-m68020' flag to GCC prevents building anything better,
7215 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7218 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7219 # PIC is the default for these OSes.
7222 mingw
* | pw32
* | os2
*)
7223 # This hack is so that the source file can tell whether it is being
7224 # built for inclusion in a dll (and should export symbols for example).
7225 lt_prog_compiler_pic
='-DDLL_EXPORT'
7228 darwin
* | rhapsody
*)
7229 # PIC is the default on this platform
7230 # Common symbols not allowed in MH_DYLIB files
7231 lt_prog_compiler_pic
='-fno-common'
7235 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7236 # Instead, we relocate shared libraries at runtime.
7240 # Just because we use GCC doesn't mean we suddenly get shared libraries
7241 # on systems that don't support them.
7242 lt_prog_compiler_can_build_shared
=no
7247 if test -d /usr
/nec
; then
7248 lt_prog_compiler_pic
=-Kconform_pic
7253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7260 lt_prog_compiler_pic
='-fPIC'
7266 lt_prog_compiler_pic
='-fPIC'
7270 # PORTME Check for flag to pass linker flags through the system compiler.
7273 lt_prog_compiler_wl
='-Wl,'
7274 if test "$host_cpu" = ia64
; then
7275 # AIX 5 now supports IA64 processor
7276 lt_prog_compiler_static
='-Bstatic'
7278 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7282 # PIC is the default on this platform
7283 # Common symbols not allowed in MH_DYLIB files
7284 case $cc_basename in
7286 lt_prog_compiler_pic
='-qnocommon'
7287 lt_prog_compiler_wl
='-Wl,'
7292 mingw
* | pw32
* | os2
*)
7293 # This hack is so that the source file can tell whether it is being
7294 # built for inclusion in a dll (and should export symbols for example).
7295 lt_prog_compiler_pic
='-DDLL_EXPORT'
7298 hpux9
* | hpux10
* | hpux11
*)
7299 lt_prog_compiler_wl
='-Wl,'
7300 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7307 lt_prog_compiler_pic
='+Z'
7310 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7311 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7314 irix5
* | irix6
* | nonstopux
*)
7315 lt_prog_compiler_wl
='-Wl,'
7316 # PIC (with -KPIC) is the default.
7317 lt_prog_compiler_static
='-non_shared'
7321 lt_prog_compiler_pic
='-KPIC'
7322 lt_prog_compiler_static
='-Bstatic'
7326 case $cc_basename in
7328 lt_prog_compiler_wl
='-Wl,'
7329 lt_prog_compiler_pic
='-KPIC'
7330 lt_prog_compiler_static
='-static'
7332 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7333 # Portland Group compilers (*not* the Pentium gcc compiler,
7334 # which looks to be a dead project)
7335 lt_prog_compiler_wl
='-Wl,'
7336 lt_prog_compiler_pic
='-fpic'
7337 lt_prog_compiler_static
='-Bstatic'
7340 lt_prog_compiler_wl
='-Wl,'
7341 # All Alpha code is PIC.
7342 lt_prog_compiler_static
='-non_shared'
7347 osf3
* | osf4
* | osf5
*)
7348 lt_prog_compiler_wl
='-Wl,'
7349 # All OSF/1 code is PIC.
7350 lt_prog_compiler_static
='-non_shared'
7354 lt_prog_compiler_pic
='-KPIC'
7355 lt_prog_compiler_static
='-Bstatic'
7356 case $cc_basename in
7358 lt_prog_compiler_wl
='-Qoption ld ';;
7360 lt_prog_compiler_wl
='-Wl,';;
7365 lt_prog_compiler_wl
='-Qoption ld '
7366 lt_prog_compiler_pic
='-PIC'
7367 lt_prog_compiler_static
='-Bstatic'
7370 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7371 lt_prog_compiler_wl
='-Wl,'
7372 lt_prog_compiler_pic
='-KPIC'
7373 lt_prog_compiler_static
='-Bstatic'
7377 if test -d /usr
/nec
;then
7378 lt_prog_compiler_pic
='-Kconform_pic'
7379 lt_prog_compiler_static
='-Bstatic'
7383 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7384 lt_prog_compiler_wl
='-Wl,'
7385 lt_prog_compiler_pic
='-KPIC'
7386 lt_prog_compiler_static
='-Bstatic'
7390 lt_prog_compiler_wl
='-Wl,'
7391 lt_prog_compiler_can_build_shared
=no
7395 lt_prog_compiler_pic
='-pic'
7396 lt_prog_compiler_static
='-Bstatic'
7400 lt_prog_compiler_can_build_shared
=no
7405 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7406 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7409 # Check to make sure the PIC flag actually works.
7411 if test -n "$lt_prog_compiler_pic"; then
7413 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7414 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7415 if test "${lt_prog_compiler_pic_works+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 lt_prog_compiler_pic_works
=no
7419 ac_outfile
=conftest.
$ac_objext
7420 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7421 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7422 # Insert the option either (1) after the last *FLAGS variable, or
7423 # (2) before a word containing "conftest.", or (3) at the end.
7424 # Note that $ac_compile itself does not contain backslashes and begins
7425 # with a dollar sign (not a hyphen), so the echo should work correctly.
7426 # The option is referenced via a variable to avoid confusing sed.
7427 lt_compile
=`echo "$ac_compile" | $SED \
7428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7430 -e 's:$: $lt_compiler_flag:'`
7431 (eval echo "\"\$as_me:7431: $lt_compile\"" >&5)
7432 (eval "$lt_compile" 2>conftest.err
)
7434 cat conftest.err
>&5
7435 echo "$as_me:7435: \$? = $ac_status" >&5
7436 if (exit $ac_status) && test -s "$ac_outfile"; then
7437 # The compiler can only warn and ignore the option if not recognized
7438 # So say no if there are warnings other than the usual output.
7439 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7440 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7441 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7442 lt_prog_compiler_pic_works
=yes
7448 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7449 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7451 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7452 case $lt_prog_compiler_pic in
7454 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7457 lt_prog_compiler_pic
=
7458 lt_prog_compiler_can_build_shared
=no
7463 # For platforms which do not support PIC, -DPIC is meaningless:
7465 lt_prog_compiler_pic
=
7468 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7473 # Check to make sure the static flag actually works.
7475 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7476 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7477 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7478 if test "${lt_prog_compiler_static_works+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 lt_prog_compiler_static_works
=no
7482 save_LDFLAGS
="$LDFLAGS"
7483 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7484 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7485 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7486 # The linker can only warn and ignore the option if not recognized
7487 # So say no if there are warnings
7488 if test -s conftest.err
; then
7489 # Append any errors to the config.log.
7490 cat conftest.err
1>&5
7491 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7492 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7493 if diff conftest.exp conftest.er2
>/dev
/null
; then
7494 lt_prog_compiler_static_works
=yes
7497 lt_prog_compiler_static_works
=yes
7501 LDFLAGS
="$save_LDFLAGS"
7504 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7505 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7507 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7510 lt_prog_compiler_static
=
7514 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7515 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7516 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 lt_cv_prog_compiler_c_o
=no
7520 $rm -r conftest
2>/dev
/null
7524 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7526 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7527 # Insert the option either (1) after the last *FLAGS variable, or
7528 # (2) before a word containing "conftest.", or (3) at the end.
7529 # Note that $ac_compile itself does not contain backslashes and begins
7530 # with a dollar sign (not a hyphen), so the echo should work correctly.
7531 lt_compile
=`echo "$ac_compile" | $SED \
7532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7534 -e 's:$: $lt_compiler_flag:'`
7535 (eval echo "\"\$as_me:7535: $lt_compile\"" >&5)
7536 (eval "$lt_compile" 2>out
/conftest.err
)
7538 cat out
/conftest.err
>&5
7539 echo "$as_me:7539: \$? = $ac_status" >&5
7540 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7542 # The compiler can only warn and ignore the option if not recognized
7543 # So say no if there are warnings
7544 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7545 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7546 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7547 lt_cv_prog_compiler_c_o
=yes
7552 # SGI C++ compiler will create directory out/ii_files/ for
7553 # template instantiation
7554 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7555 $rm out
/* && rmdir out
7561 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7562 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7565 hard_links
="nottested"
7566 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7567 # do not overwrite the value of need_locks provided by the user
7568 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7569 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7572 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7574 ln conftest.a conftest.b
2>&5 || hard_links
=no
7575 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7576 { echo "$as_me:$LINENO: result: $hard_links" >&5
7577 echo "${ECHO_T}$hard_links" >&6; }
7578 if test "$hard_links" = no
; then
7579 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7580 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7587 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7588 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7591 allow_undefined_flag
=
7592 enable_shared_with_static_runtimes
=no
7594 archive_expsym_cmds
=
7595 old_archive_From_new_cmds
=
7596 old_archive_from_expsyms_cmds
=
7597 export_dynamic_flag_spec
=
7598 whole_archive_flag_spec
=
7599 thread_safe_flag_spec
=
7600 hardcode_libdir_flag_spec
=
7601 hardcode_libdir_flag_spec_ld
=
7602 hardcode_libdir_separator
=
7605 hardcode_shlibpath_var
=unsupported
7606 link_all_deplibs
=unknown
7607 hardcode_automatic
=no
7610 always_export_symbols
=no
7611 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7612 # include_expsyms should be a list of space-separated symbols to be *always*
7613 # included in the symbol list
7615 # exclude_expsyms can be an extended regexp of symbols to exclude
7616 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7617 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7618 # as well as any symbol that contains `d'.
7619 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7620 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7621 # platforms (ab)use it in PIC code, but their linkers get confused if
7622 # the symbol is explicitly referenced. Since portable code cannot
7623 # rely on this symbol name, it's probably fine to never include it in
7624 # preloaded symbol tables.
7625 extract_expsyms_cmds
=
7626 # Just being paranoid about ensuring that cc_basename is set.
7627 for cc_temp
in $compiler""; do
7629 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7630 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7635 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7638 cygwin
* | mingw
* | pw32
*)
7639 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7640 # When not using gcc, we currently assume that we are using
7641 # Microsoft Visual C++.
7642 if test "$GCC" != yes; then
7647 # we just hope/assume this is gcc and not c89 (= MSVC++)
7656 if test "$with_gnu_ld" = yes; then
7657 # If archive_cmds runs LD, not CC, wlarc should be empty
7660 # Set some defaults for GNU ld with shared library support. These
7661 # are reset later if shared libraries are not supported. Putting them
7662 # here allows them to be overridden if necessary.
7663 runpath_var
=LD_RUN_PATH
7664 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7665 export_dynamic_flag_spec
='${wl}--export-dynamic'
7666 # ancient GNU ld didn't support --whole-archive et. al.
7667 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7668 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7670 whole_archive_flag_spec
=
7672 supports_anon_versioning
=no
7673 case `$LD -v 2>/dev/null` in
7674 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7675 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7676 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7677 *\
2.11.
*) ;; # other 2.11 versions
7678 *) supports_anon_versioning
=yes ;;
7681 # See if GNU ld supports shared libraries.
7683 aix3
* | aix4
* | aix5
*)
7684 # On AIX/PPC, the GNU linker is very broken
7685 if test "$host_cpu" != ia64
; then
7689 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7690 *** to be unable to reliably create shared libraries on AIX.
7691 *** Therefore, libtool is disabling shared libraries support. If you
7692 *** really care for shared libraries, you may want to modify your PATH
7693 *** so that a non-GNU linker is found, and then restart.
7700 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)'
7701 hardcode_libdir_flag_spec
='-L$libdir'
7702 hardcode_minus_L
=yes
7704 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7705 # that the semantics of dynamic libraries on AmigaOS, at least up
7706 # to version 4, is to share data among multiple programs linked
7707 # with the same dynamic library. Since this doesn't match the
7708 # behavior of shared libraries on other platforms, we can't use
7714 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7715 allow_undefined_flag
=unsupported
7716 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7717 # support --undefined. This deserves some investigation. FIXME
7718 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7724 cygwin
* | mingw
* | pw32
*)
7725 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7726 # as there is no search path for DLLs.
7727 hardcode_libdir_flag_spec
='-L$libdir'
7728 allow_undefined_flag
=unsupported
7729 always_export_symbols
=no
7730 enable_shared_with_static_runtimes
=yes
7731 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7733 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7734 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7735 # If the export-symbols file already is a .def file (1st line
7736 # is EXPORTS), use it as is; otherwise, prepend...
7737 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7738 cp $export_symbols $output_objdir/$soname.def;
7740 echo EXPORTS > $output_objdir/$soname.def;
7741 cat $export_symbols >> $output_objdir/$soname.def;
7743 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7751 hardcode_shlibpath_var
=no
7752 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7753 export_dynamic_flag_spec
='${wl}-E'
7754 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7755 # Instead, shared libraries are loaded at an image base (0x10000000 by
7756 # default) and relocated if they conflict, which is a slow very memory
7757 # consuming and fragmenting process. To avoid this, we pick a random,
7758 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7759 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7760 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7761 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'
7765 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7767 case $cc_basename,$host_cpu in
7768 pgcc
*) # Portland Group C compiler
7769 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'
7770 tmp_addflag
=' $pic_flag'
7772 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7773 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'
7774 tmp_addflag
=' $pic_flag -Mnomain' ;;
7775 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7776 tmp_addflag
=' -i_dynamic' ;;
7777 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7778 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7779 ifc
* | ifort
*) # Intel Fortran compiler
7780 tmp_addflag
=' -nofor_main' ;;
7782 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7784 if test $supports_anon_versioning = yes; then
7785 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7786 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7787 $echo "local: *; };" >> $output_objdir/$libname.ver~
7788 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7796 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7797 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7800 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7801 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7806 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7810 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7811 *** create shared libraries on Solaris systems. Therefore, libtool
7812 *** is disabling shared libraries support. We urge you to upgrade GNU
7813 *** binutils to release 2.9.1 or newer. Another option is to modify
7814 *** your PATH or compiler configuration so that the native linker is
7815 *** used, and then restart.
7818 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7820 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7826 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7827 case `$LD -v 2>&1` in
7828 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7832 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7833 *** reliably create shared libraries on SCO systems. Therefore, libtool
7834 *** is disabling shared libraries support. We urge you to upgrade GNU
7835 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7836 *** your PATH or compiler configuration so that the native linker is
7837 *** used, and then restart.
7842 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7843 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7844 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7845 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7854 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7857 hardcode_shlibpath_var
=no
7861 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7862 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7863 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7870 if test "$ld_shlibs" = no
; then
7872 hardcode_libdir_flag_spec
=
7873 export_dynamic_flag_spec
=
7874 whole_archive_flag_spec
=
7877 # PORTME fill in a description of your system's linker (not GNU ld)
7880 allow_undefined_flag
=unsupported
7881 always_export_symbols
=yes
7882 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'
7883 # Note: this linker hardcodes the directories in LIBPATH if there
7884 # are no directories specified by -L.
7885 hardcode_minus_L
=yes
7886 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7887 # Neither direct hardcoding nor static linking is supported with a
7889 hardcode_direct
=unsupported
7894 if test "$host_cpu" = ia64
; then
7895 # On IA64, the linker does run time linking by default, so we don't
7896 # have to do anything special.
7897 aix_use_runtimelinking
=no
7898 exp_sym_flag
='-Bexport'
7901 # If we're using GNU nm, then we don't want the "-C" option.
7902 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7903 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7904 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'
7906 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'
7908 aix_use_runtimelinking
=no
7910 # Test if we are trying to use run time linking or normal
7911 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7912 # need to do runtime linking.
7913 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7914 for ld_flag
in $LDFLAGS; do
7915 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7916 aix_use_runtimelinking
=yes
7923 exp_sym_flag
='-bexport'
7924 no_entry_flag
='-bnoentry'
7927 # When large executables or shared objects are built, AIX ld can
7928 # have problems creating the table of contents. If linking a library
7929 # or program results in "error TOC overflow" add -mminimal-toc to
7930 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7931 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7935 hardcode_libdir_separator
=':'
7936 link_all_deplibs
=yes
7938 if test "$GCC" = yes; then
7939 case $host_os in aix4.
[012]|aix4.
[012].
*)
7940 # We only want to do this on AIX 4.2 and lower, the check
7941 # below for broken collect2 doesn't work under 4.3+
7942 collect2name
=`${CC} -print-prog-name=collect2`
7943 if test -f "$collect2name" && \
7944 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7946 # We have reworked collect2
7949 # We have old collect2
7950 hardcode_direct
=unsupported
7951 # It fails to find uninstalled libraries when the uninstalled
7952 # path is not listed in the libpath. Setting hardcode_minus_L
7953 # to unsupported forces relinking
7954 hardcode_minus_L
=yes
7955 hardcode_libdir_flag_spec
='-L$libdir'
7956 hardcode_libdir_separator
=
7960 shared_flag
='-shared'
7961 if test "$aix_use_runtimelinking" = yes; then
7962 shared_flag
="$shared_flag "'${wl}-G'
7966 if test "$host_cpu" = ia64
; then
7967 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7968 # chokes on -Wl,-G. The following line is correct:
7971 if test "$aix_use_runtimelinking" = yes; then
7972 shared_flag
='${wl}-G'
7974 shared_flag
='${wl}-bM:SRE'
7979 # It seems that -bexpall does not export symbols beginning with
7980 # underscore (_), so it is better to generate a list of symbols to export.
7981 always_export_symbols
=yes
7982 if test "$aix_use_runtimelinking" = yes; then
7983 # Warning - without using the other runtime loading flags (-brtl),
7984 # -berok will link without error, but may produce a broken library.
7985 allow_undefined_flag
='-berok'
7986 # Determine the default libpath from the value encoded in an empty executable.
7987 cat >conftest.
$ac_ext <<_ACEOF
7990 cat confdefs.h
>>conftest.
$ac_ext
7991 cat >>conftest.
$ac_ext <<_ACEOF
7992 /* end confdefs.h. */
8002 rm -f conftest.
$ac_objext conftest
$ac_exeext
8003 if { (ac_try
="$ac_link"
8005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8006 *) ac_try_echo=$ac_try;;
8008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8009 (eval "$ac_link") 2>conftest.er1
8011 grep -v '^ *+' conftest.er1 >conftest.err
8013 cat conftest.err >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } && {
8016 test -z "$ac_c_werror_flag" ||
8017 test ! -s conftest.err
8018 } && test -s conftest$ac_exeext &&
8019 $as_test_x conftest$ac_exeext; then
8021 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8023 # Check for a 64-bit object if we didn't find anything.
8024 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; }
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8034 conftest$ac_exeext conftest.$ac_ext
8035 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8037 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8038 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"
8040 if test "$host_cpu" = ia64; then
8041 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8042 allow_undefined_flag="-z nodefs"
8043 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"
8045 # Determine the default libpath from the value encoded in an empty executable.
8046 cat >conftest.$ac_ext <<_ACEOF
8049 cat confdefs.h >>conftest.$ac_ext
8050 cat >>conftest.$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8061 rm -f conftest.$ac_objext conftest$ac_exeext
8062 if { (ac_try="$ac_link"
8064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8065 *) ac_try_echo
=$ac_try;;
8067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_link") 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } && {
8075 test -z "$ac_c_werror_flag" ||
8076 test ! -s conftest.err
8077 } && test -s conftest
$ac_exeext &&
8078 $as_test_x conftest
$ac_exeext; then
8080 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8082 # Check for a 64-bit object if we didn't find anything.
8083 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; }
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.
$ac_ext >&5
8092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8093 conftest
$ac_exeext conftest.
$ac_ext
8094 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8096 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8097 # Warning - without using the other run time loading flags,
8098 # -berok will link without error, but may produce a broken library.
8099 no_undefined_flag
=' ${wl}-bernotok'
8100 allow_undefined_flag
=' ${wl}-berok'
8101 # Exported symbols can be pulled into shared objects from archives
8102 whole_archive_flag_spec
='$convenience'
8103 archive_cmds_need_lc
=yes
8104 # This is similar to how AIX traditionally builds its shared libraries.
8105 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'
8111 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)'
8112 hardcode_libdir_flag_spec
='-L$libdir'
8113 hardcode_minus_L
=yes
8114 # see comment about different semantics on the GNU ld section
8119 export_dynamic_flag_spec
=-rdynamic
8122 cygwin
* | mingw
* | pw32
*)
8123 # When not using gcc, we currently assume that we are using
8124 # Microsoft Visual C++.
8125 # hardcode_libdir_flag_spec is actually meaningless, as there is
8126 # no search path for DLLs.
8127 hardcode_libdir_flag_spec
=' '
8128 allow_undefined_flag
=unsupported
8129 # Tell ltmain to make .lib files, not .a files.
8131 # Tell ltmain to make .dll files, not .so files.
8133 # FIXME: Setting linknames here is a bad hack.
8134 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8135 # The linker will automatically build a .lib file if we build a DLL.
8136 old_archive_From_new_cmds
='true'
8137 # FIXME: Should let the user specify the lib program.
8138 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8139 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8140 enable_shared_with_static_runtimes
=yes
8143 darwin
* | rhapsody
*)
8145 rhapsody
* | darwin1.
[012])
8146 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8149 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8150 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8152 case ${MACOSX_DEPLOYMENT_TARGET} in
8154 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8157 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8163 archive_cmds_need_lc
=no
8165 hardcode_automatic
=yes
8166 hardcode_shlibpath_var
=unsupported
8167 whole_archive_flag_spec
=''
8168 link_all_deplibs
=yes
8169 if test "$GCC" = yes ; then
8170 output_verbose_link_cmd
='echo'
8171 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8172 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8173 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8174 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8175 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8177 case $cc_basename in
8179 output_verbose_link_cmd
='echo'
8180 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8181 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8182 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8183 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}'
8184 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}'
8194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8195 hardcode_libdir_flag_spec
='-L$libdir'
8196 hardcode_shlibpath_var
=no
8203 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8204 # support. Future versions do this automatically, but an explicit c++rt0.o
8205 # does not break anything, and helps significantly (at the cost of a little
8208 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8209 hardcode_libdir_flag_spec
='-R$libdir'
8211 hardcode_shlibpath_var
=no
8214 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8216 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8218 hardcode_minus_L
=yes
8219 hardcode_shlibpath_var
=no
8222 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8223 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8224 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8225 hardcode_libdir_flag_spec
='-R$libdir'
8227 hardcode_shlibpath_var
=no
8231 if test "$GCC" = yes; then
8232 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'
8234 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'
8236 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8237 hardcode_libdir_separator
=:
8240 # hardcode_minus_L: Not really in the search PATH,
8241 # but as the default location of the library.
8242 hardcode_minus_L
=yes
8243 export_dynamic_flag_spec
='${wl}-E'
8247 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8248 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8252 if test "$with_gnu_ld" = no
; then
8253 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8254 hardcode_libdir_separator
=:
8257 export_dynamic_flag_spec
='${wl}-E'
8259 # hardcode_minus_L: Not really in the search PATH,
8260 # but as the default location of the library.
8261 hardcode_minus_L
=yes
8266 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8269 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8272 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8275 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8284 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8287 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8291 if test "$with_gnu_ld" = no
; then
8292 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8293 hardcode_libdir_separator
=:
8297 hardcode_libdir_flag_spec_ld
='+b $libdir'
8299 hardcode_shlibpath_var
=no
8303 export_dynamic_flag_spec
='${wl}-E'
8305 # hardcode_minus_L: Not really in the search PATH,
8306 # but as the default location of the library.
8307 hardcode_minus_L
=yes
8313 irix5
* | irix6
* | nonstopux
*)
8314 if test "$GCC" = yes; then
8315 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'
8317 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'
8318 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8320 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8321 hardcode_libdir_separator
=:
8322 link_all_deplibs
=yes
8326 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8329 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8331 hardcode_libdir_flag_spec
='-R$libdir'
8333 hardcode_shlibpath_var
=no
8337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8339 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8340 hardcode_libdir_separator
=:
8341 hardcode_shlibpath_var
=no
8346 hardcode_shlibpath_var
=no
8347 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8348 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8349 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8350 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8351 export_dynamic_flag_spec
='${wl}-E'
8354 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8355 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8356 hardcode_libdir_flag_spec
='-R$libdir'
8359 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8360 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8367 hardcode_libdir_flag_spec
='-L$libdir'
8368 hardcode_minus_L
=yes
8369 allow_undefined_flag
=unsupported
8370 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'
8371 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8375 if test "$GCC" = yes; then
8376 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8377 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'
8379 allow_undefined_flag
=' -expect_unresolved \*'
8380 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'
8382 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8383 hardcode_libdir_separator
=:
8386 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8387 if test "$GCC" = yes; then
8388 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8389 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'
8390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8392 allow_undefined_flag
=' -expect_unresolved \*'
8393 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'
8394 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8395 $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'
8397 # Both c and cxx compiler support -rpath directly
8398 hardcode_libdir_flag_spec
='-rpath $libdir'
8400 hardcode_libdir_separator
=:
8404 no_undefined_flag
=' -z text'
8405 if test "$GCC" = yes; then
8407 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8408 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8409 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8412 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8413 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8414 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8416 hardcode_libdir_flag_spec
='-R$libdir'
8417 hardcode_shlibpath_var
=no
8419 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8421 # The compiler driver will combine linker options so we
8422 # cannot just pass the convience library names through
8423 # without $wl, iff we do not link with $LD.
8424 # Luckily, gcc supports the same syntax we need for Sun Studio.
8425 # Supported since Solaris 2.6 (maybe 2.5.1?)
8428 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8430 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' ;;
8433 link_all_deplibs
=yes
8437 if test "x$host_vendor" = xsequent
; then
8438 # Use $CC to link under sequent, because it throws in some extra .o
8439 # files that make .init and .fini sections work.
8440 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8442 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8444 hardcode_libdir_flag_spec
='-L$libdir'
8446 hardcode_minus_L
=yes
8447 hardcode_shlibpath_var
=no
8451 case $host_vendor in
8453 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8454 hardcode_direct
=yes # is this really true???
8457 ## LD is ld it makes a PLAMLIB
8458 ## CC just makes a GrossModule.
8459 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8460 reload_cmds
='$CC -r -o $output$reload_objs'
8464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8465 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8468 runpath_var
='LD_RUN_PATH'
8469 hardcode_shlibpath_var
=no
8473 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8474 hardcode_shlibpath_var
=no
8475 export_dynamic_flag_spec
='-Bexport'
8479 if test -d /usr
/nec
; then
8480 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8481 hardcode_shlibpath_var
=no
8482 runpath_var
=LD_RUN_PATH
8483 hardcode_runpath_var
=yes
8488 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8489 no_undefined_flag
='${wl}-z,text'
8490 archive_cmds_need_lc
=no
8491 hardcode_shlibpath_var
=no
8492 runpath_var
='LD_RUN_PATH'
8494 if test "$GCC" = yes; then
8495 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8496 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8498 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8499 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8503 sysv5
* | sco3.2v5
* | sco5v6
*)
8504 # Note: We can NOT use -z defs as we might desire, because we do not
8505 # link with -lc, and that would cause any symbols used from libc to
8506 # always be unresolved, which means just about no library would
8507 # ever link correctly. If we're not using GNU ld we use -z text
8508 # though, which does catch some bad symbols but isn't as heavy-handed
8510 no_undefined_flag
='${wl}-z,text'
8511 allow_undefined_flag
='${wl}-z,nodefs'
8512 archive_cmds_need_lc
=no
8513 hardcode_shlibpath_var
=no
8514 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8515 hardcode_libdir_separator
=':'
8516 link_all_deplibs
=yes
8517 export_dynamic_flag_spec
='${wl}-Bexport'
8518 runpath_var
='LD_RUN_PATH'
8520 if test "$GCC" = yes; then
8521 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8524 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8525 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8531 hardcode_libdir_flag_spec
='-L$libdir'
8532 hardcode_shlibpath_var
=no
8541 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8542 echo "${ECHO_T}$ld_shlibs" >&6; }
8543 test "$ld_shlibs" = no
&& can_build_shared
=no
8546 # Do we need to explicitly link libc?
8548 case "x$archive_cmds_need_lc" in
8550 # Assume -lc should be added
8551 archive_cmds_need_lc
=yes
8553 if test "$enable_shared" = yes && test "$GCC" = yes; then
8554 case $archive_cmds in
8556 # FIXME: we may have to deal with multi-command sequences.
8559 # Test whether the compiler implicitly links with -lc since on some
8560 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8561 # to ld, don't add -lc before -lgcc.
8562 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8563 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8565 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8568 (eval $ac_compile) 2>&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } 2>conftest.err
; then
8574 libobjs
=conftest.
$ac_objext
8576 wl
=$lt_prog_compiler_wl
8577 pic_flag
=$lt_prog_compiler_pic
8583 lt_save_allow_undefined_flag
=$allow_undefined_flag
8584 allow_undefined_flag
=
8585 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8586 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }
8591 archive_cmds_need_lc
=no
8593 archive_cmds_need_lc
=yes
8595 allow_undefined_flag
=$lt_save_allow_undefined_flag
8597 cat conftest.err
1>&5
8600 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8601 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8608 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8609 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8611 libname_spec
='lib$name'
8619 shlibpath_overrides_runpath
=unknown
8621 dynamic_linker
="$host_os ld.so"
8622 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8623 if test "$GCC" = yes; then
8624 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8625 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8626 # if the path contains ";" then we assume it to be the separator
8627 # otherwise default to the standard path separator (i.e. ":") - it is
8628 # assumed that no part of a normal pathname contains ";" but that should
8629 # okay in the real world where ";" in dirpaths is itself problematic.
8630 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8632 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8635 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8637 need_lib_prefix
=unknown
8638 hardcode_into_libs
=no
8640 # when you set need_version to no, make sure it does not cause -set_version
8641 # flags to be left without arguments
8642 need_version
=unknown
8647 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8648 shlibpath_var
=LIBPATH
8650 # AIX 3 has no versioning support, so we append a major version to the name.
8651 soname_spec
='${libname}${release}${shared_ext}$major'
8658 hardcode_into_libs
=yes
8659 if test "$host_cpu" = ia64
; then
8660 # AIX 5 supports IA64
8661 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8662 shlibpath_var
=LD_LIBRARY_PATH
8664 # With GCC up to 2.95.x, collect2 would create an import file
8665 # for dependence libraries. The import file would start with
8666 # the line `#! .'. This would cause the generated library to
8667 # depend on `.', always an invalid library. This was fixed in
8668 # development snapshots of GCC prior to 3.0.
8670 aix4 | aix4.
[01] | aix4.
[01].
*)
8671 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8673 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8680 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8681 # soname into executable. Probably we can add versioning support to
8682 # collect2, so additional links can be useful in future.
8683 if test "$aix_use_runtimelinking" = yes; then
8684 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8685 # instead of lib<name>.a to let people know that these are not
8686 # typical AIX shared libraries.
8687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8689 # We preserve .a as extension for shared libraries through AIX4.2
8690 # and later when we are not doing run time linking.
8691 library_names_spec
='${libname}${release}.a $libname.a'
8692 soname_spec
='${libname}${release}${shared_ext}$major'
8694 shlibpath_var
=LIBPATH
8699 library_names_spec
='$libname.ixlibrary $libname.a'
8700 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8701 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'
8705 library_names_spec
='${libname}${shared_ext}'
8706 dynamic_linker
="$host_os ld.so"
8707 shlibpath_var
=LIBRARY_PATH
8713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8714 soname_spec
='${libname}${release}${shared_ext}$major'
8715 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8716 shlibpath_var
=LD_LIBRARY_PATH
8717 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8718 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8719 # the default ld.so.conf also contains /usr/contrib/lib and
8720 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8721 # libtool to hard-code these into programs
8724 cygwin
* | mingw
* | pw32
*)
8725 version_type
=windows
8730 case $GCC,$host_os in
8731 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8732 library_names_spec
='$libname.dll.a'
8733 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8734 postinstall_cmds
='base_file=`basename \${file}`~
8735 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8736 dldir=$destdir/`dirname \$dlpath`~
8737 test -d \$dldir || mkdir -p \$dldir~
8738 $install_prog $dir/$dlname \$dldir/$dlname~
8739 chmod a+x \$dldir/$dlname'
8740 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8741 dlpath=$dir/\$dldll~
8743 shlibpath_overrides_runpath
=yes
8747 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8748 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8749 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8752 # MinGW DLLs use traditional 'lib' prefix
8753 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8754 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8755 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8756 # It is most probably a Windows format PATH printed by
8757 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8758 # path with ; separators, and with drive letters. We can handle the
8759 # drive letters (cygwin fileutils understands them), so leave them,
8760 # especially as we might pass files found there to a mingw objdump,
8761 # which wouldn't understand a cygwinified path. Ahh.
8762 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8764 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8768 # pw32 DLLs use 'pw' prefix rather than 'lib'
8769 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8775 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8778 dynamic_linker
='Win32 ld.exe'
8779 # FIXME: first we should search . and the directory the executable is in
8783 darwin
* | rhapsody
*)
8784 dynamic_linker
="$host_os dyld"
8788 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8789 soname_spec
='${libname}${release}${major}$shared_ext'
8790 shlibpath_overrides_runpath
=yes
8791 shlibpath_var
=DYLD_LIBRARY_PATH
8792 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8793 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8794 if test "$GCC" = yes; then
8795 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"`
8797 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8799 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8807 soname_spec
='${libname}${release}${shared_ext}$major'
8808 shlibpath_var
=LD_LIBRARY_PATH
8819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8820 soname_spec
='${libname}${release}${shared_ext}$major'
8821 shlibpath_var
=LD_LIBRARY_PATH
8822 shlibpath_overrides_runpath
=no
8823 hardcode_into_libs
=yes
8824 dynamic_linker
='GNU ld.so'
8827 freebsd
* | dragonfly
*)
8828 # DragonFly does not have aout. When/if they implement a new
8829 # versioning mechanism, adjust this.
8830 if test -x /usr
/bin
/objformat
; then
8831 objformat
=`/usr/bin/objformat`
8834 freebsd
[123]*) objformat
=aout
;;
8838 version_type
=freebsd-
$objformat
8839 case $version_type in
8841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8850 shlibpath_var
=LD_LIBRARY_PATH
8853 shlibpath_overrides_runpath
=yes
8855 freebsd3.
[01]* | freebsdelf3.
[01]*)
8856 shlibpath_overrides_runpath
=yes
8857 hardcode_into_libs
=yes
8859 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8860 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8861 shlibpath_overrides_runpath
=no
8862 hardcode_into_libs
=yes
8864 freebsd
*) # from 4.6 on
8865 shlibpath_overrides_runpath
=yes
8866 hardcode_into_libs
=yes
8875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8876 soname_spec
='${libname}${release}${shared_ext}$major'
8877 shlibpath_var
=LD_LIBRARY_PATH
8878 hardcode_into_libs
=yes
8881 hpux9
* | hpux10
* | hpux11
*)
8882 # Give a soname corresponding to the major version so that dld.sl refuses to
8883 # link against other versions.
8890 hardcode_into_libs
=yes
8891 dynamic_linker
="$host_os dld.so"
8892 shlibpath_var
=LD_LIBRARY_PATH
8893 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 if test "X$HPUX_IA64_MODE" = X32
; then
8897 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8899 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8901 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8905 hardcode_into_libs
=yes
8906 dynamic_linker
="$host_os dld.sl"
8907 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8908 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8910 soname_spec
='${libname}${release}${shared_ext}$major'
8911 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8912 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8916 dynamic_linker
="$host_os dld.sl"
8917 shlibpath_var
=SHLIB_PATH
8918 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8920 soname_spec
='${libname}${release}${shared_ext}$major'
8923 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8924 postinstall_cmds
='chmod 555 $lib'
8931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8932 soname_spec
='${libname}${release}${shared_ext}$major'
8933 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8934 shlibpath_var
=LD_LIBRARY_PATH
8935 shlibpath_overrides_runpath
=no
8936 hardcode_into_libs
=yes
8939 irix5
* | irix6
* | nonstopux
*)
8941 nonstopux
*) version_type
=nonstopux
;;
8943 if test "$lt_cv_prog_gnu_ld" = yes; then
8951 soname_spec
='${libname}${release}${shared_ext}$major'
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8954 irix5
* | nonstopux
*)
8958 case $LD in # libtool.m4 will add one of these switches to LD
8959 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8960 libsuff
= shlibsuff
= libmagic
=32-bit;;
8961 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8962 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8963 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8964 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8965 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8969 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8970 shlibpath_overrides_runpath
=no
8971 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8972 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8973 hardcode_into_libs
=yes
8976 # No shared lib support for Linux oldld, aout, or coff.
8977 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8981 # This must be Linux ELF.
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8989 shlibpath_var
=LD_LIBRARY_PATH
8990 shlibpath_overrides_runpath
=no
8991 # This implies no fast_install, which is unacceptable.
8992 # Some rework will be needed to allow for fast_install
8993 # before this can be enabled.
8994 hardcode_into_libs
=yes
8996 # find out which ABI we are using
8999 x86_64
*|s390x
*|powerpc64
*)
9000 echo '#line 9000 "configure"' > conftest.
$ac_ext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9002 (eval $ac_compile) 2>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; then
9006 case `/usr/bin/file conftest.$ac_objext` in
9009 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9017 # Append ld.so.conf contents to the search path
9018 if test -f /etc
/ld.so.conf
; then
9019 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9020 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9023 # We used to test for /lib/ld.so.1 and disable shared libraries on
9024 # powerpc, because MkLinux only supported shared libraries with the
9025 # GNU dynamic linker. Since this was broken with cross compilers,
9026 # most powerpc-linux boxes support dynamic linking these days and
9027 # people can always --disable-shared, the test was removed, and we
9028 # assume the GNU/Linux dynamic linker is in use.
9029 dynamic_linker
='GNU/Linux ld.so'
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9037 soname_spec
='${libname}${release}${shared_ext}$major'
9038 shlibpath_var
=LD_LIBRARY_PATH
9039 shlibpath_overrides_runpath
=no
9040 hardcode_into_libs
=yes
9041 dynamic_linker
='GNU ld.so'
9048 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9050 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9051 dynamic_linker
='NetBSD (a.out) ld.so'
9053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9054 soname_spec
='${libname}${release}${shared_ext}$major'
9055 dynamic_linker
='NetBSD ld.elf_so'
9057 shlibpath_var
=LD_LIBRARY_PATH
9058 shlibpath_overrides_runpath
=yes
9059 hardcode_into_libs
=yes
9064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9065 shlibpath_var
=LD_LIBRARY_PATH
9066 shlibpath_overrides_runpath
=yes
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9074 soname_spec
='${libname}${release}${shared_ext}$major'
9075 shlibpath_var
=LD_LIBRARY_PATH
9076 shlibpath_overrides_runpath
=yes
9081 sys_lib_dlsearch_path_spec
="/usr/lib"
9083 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9085 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9086 *) need_version
=no
;;
9088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9090 shlibpath_var
=LD_LIBRARY_PATH
9091 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9093 openbsd2.
[89] | openbsd2.
[89].
*)
9094 shlibpath_overrides_runpath
=no
9097 shlibpath_overrides_runpath
=yes
9101 shlibpath_overrides_runpath
=yes
9106 libname_spec
='$name'
9109 library_names_spec
='$libname${shared_ext} $libname.a'
9110 dynamic_linker
='OS/2 ld.exe'
9111 shlibpath_var
=LIBPATH
9114 osf3
* | osf4
* | osf5
*)
9118 soname_spec
='${libname}${release}${shared_ext}$major'
9119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9120 shlibpath_var
=LD_LIBRARY_PATH
9121 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9122 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 soname_spec
='${libname}${release}${shared_ext}$major'
9131 shlibpath_var
=LD_LIBRARY_PATH
9132 shlibpath_overrides_runpath
=yes
9133 hardcode_into_libs
=yes
9134 # ldd complains unless libraries are executable
9135 postinstall_cmds
='chmod +x $lib'
9140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9141 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9142 shlibpath_var
=LD_LIBRARY_PATH
9143 shlibpath_overrides_runpath
=yes
9144 if test "$with_gnu_ld" = yes; then
9152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9153 soname_spec
='${libname}${release}${shared_ext}$major'
9154 shlibpath_var
=LD_LIBRARY_PATH
9155 case $host_vendor in
9157 shlibpath_overrides_runpath
=no
9159 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9160 runpath_var
=LD_RUN_PATH
9168 shlibpath_overrides_runpath
=no
9169 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9175 if test -d /usr
/nec
;then
9177 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9178 soname_spec
='$libname${shared_ext}.$major'
9179 shlibpath_var
=LD_LIBRARY_PATH
9183 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9184 version_type
=freebsd-elf
9187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9188 soname_spec
='${libname}${release}${shared_ext}$major'
9189 shlibpath_var
=LD_LIBRARY_PATH
9190 hardcode_into_libs
=yes
9191 if test "$with_gnu_ld" = yes; then
9192 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9193 shlibpath_overrides_runpath
=no
9195 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9196 shlibpath_overrides_runpath
=yes
9199 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9203 sys_lib_dlsearch_path_spec
='/usr/lib'
9208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209 soname_spec
='${libname}${release}${shared_ext}$major'
9210 shlibpath_var
=LD_LIBRARY_PATH
9217 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9218 echo "${ECHO_T}$dynamic_linker" >&6; }
9219 test "$dynamic_linker" = no
&& can_build_shared
=no
9221 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9222 if test "$GCC" = yes; then
9223 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9226 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9227 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9229 if test -n "$hardcode_libdir_flag_spec" || \
9230 test -n "$runpath_var" || \
9231 test "X$hardcode_automatic" = "Xyes" ; then
9233 # We can hardcode non-existant directories.
9234 if test "$hardcode_direct" != no
&&
9235 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9236 # have to relink, otherwise we might link with an installed library
9237 # when we should be linking with a yet-to-be-installed one
9238 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9239 test "$hardcode_minus_L" != no
; then
9240 # Linking always hardcodes the temporary library directory.
9241 hardcode_action
=relink
9243 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9244 hardcode_action
=immediate
9247 # We cannot hardcode anything, or else we can only hardcode existing
9249 hardcode_action
=unsupported
9251 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9252 echo "${ECHO_T}$hardcode_action" >&6; }
9254 if test "$hardcode_action" = relink
; then
9255 # Fast installation is not supported
9256 enable_fast_install
=no
9257 elif test "$shlibpath_overrides_runpath" = yes ||
9258 test "$enable_shared" = no
; then
9259 # Fast installation is not necessary
9260 enable_fast_install
=needless
9265 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9266 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9267 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9268 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9269 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9270 { echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6; }
9273 # FIXME - insert some real tests, host_os isn't really good enough
9276 if test -n "$STRIP" ; then
9277 striplib
="$STRIP -x"
9278 { echo "$as_me:$LINENO: result: yes" >&5
9279 echo "${ECHO_T}yes" >&6; }
9281 { echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6; }
9286 { echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6; }
9292 if test "x$enable_dlopen" != xyes
; then
9293 enable_dlopen
=unknown
9294 enable_dlopen_self
=unknown
9295 enable_dlopen_self_static
=unknown
9302 lt_cv_dlopen
="load_add_on"
9304 lt_cv_dlopen_self
=yes
9308 lt_cv_dlopen
="LoadLibrary"
9313 lt_cv_dlopen
="dlopen"
9318 # if libdl is installed we need to link against it
9319 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9320 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 ac_check_lib_save_LIBS
=$LIBS
9326 cat >conftest.
$ac_ext <<_ACEOF
9329 cat confdefs.h
>>conftest.
$ac_ext
9330 cat >>conftest.
$ac_ext <<_ACEOF
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9348 rm -f conftest.
$ac_objext conftest
$ac_exeext
9349 if { (ac_try
="$ac_link"
9351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9352 *) ac_try_echo=$ac_try;;
9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9355 (eval "$ac_link") 2>conftest.er1
9357 grep -v '^ *+' conftest.er1 >conftest.err
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } && {
9362 test -z "$ac_c_werror_flag" ||
9363 test ! -s conftest.err
9364 } && test -s conftest$ac_exeext &&
9365 $as_test_x conftest$ac_exeext; then
9366 ac_cv_lib_dl_dlopen=yes
9368 echo "$as_me: failed program was:" >&5
9369 sed 's/^/| /' conftest.$ac_ext >&5
9371 ac_cv_lib_dl_dlopen=no
9374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_lib_save_LIBS
9378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9379 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9380 if test $ac_cv_lib_dl_dlopen = yes; then
9381 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9386 lt_cv_dlopen_self=yes
9393 { echo "$as_me:$LINENO: checking for shl_load" >&5
9394 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9395 if test "${ac_cv_func_shl_load+set}" = set; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9398 cat >conftest.$ac_ext <<_ACEOF
9401 cat confdefs.h >>conftest.$ac_ext
9402 cat >>conftest.$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9404 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9406 #define shl_load innocuous_shl_load
9408 /* System header to define __stub macros and hopefully few prototypes,
9409 which can conflict with char shl_load (); below.
9410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9411 <limits.h> exists even on freestanding compilers. */
9414 # include <limits.h>
9416 # include <assert.h>
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9428 /* The GNU C library defines this for functions which it implements
9429 to always fail with ENOSYS. Some functions are actually named
9430 something starting with __ and the normal name is an alias. */
9431 #if defined __stub_shl_load || defined __stub___shl_load
9443 rm -f conftest.$ac_objext conftest$ac_exeext
9444 if { (ac_try="$ac_link"
9446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9447 *) ac_try_echo
=$ac_try;;
9449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9450 (eval "$ac_link") 2>conftest.er1
9452 grep -v '^ *+' conftest.er1
>conftest.err
9454 cat conftest.err
>&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } && {
9457 test -z "$ac_c_werror_flag" ||
9458 test ! -s conftest.err
9459 } && test -s conftest
$ac_exeext &&
9460 $as_test_x conftest
$ac_exeext; then
9461 ac_cv_func_shl_load
=yes
9463 echo "$as_me: failed program was:" >&5
9464 sed 's/^/| /' conftest.
$ac_ext >&5
9466 ac_cv_func_shl_load
=no
9469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9470 conftest
$ac_exeext conftest.
$ac_ext
9472 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9473 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9474 if test $ac_cv_func_shl_load = yes; then
9475 lt_cv_dlopen
="shl_load"
9477 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9478 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9479 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9484 cat >conftest.
$ac_ext <<_ACEOF
9487 cat confdefs.h
>>conftest.
$ac_ext
9488 cat >>conftest.
$ac_ext <<_ACEOF
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9506 rm -f conftest.
$ac_objext conftest
$ac_exeext
9507 if { (ac_try
="$ac_link"
9509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9510 *) ac_try_echo=$ac_try;;
9512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9513 (eval "$ac_link") 2>conftest.er1
9515 grep -v '^ *+' conftest.er1 >conftest.err
9517 cat conftest.err >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } && {
9520 test -z "$ac_c_werror_flag" ||
9521 test ! -s conftest.err
9522 } && test -s conftest$ac_exeext &&
9523 $as_test_x conftest$ac_exeext; then
9524 ac_cv_lib_dld_shl_load=yes
9526 echo "$as_me: failed program was:" >&5
9527 sed 's/^/| /' conftest.$ac_ext >&5
9529 ac_cv_lib_dld_shl_load=no
9532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9533 conftest$ac_exeext conftest.$ac_ext
9534 LIBS=$ac_check_lib_save_LIBS
9536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9537 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9538 if test $ac_cv_lib_dld_shl_load = yes; then
9539 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9541 { echo "$as_me:$LINENO: checking for dlopen" >&5
9542 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9543 if test "${ac_cv_func_dlopen+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.$ac_ext <<_ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9554 #define dlopen innocuous_dlopen
9556 /* System header to define __stub macros and hopefully few prototypes,
9557 which can conflict with char dlopen (); below.
9558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9559 <limits.h> exists even on freestanding compilers. */
9562 # include <limits.h>
9564 # include <assert.h>
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9576 /* The GNU C library defines this for functions which it implements
9577 to always fail with ENOSYS. Some functions are actually named
9578 something starting with __ and the normal name is an alias. */
9579 #if defined __stub_dlopen || defined __stub___dlopen
9591 rm -f conftest.$ac_objext conftest$ac_exeext
9592 if { (ac_try="$ac_link"
9594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9595 *) ac_try_echo
=$ac_try;;
9597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9598 (eval "$ac_link") 2>conftest.er1
9600 grep -v '^ *+' conftest.er1
>conftest.err
9602 cat conftest.err
>&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } && {
9605 test -z "$ac_c_werror_flag" ||
9606 test ! -s conftest.err
9607 } && test -s conftest
$ac_exeext &&
9608 $as_test_x conftest
$ac_exeext; then
9609 ac_cv_func_dlopen
=yes
9611 echo "$as_me: failed program was:" >&5
9612 sed 's/^/| /' conftest.
$ac_ext >&5
9614 ac_cv_func_dlopen
=no
9617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9618 conftest
$ac_exeext conftest.
$ac_ext
9620 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9621 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9622 if test $ac_cv_func_dlopen = yes; then
9623 lt_cv_dlopen
="dlopen"
9625 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9626 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9627 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 ac_check_lib_save_LIBS
=$LIBS
9632 cat >conftest.
$ac_ext <<_ACEOF
9635 cat confdefs.h
>>conftest.
$ac_ext
9636 cat >>conftest.
$ac_ext <<_ACEOF
9637 /* end confdefs.h. */
9639 /* Override any GCC internal prototype to avoid an error.
9640 Use char because int might match the return type of a GCC
9641 builtin and then its argument prototype would still apply. */
9654 rm -f conftest.
$ac_objext conftest
$ac_exeext
9655 if { (ac_try
="$ac_link"
9657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9658 *) ac_try_echo=$ac_try;;
9660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9661 (eval "$ac_link") 2>conftest.er1
9663 grep -v '^ *+' conftest.er1 >conftest.err
9665 cat conftest.err >&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); } && {
9668 test -z "$ac_c_werror_flag" ||
9669 test ! -s conftest.err
9670 } && test -s conftest$ac_exeext &&
9671 $as_test_x conftest$ac_exeext; then
9672 ac_cv_lib_dl_dlopen=yes
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.$ac_ext >&5
9677 ac_cv_lib_dl_dlopen=no
9680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9685 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9686 if test $ac_cv_lib_dl_dlopen = yes; then
9687 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9689 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9690 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9691 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 ac_check_lib_save_LIBS=$LIBS
9696 cat >conftest.$ac_ext <<_ACEOF
9699 cat confdefs.h >>conftest.$ac_ext
9700 cat >>conftest.$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9703 /* Override any GCC internal prototype to avoid an error.
9704 Use char because int might match the return type of a GCC
9705 builtin and then its argument prototype would still apply. */
9718 rm -f conftest.$ac_objext conftest$ac_exeext
9719 if { (ac_try="$ac_link"
9721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9722 *) ac_try_echo
=$ac_try;;
9724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9725 (eval "$ac_link") 2>conftest.er1
9727 grep -v '^ *+' conftest.er1
>conftest.err
9729 cat conftest.err
>&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); } && {
9732 test -z "$ac_c_werror_flag" ||
9733 test ! -s conftest.err
9734 } && test -s conftest
$ac_exeext &&
9735 $as_test_x conftest
$ac_exeext; then
9736 ac_cv_lib_svld_dlopen
=yes
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.
$ac_ext >&5
9741 ac_cv_lib_svld_dlopen
=no
9744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9745 conftest
$ac_exeext conftest.
$ac_ext
9746 LIBS
=$ac_check_lib_save_LIBS
9748 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9749 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9750 if test $ac_cv_lib_svld_dlopen = yes; then
9751 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9753 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9754 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9755 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 ac_check_lib_save_LIBS
=$LIBS
9760 cat >conftest.
$ac_ext <<_ACEOF
9763 cat confdefs.h
>>conftest.
$ac_ext
9764 cat >>conftest.
$ac_ext <<_ACEOF
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9782 rm -f conftest.
$ac_objext conftest
$ac_exeext
9783 if { (ac_try
="$ac_link"
9785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9786 *) ac_try_echo=$ac_try;;
9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9789 (eval "$ac_link") 2>conftest.er1
9791 grep -v '^ *+' conftest.er1 >conftest.err
9793 cat conftest.err >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } && {
9796 test -z "$ac_c_werror_flag" ||
9797 test ! -s conftest.err
9798 } && test -s conftest$ac_exeext &&
9799 $as_test_x conftest$ac_exeext; then
9800 ac_cv_lib_dld_dld_link=yes
9802 echo "$as_me: failed program was:" >&5
9803 sed 's/^/| /' conftest.$ac_ext >&5
9805 ac_cv_lib_dld_dld_link=no
9808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_lib_save_LIBS
9812 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9813 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9814 if test $ac_cv_lib_dld_dld_link = yes; then
9815 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9836 if test "x$lt_cv_dlopen" != xno; then
9842 case $lt_cv_dlopen in
9844 save_CPPFLAGS="$CPPFLAGS"
9845 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9847 save_LDFLAGS="$LDFLAGS"
9848 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9851 LIBS="$lt_cv_dlopen_libs $LIBS"
9853 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9854 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9855 if test "${lt_cv_dlopen_self+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 if test "$cross_compiling" = yes; then :
9859 lt_cv_dlopen_self=cross
9861 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9862 lt_status=$lt_dlunknown
9863 cat > conftest.$ac_ext <<EOF
9864 #line 9864 "configure"
9865 #include "confdefs.h"
9874 # define LT_DLGLOBAL RTLD_GLOBAL
9877 # define LT_DLGLOBAL DL_GLOBAL
9879 # define LT_DLGLOBAL 0
9883 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9884 find out it does not work in some platform. */
9885 #ifndef LT_DLLAZY_OR_NOW
9887 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9890 # define LT_DLLAZY_OR_NOW DL_LAZY
9893 # define LT_DLLAZY_OR_NOW RTLD_NOW
9896 # define LT_DLLAZY_OR_NOW DL_NOW
9898 # define LT_DLLAZY_OR_NOW 0
9906 extern "C" void exit (int);
9909 void fnord() { int i=42;}
9912 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9913 int status = $lt_dlunknown;
9917 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9918 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9919 /* dlclose (self); */
9927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9928 (eval $ac_link) 2>&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9932 (./conftest; exit; ) >&5 2>/dev/null
9935 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9936 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9937 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9940 # compilation failed
9941 lt_cv_dlopen_self=no
9948 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9949 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9951 if test "x$lt_cv_dlopen_self" = xyes; then
9952 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9953 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9954 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9955 if test "${lt_cv_dlopen_self_static+set}" = set; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9958 if test "$cross_compiling" = yes; then :
9959 lt_cv_dlopen_self_static=cross
9961 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9962 lt_status=$lt_dlunknown
9963 cat > conftest.$ac_ext <<EOF
9964 #line 9964 "configure"
9965 #include "confdefs.h"
9974 # define LT_DLGLOBAL RTLD_GLOBAL
9977 # define LT_DLGLOBAL DL_GLOBAL
9979 # define LT_DLGLOBAL 0
9983 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9984 find out it does not work in some platform. */
9985 #ifndef LT_DLLAZY_OR_NOW
9987 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9990 # define LT_DLLAZY_OR_NOW DL_LAZY
9993 # define LT_DLLAZY_OR_NOW RTLD_NOW
9996 # define LT_DLLAZY_OR_NOW DL_NOW
9998 # define LT_DLLAZY_OR_NOW 0
10006 extern "C" void exit (int);
10009 void fnord() { int i=42;}
10012 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10013 int status = $lt_dlunknown;
10017 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10018 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10019 /* dlclose (self); */
10027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10028 (eval $ac_link) 2>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10032 (./conftest; exit; ) >&5 2>/dev/null
10034 case x$lt_status in
10035 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10036 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10037 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10040 # compilation failed
10041 lt_cv_dlopen_self_static=no
10048 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10049 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10052 CPPFLAGS="$save_CPPFLAGS"
10053 LDFLAGS="$save_LDFLAGS"
10058 case $lt_cv_dlopen_self in
10059 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10060 *) enable_dlopen_self=unknown ;;
10063 case $lt_cv_dlopen_self_static in
10064 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10065 *) enable_dlopen_self_static=unknown ;;
10070 # Report which library types will actually be built
10071 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10072 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10073 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10074 echo "${ECHO_T}$can_build_shared" >&6; }
10076 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10077 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10078 test "$can_build_shared" = "no" && enable_shared=no
10080 # On AIX, shared libraries and static libraries use the same namespace, and
10081 # are all built from PIC.
10084 test "$enable_shared" = yes && enable_static=no
10085 if test -n "$RANLIB"; then
10086 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10087 postinstall_cmds='$RANLIB $lib'
10092 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10093 test "$enable_shared" = yes && enable_static=no
10097 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10098 echo "${ECHO_T}$enable_shared" >&6; }
10100 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10101 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10102 # Make sure either enable_shared or enable_static is yes.
10103 test "$enable_shared" = yes || enable_static=yes
10104 { echo "$as_me:$LINENO: result: $enable_static" >&5
10105 echo "${ECHO_T}$enable_static" >&6; }
10107 # The else clause should only fire when bootstrapping the
10108 # libtool distribution, otherwise you forgot to ship ltmain.sh
10109 # with your package, and you will get complaints that there are
10110 # no rules to generate ltmain.sh.
10111 if test -f "$ltmain"; then
10112 # See if we are running on zsh, and set the options which allow our commands through
10113 # without removal of \ escapes.
10114 if test -n "${ZSH_VERSION+set}" ; then
10115 setopt NO_GLOB_SUBST
10117 # Now quote all the things that may contain metacharacters while being
10118 # careful not to overquote the AC_SUBSTed values. We take copies of the
10119 # variables and quote the copies for generation of the libtool script.
10120 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10122 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10123 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10124 deplibs_check_method reload_flag reload_cmds need_locks \
10125 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10126 lt_cv_sys_global_symbol_to_c_name_address \
10127 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10128 old_postinstall_cmds old_postuninstall_cmds \
10132 lt_prog_compiler_wl \
10133 lt_prog_compiler_pic \
10134 lt_prog_compiler_static \
10135 lt_prog_compiler_no_builtin_flag \
10136 export_dynamic_flag_spec \
10137 thread_safe_flag_spec \
10138 whole_archive_flag_spec \
10139 enable_shared_with_static_runtimes \
10141 old_archive_from_new_cmds \
10146 compiler_lib_search_path \
10148 archive_expsym_cmds \
10150 postuninstall_cmds \
10151 old_archive_from_expsyms_cmds \
10152 allow_undefined_flag \
10153 no_undefined_flag \
10154 export_symbols_cmds \
10155 hardcode_libdir_flag_spec \
10156 hardcode_libdir_flag_spec_ld \
10157 hardcode_libdir_separator \
10158 hardcode_automatic \
10160 module_expsym_cmds \
10161 lt_cv_prog_compiler_c_o \
10163 include_expsyms; do
10166 old_archive_cmds | \
10167 old_archive_from_new_cmds | \
10169 archive_expsym_cmds | \
10171 module_expsym_cmds | \
10172 old_archive_from_expsyms_cmds | \
10173 export_symbols_cmds | \
10174 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10175 postinstall_cmds | postuninstall_cmds | \
10176 old_postinstall_cmds | old_postuninstall_cmds | \
10177 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10178 # Double-quote double-evaled strings.
10179 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10182 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10188 *'\$0 --fallback-echo"')
10189 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10193 cfgfile="${ofile}T"
10194 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10196 { echo "$as_me:$LINENO: creating $ofile" >&5
10197 echo "$as_me: creating $ofile" >&6;}
10199 cat <<__EOF__ >> "$cfgfile"
10202 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10203 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10204 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10206 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10207 # Free Software Foundation, Inc.
10209 # This file is part of GNU Libtool:
10210 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10212 # This program is free software; you can redistribute it and/or modify
10213 # it under the terms of the GNU General Public License as published by
10214 # the Free Software Foundation; either version 2 of the License, or
10215 # (at your option) any later version.
10217 # This program is distributed in the hope that it will be useful, but
10218 # WITHOUT ANY WARRANTY; without even the implied warranty of
10219 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10220 # General Public License for more details.
10222 # You should have received a copy of the GNU General Public License
10223 # along with this program; if not, write to the Free Software
10224 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10226 # As a special exception to the GNU General Public License, if you
10227 # distribute this file as part of a program that contains a
10228 # configuration script generated by Autoconf, you may include it under
10229 # the same distribution terms that you use for the rest of that program.
10231 # A sed program that does not truncate output.
10234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10235 Xsed="$SED -e 1s/^X//"
10237 # The HP-UX ksh and POSIX shell print the target directory to stdout
10238 # if CDPATH is set.
10239 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10241 # The names of the tagged configurations supported by this script.
10244 # ### BEGIN LIBTOOL CONFIG
10246 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10248 # Shell to use when invoking shell scripts.
10251 # Whether or not to build shared libraries.
10252 build_libtool_libs=$enable_shared
10254 # Whether or not to build static libraries.
10255 build_old_libs=$enable_static
10257 # Whether or not to add -lc for building shared libraries.
10258 build_libtool_need_lc=$archive_cmds_need_lc
10260 # Whether or not to disallow shared libs when runtime libs are static
10261 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10263 # Whether or not to optimize for fast installation.
10264 fast_install=$enable_fast_install
10267 host_alias=$host_alias
10271 # The build system.
10272 build_alias=$build_alias
10276 # An echo program that does not interpret backslashes.
10281 AR_FLAGS=$lt_AR_FLAGS
10286 # LTCC compiler flags.
10287 LTCFLAGS=$lt_LTCFLAGS
10289 # A language-specific compiler.
10292 # Is the compiler the GNU C compiler?
10298 # The linker used to build libraries.
10301 # Whether we need hard or soft links.
10304 # A BSD-compatible nm program.
10307 # A symbol stripping program
10310 # Used to examine libraries when file_magic_cmd begins "file"
10311 MAGIC_CMD=$MAGIC_CMD
10313 # Used on cygwin: DLL creation program.
10316 # Used on cygwin: object dumper.
10319 # Used on cygwin: assembler.
10322 # The name of the directory that contains temporary libtool files.
10325 # How to create reloadable object files.
10326 reload_flag=$lt_reload_flag
10327 reload_cmds=$lt_reload_cmds
10329 # How to pass a linker flag through the compiler.
10330 wl=$lt_lt_prog_compiler_wl
10332 # Object file suffix (normally "o").
10333 objext="$ac_objext"
10335 # Old archive suffix (normally "a").
10338 # Shared library suffix (normally ".so").
10339 shrext_cmds='$shrext_cmds'
10341 # Executable file suffix (normally "").
10344 # Additional compiler flags for building library objects.
10345 pic_flag=$lt_lt_prog_compiler_pic
10348 # What is the maximum length of a command?
10349 max_cmd_len=$lt_cv_sys_max_cmd_len
10351 # Does compiler simultaneously support -c and -o options?
10352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10354 # Must we lock files when doing compilation?
10355 need_locks=$lt_need_locks
10357 # Do we need the lib prefix for modules?
10358 need_lib_prefix=$need_lib_prefix
10360 # Do we need a version for libraries?
10361 need_version=$need_version
10363 # Whether dlopen is supported.
10364 dlopen_support=$enable_dlopen
10366 # Whether dlopen of programs is supported.
10367 dlopen_self=$enable_dlopen_self
10369 # Whether dlopen of statically linked programs is supported.
10370 dlopen_self_static=$enable_dlopen_self_static
10372 # Compiler flag to prevent dynamic linking.
10373 link_static_flag=$lt_lt_prog_compiler_static
10375 # Compiler flag to turn off builtin functions.
10376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10378 # Compiler flag to allow reflexive dlopens.
10379 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10381 # Compiler flag to generate shared objects directly from archives.
10382 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10384 # Compiler flag to generate thread-safe objects.
10385 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10387 # Library versioning type.
10388 version_type=$version_type
10390 # Format of library name prefix.
10391 libname_spec=$lt_libname_spec
10393 # List of archive names. First name is the real one, the rest are links.
10394 # The last name is the one that the linker finds with -lNAME.
10395 library_names_spec=$lt_library_names_spec
10397 # The coded name of the library, if different from the real name.
10398 soname_spec=$lt_soname_spec
10400 # Commands used to build and install an old-style archive.
10402 old_archive_cmds=$lt_old_archive_cmds
10403 old_postinstall_cmds=$lt_old_postinstall_cmds
10404 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10406 # Create an old-style archive from a shared archive.
10407 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10409 # Create a temporary old-style archive to link instead of a shared archive.
10410 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10412 # Commands used to build and install a shared archive.
10413 archive_cmds=$lt_archive_cmds
10414 archive_expsym_cmds=$lt_archive_expsym_cmds
10415 postinstall_cmds=$lt_postinstall_cmds
10416 postuninstall_cmds=$lt_postuninstall_cmds
10418 # Commands used to build a loadable module (assumed same as above if empty)
10419 module_cmds=$lt_module_cmds
10420 module_expsym_cmds=$lt_module_expsym_cmds
10422 # Commands to strip libraries.
10423 old_striplib=$lt_old_striplib
10424 striplib=$lt_striplib
10426 # Dependencies to place before the objects being linked to create a
10428 predep_objects=$lt_predep_objects
10430 # Dependencies to place after the objects being linked to create a
10432 postdep_objects=$lt_postdep_objects
10434 # Dependencies to place before the objects being linked to create a
10436 predeps=$lt_predeps
10438 # Dependencies to place after the objects being linked to create a
10440 postdeps=$lt_postdeps
10442 # The library search path used internally by the compiler when linking
10443 # a shared library.
10444 compiler_lib_search_path=$lt_compiler_lib_search_path
10446 # Method to check whether dependent libraries are shared objects.
10447 deplibs_check_method=$lt_deplibs_check_method
10449 # Command to use when deplibs_check_method == file_magic.
10450 file_magic_cmd=$lt_file_magic_cmd
10452 # Flag that allows shared libraries with undefined symbols to be built.
10453 allow_undefined_flag=$lt_allow_undefined_flag
10455 # Flag that forces no undefined symbols.
10456 no_undefined_flag=$lt_no_undefined_flag
10458 # Commands used to finish a libtool library installation in a directory.
10459 finish_cmds=$lt_finish_cmds
10461 # Same as above, but a single script fragment to be evaled but not shown.
10462 finish_eval=$lt_finish_eval
10464 # Take the output of nm and produce a listing of raw symbols and C names.
10465 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10467 # Transform the output of nm in a proper C declaration
10468 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10470 # Transform the output of nm in a C name address pair
10471 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10473 # This is the shared library runtime path variable.
10474 runpath_var=$runpath_var
10476 # This is the shared library path variable.
10477 shlibpath_var=$shlibpath_var
10479 # Is shlibpath searched before the hard-coded library search path?
10480 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10482 # How to hardcode a shared library path into an executable.
10483 hardcode_action=$hardcode_action
10485 # Whether we should hardcode library paths into libraries.
10486 hardcode_into_libs=$hardcode_into_libs
10488 # Flag to hardcode \$libdir into a binary during linking.
10489 # This must work even if \$libdir does not exist.
10490 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10492 # If ld is used when linking, flag to hardcode \$libdir into
10493 # a binary during linking. This must work even if \$libdir does
10495 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10497 # Whether we need a single -rpath flag with a separated argument.
10498 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10500 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10501 # resulting binary.
10502 hardcode_direct=$hardcode_direct
10504 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10505 # resulting binary.
10506 hardcode_minus_L=$hardcode_minus_L
10508 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10509 # the resulting binary.
10510 hardcode_shlibpath_var=$hardcode_shlibpath_var
10512 # Set to yes if building a shared library automatically hardcodes DIR into the library
10513 # and all subsequent libraries and executables linked against it.
10514 hardcode_automatic=$hardcode_automatic
10516 # Variables whose values should be saved in libtool wrapper scripts and
10517 # restored at relink time.
10518 variables_saved_for_relink="$variables_saved_for_relink"
10520 # Whether libtool must link a program against all its dependency libraries.
10521 link_all_deplibs=$link_all_deplibs
10523 # Compile-time system search path for libraries
10524 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10526 # Run-time system search path for libraries
10527 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10529 # Fix the shell variable \$srcfile for the compiler.
10530 fix_srcfile_path="$fix_srcfile_path"
10532 # Set to yes if exported symbols are required.
10533 always_export_symbols=$always_export_symbols
10535 # The commands to list exported symbols.
10536 export_symbols_cmds=$lt_export_symbols_cmds
10538 # The commands to extract the exported symbol list from a shared archive.
10539 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10541 # Symbols that should not be listed in the preloaded symbols.
10542 exclude_expsyms=$lt_exclude_expsyms
10544 # Symbols that must always be exported.
10545 include_expsyms=$lt_include_expsyms
10547 # ### END LIBTOOL CONFIG
10554 cat <<\EOF >> "$cfgfile"
10556 # AIX sometimes has problems with the GCC collect2 program. For some
10557 # reason, if we set the COLLECT_NAMES environment variable, the problems
10558 # vanish in a puff of smoke.
10559 if test "X${COLLECT_NAMES+set}" != Xset; then
10561 export COLLECT_NAMES
10567 # We use sed instead of cat because bash on DJGPP gets confused if
10568 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10569 # text mode, it properly converts lines to CR/LF. This bash problem
10570 # is reportedly fixed, but why not run on old versions too?
10571 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10573 mv -f "$cfgfile" "$ofile" || \
10574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10578 # If there is no Makefile yet, we rely on a make rule to execute
10579 # `config.status
--recheck' to rerun these tests and create the
10580 # libtool script then.
10581 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10582 if test -f "$ltmain_in"; then
10583 test -f Makefile && make "$ltmain"
10589 ac_cpp='$CPP $CPPFLAGS'
10590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10591 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10597 # Check whether --with-tags was given.
10598 if test "${with_tags+set}" = set; then
10599 withval=$with_tags; tagnames="$withval"
10603 if test -f "$ltmain" && test -n "$tagnames"; then
10604 if test ! -f "${ofile}"; then
10605 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10606 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10609 if test -z "$LTCC"; then
10610 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10611 if test -z "$LTCC"; then
10612 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10613 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10615 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10616 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10619 if test -z "$LTCFLAGS"; then
10620 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10623 # Extract list of available tagged configurations in $ofile.
10624 # Note that this assumes the entire list is on one line.
10625 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10627 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10628 for tagname in $tagnames; do
10630 # Check whether tagname contains only valid characters
10631 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10633 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10634 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10635 { (exit 1); exit 1; }; }
10639 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10641 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10642 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10643 { (exit 1); exit 1; }; }
10646 # Update the list of available tags.
10647 if test -n "$tagname"; then
10648 echo appending configuration tag \"$tagname\" to $ofile
10652 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10653 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10654 (test "X$CXX" != "Xg++"))) ; then
10656 ac_cpp='$CXXCPP $CPPFLAGS'
10657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10664 archive_cmds_need_lc_CXX=no
10665 allow_undefined_flag_CXX=
10666 always_export_symbols_CXX=no
10667 archive_expsym_cmds_CXX=
10668 export_dynamic_flag_spec_CXX=
10669 hardcode_direct_CXX=no
10670 hardcode_libdir_flag_spec_CXX=
10671 hardcode_libdir_flag_spec_ld_CXX=
10672 hardcode_libdir_separator_CXX=
10673 hardcode_minus_L_CXX=no
10674 hardcode_shlibpath_var_CXX=unsupported
10675 hardcode_automatic_CXX=no
10677 module_expsym_cmds_CXX=
10678 link_all_deplibs_CXX=unknown
10679 old_archive_cmds_CXX=$old_archive_cmds
10680 no_undefined_flag_CXX=
10681 whole_archive_flag_spec_CXX=
10682 enable_shared_with_static_runtimes_CXX=no
10684 # Dependencies to place before and after the object being linked:
10685 predep_objects_CXX=
10686 postdep_objects_CXX=
10689 compiler_lib_search_path_CXX=
10691 # Source file extension for C++ test sources.
10694 # Object file extension for compiled C++ test sources.
10698 # Code to be used in simple compile tests
10699 lt_simple_compile_test_code="int some_variable = 0;\n"
10701 # Code to be used in simple link tests
10702 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10704 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10706 # If no C compiler was specified, use CC.
10709 # If no C compiler flags were specified, use CFLAGS.
10710 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10712 # Allow CC to be a program name with arguments.
10716 # save warnings/boilerplate of simple test code
10717 ac_outfile=conftest.$ac_objext
10718 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10719 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10720 _lt_compiler_boilerplate=`cat conftest.err
`
10723 ac_outfile=conftest.$ac_objext
10724 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10725 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10726 _lt_linker_boilerplate=`cat conftest.err
`
10730 # Allow CC to be a program name with arguments.
10735 lt_save_with_gnu_ld=$with_gnu_ld
10736 lt_save_path_LD=$lt_cv_path_LD
10737 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10738 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10740 $as_unset lt_cv_prog_gnu_ld
10742 if test -n "${lt_cv_path_LDCXX+set}"; then
10743 lt_cv_path_LD=$lt_cv_path_LDCXX
10745 $as_unset lt_cv_path_LD
10747 test -z "${LDCXX+set}" || LD=$LDCXX
10751 for cc_temp in $compiler""; do
10753 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10754 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10759 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10762 # We don't want -fno-exception wen compiling C++ code, so set the
10763 # no_builtin_flag separately
10764 if test "$GXX" = yes; then
10765 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10767 lt_prog_compiler_no_builtin_flag_CXX=
10770 if test "$GXX" = yes; then
10771 # Set up default GNU C++ configuration
10774 # Check whether --with-gnu-ld was given.
10775 if test "${with_gnu_ld+set}" = set; then
10776 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10782 if test "$GCC" = yes; then
10783 # Check if gcc -print-prog-name=ld gives a path.
10784 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10785 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10788 # gcc leaves a trailing carriage return which upsets mingw
10789 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10791 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10794 # Accept absolute paths.
10796 re_direlt='/[^/][^/]*/\.\./'
10797 # Canonicalize the pathname of ld
10798 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10799 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10800 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10802 test -z "$LD" && LD="$ac_prog"
10805 # If it fails, then pretend we aren't using GCC.
10809 # If it is relative, then search for the first ld in PATH.
10810 with_gnu_ld=unknown
10813 elif test "$with_gnu_ld" = yes; then
10814 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10815 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10817 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10818 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10820 if test "${lt_cv_path_LD+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 if test -z "$LD"; then
10824 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10825 for ac_dir in $PATH; do
10827 test -z "$ac_dir" && ac_dir=.
10828 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10829 lt_cv_path_LD="$ac_dir/$ac_prog"
10830 # Check to see if the program is GNU ld. I'd rather use --version,
10831 # but apparently some variants of GNU ld only accept -v.
10832 # Break only if it was the GNU/non-GNU ld that we prefer.
10833 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10834 *GNU* | *'with BFD'*)
10835 test "$with_gnu_ld" != no && break
10838 test "$with_gnu_ld" != yes && break
10845 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10849 LD="$lt_cv_path_LD"
10850 if test -n "$LD"; then
10851 { echo "$as_me:$LINENO: result: $LD" >&5
10852 echo "${ECHO_T}$LD" >&6; }
10854 { echo "$as_me:$LINENO: result: no" >&5
10855 echo "${ECHO_T}no" >&6; }
10857 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10858 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10859 { (exit 1); exit 1; }; }
10860 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10861 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10862 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10866 case `$LD -v 2>&1 </dev
/null
` in
10867 *GNU* | *'with BFD'*)
10868 lt_cv_prog_gnu_ld=yes
10871 lt_cv_prog_gnu_ld=no
10875 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10876 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10877 with_gnu_ld=$lt_cv_prog_gnu_ld
10881 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10882 # archiving commands below assume that GNU ld is being used.
10883 if test "$with_gnu_ld" = yes; then
10884 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10885 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'
10887 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10888 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10890 # If archive_cmds runs LD, not CC, wlarc should be empty
10891 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10892 # investigate it a little bit more. (MM)
10895 # ancient GNU ld didn't support --whole-archive et. al.
10896 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10897 grep 'no-whole-archive' > /dev/null; then
10898 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10900 whole_archive_flag_spec_CXX=
10906 # A generic and very simple default shared library creation
10907 # command for GNU C++ for the case where it uses the native
10908 # linker, instead of GNU ld. If possible, this setting should
10909 # overridden to take advantage of the native linker features on
10910 # the platform it is being used on.
10911 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10914 # Commands to make compiler produce verbose output that lists
10915 # what "hidden" libraries, object files and flags are used when
10916 # linking a shared library.
10917 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10925 # PORTME: fill in a description of your system's C++ link characteristics
10926 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10927 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10931 # FIXME: insert proper C++ library support
10935 if test "$host_cpu" = ia64; then
10936 # On IA64, the linker does run time linking by default, so we don't
10937 # have to do anything special.
10938 aix_use_runtimelinking=no
10939 exp_sym_flag='-Bexport'
10942 aix_use_runtimelinking=no
10944 # Test if we are trying to use run time linking or normal
10945 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10946 # need to do runtime linking.
10947 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10948 for ld_flag in $LDFLAGS; do
10951 aix_use_runtimelinking=yes
10959 exp_sym_flag='-bexport'
10960 no_entry_flag='-bnoentry'
10963 # When large executables or shared objects are built, AIX ld can
10964 # have problems creating the table of contents. If linking a library
10965 # or program results in "error TOC overflow" add -mminimal-toc to
10966 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10967 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10969 archive_cmds_CXX=''
10970 hardcode_direct_CXX=yes
10971 hardcode_libdir_separator_CXX=':'
10972 link_all_deplibs_CXX=yes
10974 if test "$GXX" = yes; then
10975 case $host_os in aix4.[012]|aix4.[012].*)
10976 # We only want to do this on AIX 4.2 and lower, the check
10977 # below for broken collect2 doesn't work under 4.3+
10978 collect2name=`${CC} -print-prog-name=collect2
`
10979 if test -f "$collect2name" && \
10980 strings "$collect2name" | grep resolve_lib_name >/dev/null
10982 # We have reworked collect2
10983 hardcode_direct_CXX=yes
10985 # We have old collect2
10986 hardcode_direct_CXX=unsupported
10987 # It fails to find uninstalled libraries when the uninstalled
10988 # path is not listed in the libpath. Setting hardcode_minus_L
10989 # to unsupported forces relinking
10990 hardcode_minus_L_CXX=yes
10991 hardcode_libdir_flag_spec_CXX='-L$libdir'
10992 hardcode_libdir_separator_CXX=
10996 shared_flag='-shared'
10997 if test "$aix_use_runtimelinking" = yes; then
10998 shared_flag="$shared_flag "'${wl}-G'
11002 if test "$host_cpu" = ia64; then
11003 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11004 # chokes on -Wl,-G. The following line is correct:
11007 if test "$aix_use_runtimelinking" = yes; then
11008 shared_flag='${wl}-G'
11010 shared_flag='${wl}-bM:SRE'
11015 # It seems that -bexpall does not export symbols beginning with
11016 # underscore (_), so it is better to generate a list of symbols to export.
11017 always_export_symbols_CXX=yes
11018 if test "$aix_use_runtimelinking" = yes; then
11019 # Warning - without using the other runtime loading flags (-brtl),
11020 # -berok will link without error, but may produce a broken library.
11021 allow_undefined_flag_CXX='-berok'
11022 # Determine the default libpath from the value encoded in an empty executable.
11023 cat >conftest.$ac_ext <<_ACEOF
11026 cat confdefs.h >>conftest.$ac_ext
11027 cat >>conftest.$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11038 rm -f conftest.$ac_objext conftest$ac_exeext
11039 if { (ac_try="$ac_link"
11040 case "(($ac_try" in
11041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11042 *) ac_try_echo
=$ac_try;;
11044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11045 (eval "$ac_link") 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && {
11052 test -z "$ac_cxx_werror_flag" ||
11053 test ! -s conftest.err
11054 } && test -s conftest
$ac_exeext &&
11055 $as_test_x conftest
$ac_exeext; then
11057 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11059 # Check for a 64-bit object if we didn't find anything.
11060 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; }
11063 echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.
$ac_ext >&5
11069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11073 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11075 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"
11077 if test "$host_cpu" = ia64
; then
11078 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11079 allow_undefined_flag_CXX
="-z nodefs"
11080 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"
11082 # Determine the default libpath from the value encoded in an empty executable.
11083 cat >conftest.
$ac_ext <<_ACEOF
11086 cat confdefs.h
>>conftest.
$ac_ext
11087 cat >>conftest.
$ac_ext <<_ACEOF
11088 /* end confdefs.h. */
11098 rm -f conftest.
$ac_objext conftest
$ac_exeext
11099 if { (ac_try
="$ac_link"
11100 case "(($ac_try" in
11101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11102 *) ac_try_echo=$ac_try;;
11104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11105 (eval "$ac_link") 2>conftest.er1
11107 grep -v '^ *+' conftest.er1 >conftest.err
11109 cat conftest.err >&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); } && {
11112 test -z "$ac_cxx_werror_flag" ||
11113 test ! -s conftest.err
11114 } && test -s conftest$ac_exeext &&
11115 $as_test_x conftest$ac_exeext; then
11117 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11119 # Check for a 64-bit object if we didn't find anything.
11120 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; }
11123 echo "$as_me: failed program was:" >&5
11124 sed 's/^/| /' conftest.$ac_ext >&5
11129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11130 conftest$ac_exeext conftest.$ac_ext
11131 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11133 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11134 # Warning - without using the other run time loading flags,
11135 # -berok will link without error, but may produce a broken library.
11136 no_undefined_flag_CXX=' ${wl}-bernotok'
11137 allow_undefined_flag_CXX=' ${wl}-berok'
11138 # Exported symbols can be pulled into shared objects from archives
11139 whole_archive_flag_spec_CXX='$convenience'
11140 archive_cmds_need_lc_CXX=yes
11141 # This is similar to how AIX traditionally builds its shared libraries.
11142 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'
11148 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11149 allow_undefined_flag_CXX=unsupported
11150 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11151 # support --undefined. This deserves some investigation. FIXME
11152 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11159 case $cc_basename in
11161 # FIXME: insert proper C++ library support
11167 cygwin* | mingw* | pw32*)
11168 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11169 # as there is no search path for DLLs.
11170 hardcode_libdir_flag_spec_CXX='-L$libdir'
11171 allow_undefined_flag_CXX=unsupported
11172 always_export_symbols_CXX=no
11173 enable_shared_with_static_runtimes_CXX=yes
11175 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11176 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'
11177 # If the export-symbols file already is a .def file (1st line
11178 # is EXPORTS), use it as is; otherwise, prepend...
11179 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11180 cp $export_symbols $output_objdir/$soname.def;
11182 echo EXPORTS > $output_objdir/$soname.def;
11183 cat $export_symbols >> $output_objdir/$soname.def;
11185 $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'
11190 darwin* | rhapsody*)
11192 rhapsody* | darwin1.[012])
11193 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11196 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11197 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11199 case ${MACOSX_DEPLOYMENT_TARGET} in
11201 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11204 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11210 archive_cmds_need_lc_CXX=no
11211 hardcode_direct_CXX=no
11212 hardcode_automatic_CXX=yes
11213 hardcode_shlibpath_var_CXX=unsupported
11214 whole_archive_flag_spec_CXX=''
11215 link_all_deplibs_CXX=yes
11217 if test "$GXX" = yes ; then
11218 lt_int_apple_cc_single_mod=no
11219 output_verbose_link_cmd='echo'
11220 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11221 lt_int_apple_cc_single_mod=yes
11223 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11224 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11226 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'
11228 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11229 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11230 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11231 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}'
11233 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}'
11235 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11237 case $cc_basename in
11239 output_verbose_link_cmd='echo'
11240 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'
11241 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11242 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11243 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}'
11244 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}'
11254 case $cc_basename in
11256 # FIXME: insert proper C++ library support
11260 # Green Hills C++ Compiler
11261 # FIXME: insert proper C++ library support
11265 # FIXME: insert proper C++ library support
11271 # C++ shared libraries reported to be fairly broken before switch to ELF
11275 archive_cmds_need_lc_CXX=no
11277 freebsd* | kfreebsd*-gnu | dragonfly*)
11278 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11285 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11286 hardcode_libdir_separator_CXX=:
11287 export_dynamic_flag_spec_CXX='${wl}-E'
11288 hardcode_direct_CXX=yes
11289 hardcode_minus_L_CXX=yes # Not in the search PATH,
11290 # but as the default
11291 # location of the library.
11293 case $cc_basename in
11295 # FIXME: insert proper C++ library support
11299 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'
11300 # Commands to make compiler produce verbose output that lists
11301 # what "hidden" libraries, object files and flags are used when
11302 # linking a shared library.
11304 # There doesn't appear to be a way to prevent this compiler from
11305 # explicitly linking system object files so we need to strip them
11306 # from the output so that they don't get included in the library
11308 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'
11311 if test "$GXX" = yes; then
11312 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'
11314 # FIXME: insert proper C++ library support
11321 if test $with_gnu_ld = no; then
11322 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11323 hardcode_libdir_separator_CXX=:
11327 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11330 export_dynamic_flag_spec_CXX='${wl}-E'
11336 hardcode_direct_CXX=no
11337 hardcode_shlibpath_var_CXX=no
11340 hardcode_direct_CXX=yes
11341 hardcode_minus_L_CXX=yes # Not in the search PATH,
11342 # but as the default
11343 # location of the library.
11347 case $cc_basename in
11349 # FIXME: insert proper C++ library support
11355 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11358 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11361 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11364 # Commands to make compiler produce verbose output that lists
11365 # what "hidden" libraries, object files and flags are used when
11366 # linking a shared library.
11368 # There doesn't appear to be a way to prevent this compiler from
11369 # explicitly linking system object files so we need to strip them
11370 # from the output so that they don't get included in the library
11372 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'
11375 if test "$GXX" = yes; then
11376 if test $with_gnu_ld = no; then
11379 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11382 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11385 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'
11390 # FIXME: insert proper C++ library support
11397 hardcode_direct_CXX=no
11398 hardcode_shlibpath_var_CXX=no
11399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11400 export_dynamic_flag_spec_CXX='${wl}-E'
11401 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11402 # Instead, shared libraries are loaded at an image base (0x10000000 by
11403 # default) and relocated if they conflict, which is a slow very memory
11404 # consuming and fragmenting process. To avoid this, we pick a random,
11405 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11406 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11407 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'
11408 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'
11411 case $cc_basename in
11414 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'
11416 # Archives containing C++ object files must be created using
11417 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11418 # necessary to make sure instantiated templates are included
11420 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11423 if test "$GXX" = yes; then
11424 if test "$with_gnu_ld" = no; then
11425 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'
11427 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'
11430 link_all_deplibs_CXX=yes
11433 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11434 hardcode_libdir_separator_CXX=:
11437 case $cc_basename in
11439 # Kuck and Associates, Inc. (KAI) C++ Compiler
11441 # KCC will only create a shared library if the output file
11442 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11443 # to its proper name (with version) after linking.
11444 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'
11445 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'
11446 # Commands to make compiler produce verbose output that lists
11447 # what "hidden" libraries, object files and flags are used when
11448 # linking a shared library.
11450 # There doesn't appear to be a way to prevent this compiler from
11451 # explicitly linking system object files so we need to strip them
11452 # from the output so that they don't get included in the library
11454 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'
11456 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11457 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11459 # Archives containing C++ object files must be created using
11460 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11461 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11466 # version 8.0 and above of icpc choke on multiply defined symbols
11467 # if we add $predep_objects and $postdep_objects, however 7.1 and
11468 # earlier do not add the objects themselves.
11469 case `$CC -V 2>&1` in
11471 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11472 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'
11474 *) # Version 8.0 or newer
11477 ia64
*) tmp_idyn
=' -i_dynamic';;
11479 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11480 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'
11483 archive_cmds_need_lc_CXX
=no
11484 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11485 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11486 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11489 # Portland Group C++ compiler
11490 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11491 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'
11493 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11494 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11495 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'
11499 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11500 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'
11502 runpath_var
=LD_RUN_PATH
11503 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11504 hardcode_libdir_separator_CXX
=:
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11514 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'
11519 # FIXME: insert proper C++ library support
11523 # FIXME: insert proper C++ library support
11527 case $cc_basename in
11529 # FIXME: insert proper C++ library support
11533 # FIXME: insert proper C++ library support
11539 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11540 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11542 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11543 hardcode_direct_CXX
=yes
11544 hardcode_shlibpath_var_CXX
=no
11546 # Workaround some broken pre-1.5 toolchains
11547 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11550 # C++ shared libraries are fairly broken
11554 hardcode_direct_CXX
=yes
11555 hardcode_shlibpath_var_CXX
=no
11556 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11557 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11558 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11559 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11560 export_dynamic_flag_spec_CXX
='${wl}-E'
11561 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11563 output_verbose_link_cmd
='echo'
11566 case $cc_basename in
11568 # Kuck and Associates, Inc. (KAI) C++ Compiler
11570 # KCC will only create a shared library if the output file
11571 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11572 # to its proper name (with version) after linking.
11573 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'
11575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11576 hardcode_libdir_separator_CXX
=:
11578 # Archives containing C++ object files must be created using
11579 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11580 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11584 # Rational C++ 2.4.1
11585 # FIXME: insert proper C++ library support
11589 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11590 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'
11592 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11593 hardcode_libdir_separator_CXX
=:
11595 # Commands to make compiler produce verbose output that lists
11596 # what "hidden" libraries, object files and flags are used when
11597 # linking a shared library.
11599 # There doesn't appear to be a way to prevent this compiler from
11600 # explicitly linking system object files so we need to strip them
11601 # from the output so that they don't get included in the library
11603 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'
11606 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11607 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11608 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'
11610 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11611 hardcode_libdir_separator_CXX
=:
11613 # Commands to make compiler produce verbose output that lists
11614 # what "hidden" libraries, object files and flags are used when
11615 # linking a shared library.
11616 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11619 # FIXME: insert proper C++ library support
11626 case $cc_basename in
11628 # Kuck and Associates, Inc. (KAI) C++ Compiler
11630 # KCC will only create a shared library if the output file
11631 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11632 # to its proper name (with version) after linking.
11633 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'
11635 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11636 hardcode_libdir_separator_CXX
=:
11638 # Archives containing C++ object files must be created using
11639 # the KAI C++ compiler.
11640 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11643 # Rational C++ 2.4.1
11644 # FIXME: insert proper C++ library support
11648 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11649 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'
11650 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11651 echo "-hidden">> $lib.exp~
11652 $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~
11655 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11656 hardcode_libdir_separator_CXX
=:
11658 # Commands to make compiler produce verbose output that lists
11659 # what "hidden" libraries, object files and flags are used when
11660 # linking a shared library.
11662 # There doesn't appear to be a way to prevent this compiler from
11663 # explicitly linking system object files so we need to strip them
11664 # from the output so that they don't get included in the library
11666 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'
11669 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11670 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11671 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'
11673 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11674 hardcode_libdir_separator_CXX
=:
11676 # Commands to make compiler produce verbose output that lists
11677 # what "hidden" libraries, object files and flags are used when
11678 # linking a shared library.
11679 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11682 # FIXME: insert proper C++ library support
11689 # FIXME: insert proper C++ library support
11693 case $cc_basename in
11696 # FIXME: insert proper C++ library support
11701 # FIXME: insert proper C++ library support
11705 # FIXME: insert proper C++ library support
11711 case $cc_basename in
11713 # Sun C++ 4.2, 5.x and Centerline C++
11714 archive_cmds_need_lc_CXX
=yes
11715 no_undefined_flag_CXX
=' -zdefs'
11716 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11717 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11718 $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'
11720 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11721 hardcode_shlibpath_var_CXX
=no
11723 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11725 # The C++ compiler is used as linker so we must use $wl
11726 # flag to pass the commands to the underlying system
11727 # linker. We must also pass each convience library through
11728 # to the system linker between allextract/defaultextract.
11729 # The C++ compiler will combine linker options so we
11730 # cannot just pass the convience library names through
11732 # Supported since Solaris 2.6 (maybe 2.5.1?)
11733 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'
11736 link_all_deplibs_CXX
=yes
11738 output_verbose_link_cmd
='echo'
11740 # Archives containing C++ object files must be created using
11741 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11742 # necessary to make sure instantiated templates are included
11744 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11747 # Green Hills C++ Compiler
11748 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11750 # The C++ compiler must be used to create the archive.
11751 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11754 # GNU C++ compiler with Solaris linker
11755 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11756 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11757 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11758 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11759 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11760 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11762 # Commands to make compiler produce verbose output that lists
11763 # what "hidden" libraries, object files and flags are used when
11764 # linking a shared library.
11765 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11767 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11769 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11770 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11771 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11773 # Commands to make compiler produce verbose output that lists
11774 # what "hidden" libraries, object files and flags are used when
11775 # linking a shared library.
11776 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11779 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11784 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11785 no_undefined_flag_CXX
='${wl}-z,text'
11786 archive_cmds_need_lc_CXX
=no
11787 hardcode_shlibpath_var_CXX
=no
11788 runpath_var
='LD_RUN_PATH'
11790 case $cc_basename in
11792 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11793 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11796 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11797 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11801 sysv5
* | sco3.2v5
* | sco5v6
*)
11802 # Note: We can NOT use -z defs as we might desire, because we do not
11803 # link with -lc, and that would cause any symbols used from libc to
11804 # always be unresolved, which means just about no library would
11805 # ever link correctly. If we're not using GNU ld we use -z text
11806 # though, which does catch some bad symbols but isn't as heavy-handed
11808 # For security reasons, it is highly recommended that you always
11809 # use absolute paths for naming shared libraries, and exclude the
11810 # DT_RUNPATH tag from executables and libraries. But doing so
11811 # requires that you compile everything twice, which is a pain.
11812 # So that behaviour is only enabled if SCOABSPATH is set to a
11813 # non-empty value in the environment. Most likely only useful for
11814 # creating official distributions of packages.
11815 # This is a hack until libtool officially supports absolute path
11816 # names for shared libraries.
11817 no_undefined_flag_CXX
='${wl}-z,text'
11818 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11819 archive_cmds_need_lc_CXX
=no
11820 hardcode_shlibpath_var_CXX
=no
11821 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11822 hardcode_libdir_separator_CXX
=':'
11823 link_all_deplibs_CXX
=yes
11824 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11825 runpath_var
='LD_RUN_PATH'
11827 case $cc_basename in
11829 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11830 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11833 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11834 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11839 case $cc_basename in
11841 # NonStop-UX NCC 3.20
11842 # FIXME: insert proper C++ library support
11846 # FIXME: insert proper C++ library support
11852 # FIXME: insert proper C++ library support
11856 # FIXME: insert proper C++ library support
11860 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11861 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11862 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11868 cat > conftest.
$ac_ext <<EOF
11872 Foo (void) { a = 0; }
11878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11879 (eval $ac_compile) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; then
11883 # Parse the compiler output and extract the necessary
11884 # objects, libraries and library flags.
11886 # Sentinel used to keep track of whether or not we are before
11887 # the conftest object file.
11888 pre_test_object_deps_done
=no
11890 # The `*' in the case matches for architectures that use `case' in
11891 # $output_verbose_cmd can trigger glob expansion during the loop
11892 # eval without this substitution.
11893 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11895 for p
in `eval $output_verbose_link_cmd`; do
11899 # Some compilers place space between "-{L,R}" and the path.
11900 # Remove the space.
11901 if test $p = "-L" \
11902 ||
test $p = "-R"; then
11909 if test "$pre_test_object_deps_done" = no
; then
11912 # Internal compiler library paths should come after those
11913 # provided the user. The postdeps already come after the
11914 # user supplied libs so there is no need to process them.
11915 if test -z "$compiler_lib_search_path_CXX"; then
11916 compiler_lib_search_path_CXX
="${prev}${p}"
11918 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11921 # The "-l" case would never come before the object being
11922 # linked, so don't bother handling this case.
11925 if test -z "$postdeps_CXX"; then
11926 postdeps_CXX
="${prev}${p}"
11928 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11934 # This assumes that the test object file only shows up
11935 # once in the compiler output.
11936 if test "$p" = "conftest.$objext"; then
11937 pre_test_object_deps_done
=yes
11941 if test "$pre_test_object_deps_done" = no
; then
11942 if test -z "$predep_objects_CXX"; then
11943 predep_objects_CXX
="$p"
11945 predep_objects_CXX
="$predep_objects_CXX $p"
11948 if test -z "$postdep_objects_CXX"; then
11949 postdep_objects_CXX
="$p"
11951 postdep_objects_CXX
="$postdep_objects_CXX $p"
11956 *) ;; # Ignore the rest.
11964 echo "libtool.m4: error: problem compiling CXX test program"
11967 $rm -f confest.
$objext
11969 # PORTME: override above test on systems where it is broken
11972 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11973 # hack all around it, let's just trust "g++" to DTRT.
11974 predep_objects_CXX
=
11975 postdep_objects_CXX
=
11980 case $cc_basename in
11982 # Adding this requires a known-good setup of shared libraries for
11983 # Sun compiler versions before 5.6, else PIC objects from an old
11984 # archive will be linked into the output, leading to subtle bugs.
11985 postdeps_CXX
='-lCstd -lCrun'
11992 case " $postdeps_CXX " in
11993 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11996 lt_prog_compiler_wl_CXX
=
11997 lt_prog_compiler_pic_CXX
=
11998 lt_prog_compiler_static_CXX
=
12000 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12001 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12003 # C++ specific cases for pic, static, wl, etc.
12004 if test "$GXX" = yes; then
12005 lt_prog_compiler_wl_CXX
='-Wl,'
12006 lt_prog_compiler_static_CXX
='-static'
12010 # All AIX code is PIC.
12011 if test "$host_cpu" = ia64
; then
12012 # AIX 5 now supports IA64 processor
12013 lt_prog_compiler_static_CXX
='-Bstatic'
12017 # FIXME: we need at least 68020 code to build shared libraries, but
12018 # adding the `-m68020' flag to GCC prevents building anything better,
12020 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12022 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12023 # PIC is the default for these OSes.
12025 mingw
* | os2
* | pw32
*)
12026 # This hack is so that the source file can tell whether it is being
12027 # built for inclusion in a dll (and should export symbols for example).
12028 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12030 darwin
* | rhapsody
*)
12031 # PIC is the default on this platform
12032 # Common symbols not allowed in MH_DYLIB files
12033 lt_prog_compiler_pic_CXX
='-fno-common'
12036 # DJGPP does not support shared libraries at all
12037 lt_prog_compiler_pic_CXX
=
12040 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12041 # Instead, we relocate shared libraries at runtime.
12044 if test -d /usr
/nec
; then
12045 lt_prog_compiler_pic_CXX
=-Kconform_pic
12049 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12050 # not for PA HP-UX.
12055 lt_prog_compiler_pic_CXX
='-fPIC'
12060 lt_prog_compiler_pic_CXX
='-fPIC'
12066 # All AIX code is PIC.
12067 if test "$host_cpu" = ia64
; then
12068 # AIX 5 now supports IA64 processor
12069 lt_prog_compiler_static_CXX
='-Bstatic'
12071 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12075 case $cc_basename in
12077 # Green Hills C++ Compiler
12078 # _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"
12083 # PIC is the default on this platform
12084 # Common symbols not allowed in MH_DYLIB files
12085 case $cc_basename in
12087 lt_prog_compiler_pic_CXX
='-qnocommon'
12088 lt_prog_compiler_wl_CXX
='-Wl,'
12093 case $cc_basename in
12095 lt_prog_compiler_pic_CXX
='-KPIC'
12098 # Green Hills C++ Compiler
12099 lt_prog_compiler_pic_CXX
='-pic'
12105 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12106 # FreeBSD uses GNU C++
12108 hpux9
* | hpux10
* | hpux11
*)
12109 case $cc_basename in
12111 lt_prog_compiler_wl_CXX
='-Wl,'
12112 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12113 if test "$host_cpu" != ia64
; then
12114 lt_prog_compiler_pic_CXX
='+Z'
12118 lt_prog_compiler_wl_CXX
='-Wl,'
12119 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12125 lt_prog_compiler_pic_CXX
='+Z'
12134 # This is c89, which is MS Visual C++ (no shared libs)
12135 # Anyone wants to do a port?
12137 irix5
* | irix6
* | nonstopux
*)
12138 case $cc_basename in
12140 lt_prog_compiler_wl_CXX
='-Wl,'
12141 lt_prog_compiler_static_CXX
='-non_shared'
12142 # CC pic flag -KPIC is the default.
12149 case $cc_basename in
12152 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12153 lt_prog_compiler_pic_CXX
='-fPIC'
12157 lt_prog_compiler_wl_CXX
='-Wl,'
12158 lt_prog_compiler_pic_CXX
='-KPIC'
12159 lt_prog_compiler_static_CXX
='-static'
12162 # Portland Group C++ compiler.
12163 lt_prog_compiler_wl_CXX
='-Wl,'
12164 lt_prog_compiler_pic_CXX
='-fpic'
12165 lt_prog_compiler_static_CXX
='-Bstatic'
12169 # Make sure the PIC flag is empty. It appears that all Alpha
12170 # Linux and Compaq Tru64 Unix objects are PIC.
12171 lt_prog_compiler_pic_CXX
=
12172 lt_prog_compiler_static_CXX
='-non_shared'
12183 case $cc_basename in
12185 lt_prog_compiler_pic_CXX
='-W c,exportall'
12193 osf3
* | osf4
* | osf5
*)
12194 case $cc_basename in
12196 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12199 # Rational C++ 2.4.1
12200 lt_prog_compiler_pic_CXX
='-pic'
12203 # Digital/Compaq C++
12204 lt_prog_compiler_wl_CXX
='-Wl,'
12205 # Make sure the PIC flag is empty. It appears that all Alpha
12206 # Linux and Compaq Tru64 Unix objects are PIC.
12207 lt_prog_compiler_pic_CXX
=
12208 lt_prog_compiler_static_CXX
='-non_shared'
12217 case $cc_basename in
12219 # Sun C++ 4.2, 5.x and Centerline C++
12220 lt_prog_compiler_pic_CXX
='-KPIC'
12221 lt_prog_compiler_static_CXX
='-Bstatic'
12222 lt_prog_compiler_wl_CXX
='-Qoption ld '
12225 # Green Hills C++ Compiler
12226 lt_prog_compiler_pic_CXX
='-PIC'
12233 case $cc_basename in
12236 lt_prog_compiler_pic_CXX
='-pic'
12237 lt_prog_compiler_static_CXX
='-Bstatic'
12241 lt_prog_compiler_pic_CXX
='-pic'
12248 case $cc_basename in
12250 # NonStop-UX NCC 3.20
12251 lt_prog_compiler_pic_CXX
='-KPIC'
12257 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12258 case $cc_basename in
12260 lt_prog_compiler_wl_CXX
='-Wl,'
12261 lt_prog_compiler_pic_CXX
='-KPIC'
12262 lt_prog_compiler_static_CXX
='-Bstatic'
12269 lt_prog_compiler_can_build_shared_CXX
=no
12274 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12275 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12278 # Check to make sure the PIC flag actually works.
12280 if test -n "$lt_prog_compiler_pic_CXX"; then
12282 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12283 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12284 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 lt_prog_compiler_pic_works_CXX
=no
12288 ac_outfile
=conftest.
$ac_objext
12289 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12290 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12291 # Insert the option either (1) after the last *FLAGS variable, or
12292 # (2) before a word containing "conftest.", or (3) at the end.
12293 # Note that $ac_compile itself does not contain backslashes and begins
12294 # with a dollar sign (not a hyphen), so the echo should work correctly.
12295 # The option is referenced via a variable to avoid confusing sed.
12296 lt_compile
=`echo "$ac_compile" | $SED \
12297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12299 -e 's:$: $lt_compiler_flag:'`
12300 (eval echo "\"\$as_me:12300: $lt_compile\"" >&5)
12301 (eval "$lt_compile" 2>conftest.err
)
12303 cat conftest.err
>&5
12304 echo "$as_me:12304: \$? = $ac_status" >&5
12305 if (exit $ac_status) && test -s "$ac_outfile"; then
12306 # The compiler can only warn and ignore the option if not recognized
12307 # So say no if there are warnings other than the usual output.
12308 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12309 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12310 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12311 lt_prog_compiler_pic_works_CXX
=yes
12317 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12318 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12320 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12321 case $lt_prog_compiler_pic_CXX in
12323 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12326 lt_prog_compiler_pic_CXX
=
12327 lt_prog_compiler_can_build_shared_CXX
=no
12332 # For platforms which do not support PIC, -DPIC is meaningless:
12334 lt_prog_compiler_pic_CXX
=
12337 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12342 # Check to make sure the static flag actually works.
12344 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12345 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12346 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12347 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 lt_prog_compiler_static_works_CXX
=no
12351 save_LDFLAGS
="$LDFLAGS"
12352 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12353 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12354 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12355 # The linker can only warn and ignore the option if not recognized
12356 # So say no if there are warnings
12357 if test -s conftest.err
; then
12358 # Append any errors to the config.log.
12359 cat conftest.err
1>&5
12360 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12361 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12362 if diff conftest.exp conftest.er2
>/dev
/null
; then
12363 lt_prog_compiler_static_works_CXX
=yes
12366 lt_prog_compiler_static_works_CXX
=yes
12370 LDFLAGS
="$save_LDFLAGS"
12373 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12374 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12376 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12379 lt_prog_compiler_static_CXX
=
12383 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12384 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12385 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 lt_cv_prog_compiler_c_o_CXX
=no
12389 $rm -r conftest
2>/dev
/null
12393 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12395 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12396 # Insert the option either (1) after the last *FLAGS variable, or
12397 # (2) before a word containing "conftest.", or (3) at the end.
12398 # Note that $ac_compile itself does not contain backslashes and begins
12399 # with a dollar sign (not a hyphen), so the echo should work correctly.
12400 lt_compile
=`echo "$ac_compile" | $SED \
12401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12403 -e 's:$: $lt_compiler_flag:'`
12404 (eval echo "\"\$as_me:12404: $lt_compile\"" >&5)
12405 (eval "$lt_compile" 2>out
/conftest.err
)
12407 cat out
/conftest.err
>&5
12408 echo "$as_me:12408: \$? = $ac_status" >&5
12409 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12411 # The compiler can only warn and ignore the option if not recognized
12412 # So say no if there are warnings
12413 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12414 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12415 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12416 lt_cv_prog_compiler_c_o_CXX
=yes
12421 # SGI C++ compiler will create directory out/ii_files/ for
12422 # template instantiation
12423 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12424 $rm out
/* && rmdir out
12430 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12431 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12434 hard_links
="nottested"
12435 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12436 # do not overwrite the value of need_locks provided by the user
12437 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12438 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12441 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12443 ln conftest.a conftest.b
2>&5 || hard_links
=no
12444 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12445 { echo "$as_me:$LINENO: result: $hard_links" >&5
12446 echo "${ECHO_T}$hard_links" >&6; }
12447 if test "$hard_links" = no
; then
12448 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12449 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12456 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12457 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12459 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12462 # If we're using GNU nm, then we don't want the "-C" option.
12463 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12464 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12465 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'
12467 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'
12471 export_symbols_cmds_CXX
="$ltdll_cmds"
12474 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'
12477 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12481 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12482 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12483 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12486 # Do we need to explicitly link libc?
12488 case "x$archive_cmds_need_lc_CXX" in
12490 # Assume -lc should be added
12491 archive_cmds_need_lc_CXX
=yes
12493 if test "$enable_shared" = yes && test "$GCC" = yes; then
12494 case $archive_cmds_CXX in
12496 # FIXME: we may have to deal with multi-command sequences.
12499 # Test whether the compiler implicitly links with -lc since on some
12500 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12501 # to ld, don't add -lc before -lgcc.
12502 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12503 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12505 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12508 (eval $ac_compile) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); } 2>conftest.err
; then
12514 libobjs
=conftest.
$ac_objext
12516 wl
=$lt_prog_compiler_wl_CXX
12517 pic_flag
=$lt_prog_compiler_pic_CXX
12523 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12524 allow_undefined_flag_CXX
=
12525 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12526 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }
12531 archive_cmds_need_lc_CXX
=no
12533 archive_cmds_need_lc_CXX
=yes
12535 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12537 cat conftest.err
1>&5
12540 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12541 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12548 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12549 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12550 library_names_spec
=
12551 libname_spec
='lib$name'
12555 postuninstall_cmds
=
12559 shlibpath_overrides_runpath
=unknown
12561 dynamic_linker
="$host_os ld.so"
12562 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12563 if test "$GCC" = yes; then
12564 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12565 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12566 # if the path contains ";" then we assume it to be the separator
12567 # otherwise default to the standard path separator (i.e. ":") - it is
12568 # assumed that no part of a normal pathname contains ";" but that should
12569 # okay in the real world where ";" in dirpaths is itself problematic.
12570 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12572 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12575 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12577 need_lib_prefix
=unknown
12578 hardcode_into_libs
=no
12580 # when you set need_version to no, make sure it does not cause -set_version
12581 # flags to be left without arguments
12582 need_version
=unknown
12587 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12588 shlibpath_var
=LIBPATH
12590 # AIX 3 has no versioning support, so we append a major version to the name.
12591 soname_spec
='${libname}${release}${shared_ext}$major'
12598 hardcode_into_libs
=yes
12599 if test "$host_cpu" = ia64
; then
12600 # AIX 5 supports IA64
12601 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12602 shlibpath_var
=LD_LIBRARY_PATH
12604 # With GCC up to 2.95.x, collect2 would create an import file
12605 # for dependence libraries. The import file would start with
12606 # the line `#! .'. This would cause the generated library to
12607 # depend on `.', always an invalid library. This was fixed in
12608 # development snapshots of GCC prior to 3.0.
12610 aix4 | aix4.
[01] | aix4.
[01].
*)
12611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12613 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12616 can_build_shared
=no
12620 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12621 # soname into executable. Probably we can add versioning support to
12622 # collect2, so additional links can be useful in future.
12623 if test "$aix_use_runtimelinking" = yes; then
12624 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12625 # instead of lib<name>.a to let people know that these are not
12626 # typical AIX shared libraries.
12627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12629 # We preserve .a as extension for shared libraries through AIX4.2
12630 # and later when we are not doing run time linking.
12631 library_names_spec
='${libname}${release}.a $libname.a'
12632 soname_spec
='${libname}${release}${shared_ext}$major'
12634 shlibpath_var
=LIBPATH
12639 library_names_spec
='$libname.ixlibrary $libname.a'
12640 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12641 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'
12645 library_names_spec
='${libname}${shared_ext}'
12646 dynamic_linker
="$host_os ld.so"
12647 shlibpath_var
=LIBRARY_PATH
12653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654 soname_spec
='${libname}${release}${shared_ext}$major'
12655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12656 shlibpath_var
=LD_LIBRARY_PATH
12657 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12658 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12659 # the default ld.so.conf also contains /usr/contrib/lib and
12660 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12661 # libtool to hard-code these into programs
12664 cygwin
* | mingw
* | pw32
*)
12665 version_type
=windows
12670 case $GCC,$host_os in
12671 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12672 library_names_spec
='$libname.dll.a'
12673 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12674 postinstall_cmds
='base_file=`basename \${file}`~
12675 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12676 dldir=$destdir/`dirname \$dlpath`~
12677 test -d \$dldir || mkdir -p \$dldir~
12678 $install_prog $dir/$dlname \$dldir/$dlname~
12679 chmod a+x \$dldir/$dlname'
12680 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12681 dlpath=$dir/\$dldll~
12683 shlibpath_overrides_runpath
=yes
12687 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12688 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12689 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12692 # MinGW DLLs use traditional 'lib' prefix
12693 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12694 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12695 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12696 # It is most probably a Windows format PATH printed by
12697 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12698 # path with ; separators, and with drive letters. We can handle the
12699 # drive letters (cygwin fileutils understands them), so leave them,
12700 # especially as we might pass files found there to a mingw objdump,
12701 # which wouldn't understand a cygwinified path. Ahh.
12702 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12704 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12708 # pw32 DLLs use 'pw' prefix rather than 'lib'
12709 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12715 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12718 dynamic_linker
='Win32 ld.exe'
12719 # FIXME: first we should search . and the directory the executable is in
12723 darwin
* | rhapsody
*)
12724 dynamic_linker
="$host_os dyld"
12725 version_type
=darwin
12728 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12729 soname_spec
='${libname}${release}${major}$shared_ext'
12730 shlibpath_overrides_runpath
=yes
12731 shlibpath_var
=DYLD_LIBRARY_PATH
12732 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12733 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12734 if test "$GCC" = yes; then
12735 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"`
12737 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12739 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12747 soname_spec
='${libname}${release}${shared_ext}$major'
12748 shlibpath_var
=LD_LIBRARY_PATH
12759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12760 soname_spec
='${libname}${release}${shared_ext}$major'
12761 shlibpath_var
=LD_LIBRARY_PATH
12762 shlibpath_overrides_runpath
=no
12763 hardcode_into_libs
=yes
12764 dynamic_linker
='GNU ld.so'
12767 freebsd
* | dragonfly
*)
12768 # DragonFly does not have aout. When/if they implement a new
12769 # versioning mechanism, adjust this.
12770 if test -x /usr
/bin
/objformat
; then
12771 objformat
=`/usr/bin/objformat`
12774 freebsd
[123]*) objformat
=aout
;;
12775 *) objformat
=elf
;;
12778 version_type
=freebsd-
$objformat
12779 case $version_type in
12781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12786 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12790 shlibpath_var
=LD_LIBRARY_PATH
12793 shlibpath_overrides_runpath
=yes
12795 freebsd3.
[01]* | freebsdelf3.
[01]*)
12796 shlibpath_overrides_runpath
=yes
12797 hardcode_into_libs
=yes
12799 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12800 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12801 shlibpath_overrides_runpath
=no
12802 hardcode_into_libs
=yes
12804 freebsd
*) # from 4.6 on
12805 shlibpath_overrides_runpath
=yes
12806 hardcode_into_libs
=yes
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'
12817 shlibpath_var
=LD_LIBRARY_PATH
12818 hardcode_into_libs
=yes
12821 hpux9
* | hpux10
* | hpux11
*)
12822 # Give a soname corresponding to the major version so that dld.sl refuses to
12823 # link against other versions.
12830 hardcode_into_libs
=yes
12831 dynamic_linker
="$host_os dld.so"
12832 shlibpath_var
=LD_LIBRARY_PATH
12833 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12835 soname_spec
='${libname}${release}${shared_ext}$major'
12836 if test "X$HPUX_IA64_MODE" = X32
; then
12837 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12839 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12841 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12845 hardcode_into_libs
=yes
12846 dynamic_linker
="$host_os dld.sl"
12847 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12848 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12850 soname_spec
='${libname}${release}${shared_ext}$major'
12851 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12852 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12856 dynamic_linker
="$host_os dld.sl"
12857 shlibpath_var
=SHLIB_PATH
12858 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12860 soname_spec
='${libname}${release}${shared_ext}$major'
12863 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12864 postinstall_cmds
='chmod 555 $lib'
12871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12872 soname_spec
='${libname}${release}${shared_ext}$major'
12873 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12874 shlibpath_var
=LD_LIBRARY_PATH
12875 shlibpath_overrides_runpath
=no
12876 hardcode_into_libs
=yes
12879 irix5
* | irix6
* | nonstopux
*)
12881 nonstopux
*) version_type
=nonstopux
;;
12883 if test "$lt_cv_prog_gnu_ld" = yes; then
12891 soname_spec
='${libname}${release}${shared_ext}$major'
12892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12894 irix5
* | nonstopux
*)
12895 libsuff
= shlibsuff
=
12898 case $LD in # libtool.m4 will add one of these switches to LD
12899 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12900 libsuff
= shlibsuff
= libmagic
=32-bit;;
12901 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12902 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12903 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12904 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12905 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12909 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12910 shlibpath_overrides_runpath
=no
12911 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12912 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12913 hardcode_into_libs
=yes
12916 # No shared lib support for Linux oldld, aout, or coff.
12917 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12921 # This must be Linux ELF.
12926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12927 soname_spec
='${libname}${release}${shared_ext}$major'
12928 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12929 shlibpath_var
=LD_LIBRARY_PATH
12930 shlibpath_overrides_runpath
=no
12931 # This implies no fast_install, which is unacceptable.
12932 # Some rework will be needed to allow for fast_install
12933 # before this can be enabled.
12934 hardcode_into_libs
=yes
12936 # find out which ABI we are using
12938 case "$host_cpu" in
12939 x86_64
*|s390x
*|powerpc64
*)
12940 echo '#line 12940 "configure"' > conftest.
$ac_ext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; then
12946 case `/usr/bin/file conftest.$ac_objext` in
12949 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12957 # Append ld.so.conf contents to the search path
12958 if test -f /etc
/ld.so.conf
; then
12959 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12960 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12963 # We used to test for /lib/ld.so.1 and disable shared libraries on
12964 # powerpc, because MkLinux only supported shared libraries with the
12965 # GNU dynamic linker. Since this was broken with cross compilers,
12966 # most powerpc-linux boxes support dynamic linking these days and
12967 # people can always --disable-shared, the test was removed, and we
12968 # assume the GNU/Linux dynamic linker is in use.
12969 dynamic_linker
='GNU/Linux ld.so'
12976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12977 soname_spec
='${libname}${release}${shared_ext}$major'
12978 shlibpath_var
=LD_LIBRARY_PATH
12979 shlibpath_overrides_runpath
=no
12980 hardcode_into_libs
=yes
12981 dynamic_linker
='GNU ld.so'
12988 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12990 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12991 dynamic_linker
='NetBSD (a.out) ld.so'
12993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12994 soname_spec
='${libname}${release}${shared_ext}$major'
12995 dynamic_linker
='NetBSD ld.elf_so'
12997 shlibpath_var
=LD_LIBRARY_PATH
12998 shlibpath_overrides_runpath
=yes
12999 hardcode_into_libs
=yes
13004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13005 shlibpath_var
=LD_LIBRARY_PATH
13006 shlibpath_overrides_runpath
=yes
13013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13014 soname_spec
='${libname}${release}${shared_ext}$major'
13015 shlibpath_var
=LD_LIBRARY_PATH
13016 shlibpath_overrides_runpath
=yes
13021 sys_lib_dlsearch_path_spec
="/usr/lib"
13023 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13025 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13026 *) need_version
=no
;;
13028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13029 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13030 shlibpath_var
=LD_LIBRARY_PATH
13031 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13033 openbsd2.
[89] | openbsd2.
[89].
*)
13034 shlibpath_overrides_runpath
=no
13037 shlibpath_overrides_runpath
=yes
13041 shlibpath_overrides_runpath
=yes
13046 libname_spec
='$name'
13049 library_names_spec
='$libname${shared_ext} $libname.a'
13050 dynamic_linker
='OS/2 ld.exe'
13051 shlibpath_var
=LIBPATH
13054 osf3
* | osf4
* | osf5
*)
13058 soname_spec
='${libname}${release}${shared_ext}$major'
13059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13060 shlibpath_var
=LD_LIBRARY_PATH
13061 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13062 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13070 soname_spec
='${libname}${release}${shared_ext}$major'
13071 shlibpath_var
=LD_LIBRARY_PATH
13072 shlibpath_overrides_runpath
=yes
13073 hardcode_into_libs
=yes
13074 # ldd complains unless libraries are executable
13075 postinstall_cmds
='chmod +x $lib'
13080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13081 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13082 shlibpath_var
=LD_LIBRARY_PATH
13083 shlibpath_overrides_runpath
=yes
13084 if test "$with_gnu_ld" = yes; then
13092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13093 soname_spec
='${libname}${release}${shared_ext}$major'
13094 shlibpath_var
=LD_LIBRARY_PATH
13095 case $host_vendor in
13097 shlibpath_overrides_runpath
=no
13099 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13100 runpath_var
=LD_RUN_PATH
13108 shlibpath_overrides_runpath
=no
13109 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13115 if test -d /usr
/nec
;then
13117 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13118 soname_spec
='$libname${shared_ext}.$major'
13119 shlibpath_var
=LD_LIBRARY_PATH
13123 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13124 version_type
=freebsd-elf
13127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13128 soname_spec
='${libname}${release}${shared_ext}$major'
13129 shlibpath_var
=LD_LIBRARY_PATH
13130 hardcode_into_libs
=yes
13131 if test "$with_gnu_ld" = yes; then
13132 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13133 shlibpath_overrides_runpath
=no
13135 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13136 shlibpath_overrides_runpath
=yes
13139 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13143 sys_lib_dlsearch_path_spec
='/usr/lib'
13148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13149 soname_spec
='${libname}${release}${shared_ext}$major'
13150 shlibpath_var
=LD_LIBRARY_PATH
13157 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13158 echo "${ECHO_T}$dynamic_linker" >&6; }
13159 test "$dynamic_linker" = no
&& can_build_shared
=no
13161 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13162 if test "$GCC" = yes; then
13163 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13166 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13167 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13168 hardcode_action_CXX
=
13169 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13170 test -n "$runpath_var_CXX" || \
13171 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13173 # We can hardcode non-existant directories.
13174 if test "$hardcode_direct_CXX" != no
&&
13175 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13176 # have to relink, otherwise we might link with an installed library
13177 # when we should be linking with a yet-to-be-installed one
13178 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13179 test "$hardcode_minus_L_CXX" != no
; then
13180 # Linking always hardcodes the temporary library directory.
13181 hardcode_action_CXX
=relink
13183 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13184 hardcode_action_CXX
=immediate
13187 # We cannot hardcode anything, or else we can only hardcode existing
13189 hardcode_action_CXX
=unsupported
13191 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13192 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13194 if test "$hardcode_action_CXX" = relink
; then
13195 # Fast installation is not supported
13196 enable_fast_install
=no
13197 elif test "$shlibpath_overrides_runpath" = yes ||
13198 test "$enable_shared" = no
; then
13199 # Fast installation is not necessary
13200 enable_fast_install
=needless
13204 # The else clause should only fire when bootstrapping the
13205 # libtool distribution, otherwise you forgot to ship ltmain.sh
13206 # with your package, and you will get complaints that there are
13207 # no rules to generate ltmain.sh.
13208 if test -f "$ltmain"; then
13209 # See if we are running on zsh, and set the options which allow our commands through
13210 # without removal of \ escapes.
13211 if test -n "${ZSH_VERSION+set}" ; then
13212 setopt NO_GLOB_SUBST
13214 # Now quote all the things that may contain metacharacters while being
13215 # careful not to overquote the AC_SUBSTed values. We take copies of the
13216 # variables and quote the copies for generation of the libtool script.
13217 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13219 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13220 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13221 deplibs_check_method reload_flag reload_cmds need_locks \
13222 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13223 lt_cv_sys_global_symbol_to_c_name_address \
13224 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13225 old_postinstall_cmds old_postuninstall_cmds \
13229 lt_prog_compiler_wl_CXX \
13230 lt_prog_compiler_pic_CXX \
13231 lt_prog_compiler_static_CXX \
13232 lt_prog_compiler_no_builtin_flag_CXX \
13233 export_dynamic_flag_spec_CXX \
13234 thread_safe_flag_spec_CXX \
13235 whole_archive_flag_spec_CXX \
13236 enable_shared_with_static_runtimes_CXX \
13237 old_archive_cmds_CXX \
13238 old_archive_from_new_cmds_CXX \
13239 predep_objects_CXX \
13240 postdep_objects_CXX \
13243 compiler_lib_search_path_CXX \
13245 archive_expsym_cmds_CXX \
13246 postinstall_cmds_CXX \
13247 postuninstall_cmds_CXX \
13248 old_archive_from_expsyms_cmds_CXX \
13249 allow_undefined_flag_CXX \
13250 no_undefined_flag_CXX \
13251 export_symbols_cmds_CXX \
13252 hardcode_libdir_flag_spec_CXX \
13253 hardcode_libdir_flag_spec_ld_CXX \
13254 hardcode_libdir_separator_CXX \
13255 hardcode_automatic_CXX \
13257 module_expsym_cmds_CXX \
13258 lt_cv_prog_compiler_c_o_CXX \
13259 exclude_expsyms_CXX \
13260 include_expsyms_CXX
; do
13263 old_archive_cmds_CXX | \
13264 old_archive_from_new_cmds_CXX | \
13265 archive_cmds_CXX | \
13266 archive_expsym_cmds_CXX | \
13267 module_cmds_CXX | \
13268 module_expsym_cmds_CXX | \
13269 old_archive_from_expsyms_cmds_CXX | \
13270 export_symbols_cmds_CXX | \
13271 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13272 postinstall_cmds | postuninstall_cmds | \
13273 old_postinstall_cmds | old_postuninstall_cmds | \
13274 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13275 # Double-quote double-evaled strings.
13276 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13279 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13285 *'\$0 --fallback-echo"')
13286 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13292 cat <<__EOF__ >> "$cfgfile"
13293 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13295 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13297 # Shell to use when invoking shell scripts.
13300 # Whether or not to build shared libraries.
13301 build_libtool_libs=$enable_shared
13303 # Whether or not to build static libraries.
13304 build_old_libs=$enable_static
13306 # Whether or not to add -lc for building shared libraries.
13307 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13309 # Whether or not to disallow shared libs when runtime libs are static
13310 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13312 # Whether or not to optimize for fast installation.
13313 fast_install=$enable_fast_install
13316 host_alias=$host_alias
13320 # The build system.
13321 build_alias=$build_alias
13325 # An echo program that does not interpret backslashes.
13330 AR_FLAGS=$lt_AR_FLAGS
13335 # LTCC compiler flags.
13336 LTCFLAGS=$lt_LTCFLAGS
13338 # A language-specific compiler.
13339 CC=$lt_compiler_CXX
13341 # Is the compiler the GNU C compiler?
13347 # The linker used to build libraries.
13350 # Whether we need hard or soft links.
13353 # A BSD-compatible nm program.
13356 # A symbol stripping program
13359 # Used to examine libraries when file_magic_cmd begins "file"
13360 MAGIC_CMD=$MAGIC_CMD
13362 # Used on cygwin: DLL creation program.
13365 # Used on cygwin: object dumper.
13368 # Used on cygwin: assembler.
13371 # The name of the directory that contains temporary libtool files.
13374 # How to create reloadable object files.
13375 reload_flag=$lt_reload_flag
13376 reload_cmds=$lt_reload_cmds
13378 # How to pass a linker flag through the compiler.
13379 wl=$lt_lt_prog_compiler_wl_CXX
13381 # Object file suffix (normally "o").
13382 objext="$ac_objext"
13384 # Old archive suffix (normally "a").
13387 # Shared library suffix (normally ".so").
13388 shrext_cmds='$shrext_cmds'
13390 # Executable file suffix (normally "").
13393 # Additional compiler flags for building library objects.
13394 pic_flag=$lt_lt_prog_compiler_pic_CXX
13397 # What is the maximum length of a command?
13398 max_cmd_len=$lt_cv_sys_max_cmd_len
13400 # Does compiler simultaneously support -c and -o options?
13401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13403 # Must we lock files when doing compilation?
13404 need_locks=$lt_need_locks
13406 # Do we need the lib prefix for modules?
13407 need_lib_prefix=$need_lib_prefix
13409 # Do we need a version for libraries?
13410 need_version=$need_version
13412 # Whether dlopen is supported.
13413 dlopen_support=$enable_dlopen
13415 # Whether dlopen of programs is supported.
13416 dlopen_self=$enable_dlopen_self
13418 # Whether dlopen of statically linked programs is supported.
13419 dlopen_self_static=$enable_dlopen_self_static
13421 # Compiler flag to prevent dynamic linking.
13422 link_static_flag=$lt_lt_prog_compiler_static_CXX
13424 # Compiler flag to turn off builtin functions.
13425 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13427 # Compiler flag to allow reflexive dlopens.
13428 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13430 # Compiler flag to generate shared objects directly from archives.
13431 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13433 # Compiler flag to generate thread-safe objects.
13434 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13436 # Library versioning type.
13437 version_type=$version_type
13439 # Format of library name prefix.
13440 libname_spec=$lt_libname_spec
13442 # List of archive names. First name is the real one, the rest are links.
13443 # The last name is the one that the linker finds with -lNAME.
13444 library_names_spec=$lt_library_names_spec
13446 # The coded name of the library, if different from the real name.
13447 soname_spec=$lt_soname_spec
13449 # Commands used to build and install an old-style archive.
13451 old_archive_cmds=$lt_old_archive_cmds_CXX
13452 old_postinstall_cmds=$lt_old_postinstall_cmds
13453 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13455 # Create an old-style archive from a shared archive.
13456 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13458 # Create a temporary old-style archive to link instead of a shared archive.
13459 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13461 # Commands used to build and install a shared archive.
13462 archive_cmds=$lt_archive_cmds_CXX
13463 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13464 postinstall_cmds=$lt_postinstall_cmds
13465 postuninstall_cmds=$lt_postuninstall_cmds
13467 # Commands used to build a loadable module (assumed same as above if empty)
13468 module_cmds=$lt_module_cmds_CXX
13469 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13471 # Commands to strip libraries.
13472 old_striplib=$lt_old_striplib
13473 striplib=$lt_striplib
13475 # Dependencies to place before the objects being linked to create a
13477 predep_objects=$lt_predep_objects_CXX
13479 # Dependencies to place after the objects being linked to create a
13481 postdep_objects=$lt_postdep_objects_CXX
13483 # Dependencies to place before the objects being linked to create a
13485 predeps=$lt_predeps_CXX
13487 # Dependencies to place after the objects being linked to create a
13489 postdeps=$lt_postdeps_CXX
13491 # The library search path used internally by the compiler when linking
13492 # a shared library.
13493 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13495 # Method to check whether dependent libraries are shared objects.
13496 deplibs_check_method=$lt_deplibs_check_method
13498 # Command to use when deplibs_check_method == file_magic.
13499 file_magic_cmd=$lt_file_magic_cmd
13501 # Flag that allows shared libraries with undefined symbols to be built.
13502 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13504 # Flag that forces no undefined symbols.
13505 no_undefined_flag=$lt_no_undefined_flag_CXX
13507 # Commands used to finish a libtool library installation in a directory.
13508 finish_cmds=$lt_finish_cmds
13510 # Same as above, but a single script fragment to be evaled but not shown.
13511 finish_eval=$lt_finish_eval
13513 # Take the output of nm and produce a listing of raw symbols and C names.
13514 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13516 # Transform the output of nm in a proper C declaration
13517 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13519 # Transform the output of nm in a C name address pair
13520 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13522 # This is the shared library runtime path variable.
13523 runpath_var=$runpath_var
13525 # This is the shared library path variable.
13526 shlibpath_var=$shlibpath_var
13528 # Is shlibpath searched before the hard-coded library search path?
13529 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13531 # How to hardcode a shared library path into an executable.
13532 hardcode_action=$hardcode_action_CXX
13534 # Whether we should hardcode library paths into libraries.
13535 hardcode_into_libs=$hardcode_into_libs
13537 # Flag to hardcode \$libdir into a binary during linking.
13538 # This must work even if \$libdir does not exist.
13539 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13541 # If ld is used when linking, flag to hardcode \$libdir into
13542 # a binary during linking. This must work even if \$libdir does
13544 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13546 # Whether we need a single -rpath flag with a separated argument.
13547 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13549 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13550 # resulting binary.
13551 hardcode_direct=$hardcode_direct_CXX
13553 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13554 # resulting binary.
13555 hardcode_minus_L=$hardcode_minus_L_CXX
13557 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13558 # the resulting binary.
13559 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13561 # Set to yes if building a shared library automatically hardcodes DIR into the library
13562 # and all subsequent libraries and executables linked against it.
13563 hardcode_automatic=$hardcode_automatic_CXX
13565 # Variables whose values should be saved in libtool wrapper scripts and
13566 # restored at relink time.
13567 variables_saved_for_relink="$variables_saved_for_relink"
13569 # Whether libtool must link a program against all its dependency libraries.
13570 link_all_deplibs=$link_all_deplibs_CXX
13572 # Compile-time system search path for libraries
13573 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13575 # Run-time system search path for libraries
13576 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13578 # Fix the shell variable \$srcfile for the compiler.
13579 fix_srcfile_path="$fix_srcfile_path_CXX"
13581 # Set to yes if exported symbols are required.
13582 always_export_symbols=$always_export_symbols_CXX
13584 # The commands to list exported symbols.
13585 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13587 # The commands to extract the exported symbol list from a shared archive.
13588 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13590 # Symbols that should not be listed in the preloaded symbols.
13591 exclude_expsyms=$lt_exclude_expsyms_CXX
13593 # Symbols that must always be exported.
13594 include_expsyms=$lt_include_expsyms_CXX
13596 # ### END LIBTOOL TAG CONFIG: $tagname
13602 # If there is no Makefile yet, we rely on a make rule to execute
13603 # `config.status --recheck' to rerun these tests and create the
13604 # libtool script then.
13605 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13606 if test -f "$ltmain_in"; then
13607 test -f Makefile
&& make "$ltmain"
13613 ac_cpp
='$CPP $CPPFLAGS'
13614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13622 with_gnu_ldcxx
=$with_gnu_ld
13623 with_gnu_ld
=$lt_save_with_gnu_ld
13624 lt_cv_path_LDCXX
=$lt_cv_path_LD
13625 lt_cv_path_LD
=$lt_save_path_LD
13626 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13627 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13635 if test -n "$F77" && test "X$F77" != "Xno"; then
13638 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13639 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13643 archive_cmds_need_lc_F77
=no
13644 allow_undefined_flag_F77
=
13645 always_export_symbols_F77
=no
13646 archive_expsym_cmds_F77
=
13647 export_dynamic_flag_spec_F77
=
13648 hardcode_direct_F77
=no
13649 hardcode_libdir_flag_spec_F77
=
13650 hardcode_libdir_flag_spec_ld_F77
=
13651 hardcode_libdir_separator_F77
=
13652 hardcode_minus_L_F77
=no
13653 hardcode_automatic_F77
=no
13655 module_expsym_cmds_F77
=
13656 link_all_deplibs_F77
=unknown
13657 old_archive_cmds_F77
=$old_archive_cmds
13658 no_undefined_flag_F77
=
13659 whole_archive_flag_spec_F77
=
13660 enable_shared_with_static_runtimes_F77
=no
13662 # Source file extension for f77 test sources.
13665 # Object file extension for compiled f77 test sources.
13669 # Code to be used in simple compile tests
13670 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13672 # Code to be used in simple link tests
13673 lt_simple_link_test_code
=" program t\n end\n"
13675 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13677 # If no C compiler was specified, use CC.
13680 # If no C compiler flags were specified, use CFLAGS.
13681 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13683 # Allow CC to be a program name with arguments.
13687 # save warnings/boilerplate of simple test code
13688 ac_outfile
=conftest.
$ac_objext
13689 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13690 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13691 _lt_compiler_boilerplate
=`cat conftest.err`
13694 ac_outfile
=conftest.
$ac_objext
13695 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13696 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13697 _lt_linker_boilerplate
=`cat conftest.err`
13701 # Allow CC to be a program name with arguments.
13706 for cc_temp
in $compiler""; do
13708 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13709 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13714 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13717 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13718 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13719 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13720 echo "${ECHO_T}$can_build_shared" >&6; }
13722 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13723 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13724 test "$can_build_shared" = "no" && enable_shared
=no
13726 # On AIX, shared libraries and static libraries use the same namespace, and
13727 # are all built from PIC.
13730 test "$enable_shared" = yes && enable_static
=no
13731 if test -n "$RANLIB"; then
13732 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13733 postinstall_cmds
='$RANLIB $lib'
13737 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13738 test "$enable_shared" = yes && enable_static
=no
13742 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13743 echo "${ECHO_T}$enable_shared" >&6; }
13745 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13746 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13747 # Make sure either enable_shared or enable_static is yes.
13748 test "$enable_shared" = yes || enable_static
=yes
13749 { echo "$as_me:$LINENO: result: $enable_static" >&5
13750 echo "${ECHO_T}$enable_static" >&6; }
13755 lt_prog_compiler_wl_F77
=
13756 lt_prog_compiler_pic_F77
=
13757 lt_prog_compiler_static_F77
=
13759 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13760 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13762 if test "$GCC" = yes; then
13763 lt_prog_compiler_wl_F77
='-Wl,'
13764 lt_prog_compiler_static_F77
='-static'
13768 # All AIX code is PIC.
13769 if test "$host_cpu" = ia64
; then
13770 # AIX 5 now supports IA64 processor
13771 lt_prog_compiler_static_F77
='-Bstatic'
13776 # FIXME: we need at least 68020 code to build shared libraries, but
13777 # adding the `-m68020' flag to GCC prevents building anything better,
13779 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13782 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13783 # PIC is the default for these OSes.
13786 mingw
* | pw32
* | os2
*)
13787 # This hack is so that the source file can tell whether it is being
13788 # built for inclusion in a dll (and should export symbols for example).
13789 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13792 darwin
* | rhapsody
*)
13793 # PIC is the default on this platform
13794 # Common symbols not allowed in MH_DYLIB files
13795 lt_prog_compiler_pic_F77
='-fno-common'
13799 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13800 # Instead, we relocate shared libraries at runtime.
13804 # Just because we use GCC doesn't mean we suddenly get shared libraries
13805 # on systems that don't support them.
13806 lt_prog_compiler_can_build_shared_F77
=no
13811 if test -d /usr
/nec
; then
13812 lt_prog_compiler_pic_F77
=-Kconform_pic
13817 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13818 # not for PA HP-UX.
13824 lt_prog_compiler_pic_F77
='-fPIC'
13830 lt_prog_compiler_pic_F77
='-fPIC'
13834 # PORTME Check for flag to pass linker flags through the system compiler.
13837 lt_prog_compiler_wl_F77
='-Wl,'
13838 if test "$host_cpu" = ia64
; then
13839 # AIX 5 now supports IA64 processor
13840 lt_prog_compiler_static_F77
='-Bstatic'
13842 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13846 # PIC is the default on this platform
13847 # Common symbols not allowed in MH_DYLIB files
13848 case $cc_basename in
13850 lt_prog_compiler_pic_F77
='-qnocommon'
13851 lt_prog_compiler_wl_F77
='-Wl,'
13856 mingw
* | pw32
* | os2
*)
13857 # This hack is so that the source file can tell whether it is being
13858 # built for inclusion in a dll (and should export symbols for example).
13859 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13862 hpux9
* | hpux10
* | hpux11
*)
13863 lt_prog_compiler_wl_F77
='-Wl,'
13864 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13865 # not for PA HP-UX.
13871 lt_prog_compiler_pic_F77
='+Z'
13874 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13875 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13878 irix5
* | irix6
* | nonstopux
*)
13879 lt_prog_compiler_wl_F77
='-Wl,'
13880 # PIC (with -KPIC) is the default.
13881 lt_prog_compiler_static_F77
='-non_shared'
13885 lt_prog_compiler_pic_F77
='-KPIC'
13886 lt_prog_compiler_static_F77
='-Bstatic'
13890 case $cc_basename in
13892 lt_prog_compiler_wl_F77
='-Wl,'
13893 lt_prog_compiler_pic_F77
='-KPIC'
13894 lt_prog_compiler_static_F77
='-static'
13896 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13897 # Portland Group compilers (*not* the Pentium gcc compiler,
13898 # which looks to be a dead project)
13899 lt_prog_compiler_wl_F77
='-Wl,'
13900 lt_prog_compiler_pic_F77
='-fpic'
13901 lt_prog_compiler_static_F77
='-Bstatic'
13904 lt_prog_compiler_wl_F77
='-Wl,'
13905 # All Alpha code is PIC.
13906 lt_prog_compiler_static_F77
='-non_shared'
13911 osf3
* | osf4
* | osf5
*)
13912 lt_prog_compiler_wl_F77
='-Wl,'
13913 # All OSF/1 code is PIC.
13914 lt_prog_compiler_static_F77
='-non_shared'
13918 lt_prog_compiler_pic_F77
='-KPIC'
13919 lt_prog_compiler_static_F77
='-Bstatic'
13920 case $cc_basename in
13921 f77
* | f90
* | f95
*)
13922 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13924 lt_prog_compiler_wl_F77
='-Wl,';;
13929 lt_prog_compiler_wl_F77
='-Qoption ld '
13930 lt_prog_compiler_pic_F77
='-PIC'
13931 lt_prog_compiler_static_F77
='-Bstatic'
13934 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13935 lt_prog_compiler_wl_F77
='-Wl,'
13936 lt_prog_compiler_pic_F77
='-KPIC'
13937 lt_prog_compiler_static_F77
='-Bstatic'
13941 if test -d /usr
/nec
;then
13942 lt_prog_compiler_pic_F77
='-Kconform_pic'
13943 lt_prog_compiler_static_F77
='-Bstatic'
13947 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13948 lt_prog_compiler_wl_F77
='-Wl,'
13949 lt_prog_compiler_pic_F77
='-KPIC'
13950 lt_prog_compiler_static_F77
='-Bstatic'
13954 lt_prog_compiler_wl_F77
='-Wl,'
13955 lt_prog_compiler_can_build_shared_F77
=no
13959 lt_prog_compiler_pic_F77
='-pic'
13960 lt_prog_compiler_static_F77
='-Bstatic'
13964 lt_prog_compiler_can_build_shared_F77
=no
13969 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13970 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13973 # Check to make sure the PIC flag actually works.
13975 if test -n "$lt_prog_compiler_pic_F77"; then
13977 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13978 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13979 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 lt_prog_compiler_pic_works_F77
=no
13983 ac_outfile
=conftest.
$ac_objext
13984 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13985 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 # The option is referenced via a variable to avoid confusing sed.
13991 lt_compile
=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:13995: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>conftest.err
)
13998 cat conftest.err
>&5
13999 echo "$as_me:13999: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s "$ac_outfile"; then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings other than the usual output.
14003 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14004 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14005 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14006 lt_prog_compiler_pic_works_F77
=yes
14012 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14013 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14015 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14016 case $lt_prog_compiler_pic_F77 in
14018 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14021 lt_prog_compiler_pic_F77
=
14022 lt_prog_compiler_can_build_shared_F77
=no
14027 # For platforms which do not support PIC, -DPIC is meaningless:
14029 lt_prog_compiler_pic_F77
=
14032 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14037 # Check to make sure the static flag actually works.
14039 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14040 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14041 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14042 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 lt_prog_compiler_static_works_F77
=no
14046 save_LDFLAGS
="$LDFLAGS"
14047 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14048 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14049 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14050 # The linker can only warn and ignore the option if not recognized
14051 # So say no if there are warnings
14052 if test -s conftest.err
; then
14053 # Append any errors to the config.log.
14054 cat conftest.err
1>&5
14055 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14056 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14057 if diff conftest.exp conftest.er2
>/dev
/null
; then
14058 lt_prog_compiler_static_works_F77
=yes
14061 lt_prog_compiler_static_works_F77
=yes
14065 LDFLAGS
="$save_LDFLAGS"
14068 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14069 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14071 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14074 lt_prog_compiler_static_F77
=
14078 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14079 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14080 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 lt_cv_prog_compiler_c_o_F77
=no
14084 $rm -r conftest
2>/dev
/null
14088 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14090 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14091 # Insert the option either (1) after the last *FLAGS variable, or
14092 # (2) before a word containing "conftest.", or (3) at the end.
14093 # Note that $ac_compile itself does not contain backslashes and begins
14094 # with a dollar sign (not a hyphen), so the echo should work correctly.
14095 lt_compile
=`echo "$ac_compile" | $SED \
14096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14098 -e 's:$: $lt_compiler_flag:'`
14099 (eval echo "\"\$as_me:14099: $lt_compile\"" >&5)
14100 (eval "$lt_compile" 2>out
/conftest.err
)
14102 cat out
/conftest.err
>&5
14103 echo "$as_me:14103: \$? = $ac_status" >&5
14104 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14106 # The compiler can only warn and ignore the option if not recognized
14107 # So say no if there are warnings
14108 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14109 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14110 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14111 lt_cv_prog_compiler_c_o_F77
=yes
14116 # SGI C++ compiler will create directory out/ii_files/ for
14117 # template instantiation
14118 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14119 $rm out
/* && rmdir out
14125 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14126 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14129 hard_links
="nottested"
14130 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14131 # do not overwrite the value of need_locks provided by the user
14132 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14133 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14136 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14138 ln conftest.a conftest.b
2>&5 || hard_links
=no
14139 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14140 { echo "$as_me:$LINENO: result: $hard_links" >&5
14141 echo "${ECHO_T}$hard_links" >&6; }
14142 if test "$hard_links" = no
; then
14143 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14144 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14151 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14152 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14155 allow_undefined_flag_F77
=
14156 enable_shared_with_static_runtimes_F77
=no
14158 archive_expsym_cmds_F77
=
14159 old_archive_From_new_cmds_F77
=
14160 old_archive_from_expsyms_cmds_F77
=
14161 export_dynamic_flag_spec_F77
=
14162 whole_archive_flag_spec_F77
=
14163 thread_safe_flag_spec_F77
=
14164 hardcode_libdir_flag_spec_F77
=
14165 hardcode_libdir_flag_spec_ld_F77
=
14166 hardcode_libdir_separator_F77
=
14167 hardcode_direct_F77
=no
14168 hardcode_minus_L_F77
=no
14169 hardcode_shlibpath_var_F77
=unsupported
14170 link_all_deplibs_F77
=unknown
14171 hardcode_automatic_F77
=no
14173 module_expsym_cmds_F77
=
14174 always_export_symbols_F77
=no
14175 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14176 # include_expsyms should be a list of space-separated symbols to be *always*
14177 # included in the symbol list
14178 include_expsyms_F77
=
14179 # exclude_expsyms can be an extended regexp of symbols to exclude
14180 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14181 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14182 # as well as any symbol that contains `d'.
14183 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14184 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14185 # platforms (ab)use it in PIC code, but their linkers get confused if
14186 # the symbol is explicitly referenced. Since portable code cannot
14187 # rely on this symbol name, it's probably fine to never include it in
14188 # preloaded symbol tables.
14189 extract_expsyms_cmds
=
14190 # Just being paranoid about ensuring that cc_basename is set.
14191 for cc_temp
in $compiler""; do
14193 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14194 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14199 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14202 cygwin
* | mingw
* | pw32
*)
14203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14204 # When not using gcc, we currently assume that we are using
14205 # Microsoft Visual C++.
14206 if test "$GCC" != yes; then
14211 # we just hope/assume this is gcc and not c89 (= MSVC++)
14220 if test "$with_gnu_ld" = yes; then
14221 # If archive_cmds runs LD, not CC, wlarc should be empty
14224 # Set some defaults for GNU ld with shared library support. These
14225 # are reset later if shared libraries are not supported. Putting them
14226 # here allows them to be overridden if necessary.
14227 runpath_var
=LD_RUN_PATH
14228 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14229 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14230 # ancient GNU ld didn't support --whole-archive et. al.
14231 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14232 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14234 whole_archive_flag_spec_F77
=
14236 supports_anon_versioning
=no
14237 case `$LD -v 2>/dev/null` in
14238 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14239 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14240 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14241 *\
2.11.
*) ;; # other 2.11 versions
14242 *) supports_anon_versioning
=yes ;;
14245 # See if GNU ld supports shared libraries.
14247 aix3
* | aix4
* | aix5
*)
14248 # On AIX/PPC, the GNU linker is very broken
14249 if test "$host_cpu" != ia64
; then
14253 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14254 *** to be unable to reliably create shared libraries on AIX.
14255 *** Therefore, libtool is disabling shared libraries support. If you
14256 *** really care for shared libraries, you may want to modify your PATH
14257 *** so that a non-GNU linker is found, and then restart.
14264 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)'
14265 hardcode_libdir_flag_spec_F77
='-L$libdir'
14266 hardcode_minus_L_F77
=yes
14268 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14269 # that the semantics of dynamic libraries on AmigaOS, at least up
14270 # to version 4, is to share data among multiple programs linked
14271 # with the same dynamic library. Since this doesn't match the
14272 # behavior of shared libraries on other platforms, we can't use
14278 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14279 allow_undefined_flag_F77
=unsupported
14280 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14281 # support --undefined. This deserves some investigation. FIXME
14282 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14288 cygwin
* | mingw
* | pw32
*)
14289 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14290 # as there is no search path for DLLs.
14291 hardcode_libdir_flag_spec_F77
='-L$libdir'
14292 allow_undefined_flag_F77
=unsupported
14293 always_export_symbols_F77
=no
14294 enable_shared_with_static_runtimes_F77
=yes
14295 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14297 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14298 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14299 # If the export-symbols file already is a .def file (1st line
14300 # is EXPORTS), use it as is; otherwise, prepend...
14301 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14302 cp $export_symbols $output_objdir/$soname.def;
14304 echo EXPORTS > $output_objdir/$soname.def;
14305 cat $export_symbols >> $output_objdir/$soname.def;
14307 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14314 hardcode_direct_F77
=no
14315 hardcode_shlibpath_var_F77
=no
14316 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14317 export_dynamic_flag_spec_F77
='${wl}-E'
14318 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14319 # Instead, shared libraries are loaded at an image base (0x10000000 by
14320 # default) and relocated if they conflict, which is a slow very memory
14321 # consuming and fragmenting process. To avoid this, we pick a random,
14322 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14323 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14324 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'
14325 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'
14329 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14331 case $cc_basename,$host_cpu in
14332 pgcc
*) # Portland Group C compiler
14333 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'
14334 tmp_addflag
=' $pic_flag'
14336 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14337 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'
14338 tmp_addflag
=' $pic_flag -Mnomain' ;;
14339 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14340 tmp_addflag
=' -i_dynamic' ;;
14341 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14342 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14343 ifc
* | ifort
*) # Intel Fortran compiler
14344 tmp_addflag
=' -nofor_main' ;;
14346 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14348 if test $supports_anon_versioning = yes; then
14349 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14350 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14351 $echo "local: *; };" >> $output_objdir/$libname.ver~
14352 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14360 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14361 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14364 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14365 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 $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14375 *** create shared libraries on Solaris systems. Therefore, libtool
14376 *** is disabling shared libraries support. We urge you to upgrade GNU
14377 *** binutils to release 2.9.1 or newer. Another option is to modify
14378 *** your PATH or compiler configuration so that the native linker is
14379 *** used, and then restart.
14382 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14383 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14384 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14390 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14391 case `$LD -v 2>&1` in
14392 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14397 *** reliably create shared libraries on SCO systems. Therefore, libtool
14398 *** is disabling shared libraries support. We urge you to upgrade GNU
14399 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14400 *** your PATH or compiler configuration so that the native linker is
14401 *** used, and then restart.
14406 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14407 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14408 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14409 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14418 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14420 hardcode_direct_F77
=yes
14421 hardcode_shlibpath_var_F77
=no
14425 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14426 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14427 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14434 if test "$ld_shlibs_F77" = no
; then
14436 hardcode_libdir_flag_spec_F77
=
14437 export_dynamic_flag_spec_F77
=
14438 whole_archive_flag_spec_F77
=
14441 # PORTME fill in a description of your system's linker (not GNU ld)
14444 allow_undefined_flag_F77
=unsupported
14445 always_export_symbols_F77
=yes
14446 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'
14447 # Note: this linker hardcodes the directories in LIBPATH if there
14448 # are no directories specified by -L.
14449 hardcode_minus_L_F77
=yes
14450 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14451 # Neither direct hardcoding nor static linking is supported with a
14453 hardcode_direct_F77
=unsupported
14458 if test "$host_cpu" = ia64
; then
14459 # On IA64, the linker does run time linking by default, so we don't
14460 # have to do anything special.
14461 aix_use_runtimelinking
=no
14462 exp_sym_flag
='-Bexport'
14465 # If we're using GNU nm, then we don't want the "-C" option.
14466 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14467 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14468 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'
14470 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'
14472 aix_use_runtimelinking
=no
14474 # Test if we are trying to use run time linking or normal
14475 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14476 # need to do runtime linking.
14477 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14478 for ld_flag
in $LDFLAGS; do
14479 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14480 aix_use_runtimelinking
=yes
14487 exp_sym_flag
='-bexport'
14488 no_entry_flag
='-bnoentry'
14491 # When large executables or shared objects are built, AIX ld can
14492 # have problems creating the table of contents. If linking a library
14493 # or program results in "error TOC overflow" add -mminimal-toc to
14494 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14495 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14497 archive_cmds_F77
=''
14498 hardcode_direct_F77
=yes
14499 hardcode_libdir_separator_F77
=':'
14500 link_all_deplibs_F77
=yes
14502 if test "$GCC" = yes; then
14503 case $host_os in aix4.
[012]|aix4.
[012].
*)
14504 # We only want to do this on AIX 4.2 and lower, the check
14505 # below for broken collect2 doesn't work under 4.3+
14506 collect2name
=`${CC} -print-prog-name=collect2`
14507 if test -f "$collect2name" && \
14508 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14510 # We have reworked collect2
14511 hardcode_direct_F77
=yes
14513 # We have old collect2
14514 hardcode_direct_F77
=unsupported
14515 # It fails to find uninstalled libraries when the uninstalled
14516 # path is not listed in the libpath. Setting hardcode_minus_L
14517 # to unsupported forces relinking
14518 hardcode_minus_L_F77
=yes
14519 hardcode_libdir_flag_spec_F77
='-L$libdir'
14520 hardcode_libdir_separator_F77
=
14524 shared_flag
='-shared'
14525 if test "$aix_use_runtimelinking" = yes; then
14526 shared_flag
="$shared_flag "'${wl}-G'
14530 if test "$host_cpu" = ia64
; then
14531 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14532 # chokes on -Wl,-G. The following line is correct:
14535 if test "$aix_use_runtimelinking" = yes; then
14536 shared_flag
='${wl}-G'
14538 shared_flag
='${wl}-bM:SRE'
14543 # It seems that -bexpall does not export symbols beginning with
14544 # underscore (_), so it is better to generate a list of symbols to export.
14545 always_export_symbols_F77
=yes
14546 if test "$aix_use_runtimelinking" = yes; then
14547 # Warning - without using the other runtime loading flags (-brtl),
14548 # -berok will link without error, but may produce a broken library.
14549 allow_undefined_flag_F77
='-berok'
14550 # Determine the default libpath from the value encoded in an empty executable.
14551 cat >conftest.
$ac_ext <<_ACEOF
14556 rm -f conftest.
$ac_objext conftest
$ac_exeext
14557 if { (ac_try
="$ac_link"
14558 case "(($ac_try" in
14559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14560 *) ac_try_echo=$ac_try;;
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14565 grep -v '^ *+' conftest.er1 >conftest.err
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } && {
14570 test -z "$ac_f77_werror_flag" ||
14571 test ! -s conftest.err
14572 } && test -s conftest$ac_exeext &&
14573 $as_test_x conftest$ac_exeext; then
14575 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14577 # Check for a 64-bit object if we didn't find anything.
14578 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; }
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14588 conftest$ac_exeext conftest.$ac_ext
14589 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14591 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14592 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"
14594 if test "$host_cpu" = ia64; then
14595 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14596 allow_undefined_flag_F77="-z nodefs"
14597 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"
14599 # Determine the default libpath from the value encoded in an empty executable.
14600 cat >conftest.$ac_ext <<_ACEOF
14605 rm -f conftest.$ac_objext conftest$ac_exeext
14606 if { (ac_try="$ac_link"
14607 case "(($ac_try" in
14608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14609 *) ac_try_echo
=$ac_try;;
14611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14612 (eval "$ac_link") 2>conftest.er1
14614 grep -v '^ *+' conftest.er1
>conftest.err
14616 cat conftest.err
>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } && {
14619 test -z "$ac_f77_werror_flag" ||
14620 test ! -s conftest.err
14621 } && test -s conftest
$ac_exeext &&
14622 $as_test_x conftest
$ac_exeext; then
14624 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14626 # Check for a 64-bit object if we didn't find anything.
14627 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; }
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.
$ac_ext >&5
14636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14637 conftest
$ac_exeext conftest.
$ac_ext
14638 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14640 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14641 # Warning - without using the other run time loading flags,
14642 # -berok will link without error, but may produce a broken library.
14643 no_undefined_flag_F77
=' ${wl}-bernotok'
14644 allow_undefined_flag_F77
=' ${wl}-berok'
14645 # Exported symbols can be pulled into shared objects from archives
14646 whole_archive_flag_spec_F77
='$convenience'
14647 archive_cmds_need_lc_F77
=yes
14648 # This is similar to how AIX traditionally builds its shared libraries.
14649 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'
14655 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)'
14656 hardcode_libdir_flag_spec_F77
='-L$libdir'
14657 hardcode_minus_L_F77
=yes
14658 # see comment about different semantics on the GNU ld section
14663 export_dynamic_flag_spec_F77
=-rdynamic
14666 cygwin
* | mingw
* | pw32
*)
14667 # When not using gcc, we currently assume that we are using
14668 # Microsoft Visual C++.
14669 # hardcode_libdir_flag_spec is actually meaningless, as there is
14670 # no search path for DLLs.
14671 hardcode_libdir_flag_spec_F77
=' '
14672 allow_undefined_flag_F77
=unsupported
14673 # Tell ltmain to make .lib files, not .a files.
14675 # Tell ltmain to make .dll files, not .so files.
14677 # FIXME: Setting linknames here is a bad hack.
14678 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14679 # The linker will automatically build a .lib file if we build a DLL.
14680 old_archive_From_new_cmds_F77
='true'
14681 # FIXME: Should let the user specify the lib program.
14682 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14683 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14684 enable_shared_with_static_runtimes_F77
=yes
14687 darwin
* | rhapsody
*)
14689 rhapsody
* | darwin1.
[012])
14690 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14693 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14694 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14696 case ${MACOSX_DEPLOYMENT_TARGET} in
14698 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14701 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14707 archive_cmds_need_lc_F77
=no
14708 hardcode_direct_F77
=no
14709 hardcode_automatic_F77
=yes
14710 hardcode_shlibpath_var_F77
=unsupported
14711 whole_archive_flag_spec_F77
=''
14712 link_all_deplibs_F77
=yes
14713 if test "$GCC" = yes ; then
14714 output_verbose_link_cmd
='echo'
14715 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14716 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14717 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14718 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14719 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14721 case $cc_basename in
14723 output_verbose_link_cmd
='echo'
14724 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14725 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14726 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14727 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}'
14728 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}'
14738 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14739 hardcode_libdir_flag_spec_F77
='-L$libdir'
14740 hardcode_shlibpath_var_F77
=no
14747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14748 # support. Future versions do this automatically, but an explicit c++rt0.o
14749 # does not break anything, and helps significantly (at the cost of a little
14752 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14753 hardcode_libdir_flag_spec_F77
='-R$libdir'
14754 hardcode_direct_F77
=yes
14755 hardcode_shlibpath_var_F77
=no
14758 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14760 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14761 hardcode_direct_F77
=yes
14762 hardcode_minus_L_F77
=yes
14763 hardcode_shlibpath_var_F77
=no
14766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14767 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14768 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14769 hardcode_libdir_flag_spec_F77
='-R$libdir'
14770 hardcode_direct_F77
=yes
14771 hardcode_shlibpath_var_F77
=no
14775 if test "$GCC" = yes; then
14776 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'
14778 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'
14780 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14781 hardcode_libdir_separator_F77
=:
14782 hardcode_direct_F77
=yes
14784 # hardcode_minus_L: Not really in the search PATH,
14785 # but as the default location of the library.
14786 hardcode_minus_L_F77
=yes
14787 export_dynamic_flag_spec_F77
='${wl}-E'
14791 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14792 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14794 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14796 if test "$with_gnu_ld" = no
; then
14797 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14798 hardcode_libdir_separator_F77
=:
14800 hardcode_direct_F77
=yes
14801 export_dynamic_flag_spec_F77
='${wl}-E'
14803 # hardcode_minus_L: Not really in the search PATH,
14804 # but as the default location of the library.
14805 hardcode_minus_L_F77
=yes
14810 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14813 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14816 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14819 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14825 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14828 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14831 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14835 if test "$with_gnu_ld" = no
; then
14836 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14837 hardcode_libdir_separator_F77
=:
14841 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14842 hardcode_direct_F77
=no
14843 hardcode_shlibpath_var_F77
=no
14846 hardcode_direct_F77
=yes
14847 export_dynamic_flag_spec_F77
='${wl}-E'
14849 # hardcode_minus_L: Not really in the search PATH,
14850 # but as the default location of the library.
14851 hardcode_minus_L_F77
=yes
14857 irix5
* | irix6
* | nonstopux
*)
14858 if test "$GCC" = yes; then
14859 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'
14861 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'
14862 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14864 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14865 hardcode_libdir_separator_F77
=:
14866 link_all_deplibs_F77
=yes
14870 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14871 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14873 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14875 hardcode_libdir_flag_spec_F77
='-R$libdir'
14876 hardcode_direct_F77
=yes
14877 hardcode_shlibpath_var_F77
=no
14881 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14882 hardcode_direct_F77
=yes
14883 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14884 hardcode_libdir_separator_F77
=:
14885 hardcode_shlibpath_var_F77
=no
14889 hardcode_direct_F77
=yes
14890 hardcode_shlibpath_var_F77
=no
14891 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14892 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14893 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14894 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14895 export_dynamic_flag_spec_F77
='${wl}-E'
14898 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14899 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14900 hardcode_libdir_flag_spec_F77
='-R$libdir'
14903 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14904 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14911 hardcode_libdir_flag_spec_F77
='-L$libdir'
14912 hardcode_minus_L_F77
=yes
14913 allow_undefined_flag_F77
=unsupported
14914 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'
14915 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14919 if test "$GCC" = yes; then
14920 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14921 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'
14923 allow_undefined_flag_F77
=' -expect_unresolved \*'
14924 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'
14926 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14927 hardcode_libdir_separator_F77
=:
14930 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14931 if test "$GCC" = yes; then
14932 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14933 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'
14934 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14936 allow_undefined_flag_F77
=' -expect_unresolved \*'
14937 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'
14938 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~
14939 $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'
14941 # Both c and cxx compiler support -rpath directly
14942 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14944 hardcode_libdir_separator_F77
=:
14948 no_undefined_flag_F77
=' -z text'
14949 if test "$GCC" = yes; then
14951 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14952 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14953 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14956 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14957 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14958 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14960 hardcode_libdir_flag_spec_F77
='-R$libdir'
14961 hardcode_shlibpath_var_F77
=no
14963 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14965 # The compiler driver will combine linker options so we
14966 # cannot just pass the convience library names through
14967 # without $wl, iff we do not link with $LD.
14968 # Luckily, gcc supports the same syntax we need for Sun Studio.
14969 # Supported since Solaris 2.6 (maybe 2.5.1?)
14972 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14974 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' ;;
14977 link_all_deplibs_F77
=yes
14981 if test "x$host_vendor" = xsequent
; then
14982 # Use $CC to link under sequent, because it throws in some extra .o
14983 # files that make .init and .fini sections work.
14984 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14986 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14988 hardcode_libdir_flag_spec_F77
='-L$libdir'
14989 hardcode_direct_F77
=yes
14990 hardcode_minus_L_F77
=yes
14991 hardcode_shlibpath_var_F77
=no
14995 case $host_vendor in
14997 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14998 hardcode_direct_F77
=yes # is this really true???
15001 ## LD is ld it makes a PLAMLIB
15002 ## CC just makes a GrossModule.
15003 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15004 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15005 hardcode_direct_F77
=no
15008 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15009 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15012 runpath_var
='LD_RUN_PATH'
15013 hardcode_shlibpath_var_F77
=no
15017 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15018 hardcode_shlibpath_var_F77
=no
15019 export_dynamic_flag_spec_F77
='-Bexport'
15023 if test -d /usr
/nec
; then
15024 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15025 hardcode_shlibpath_var_F77
=no
15026 runpath_var
=LD_RUN_PATH
15027 hardcode_runpath_var
=yes
15032 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15033 no_undefined_flag_F77
='${wl}-z,text'
15034 archive_cmds_need_lc_F77
=no
15035 hardcode_shlibpath_var_F77
=no
15036 runpath_var
='LD_RUN_PATH'
15038 if test "$GCC" = yes; then
15039 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15040 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15042 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15043 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15047 sysv5
* | sco3.2v5
* | sco5v6
*)
15048 # Note: We can NOT use -z defs as we might desire, because we do not
15049 # link with -lc, and that would cause any symbols used from libc to
15050 # always be unresolved, which means just about no library would
15051 # ever link correctly. If we're not using GNU ld we use -z text
15052 # though, which does catch some bad symbols but isn't as heavy-handed
15054 no_undefined_flag_F77
='${wl}-z,text'
15055 allow_undefined_flag_F77
='${wl}-z,nodefs'
15056 archive_cmds_need_lc_F77
=no
15057 hardcode_shlibpath_var_F77
=no
15058 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15059 hardcode_libdir_separator_F77
=':'
15060 link_all_deplibs_F77
=yes
15061 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15062 runpath_var
='LD_RUN_PATH'
15064 if test "$GCC" = yes; then
15065 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15066 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15068 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15069 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15074 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15075 hardcode_libdir_flag_spec_F77
='-L$libdir'
15076 hardcode_shlibpath_var_F77
=no
15085 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15086 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15087 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15090 # Do we need to explicitly link libc?
15092 case "x$archive_cmds_need_lc_F77" in
15094 # Assume -lc should be added
15095 archive_cmds_need_lc_F77
=yes
15097 if test "$enable_shared" = yes && test "$GCC" = yes; then
15098 case $archive_cmds_F77 in
15100 # FIXME: we may have to deal with multi-command sequences.
15103 # Test whether the compiler implicitly links with -lc since on some
15104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15105 # to ld, don't add -lc before -lgcc.
15106 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15107 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15109 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } 2>conftest.err
; then
15118 libobjs
=conftest.
$ac_objext
15120 wl
=$lt_prog_compiler_wl_F77
15121 pic_flag
=$lt_prog_compiler_pic_F77
15127 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15128 allow_undefined_flag_F77
=
15129 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15130 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }
15135 archive_cmds_need_lc_F77
=no
15137 archive_cmds_need_lc_F77
=yes
15139 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15141 cat conftest.err
1>&5
15144 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15145 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15152 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15153 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15154 library_names_spec
=
15155 libname_spec
='lib$name'
15159 postuninstall_cmds
=
15163 shlibpath_overrides_runpath
=unknown
15165 dynamic_linker
="$host_os ld.so"
15166 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15167 if test "$GCC" = yes; then
15168 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15169 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15170 # if the path contains ";" then we assume it to be the separator
15171 # otherwise default to the standard path separator (i.e. ":") - it is
15172 # assumed that no part of a normal pathname contains ";" but that should
15173 # okay in the real world where ";" in dirpaths is itself problematic.
15174 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15176 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15179 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15181 need_lib_prefix
=unknown
15182 hardcode_into_libs
=no
15184 # when you set need_version to no, make sure it does not cause -set_version
15185 # flags to be left without arguments
15186 need_version
=unknown
15191 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15192 shlibpath_var
=LIBPATH
15194 # AIX 3 has no versioning support, so we append a major version to the name.
15195 soname_spec
='${libname}${release}${shared_ext}$major'
15202 hardcode_into_libs
=yes
15203 if test "$host_cpu" = ia64
; then
15204 # AIX 5 supports IA64
15205 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15206 shlibpath_var
=LD_LIBRARY_PATH
15208 # With GCC up to 2.95.x, collect2 would create an import file
15209 # for dependence libraries. The import file would start with
15210 # the line `#! .'. This would cause the generated library to
15211 # depend on `.', always an invalid library. This was fixed in
15212 # development snapshots of GCC prior to 3.0.
15214 aix4 | aix4.
[01] | aix4.
[01].
*)
15215 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15217 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15220 can_build_shared
=no
15224 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15225 # soname into executable. Probably we can add versioning support to
15226 # collect2, so additional links can be useful in future.
15227 if test "$aix_use_runtimelinking" = yes; then
15228 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15229 # instead of lib<name>.a to let people know that these are not
15230 # typical AIX shared libraries.
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15233 # We preserve .a as extension for shared libraries through AIX4.2
15234 # and later when we are not doing run time linking.
15235 library_names_spec
='${libname}${release}.a $libname.a'
15236 soname_spec
='${libname}${release}${shared_ext}$major'
15238 shlibpath_var
=LIBPATH
15243 library_names_spec
='$libname.ixlibrary $libname.a'
15244 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15245 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'
15249 library_names_spec
='${libname}${shared_ext}'
15250 dynamic_linker
="$host_os ld.so"
15251 shlibpath_var
=LIBRARY_PATH
15257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258 soname_spec
='${libname}${release}${shared_ext}$major'
15259 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15260 shlibpath_var
=LD_LIBRARY_PATH
15261 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15262 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15263 # the default ld.so.conf also contains /usr/contrib/lib and
15264 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15265 # libtool to hard-code these into programs
15268 cygwin
* | mingw
* | pw32
*)
15269 version_type
=windows
15274 case $GCC,$host_os in
15275 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15276 library_names_spec
='$libname.dll.a'
15277 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15278 postinstall_cmds
='base_file=`basename \${file}`~
15279 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15280 dldir=$destdir/`dirname \$dlpath`~
15281 test -d \$dldir || mkdir -p \$dldir~
15282 $install_prog $dir/$dlname \$dldir/$dlname~
15283 chmod a+x \$dldir/$dlname'
15284 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15285 dlpath=$dir/\$dldll~
15287 shlibpath_overrides_runpath
=yes
15291 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15292 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15293 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15296 # MinGW DLLs use traditional 'lib' prefix
15297 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15298 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15299 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15300 # It is most probably a Windows format PATH printed by
15301 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15302 # path with ; separators, and with drive letters. We can handle the
15303 # drive letters (cygwin fileutils understands them), so leave them,
15304 # especially as we might pass files found there to a mingw objdump,
15305 # which wouldn't understand a cygwinified path. Ahh.
15306 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15308 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15312 # pw32 DLLs use 'pw' prefix rather than 'lib'
15313 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15319 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15322 dynamic_linker
='Win32 ld.exe'
15323 # FIXME: first we should search . and the directory the executable is in
15327 darwin
* | rhapsody
*)
15328 dynamic_linker
="$host_os dyld"
15329 version_type
=darwin
15332 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15333 soname_spec
='${libname}${release}${major}$shared_ext'
15334 shlibpath_overrides_runpath
=yes
15335 shlibpath_var
=DYLD_LIBRARY_PATH
15336 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15337 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15338 if test "$GCC" = yes; then
15339 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"`
15341 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15343 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15352 shlibpath_var
=LD_LIBRARY_PATH
15363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15364 soname_spec
='${libname}${release}${shared_ext}$major'
15365 shlibpath_var
=LD_LIBRARY_PATH
15366 shlibpath_overrides_runpath
=no
15367 hardcode_into_libs
=yes
15368 dynamic_linker
='GNU ld.so'
15371 freebsd
* | dragonfly
*)
15372 # DragonFly does not have aout. When/if they implement a new
15373 # versioning mechanism, adjust this.
15374 if test -x /usr
/bin
/objformat
; then
15375 objformat
=`/usr/bin/objformat`
15378 freebsd
[123]*) objformat
=aout
;;
15379 *) objformat
=elf
;;
15382 version_type
=freebsd-
$objformat
15383 case $version_type in
15385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15390 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15394 shlibpath_var
=LD_LIBRARY_PATH
15397 shlibpath_overrides_runpath
=yes
15399 freebsd3.
[01]* | freebsdelf3.
[01]*)
15400 shlibpath_overrides_runpath
=yes
15401 hardcode_into_libs
=yes
15403 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15404 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15405 shlibpath_overrides_runpath
=no
15406 hardcode_into_libs
=yes
15408 freebsd
*) # from 4.6 on
15409 shlibpath_overrides_runpath
=yes
15410 hardcode_into_libs
=yes
15419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15420 soname_spec
='${libname}${release}${shared_ext}$major'
15421 shlibpath_var
=LD_LIBRARY_PATH
15422 hardcode_into_libs
=yes
15425 hpux9
* | hpux10
* | hpux11
*)
15426 # Give a soname corresponding to the major version so that dld.sl refuses to
15427 # link against other versions.
15434 hardcode_into_libs
=yes
15435 dynamic_linker
="$host_os dld.so"
15436 shlibpath_var
=LD_LIBRARY_PATH
15437 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15439 soname_spec
='${libname}${release}${shared_ext}$major'
15440 if test "X$HPUX_IA64_MODE" = X32
; then
15441 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15443 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15445 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15449 hardcode_into_libs
=yes
15450 dynamic_linker
="$host_os dld.sl"
15451 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15452 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15454 soname_spec
='${libname}${release}${shared_ext}$major'
15455 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15456 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15460 dynamic_linker
="$host_os dld.sl"
15461 shlibpath_var
=SHLIB_PATH
15462 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec
='${libname}${release}${shared_ext}$major'
15467 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15468 postinstall_cmds
='chmod 555 $lib'
15475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15478 shlibpath_var
=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath
=no
15480 hardcode_into_libs
=yes
15483 irix5
* | irix6
* | nonstopux
*)
15485 nonstopux
*) version_type
=nonstopux
;;
15487 if test "$lt_cv_prog_gnu_ld" = yes; then
15495 soname_spec
='${libname}${release}${shared_ext}$major'
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15498 irix5
* | nonstopux
*)
15499 libsuff
= shlibsuff
=
15502 case $LD in # libtool.m4 will add one of these switches to LD
15503 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15504 libsuff
= shlibsuff
= libmagic
=32-bit;;
15505 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15506 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15507 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15508 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15509 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15513 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15514 shlibpath_overrides_runpath
=no
15515 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15516 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15517 hardcode_into_libs
=yes
15520 # No shared lib support for Linux oldld, aout, or coff.
15521 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15525 # This must be Linux ELF.
15530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15531 soname_spec
='${libname}${release}${shared_ext}$major'
15532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15533 shlibpath_var
=LD_LIBRARY_PATH
15534 shlibpath_overrides_runpath
=no
15535 # This implies no fast_install, which is unacceptable.
15536 # Some rework will be needed to allow for fast_install
15537 # before this can be enabled.
15538 hardcode_into_libs
=yes
15540 # find out which ABI we are using
15542 case "$host_cpu" in
15543 x86_64
*|s390x
*|powerpc64
*)
15544 echo '#line 15544 "configure"' > conftest.
$ac_ext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; then
15550 case `/usr/bin/file conftest.$ac_objext` in
15553 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15561 # Append ld.so.conf contents to the search path
15562 if test -f /etc
/ld.so.conf
; then
15563 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15564 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15567 # We used to test for /lib/ld.so.1 and disable shared libraries on
15568 # powerpc, because MkLinux only supported shared libraries with the
15569 # GNU dynamic linker. Since this was broken with cross compilers,
15570 # most powerpc-linux boxes support dynamic linking these days and
15571 # people can always --disable-shared, the test was removed, and we
15572 # assume the GNU/Linux dynamic linker is in use.
15573 dynamic_linker
='GNU/Linux ld.so'
15580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15581 soname_spec
='${libname}${release}${shared_ext}$major'
15582 shlibpath_var
=LD_LIBRARY_PATH
15583 shlibpath_overrides_runpath
=no
15584 hardcode_into_libs
=yes
15585 dynamic_linker
='GNU ld.so'
15592 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15594 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15595 dynamic_linker
='NetBSD (a.out) ld.so'
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15598 soname_spec
='${libname}${release}${shared_ext}$major'
15599 dynamic_linker
='NetBSD ld.elf_so'
15601 shlibpath_var
=LD_LIBRARY_PATH
15602 shlibpath_overrides_runpath
=yes
15603 hardcode_into_libs
=yes
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15609 shlibpath_var
=LD_LIBRARY_PATH
15610 shlibpath_overrides_runpath
=yes
15617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 soname_spec
='${libname}${release}${shared_ext}$major'
15619 shlibpath_var
=LD_LIBRARY_PATH
15620 shlibpath_overrides_runpath
=yes
15625 sys_lib_dlsearch_path_spec
="/usr/lib"
15627 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15629 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15630 *) need_version
=no
;;
15632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15634 shlibpath_var
=LD_LIBRARY_PATH
15635 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15637 openbsd2.
[89] | openbsd2.
[89].
*)
15638 shlibpath_overrides_runpath
=no
15641 shlibpath_overrides_runpath
=yes
15645 shlibpath_overrides_runpath
=yes
15650 libname_spec
='$name'
15653 library_names_spec
='$libname${shared_ext} $libname.a'
15654 dynamic_linker
='OS/2 ld.exe'
15655 shlibpath_var
=LIBPATH
15658 osf3
* | osf4
* | osf5
*)
15662 soname_spec
='${libname}${release}${shared_ext}$major'
15663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15664 shlibpath_var
=LD_LIBRARY_PATH
15665 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15666 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15674 soname_spec
='${libname}${release}${shared_ext}$major'
15675 shlibpath_var
=LD_LIBRARY_PATH
15676 shlibpath_overrides_runpath
=yes
15677 hardcode_into_libs
=yes
15678 # ldd complains unless libraries are executable
15679 postinstall_cmds
='chmod +x $lib'
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15685 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15686 shlibpath_var
=LD_LIBRARY_PATH
15687 shlibpath_overrides_runpath
=yes
15688 if test "$with_gnu_ld" = yes; then
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 soname_spec
='${libname}${release}${shared_ext}$major'
15698 shlibpath_var
=LD_LIBRARY_PATH
15699 case $host_vendor in
15701 shlibpath_overrides_runpath
=no
15703 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15704 runpath_var
=LD_RUN_PATH
15712 shlibpath_overrides_runpath
=no
15713 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15719 if test -d /usr
/nec
;then
15721 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15722 soname_spec
='$libname${shared_ext}.$major'
15723 shlibpath_var
=LD_LIBRARY_PATH
15727 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15728 version_type
=freebsd-elf
15731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15732 soname_spec
='${libname}${release}${shared_ext}$major'
15733 shlibpath_var
=LD_LIBRARY_PATH
15734 hardcode_into_libs
=yes
15735 if test "$with_gnu_ld" = yes; then
15736 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15737 shlibpath_overrides_runpath
=no
15739 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15740 shlibpath_overrides_runpath
=yes
15743 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15747 sys_lib_dlsearch_path_spec
='/usr/lib'
15752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753 soname_spec
='${libname}${release}${shared_ext}$major'
15754 shlibpath_var
=LD_LIBRARY_PATH
15761 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15762 echo "${ECHO_T}$dynamic_linker" >&6; }
15763 test "$dynamic_linker" = no
&& can_build_shared
=no
15765 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15766 if test "$GCC" = yes; then
15767 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15770 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15771 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15772 hardcode_action_F77
=
15773 if test -n "$hardcode_libdir_flag_spec_F77" || \
15774 test -n "$runpath_var_F77" || \
15775 test "X$hardcode_automatic_F77" = "Xyes" ; then
15777 # We can hardcode non-existant directories.
15778 if test "$hardcode_direct_F77" != no
&&
15779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15780 # have to relink, otherwise we might link with an installed library
15781 # when we should be linking with a yet-to-be-installed one
15782 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15783 test "$hardcode_minus_L_F77" != no
; then
15784 # Linking always hardcodes the temporary library directory.
15785 hardcode_action_F77
=relink
15787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15788 hardcode_action_F77
=immediate
15791 # We cannot hardcode anything, or else we can only hardcode existing
15793 hardcode_action_F77
=unsupported
15795 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15796 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15798 if test "$hardcode_action_F77" = relink
; then
15799 # Fast installation is not supported
15800 enable_fast_install
=no
15801 elif test "$shlibpath_overrides_runpath" = yes ||
15802 test "$enable_shared" = no
; then
15803 # Fast installation is not necessary
15804 enable_fast_install
=needless
15808 # The else clause should only fire when bootstrapping the
15809 # libtool distribution, otherwise you forgot to ship ltmain.sh
15810 # with your package, and you will get complaints that there are
15811 # no rules to generate ltmain.sh.
15812 if test -f "$ltmain"; then
15813 # See if we are running on zsh, and set the options which allow our commands through
15814 # without removal of \ escapes.
15815 if test -n "${ZSH_VERSION+set}" ; then
15816 setopt NO_GLOB_SUBST
15818 # Now quote all the things that may contain metacharacters while being
15819 # careful not to overquote the AC_SUBSTed values. We take copies of the
15820 # variables and quote the copies for generation of the libtool script.
15821 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15823 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15824 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15825 deplibs_check_method reload_flag reload_cmds need_locks \
15826 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15827 lt_cv_sys_global_symbol_to_c_name_address \
15828 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15829 old_postinstall_cmds old_postuninstall_cmds \
15833 lt_prog_compiler_wl_F77 \
15834 lt_prog_compiler_pic_F77 \
15835 lt_prog_compiler_static_F77 \
15836 lt_prog_compiler_no_builtin_flag_F77 \
15837 export_dynamic_flag_spec_F77 \
15838 thread_safe_flag_spec_F77 \
15839 whole_archive_flag_spec_F77 \
15840 enable_shared_with_static_runtimes_F77 \
15841 old_archive_cmds_F77 \
15842 old_archive_from_new_cmds_F77 \
15843 predep_objects_F77 \
15844 postdep_objects_F77 \
15847 compiler_lib_search_path_F77 \
15849 archive_expsym_cmds_F77 \
15850 postinstall_cmds_F77 \
15851 postuninstall_cmds_F77 \
15852 old_archive_from_expsyms_cmds_F77 \
15853 allow_undefined_flag_F77 \
15854 no_undefined_flag_F77 \
15855 export_symbols_cmds_F77 \
15856 hardcode_libdir_flag_spec_F77 \
15857 hardcode_libdir_flag_spec_ld_F77 \
15858 hardcode_libdir_separator_F77 \
15859 hardcode_automatic_F77 \
15861 module_expsym_cmds_F77 \
15862 lt_cv_prog_compiler_c_o_F77 \
15863 exclude_expsyms_F77 \
15864 include_expsyms_F77
; do
15867 old_archive_cmds_F77 | \
15868 old_archive_from_new_cmds_F77 | \
15869 archive_cmds_F77 | \
15870 archive_expsym_cmds_F77 | \
15871 module_cmds_F77 | \
15872 module_expsym_cmds_F77 | \
15873 old_archive_from_expsyms_cmds_F77 | \
15874 export_symbols_cmds_F77 | \
15875 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15876 postinstall_cmds | postuninstall_cmds | \
15877 old_postinstall_cmds | old_postuninstall_cmds | \
15878 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15879 # Double-quote double-evaled strings.
15880 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15883 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15889 *'\$0 --fallback-echo"')
15890 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15896 cat <<__EOF__ >> "$cfgfile"
15897 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15899 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15901 # Shell to use when invoking shell scripts.
15904 # Whether or not to build shared libraries.
15905 build_libtool_libs=$enable_shared
15907 # Whether or not to build static libraries.
15908 build_old_libs=$enable_static
15910 # Whether or not to add -lc for building shared libraries.
15911 build_libtool_need_lc=$archive_cmds_need_lc_F77
15913 # Whether or not to disallow shared libs when runtime libs are static
15914 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15916 # Whether or not to optimize for fast installation.
15917 fast_install=$enable_fast_install
15920 host_alias=$host_alias
15924 # The build system.
15925 build_alias=$build_alias
15929 # An echo program that does not interpret backslashes.
15934 AR_FLAGS=$lt_AR_FLAGS
15939 # LTCC compiler flags.
15940 LTCFLAGS=$lt_LTCFLAGS
15942 # A language-specific compiler.
15943 CC=$lt_compiler_F77
15945 # Is the compiler the GNU C compiler?
15951 # The linker used to build libraries.
15954 # Whether we need hard or soft links.
15957 # A BSD-compatible nm program.
15960 # A symbol stripping program
15963 # Used to examine libraries when file_magic_cmd begins "file"
15964 MAGIC_CMD=$MAGIC_CMD
15966 # Used on cygwin: DLL creation program.
15969 # Used on cygwin: object dumper.
15972 # Used on cygwin: assembler.
15975 # The name of the directory that contains temporary libtool files.
15978 # How to create reloadable object files.
15979 reload_flag=$lt_reload_flag
15980 reload_cmds=$lt_reload_cmds
15982 # How to pass a linker flag through the compiler.
15983 wl=$lt_lt_prog_compiler_wl_F77
15985 # Object file suffix (normally "o").
15986 objext="$ac_objext"
15988 # Old archive suffix (normally "a").
15991 # Shared library suffix (normally ".so").
15992 shrext_cmds='$shrext_cmds'
15994 # Executable file suffix (normally "").
15997 # Additional compiler flags for building library objects.
15998 pic_flag=$lt_lt_prog_compiler_pic_F77
16001 # What is the maximum length of a command?
16002 max_cmd_len=$lt_cv_sys_max_cmd_len
16004 # Does compiler simultaneously support -c and -o options?
16005 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16007 # Must we lock files when doing compilation?
16008 need_locks=$lt_need_locks
16010 # Do we need the lib prefix for modules?
16011 need_lib_prefix=$need_lib_prefix
16013 # Do we need a version for libraries?
16014 need_version=$need_version
16016 # Whether dlopen is supported.
16017 dlopen_support=$enable_dlopen
16019 # Whether dlopen of programs is supported.
16020 dlopen_self=$enable_dlopen_self
16022 # Whether dlopen of statically linked programs is supported.
16023 dlopen_self_static=$enable_dlopen_self_static
16025 # Compiler flag to prevent dynamic linking.
16026 link_static_flag=$lt_lt_prog_compiler_static_F77
16028 # Compiler flag to turn off builtin functions.
16029 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16031 # Compiler flag to allow reflexive dlopens.
16032 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16034 # Compiler flag to generate shared objects directly from archives.
16035 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16037 # Compiler flag to generate thread-safe objects.
16038 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16040 # Library versioning type.
16041 version_type=$version_type
16043 # Format of library name prefix.
16044 libname_spec=$lt_libname_spec
16046 # List of archive names. First name is the real one, the rest are links.
16047 # The last name is the one that the linker finds with -lNAME.
16048 library_names_spec=$lt_library_names_spec
16050 # The coded name of the library, if different from the real name.
16051 soname_spec=$lt_soname_spec
16053 # Commands used to build and install an old-style archive.
16055 old_archive_cmds=$lt_old_archive_cmds_F77
16056 old_postinstall_cmds=$lt_old_postinstall_cmds
16057 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16059 # Create an old-style archive from a shared archive.
16060 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16062 # Create a temporary old-style archive to link instead of a shared archive.
16063 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16065 # Commands used to build and install a shared archive.
16066 archive_cmds=$lt_archive_cmds_F77
16067 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16068 postinstall_cmds=$lt_postinstall_cmds
16069 postuninstall_cmds=$lt_postuninstall_cmds
16071 # Commands used to build a loadable module (assumed same as above if empty)
16072 module_cmds=$lt_module_cmds_F77
16073 module_expsym_cmds=$lt_module_expsym_cmds_F77
16075 # Commands to strip libraries.
16076 old_striplib=$lt_old_striplib
16077 striplib=$lt_striplib
16079 # Dependencies to place before the objects being linked to create a
16081 predep_objects=$lt_predep_objects_F77
16083 # Dependencies to place after the objects being linked to create a
16085 postdep_objects=$lt_postdep_objects_F77
16087 # Dependencies to place before the objects being linked to create a
16089 predeps=$lt_predeps_F77
16091 # Dependencies to place after the objects being linked to create a
16093 postdeps=$lt_postdeps_F77
16095 # The library search path used internally by the compiler when linking
16096 # a shared library.
16097 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16099 # Method to check whether dependent libraries are shared objects.
16100 deplibs_check_method=$lt_deplibs_check_method
16102 # Command to use when deplibs_check_method == file_magic.
16103 file_magic_cmd=$lt_file_magic_cmd
16105 # Flag that allows shared libraries with undefined symbols to be built.
16106 allow_undefined_flag=$lt_allow_undefined_flag_F77
16108 # Flag that forces no undefined symbols.
16109 no_undefined_flag=$lt_no_undefined_flag_F77
16111 # Commands used to finish a libtool library installation in a directory.
16112 finish_cmds=$lt_finish_cmds
16114 # Same as above, but a single script fragment to be evaled but not shown.
16115 finish_eval=$lt_finish_eval
16117 # Take the output of nm and produce a listing of raw symbols and C names.
16118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16120 # Transform the output of nm in a proper C declaration
16121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16123 # Transform the output of nm in a C name address pair
16124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16126 # This is the shared library runtime path variable.
16127 runpath_var=$runpath_var
16129 # This is the shared library path variable.
16130 shlibpath_var=$shlibpath_var
16132 # Is shlibpath searched before the hard-coded library search path?
16133 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16135 # How to hardcode a shared library path into an executable.
16136 hardcode_action=$hardcode_action_F77
16138 # Whether we should hardcode library paths into libraries.
16139 hardcode_into_libs=$hardcode_into_libs
16141 # Flag to hardcode \$libdir into a binary during linking.
16142 # This must work even if \$libdir does not exist.
16143 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16145 # If ld is used when linking, flag to hardcode \$libdir into
16146 # a binary during linking. This must work even if \$libdir does
16148 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16150 # Whether we need a single -rpath flag with a separated argument.
16151 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16153 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16154 # resulting binary.
16155 hardcode_direct=$hardcode_direct_F77
16157 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16158 # resulting binary.
16159 hardcode_minus_L=$hardcode_minus_L_F77
16161 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16162 # the resulting binary.
16163 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16165 # Set to yes if building a shared library automatically hardcodes DIR into the library
16166 # and all subsequent libraries and executables linked against it.
16167 hardcode_automatic=$hardcode_automatic_F77
16169 # Variables whose values should be saved in libtool wrapper scripts and
16170 # restored at relink time.
16171 variables_saved_for_relink="$variables_saved_for_relink"
16173 # Whether libtool must link a program against all its dependency libraries.
16174 link_all_deplibs=$link_all_deplibs_F77
16176 # Compile-time system search path for libraries
16177 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16179 # Run-time system search path for libraries
16180 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16182 # Fix the shell variable \$srcfile for the compiler.
16183 fix_srcfile_path="$fix_srcfile_path_F77"
16185 # Set to yes if exported symbols are required.
16186 always_export_symbols=$always_export_symbols_F77
16188 # The commands to list exported symbols.
16189 export_symbols_cmds=$lt_export_symbols_cmds_F77
16191 # The commands to extract the exported symbol list from a shared archive.
16192 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16194 # Symbols that should not be listed in the preloaded symbols.
16195 exclude_expsyms=$lt_exclude_expsyms_F77
16197 # Symbols that must always be exported.
16198 include_expsyms=$lt_include_expsyms_F77
16200 # ### END LIBTOOL TAG CONFIG: $tagname
16206 # If there is no Makefile yet, we rely on a make rule to execute
16207 # `config.status --recheck' to rerun these tests and create the
16208 # libtool script then.
16209 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16210 if test -f "$ltmain_in"; then
16211 test -f Makefile
&& make "$ltmain"
16217 ac_cpp
='$CPP $CPPFLAGS'
16218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16230 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16233 # Source file extension for Java test sources.
16236 # Object file extension for compiled Java test sources.
16240 # Code to be used in simple compile tests
16241 lt_simple_compile_test_code
="class foo {}\n"
16243 # Code to be used in simple link tests
16244 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16246 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16248 # If no C compiler was specified, use CC.
16251 # If no C compiler flags were specified, use CFLAGS.
16252 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16254 # Allow CC to be a program name with arguments.
16258 # save warnings/boilerplate of simple test code
16259 ac_outfile
=conftest.
$ac_objext
16260 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16261 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16262 _lt_compiler_boilerplate
=`cat conftest.err`
16265 ac_outfile
=conftest.
$ac_objext
16266 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16267 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16268 _lt_linker_boilerplate
=`cat conftest.err`
16272 # Allow CC to be a program name with arguments.
16277 for cc_temp
in $compiler""; do
16279 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16280 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16285 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16288 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16289 archive_cmds_need_lc_GCJ
=no
16291 old_archive_cmds_GCJ
=$old_archive_cmds
16294 lt_prog_compiler_no_builtin_flag_GCJ
=
16296 if test "$GCC" = yes; then
16297 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16300 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16301 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16302 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 lt_cv_prog_compiler_rtti_exceptions
=no
16306 ac_outfile
=conftest.
$ac_objext
16307 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16308 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16309 # Insert the option either (1) after the last *FLAGS variable, or
16310 # (2) before a word containing "conftest.", or (3) at the end.
16311 # Note that $ac_compile itself does not contain backslashes and begins
16312 # with a dollar sign (not a hyphen), so the echo should work correctly.
16313 # The option is referenced via a variable to avoid confusing sed.
16314 lt_compile
=`echo "$ac_compile" | $SED \
16315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16317 -e 's:$: $lt_compiler_flag:'`
16318 (eval echo "\"\$as_me:16318: $lt_compile\"" >&5)
16319 (eval "$lt_compile" 2>conftest.err
)
16321 cat conftest.err
>&5
16322 echo "$as_me:16322: \$? = $ac_status" >&5
16323 if (exit $ac_status) && test -s "$ac_outfile"; then
16324 # The compiler can only warn and ignore the option if not recognized
16325 # So say no if there are warnings other than the usual output.
16326 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16327 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16328 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16329 lt_cv_prog_compiler_rtti_exceptions
=yes
16335 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16336 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16338 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16339 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16346 lt_prog_compiler_wl_GCJ
=
16347 lt_prog_compiler_pic_GCJ
=
16348 lt_prog_compiler_static_GCJ
=
16350 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16351 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16353 if test "$GCC" = yes; then
16354 lt_prog_compiler_wl_GCJ
='-Wl,'
16355 lt_prog_compiler_static_GCJ
='-static'
16359 # All AIX code is PIC.
16360 if test "$host_cpu" = ia64
; then
16361 # AIX 5 now supports IA64 processor
16362 lt_prog_compiler_static_GCJ
='-Bstatic'
16367 # FIXME: we need at least 68020 code to build shared libraries, but
16368 # adding the `-m68020' flag to GCC prevents building anything better,
16370 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16373 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16374 # PIC is the default for these OSes.
16377 mingw
* | pw32
* | os2
*)
16378 # This hack is so that the source file can tell whether it is being
16379 # built for inclusion in a dll (and should export symbols for example).
16380 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16383 darwin
* | rhapsody
*)
16384 # PIC is the default on this platform
16385 # Common symbols not allowed in MH_DYLIB files
16386 lt_prog_compiler_pic_GCJ
='-fno-common'
16390 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16391 # Instead, we relocate shared libraries at runtime.
16395 # Just because we use GCC doesn't mean we suddenly get shared libraries
16396 # on systems that don't support them.
16397 lt_prog_compiler_can_build_shared_GCJ
=no
16402 if test -d /usr
/nec
; then
16403 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16408 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16409 # not for PA HP-UX.
16415 lt_prog_compiler_pic_GCJ
='-fPIC'
16421 lt_prog_compiler_pic_GCJ
='-fPIC'
16425 # PORTME Check for flag to pass linker flags through the system compiler.
16428 lt_prog_compiler_wl_GCJ
='-Wl,'
16429 if test "$host_cpu" = ia64
; then
16430 # AIX 5 now supports IA64 processor
16431 lt_prog_compiler_static_GCJ
='-Bstatic'
16433 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16437 # PIC is the default on this platform
16438 # Common symbols not allowed in MH_DYLIB files
16439 case $cc_basename in
16441 lt_prog_compiler_pic_GCJ
='-qnocommon'
16442 lt_prog_compiler_wl_GCJ
='-Wl,'
16447 mingw
* | pw32
* | os2
*)
16448 # This hack is so that the source file can tell whether it is being
16449 # built for inclusion in a dll (and should export symbols for example).
16450 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16453 hpux9
* | hpux10
* | hpux11
*)
16454 lt_prog_compiler_wl_GCJ
='-Wl,'
16455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16456 # not for PA HP-UX.
16462 lt_prog_compiler_pic_GCJ
='+Z'
16465 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16466 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16469 irix5
* | irix6
* | nonstopux
*)
16470 lt_prog_compiler_wl_GCJ
='-Wl,'
16471 # PIC (with -KPIC) is the default.
16472 lt_prog_compiler_static_GCJ
='-non_shared'
16476 lt_prog_compiler_pic_GCJ
='-KPIC'
16477 lt_prog_compiler_static_GCJ
='-Bstatic'
16481 case $cc_basename in
16483 lt_prog_compiler_wl_GCJ
='-Wl,'
16484 lt_prog_compiler_pic_GCJ
='-KPIC'
16485 lt_prog_compiler_static_GCJ
='-static'
16487 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16488 # Portland Group compilers (*not* the Pentium gcc compiler,
16489 # which looks to be a dead project)
16490 lt_prog_compiler_wl_GCJ
='-Wl,'
16491 lt_prog_compiler_pic_GCJ
='-fpic'
16492 lt_prog_compiler_static_GCJ
='-Bstatic'
16495 lt_prog_compiler_wl_GCJ
='-Wl,'
16496 # All Alpha code is PIC.
16497 lt_prog_compiler_static_GCJ
='-non_shared'
16502 osf3
* | osf4
* | osf5
*)
16503 lt_prog_compiler_wl_GCJ
='-Wl,'
16504 # All OSF/1 code is PIC.
16505 lt_prog_compiler_static_GCJ
='-non_shared'
16509 lt_prog_compiler_pic_GCJ
='-KPIC'
16510 lt_prog_compiler_static_GCJ
='-Bstatic'
16511 case $cc_basename in
16512 f77
* | f90
* | f95
*)
16513 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16515 lt_prog_compiler_wl_GCJ
='-Wl,';;
16520 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16521 lt_prog_compiler_pic_GCJ
='-PIC'
16522 lt_prog_compiler_static_GCJ
='-Bstatic'
16525 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16526 lt_prog_compiler_wl_GCJ
='-Wl,'
16527 lt_prog_compiler_pic_GCJ
='-KPIC'
16528 lt_prog_compiler_static_GCJ
='-Bstatic'
16532 if test -d /usr
/nec
;then
16533 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16534 lt_prog_compiler_static_GCJ
='-Bstatic'
16538 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16539 lt_prog_compiler_wl_GCJ
='-Wl,'
16540 lt_prog_compiler_pic_GCJ
='-KPIC'
16541 lt_prog_compiler_static_GCJ
='-Bstatic'
16545 lt_prog_compiler_wl_GCJ
='-Wl,'
16546 lt_prog_compiler_can_build_shared_GCJ
=no
16550 lt_prog_compiler_pic_GCJ
='-pic'
16551 lt_prog_compiler_static_GCJ
='-Bstatic'
16555 lt_prog_compiler_can_build_shared_GCJ
=no
16560 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16561 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16564 # Check to make sure the PIC flag actually works.
16566 if test -n "$lt_prog_compiler_pic_GCJ"; then
16568 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16569 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16570 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 lt_prog_compiler_pic_works_GCJ
=no
16574 ac_outfile
=conftest.
$ac_objext
16575 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16576 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16577 # Insert the option either (1) after the last *FLAGS variable, or
16578 # (2) before a word containing "conftest.", or (3) at the end.
16579 # Note that $ac_compile itself does not contain backslashes and begins
16580 # with a dollar sign (not a hyphen), so the echo should work correctly.
16581 # The option is referenced via a variable to avoid confusing sed.
16582 lt_compile
=`echo "$ac_compile" | $SED \
16583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16585 -e 's:$: $lt_compiler_flag:'`
16586 (eval echo "\"\$as_me:16586: $lt_compile\"" >&5)
16587 (eval "$lt_compile" 2>conftest.err
)
16589 cat conftest.err
>&5
16590 echo "$as_me:16590: \$? = $ac_status" >&5
16591 if (exit $ac_status) && test -s "$ac_outfile"; then
16592 # The compiler can only warn and ignore the option if not recognized
16593 # So say no if there are warnings other than the usual output.
16594 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16596 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16597 lt_prog_compiler_pic_works_GCJ
=yes
16603 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16604 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16606 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16607 case $lt_prog_compiler_pic_GCJ in
16609 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16612 lt_prog_compiler_pic_GCJ
=
16613 lt_prog_compiler_can_build_shared_GCJ
=no
16618 # For platforms which do not support PIC, -DPIC is meaningless:
16620 lt_prog_compiler_pic_GCJ
=
16623 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16628 # Check to make sure the static flag actually works.
16630 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16631 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16632 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16633 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 lt_prog_compiler_static_works_GCJ
=no
16637 save_LDFLAGS
="$LDFLAGS"
16638 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16639 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16640 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16641 # The linker can only warn and ignore the option if not recognized
16642 # So say no if there are warnings
16643 if test -s conftest.err
; then
16644 # Append any errors to the config.log.
16645 cat conftest.err
1>&5
16646 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16648 if diff conftest.exp conftest.er2
>/dev
/null
; then
16649 lt_prog_compiler_static_works_GCJ
=yes
16652 lt_prog_compiler_static_works_GCJ
=yes
16656 LDFLAGS
="$save_LDFLAGS"
16659 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16660 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16662 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16665 lt_prog_compiler_static_GCJ
=
16669 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16670 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16671 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 lt_cv_prog_compiler_c_o_GCJ
=no
16675 $rm -r conftest
2>/dev
/null
16679 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16681 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16682 # Insert the option either (1) after the last *FLAGS variable, or
16683 # (2) before a word containing "conftest.", or (3) at the end.
16684 # Note that $ac_compile itself does not contain backslashes and begins
16685 # with a dollar sign (not a hyphen), so the echo should work correctly.
16686 lt_compile
=`echo "$ac_compile" | $SED \
16687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16689 -e 's:$: $lt_compiler_flag:'`
16690 (eval echo "\"\$as_me:16690: $lt_compile\"" >&5)
16691 (eval "$lt_compile" 2>out
/conftest.err
)
16693 cat out
/conftest.err
>&5
16694 echo "$as_me:16694: \$? = $ac_status" >&5
16695 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16697 # The compiler can only warn and ignore the option if not recognized
16698 # So say no if there are warnings
16699 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16700 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16701 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16702 lt_cv_prog_compiler_c_o_GCJ
=yes
16707 # SGI C++ compiler will create directory out/ii_files/ for
16708 # template instantiation
16709 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16710 $rm out
/* && rmdir out
16716 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16717 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16720 hard_links
="nottested"
16721 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16722 # do not overwrite the value of need_locks provided by the user
16723 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16724 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16727 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16729 ln conftest.a conftest.b
2>&5 || hard_links
=no
16730 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16731 { echo "$as_me:$LINENO: result: $hard_links" >&5
16732 echo "${ECHO_T}$hard_links" >&6; }
16733 if test "$hard_links" = no
; then
16734 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16735 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16742 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16743 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16746 allow_undefined_flag_GCJ
=
16747 enable_shared_with_static_runtimes_GCJ
=no
16749 archive_expsym_cmds_GCJ
=
16750 old_archive_From_new_cmds_GCJ
=
16751 old_archive_from_expsyms_cmds_GCJ
=
16752 export_dynamic_flag_spec_GCJ
=
16753 whole_archive_flag_spec_GCJ
=
16754 thread_safe_flag_spec_GCJ
=
16755 hardcode_libdir_flag_spec_GCJ
=
16756 hardcode_libdir_flag_spec_ld_GCJ
=
16757 hardcode_libdir_separator_GCJ
=
16758 hardcode_direct_GCJ
=no
16759 hardcode_minus_L_GCJ
=no
16760 hardcode_shlibpath_var_GCJ
=unsupported
16761 link_all_deplibs_GCJ
=unknown
16762 hardcode_automatic_GCJ
=no
16764 module_expsym_cmds_GCJ
=
16765 always_export_symbols_GCJ
=no
16766 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16767 # include_expsyms should be a list of space-separated symbols to be *always*
16768 # included in the symbol list
16769 include_expsyms_GCJ
=
16770 # exclude_expsyms can be an extended regexp of symbols to exclude
16771 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16772 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16773 # as well as any symbol that contains `d'.
16774 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16775 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16776 # platforms (ab)use it in PIC code, but their linkers get confused if
16777 # the symbol is explicitly referenced. Since portable code cannot
16778 # rely on this symbol name, it's probably fine to never include it in
16779 # preloaded symbol tables.
16780 extract_expsyms_cmds
=
16781 # Just being paranoid about ensuring that cc_basename is set.
16782 for cc_temp
in $compiler""; do
16784 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16785 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16790 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16793 cygwin
* | mingw
* | pw32
*)
16794 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16795 # When not using gcc, we currently assume that we are using
16796 # Microsoft Visual C++.
16797 if test "$GCC" != yes; then
16802 # we just hope/assume this is gcc and not c89 (= MSVC++)
16811 if test "$with_gnu_ld" = yes; then
16812 # If archive_cmds runs LD, not CC, wlarc should be empty
16815 # Set some defaults for GNU ld with shared library support. These
16816 # are reset later if shared libraries are not supported. Putting them
16817 # here allows them to be overridden if necessary.
16818 runpath_var
=LD_RUN_PATH
16819 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16820 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16821 # ancient GNU ld didn't support --whole-archive et. al.
16822 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16823 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16825 whole_archive_flag_spec_GCJ
=
16827 supports_anon_versioning
=no
16828 case `$LD -v 2>/dev/null` in
16829 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16830 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16831 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16832 *\
2.11.
*) ;; # other 2.11 versions
16833 *) supports_anon_versioning
=yes ;;
16836 # See if GNU ld supports shared libraries.
16838 aix3
* | aix4
* | aix5
*)
16839 # On AIX/PPC, the GNU linker is very broken
16840 if test "$host_cpu" != ia64
; then
16844 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16845 *** to be unable to reliably create shared libraries on AIX.
16846 *** Therefore, libtool is disabling shared libraries support. If you
16847 *** really care for shared libraries, you may want to modify your PATH
16848 *** so that a non-GNU linker is found, and then restart.
16855 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)'
16856 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16857 hardcode_minus_L_GCJ
=yes
16859 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16860 # that the semantics of dynamic libraries on AmigaOS, at least up
16861 # to version 4, is to share data among multiple programs linked
16862 # with the same dynamic library. Since this doesn't match the
16863 # behavior of shared libraries on other platforms, we can't use
16869 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16870 allow_undefined_flag_GCJ
=unsupported
16871 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16872 # support --undefined. This deserves some investigation. FIXME
16873 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16879 cygwin
* | mingw
* | pw32
*)
16880 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16881 # as there is no search path for DLLs.
16882 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16883 allow_undefined_flag_GCJ
=unsupported
16884 always_export_symbols_GCJ
=no
16885 enable_shared_with_static_runtimes_GCJ
=yes
16886 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16888 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16889 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16890 # If the export-symbols file already is a .def file (1st line
16891 # is EXPORTS), use it as is; otherwise, prepend...
16892 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16893 cp $export_symbols $output_objdir/$soname.def;
16895 echo EXPORTS > $output_objdir/$soname.def;
16896 cat $export_symbols >> $output_objdir/$soname.def;
16898 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16905 hardcode_direct_GCJ
=no
16906 hardcode_shlibpath_var_GCJ
=no
16907 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16908 export_dynamic_flag_spec_GCJ
='${wl}-E'
16909 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16910 # Instead, shared libraries are loaded at an image base (0x10000000 by
16911 # default) and relocated if they conflict, which is a slow very memory
16912 # consuming and fragmenting process. To avoid this, we pick a random,
16913 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16914 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16915 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'
16916 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'
16920 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16922 case $cc_basename,$host_cpu in
16923 pgcc
*) # Portland Group C compiler
16924 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'
16925 tmp_addflag
=' $pic_flag'
16927 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16928 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'
16929 tmp_addflag
=' $pic_flag -Mnomain' ;;
16930 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16931 tmp_addflag
=' -i_dynamic' ;;
16932 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16933 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16934 ifc
* | ifort
*) # Intel Fortran compiler
16935 tmp_addflag
=' -nofor_main' ;;
16937 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16939 if test $supports_anon_versioning = yes; then
16940 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16941 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16942 $echo "local: *; };" >> $output_objdir/$libname.ver~
16943 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16951 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16952 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16955 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16956 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16961 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16965 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16966 *** create shared libraries on Solaris systems. Therefore, libtool
16967 *** is disabling shared libraries support. We urge you to upgrade GNU
16968 *** binutils to release 2.9.1 or newer. Another option is to modify
16969 *** your PATH or compiler configuration so that the native linker is
16970 *** used, and then restart.
16973 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16974 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16975 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16981 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16982 case `$LD -v 2>&1` in
16983 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16987 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16988 *** reliably create shared libraries on SCO systems. Therefore, libtool
16989 *** is disabling shared libraries support. We urge you to upgrade GNU
16990 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16991 *** your PATH or compiler configuration so that the native linker is
16992 *** used, and then restart.
16997 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16998 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16999 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17000 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17009 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17011 hardcode_direct_GCJ
=yes
17012 hardcode_shlibpath_var_GCJ
=no
17016 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17017 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17018 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17025 if test "$ld_shlibs_GCJ" = no
; then
17027 hardcode_libdir_flag_spec_GCJ
=
17028 export_dynamic_flag_spec_GCJ
=
17029 whole_archive_flag_spec_GCJ
=
17032 # PORTME fill in a description of your system's linker (not GNU ld)
17035 allow_undefined_flag_GCJ
=unsupported
17036 always_export_symbols_GCJ
=yes
17037 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'
17038 # Note: this linker hardcodes the directories in LIBPATH if there
17039 # are no directories specified by -L.
17040 hardcode_minus_L_GCJ
=yes
17041 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17042 # Neither direct hardcoding nor static linking is supported with a
17044 hardcode_direct_GCJ
=unsupported
17049 if test "$host_cpu" = ia64
; then
17050 # On IA64, the linker does run time linking by default, so we don't
17051 # have to do anything special.
17052 aix_use_runtimelinking
=no
17053 exp_sym_flag
='-Bexport'
17056 # If we're using GNU nm, then we don't want the "-C" option.
17057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17058 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17059 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'
17061 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'
17063 aix_use_runtimelinking
=no
17065 # Test if we are trying to use run time linking or normal
17066 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17067 # need to do runtime linking.
17068 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17069 for ld_flag
in $LDFLAGS; do
17070 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17071 aix_use_runtimelinking
=yes
17078 exp_sym_flag
='-bexport'
17079 no_entry_flag
='-bnoentry'
17082 # When large executables or shared objects are built, AIX ld can
17083 # have problems creating the table of contents. If linking a library
17084 # or program results in "error TOC overflow" add -mminimal-toc to
17085 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17086 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17088 archive_cmds_GCJ
=''
17089 hardcode_direct_GCJ
=yes
17090 hardcode_libdir_separator_GCJ
=':'
17091 link_all_deplibs_GCJ
=yes
17093 if test "$GCC" = yes; then
17094 case $host_os in aix4.
[012]|aix4.
[012].
*)
17095 # We only want to do this on AIX 4.2 and lower, the check
17096 # below for broken collect2 doesn't work under 4.3+
17097 collect2name
=`${CC} -print-prog-name=collect2`
17098 if test -f "$collect2name" && \
17099 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17101 # We have reworked collect2
17102 hardcode_direct_GCJ
=yes
17104 # We have old collect2
17105 hardcode_direct_GCJ
=unsupported
17106 # It fails to find uninstalled libraries when the uninstalled
17107 # path is not listed in the libpath. Setting hardcode_minus_L
17108 # to unsupported forces relinking
17109 hardcode_minus_L_GCJ
=yes
17110 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17111 hardcode_libdir_separator_GCJ
=
17115 shared_flag
='-shared'
17116 if test "$aix_use_runtimelinking" = yes; then
17117 shared_flag
="$shared_flag "'${wl}-G'
17121 if test "$host_cpu" = ia64
; then
17122 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17123 # chokes on -Wl,-G. The following line is correct:
17126 if test "$aix_use_runtimelinking" = yes; then
17127 shared_flag
='${wl}-G'
17129 shared_flag
='${wl}-bM:SRE'
17134 # It seems that -bexpall does not export symbols beginning with
17135 # underscore (_), so it is better to generate a list of symbols to export.
17136 always_export_symbols_GCJ
=yes
17137 if test "$aix_use_runtimelinking" = yes; then
17138 # Warning - without using the other runtime loading flags (-brtl),
17139 # -berok will link without error, but may produce a broken library.
17140 allow_undefined_flag_GCJ
='-berok'
17141 # Determine the default libpath from the value encoded in an empty executable.
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17157 rm -f conftest.
$ac_objext conftest
$ac_exeext
17158 if { (ac_try
="$ac_link"
17159 case "(($ac_try" in
17160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_link") 2>conftest.er1
17166 grep -v '^ *+' conftest.er1 >conftest.err
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } && {
17171 test -z "$ac_c_werror_flag" ||
17172 test ! -s conftest.err
17173 } && test -s conftest$ac_exeext &&
17174 $as_test_x conftest$ac_exeext; then
17176 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17178 # Check for a 64-bit object if we didn't find anything.
17179 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; }
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17189 conftest$ac_exeext conftest.$ac_ext
17190 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17192 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17193 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"
17195 if test "$host_cpu" = ia64; then
17196 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17197 allow_undefined_flag_GCJ="-z nodefs"
17198 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"
17200 # Determine the default libpath from the value encoded in an empty executable.
17201 cat >conftest.$ac_ext <<_ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17216 rm -f conftest.$ac_objext conftest$ac_exeext
17217 if { (ac_try="$ac_link"
17218 case "(($ac_try" in
17219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17220 *) ac_try_echo
=$ac_try;;
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_link") 2>conftest.er1
17225 grep -v '^ *+' conftest.er1
>conftest.err
17227 cat conftest.err
>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest
$ac_exeext &&
17233 $as_test_x conftest
$ac_exeext; then
17235 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17237 # Check for a 64-bit object if we didn't find anything.
17238 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; }
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.
$ac_ext >&5
17247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17248 conftest
$ac_exeext conftest.
$ac_ext
17249 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17251 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17252 # Warning - without using the other run time loading flags,
17253 # -berok will link without error, but may produce a broken library.
17254 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17255 allow_undefined_flag_GCJ
=' ${wl}-berok'
17256 # Exported symbols can be pulled into shared objects from archives
17257 whole_archive_flag_spec_GCJ
='$convenience'
17258 archive_cmds_need_lc_GCJ
=yes
17259 # This is similar to how AIX traditionally builds its shared libraries.
17260 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'
17266 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)'
17267 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17268 hardcode_minus_L_GCJ
=yes
17269 # see comment about different semantics on the GNU ld section
17274 export_dynamic_flag_spec_GCJ
=-rdynamic
17277 cygwin
* | mingw
* | pw32
*)
17278 # When not using gcc, we currently assume that we are using
17279 # Microsoft Visual C++.
17280 # hardcode_libdir_flag_spec is actually meaningless, as there is
17281 # no search path for DLLs.
17282 hardcode_libdir_flag_spec_GCJ
=' '
17283 allow_undefined_flag_GCJ
=unsupported
17284 # Tell ltmain to make .lib files, not .a files.
17286 # Tell ltmain to make .dll files, not .so files.
17288 # FIXME: Setting linknames here is a bad hack.
17289 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17290 # The linker will automatically build a .lib file if we build a DLL.
17291 old_archive_From_new_cmds_GCJ
='true'
17292 # FIXME: Should let the user specify the lib program.
17293 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17294 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17295 enable_shared_with_static_runtimes_GCJ
=yes
17298 darwin
* | rhapsody
*)
17300 rhapsody
* | darwin1.
[012])
17301 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17304 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17305 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17307 case ${MACOSX_DEPLOYMENT_TARGET} in
17309 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17312 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17318 archive_cmds_need_lc_GCJ
=no
17319 hardcode_direct_GCJ
=no
17320 hardcode_automatic_GCJ
=yes
17321 hardcode_shlibpath_var_GCJ
=unsupported
17322 whole_archive_flag_spec_GCJ
=''
17323 link_all_deplibs_GCJ
=yes
17324 if test "$GCC" = yes ; then
17325 output_verbose_link_cmd
='echo'
17326 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17327 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17328 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17329 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17330 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17332 case $cc_basename in
17334 output_verbose_link_cmd
='echo'
17335 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17336 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17337 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17338 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}'
17339 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}'
17349 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17350 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17351 hardcode_shlibpath_var_GCJ
=no
17358 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17359 # support. Future versions do this automatically, but an explicit c++rt0.o
17360 # does not break anything, and helps significantly (at the cost of a little
17363 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17364 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17365 hardcode_direct_GCJ
=yes
17366 hardcode_shlibpath_var_GCJ
=no
17369 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17371 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17372 hardcode_direct_GCJ
=yes
17373 hardcode_minus_L_GCJ
=yes
17374 hardcode_shlibpath_var_GCJ
=no
17377 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17378 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17379 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17380 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17381 hardcode_direct_GCJ
=yes
17382 hardcode_shlibpath_var_GCJ
=no
17386 if test "$GCC" = yes; then
17387 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'
17389 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'
17391 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17392 hardcode_libdir_separator_GCJ
=:
17393 hardcode_direct_GCJ
=yes
17395 # hardcode_minus_L: Not really in the search PATH,
17396 # but as the default location of the library.
17397 hardcode_minus_L_GCJ
=yes
17398 export_dynamic_flag_spec_GCJ
='${wl}-E'
17402 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17403 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17405 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17407 if test "$with_gnu_ld" = no
; then
17408 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17409 hardcode_libdir_separator_GCJ
=:
17411 hardcode_direct_GCJ
=yes
17412 export_dynamic_flag_spec_GCJ
='${wl}-E'
17414 # hardcode_minus_L: Not really in the search PATH,
17415 # but as the default location of the library.
17416 hardcode_minus_L_GCJ
=yes
17421 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17424 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17427 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17430 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17436 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17439 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17442 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17446 if test "$with_gnu_ld" = no
; then
17447 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17448 hardcode_libdir_separator_GCJ
=:
17452 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17453 hardcode_direct_GCJ
=no
17454 hardcode_shlibpath_var_GCJ
=no
17457 hardcode_direct_GCJ
=yes
17458 export_dynamic_flag_spec_GCJ
='${wl}-E'
17460 # hardcode_minus_L: Not really in the search PATH,
17461 # but as the default location of the library.
17462 hardcode_minus_L_GCJ
=yes
17468 irix5
* | irix6
* | nonstopux
*)
17469 if test "$GCC" = yes; then
17470 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'
17472 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'
17473 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17475 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17476 hardcode_libdir_separator_GCJ
=:
17477 link_all_deplibs_GCJ
=yes
17481 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17482 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17484 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17486 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17487 hardcode_direct_GCJ
=yes
17488 hardcode_shlibpath_var_GCJ
=no
17492 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17493 hardcode_direct_GCJ
=yes
17494 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17495 hardcode_libdir_separator_GCJ
=:
17496 hardcode_shlibpath_var_GCJ
=no
17500 hardcode_direct_GCJ
=yes
17501 hardcode_shlibpath_var_GCJ
=no
17502 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17503 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17504 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17505 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17506 export_dynamic_flag_spec_GCJ
='${wl}-E'
17509 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17510 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17511 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17514 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17515 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17522 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17523 hardcode_minus_L_GCJ
=yes
17524 allow_undefined_flag_GCJ
=unsupported
17525 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'
17526 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17530 if test "$GCC" = yes; then
17531 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17532 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'
17534 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17535 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'
17537 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17538 hardcode_libdir_separator_GCJ
=:
17541 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17542 if test "$GCC" = yes; then
17543 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17544 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'
17545 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17547 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17548 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'
17549 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~
17550 $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'
17552 # Both c and cxx compiler support -rpath directly
17553 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17555 hardcode_libdir_separator_GCJ
=:
17559 no_undefined_flag_GCJ
=' -z text'
17560 if test "$GCC" = yes; then
17562 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17563 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17564 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17567 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17568 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17569 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17571 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17572 hardcode_shlibpath_var_GCJ
=no
17574 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17576 # The compiler driver will combine linker options so we
17577 # cannot just pass the convience library names through
17578 # without $wl, iff we do not link with $LD.
17579 # Luckily, gcc supports the same syntax we need for Sun Studio.
17580 # Supported since Solaris 2.6 (maybe 2.5.1?)
17583 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17585 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' ;;
17588 link_all_deplibs_GCJ
=yes
17592 if test "x$host_vendor" = xsequent
; then
17593 # Use $CC to link under sequent, because it throws in some extra .o
17594 # files that make .init and .fini sections work.
17595 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17597 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17599 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17600 hardcode_direct_GCJ
=yes
17601 hardcode_minus_L_GCJ
=yes
17602 hardcode_shlibpath_var_GCJ
=no
17606 case $host_vendor in
17608 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17609 hardcode_direct_GCJ
=yes # is this really true???
17612 ## LD is ld it makes a PLAMLIB
17613 ## CC just makes a GrossModule.
17614 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17615 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17616 hardcode_direct_GCJ
=no
17619 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17620 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17623 runpath_var
='LD_RUN_PATH'
17624 hardcode_shlibpath_var_GCJ
=no
17628 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17629 hardcode_shlibpath_var_GCJ
=no
17630 export_dynamic_flag_spec_GCJ
='-Bexport'
17634 if test -d /usr
/nec
; then
17635 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17636 hardcode_shlibpath_var_GCJ
=no
17637 runpath_var
=LD_RUN_PATH
17638 hardcode_runpath_var
=yes
17643 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17644 no_undefined_flag_GCJ
='${wl}-z,text'
17645 archive_cmds_need_lc_GCJ
=no
17646 hardcode_shlibpath_var_GCJ
=no
17647 runpath_var
='LD_RUN_PATH'
17649 if test "$GCC" = yes; then
17650 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17651 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17653 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17654 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17658 sysv5
* | sco3.2v5
* | sco5v6
*)
17659 # Note: We can NOT use -z defs as we might desire, because we do not
17660 # link with -lc, and that would cause any symbols used from libc to
17661 # always be unresolved, which means just about no library would
17662 # ever link correctly. If we're not using GNU ld we use -z text
17663 # though, which does catch some bad symbols but isn't as heavy-handed
17665 no_undefined_flag_GCJ
='${wl}-z,text'
17666 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17667 archive_cmds_need_lc_GCJ
=no
17668 hardcode_shlibpath_var_GCJ
=no
17669 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17670 hardcode_libdir_separator_GCJ
=':'
17671 link_all_deplibs_GCJ
=yes
17672 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17673 runpath_var
='LD_RUN_PATH'
17675 if test "$GCC" = yes; then
17676 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17677 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17679 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17680 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17685 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17686 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17687 hardcode_shlibpath_var_GCJ
=no
17696 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17697 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17698 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17701 # Do we need to explicitly link libc?
17703 case "x$archive_cmds_need_lc_GCJ" in
17705 # Assume -lc should be added
17706 archive_cmds_need_lc_GCJ
=yes
17708 if test "$enable_shared" = yes && test "$GCC" = yes; then
17709 case $archive_cmds_GCJ in
17711 # FIXME: we may have to deal with multi-command sequences.
17714 # Test whether the compiler implicitly links with -lc since on some
17715 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17716 # to ld, don't add -lc before -lgcc.
17717 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17718 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17720 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } 2>conftest.err
; then
17729 libobjs
=conftest.
$ac_objext
17731 wl
=$lt_prog_compiler_wl_GCJ
17732 pic_flag
=$lt_prog_compiler_pic_GCJ
17738 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17739 allow_undefined_flag_GCJ
=
17740 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17741 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); }
17746 archive_cmds_need_lc_GCJ
=no
17748 archive_cmds_need_lc_GCJ
=yes
17750 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17752 cat conftest.err
1>&5
17755 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17756 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17763 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17764 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17765 library_names_spec
=
17766 libname_spec
='lib$name'
17770 postuninstall_cmds
=
17774 shlibpath_overrides_runpath
=unknown
17776 dynamic_linker
="$host_os ld.so"
17777 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17778 if test "$GCC" = yes; then
17779 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17780 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17781 # if the path contains ";" then we assume it to be the separator
17782 # otherwise default to the standard path separator (i.e. ":") - it is
17783 # assumed that no part of a normal pathname contains ";" but that should
17784 # okay in the real world where ";" in dirpaths is itself problematic.
17785 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17787 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17790 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17792 need_lib_prefix
=unknown
17793 hardcode_into_libs
=no
17795 # when you set need_version to no, make sure it does not cause -set_version
17796 # flags to be left without arguments
17797 need_version
=unknown
17802 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17803 shlibpath_var
=LIBPATH
17805 # AIX 3 has no versioning support, so we append a major version to the name.
17806 soname_spec
='${libname}${release}${shared_ext}$major'
17813 hardcode_into_libs
=yes
17814 if test "$host_cpu" = ia64
; then
17815 # AIX 5 supports IA64
17816 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17817 shlibpath_var
=LD_LIBRARY_PATH
17819 # With GCC up to 2.95.x, collect2 would create an import file
17820 # for dependence libraries. The import file would start with
17821 # the line `#! .'. This would cause the generated library to
17822 # depend on `.', always an invalid library. This was fixed in
17823 # development snapshots of GCC prior to 3.0.
17825 aix4 | aix4.
[01] | aix4.
[01].
*)
17826 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17828 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17831 can_build_shared
=no
17835 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17836 # soname into executable. Probably we can add versioning support to
17837 # collect2, so additional links can be useful in future.
17838 if test "$aix_use_runtimelinking" = yes; then
17839 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17840 # instead of lib<name>.a to let people know that these are not
17841 # typical AIX shared libraries.
17842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17844 # We preserve .a as extension for shared libraries through AIX4.2
17845 # and later when we are not doing run time linking.
17846 library_names_spec
='${libname}${release}.a $libname.a'
17847 soname_spec
='${libname}${release}${shared_ext}$major'
17849 shlibpath_var
=LIBPATH
17854 library_names_spec
='$libname.ixlibrary $libname.a'
17855 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17856 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'
17860 library_names_spec
='${libname}${shared_ext}'
17861 dynamic_linker
="$host_os ld.so"
17862 shlibpath_var
=LIBRARY_PATH
17868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17869 soname_spec
='${libname}${release}${shared_ext}$major'
17870 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17871 shlibpath_var
=LD_LIBRARY_PATH
17872 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17873 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17874 # the default ld.so.conf also contains /usr/contrib/lib and
17875 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17876 # libtool to hard-code these into programs
17879 cygwin
* | mingw
* | pw32
*)
17880 version_type
=windows
17885 case $GCC,$host_os in
17886 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17887 library_names_spec
='$libname.dll.a'
17888 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17889 postinstall_cmds
='base_file=`basename \${file}`~
17890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17891 dldir=$destdir/`dirname \$dlpath`~
17892 test -d \$dldir || mkdir -p \$dldir~
17893 $install_prog $dir/$dlname \$dldir/$dlname~
17894 chmod a+x \$dldir/$dlname'
17895 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17896 dlpath=$dir/\$dldll~
17898 shlibpath_overrides_runpath
=yes
17902 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17903 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17904 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17907 # MinGW DLLs use traditional 'lib' prefix
17908 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17909 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17910 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17911 # It is most probably a Windows format PATH printed by
17912 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17913 # path with ; separators, and with drive letters. We can handle the
17914 # drive letters (cygwin fileutils understands them), so leave them,
17915 # especially as we might pass files found there to a mingw objdump,
17916 # which wouldn't understand a cygwinified path. Ahh.
17917 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17919 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17923 # pw32 DLLs use 'pw' prefix rather than 'lib'
17924 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17930 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17933 dynamic_linker
='Win32 ld.exe'
17934 # FIXME: first we should search . and the directory the executable is in
17938 darwin
* | rhapsody
*)
17939 dynamic_linker
="$host_os dyld"
17940 version_type
=darwin
17943 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17944 soname_spec
='${libname}${release}${major}$shared_ext'
17945 shlibpath_overrides_runpath
=yes
17946 shlibpath_var
=DYLD_LIBRARY_PATH
17947 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17948 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17949 if test "$GCC" = yes; then
17950 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"`
17952 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17954 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17962 soname_spec
='${libname}${release}${shared_ext}$major'
17963 shlibpath_var
=LD_LIBRARY_PATH
17974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17975 soname_spec
='${libname}${release}${shared_ext}$major'
17976 shlibpath_var
=LD_LIBRARY_PATH
17977 shlibpath_overrides_runpath
=no
17978 hardcode_into_libs
=yes
17979 dynamic_linker
='GNU ld.so'
17982 freebsd
* | dragonfly
*)
17983 # DragonFly does not have aout. When/if they implement a new
17984 # versioning mechanism, adjust this.
17985 if test -x /usr
/bin
/objformat
; then
17986 objformat
=`/usr/bin/objformat`
17989 freebsd
[123]*) objformat
=aout
;;
17990 *) objformat
=elf
;;
17993 version_type
=freebsd-
$objformat
17994 case $version_type in
17996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18001 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18005 shlibpath_var
=LD_LIBRARY_PATH
18008 shlibpath_overrides_runpath
=yes
18010 freebsd3.
[01]* | freebsdelf3.
[01]*)
18011 shlibpath_overrides_runpath
=yes
18012 hardcode_into_libs
=yes
18014 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18015 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18016 shlibpath_overrides_runpath
=no
18017 hardcode_into_libs
=yes
18019 freebsd
*) # from 4.6 on
18020 shlibpath_overrides_runpath
=yes
18021 hardcode_into_libs
=yes
18030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18031 soname_spec
='${libname}${release}${shared_ext}$major'
18032 shlibpath_var
=LD_LIBRARY_PATH
18033 hardcode_into_libs
=yes
18036 hpux9
* | hpux10
* | hpux11
*)
18037 # Give a soname corresponding to the major version so that dld.sl refuses to
18038 # link against other versions.
18045 hardcode_into_libs
=yes
18046 dynamic_linker
="$host_os dld.so"
18047 shlibpath_var
=LD_LIBRARY_PATH
18048 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18050 soname_spec
='${libname}${release}${shared_ext}$major'
18051 if test "X$HPUX_IA64_MODE" = X32
; then
18052 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18054 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18056 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18060 hardcode_into_libs
=yes
18061 dynamic_linker
="$host_os dld.sl"
18062 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18063 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18065 soname_spec
='${libname}${release}${shared_ext}$major'
18066 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18067 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18071 dynamic_linker
="$host_os dld.sl"
18072 shlibpath_var
=SHLIB_PATH
18073 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18075 soname_spec
='${libname}${release}${shared_ext}$major'
18078 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18079 postinstall_cmds
='chmod 555 $lib'
18086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18087 soname_spec
='${libname}${release}${shared_ext}$major'
18088 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18089 shlibpath_var
=LD_LIBRARY_PATH
18090 shlibpath_overrides_runpath
=no
18091 hardcode_into_libs
=yes
18094 irix5
* | irix6
* | nonstopux
*)
18096 nonstopux
*) version_type
=nonstopux
;;
18098 if test "$lt_cv_prog_gnu_ld" = yes; then
18106 soname_spec
='${libname}${release}${shared_ext}$major'
18107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18109 irix5
* | nonstopux
*)
18110 libsuff
= shlibsuff
=
18113 case $LD in # libtool.m4 will add one of these switches to LD
18114 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18115 libsuff
= shlibsuff
= libmagic
=32-bit;;
18116 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18117 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18118 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18119 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18120 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18124 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18125 shlibpath_overrides_runpath
=no
18126 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18127 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18128 hardcode_into_libs
=yes
18131 # No shared lib support for Linux oldld, aout, or coff.
18132 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18136 # This must be Linux ELF.
18141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18142 soname_spec
='${libname}${release}${shared_ext}$major'
18143 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18144 shlibpath_var
=LD_LIBRARY_PATH
18145 shlibpath_overrides_runpath
=no
18146 # This implies no fast_install, which is unacceptable.
18147 # Some rework will be needed to allow for fast_install
18148 # before this can be enabled.
18149 hardcode_into_libs
=yes
18151 # find out which ABI we are using
18153 case "$host_cpu" in
18154 x86_64
*|s390x
*|powerpc64
*)
18155 echo '#line 18155 "configure"' > conftest.
$ac_ext
18156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18157 (eval $ac_compile) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; then
18161 case `/usr/bin/file conftest.$ac_objext` in
18164 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18172 # Append ld.so.conf contents to the search path
18173 if test -f /etc
/ld.so.conf
; then
18174 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18175 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18178 # We used to test for /lib/ld.so.1 and disable shared libraries on
18179 # powerpc, because MkLinux only supported shared libraries with the
18180 # GNU dynamic linker. Since this was broken with cross compilers,
18181 # most powerpc-linux boxes support dynamic linking these days and
18182 # people can always --disable-shared, the test was removed, and we
18183 # assume the GNU/Linux dynamic linker is in use.
18184 dynamic_linker
='GNU/Linux ld.so'
18191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18192 soname_spec
='${libname}${release}${shared_ext}$major'
18193 shlibpath_var
=LD_LIBRARY_PATH
18194 shlibpath_overrides_runpath
=no
18195 hardcode_into_libs
=yes
18196 dynamic_linker
='GNU ld.so'
18203 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18205 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18206 dynamic_linker
='NetBSD (a.out) ld.so'
18208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18209 soname_spec
='${libname}${release}${shared_ext}$major'
18210 dynamic_linker
='NetBSD ld.elf_so'
18212 shlibpath_var
=LD_LIBRARY_PATH
18213 shlibpath_overrides_runpath
=yes
18214 hardcode_into_libs
=yes
18219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18220 shlibpath_var
=LD_LIBRARY_PATH
18221 shlibpath_overrides_runpath
=yes
18228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18229 soname_spec
='${libname}${release}${shared_ext}$major'
18230 shlibpath_var
=LD_LIBRARY_PATH
18231 shlibpath_overrides_runpath
=yes
18236 sys_lib_dlsearch_path_spec
="/usr/lib"
18238 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18240 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18241 *) need_version
=no
;;
18243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18244 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18245 shlibpath_var
=LD_LIBRARY_PATH
18246 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18248 openbsd2.
[89] | openbsd2.
[89].
*)
18249 shlibpath_overrides_runpath
=no
18252 shlibpath_overrides_runpath
=yes
18256 shlibpath_overrides_runpath
=yes
18261 libname_spec
='$name'
18264 library_names_spec
='$libname${shared_ext} $libname.a'
18265 dynamic_linker
='OS/2 ld.exe'
18266 shlibpath_var
=LIBPATH
18269 osf3
* | osf4
* | osf5
*)
18273 soname_spec
='${libname}${release}${shared_ext}$major'
18274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18275 shlibpath_var
=LD_LIBRARY_PATH
18276 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18277 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18285 soname_spec
='${libname}${release}${shared_ext}$major'
18286 shlibpath_var
=LD_LIBRARY_PATH
18287 shlibpath_overrides_runpath
=yes
18288 hardcode_into_libs
=yes
18289 # ldd complains unless libraries are executable
18290 postinstall_cmds
='chmod +x $lib'
18295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18296 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18297 shlibpath_var
=LD_LIBRARY_PATH
18298 shlibpath_overrides_runpath
=yes
18299 if test "$with_gnu_ld" = yes; then
18307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18308 soname_spec
='${libname}${release}${shared_ext}$major'
18309 shlibpath_var
=LD_LIBRARY_PATH
18310 case $host_vendor in
18312 shlibpath_overrides_runpath
=no
18314 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18315 runpath_var
=LD_RUN_PATH
18323 shlibpath_overrides_runpath
=no
18324 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18330 if test -d /usr
/nec
;then
18332 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18333 soname_spec
='$libname${shared_ext}.$major'
18334 shlibpath_var
=LD_LIBRARY_PATH
18338 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18339 version_type
=freebsd-elf
18342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18343 soname_spec
='${libname}${release}${shared_ext}$major'
18344 shlibpath_var
=LD_LIBRARY_PATH
18345 hardcode_into_libs
=yes
18346 if test "$with_gnu_ld" = yes; then
18347 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18348 shlibpath_overrides_runpath
=no
18350 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18351 shlibpath_overrides_runpath
=yes
18354 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18358 sys_lib_dlsearch_path_spec
='/usr/lib'
18363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18364 soname_spec
='${libname}${release}${shared_ext}$major'
18365 shlibpath_var
=LD_LIBRARY_PATH
18372 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18373 echo "${ECHO_T}$dynamic_linker" >&6; }
18374 test "$dynamic_linker" = no
&& can_build_shared
=no
18376 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18377 if test "$GCC" = yes; then
18378 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18381 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18382 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18383 hardcode_action_GCJ
=
18384 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18385 test -n "$runpath_var_GCJ" || \
18386 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18388 # We can hardcode non-existant directories.
18389 if test "$hardcode_direct_GCJ" != no
&&
18390 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18391 # have to relink, otherwise we might link with an installed library
18392 # when we should be linking with a yet-to-be-installed one
18393 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18394 test "$hardcode_minus_L_GCJ" != no
; then
18395 # Linking always hardcodes the temporary library directory.
18396 hardcode_action_GCJ
=relink
18398 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18399 hardcode_action_GCJ
=immediate
18402 # We cannot hardcode anything, or else we can only hardcode existing
18404 hardcode_action_GCJ
=unsupported
18406 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18407 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18409 if test "$hardcode_action_GCJ" = relink
; then
18410 # Fast installation is not supported
18411 enable_fast_install
=no
18412 elif test "$shlibpath_overrides_runpath" = yes ||
18413 test "$enable_shared" = no
; then
18414 # Fast installation is not necessary
18415 enable_fast_install
=needless
18419 # The else clause should only fire when bootstrapping the
18420 # libtool distribution, otherwise you forgot to ship ltmain.sh
18421 # with your package, and you will get complaints that there are
18422 # no rules to generate ltmain.sh.
18423 if test -f "$ltmain"; then
18424 # See if we are running on zsh, and set the options which allow our commands through
18425 # without removal of \ escapes.
18426 if test -n "${ZSH_VERSION+set}" ; then
18427 setopt NO_GLOB_SUBST
18429 # Now quote all the things that may contain metacharacters while being
18430 # careful not to overquote the AC_SUBSTed values. We take copies of the
18431 # variables and quote the copies for generation of the libtool script.
18432 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18434 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18435 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18436 deplibs_check_method reload_flag reload_cmds need_locks \
18437 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18438 lt_cv_sys_global_symbol_to_c_name_address \
18439 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18440 old_postinstall_cmds old_postuninstall_cmds \
18444 lt_prog_compiler_wl_GCJ \
18445 lt_prog_compiler_pic_GCJ \
18446 lt_prog_compiler_static_GCJ \
18447 lt_prog_compiler_no_builtin_flag_GCJ \
18448 export_dynamic_flag_spec_GCJ \
18449 thread_safe_flag_spec_GCJ \
18450 whole_archive_flag_spec_GCJ \
18451 enable_shared_with_static_runtimes_GCJ \
18452 old_archive_cmds_GCJ \
18453 old_archive_from_new_cmds_GCJ \
18454 predep_objects_GCJ \
18455 postdep_objects_GCJ \
18458 compiler_lib_search_path_GCJ \
18460 archive_expsym_cmds_GCJ \
18461 postinstall_cmds_GCJ \
18462 postuninstall_cmds_GCJ \
18463 old_archive_from_expsyms_cmds_GCJ \
18464 allow_undefined_flag_GCJ \
18465 no_undefined_flag_GCJ \
18466 export_symbols_cmds_GCJ \
18467 hardcode_libdir_flag_spec_GCJ \
18468 hardcode_libdir_flag_spec_ld_GCJ \
18469 hardcode_libdir_separator_GCJ \
18470 hardcode_automatic_GCJ \
18472 module_expsym_cmds_GCJ \
18473 lt_cv_prog_compiler_c_o_GCJ \
18474 exclude_expsyms_GCJ \
18475 include_expsyms_GCJ
; do
18478 old_archive_cmds_GCJ | \
18479 old_archive_from_new_cmds_GCJ | \
18480 archive_cmds_GCJ | \
18481 archive_expsym_cmds_GCJ | \
18482 module_cmds_GCJ | \
18483 module_expsym_cmds_GCJ | \
18484 old_archive_from_expsyms_cmds_GCJ | \
18485 export_symbols_cmds_GCJ | \
18486 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18487 postinstall_cmds | postuninstall_cmds | \
18488 old_postinstall_cmds | old_postuninstall_cmds | \
18489 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18490 # Double-quote double-evaled strings.
18491 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18494 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18500 *'\$0 --fallback-echo"')
18501 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18507 cat <<__EOF__ >> "$cfgfile"
18508 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18510 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18512 # Shell to use when invoking shell scripts.
18515 # Whether or not to build shared libraries.
18516 build_libtool_libs=$enable_shared
18518 # Whether or not to build static libraries.
18519 build_old_libs=$enable_static
18521 # Whether or not to add -lc for building shared libraries.
18522 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18524 # Whether or not to disallow shared libs when runtime libs are static
18525 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18527 # Whether or not to optimize for fast installation.
18528 fast_install=$enable_fast_install
18531 host_alias=$host_alias
18535 # The build system.
18536 build_alias=$build_alias
18540 # An echo program that does not interpret backslashes.
18545 AR_FLAGS=$lt_AR_FLAGS
18550 # LTCC compiler flags.
18551 LTCFLAGS=$lt_LTCFLAGS
18553 # A language-specific compiler.
18554 CC=$lt_compiler_GCJ
18556 # Is the compiler the GNU C compiler?
18562 # The linker used to build libraries.
18565 # Whether we need hard or soft links.
18568 # A BSD-compatible nm program.
18571 # A symbol stripping program
18574 # Used to examine libraries when file_magic_cmd begins "file"
18575 MAGIC_CMD=$MAGIC_CMD
18577 # Used on cygwin: DLL creation program.
18580 # Used on cygwin: object dumper.
18583 # Used on cygwin: assembler.
18586 # The name of the directory that contains temporary libtool files.
18589 # How to create reloadable object files.
18590 reload_flag=$lt_reload_flag
18591 reload_cmds=$lt_reload_cmds
18593 # How to pass a linker flag through the compiler.
18594 wl=$lt_lt_prog_compiler_wl_GCJ
18596 # Object file suffix (normally "o").
18597 objext="$ac_objext"
18599 # Old archive suffix (normally "a").
18602 # Shared library suffix (normally ".so").
18603 shrext_cmds='$shrext_cmds'
18605 # Executable file suffix (normally "").
18608 # Additional compiler flags for building library objects.
18609 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18612 # What is the maximum length of a command?
18613 max_cmd_len=$lt_cv_sys_max_cmd_len
18615 # Does compiler simultaneously support -c and -o options?
18616 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18618 # Must we lock files when doing compilation?
18619 need_locks=$lt_need_locks
18621 # Do we need the lib prefix for modules?
18622 need_lib_prefix=$need_lib_prefix
18624 # Do we need a version for libraries?
18625 need_version=$need_version
18627 # Whether dlopen is supported.
18628 dlopen_support=$enable_dlopen
18630 # Whether dlopen of programs is supported.
18631 dlopen_self=$enable_dlopen_self
18633 # Whether dlopen of statically linked programs is supported.
18634 dlopen_self_static=$enable_dlopen_self_static
18636 # Compiler flag to prevent dynamic linking.
18637 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18639 # Compiler flag to turn off builtin functions.
18640 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18642 # Compiler flag to allow reflexive dlopens.
18643 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18645 # Compiler flag to generate shared objects directly from archives.
18646 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18648 # Compiler flag to generate thread-safe objects.
18649 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18651 # Library versioning type.
18652 version_type=$version_type
18654 # Format of library name prefix.
18655 libname_spec=$lt_libname_spec
18657 # List of archive names. First name is the real one, the rest are links.
18658 # The last name is the one that the linker finds with -lNAME.
18659 library_names_spec=$lt_library_names_spec
18661 # The coded name of the library, if different from the real name.
18662 soname_spec=$lt_soname_spec
18664 # Commands used to build and install an old-style archive.
18666 old_archive_cmds=$lt_old_archive_cmds_GCJ
18667 old_postinstall_cmds=$lt_old_postinstall_cmds
18668 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18670 # Create an old-style archive from a shared archive.
18671 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18673 # Create a temporary old-style archive to link instead of a shared archive.
18674 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18676 # Commands used to build and install a shared archive.
18677 archive_cmds=$lt_archive_cmds_GCJ
18678 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18679 postinstall_cmds=$lt_postinstall_cmds
18680 postuninstall_cmds=$lt_postuninstall_cmds
18682 # Commands used to build a loadable module (assumed same as above if empty)
18683 module_cmds=$lt_module_cmds_GCJ
18684 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18686 # Commands to strip libraries.
18687 old_striplib=$lt_old_striplib
18688 striplib=$lt_striplib
18690 # Dependencies to place before the objects being linked to create a
18692 predep_objects=$lt_predep_objects_GCJ
18694 # Dependencies to place after the objects being linked to create a
18696 postdep_objects=$lt_postdep_objects_GCJ
18698 # Dependencies to place before the objects being linked to create a
18700 predeps=$lt_predeps_GCJ
18702 # Dependencies to place after the objects being linked to create a
18704 postdeps=$lt_postdeps_GCJ
18706 # The library search path used internally by the compiler when linking
18707 # a shared library.
18708 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18710 # Method to check whether dependent libraries are shared objects.
18711 deplibs_check_method=$lt_deplibs_check_method
18713 # Command to use when deplibs_check_method == file_magic.
18714 file_magic_cmd=$lt_file_magic_cmd
18716 # Flag that allows shared libraries with undefined symbols to be built.
18717 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18719 # Flag that forces no undefined symbols.
18720 no_undefined_flag=$lt_no_undefined_flag_GCJ
18722 # Commands used to finish a libtool library installation in a directory.
18723 finish_cmds=$lt_finish_cmds
18725 # Same as above, but a single script fragment to be evaled but not shown.
18726 finish_eval=$lt_finish_eval
18728 # Take the output of nm and produce a listing of raw symbols and C names.
18729 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18731 # Transform the output of nm in a proper C declaration
18732 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18734 # Transform the output of nm in a C name address pair
18735 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18737 # This is the shared library runtime path variable.
18738 runpath_var=$runpath_var
18740 # This is the shared library path variable.
18741 shlibpath_var=$shlibpath_var
18743 # Is shlibpath searched before the hard-coded library search path?
18744 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18746 # How to hardcode a shared library path into an executable.
18747 hardcode_action=$hardcode_action_GCJ
18749 # Whether we should hardcode library paths into libraries.
18750 hardcode_into_libs=$hardcode_into_libs
18752 # Flag to hardcode \$libdir into a binary during linking.
18753 # This must work even if \$libdir does not exist.
18754 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18756 # If ld is used when linking, flag to hardcode \$libdir into
18757 # a binary during linking. This must work even if \$libdir does
18759 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18761 # Whether we need a single -rpath flag with a separated argument.
18762 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18764 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18765 # resulting binary.
18766 hardcode_direct=$hardcode_direct_GCJ
18768 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18769 # resulting binary.
18770 hardcode_minus_L=$hardcode_minus_L_GCJ
18772 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18773 # the resulting binary.
18774 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18776 # Set to yes if building a shared library automatically hardcodes DIR into the library
18777 # and all subsequent libraries and executables linked against it.
18778 hardcode_automatic=$hardcode_automatic_GCJ
18780 # Variables whose values should be saved in libtool wrapper scripts and
18781 # restored at relink time.
18782 variables_saved_for_relink="$variables_saved_for_relink"
18784 # Whether libtool must link a program against all its dependency libraries.
18785 link_all_deplibs=$link_all_deplibs_GCJ
18787 # Compile-time system search path for libraries
18788 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18790 # Run-time system search path for libraries
18791 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18793 # Fix the shell variable \$srcfile for the compiler.
18794 fix_srcfile_path="$fix_srcfile_path_GCJ"
18796 # Set to yes if exported symbols are required.
18797 always_export_symbols=$always_export_symbols_GCJ
18799 # The commands to list exported symbols.
18800 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18802 # The commands to extract the exported symbol list from a shared archive.
18803 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18805 # Symbols that should not be listed in the preloaded symbols.
18806 exclude_expsyms=$lt_exclude_expsyms_GCJ
18808 # Symbols that must always be exported.
18809 include_expsyms=$lt_include_expsyms_GCJ
18811 # ### END LIBTOOL TAG CONFIG: $tagname
18817 # If there is no Makefile yet, we rely on a make rule to execute
18818 # `config.status --recheck' to rerun these tests and create the
18819 # libtool script then.
18820 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18821 if test -f "$ltmain_in"; then
18822 test -f Makefile
&& make "$ltmain"
18828 ac_cpp
='$CPP $CPPFLAGS'
18829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18843 # Source file extension for RC test sources.
18846 # Object file extension for compiled RC test sources.
18850 # Code to be used in simple compile tests
18851 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18853 # Code to be used in simple link tests
18854 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18856 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18858 # If no C compiler was specified, use CC.
18861 # If no C compiler flags were specified, use CFLAGS.
18862 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18864 # Allow CC to be a program name with arguments.
18868 # save warnings/boilerplate of simple test code
18869 ac_outfile
=conftest.
$ac_objext
18870 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18871 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18872 _lt_compiler_boilerplate
=`cat conftest.err`
18875 ac_outfile
=conftest.
$ac_objext
18876 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18877 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18878 _lt_linker_boilerplate
=`cat conftest.err`
18882 # Allow CC to be a program name with arguments.
18887 for cc_temp
in $compiler""; do
18889 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18890 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18895 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18897 lt_cv_prog_compiler_c_o_RC
=yes
18899 # The else clause should only fire when bootstrapping the
18900 # libtool distribution, otherwise you forgot to ship ltmain.sh
18901 # with your package, and you will get complaints that there are
18902 # no rules to generate ltmain.sh.
18903 if test -f "$ltmain"; then
18904 # See if we are running on zsh, and set the options which allow our commands through
18905 # without removal of \ escapes.
18906 if test -n "${ZSH_VERSION+set}" ; then
18907 setopt NO_GLOB_SUBST
18909 # Now quote all the things that may contain metacharacters while being
18910 # careful not to overquote the AC_SUBSTed values. We take copies of the
18911 # variables and quote the copies for generation of the libtool script.
18912 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18914 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18915 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18916 deplibs_check_method reload_flag reload_cmds need_locks \
18917 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18918 lt_cv_sys_global_symbol_to_c_name_address \
18919 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18920 old_postinstall_cmds old_postuninstall_cmds \
18924 lt_prog_compiler_wl_RC \
18925 lt_prog_compiler_pic_RC \
18926 lt_prog_compiler_static_RC \
18927 lt_prog_compiler_no_builtin_flag_RC \
18928 export_dynamic_flag_spec_RC \
18929 thread_safe_flag_spec_RC \
18930 whole_archive_flag_spec_RC \
18931 enable_shared_with_static_runtimes_RC \
18932 old_archive_cmds_RC \
18933 old_archive_from_new_cmds_RC \
18934 predep_objects_RC \
18935 postdep_objects_RC \
18938 compiler_lib_search_path_RC \
18940 archive_expsym_cmds_RC \
18941 postinstall_cmds_RC \
18942 postuninstall_cmds_RC \
18943 old_archive_from_expsyms_cmds_RC \
18944 allow_undefined_flag_RC \
18945 no_undefined_flag_RC \
18946 export_symbols_cmds_RC \
18947 hardcode_libdir_flag_spec_RC \
18948 hardcode_libdir_flag_spec_ld_RC \
18949 hardcode_libdir_separator_RC \
18950 hardcode_automatic_RC \
18952 module_expsym_cmds_RC \
18953 lt_cv_prog_compiler_c_o_RC \
18954 exclude_expsyms_RC \
18955 include_expsyms_RC
; do
18958 old_archive_cmds_RC | \
18959 old_archive_from_new_cmds_RC | \
18960 archive_cmds_RC | \
18961 archive_expsym_cmds_RC | \
18963 module_expsym_cmds_RC | \
18964 old_archive_from_expsyms_cmds_RC | \
18965 export_symbols_cmds_RC | \
18966 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18967 postinstall_cmds | postuninstall_cmds | \
18968 old_postinstall_cmds | old_postuninstall_cmds | \
18969 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18970 # Double-quote double-evaled strings.
18971 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18974 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18980 *'\$0 --fallback-echo"')
18981 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18987 cat <<__EOF__ >> "$cfgfile"
18988 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18990 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18992 # Shell to use when invoking shell scripts.
18995 # Whether or not to build shared libraries.
18996 build_libtool_libs=$enable_shared
18998 # Whether or not to build static libraries.
18999 build_old_libs=$enable_static
19001 # Whether or not to add -lc for building shared libraries.
19002 build_libtool_need_lc=$archive_cmds_need_lc_RC
19004 # Whether or not to disallow shared libs when runtime libs are static
19005 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19007 # Whether or not to optimize for fast installation.
19008 fast_install=$enable_fast_install
19011 host_alias=$host_alias
19015 # The build system.
19016 build_alias=$build_alias
19020 # An echo program that does not interpret backslashes.
19025 AR_FLAGS=$lt_AR_FLAGS
19030 # LTCC compiler flags.
19031 LTCFLAGS=$lt_LTCFLAGS
19033 # A language-specific compiler.
19036 # Is the compiler the GNU C compiler?
19042 # The linker used to build libraries.
19045 # Whether we need hard or soft links.
19048 # A BSD-compatible nm program.
19051 # A symbol stripping program
19054 # Used to examine libraries when file_magic_cmd begins "file"
19055 MAGIC_CMD=$MAGIC_CMD
19057 # Used on cygwin: DLL creation program.
19060 # Used on cygwin: object dumper.
19063 # Used on cygwin: assembler.
19066 # The name of the directory that contains temporary libtool files.
19069 # How to create reloadable object files.
19070 reload_flag=$lt_reload_flag
19071 reload_cmds=$lt_reload_cmds
19073 # How to pass a linker flag through the compiler.
19074 wl=$lt_lt_prog_compiler_wl_RC
19076 # Object file suffix (normally "o").
19077 objext="$ac_objext"
19079 # Old archive suffix (normally "a").
19082 # Shared library suffix (normally ".so").
19083 shrext_cmds='$shrext_cmds'
19085 # Executable file suffix (normally "").
19088 # Additional compiler flags for building library objects.
19089 pic_flag=$lt_lt_prog_compiler_pic_RC
19092 # What is the maximum length of a command?
19093 max_cmd_len=$lt_cv_sys_max_cmd_len
19095 # Does compiler simultaneously support -c and -o options?
19096 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19098 # Must we lock files when doing compilation?
19099 need_locks=$lt_need_locks
19101 # Do we need the lib prefix for modules?
19102 need_lib_prefix=$need_lib_prefix
19104 # Do we need a version for libraries?
19105 need_version=$need_version
19107 # Whether dlopen is supported.
19108 dlopen_support=$enable_dlopen
19110 # Whether dlopen of programs is supported.
19111 dlopen_self=$enable_dlopen_self
19113 # Whether dlopen of statically linked programs is supported.
19114 dlopen_self_static=$enable_dlopen_self_static
19116 # Compiler flag to prevent dynamic linking.
19117 link_static_flag=$lt_lt_prog_compiler_static_RC
19119 # Compiler flag to turn off builtin functions.
19120 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19122 # Compiler flag to allow reflexive dlopens.
19123 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19125 # Compiler flag to generate shared objects directly from archives.
19126 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19128 # Compiler flag to generate thread-safe objects.
19129 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19131 # Library versioning type.
19132 version_type=$version_type
19134 # Format of library name prefix.
19135 libname_spec=$lt_libname_spec
19137 # List of archive names. First name is the real one, the rest are links.
19138 # The last name is the one that the linker finds with -lNAME.
19139 library_names_spec=$lt_library_names_spec
19141 # The coded name of the library, if different from the real name.
19142 soname_spec=$lt_soname_spec
19144 # Commands used to build and install an old-style archive.
19146 old_archive_cmds=$lt_old_archive_cmds_RC
19147 old_postinstall_cmds=$lt_old_postinstall_cmds
19148 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19150 # Create an old-style archive from a shared archive.
19151 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19153 # Create a temporary old-style archive to link instead of a shared archive.
19154 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19156 # Commands used to build and install a shared archive.
19157 archive_cmds=$lt_archive_cmds_RC
19158 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19159 postinstall_cmds=$lt_postinstall_cmds
19160 postuninstall_cmds=$lt_postuninstall_cmds
19162 # Commands used to build a loadable module (assumed same as above if empty)
19163 module_cmds=$lt_module_cmds_RC
19164 module_expsym_cmds=$lt_module_expsym_cmds_RC
19166 # Commands to strip libraries.
19167 old_striplib=$lt_old_striplib
19168 striplib=$lt_striplib
19170 # Dependencies to place before the objects being linked to create a
19172 predep_objects=$lt_predep_objects_RC
19174 # Dependencies to place after the objects being linked to create a
19176 postdep_objects=$lt_postdep_objects_RC
19178 # Dependencies to place before the objects being linked to create a
19180 predeps=$lt_predeps_RC
19182 # Dependencies to place after the objects being linked to create a
19184 postdeps=$lt_postdeps_RC
19186 # The library search path used internally by the compiler when linking
19187 # a shared library.
19188 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19190 # Method to check whether dependent libraries are shared objects.
19191 deplibs_check_method=$lt_deplibs_check_method
19193 # Command to use when deplibs_check_method == file_magic.
19194 file_magic_cmd=$lt_file_magic_cmd
19196 # Flag that allows shared libraries with undefined symbols to be built.
19197 allow_undefined_flag=$lt_allow_undefined_flag_RC
19199 # Flag that forces no undefined symbols.
19200 no_undefined_flag=$lt_no_undefined_flag_RC
19202 # Commands used to finish a libtool library installation in a directory.
19203 finish_cmds=$lt_finish_cmds
19205 # Same as above, but a single script fragment to be evaled but not shown.
19206 finish_eval=$lt_finish_eval
19208 # Take the output of nm and produce a listing of raw symbols and C names.
19209 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19211 # Transform the output of nm in a proper C declaration
19212 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19214 # Transform the output of nm in a C name address pair
19215 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19217 # This is the shared library runtime path variable.
19218 runpath_var=$runpath_var
19220 # This is the shared library path variable.
19221 shlibpath_var=$shlibpath_var
19223 # Is shlibpath searched before the hard-coded library search path?
19224 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19226 # How to hardcode a shared library path into an executable.
19227 hardcode_action=$hardcode_action_RC
19229 # Whether we should hardcode library paths into libraries.
19230 hardcode_into_libs=$hardcode_into_libs
19232 # Flag to hardcode \$libdir into a binary during linking.
19233 # This must work even if \$libdir does not exist.
19234 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19236 # If ld is used when linking, flag to hardcode \$libdir into
19237 # a binary during linking. This must work even if \$libdir does
19239 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19241 # Whether we need a single -rpath flag with a separated argument.
19242 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19244 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19245 # resulting binary.
19246 hardcode_direct=$hardcode_direct_RC
19248 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19249 # resulting binary.
19250 hardcode_minus_L=$hardcode_minus_L_RC
19252 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19253 # the resulting binary.
19254 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19256 # Set to yes if building a shared library automatically hardcodes DIR into the library
19257 # and all subsequent libraries and executables linked against it.
19258 hardcode_automatic=$hardcode_automatic_RC
19260 # Variables whose values should be saved in libtool wrapper scripts and
19261 # restored at relink time.
19262 variables_saved_for_relink="$variables_saved_for_relink"
19264 # Whether libtool must link a program against all its dependency libraries.
19265 link_all_deplibs=$link_all_deplibs_RC
19267 # Compile-time system search path for libraries
19268 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19270 # Run-time system search path for libraries
19271 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19273 # Fix the shell variable \$srcfile for the compiler.
19274 fix_srcfile_path="$fix_srcfile_path_RC"
19276 # Set to yes if exported symbols are required.
19277 always_export_symbols=$always_export_symbols_RC
19279 # The commands to list exported symbols.
19280 export_symbols_cmds=$lt_export_symbols_cmds_RC
19282 # The commands to extract the exported symbol list from a shared archive.
19283 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19285 # Symbols that should not be listed in the preloaded symbols.
19286 exclude_expsyms=$lt_exclude_expsyms_RC
19288 # Symbols that must always be exported.
19289 include_expsyms=$lt_include_expsyms_RC
19291 # ### END LIBTOOL TAG CONFIG: $tagname
19297 # If there is no Makefile yet, we rely on a make rule to execute
19298 # `config.status --recheck' to rerun these tests and create the
19299 # libtool script then.
19300 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19301 if test -f "$ltmain_in"; then
19302 test -f Makefile
&& make "$ltmain"
19308 ac_cpp
='$CPP $CPPFLAGS'
19309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19318 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19319 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19320 { (exit 1); exit 1; }; }
19324 # Append the new tag name to the list of available tags.
19325 if test -n "$tagname" ; then
19326 available_tags
="$available_tags $tagname"
19332 # Now substitute the updated list of available tags.
19333 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19334 mv "${ofile}T" "$ofile"
19338 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19339 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19340 { (exit 1); exit 1; }; }
19346 # This can be used to rebuild libtool when needed
19347 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19349 # Always use our own libtool.
19350 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19352 # Prevent multiple expansion
19382 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
19384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19385 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19388 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 ac_res
=`eval echo '${'$as_ac_Header'}'`
19392 { echo "$as_me:$LINENO: result: $ac_res" >&5
19393 echo "${ECHO_T}$ac_res" >&6; }
19395 # Is the header compilable?
19396 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 $ac_includes_default
19405 #include <$ac_header>
19407 rm -f conftest.
$ac_objext
19408 if { (ac_try
="$ac_compile"
19409 case "(($ac_try" in
19410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19411 *) ac_try_echo=$ac_try;;
19413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19414 (eval "$ac_compile") 2>conftest.er1
19416 grep -v '^ *+' conftest.er1 >conftest.err
19418 cat conftest.err >&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } && {
19421 test -z "$ac_c_werror_flag" ||
19422 test ! -s conftest.err
19423 } && test -s conftest.$ac_objext; then
19424 ac_header_compiler=yes
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.$ac_ext >&5
19429 ac_header_compiler=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19434 echo "${ECHO_T}$ac_header_compiler" >&6; }
19436 # Is the header present?
19437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19439 cat >conftest.$ac_ext <<_ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <$ac_header>
19447 if { (ac_try="$ac_cpp conftest.$ac_ext"
19448 case "(($ac_try" in
19449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19450 *) ac_try_echo
=$ac_try;;
19452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19455 grep -v '^ *+' conftest.er1
>conftest.err
19457 cat conftest.err
>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } >/dev
/null
&& {
19460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19461 test ! -s conftest.err
19463 ac_header_preproc
=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.
$ac_ext >&5
19468 ac_header_preproc
=no
19471 rm -f conftest.err conftest.
$ac_ext
19472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19473 echo "${ECHO_T}$ac_header_preproc" >&6; }
19475 # So? What about this header?
19476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19482 ac_header_preproc
=yes
19485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19498 ## -------------------------------------------------- ##
19499 ## Report this to courier-users@lists.sourceforge.net ##
19500 ## -------------------------------------------------- ##
19502 ) |
sed "s/^/$as_me: WARNING: /" >&2
19505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19507 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 eval "$as_ac_Header=\$ac_header_preproc"
19512 ac_res
=`eval echo '${'$as_ac_Header'}'`
19513 { echo "$as_me:$LINENO: result: $ac_res" >&5
19514 echo "${ECHO_T}$ac_res" >&6; }
19517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19518 cat >>confdefs.h
<<_ACEOF
19519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19526 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19527 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19528 if test "${ac_cv_header_stdc+set}" = set; then
19529 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 cat >conftest.
$ac_ext <<_ACEOF
19534 cat confdefs.h
>>conftest.
$ac_ext
19535 cat >>conftest.
$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <stdlib.h>
19538 #include <stdarg.h>
19539 #include <string.h>
19550 rm -f conftest.
$ac_objext
19551 if { (ac_try
="$ac_compile"
19552 case "(($ac_try" in
19553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19554 *) ac_try_echo=$ac_try;;
19556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19557 (eval "$ac_compile") 2>conftest.er1
19559 grep -v '^ *+' conftest.er1 >conftest.err
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } && {
19564 test -z "$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 } && test -s conftest.$ac_objext; then
19567 ac_cv_header_stdc=yes
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19572 ac_cv_header_stdc=no
19575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 if test $ac_cv_header_stdc = yes; then
19578 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19579 cat >conftest.$ac_ext <<_ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 #include <string.h>
19588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19589 $EGREP "memchr" >/dev/null 2>&1; then
19592 ac_cv_header_stdc=no
19598 if test $ac_cv_header_stdc = yes; then
19599 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19600 cat >conftest.$ac_ext <<_ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606 #include <stdlib.h>
19609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19610 $EGREP "free" >/dev/null 2>&1; then
19613 ac_cv_header_stdc=no
19619 if test $ac_cv_header_stdc = yes; then
19620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19621 if test "$cross_compiling" = yes; then
19624 cat >conftest.$ac_ext <<_ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19631 #include <stdlib.h>
19632 #if ((' ' & 0x0FF) == 0x020)
19633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19634 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19636 # define ISLOWER(c) \
19637 (('a' <= (c) && (c) <= 'i') \
19638 || ('j' <= (c) && (c) <= 'r') \
19639 || ('s' <= (c) && (c) <= 'z'))
19640 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19643 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19648 for (i = 0; i < 256; i++)
19649 if (XOR (islower (i), ISLOWER (i))
19650 || toupper (i) != TOUPPER (i))
19655 rm -f conftest$ac_exeext
19656 if { (ac_try="$ac_link"
19657 case "(($ac_try" in
19658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19659 *) ac_try_echo
=$ac_try;;
19661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19662 (eval "$ac_link") 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19666 { (case "(($ac_try" in
19667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_try") 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19677 echo "$as_me: program exited with status $ac_status" >&5
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 ( exit $ac_status )
19682 ac_cv_header_stdc=no
19684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19690 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19691 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19692 if test $ac_cv_header_stdc = yes; then
19694 cat >>confdefs.h <<\_ACEOF
19695 #define STDC_HEADERS 1
19700 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19701 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
19702 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19703 echo $ECHO_N "(cached) $ECHO_C" >&6
19705 cat >conftest.$ac_ext <<_ACEOF
19708 cat confdefs.h >>conftest.$ac_ext
19709 cat >>conftest.$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 #include <sys/types.h>
19712 #include <sys/wait.h>
19713 #ifndef WEXITSTATUS
19714 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
19717 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19725 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19730 rm -f conftest.$ac_objext
19731 if { (ac_try="$ac_compile"
19732 case "(($ac_try" in
19733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19734 *) ac_try_echo
=$ac_try;;
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_compile") 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && {
19744 test -z "$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 } && test -s conftest.
$ac_objext; then
19747 ac_cv_header_sys_wait_h
=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 ac_cv_header_sys_wait_h
=no
19755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19757 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19758 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
19759 if test $ac_cv_header_sys_wait_h = yes; then
19761 cat >>confdefs.h
<<\_ACEOF
19762 #define HAVE_SYS_WAIT_H 1
19769 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19770 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19771 if test "${ac_cv_c_const+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 cat >conftest.
$ac_ext <<_ACEOF
19777 cat confdefs.h
>>conftest.
$ac_ext
19778 cat >>conftest.
$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19784 /* FIXME: Include the comments suggested by Paul. */
19785 #ifndef __cplusplus
19786 /* Ultrix mips cc rejects this. */
19787 typedef int charset[2];
19789 /* SunOS 4.1.1 cc rejects this. */
19790 char const *const *pcpcc;
19792 /* NEC SVR4.0.2 mips cc rejects this. */
19793 struct point {int x, y;};
19794 static struct point const zero = {0,0};
19795 /* AIX XL C 1.02.0.0 rejects this.
19796 It does not let you subtract one const X* pointer from another in
19797 an arm of an if-expression whose if-part is not a constant
19799 const char *g = "string";
19800 pcpcc = &g + (g ? g-g : 0);
19801 /* HPUX 7.0 cc rejects these. */
19803 ppc = (char**) pcpcc;
19804 pcpcc = (char const *const *) ppc;
19805 { /* SCO 3.2v4 cc rejects this. */
19807 char const *s = 0 ? (char *) 0 : (char const *) 0;
19812 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19813 int x[] = {25, 17};
19814 const int *foo = &x[0];
19817 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19818 typedef const int *iptr;
19822 { /* AIX XL C 1.02.0.0 rejects this saying
19823 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19824 struct s { int j; const int *ap[3]; };
19825 struct s *b; b->j = 5;
19827 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19828 const int foo = 10;
19829 if (!foo) return 0;
19831 return !cs[0] && !zero.x;
19838 rm -f conftest.
$ac_objext
19839 if { (ac_try
="$ac_compile"
19840 case "(($ac_try" in
19841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_compile") 2>conftest.er1
19847 grep -v '^ *+' conftest.er1 >conftest.err
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && {
19852 test -z "$ac_c_werror_flag" ||
19853 test ! -s conftest.err
19854 } && test -s conftest.$ac_objext; then
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19866 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19867 if test $ac_cv_c_const = no; then
19869 cat >>confdefs.h <<\_ACEOF
19875 { echo "$as_me:$LINENO: checking for off_t" >&5
19876 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19877 if test "${ac_cv_type_off_t+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 cat >conftest.$ac_ext <<_ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19887 typedef off_t ac__type_new_;
19891 if ((ac__type_new_ *) 0)
19893 if (sizeof (ac__type_new_))
19899 rm -f conftest.$ac_objext
19900 if { (ac_try="$ac_compile"
19901 case "(($ac_try" in
19902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19903 *) ac_try_echo
=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_compile") 2>conftest.er1
19908 grep -v '^ *+' conftest.er1
>conftest.err
19910 cat conftest.err
>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } && {
19913 test -z "$ac_c_werror_flag" ||
19914 test ! -s conftest.err
19915 } && test -s conftest.
$ac_objext; then
19916 ac_cv_type_off_t
=yes
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.
$ac_ext >&5
19921 ac_cv_type_off_t
=no
19924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19927 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19928 if test $ac_cv_type_off_t = yes; then
19932 cat >>confdefs.h
<<_ACEOF
19933 #define off_t long int
19938 { echo "$as_me:$LINENO: checking for pid_t" >&5
19939 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19940 if test "${ac_cv_type_pid_t+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 cat >conftest.
$ac_ext <<_ACEOF
19946 cat confdefs.h
>>conftest.
$ac_ext
19947 cat >>conftest.
$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef pid_t ac__type_new_;
19954 if ((ac__type_new_ *) 0)
19956 if (sizeof (ac__type_new_))
19962 rm -f conftest.
$ac_objext
19963 if { (ac_try
="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1 >conftest.err
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_cv_type_pid_t=yes
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19984 ac_cv_type_pid_t=no
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19990 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19991 if test $ac_cv_type_pid_t = yes; then
19995 cat >>confdefs.h <<_ACEOF
20001 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20002 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
20003 if test "${ac_cv_type_signal+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 cat >conftest.$ac_ext <<_ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 #include <sys/types.h>
20013 #include <signal.h>
20018 return *(signal (0, 0)) (0) == 1;
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20027 *) ac_try_echo
=$ac_try;;
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.
$ac_objext; then
20040 ac_cv_type_signal
=int
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_type_signal
=void
20048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20050 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20051 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
20053 cat >>confdefs.h
<<_ACEOF
20054 #define RETSIGTYPE $ac_cv_type_signal
20059 { echo "$as_me:$LINENO: checking for off64_t" >&5
20060 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
20061 if test "${liblock_cv_hasoff64t+set}" = set; then
20062 echo $ECHO_N "(cached) $ECHO_C" >&6
20064 liblock_cv_hasoff64t
="no"
20065 cat >conftest.
$ac_ext <<_ACEOF
20068 cat confdefs.h
>>conftest.
$ac_ext
20069 cat >>conftest.
$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20072 #include <sys/types.h>
20086 rm -f conftest.
$ac_objext
20087 if { (ac_try
="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20095 grep -v '^ *+' conftest.er1 >conftest.err
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 liblock_cv_hasoff64t="yes"
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { echo "$as_me:$LINENO: result: $liblock_cv_hasoff64t" >&5
20116 echo "${ECHO_T}$liblock_cv_hasoff64t" >&6; }
20118 if test "$liblock_cv_hasoff64t" = "yes"
20120 LL_OFFSET_TYPE=off64_t
20122 LL_OFFSET_TYPE=off_t
20125 cat >>confdefs.h <<_ACEOF
20126 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20130 { echo "$as_me:$LINENO: checking for flock_t" >&5
20131 echo $ECHO_N "checking for flock_t... $ECHO_C" >&6; }
20132 if test "${liblock_cv_hasflock_t+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 liblock_cv_hasflock_t="no"
20136 cat >conftest.$ac_ext <<_ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20144 #include "config.h"
20146 #include <sys/types.h>
20150 #if HAVE_SYS_FCNTL_H
20151 #include <sys/fcntl.h>
20164 rm -f conftest.$ac_objext
20165 if { (ac_try="$ac_compile"
20166 case "(($ac_try" in
20167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20168 *) ac_try_echo
=$ac_try;;
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_compile") 2>conftest.er1
20173 grep -v '^ *+' conftest.er1
>conftest.err
20175 cat conftest.err
>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } && {
20178 test -z "$ac_c_werror_flag" ||
20179 test ! -s conftest.err
20180 } && test -s conftest.
$ac_objext; then
20181 liblock_cv_hasflock_t
="yes"
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20191 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock_t" >&5
20192 echo "${ECHO_T}$liblock_cv_hasflock_t" >&6; }
20194 if test "$liblock_cv_hasflock_t" = "yes"
20197 cat >>confdefs.h
<<_ACEOF
20198 #define HAS_FLOCK_T 1
20206 for ac_func
in setpgrp sysconf
20208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20211 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20222 #define $ac_func innocuous_$ac_func
20224 /* System header to define __stub macros and hopefully few prototypes,
20225 which can conflict with char $ac_func (); below.
20226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20227 <limits.h> exists even on freestanding compilers. */
20230 # include <limits.h>
20232 # include <assert.h>
20237 /* Override any GCC internal prototype to avoid an error.
20238 Use char because int might match the return type of a GCC
20239 builtin and then its argument prototype would still apply. */
20244 /* The GNU C library defines this for functions which it implements
20245 to always fail with ENOSYS. Some functions are actually named
20246 something starting with __ and the normal name is an alias. */
20247 #if defined __stub_$ac_func || defined __stub___$ac_func
20254 return $ac_func ();
20259 rm -f conftest.
$ac_objext conftest
$ac_exeext
20260 if { (ac_try
="$ac_link"
20261 case "(($ac_try" in
20262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20263 *) ac_try_echo=$ac_try;;
20265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20266 (eval "$ac_link") 2>conftest.er1
20268 grep -v '^ *+' conftest.er1 >conftest.err
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } && {
20273 test -z "$ac_c_werror_flag" ||
20274 test ! -s conftest.err
20275 } && test -s conftest$ac_exeext &&
20276 $as_test_x conftest$ac_exeext; then
20277 eval "$as_ac_var=yes"
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 eval "$as_ac_var=no"
20285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20286 conftest$ac_exeext conftest.$ac_ext
20288 ac_res=`eval echo '${'$as_ac_var'}'`
20289 { echo "$as_me:$LINENO: result: $ac_res" >&5
20290 echo "${ECHO_T}$ac_res" >&6; }
20291 if test `eval echo '${'$as_ac_var'}'` = yes; then
20292 cat >>confdefs.h <<_ACEOF
20293 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20299 { echo "$as_me:$LINENO: checking for setpgrp" >&5
20300 echo $ECHO_N "checking for setpgrp... $ECHO_C" >&6; }
20301 if test "${ac_cv_func_setpgrp+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 cat >conftest.$ac_ext <<_ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 /* Define setpgrp to an innocuous variant, in case <limits.h> declares setpgrp.
20311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20312 #define setpgrp innocuous_setpgrp
20314 /* System header to define __stub macros and hopefully few prototypes,
20315 which can conflict with char setpgrp (); below.
20316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20317 <limits.h> exists even on freestanding compilers. */
20320 # include <limits.h>
20322 # include <assert.h>
20327 /* Override any GCC internal prototype to avoid an error.
20328 Use char because int might match the return type of a GCC
20329 builtin and then its argument prototype would still apply. */
20334 /* The GNU C library defines this for functions which it implements
20335 to always fail with ENOSYS. Some functions are actually named
20336 something starting with __ and the normal name is an alias. */
20337 #if defined __stub_setpgrp || defined __stub___setpgrp
20349 rm -f conftest.$ac_objext conftest$ac_exeext
20350 if { (ac_try="$ac_link"
20351 case "(($ac_try" in
20352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20353 *) ac_try_echo
=$ac_try;;
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_link") 2>conftest.er1
20358 grep -v '^ *+' conftest.er1
>conftest.err
20360 cat conftest.err
>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest
$ac_exeext &&
20366 $as_test_x conftest
$ac_exeext; then
20367 ac_cv_func_setpgrp
=yes
20369 echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.
$ac_ext >&5
20372 ac_cv_func_setpgrp
=no
20375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20376 conftest
$ac_exeext conftest.
$ac_ext
20378 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp" >&5
20379 echo "${ECHO_T}$ac_cv_func_setpgrp" >&6; }
20380 if test $ac_cv_func_setpgrp = yes; then
20382 { echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20383 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
20384 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20385 echo $ECHO_N "(cached) $ECHO_C" >&6
20387 if test "$cross_compiling" = yes; then
20388 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20389 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20390 { (exit 1); exit 1; }; }
20392 cat >conftest.
$ac_ext <<_ACEOF
20395 cat confdefs.h
>>conftest.
$ac_ext
20396 cat >>conftest.
$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20402 /* If this system has a BSD-style setpgrp which takes arguments,
20403 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20404 exit successfully. */
20405 return setpgrp (1,1) != -1;
20410 rm -f conftest
$ac_exeext
20411 if { (ac_try
="$ac_link"
20412 case "(($ac_try" in
20413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_link") 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20421 { (case "(($ac_try" in
20422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20423 *) ac_try_echo
=$ac_try;;
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_try") 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 ac_cv_func_setpgrp_void
=no
20432 echo "$as_me: program exited with status $ac_status" >&5
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.
$ac_ext >&5
20436 ( exit $ac_status )
20437 ac_cv_func_setpgrp_void
=yes
20439 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20444 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20445 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
20446 if test $ac_cv_func_setpgrp_void = yes; then
20448 cat >>confdefs.h
<<\_ACEOF
20449 #define SETPGRP_VOID 1
20459 { echo "$as_me:$LINENO: checking for fcntl" >&5
20460 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6; }
20461 if test "${liblock_cv_hasfcntl+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 liblock_cv_hasfcntl
="no"
20465 cat >conftest.
$ac_ext <<_ACEOF
20468 cat confdefs.h
>>conftest.
$ac_ext
20469 cat >>conftest.
$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20472 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20473 #include "${srcdir}/lockfcntl.c"
20485 rm -f conftest.
$ac_objext conftest
$ac_exeext
20486 if { (ac_try
="$ac_link"
20487 case "(($ac_try" in
20488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20489 *) ac_try_echo=$ac_try;;
20491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20492 (eval "$ac_link") 2>conftest.er1
20494 grep -v '^ *+' conftest.er1 >conftest.err
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } && {
20499 test -z "$ac_c_werror_flag" ||
20500 test ! -s conftest.err
20501 } && test -s conftest$ac_exeext &&
20502 $as_test_x conftest$ac_exeext; then
20503 liblock_cv_hasfcntl="yes"
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.$ac_ext >&5
20511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20512 conftest$ac_exeext conftest.$ac_ext
20514 { echo "$as_me:$LINENO: result: $liblock_cv_hasfcntl" >&5
20515 echo "${ECHO_T}$liblock_cv_hasfcntl" >&6; }
20516 if test "$liblock_cv_hasfcntl" = "yes"
20519 cat >>confdefs.h <<_ACEOF
20520 #define HAS_FCNTL 1
20525 { echo "$as_me:$LINENO: checking for flock" >&5
20526 echo $ECHO_N "checking for flock... $ECHO_C" >&6; }
20527 if test "${liblock_cv_hasflock+set}" = set; then
20528 echo $ECHO_N "(cached) $ECHO_C" >&6
20530 liblock_cv_hasflock="no"
20531 cat >conftest.$ac_ext <<_ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20538 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20539 #include "${srcdir}/lockflock.c"
20551 rm -f conftest.$ac_objext conftest$ac_exeext
20552 if { (ac_try="$ac_link"
20553 case "(($ac_try" in
20554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20555 *) ac_try_echo
=$ac_try;;
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_link") 2>conftest.er1
20560 grep -v '^ *+' conftest.er1
>conftest.err
20562 cat conftest.err
>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest
$ac_exeext &&
20568 $as_test_x conftest
$ac_exeext; then
20569 liblock_cv_hasflock
="yes"
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20578 conftest
$ac_exeext conftest.
$ac_ext
20580 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock" >&5
20581 echo "${ECHO_T}$liblock_cv_hasflock" >&6; }
20582 if test "$liblock_cv_hasflock" = "yes"
20585 cat >>confdefs.h
<<_ACEOF
20586 #define HAS_FLOCK 1
20591 { echo "$as_me:$LINENO: checking for lockf" >&5
20592 echo $ECHO_N "checking for lockf... $ECHO_C" >&6; }
20593 if test "${liblock_cv_haslockf+set}" = set; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 liblock_cv_haslockf
="no"
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20604 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20605 #include "${srcdir}/locklockf.c"
20617 rm -f conftest.
$ac_objext conftest
$ac_exeext
20618 if { (ac_try
="$ac_link"
20619 case "(($ac_try" in
20620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_link") 2>conftest.er1
20626 grep -v '^ *+' conftest.er1 >conftest.err
20628 cat conftest.err >&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } && {
20631 test -z "$ac_c_werror_flag" ||
20632 test ! -s conftest.err
20633 } && test -s conftest$ac_exeext &&
20634 $as_test_x conftest$ac_exeext; then
20635 liblock_cv_haslockf="yes"
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20644 conftest$ac_exeext conftest.$ac_ext
20646 { echo "$as_me:$LINENO: result: $liblock_cv_haslockf" >&5
20647 echo "${ECHO_T}$liblock_cv_haslockf" >&6; }
20648 if test "$liblock_cv_haslockf" = "yes"
20651 cat >>confdefs.h <<_ACEOF
20652 #define HAS_LOCKF 1
20657 { echo "$as_me:$LINENO: checking for locking method" >&5
20658 echo $ECHO_N "checking for locking method... $ECHO_C" >&6; }
20660 # Check whether --with-locking-method was given.
20661 if test "${with_locking_method+set}" = set; then
20662 withval=$with_locking_method; lockmethod="$withval"
20668 case x$lockmethod in
20670 if test "$cross_compiling" = yes; then
20674 cat >conftest.$ac_ext <<_ACEOF
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20681 #define USE_FCNTL 1
20682 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20683 #include "${srcdir}/locktest.c"
20686 rm -f conftest$ac_exeext
20687 if { (ac_try="$ac_link"
20688 case "(($ac_try" in
20689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20690 *) ac_try_echo
=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_link") 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20697 { (case "(($ac_try" in
20698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20699 *) ac_try_echo=$ac_try;;
20701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20702 (eval "$ac_try") 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20708 echo "$as_me: program exited with status $ac_status" >&5
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20712 ( exit $ac_status )
20713 { { echo "$as_me:$LINENO: error: fcntl test failed." >&5
20714 echo "$as_me: error: fcntl test failed." >&2;}
20715 { (exit 1); exit 1; }; }
20717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20723 if test "$cross_compiling" = yes; then
20724 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20725 echo "$as_me: error: --with-locking-method option required" >&2;}
20726 { (exit 1); exit 1; }; }
20728 cat >conftest.$ac_ext <<_ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20735 #define USE_FCNTL 1
20736 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20737 #include "${srcdir}/locktest.c"
20740 rm -f conftest$ac_exeext
20741 if { (ac_try="$ac_link"
20742 case "(($ac_try" in
20743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20744 *) ac_try_echo
=$ac_try;;
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_link") 2>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20751 { (case "(($ac_try" in
20752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20753 *) ac_try_echo=$ac_try;;
20755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20756 (eval "$ac_try") 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; }; then
20762 echo "$as_me: program exited with status $ac_status" >&5
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20774 case x$lockmethod in
20776 if test "$cross_compiling" = yes; then
20780 cat >conftest.$ac_ext <<_ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20787 #define USE_LOCKF 1
20788 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20789 #include "${srcdir}/locktest.c"
20792 rm -f conftest$ac_exeext
20793 if { (ac_try="$ac_link"
20794 case "(($ac_try" in
20795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20796 *) ac_try_echo
=$ac_try;;
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_link") 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20803 { (case "(($ac_try" in
20804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_try") 2>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
20814 echo "$as_me: program exited with status $ac_status" >&5
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.$ac_ext >&5
20818 ( exit $ac_status )
20819 { { echo "$as_me:$LINENO: error: lockf test failed." >&5
20820 echo "$as_me: error: lockf test failed." >&2;}
20821 { (exit 1); exit 1; }; }
20823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20829 if test "$cross_compiling" = yes; then
20830 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20831 echo "$as_me: error: --with-locking-method option required" >&2;}
20832 { (exit 1); exit 1; }; }
20834 cat >conftest.$ac_ext <<_ACEOF
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20841 #define USE_LOCKF 1
20842 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20843 #include "${srcdir}/locktest.c"
20846 rm -f conftest$ac_exeext
20847 if { (ac_try="$ac_link"
20848 case "(($ac_try" in
20849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20850 *) ac_try_echo
=$ac_try;;
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_link") 2>&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20857 { (case "(($ac_try" in
20858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20859 *) ac_try_echo=$ac_try;;
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_try") 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20868 echo "$as_me: program exited with status $ac_status" >&5
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20881 case x$lockmethod in
20883 if test "$cross_compiling" = yes; then
20887 cat >conftest.$ac_ext <<_ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20894 #define USE_FLOCK 1
20895 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20896 #include "${srcdir}/locktest.c"
20899 rm -f conftest$ac_exeext
20900 if { (ac_try="$ac_link"
20901 case "(($ac_try" in
20902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20903 *) ac_try_echo
=$ac_try;;
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_link") 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20910 { (case "(($ac_try" in
20911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_try") 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; }; then
20921 echo "$as_me: program exited with status $ac_status" >&5
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.$ac_ext >&5
20925 ( exit $ac_status )
20926 { { echo "$as_me:$LINENO: error: flock test failed." >&5
20927 echo "$as_me: error: flock test failed." >&2;}
20928 { (exit 1); exit 1; }; }
20930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20936 if test "$cross_compiling" = yes; then
20937 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20938 echo "$as_me: error: --with-locking-method option required" >&2;}
20939 { (exit 1); exit 1; }; }
20941 cat >conftest.$ac_ext <<_ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20948 #define USE_FLOCK 1
20949 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20950 #include "${srcdir}/locktest.c"
20953 rm -f conftest$ac_exeext
20954 if { (ac_try="$ac_link"
20955 case "(($ac_try" in
20956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20957 *) ac_try_echo
=$ac_try;;
20959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20960 (eval "$ac_link") 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20964 { (case "(($ac_try" in
20965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20966 *) ac_try_echo=$ac_try;;
20968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20969 (eval "$ac_try") 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20975 echo "$as_me: program exited with status $ac_status" >&5
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20987 case x$lockmethod in
20995 { { echo "$as_me:$LINENO: error: must specify --with-locking-method option" >&5
20996 echo "$as_me: error: must specify --with-locking-method option" >&2;}
20997 { (exit 1); exit 1; }; }
21001 { echo "$as_me:$LINENO: result: $lockmethod" >&5
21002 echo "${ECHO_T}$lockmethod" >&6; }
21004 if test "$lockmethod" = "fcntl"; then
21006 USE_FCNTL_FALSE='#'
21012 if test "$lockmethod" = "flock"; then
21014 USE_FLOCK_FALSE='#'
21020 if test "$lockmethod" = "lockf"; then
21022 USE_LOCKF_FALSE='#'
21029 if test -d ${srcdir}/../docbook; then
21031 HAVE_SGML_FALSE='#'
21039 cat >>confdefs.h <<_ACEOF
21040 #define liblock_config_h 1
21044 ac_config_files="$ac_config_files Makefile"
21046 cat >confcache <<\_ACEOF
21047 # This file is a shell script that caches the results of configure
21048 # tests run on this system so they can be shared between configure
21049 # scripts and configure runs, see configure's option --config-cache.
21050 # It is not useful on other systems. If it contains results you don't
21051 # want to keep, you may remove or edit it.
21053 # config.status only pays attention to the cache file if you give it
21054 # the --recheck option to rerun configure.
21056 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21057 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21058 # following values.
21062 # The following way of writing the cache mishandles newlines in values,
21063 # but we know of no workaround that is simple, portable, and efficient.
21064 # So, we kill variables containing newlines.
21065 # Ultrix sh set writes to stderr and can't be redirected directly,
21066 # and sets the high bit in the cache file unless we assign to the vars.
21068 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21069 eval ac_val
=\$
$ac_var
21073 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21074 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21077 _ | IFS | as_nl
) ;; #(
21078 *) $as_unset $ac_var ;;
21084 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21085 *${as_nl}ac_space
=\
*)
21086 # `set' does not quote correctly, so add quotes (double-quote
21087 # substitution turns \\\\ into \\, and sed turns \\ into \).
21090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21093 # `set' quotes correctly as required by POSIX, so do not add quotes.
21094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21103 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21105 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21107 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21108 if test -w "$cache_file"; then
21109 test "x$cache_file" != "x/dev/null" &&
21110 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21111 echo "$as_me: updating cache $cache_file" >&6;}
21112 cat confcache
>$cache_file
21114 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21115 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21120 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21121 # Let make expand exec_prefix.
21122 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21124 DEFS
=-DHAVE_CONFIG_H
21128 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21129 # 1. Remove the extension, and $U if already installed.
21130 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21131 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21133 # will be set to the directory where LIBOBJS objects are built.
21134 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21135 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21137 LIBOBJS
=$ac_libobjs
21139 LTLIBOBJS
=$ac_ltlibobjs
21142 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21143 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21144 Usually this means the macro was only invoked conditionally." >&5
21145 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21146 Usually this means the macro was only invoked conditionally." >&2;}
21147 { (exit 1); exit 1; }; }
21149 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21150 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21151 Usually this means the macro was only invoked conditionally." >&5
21152 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21153 Usually this means the macro was only invoked conditionally." >&2;}
21154 { (exit 1); exit 1; }; }
21156 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21157 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21158 Usually this means the macro was only invoked conditionally." >&5
21159 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21160 Usually this means the macro was only invoked conditionally." >&2;}
21161 { (exit 1); exit 1; }; }
21163 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
21164 { { echo "$as_me:$LINENO: error: conditional \"USE_FCNTL\" was never defined.
21165 Usually this means the macro was only invoked conditionally." >&5
21166 echo "$as_me: error: conditional \"USE_FCNTL\" was never defined.
21167 Usually this means the macro was only invoked conditionally." >&2;}
21168 { (exit 1); exit 1; }; }
21170 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
21171 { { echo "$as_me:$LINENO: error: conditional \"USE_FLOCK\" was never defined.
21172 Usually this means the macro was only invoked conditionally." >&5
21173 echo "$as_me: error: conditional \"USE_FLOCK\" was never defined.
21174 Usually this means the macro was only invoked conditionally." >&2;}
21175 { (exit 1); exit 1; }; }
21177 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
21178 { { echo "$as_me:$LINENO: error: conditional \"USE_LOCKF\" was never defined.
21179 Usually this means the macro was only invoked conditionally." >&5
21180 echo "$as_me: error: conditional \"USE_LOCKF\" was never defined.
21181 Usually this means the macro was only invoked conditionally." >&2;}
21182 { (exit 1); exit 1; }; }
21184 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
21185 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
21186 Usually this means the macro was only invoked conditionally." >&5
21187 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
21188 Usually this means the macro was only invoked conditionally." >&2;}
21189 { (exit 1); exit 1; }; }
21192 : ${CONFIG_STATUS=./config.status}
21193 ac_clean_files_save
=$ac_clean_files
21194 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21195 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21196 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21197 cat >$CONFIG_STATUS <<_ACEOF
21199 # Generated by $as_me.
21200 # Run this file to recreate the current configuration.
21201 # Compiler output produced by configure, useful for debugging
21202 # configure, is in config.log if it exists.
21205 ac_cs_recheck=false
21207 SHELL=\${CONFIG_SHELL-$SHELL}
21210 cat >>$CONFIG_STATUS <<\_ACEOF
21211 ## --------------------- ##
21212 ## M4sh Initialization. ##
21213 ## --------------------- ##
21215 # Be more Bourne compatible
21216 DUALCASE
=1; export DUALCASE
# for MKS sh
21217 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21220 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21221 # is contrary to our usage. Disable this feature.
21222 alias -g '${1+"$@"}'='"$@"'
21223 setopt NO_GLOB_SUBST
21225 case `(set -o) 2>/dev/null` in
21226 *posix
*) set -o posix
;;
21235 # Avoid depending upon Character Ranges.
21236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21239 as_cr_digits
='0123456789'
21240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21242 # The user is always right.
21243 if test "${PATH_SEPARATOR+set}" != set; then
21244 echo "#! /bin/sh" >conf$$.sh
21245 echo "exit 0" >>conf$$.sh
21247 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21255 # Support unset when possible.
21256 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21264 # We need space, tab and new line, in precisely that order. Quoting is
21265 # there to prevent editors from complaining about space-tab.
21266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21267 # splitting by setting IFS to empty value.)
21272 # Find who we are. Look in the path if we contain no directory separator.
21274 *[\\/]* ) as_myself
=$0 ;;
21275 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21276 for as_dir
in $PATH
21279 test -z "$as_dir" && as_dir
=.
21280 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21286 # We did not find ourselves, most probably we were run as `sh COMMAND'
21287 # in which case we are not to be found in the path.
21288 if test "x$as_myself" = x
; then
21291 if test ! -f "$as_myself"; then
21292 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21293 { (exit 1); exit 1; }
21296 # Work around bugs in pre-3.0 UWIN ksh.
21297 for as_var
in ENV MAIL MAILPATH
21298 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21306 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21307 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21308 LC_TELEPHONE LC_TIME
21310 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21311 eval $as_var=C
; export $as_var
21313 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21317 # Required to use basename.
21318 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21319 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21325 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21326 as_basename
=basename
21332 # Name of the executable.
21333 as_me
=`$as_basename -- "$0" ||
21334 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21335 X"$0" : 'X\(//\)$' \| \
21336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21338 sed '/^.*\/\([^/][^/]*\)\/*$/{
21357 as_lineno_1
=$LINENO
21358 as_lineno_2
=$LINENO
21359 test "x$as_lineno_1" != "x$as_lineno_2" &&
21360 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21362 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21363 # uniformly replaced by the line number. The first 'sed' inserts a
21364 # line-number line after each line using $LINENO; the second 'sed'
21365 # does the real work. The second script uses 'N' to pair each
21366 # line-number line with the line containing $LINENO, and appends
21367 # trailing '-' during substitution so that $LINENO is not a special
21368 # case at line end.
21369 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21370 # scripts with optimization help from Paolo Bonzini. Blame Lee
21371 # E. McMahon (1931-1989) for sed's syntax. :-)
21383 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21386 ' >$as_me.lineno
&&
21387 chmod +x
"$as_me.lineno" ||
21388 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21389 { (exit 1); exit 1; }; }
21391 # Don't try to exec as it changes $[0], causing all sort of problems
21392 # (the dirname of $[0] is not the place where we might find the
21393 # original and so on. Autoconf is especially sensitive to this).
21394 .
"./$as_me.lineno"
21395 # Exit status is that of the last command.
21400 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21406 ECHO_C
= ECHO_N
= ECHO_T
=
21407 case `echo -n x` in
21409 case `echo 'x\c'` in
21410 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21417 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21418 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21424 rm -f conf$$ conf$$.exe conf$$.
file
21425 if test -d conf$$.dir
; then
21426 rm -f conf$$.dir
/conf$$.
file
21432 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21434 # ... but there are two gotchas:
21435 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21436 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21437 # In both cases, we have to default to `cp -p'.
21438 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21440 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21445 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21446 rmdir conf$$.dir
2>/dev
/null
21448 if mkdir
-p .
2>/dev
/null
; then
21451 test -d .
/-p && rmdir .
/-p
21455 if test -x / >/dev
/null
2>&1; then
21456 as_test_x
='test -x'
21458 if ls -dL / >/dev
/null
2>&1; then
21465 if test -d "$1"; then
21471 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21472 ???[sx]*):;;*)false;;esac;fi
21476 as_executable_p
=$as_test_x
21478 # Sed expression to map a string onto a valid CPP name.
21479 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21481 # Sed expression to map a string onto a valid variable name.
21482 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21487 # Save the log message, to keep $[0] and so on meaningful, and to
21488 # report actual input values of CONFIG_FILES etc. instead of their
21489 # values after options handling.
21491 This file was extended by liblock $as_me 0.60, which was
21492 generated by GNU Autoconf 2.61. Invocation command line was
21494 CONFIG_FILES = $CONFIG_FILES
21495 CONFIG_HEADERS = $CONFIG_HEADERS
21496 CONFIG_LINKS = $CONFIG_LINKS
21497 CONFIG_COMMANDS = $CONFIG_COMMANDS
21500 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21505 cat >>$CONFIG_STATUS <<_ACEOF
21506 # Files that config.status was made for.
21507 config_files="$ac_config_files"
21508 config_headers="$ac_config_headers"
21509 config_commands="$ac_config_commands"
21513 cat >>$CONFIG_STATUS <<\_ACEOF
21515 \`$as_me' instantiates files from templates according to the
21516 current configuration.
21518 Usage: $0 [OPTIONS] [FILE]...
21520 -h, --help print this help, then exit
21521 -V, --version print version number and configuration settings, then exit
21522 -q, --quiet do not print progress messages
21523 -d, --debug don't remove temporary files
21524 --recheck update $as_me by reconfiguring in the same conditions
21525 --file=FILE[:TEMPLATE]
21526 instantiate the configuration file FILE
21527 --header=FILE[:TEMPLATE]
21528 instantiate the configuration header FILE
21530 Configuration files:
21533 Configuration headers:
21536 Configuration commands:
21539 Report bugs to <bug-autoconf@gnu.org>."
21542 cat >>$CONFIG_STATUS <<_ACEOF
21544 liblock config.status 0.60
21545 configured by $0, generated by GNU Autoconf 2.61,
21546 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21548 Copyright (C) 2006 Free Software Foundation, Inc.
21549 This config.status script is free software; the Free Software Foundation
21550 gives unlimited permission to copy, distribute and modify it."
21558 cat >>$CONFIG_STATUS <<\_ACEOF
21559 # If no file are specified by the user, then we need to provide default
21560 # value. By we need to know if files were specified by the user.
21566 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21567 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21578 # Handling of the options.
21579 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21581 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21582 echo "$ac_cs_version"; exit ;;
21583 --debug |
--debu |
--deb |
--de |
--d |
-d )
21585 --file |
--fil |
--fi |
--f )
21587 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21588 ac_need_defaults
=false
;;
21589 --header |
--heade |
--head |
--hea )
21591 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21592 ac_need_defaults
=false
;;
21594 # Conflict between --help and --header
21595 { echo "$as_me: error: ambiguous option: $1
21596 Try \`$0 --help' for more information." >&2
21597 { (exit 1); exit 1; }; };;
21598 --help |
--hel |
-h )
21599 echo "$ac_cs_usage"; exit ;;
21600 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21601 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21604 # This is an error.
21605 -*) { echo "$as_me: error: unrecognized option: $1
21606 Try \`$0 --help' for more information." >&2
21607 { (exit 1); exit 1; }; } ;;
21609 *) ac_config_targets
="$ac_config_targets $1"
21610 ac_need_defaults
=false
;;
21616 ac_configure_extra_args
=
21618 if $ac_cs_silent; then
21620 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21624 cat >>$CONFIG_STATUS <<_ACEOF
21625 if \$ac_cs_recheck; then
21626 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21627 CONFIG_SHELL=$SHELL
21628 export CONFIG_SHELL
21629 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21633 cat >>$CONFIG_STATUS <<\_ACEOF
21637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21638 ## Running $as_me. ##
21644 cat >>$CONFIG_STATUS <<_ACEOF
21648 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21652 cat >>$CONFIG_STATUS <<\_ACEOF
21654 # Handling of arguments.
21655 for ac_config_target
in $ac_config_targets
21657 case $ac_config_target in
21658 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21659 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21660 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21662 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21663 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21664 { (exit 1); exit 1; }; };;
21669 # If the user did not use the arguments to specify the items to instantiate,
21670 # then the envvar interface is used. Set only those that are not.
21671 # We use the long form for the default assignment because of an extremely
21672 # bizarre bug on SunOS 4.1.3.
21673 if $ac_need_defaults; then
21674 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21675 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21676 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21679 # Have a temporary directory for convenience. Make it in the build tree
21680 # simply because there is no reason against having it here, and in addition,
21681 # creating and moving files from /tmp can sometimes cause problems.
21682 # Hook for its removal unless debugging.
21683 # Note that there is a small window in which the directory will not be cleaned:
21684 # after its creation but before its name has been assigned to `$tmp'.
21688 trap 'exit_status=$?
21689 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21691 trap '{ (exit 1); exit 1; }' 1 2 13 15
21693 # Create a (secure) tmp directory for tmp files.
21696 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21697 test -n "$tmp" && test -d "$tmp"
21700 tmp
=.
/conf$$
-$RANDOM
21701 (umask 077 && mkdir
"$tmp")
21704 echo "$me: cannot create a temporary directory in ." >&2
21705 { (exit 1); exit 1; }
21709 # Set up the sed scripts for CONFIG_FILES section.
21712 # No need to generate the scripts if there are no CONFIG_FILES.
21713 # This happens for instance when ./config.status config.h
21714 if test -n "$CONFIG_FILES"; then
21721 for ac_last_try
in false false false false false
:; do
21722 cat >conf$
$subs.
sed <<_ACEOF
21723 SHELL!$SHELL$ac_delim
21724 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21725 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21726 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21727 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21728 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21729 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21730 exec_prefix!$exec_prefix$ac_delim
21731 prefix!$prefix$ac_delim
21732 program_transform_name!$program_transform_name$ac_delim
21733 bindir!$bindir$ac_delim
21734 sbindir!$sbindir$ac_delim
21735 libexecdir!$libexecdir$ac_delim
21736 datarootdir!$datarootdir$ac_delim
21737 datadir!$datadir$ac_delim
21738 sysconfdir!$sysconfdir$ac_delim
21739 sharedstatedir!$sharedstatedir$ac_delim
21740 localstatedir!$localstatedir$ac_delim
21741 includedir!$includedir$ac_delim
21742 oldincludedir!$oldincludedir$ac_delim
21743 docdir!$docdir$ac_delim
21744 infodir!$infodir$ac_delim
21745 htmldir!$htmldir$ac_delim
21746 dvidir!$dvidir$ac_delim
21747 pdfdir!$pdfdir$ac_delim
21748 psdir!$psdir$ac_delim
21749 libdir!$libdir$ac_delim
21750 localedir!$localedir$ac_delim
21751 mandir!$mandir$ac_delim
21752 DEFS!$DEFS$ac_delim
21753 ECHO_C!$ECHO_C$ac_delim
21754 ECHO_N!$ECHO_N$ac_delim
21755 ECHO_T!$ECHO_T$ac_delim
21756 LIBS!$LIBS$ac_delim
21757 build_alias!$build_alias$ac_delim
21758 host_alias!$host_alias$ac_delim
21759 target_alias!$target_alias$ac_delim
21760 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21761 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21762 INSTALL_DATA!$INSTALL_DATA$ac_delim
21763 am__isrc!$am__isrc$ac_delim
21764 CYGPATH_W!$CYGPATH_W$ac_delim
21765 PACKAGE!$PACKAGE$ac_delim
21766 VERSION!$VERSION$ac_delim
21767 ACLOCAL!$ACLOCAL$ac_delim
21768 AUTOCONF!$AUTOCONF$ac_delim
21769 AUTOMAKE!$AUTOMAKE$ac_delim
21770 AUTOHEADER!$AUTOHEADER$ac_delim
21771 MAKEINFO!$MAKEINFO$ac_delim
21772 install_sh!$install_sh$ac_delim
21773 STRIP!$STRIP$ac_delim
21774 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21775 mkdir_p!$mkdir_p$ac_delim
21777 SET_MAKE!$SET_MAKE$ac_delim
21778 am__leading_dot!$am__leading_dot$ac_delim
21779 AMTAR!$AMTAR$ac_delim
21780 am__tar!$am__tar$ac_delim
21781 am__untar!$am__untar$ac_delim
21783 CFLAGS!$CFLAGS$ac_delim
21784 LDFLAGS!$LDFLAGS$ac_delim
21785 CPPFLAGS!$CPPFLAGS$ac_delim
21786 ac_ct_CC!$ac_ct_CC$ac_delim
21787 EXEEXT!$EXEEXT$ac_delim
21788 OBJEXT!$OBJEXT$ac_delim
21789 DEPDIR!$DEPDIR$ac_delim
21790 am__include!$am__include$ac_delim
21791 am__quote!$am__quote$ac_delim
21792 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21793 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21794 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21795 CCDEPMODE!$CCDEPMODE$ac_delim
21796 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21797 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21798 LN_S!$LN_S$ac_delim
21799 build!$build$ac_delim
21800 build_cpu!$build_cpu$ac_delim
21801 build_vendor!$build_vendor$ac_delim
21802 build_os!$build_os$ac_delim
21803 host!$host$ac_delim
21804 host_cpu!$host_cpu$ac_delim
21805 host_vendor!$host_vendor$ac_delim
21806 host_os!$host_os$ac_delim
21808 GREP!$GREP$ac_delim
21809 EGREP!$EGREP$ac_delim
21810 ECHO!$ECHO$ac_delim
21812 RANLIB!$RANLIB$ac_delim
21815 CXXFLAGS!$CXXFLAGS$ac_delim
21816 ac_ct_CXX!$ac_ct_CXX$ac_delim
21817 CXXDEPMODE!$CXXDEPMODE$ac_delim
21818 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21819 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21824 elif $ac_last_try; then
21825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21827 { (exit 1); exit 1; }; }
21829 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21833 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21834 if test -n "$ac_eof"; then
21835 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21836 ac_eof
=`expr $ac_eof + 1`
21839 cat >>$CONFIG_STATUS <<_ACEOF
21840 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21845 s/^/s,@/; s/!/@,|#_!!_#|/
21848 s/'"$ac_delim"'$/,g/; t
21850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21851 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21852 rm -f conf$
$subs.
sed
21853 cat >>$CONFIG_STATUS <<_ACEOF
21859 for ac_last_try
in false false false false false
:; do
21860 cat >conf$
$subs.
sed <<_ACEOF
21861 CXXCPP!$CXXCPP$ac_delim
21863 FFLAGS!$FFLAGS$ac_delim
21864 ac_ct_F77!$ac_ct_F77$ac_delim
21865 LIBTOOL!$LIBTOOL$ac_delim
21866 USE_FCNTL_TRUE!$USE_FCNTL_TRUE$ac_delim
21867 USE_FCNTL_FALSE!$USE_FCNTL_FALSE$ac_delim
21868 USE_FLOCK_TRUE!$USE_FLOCK_TRUE$ac_delim
21869 USE_FLOCK_FALSE!$USE_FLOCK_FALSE$ac_delim
21870 USE_LOCKF_TRUE!$USE_LOCKF_TRUE$ac_delim
21871 USE_LOCKF_FALSE!$USE_LOCKF_FALSE$ac_delim
21872 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21873 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21874 LIBOBJS!$LIBOBJS$ac_delim
21875 LTLIBOBJS!$LTLIBOBJS$ac_delim
21878 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
21880 elif $ac_last_try; then
21881 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21882 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21883 { (exit 1); exit 1; }; }
21885 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21889 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21890 if test -n "$ac_eof"; then
21891 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21892 ac_eof
=`expr $ac_eof + 1`
21895 cat >>$CONFIG_STATUS <<_ACEOF
21896 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21900 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21901 s/^/s,@/; s/!/@,|#_!!_#|/
21904 s/'"$ac_delim"'$/,g/; t
21906 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21907 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21908 rm -f conf$
$subs.
sed
21909 cat >>$CONFIG_STATUS <<_ACEOF
21916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21918 # trailing colons and then remove the whole line if VPATH becomes empty
21919 # (actually we leave an empty line to preserve line numbers).
21920 if test "x$srcdir" = x.
; then
21921 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21922 s/:*\$(srcdir):*/:/
21923 s/:*\${srcdir}:*/:/
21925 s/^\([^=]*=[ ]*\):*/\1/
21931 cat >>$CONFIG_STATUS <<\_ACEOF
21932 fi # test -n "$CONFIG_FILES"
21935 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21938 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21940 case $ac_mode$ac_tag in
21942 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21943 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21944 { (exit 1); exit 1; }; };;
21945 :[FH
]-) ac_tag
=-:-;;
21946 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21963 -) ac_f
="$tmp/stdin";;
21964 *) # Look for the file first in the build tree, then in the source tree
21965 # (if the path is not absolute). The absolute path cannot be DOS-style,
21966 # because $ac_f cannot contain `:'.
21970 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21972 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21973 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21974 { (exit 1); exit 1; }; };;
21976 ac_file_inputs
="$ac_file_inputs $ac_f"
21979 # Let's still pretend it is `configure' which instantiates (i.e., don't
21980 # use $as_me), people would be surprised to read:
21981 # /* config.h. Generated by config.status. */
21982 configure_input
="Generated from "`IFS=:
21983 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21984 if test x
"$ac_file" != x-
; then
21985 configure_input
="$ac_file. $configure_input"
21986 { echo "$as_me:$LINENO: creating $ac_file" >&5
21987 echo "$as_me: creating $ac_file" >&6;}
21991 *:-:* |
*:-) cat >"$tmp/stdin";;
21996 ac_dir
=`$as_dirname -- "$ac_file" ||
21997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21998 X"$ac_file" : 'X\(//\)[^/]' \| \
21999 X"$ac_file" : 'X\(//\)$' \| \
22000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22006 /^X\(\/\/\)[^/].*/{
22021 -*) as_dir
=.
/$as_dir;;
22023 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22027 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22028 *) as_qdir
=$as_dir;;
22030 as_dirs
="'$as_qdir' $as_dirs"
22031 as_dir
=`$as_dirname -- "$as_dir" ||
22032 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22033 X"$as_dir" : 'X\(//\)[^/]' \| \
22034 X"$as_dir" : 'X\(//\)$' \| \
22035 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22041 /^X\(\/\/\)[^/].*/{
22054 test -d "$as_dir" && break
22056 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22057 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22058 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22059 { (exit 1); exit 1; }; }; }
22063 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22065 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22066 # A ".." for each directory in $ac_dir_suffix.
22067 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22068 case $ac_top_builddir_sub in
22069 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22070 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22073 ac_abs_top_builddir
=$ac_pwd
22074 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22075 # for backward compatibility:
22076 ac_top_builddir
=$ac_top_build_prefix
22079 .
) # We are building in place.
22081 ac_top_srcdir
=$ac_top_builddir_sub
22082 ac_abs_top_srcdir
=$ac_pwd ;;
22083 [\\/]* | ?
:[\\/]* ) # Absolute name.
22084 ac_srcdir
=$srcdir$ac_dir_suffix;
22085 ac_top_srcdir
=$srcdir
22086 ac_abs_top_srcdir
=$srcdir ;;
22087 *) # Relative name.
22088 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22089 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22090 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22092 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22102 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22103 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22105 ac_MKDIR_P
=$MKDIR_P
22107 [\\/$
]* | ?
:[\\/]* ) ;;
22108 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22112 cat >>$CONFIG_STATUS <<\_ACEOF
22113 # If the template does not know about datarootdir, expand it.
22114 # FIXME: This hack should be removed a few years after 2.60.
22115 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22117 case `sed -n '/datarootdir/ {
22126 ' $ac_file_inputs` in
22127 *datarootdir
*) ac_datarootdir_seen
=yes;;
22128 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22129 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22130 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22132 cat >>$CONFIG_STATUS <<_ACEOF
22133 ac_datarootdir_hack='
22134 s&@datadir@&$datadir&g
22135 s&@docdir@&$docdir&g
22136 s&@infodir@&$infodir&g
22137 s&@localedir@&$localedir&g
22138 s&@mandir@&$mandir&g
22139 s&\\\${datarootdir}&$datarootdir&g' ;;
22143 # Neutralize VPATH when `$srcdir' = `.'.
22144 # Shell code in configure.ac might set extrasub.
22145 # FIXME: do we really want to maintain this feature?
22146 cat >>$CONFIG_STATUS <<_ACEOF
22150 cat >>$CONFIG_STATUS <<\_ACEOF
22152 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22153 s
&@configure_input@
&$configure_input&;t t
22154 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22155 s
&@srcdir@
&$ac_srcdir&;t t
22156 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22157 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22158 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22159 s
&@builddir@
&$ac_builddir&;t t
22160 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22161 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22162 s
&@INSTALL@
&$ac_INSTALL&;t t
22163 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22164 $ac_datarootdir_hack
22165 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22167 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22168 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22169 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22170 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22171 which seems to be undefined. Please make sure it is defined." >&5
22172 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22173 which seems to be undefined. Please make sure it is defined." >&2;}
22177 -) cat "$tmp/out"; rm -f "$tmp/out";;
22178 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22187 # Transform confdefs.h into a sed script `conftest.defines', that
22188 # substitutes the proper values into config.h.in to produce config.h.
22189 rm -f conftest.defines conftest.
tail
22190 # First, append a space to every undef/define line, to ease matching.
22191 echo 's/$/ /' >conftest.defines
22192 # Then, protect against being on the right side of a sed subst, or in
22193 # an unquoted here document, in config.status. If some macros were
22194 # called several times there might be several #defines for the same
22195 # symbol, which is useless. But do not sort them, since the last
22196 # AC_DEFINE must be honored.
22197 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22198 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22199 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22200 # PARAMS is the parameter list in the macro definition--in most cases, it's
22201 # just an empty string.
22202 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22203 ac_dB
='\\)[ (].*,\\1define\\2'
22211 s/^[ ]*#[ ]*define[ ][ ]*//
22216 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22217 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22218 ' >>conftest.defines
22220 # Remove the space that was appended to ease matching.
22221 # Then replace #undef with comments. This is necessary, for
22222 # example, in the case of _POSIX_SOURCE, which is predefined and required
22223 # on some systems where configure will not decide to define it.
22224 # (The regexp can be short, since the line contains either #define or #undef.)
22226 s,^[ #]*u.*,/* & */,' >>conftest.defines
22228 # Break up conftest.defines:
22229 ac_max_sed_lines
=50
22231 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22232 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22233 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22235 ac_in
='$ac_file_inputs'
22236 ac_out
='"$tmp/out1"'
22237 ac_nxt
='"$tmp/out2"'
22241 # Write a here document:
22242 cat >>$CONFIG_STATUS <<_ACEOF
22243 # First, check the format of the line:
22244 cat >"\$tmp/defines.sed" <<\\CEOF
22245 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22246 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22250 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22252 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22253 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22254 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22255 grep . conftest.
tail >/dev
/null ||
break
22256 rm -f conftest.defines
22257 mv conftest.
tail conftest.defines
22259 rm -f conftest.defines conftest.
tail
22261 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22262 cat >>$CONFIG_STATUS <<\_ACEOF
22263 if test x
"$ac_file" != x-
; then
22264 echo "/* $configure_input */" >"$tmp/config.h"
22265 cat "$ac_result" >>"$tmp/config.h"
22266 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22267 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22268 echo "$as_me: $ac_file is unchanged" >&6;}
22271 mv "$tmp/config.h" $ac_file
22274 echo "/* $configure_input */"
22278 # Compute $ac_file's index in $config_headers.
22280 for _am_header
in $config_headers :; do
22281 case $_am_header in
22282 $ac_file |
$ac_file:* )
22285 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22288 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22289 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22290 X$ac_file : 'X\(//\)[^/]' \| \
22291 X$ac_file : 'X\(//\)$' \| \
22292 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22298 /^X\(\/\/\)[^/].*/{
22310 s/.*/./; q'`/stamp-h
$_am_stamp_count
22313 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22314 echo "$as_me: executing $ac_file commands" >&6;}
22319 case $ac_file$ac_mode in
22320 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22321 # Strip MF so we end up with the name of the file.
22322 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22323 # Check whether this is an Automake generated Makefile or not.
22324 # We used to match only the files named `Makefile.in', but
22325 # some people rename them; so instead we look at the file content.
22326 # Grep'ing the first line is not enough: some people post-process
22327 # each Makefile.in and add a new line on top of each file to say so.
22328 # Grep'ing the whole file is not good either: AIX grep has a line
22329 # limit of 2048, but all sed's we know have understand at least 4000.
22330 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22331 dirpart
=`$as_dirname -- "$mf" ||
22332 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22333 X"$mf" : 'X\(//\)[^/]' \| \
22334 X"$mf" : 'X\(//\)$' \| \
22335 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22341 /^X\(\/\/\)[^/].*/{
22357 # Extract the definition of DEPDIR, am__include, and am__quote
22358 # from the Makefile without running `make'.
22359 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22360 test -z "$DEPDIR" && continue
22361 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22362 test -z "am__include" && continue
22363 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22364 # When using ansi2knr, U may be empty or an underscore; expand it
22365 U
=`sed -n 's/^U = //p' < "$mf"`
22366 # Find all dependency output files, they are included files with
22367 # $(DEPDIR) in their names. We invoke sed twice because it is the
22368 # simplest approach to changing $(DEPDIR) to its actual value in the
22370 for file in `sed -n "
22371 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22372 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22373 # Make sure the directory exists.
22374 test -f "$dirpart/$file" && continue
22375 fdir
=`$as_dirname -- "$file" ||
22376 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22377 X"$file" : 'X\(//\)[^/]' \| \
22378 X"$file" : 'X\(//\)$' \| \
22379 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22385 /^X\(\/\/\)[^/].*/{
22398 { as_dir
=$dirpart/$fdir
22400 -*) as_dir
=.
/$as_dir;;
22402 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22406 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22407 *) as_qdir
=$as_dir;;
22409 as_dirs
="'$as_qdir' $as_dirs"
22410 as_dir
=`$as_dirname -- "$as_dir" ||
22411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22412 X"$as_dir" : 'X\(//\)[^/]' \| \
22413 X"$as_dir" : 'X\(//\)$' \| \
22414 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22420 /^X\(\/\/\)[^/].*/{
22433 test -d "$as_dir" && break
22435 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22436 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22437 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22438 { (exit 1); exit 1; }; }; }
22439 # echo "creating $dirpart/$file"
22440 echo '# dummy' > "$dirpart/$file"
22449 { (exit 0); exit 0; }
22451 chmod +x
$CONFIG_STATUS
22452 ac_clean_files
=$ac_clean_files_save
22455 # configure is writing to config.log, and then calls config.status.
22456 # config.status does its own redirection, appending to config.log.
22457 # Unfortunately, on DOS this fails, as config.log is still kept open
22458 # by configure, so config.status won't be able to write to it; its
22459 # output is simply discarded. So we exec the FD to /dev/null,
22460 # effectively closing config.log, so it can be properly (re)opened and
22461 # appended to by config.status. When coming back to configure, we
22462 # need to make the FD available again.
22463 if test "$no_create" != yes; then
22465 ac_config_status_args
=
22466 test "$silent" = yes &&
22467 ac_config_status_args
="$ac_config_status_args --quiet"
22469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22472 # would make configure fail if this is the last instruction.
22473 $ac_cs_success ||
{ (exit 1); exit 1; }