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 { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$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 recognize dependent libraries" >&5
4207 echo $ECHO_N "checking how to recognize 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 # unless we find 'file', for example because we are cross-compiling.
4250 if ( file / ) >/dev
/null
2>&1; then
4251 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4252 lt_cv_file_magic_cmd
='func_win32_libid'
4254 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4255 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4259 darwin
* | rhapsody
*)
4260 lt_cv_deplibs_check_method
=pass_all
4263 freebsd
* | dragonfly
*)
4264 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4267 # Not sure whether the presence of OpenBSD here was a mistake.
4268 # Let's accept both of them until this is cleared up.
4269 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4270 lt_cv_file_magic_cmd
=/usr
/bin
/file
4271 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4275 lt_cv_deplibs_check_method
=pass_all
4280 lt_cv_deplibs_check_method
=pass_all
4283 hpux10.20
* | hpux11
*)
4284 lt_cv_file_magic_cmd
=/usr
/bin
/file
4287 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4288 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4291 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]'
4292 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4295 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4296 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4302 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4303 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4306 irix5
* | irix6
* | nonstopux
*)
4308 *-32|
*"-32 ") libmagic
=32-bit;;
4309 *-n32|
*"-n32 ") libmagic
=N32
;;
4310 *-64|
*"-64 ") libmagic
=64-bit;;
4311 *) libmagic
=never-match
;;
4313 lt_cv_deplibs_check_method
=pass_all
4316 # This must be Linux ELF.
4317 linux
* | k
*bsd
*-gnu)
4318 lt_cv_deplibs_check_method
=pass_all
4322 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4323 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4325 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4330 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4331 lt_cv_file_magic_cmd
=/usr
/bin
/file
4332 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4336 lt_cv_deplibs_check_method
=unknown
4340 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4341 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4343 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4347 osf3
* | osf4
* | osf5
*)
4348 lt_cv_deplibs_check_method
=pass_all
4352 lt_cv_deplibs_check_method
=pass_all
4356 lt_cv_deplibs_check_method
=pass_all
4360 case $host_vendor in
4362 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]'
4363 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4366 lt_cv_deplibs_check_method
=pass_all
4369 lt_cv_file_magic_cmd
='/bin/file'
4370 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4373 lt_cv_file_magic_cmd
='/bin/file'
4374 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4375 lt_cv_file_magic_test_file
=/lib
/libc.so
4378 lt_cv_deplibs_check_method
=pass_all
4381 lt_cv_deplibs_check_method
=pass_all
4386 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4387 lt_cv_deplibs_check_method
=pass_all
4392 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4393 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4394 file_magic_cmd
=$lt_cv_file_magic_cmd
4395 deplibs_check_method
=$lt_cv_deplibs_check_method
4396 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4401 # If no C compiler was specified, use CC.
4404 # If no C compiler flags were specified, use CFLAGS.
4405 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4407 # Allow CC to be a program name with arguments.
4411 # Check whether --enable-libtool-lock was given.
4412 if test "${enable_libtool_lock+set}" = set; then
4413 enableval
=$enable_libtool_lock;
4416 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4418 # Some flags need to be propagated to the compiler or linker for good
4422 # Find out which ABI we are using.
4423 echo 'int i;' > conftest.
$ac_ext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425 (eval $ac_compile) 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; then
4429 case `/usr/bin/file conftest.$ac_objext` in
4441 # Find out which ABI we are using.
4442 echo '#line 4442 "configure"' > conftest.
$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 if test "$lt_cv_prog_gnu_ld" = yes; then
4449 case `/usr/bin/file conftest.$ac_objext` in
4451 LD
="${LD-ld} -melf32bsmip"
4454 LD
="${LD-ld} -melf32bmipn32"
4457 LD
="${LD-ld} -melf64bmip"
4461 case `/usr/bin/file conftest.$ac_objext` in
4477 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4478 s390
*-*linux
*|sparc
*-*linux
*)
4479 # Find out which ABI we are using.
4480 echo 'int i;' > conftest.
$ac_ext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; then
4486 case `/usr/bin/file conftest.o` in
4489 x86_64-
*kfreebsd
*-gnu)
4490 LD
="${LD-ld} -m elf_i386_fbsd"
4493 LD
="${LD-ld} -m elf_i386"
4495 ppc64-
*linux
*|powerpc64-
*linux
*)
4496 LD
="${LD-ld} -m elf32ppclinux"
4499 LD
="${LD-ld} -m elf_s390"
4502 LD
="${LD-ld} -m elf32_sparc"
4509 x86_64-
*kfreebsd
*-gnu)
4510 LD
="${LD-ld} -m elf_x86_64_fbsd"
4513 LD
="${LD-ld} -m elf_x86_64"
4515 ppc
*-*linux
*|powerpc
*-*linux
*)
4516 LD
="${LD-ld} -m elf64ppc"
4519 LD
="${LD-ld} -m elf64_s390"
4522 LD
="${LD-ld} -m elf64_sparc"
4532 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4533 SAVE_CFLAGS
="$CFLAGS"
4534 CFLAGS
="$CFLAGS -belf"
4535 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4536 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4537 if test "${lt_cv_cc_needs_belf+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 ac_cpp
='$CPP $CPPFLAGS'
4542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4546 cat >conftest.
$ac_ext <<_ACEOF
4549 cat confdefs.h
>>conftest.
$ac_ext
4550 cat >>conftest.
$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4561 rm -f conftest.
$ac_objext conftest
$ac_exeext
4562 if { (ac_try
="$ac_link"
4564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4568 (eval "$ac_link") 2>conftest.er1
4570 grep -v '^ *+' conftest.er1 >conftest.err
4572 cat conftest.err >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } && {
4575 test -z "$ac_c_werror_flag" ||
4576 test ! -s conftest.err
4577 } && test -s conftest$ac_exeext &&
4578 $as_test_x conftest$ac_exeext; then
4579 lt_cv_cc_needs_belf=yes
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 lt_cv_cc_needs_belf=no
4587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4588 conftest$ac_exeext conftest.$ac_ext
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4597 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4598 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4599 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4600 CFLAGS="$SAVE_CFLAGS"
4604 # Find out which ABI we are using.
4605 echo 'int i;' > conftest.$ac_ext
4606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4607 (eval $ac_compile) 2>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; then
4611 case `/usr
/bin
/file conftest.o
` in
4613 case $lt_cv_prog_gnu_ld in
4614 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4615 *) LD="${LD-ld} -64" ;;
4626 need_locks="$enable_libtool_lock"
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4634 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4635 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4636 # On Suns, sometimes $CPP names a directory.
4637 if test -n "$CPP" && test -d "$CPP"; then
4640 if test -z "$CPP"; then
4641 if test "${ac_cv_prog_CPP+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 # Double quotes because CPP needs to be expanded
4645 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4648 for ac_c_preproc_warn_flag in '' yes
4650 # Use a header file that comes with gcc, so configuring glibc
4651 # with a fresh cross-compiler works.
4652 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 # <limits.h> exists even on freestanding compilers.
4654 # On the NeXT, cc -E runs the code through the compiler's parser,
4655 # not just through cpp. "Syntax error" is here to catch this case.
4656 cat >conftest.$ac_ext <<_ACEOF
4659 cat confdefs.h >>conftest.$ac_ext
4660 cat >>conftest.$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4663 # include <limits.h>
4665 # include <assert.h>
4669 if { (ac_try="$ac_cpp conftest.$ac_ext"
4671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4672 *) ac_try_echo
=$ac_try;;
4674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4677 grep -v '^ *+' conftest.er1
>conftest.err
4679 cat conftest.err
>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } >/dev
/null
&& {
4682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4683 test ! -s conftest.err
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.
$ac_ext >&5
4690 # Broken: fails on valid input.
4694 rm -f conftest.err conftest.
$ac_ext
4696 # OK, works on sane cases. Now check whether nonexistent headers
4697 # can be detected and how.
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4704 #include <ac_nonexistent.h>
4706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4714 grep -v '^ *+' conftest.er1 >conftest.err
4716 cat conftest.err >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } >/dev/null && {
4719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4720 test ! -s conftest.err
4722 # Broken: success on invalid input.
4725 echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.$ac_ext >&5
4728 # Passes both tests.
4733 rm -f conftest.err conftest.$ac_ext
4736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4737 rm -f conftest.err conftest.
$ac_ext
4738 if $ac_preproc_ok; then
4750 { echo "$as_me:$LINENO: result: $CPP" >&5
4751 echo "${ECHO_T}$CPP" >&6; }
4753 for ac_c_preproc_warn_flag
in '' yes
4755 # Use a header file that comes with gcc, so configuring glibc
4756 # with a fresh cross-compiler works.
4757 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4758 # <limits.h> exists even on freestanding compilers.
4759 # On the NeXT, cc -E runs the code through the compiler's parser,
4760 # not just through cpp. "Syntax error" is here to catch this case.
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4768 # include <limits.h>
4770 # include <assert.h>
4774 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4782 grep -v '^ *+' conftest.er1 >conftest.err
4784 cat conftest.err >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } >/dev/null && {
4787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4788 test ! -s conftest.err
4792 echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.$ac_ext >&5
4795 # Broken: fails on valid input.
4799 rm -f conftest.err conftest.$ac_ext
4801 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how.
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #include <ac_nonexistent.h>
4811 if { (ac_try="$ac_cpp conftest.$ac_ext"
4813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4814 *) ac_try_echo
=$ac_try;;
4816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4819 grep -v '^ *+' conftest.er1
>conftest.err
4821 cat conftest.err
>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } >/dev
/null
&& {
4824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4825 test ! -s conftest.err
4827 # Broken: success on invalid input.
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.
$ac_ext >&5
4833 # Passes both tests.
4838 rm -f conftest.err conftest.
$ac_ext
4841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4842 rm -f conftest.err conftest.
$ac_ext
4843 if $ac_preproc_ok; then
4846 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4847 See \`config.log' for more details." >&5
4848 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4849 See \`config.log' for more details." >&2;}
4850 { (exit 1); exit 1; }; }
4854 ac_cpp
='$CPP $CPPFLAGS'
4855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4860 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4862 if test "${ac_cv_header_stdc+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 cat >conftest.
$ac_ext <<_ACEOF
4868 cat confdefs.h
>>conftest.
$ac_ext
4869 cat >>conftest.
$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4884 rm -f conftest.
$ac_objext
4885 if { (ac_try
="$ac_compile"
4887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4888 *) ac_try_echo=$ac_try;;
4890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4891 (eval "$ac_compile") 2>conftest.er1
4893 grep -v '^ *+' conftest.er1 >conftest.err
4895 cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } && {
4898 test -z "$ac_c_werror_flag" ||
4899 test ! -s conftest.err
4900 } && test -s conftest.$ac_objext; then
4901 ac_cv_header_stdc=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 ac_cv_header_stdc=no
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 if test $ac_cv_header_stdc = yes; then
4912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4913 cat >conftest.$ac_ext <<_ACEOF
4916 cat confdefs.h >>conftest.$ac_ext
4917 cat >>conftest.$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4923 $EGREP "memchr" >/dev/null 2>&1; then
4926 ac_cv_header_stdc=no
4932 if test $ac_cv_header_stdc = yes; then
4933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4934 cat >conftest.$ac_ext <<_ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4944 $EGREP "free" >/dev/null 2>&1; then
4947 ac_cv_header_stdc=no
4953 if test $ac_cv_header_stdc = yes; then
4954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4955 if test "$cross_compiling" = yes; then
4958 cat >conftest.$ac_ext <<_ACEOF
4961 cat confdefs.h >>conftest.$ac_ext
4962 cat >>conftest.$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4966 #if ((' ' & 0x0FF) == 0x020)
4967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4970 # define ISLOWER(c) \
4971 (('a' <= (c) && (c) <= 'i') \
4972 || ('j' <= (c) && (c) <= 'r') \
4973 || ('s' <= (c) && (c) <= 'z'))
4974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4982 for (i = 0; i < 256; i++)
4983 if (XOR (islower (i), ISLOWER (i))
4984 || toupper (i) != TOUPPER (i))
4989 rm -f conftest$ac_exeext
4990 if { (ac_try="$ac_link"
4992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4993 *) ac_try_echo
=$ac_try;;
4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 (eval "$ac_link") 2>&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5000 { (case "(($ac_try" in
5001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5002 *) ac_try_echo=$ac_try;;
5004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5005 (eval "$ac_try") 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; }; then
5011 echo "$as_me: program exited with status $ac_status" >&5
5012 echo "$as_me: failed program was:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5016 ac_cv_header_stdc=no
5018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5024 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5025 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5026 if test $ac_cv_header_stdc = yes; then
5028 cat >>confdefs.h <<\_ACEOF
5029 #define STDC_HEADERS 1
5034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5044 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5045 inttypes.h stdint.h unistd.h
5047 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5059 $ac_includes_default
5061 #include <$ac_header>
5063 rm -f conftest.$ac_objext
5064 if { (ac_try="$ac_compile"
5066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5067 *) ac_try_echo
=$ac_try;;
5069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5070 (eval "$ac_compile") 2>conftest.er1
5072 grep -v '^ *+' conftest.er1
>conftest.err
5074 cat conftest.err
>&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } && {
5077 test -z "$ac_c_werror_flag" ||
5078 test ! -s conftest.err
5079 } && test -s conftest.
$ac_objext; then
5080 eval "$as_ac_Header=yes"
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5085 eval "$as_ac_Header=no"
5088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5090 ac_res
=`eval echo '${'$as_ac_Header'}'`
5091 { echo "$as_me:$LINENO: result: $ac_res" >&5
5092 echo "${ECHO_T}$ac_res" >&6; }
5093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5094 cat >>confdefs.h
<<_ACEOF
5095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5104 for ac_header
in dlfcn.h
5106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5110 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 ac_res
=`eval echo '${'$as_ac_Header'}'`
5114 { echo "$as_me:$LINENO: result: $ac_res" >&5
5115 echo "${ECHO_T}$ac_res" >&6; }
5117 # Is the header compilable?
5118 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 $ac_includes_default
5127 #include <$ac_header>
5129 rm -f conftest.
$ac_objext
5130 if { (ac_try
="$ac_compile"
5132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5133 *) ac_try_echo=$ac_try;;
5135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5136 (eval "$ac_compile") 2>conftest.er1
5138 grep -v '^ *+' conftest.er1 >conftest.err
5140 cat conftest.err >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } && {
5143 test -z "$ac_c_werror_flag" ||
5144 test ! -s conftest.err
5145 } && test -s conftest.$ac_objext; then
5146 ac_header_compiler=yes
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 ac_header_compiler=no
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5156 echo "${ECHO_T}$ac_header_compiler" >&6; }
5158 # Is the header present?
5159 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5161 cat >conftest.$ac_ext <<_ACEOF
5164 cat confdefs.h >>conftest.$ac_ext
5165 cat >>conftest.$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #include <$ac_header>
5169 if { (ac_try="$ac_cpp conftest.$ac_ext"
5171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5172 *) ac_try_echo
=$ac_try;;
5174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5177 grep -v '^ *+' conftest.er1
>conftest.err
5179 cat conftest.err
>&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev
/null
&& {
5182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5183 test ! -s conftest.err
5185 ac_header_preproc
=yes
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 ac_header_preproc
=no
5193 rm -f conftest.err conftest.
$ac_ext
5194 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5195 echo "${ECHO_T}$ac_header_preproc" >&6; }
5197 # So? What about this header?
5198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5204 ac_header_preproc
=yes
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5220 ## -------------------------------------------------- ##
5221 ## Report this to courier-users@lists.sourceforge.net ##
5222 ## -------------------------------------------------- ##
5224 ) |
sed "s/^/$as_me: WARNING: /" >&2
5227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5229 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 eval "$as_ac_Header=\$ac_header_preproc"
5234 ac_res
=`eval echo '${'$as_ac_Header'}'`
5235 { echo "$as_me:$LINENO: result: $ac_res" >&5
5236 echo "${ECHO_T}$ac_res" >&6; }
5239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5240 cat >>confdefs.h
<<_ACEOF
5241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5249 ac_cpp
='$CXXCPP $CPPFLAGS'
5250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5253 if test -z "$CXX"; then
5254 if test -n "$CCC"; then
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_CXX+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 if test -n "$CXX"; then
5268 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 if test -n "$CXX"; then
5289 { echo "$as_me:$LINENO: result: $CXX" >&5
5290 echo "${ECHO_T}$CXX" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5297 test -n "$CXX" && break
5300 if test -z "$CXX"; then
5302 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy
$ac_prog; ac_word
=$2
5306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5308 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 if test -n "$ac_ct_CXX"; then
5312 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5321 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5332 if test -n "$ac_ct_CXX"; then
5333 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5334 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5336 { echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6; }
5341 test -n "$ac_ct_CXX" && break
5344 if test "x$ac_ct_CXX" = x
; then
5347 case $cross_compiling:$ac_tool_warned in
5349 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5350 whose name does not start with the host triplet. If you think this
5351 configuration is useful to you, please write to autoconf@gnu.org." >&5
5352 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5353 whose name does not start with the host triplet. If you think this
5354 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5355 ac_tool_warned
=yes ;;
5363 # Provide some information about the compiler.
5364 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5365 ac_compiler
=`set X $ac_compile; echo $2`
5366 { (ac_try
="$ac_compiler --version >&5"
5368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_compiler --version >&5") 2>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }
5376 { (ac_try="$ac_compiler -v >&5"
5378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5379 *) ac_try_echo
=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_compiler -v >&5") 2>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }
5386 { (ac_try
="$ac_compiler -V >&5"
5388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_compiler -V >&5") 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }
5397 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5398 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5399 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 cat >conftest.$ac_ext <<_ACEOF
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5420 rm -f conftest.$ac_objext
5421 if { (ac_try="$ac_compile"
5423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5424 *) ac_try_echo
=$ac_try;;
5426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5427 (eval "$ac_compile") 2>conftest.er1
5429 grep -v '^ *+' conftest.er1
>conftest.err
5431 cat conftest.err
>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } && {
5434 test -z "$ac_cxx_werror_flag" ||
5435 test ! -s conftest.err
5436 } && test -s conftest.
$ac_objext; then
5439 echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.
$ac_ext >&5
5445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5446 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5449 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5450 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5451 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5452 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5453 ac_save_CXXFLAGS
=$CXXFLAGS
5454 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5455 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_cxx_g+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5460 ac_cxx_werror_flag
=yes
5463 cat >conftest.
$ac_ext <<_ACEOF
5466 cat confdefs.h
>>conftest.
$ac_ext
5467 cat >>conftest.
$ac_ext <<_ACEOF
5468 /* end confdefs.h. */
5478 rm -f conftest.
$ac_objext
5479 if { (ac_try
="$ac_compile"
5481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5482 *) ac_try_echo=$ac_try;;
5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 (eval "$ac_compile") 2>conftest.er1
5487 grep -v '^ *+' conftest.er1 >conftest.err
5489 cat conftest.err >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } && {
5492 test -z "$ac_cxx_werror_flag" ||
5493 test ! -s conftest.err
5494 } && test -s conftest.$ac_objext; then
5495 ac_cv_prog_cxx_g=yes
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.$ac_ext >&5
5501 cat >conftest.$ac_ext <<_ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5516 rm -f conftest.$ac_objext
5517 if { (ac_try="$ac_compile"
5519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5520 *) ac_try_echo
=$ac_try;;
5522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523 (eval "$ac_compile") 2>conftest.er1
5525 grep -v '^ *+' conftest.er1
>conftest.err
5527 cat conftest.err
>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } && {
5530 test -z "$ac_cxx_werror_flag" ||
5531 test ! -s conftest.err
5532 } && test -s conftest.
$ac_objext; then
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.
$ac_ext >&5
5538 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5555 rm -f conftest.
$ac_objext
5556 if { (ac_try
="$ac_compile"
5558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5559 *) ac_try_echo=$ac_try;;
5561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5562 (eval "$ac_compile") 2>conftest.er1
5564 grep -v '^ *+' conftest.er1 >conftest.err
5566 cat conftest.err >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } && {
5569 test -z "$ac_cxx_werror_flag" ||
5570 test ! -s conftest.err
5571 } && test -s conftest.$ac_objext; then
5572 ac_cv_prog_cxx_g=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5589 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5590 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5591 if test "$ac_test_CXXFLAGS" = set; then
5592 CXXFLAGS=$ac_save_CXXFLAGS
5593 elif test $ac_cv_prog_cxx_g = yes; then
5594 if test "$GXX" = yes; then
5600 if test "$GXX" = yes; then
5607 ac_cpp='$CXXCPP $CPPFLAGS'
5608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5612 depcc="$CXX" am_compiler_list=
5614 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5615 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5616 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5620 # We make a subdir and do the tests there. Otherwise we can end up
5621 # making bogus files that we don't know about and never remove. For
5622 # instance it was reported that on HP-UX the gcc test will end up
5623 # making a dummy file named `D
' -- because `-MD' means
`put the output
5626 # Copy depcomp to subdir because otherwise we won't find it if we're
5627 # using a relative directory.
5628 cp "$am_depcomp" conftest.dir
5630 # We will build objects and dependencies in a subdirectory because
5631 # it helps to detect inapplicable dependency modes. For instance
5632 # both Tru64's cc and ICC support -MD to output dependencies as a
5633 # side effect of compilation, but ICC will put the dependencies in
5634 # the current directory while Tru64 will put them in the object
5638 am_cv_CXX_dependencies_compiler_type=none
5639 if test "$am_compiler_list" = ""; then
5640 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5642 for depmode in $am_compiler_list; do
5643 # Setup a source with many dependencies, because some compilers
5644 # like to wrap large dependency lists on column 80 (with \), and
5645 # we should not choose a depcomp mode which is confused by this.
5647 # We need to recreate these files for each test, as the compiler may
5648 # overwrite some of them when testing with obscure command lines.
5649 # This happens at least with the AIX C compiler.
5651 for i in 1 2 3 4 5 6; do
5652 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5653 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5654 # Solaris 8's
{/usr
,}/bin
/sh.
5655 touch sub
/conftst
$i.h
5657 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5661 # after this tag, mechanisms are not by side-effect, so they'll
5662 # only be used when explicitly requested
5663 if test "x$enable_dependency_tracking" = xyes
; then
5671 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5672 # mode. It turns out that the SunPro C++ compiler does not properly
5673 # handle `-M -o', and we need to detect this.
5674 if depmode
=$depmode \
5675 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5677 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5678 >/dev
/null
2>conftest.err
&&
5679 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5680 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5681 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5682 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5683 # icc doesn't choke on unknown options, it will just issue warnings
5684 # or remarks (even with -Werror). So we grep stderr for any message
5685 # that says an option was ignored or not supported.
5686 # When given -MP, icc 7.0 and 7.1 complain thusly:
5687 # icc: Command line warning: ignoring option '-M'; no argument required
5688 # The diagnosis changed in icc 8.0:
5689 # icc: Command line remark: option '-MP' not supported
5690 if (grep 'ignoring option' conftest.err ||
5691 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5692 am_cv_CXX_dependencies_compiler_type
=$depmode
5701 am_cv_CXX_dependencies_compiler_type
=none
5705 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5706 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5707 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5710 test "x$enable_dependency_tracking" != xno \
5711 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5712 am__fastdepCXX_TRUE
=
5713 am__fastdepCXX_FALSE
='#'
5715 am__fastdepCXX_TRUE
='#'
5716 am__fastdepCXX_FALSE
=
5722 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5723 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5724 (test "X$CXX" != "Xg++"))) ; then
5726 ac_cpp
='$CXXCPP $CPPFLAGS'
5727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5730 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5731 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5732 if test -z "$CXXCPP"; then
5733 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 # Double quotes because CXXCPP needs to be expanded
5737 for CXXCPP
in "$CXX -E" "/lib/cpp"
5740 for ac_cxx_preproc_warn_flag
in '' yes
5742 # Use a header file that comes with gcc, so configuring glibc
5743 # with a fresh cross-compiler works.
5744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5745 # <limits.h> exists even on freestanding compilers.
5746 # On the NeXT, cc -E runs the code through the compiler's parser,
5747 # not just through cpp. "Syntax error" is here to catch this case.
5748 cat >conftest.
$ac_ext <<_ACEOF
5751 cat confdefs.h
>>conftest.
$ac_ext
5752 cat >>conftest.
$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5755 # include <limits.h>
5757 # include <assert.h>
5761 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5764 *) ac_try_echo=$ac_try;;
5766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5769 grep -v '^ *+' conftest.er1 >conftest.err
5771 cat conftest.err >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } >/dev/null && {
5774 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5775 test ! -s conftest.err
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.$ac_ext >&5
5782 # Broken: fails on valid input.
5786 rm -f conftest.err conftest.$ac_ext
5788 # OK, works on sane cases. Now check whether nonexistent headers
5789 # can be detected and how.
5790 cat >conftest.$ac_ext <<_ACEOF
5793 cat confdefs.h >>conftest.$ac_ext
5794 cat >>conftest.$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5796 #include <ac_nonexistent.h>
5798 if { (ac_try="$ac_cpp conftest.$ac_ext"
5800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5801 *) ac_try_echo
=$ac_try;;
5803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5806 grep -v '^ *+' conftest.er1
>conftest.err
5808 cat conftest.err
>&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } >/dev
/null
&& {
5811 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5812 test ! -s conftest.err
5814 # Broken: success on invalid input.
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5820 # Passes both tests.
5825 rm -f conftest.err conftest.
$ac_ext
5828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5829 rm -f conftest.err conftest.
$ac_ext
5830 if $ac_preproc_ok; then
5835 ac_cv_prog_CXXCPP
=$CXXCPP
5838 CXXCPP
=$ac_cv_prog_CXXCPP
5840 ac_cv_prog_CXXCPP
=$CXXCPP
5842 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5843 echo "${ECHO_T}$CXXCPP" >&6; }
5845 for ac_cxx_preproc_warn_flag
in '' yes
5847 # Use a header file that comes with gcc, so configuring glibc
5848 # with a fresh cross-compiler works.
5849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5850 # <limits.h> exists even on freestanding compilers.
5851 # On the NeXT, cc -E runs the code through the compiler's parser,
5852 # not just through cpp. "Syntax error" is here to catch this case.
5853 cat >conftest.
$ac_ext <<_ACEOF
5856 cat confdefs.h
>>conftest.
$ac_ext
5857 cat >>conftest.
$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5860 # include <limits.h>
5862 # include <assert.h>
5866 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5869 *) ac_try_echo=$ac_try;;
5871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5874 grep -v '^ *+' conftest.er1 >conftest.err
5876 cat conftest.err >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } >/dev/null && {
5879 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5880 test ! -s conftest.err
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5
5887 # Broken: fails on valid input.
5891 rm -f conftest.err conftest.$ac_ext
5893 # OK, works on sane cases. Now check whether nonexistent headers
5894 # can be detected and how.
5895 cat >conftest.$ac_ext <<_ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 #include <ac_nonexistent.h>
5903 if { (ac_try="$ac_cpp conftest.$ac_ext"
5905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5906 *) ac_try_echo
=$ac_try;;
5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } >/dev
/null
&& {
5916 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5917 test ! -s conftest.err
5919 # Broken: success on invalid input.
5922 echo "$as_me: failed program was:" >&5
5923 sed 's/^/| /' conftest.
$ac_ext >&5
5925 # Passes both tests.
5930 rm -f conftest.err conftest.
$ac_ext
5933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5934 rm -f conftest.err conftest.
$ac_ext
5935 if $ac_preproc_ok; then
5938 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5939 See \`config.log' for more details." >&5
5940 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5941 See \`config.log' for more details." >&2;}
5942 { (exit 1); exit 1; }; }
5946 ac_cpp
='$CXXCPP $CPPFLAGS'
5947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5955 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5956 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 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
5961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5962 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5965 if test "${ac_cv_prog_F77+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 if test -n "$F77"; then
5969 ac_cv_prog_F77
="$F77" # Let the user override the test.
5971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5975 test -z "$as_dir" && as_dir
=.
5976 for ac_exec_ext
in '' $ac_executable_extensions; do
5977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 if test -n "$F77"; then
5990 { echo "$as_me:$LINENO: result: $F77" >&5
5991 echo "${ECHO_T}$F77" >&6; }
5993 { echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6; }
5998 test -n "$F77" && break
6001 if test -z "$F77"; then
6003 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
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy
$ac_prog; ac_word
=$2
6007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6009 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 if test -n "$ac_ct_F77"; then
6013 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir
=.
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022 ac_cv_prog_ac_ct_F77
="$ac_prog"
6023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6033 if test -n "$ac_ct_F77"; then
6034 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6035 echo "${ECHO_T}$ac_ct_F77" >&6; }
6037 { echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6; }
6042 test -n "$ac_ct_F77" && break
6045 if test "x$ac_ct_F77" = x
; then
6048 case $cross_compiling:$ac_tool_warned in
6050 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6051 whose name does not start with the host triplet. If you think this
6052 configuration is useful to you, please write to autoconf@gnu.org." >&5
6053 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6054 whose name does not start with the host triplet. If you think this
6055 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6056 ac_tool_warned
=yes ;;
6063 # Provide some information about the compiler.
6064 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6065 ac_compiler
=`set X $ac_compile; echo $2`
6066 { (ac_try
="$ac_compiler --version >&5"
6068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6069 *) ac_try_echo=$ac_try;;
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6072 (eval "$ac_compiler --version >&5") 2>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }
6076 { (ac_try="$ac_compiler -v >&5"
6078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6079 *) ac_try_echo
=$ac_try;;
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compiler -v >&5") 2>&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }
6086 { (ac_try
="$ac_compiler -V >&5"
6088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6089 *) ac_try_echo=$ac_try;;
6091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6092 (eval "$ac_compiler -V >&5") 2>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); }
6098 # If we don't use `.F
' as extension, the preprocessor is not run on the
6099 # input file. (Note that this only needs to work for GNU compilers.)
6102 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6103 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6104 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 cat >conftest.$ac_ext <<_ACEOF
6115 rm -f conftest.$ac_objext
6116 if { (ac_try="$ac_compile"
6118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6119 *) ac_try_echo=$ac_try;;
6121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6122 (eval "$ac_compile") 2>conftest.er1
6124 grep -v '^
*+' conftest.er1 >conftest.err
6126 cat conftest.err >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); } && {
6129 test -z "$ac_f77_werror_flag" ||
6130 test ! -s conftest.err
6131 } && test -s conftest.$ac_objext; then
6134 echo "$as_me: failed program was:" >&5
6135 sed 's
/^
/|
/' conftest.$ac_ext >&5
6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6144 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6145 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6147 ac_test_FFLAGS=${FFLAGS+set}
6148 ac_save_FFLAGS=$FFLAGS
6150 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6151 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6152 if test "${ac_cv_prog_f77_g+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 cat >conftest.$ac_ext <<_ACEOF
6161 rm -f conftest.$ac_objext
6162 if { (ac_try="$ac_compile"
6164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6165 *) ac_try_echo=$ac_try;;
6167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6168 (eval "$ac_compile") 2>conftest.er1
6170 grep -v '^
*+' conftest.er1 >conftest.err
6172 cat conftest.err >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); } && {
6175 test -z "$ac_f77_werror_flag" ||
6176 test ! -s conftest.err
6177 } && test -s conftest.$ac_objext; then
6178 ac_cv_prog_f77_g=yes
6180 echo "$as_me: failed program was:" >&5
6181 sed 's
/^
/|
/' conftest.$ac_ext >&5
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6189 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6190 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6191 if test "$ac_test_FFLAGS" = set; then
6192 FFLAGS=$ac_save_FFLAGS
6193 elif test $ac_cv_prog_f77_g = yes; then
6194 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6200 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6207 G77=`test $ac_compiler_gnu = yes && echo yes`
6209 ac_cpp='$CPP $CPPFLAGS'
6210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6211 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6216 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6218 # find the maximum length of command line arguments
6219 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6220 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6221 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 # On DJGPP, this test can blow up pretty badly due to problems in libc
6230 # (any single argument exceeding 2000 bytes causes a buffer overrun
6231 # during glob expansion). Even if it were fixed, the result of this
6232 # check would be larger than it should be.
6233 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6237 # Under GNU Hurd, this test is not required because there is
6238 # no limit to the length of command line arguments.
6239 # Libtool will interpret -1 as no limit whatsoever
6240 lt_cv_sys_max_cmd_len
=-1;
6244 # On Win9x/ME, this test blows up -- it succeeds, but takes
6245 # about 5 minutes as the teststring grows exponentially.
6246 # Worse, since 9x/ME are not pre-emptively multitasking,
6247 # you end up with a "frozen" computer, even though with patience
6248 # the test eventually succeeds (with a max line length of 256k).
6249 # Instead, let's just punt: use the minimum linelength reported by
6250 # all of the supported platforms: 8192 (on NT/2K/XP).
6251 lt_cv_sys_max_cmd_len
=8192;
6255 # On AmigaOS with pdksh, this test takes hours, literally.
6256 # So we just punt and use a minimum line length of 8192.
6257 lt_cv_sys_max_cmd_len
=8192;
6260 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6261 # This has been around since 386BSD, at least. Likely further.
6262 if test -x /sbin
/sysctl
; then
6263 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6264 elif test -x /usr
/sbin
/sysctl
; then
6265 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6267 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6269 # And add a safety zone
6270 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6271 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6275 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6276 lt_cv_sys_max_cmd_len
=196608
6280 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6281 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6282 # nice to cause kernel panics so lets avoid the loop below.
6283 # First set a reasonable default.
6284 lt_cv_sys_max_cmd_len
=16384
6286 if test -x /sbin
/sysconfig
; then
6287 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6288 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6293 lt_cv_sys_max_cmd_len
=102400
6295 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6296 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6297 if test -n "$kargmax"; then
6298 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6300 lt_cv_sys_max_cmd_len
=32768
6304 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6305 if test -n "$lt_cv_sys_max_cmd_len"; then
6306 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6307 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6309 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6310 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6311 = "XX$teststring") >/dev
/null
2>&1 &&
6312 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6313 lt_cv_sys_max_cmd_len
=$new_result &&
6314 test $i != 17 # 1/2 MB should be enough
6317 teststring
=$teststring$teststring
6320 # Add a significant safety factor because C++ compilers can tack on massive
6321 # amounts of additional arguments before passing them to the linker.
6322 # It appears as though 1/2 is a usable value.
6323 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6330 if test -n $lt_cv_sys_max_cmd_len ; then
6331 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6332 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6334 { echo "$as_me:$LINENO: result: none" >&5
6335 echo "${ECHO_T}none" >&6; }
6342 # Check for command to grab the raw symbol name followed by C symbol from nm.
6343 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6344 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6345 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 # These are sane defaults that work on at least a few old systems.
6350 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6352 # Character class describing NM global symbol codes.
6353 symcode
='[BCDEGRST]'
6355 # Regexp to match symbols that can be accessed directly from C.
6356 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6358 # Transform an extracted symbol line into a proper C declaration
6359 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6361 # Transform an extracted symbol line into symbol name and symbol address
6362 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'"
6364 # Define system-specific variables.
6369 cygwin
* | mingw
* | pw32
*)
6370 symcode
='[ABCDGISTW]'
6372 hpux
*) # Its linker distinguishes data from code symbols
6373 if test "$host_cpu" = ia64
; then
6374 symcode
='[ABCDEGRST]'
6376 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6377 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'"
6379 linux
* | k
*bsd
*-gnu)
6380 if test "$host_cpu" = ia64
; then
6381 symcode
='[ABCDGIRSTW]'
6382 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6383 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'"
6387 symcode
='[BCDEGRST]'
6390 symcode
='[BCDEGQRST]'
6401 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6409 # Handle CRLF in mingw tool chain
6413 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6417 # If we're using GNU nm, then use its standard symbol codes.
6418 case `$NM -V 2>&1` in
6419 *GNU
* |
*'with BFD'*)
6420 symcode
='[ABCDGIRSTW]' ;;
6423 # Try without a prefix undercore, then with it.
6424 for ac_symprfx
in "" "_"; do
6426 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6427 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6429 # Write the raw and C identifiers.
6430 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6432 # Check to see that the pipe works correctly.
6436 cat > conftest.
$ac_ext <<EOF
6441 void nm_test_func(){}
6445 int main(){nm_test_var='a';nm_test_func();return(0);}
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); }; then
6453 # Now try to grab the symbols.
6455 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6456 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } && test -s "$nlist"; then
6460 # Try sorting and uniquifying the output.
6461 if sort "$nlist" |
uniq > "$nlist"T
; then
6462 mv -f "$nlist"T
"$nlist"
6467 # Make sure that we snagged all the symbols we need.
6468 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6469 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6470 cat <<EOF > conftest.$ac_ext
6476 # Now generate the symbol file.
6477 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6479 cat <<EOF >> conftest.$ac_ext
6480 #if defined (__STDC__) && __STDC__
6481 # define lt_ptr_t void *
6483 # define lt_ptr_t char *
6487 /* The mapping between symbol names and symbols. */
6492 lt_preloaded_symbols[] =
6495 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6496 cat <<\EOF
>> conftest.
$ac_ext
6504 # Now try linking the two files.
6505 mv conftest.
$ac_objext conftstm.
$ac_objext
6506 lt_save_LIBS
="$LIBS"
6507 lt_save_CFLAGS
="$CFLAGS"
6508 LIBS
="conftstm.$ac_objext"
6509 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6511 (eval $ac_link) 2>&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6517 LIBS
="$lt_save_LIBS"
6518 CFLAGS
="$lt_save_CFLAGS"
6520 echo "cannot find nm_test_func in $nlist" >&5
6523 echo "cannot find nm_test_var in $nlist" >&5
6526 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6529 echo "$progname: failed program was:" >&5
6530 cat conftest.
$ac_ext >&5
6532 rm -f conftest
* conftst
*
6534 # Do not use the global_symbol_pipe unless it works.
6535 if test "$pipe_works" = yes; then
6538 lt_cv_sys_global_symbol_pipe
=
6544 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6545 lt_cv_sys_global_symbol_to_cdecl
=
6547 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6548 { echo "$as_me:$LINENO: result: failed" >&5
6549 echo "${ECHO_T}failed" >&6; }
6551 { echo "$as_me:$LINENO: result: ok" >&5
6552 echo "${ECHO_T}ok" >&6; }
6555 { echo "$as_me:$LINENO: checking for objdir" >&5
6556 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6557 if test "${lt_cv_objdir+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 rm -f .libs
2>/dev
/null
6561 mkdir .libs
2>/dev
/null
6562 if test -d .libs
; then
6565 # MS-DOS does not allow filenames that begin with a dot.
6568 rmdir .libs
2>/dev
/null
6570 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6571 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6572 objdir
=$lt_cv_objdir
6580 # AIX sometimes has problems with the GCC collect2 program. For some
6581 # reason, if we set the COLLECT_NAMES environment variable, the problems
6582 # vanish in a puff of smoke.
6583 if test "X${COLLECT_NAMES+set}" != Xset
; then
6585 export COLLECT_NAMES
6590 # Sed substitution that helps us do robust quoting. It backslashifies
6591 # metacharacters that are still active within double-quoted strings.
6592 Xsed
='sed -e 1s/^X//'
6593 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6595 # Same as above, but do not quote variable references.
6596 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6598 # Sed substitution to delay expansion of an escaped shell variable in a
6599 # double_quote_subst'ed string.
6600 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6602 # Sed substitution to avoid accidental globbing in evaled expressions
6603 no_glob_subst
='s/\*/\\\*/g'
6609 default_ofile
=libtool
6610 can_build_shared
=yes
6612 # All known linkers require a `.a' archive for static linking (except MSVC,
6613 # which needs '.lib').
6615 ltmain
="$ac_aux_dir/ltmain.sh"
6616 ofile
="$default_ofile"
6617 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6619 if test -n "$ac_tool_prefix"; then
6620 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6621 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6624 if test "${ac_cv_prog_AR+set}" = set; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 if test -n "$AR"; then
6628 ac_cv_prog_AR
="$AR" # Let the user override the test.
6630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir
=.
6635 for ac_exec_ext
in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 if test -n "$AR"; then
6649 { echo "$as_me:$LINENO: result: $AR" >&5
6650 echo "${ECHO_T}$AR" >&6; }
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6658 if test -z "$ac_cv_prog_AR"; then
6660 # Extract the first word of "ar", so it can be a program name with args.
6661 set dummy
ar; ac_word
=$2
6662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6664 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 if test -n "$ac_ct_AR"; then
6668 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir
=.
6675 for ac_exec_ext
in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_prog_ac_ct_AR
="ar"
6678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6688 if test -n "$ac_ct_AR"; then
6689 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6690 echo "${ECHO_T}$ac_ct_AR" >&6; }
6692 { echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6; }
6696 if test "x$ac_ct_AR" = x
; then
6699 case $cross_compiling:$ac_tool_warned in
6701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6702 whose name does not start with the host triplet. If you think this
6703 configuration is useful to you, please write to autoconf@gnu.org." >&5
6704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6705 whose name does not start with the host triplet. If you think this
6706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6707 ac_tool_warned
=yes ;;
6715 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6717 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6720 if test "${ac_cv_prog_RANLIB+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 if test -n "$RANLIB"; then
6724 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 RANLIB
=$ac_cv_prog_RANLIB
6744 if test -n "$RANLIB"; then
6745 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6746 echo "${ECHO_T}$RANLIB" >&6; }
6748 { echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6; }
6754 if test -z "$ac_cv_prog_RANLIB"; then
6755 ac_ct_RANLIB
=$RANLIB
6756 # Extract the first word of "ranlib", so it can be a program name with args.
6757 set dummy ranlib
; ac_word
=$2
6758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 if test -n "$ac_ct_RANLIB"; then
6764 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir
=.
6771 for ac_exec_ext
in '' $ac_executable_extensions; do
6772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6784 if test -n "$ac_ct_RANLIB"; then
6785 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6786 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6788 { echo "$as_me:$LINENO: result: no" >&5
6789 echo "${ECHO_T}no" >&6; }
6792 if test "x$ac_ct_RANLIB" = x
; then
6795 case $cross_compiling:$ac_tool_warned in
6797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6798 whose name does not start with the host triplet. If you think this
6799 configuration is useful to you, please write to autoconf@gnu.org." >&5
6800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6801 whose name does not start with the host triplet. If you think this
6802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6803 ac_tool_warned
=yes ;;
6805 RANLIB
=$ac_ct_RANLIB
6808 RANLIB
="$ac_cv_prog_RANLIB"
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6813 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6816 if test "${ac_cv_prog_STRIP+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 if test -n "$STRIP"; then
6820 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir
=.
6827 for ac_exec_ext
in '' $ac_executable_extensions; do
6828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6829 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6839 STRIP
=$ac_cv_prog_STRIP
6840 if test -n "$STRIP"; then
6841 { echo "$as_me:$LINENO: result: $STRIP" >&5
6842 echo "${ECHO_T}$STRIP" >&6; }
6844 { echo "$as_me:$LINENO: result: no" >&5
6845 echo "${ECHO_T}no" >&6; }
6850 if test -z "$ac_cv_prog_STRIP"; then
6852 # Extract the first word of "strip", so it can be a program name with args.
6853 set dummy strip
; ac_word
=$2
6854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6856 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6859 if test -n "$ac_ct_STRIP"; then
6860 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir
=.
6867 for ac_exec_ext
in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_ac_ct_STRIP
="strip"
6870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6880 if test -n "$ac_ct_STRIP"; then
6881 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6882 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6884 { echo "$as_me:$LINENO: result: no" >&5
6885 echo "${ECHO_T}no" >&6; }
6888 if test "x$ac_ct_STRIP" = x
; then
6891 case $cross_compiling:$ac_tool_warned in
6893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6894 whose name does not start with the host triplet. If you think this
6895 configuration is useful to you, please write to autoconf@gnu.org." >&5
6896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6897 whose name does not start with the host triplet. If you think this
6898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6899 ac_tool_warned
=yes ;;
6904 STRIP
="$ac_cv_prog_STRIP"
6909 old_CFLAGS
="$CFLAGS"
6911 # Set sane defaults for various variables
6912 test -z "$AR" && AR
=ar
6913 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6914 test -z "$AS" && AS
=as
6915 test -z "$CC" && CC
=cc
6916 test -z "$LTCC" && LTCC
=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6918 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6919 test -z "$LD" && LD
=ld
6920 test -z "$LN_S" && LN_S
="ln -s"
6921 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6922 test -z "$NM" && NM
=nm
6923 test -z "$SED" && SED
=sed
6924 test -z "$OBJDUMP" && OBJDUMP
=objdump
6925 test -z "$RANLIB" && RANLIB
=:
6926 test -z "$STRIP" && STRIP
=:
6927 test -z "$ac_objext" && ac_objext
=o
6929 # Determine commands to create old-style static archives.
6930 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6931 old_postinstall_cmds
='chmod 644 $oldlib'
6932 old_postuninstall_cmds
=
6934 if test -n "$RANLIB"; then
6937 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6940 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6943 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6946 for cc_temp
in $compiler""; do
6948 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6949 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6954 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6957 # Only perform the check for file, if the check method requires it
6958 case $deplibs_check_method in
6960 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6961 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6962 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6963 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6971 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6972 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6973 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6974 for ac_dir
in $ac_dummy; do
6976 test -z "$ac_dir" && ac_dir
=.
6977 if test -f $ac_dir/${ac_tool_prefix}file; then
6978 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6979 if test -n "$file_magic_test_file"; then
6980 case $deplibs_check_method in
6982 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6983 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6984 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6985 $EGREP "$file_magic_regex" > /dev
/null
; then
6990 *** Warning: the command libtool uses to detect shared libraries,
6991 *** $file_magic_cmd, produces output that libtool cannot recognize.
6992 *** The result is that libtool may fail to recognize shared libraries
6993 *** as such. This will affect the creation of libtool libraries that
6994 *** depend on shared libraries, but programs linked with such libtool
6995 *** libraries will work regardless of this problem. Nevertheless, you
6996 *** may want to report the problem to your system manager and/or to
6997 *** bug-libtool@gnu.org
7007 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7012 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7013 if test -n "$MAGIC_CMD"; then
7014 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7015 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7017 { echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6; }
7021 if test -z "$lt_cv_path_MAGIC_CMD"; then
7022 if test -n "$ac_tool_prefix"; then
7023 { echo "$as_me:$LINENO: checking for file" >&5
7024 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7025 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7033 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7035 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7036 for ac_dir
in $ac_dummy; do
7038 test -z "$ac_dir" && ac_dir
=.
7039 if test -f $ac_dir/file; then
7040 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7041 if test -n "$file_magic_test_file"; then
7042 case $deplibs_check_method in
7044 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7045 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7046 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7047 $EGREP "$file_magic_regex" > /dev
/null
; then
7052 *** Warning: the command libtool uses to detect shared libraries,
7053 *** $file_magic_cmd, produces output that libtool cannot recognize.
7054 *** The result is that libtool may fail to recognize shared libraries
7055 *** as such. This will affect the creation of libtool libraries that
7056 *** depend on shared libraries, but programs linked with such libtool
7057 *** libraries will work regardless of this problem. Nevertheless, you
7058 *** may want to report the problem to your system manager and/or to
7059 *** bug-libtool@gnu.org
7069 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7074 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7075 if test -n "$MAGIC_CMD"; then
7076 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7077 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7079 { echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6; }
7095 # Check whether --enable-libtool-lock was given.
7096 if test "${enable_libtool_lock+set}" = set; then
7097 enableval
=$enable_libtool_lock;
7100 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7103 # Check whether --with-pic was given.
7104 if test "${with_pic+set}" = set; then
7105 withval
=$with_pic; pic_mode
="$withval"
7110 test -z "$pic_mode" && pic_mode
=default
7112 # Use C for the default configuration in the libtool script
7116 ac_cpp
='$CPP $CPPFLAGS'
7117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7122 # Source file extension for C test sources.
7125 # Object file extension for compiled C test sources.
7129 # Code to be used in simple compile tests
7130 lt_simple_compile_test_code
="int some_variable = 0;"
7132 # Code to be used in simple link tests
7133 lt_simple_link_test_code
='int main(){return(0);}'
7136 # If no C compiler was specified, use CC.
7139 # If no C compiler flags were specified, use CFLAGS.
7140 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7142 # Allow CC to be a program name with arguments.
7146 # save warnings/boilerplate of simple test code
7147 ac_outfile
=conftest.
$ac_objext
7148 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7149 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7150 _lt_compiler_boilerplate
=`cat conftest.err`
7153 ac_outfile
=conftest.
$ac_objext
7154 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7155 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7156 _lt_linker_boilerplate
=`cat conftest.err`
7161 lt_prog_compiler_no_builtin_flag
=
7163 if test "$GCC" = yes; then
7164 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7167 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7168 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7169 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 lt_cv_prog_compiler_rtti_exceptions
=no
7173 ac_outfile
=conftest.
$ac_objext
7174 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7175 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7176 # Insert the option either (1) after the last *FLAGS variable, or
7177 # (2) before a word containing "conftest.", or (3) at the end.
7178 # Note that $ac_compile itself does not contain backslashes and begins
7179 # with a dollar sign (not a hyphen), so the echo should work correctly.
7180 # The option is referenced via a variable to avoid confusing sed.
7181 lt_compile
=`echo "$ac_compile" | $SED \
7182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7184 -e 's:$: $lt_compiler_flag:'`
7185 (eval echo "\"\$as_me:7185: $lt_compile\"" >&5)
7186 (eval "$lt_compile" 2>conftest.err
)
7188 cat conftest.err
>&5
7189 echo "$as_me:7189: \$? = $ac_status" >&5
7190 if (exit $ac_status) && test -s "$ac_outfile"; then
7191 # The compiler can only warn and ignore the option if not recognized
7192 # So say no if there are warnings other than the usual output.
7193 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7194 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7195 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7196 lt_cv_prog_compiler_rtti_exceptions
=yes
7202 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7203 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7205 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7206 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7213 lt_prog_compiler_wl
=
7214 lt_prog_compiler_pic
=
7215 lt_prog_compiler_static
=
7217 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7218 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7220 if test "$GCC" = yes; then
7221 lt_prog_compiler_wl
='-Wl,'
7222 lt_prog_compiler_static
='-static'
7226 # All AIX code is PIC.
7227 if test "$host_cpu" = ia64
; then
7228 # AIX 5 now supports IA64 processor
7229 lt_prog_compiler_static
='-Bstatic'
7234 # FIXME: we need at least 68020 code to build shared libraries, but
7235 # adding the `-m68020' flag to GCC prevents building anything better,
7237 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7240 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7241 # PIC is the default for these OSes.
7244 mingw
* | cygwin
* | pw32
* | os2
*)
7245 # This hack is so that the source file can tell whether it is being
7246 # built for inclusion in a dll (and should export symbols for example).
7247 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7248 # (--disable-auto-import) libraries
7249 lt_prog_compiler_pic
='-DDLL_EXPORT'
7252 darwin
* | rhapsody
*)
7253 # PIC is the default on this platform
7254 # Common symbols not allowed in MH_DYLIB files
7255 lt_prog_compiler_pic
='-fno-common'
7259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7260 # Instead, we relocate shared libraries at runtime.
7264 # Just because we use GCC doesn't mean we suddenly get shared libraries
7265 # on systems that don't support them.
7266 lt_prog_compiler_can_build_shared
=no
7271 if test -d /usr
/nec
; then
7272 lt_prog_compiler_pic
=-Kconform_pic
7277 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7284 lt_prog_compiler_pic
='-fPIC'
7290 lt_prog_compiler_pic
='-fPIC'
7294 # PORTME Check for flag to pass linker flags through the system compiler.
7297 lt_prog_compiler_wl
='-Wl,'
7298 if test "$host_cpu" = ia64
; then
7299 # AIX 5 now supports IA64 processor
7300 lt_prog_compiler_static
='-Bstatic'
7302 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7306 # PIC is the default on this platform
7307 # Common symbols not allowed in MH_DYLIB files
7308 case $cc_basename in
7310 lt_prog_compiler_pic
='-qnocommon'
7311 lt_prog_compiler_wl
='-Wl,'
7316 mingw
* | cygwin
* | pw32
* | os2
*)
7317 # This hack is so that the source file can tell whether it is being
7318 # built for inclusion in a dll (and should export symbols for example).
7319 lt_prog_compiler_pic
='-DDLL_EXPORT'
7322 hpux9
* | hpux10
* | hpux11
*)
7323 lt_prog_compiler_wl
='-Wl,'
7324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7331 lt_prog_compiler_pic
='+Z'
7334 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7335 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7338 irix5
* | irix6
* | nonstopux
*)
7339 lt_prog_compiler_wl
='-Wl,'
7340 # PIC (with -KPIC) is the default.
7341 lt_prog_compiler_static
='-non_shared'
7345 lt_prog_compiler_pic
='-KPIC'
7346 lt_prog_compiler_static
='-Bstatic'
7349 linux
* | k
*bsd
*-gnu)
7350 case $cc_basename in
7352 lt_prog_compiler_wl
='-Wl,'
7353 lt_prog_compiler_pic
='-KPIC'
7354 lt_prog_compiler_static
='-static'
7356 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7357 # Portland Group compilers (*not* the Pentium gcc compiler,
7358 # which looks to be a dead project)
7359 lt_prog_compiler_wl
='-Wl,'
7360 lt_prog_compiler_pic
='-fpic'
7361 lt_prog_compiler_static
='-Bstatic'
7364 lt_prog_compiler_wl
='-Wl,'
7365 # All Alpha code is PIC.
7366 lt_prog_compiler_static
='-non_shared'
7369 case `$CC -V 2>&1 | sed 5q` in
7372 lt_prog_compiler_pic
='-KPIC'
7373 lt_prog_compiler_static
='-Bstatic'
7374 lt_prog_compiler_wl
='-Wl,'
7377 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7378 lt_prog_compiler_pic
='-KPIC'
7379 lt_prog_compiler_static
='-Bstatic'
7380 lt_prog_compiler_wl
=''
7387 osf3
* | osf4
* | osf5
*)
7388 lt_prog_compiler_wl
='-Wl,'
7389 # All OSF/1 code is PIC.
7390 lt_prog_compiler_static
='-non_shared'
7394 lt_prog_compiler_static
='-non_shared'
7398 lt_prog_compiler_pic
='-KPIC'
7399 lt_prog_compiler_static
='-Bstatic'
7400 case $cc_basename in
7402 lt_prog_compiler_wl
='-Qoption ld ';;
7404 lt_prog_compiler_wl
='-Wl,';;
7409 lt_prog_compiler_wl
='-Qoption ld '
7410 lt_prog_compiler_pic
='-PIC'
7411 lt_prog_compiler_static
='-Bstatic'
7414 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7415 lt_prog_compiler_wl
='-Wl,'
7416 lt_prog_compiler_pic
='-KPIC'
7417 lt_prog_compiler_static
='-Bstatic'
7421 if test -d /usr
/nec
;then
7422 lt_prog_compiler_pic
='-Kconform_pic'
7423 lt_prog_compiler_static
='-Bstatic'
7427 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7428 lt_prog_compiler_wl
='-Wl,'
7429 lt_prog_compiler_pic
='-KPIC'
7430 lt_prog_compiler_static
='-Bstatic'
7434 lt_prog_compiler_wl
='-Wl,'
7435 lt_prog_compiler_can_build_shared
=no
7439 lt_prog_compiler_pic
='-pic'
7440 lt_prog_compiler_static
='-Bstatic'
7444 lt_prog_compiler_can_build_shared
=no
7449 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7450 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7453 # Check to make sure the PIC flag actually works.
7455 if test -n "$lt_prog_compiler_pic"; then
7457 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7458 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7459 if test "${lt_prog_compiler_pic_works+set}" = set; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 lt_prog_compiler_pic_works
=no
7463 ac_outfile
=conftest.
$ac_objext
7464 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7465 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7466 # Insert the option either (1) after the last *FLAGS variable, or
7467 # (2) before a word containing "conftest.", or (3) at the end.
7468 # Note that $ac_compile itself does not contain backslashes and begins
7469 # with a dollar sign (not a hyphen), so the echo should work correctly.
7470 # The option is referenced via a variable to avoid confusing sed.
7471 lt_compile
=`echo "$ac_compile" | $SED \
7472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7474 -e 's:$: $lt_compiler_flag:'`
7475 (eval echo "\"\$as_me:7475: $lt_compile\"" >&5)
7476 (eval "$lt_compile" 2>conftest.err
)
7478 cat conftest.err
>&5
7479 echo "$as_me:7479: \$? = $ac_status" >&5
7480 if (exit $ac_status) && test -s "$ac_outfile"; then
7481 # The compiler can only warn and ignore the option if not recognized
7482 # So say no if there are warnings other than the usual output.
7483 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7484 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7485 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7486 lt_prog_compiler_pic_works
=yes
7492 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7493 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7495 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7496 case $lt_prog_compiler_pic in
7498 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7501 lt_prog_compiler_pic
=
7502 lt_prog_compiler_can_build_shared
=no
7507 # For platforms which do not support PIC, -DPIC is meaningless:
7509 lt_prog_compiler_pic
=
7512 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7517 # Check to make sure the static flag actually works.
7519 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7520 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7521 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7522 if test "${lt_prog_compiler_static_works+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 lt_prog_compiler_static_works
=no
7526 save_LDFLAGS
="$LDFLAGS"
7527 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7528 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7529 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7530 # The linker can only warn and ignore the option if not recognized
7531 # So say no if there are warnings
7532 if test -s conftest.err
; then
7533 # Append any errors to the config.log.
7534 cat conftest.err
1>&5
7535 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7536 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7537 if diff conftest.exp conftest.er2
>/dev
/null
; then
7538 lt_prog_compiler_static_works
=yes
7541 lt_prog_compiler_static_works
=yes
7545 LDFLAGS
="$save_LDFLAGS"
7548 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7549 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7551 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7554 lt_prog_compiler_static
=
7558 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7559 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7560 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 lt_cv_prog_compiler_c_o
=no
7564 $rm -r conftest
2>/dev
/null
7568 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7570 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7571 # Insert the option either (1) after the last *FLAGS variable, or
7572 # (2) before a word containing "conftest.", or (3) at the end.
7573 # Note that $ac_compile itself does not contain backslashes and begins
7574 # with a dollar sign (not a hyphen), so the echo should work correctly.
7575 lt_compile
=`echo "$ac_compile" | $SED \
7576 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7577 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7578 -e 's:$: $lt_compiler_flag:'`
7579 (eval echo "\"\$as_me:7579: $lt_compile\"" >&5)
7580 (eval "$lt_compile" 2>out
/conftest.err
)
7582 cat out
/conftest.err
>&5
7583 echo "$as_me:7583: \$? = $ac_status" >&5
7584 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7586 # The compiler can only warn and ignore the option if not recognized
7587 # So say no if there are warnings
7588 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7589 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7590 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7591 lt_cv_prog_compiler_c_o
=yes
7596 # SGI C++ compiler will create directory out/ii_files/ for
7597 # template instantiation
7598 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7599 $rm out
/* && rmdir out
7605 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7606 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7609 hard_links
="nottested"
7610 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7611 # do not overwrite the value of need_locks provided by the user
7612 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7613 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7616 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7618 ln conftest.a conftest.b
2>&5 || hard_links
=no
7619 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7620 { echo "$as_me:$LINENO: result: $hard_links" >&5
7621 echo "${ECHO_T}$hard_links" >&6; }
7622 if test "$hard_links" = no
; then
7623 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7624 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7631 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7632 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7635 allow_undefined_flag
=
7636 enable_shared_with_static_runtimes
=no
7638 archive_expsym_cmds
=
7639 old_archive_From_new_cmds
=
7640 old_archive_from_expsyms_cmds
=
7641 export_dynamic_flag_spec
=
7642 whole_archive_flag_spec
=
7643 thread_safe_flag_spec
=
7644 hardcode_libdir_flag_spec
=
7645 hardcode_libdir_flag_spec_ld
=
7646 hardcode_libdir_separator
=
7649 hardcode_shlibpath_var
=unsupported
7650 link_all_deplibs
=unknown
7651 hardcode_automatic
=no
7654 always_export_symbols
=no
7655 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7656 # include_expsyms should be a list of space-separated symbols to be *always*
7657 # included in the symbol list
7659 # exclude_expsyms can be an extended regexp of symbols to exclude
7660 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7661 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7662 # as well as any symbol that contains `d'.
7663 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7664 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7665 # platforms (ab)use it in PIC code, but their linkers get confused if
7666 # the symbol is explicitly referenced. Since portable code cannot
7667 # rely on this symbol name, it's probably fine to never include it in
7668 # preloaded symbol tables.
7669 extract_expsyms_cmds
=
7670 # Just being paranoid about ensuring that cc_basename is set.
7671 for cc_temp
in $compiler""; do
7673 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7674 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7679 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7682 cygwin
* | mingw
* | pw32
*)
7683 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7684 # When not using gcc, we currently assume that we are using
7685 # Microsoft Visual C++.
7686 if test "$GCC" != yes; then
7691 # we just hope/assume this is gcc and not c89 (= MSVC++)
7700 if test "$with_gnu_ld" = yes; then
7701 # If archive_cmds runs LD, not CC, wlarc should be empty
7704 # Set some defaults for GNU ld with shared library support. These
7705 # are reset later if shared libraries are not supported. Putting them
7706 # here allows them to be overridden if necessary.
7707 runpath_var
=LD_RUN_PATH
7708 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7709 export_dynamic_flag_spec
='${wl}--export-dynamic'
7710 # ancient GNU ld didn't support --whole-archive et. al.
7711 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7712 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7714 whole_archive_flag_spec
=
7716 supports_anon_versioning
=no
7717 case `$LD -v 2>/dev/null` in
7718 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7719 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7720 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7721 *\
2.11.
*) ;; # other 2.11 versions
7722 *) supports_anon_versioning
=yes ;;
7725 # See if GNU ld supports shared libraries.
7727 aix3
* | aix4
* | aix5
*)
7728 # On AIX/PPC, the GNU linker is very broken
7729 if test "$host_cpu" != ia64
; then
7733 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7734 *** to be unable to reliably create shared libraries on AIX.
7735 *** Therefore, libtool is disabling shared libraries support. If you
7736 *** really care for shared libraries, you may want to modify your PATH
7737 *** so that a non-GNU linker is found, and then restart.
7744 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)'
7745 hardcode_libdir_flag_spec
='-L$libdir'
7746 hardcode_minus_L
=yes
7748 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7749 # that the semantics of dynamic libraries on AmigaOS, at least up
7750 # to version 4, is to share data among multiple programs linked
7751 # with the same dynamic library. Since this doesn't match the
7752 # behavior of shared libraries on other platforms, we can't use
7758 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7759 allow_undefined_flag
=unsupported
7760 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7761 # support --undefined. This deserves some investigation. FIXME
7762 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7768 cygwin
* | mingw
* | pw32
*)
7769 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7770 # as there is no search path for DLLs.
7771 hardcode_libdir_flag_spec
='-L$libdir'
7772 allow_undefined_flag
=unsupported
7773 always_export_symbols
=no
7774 enable_shared_with_static_runtimes
=yes
7775 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7777 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7778 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7779 # If the export-symbols file already is a .def file (1st line
7780 # is EXPORTS), use it as is; otherwise, prepend...
7781 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7782 cp $export_symbols $output_objdir/$soname.def;
7784 echo EXPORTS > $output_objdir/$soname.def;
7785 cat $export_symbols >> $output_objdir/$soname.def;
7787 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7795 hardcode_shlibpath_var
=no
7796 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7797 export_dynamic_flag_spec
='${wl}-E'
7798 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7799 # Instead, shared libraries are loaded at an image base (0x10000000 by
7800 # default) and relocated if they conflict, which is a slow very memory
7801 # consuming and fragmenting process. To avoid this, we pick a random,
7802 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7803 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7804 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7805 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'
7808 gnu
* | linux
* | k
*bsd
*-gnu)
7809 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7811 case $cc_basename,$host_cpu in
7812 pgcc
*) # Portland Group C compiler
7813 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'
7814 tmp_addflag
=' $pic_flag'
7816 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7817 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'
7818 tmp_addflag
=' $pic_flag -Mnomain' ;;
7819 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7820 tmp_addflag
=' -i_dynamic' ;;
7821 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7822 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7823 ifc
* | ifort
*) # Intel Fortran compiler
7824 tmp_addflag
=' -nofor_main' ;;
7826 case `$CC -V 2>&1 | sed 5q` in
7827 *Sun\ C
*) # Sun C 5.9
7828 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7829 tmp_sharedflag
='-G' ;;
7830 *Sun\ F
*) # Sun Fortran 8.3
7831 tmp_sharedflag
='-G' ;;
7833 tmp_sharedflag
='-shared' ;;
7835 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7837 if test $supports_anon_versioning = yes; then
7838 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7839 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7840 $echo "local: *; };" >> $output_objdir/$libname.ver~
7841 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7849 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7850 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7854 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7859 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7863 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7864 *** create shared libraries on Solaris systems. Therefore, libtool
7865 *** is disabling shared libraries support. We urge you to upgrade GNU
7866 *** binutils to release 2.9.1 or newer. Another option is to modify
7867 *** your PATH or compiler configuration so that the native linker is
7868 *** used, and then restart.
7871 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7872 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7873 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7879 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7880 case `$LD -v 2>&1` in
7881 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7885 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7886 *** reliably create shared libraries on SCO systems. Therefore, libtool
7887 *** is disabling shared libraries support. We urge you to upgrade GNU
7888 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7889 *** your PATH or compiler configuration so that the native linker is
7890 *** used, and then restart.
7895 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7896 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7897 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7898 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7907 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7910 hardcode_shlibpath_var
=no
7914 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7915 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7916 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7923 if test "$ld_shlibs" = no
; then
7925 hardcode_libdir_flag_spec
=
7926 export_dynamic_flag_spec
=
7927 whole_archive_flag_spec
=
7930 # PORTME fill in a description of your system's linker (not GNU ld)
7933 allow_undefined_flag
=unsupported
7934 always_export_symbols
=yes
7935 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'
7936 # Note: this linker hardcodes the directories in LIBPATH if there
7937 # are no directories specified by -L.
7938 hardcode_minus_L
=yes
7939 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7940 # Neither direct hardcoding nor static linking is supported with a
7942 hardcode_direct
=unsupported
7947 if test "$host_cpu" = ia64
; then
7948 # On IA64, the linker does run time linking by default, so we don't
7949 # have to do anything special.
7950 aix_use_runtimelinking
=no
7951 exp_sym_flag
='-Bexport'
7954 # If we're using GNU nm, then we don't want the "-C" option.
7955 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7956 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7957 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'
7959 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'
7961 aix_use_runtimelinking
=no
7963 # Test if we are trying to use run time linking or normal
7964 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7965 # need to do runtime linking.
7966 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7967 for ld_flag
in $LDFLAGS; do
7968 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7969 aix_use_runtimelinking
=yes
7976 exp_sym_flag
='-bexport'
7977 no_entry_flag
='-bnoentry'
7980 # When large executables or shared objects are built, AIX ld can
7981 # have problems creating the table of contents. If linking a library
7982 # or program results in "error TOC overflow" add -mminimal-toc to
7983 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7984 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7988 hardcode_libdir_separator
=':'
7989 link_all_deplibs
=yes
7991 if test "$GCC" = yes; then
7992 case $host_os in aix4.
[012]|aix4.
[012].
*)
7993 # We only want to do this on AIX 4.2 and lower, the check
7994 # below for broken collect2 doesn't work under 4.3+
7995 collect2name
=`${CC} -print-prog-name=collect2`
7996 if test -f "$collect2name" && \
7997 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7999 # We have reworked collect2
8002 # We have old collect2
8003 hardcode_direct
=unsupported
8004 # It fails to find uninstalled libraries when the uninstalled
8005 # path is not listed in the libpath. Setting hardcode_minus_L
8006 # to unsupported forces relinking
8007 hardcode_minus_L
=yes
8008 hardcode_libdir_flag_spec
='-L$libdir'
8009 hardcode_libdir_separator
=
8013 shared_flag
='-shared'
8014 if test "$aix_use_runtimelinking" = yes; then
8015 shared_flag
="$shared_flag "'${wl}-G'
8019 if test "$host_cpu" = ia64
; then
8020 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8021 # chokes on -Wl,-G. The following line is correct:
8024 if test "$aix_use_runtimelinking" = yes; then
8025 shared_flag
='${wl}-G'
8027 shared_flag
='${wl}-bM:SRE'
8032 # It seems that -bexpall does not export symbols beginning with
8033 # underscore (_), so it is better to generate a list of symbols to export.
8034 always_export_symbols
=yes
8035 if test "$aix_use_runtimelinking" = yes; then
8036 # Warning - without using the other runtime loading flags (-brtl),
8037 # -berok will link without error, but may produce a broken library.
8038 allow_undefined_flag
='-berok'
8039 # Determine the default libpath from the value encoded in an empty executable.
8040 cat >conftest.
$ac_ext <<_ACEOF
8043 cat confdefs.h
>>conftest.
$ac_ext
8044 cat >>conftest.
$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8055 rm -f conftest.
$ac_objext conftest
$ac_exeext
8056 if { (ac_try
="$ac_link"
8058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8059 *) ac_try_echo=$ac_try;;
8061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8062 (eval "$ac_link") 2>conftest.er1
8064 grep -v '^ *+' conftest.er1 >conftest.err
8066 cat conftest.err >&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } && {
8069 test -z "$ac_c_werror_flag" ||
8070 test ! -s conftest.err
8071 } && test -s conftest$ac_exeext &&
8072 $as_test_x conftest$ac_exeext; then
8074 lt_aix_libpath_sed='
8075 /Import File Strings/,/^$/ {
8081 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8082 # Check for a 64-bit object if we didn't find anything.
8083 if test -z "$aix_libpath"; then
8084 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8087 echo "$as_me: failed program was:" >&5
8088 sed 's/^/| /' conftest.$ac_ext >&5
8093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8094 conftest$ac_exeext conftest.$ac_ext
8095 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8097 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8098 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"
8100 if test "$host_cpu" = ia64; then
8101 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8102 allow_undefined_flag="-z nodefs"
8103 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"
8105 # Determine the default libpath from the value encoded in an empty executable.
8106 cat >conftest.$ac_ext <<_ACEOF
8109 cat confdefs.h >>conftest.$ac_ext
8110 cat >>conftest.$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (ac_try="$ac_link"
8124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8125 *) ac_try_echo
=$ac_try;;
8127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8128 (eval "$ac_link") 2>conftest.er1
8130 grep -v '^ *+' conftest.er1
>conftest.err
8132 cat conftest.err
>&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } && {
8135 test -z "$ac_c_werror_flag" ||
8136 test ! -s conftest.err
8137 } && test -s conftest
$ac_exeext &&
8138 $as_test_x conftest
$ac_exeext; then
8140 lt_aix_libpath_sed
='
8141 /Import File Strings/,/^$/ {
8147 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8148 # Check for a 64-bit object if we didn't find anything.
8149 if test -z "$aix_libpath"; then
8150 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8153 echo "$as_me: failed program was:" >&5
8154 sed 's/^/| /' conftest.
$ac_ext >&5
8159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8163 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8164 # Warning - without using the other run time loading flags,
8165 # -berok will link without error, but may produce a broken library.
8166 no_undefined_flag
=' ${wl}-bernotok'
8167 allow_undefined_flag
=' ${wl}-berok'
8168 # Exported symbols can be pulled into shared objects from archives
8169 whole_archive_flag_spec
='$convenience'
8170 archive_cmds_need_lc
=yes
8171 # This is similar to how AIX traditionally builds its shared libraries.
8172 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'
8178 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)'
8179 hardcode_libdir_flag_spec
='-L$libdir'
8180 hardcode_minus_L
=yes
8181 # see comment about different semantics on the GNU ld section
8186 export_dynamic_flag_spec
=-rdynamic
8189 cygwin
* | mingw
* | pw32
*)
8190 # When not using gcc, we currently assume that we are using
8191 # Microsoft Visual C++.
8192 # hardcode_libdir_flag_spec is actually meaningless, as there is
8193 # no search path for DLLs.
8194 hardcode_libdir_flag_spec
=' '
8195 allow_undefined_flag
=unsupported
8196 # Tell ltmain to make .lib files, not .a files.
8198 # Tell ltmain to make .dll files, not .so files.
8200 # FIXME: Setting linknames here is a bad hack.
8201 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8202 # The linker will automatically build a .lib file if we build a DLL.
8203 old_archive_From_new_cmds
='true'
8204 # FIXME: Should let the user specify the lib program.
8205 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8206 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8207 enable_shared_with_static_runtimes
=yes
8210 darwin
* | rhapsody
*)
8212 rhapsody
* | darwin1.
[012])
8213 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8216 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8217 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8219 case ${MACOSX_DEPLOYMENT_TARGET} in
8221 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8224 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8230 archive_cmds_need_lc
=no
8232 hardcode_automatic
=yes
8233 hardcode_shlibpath_var
=unsupported
8234 whole_archive_flag_spec
=''
8235 link_all_deplibs
=yes
8236 if test "$GCC" = yes ; then
8237 output_verbose_link_cmd
='echo'
8238 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8239 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8240 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8241 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}'
8242 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}'
8244 case $cc_basename in
8246 output_verbose_link_cmd
='echo'
8247 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8248 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8249 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8250 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8251 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}'
8261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8262 hardcode_libdir_flag_spec
='-L$libdir'
8263 hardcode_shlibpath_var
=no
8270 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8271 # support. Future versions do this automatically, but an explicit c++rt0.o
8272 # does not break anything, and helps significantly (at the cost of a little
8275 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8276 hardcode_libdir_flag_spec
='-R$libdir'
8278 hardcode_shlibpath_var
=no
8281 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8283 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8285 hardcode_minus_L
=yes
8286 hardcode_shlibpath_var
=no
8289 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8290 freebsd
* | dragonfly
*)
8291 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8292 hardcode_libdir_flag_spec
='-R$libdir'
8294 hardcode_shlibpath_var
=no
8298 if test "$GCC" = yes; then
8299 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'
8301 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'
8303 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8304 hardcode_libdir_separator
=:
8307 # hardcode_minus_L: Not really in the search PATH,
8308 # but as the default location of the library.
8309 hardcode_minus_L
=yes
8310 export_dynamic_flag_spec
='${wl}-E'
8314 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8315 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8317 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8319 if test "$with_gnu_ld" = no
; then
8320 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8321 hardcode_libdir_separator
=:
8324 export_dynamic_flag_spec
='${wl}-E'
8326 # hardcode_minus_L: Not really in the search PATH,
8327 # but as the default location of the library.
8328 hardcode_minus_L
=yes
8333 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8336 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8339 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8342 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8348 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8351 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8354 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8358 if test "$with_gnu_ld" = no
; then
8359 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8360 hardcode_libdir_separator
=:
8364 hardcode_libdir_flag_spec_ld
='+b $libdir'
8366 hardcode_shlibpath_var
=no
8370 export_dynamic_flag_spec
='${wl}-E'
8372 # hardcode_minus_L: Not really in the search PATH,
8373 # but as the default location of the library.
8374 hardcode_minus_L
=yes
8380 irix5
* | irix6
* | nonstopux
*)
8381 if test "$GCC" = yes; then
8382 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'
8384 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'
8385 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8387 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8388 hardcode_libdir_separator
=:
8389 link_all_deplibs
=yes
8393 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8394 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8396 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8398 hardcode_libdir_flag_spec
='-R$libdir'
8400 hardcode_shlibpath_var
=no
8404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8406 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8407 hardcode_libdir_separator
=:
8408 hardcode_shlibpath_var
=no
8412 if test -f /usr
/libexec
/ld.so
; then
8414 hardcode_shlibpath_var
=no
8415 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8416 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8417 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8418 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8419 export_dynamic_flag_spec
='${wl}-E'
8422 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8423 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8424 hardcode_libdir_flag_spec
='-R$libdir'
8427 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8428 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8438 hardcode_libdir_flag_spec
='-L$libdir'
8439 hardcode_minus_L
=yes
8440 allow_undefined_flag
=unsupported
8441 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'
8442 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8446 if test "$GCC" = yes; then
8447 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8448 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'
8450 allow_undefined_flag
=' -expect_unresolved \*'
8451 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'
8453 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8454 hardcode_libdir_separator
=:
8457 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8458 if test "$GCC" = yes; then
8459 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8460 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'
8461 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8463 allow_undefined_flag
=' -expect_unresolved \*'
8464 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'
8465 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8466 $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'
8468 # Both c and cxx compiler support -rpath directly
8469 hardcode_libdir_flag_spec
='-rpath $libdir'
8471 hardcode_libdir_separator
=:
8475 no_undefined_flag
=' -z text'
8476 if test "$GCC" = yes; then
8478 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8480 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8483 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8484 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8485 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8487 hardcode_libdir_flag_spec
='-R$libdir'
8488 hardcode_shlibpath_var
=no
8490 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8492 # The compiler driver will combine and reorder linker options,
8493 # but understands `-z linker_flag'. GCC discards it without `$wl',
8494 # but is careful enough not to reorder.
8495 # Supported since Solaris 2.6 (maybe 2.5.1?)
8496 if test "$GCC" = yes; then
8497 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8499 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8503 link_all_deplibs
=yes
8507 if test "x$host_vendor" = xsequent
; then
8508 # Use $CC to link under sequent, because it throws in some extra .o
8509 # files that make .init and .fini sections work.
8510 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8512 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8514 hardcode_libdir_flag_spec
='-L$libdir'
8516 hardcode_minus_L
=yes
8517 hardcode_shlibpath_var
=no
8521 case $host_vendor in
8523 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8524 hardcode_direct
=yes # is this really true???
8527 ## LD is ld it makes a PLAMLIB
8528 ## CC just makes a GrossModule.
8529 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8530 reload_cmds
='$CC -r -o $output$reload_objs'
8534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8535 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8538 runpath_var
='LD_RUN_PATH'
8539 hardcode_shlibpath_var
=no
8543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8544 hardcode_shlibpath_var
=no
8545 export_dynamic_flag_spec
='-Bexport'
8549 if test -d /usr
/nec
; then
8550 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8551 hardcode_shlibpath_var
=no
8552 runpath_var
=LD_RUN_PATH
8553 hardcode_runpath_var
=yes
8558 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8559 no_undefined_flag
='${wl}-z,text'
8560 archive_cmds_need_lc
=no
8561 hardcode_shlibpath_var
=no
8562 runpath_var
='LD_RUN_PATH'
8564 if test "$GCC" = yes; then
8565 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8566 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8568 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8569 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8573 sysv5
* | sco3.2v5
* | sco5v6
*)
8574 # Note: We can NOT use -z defs as we might desire, because we do not
8575 # link with -lc, and that would cause any symbols used from libc to
8576 # always be unresolved, which means just about no library would
8577 # ever link correctly. If we're not using GNU ld we use -z text
8578 # though, which does catch some bad symbols but isn't as heavy-handed
8580 no_undefined_flag
='${wl}-z,text'
8581 allow_undefined_flag
='${wl}-z,nodefs'
8582 archive_cmds_need_lc
=no
8583 hardcode_shlibpath_var
=no
8584 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8585 hardcode_libdir_separator
=':'
8586 link_all_deplibs
=yes
8587 export_dynamic_flag_spec
='${wl}-Bexport'
8588 runpath_var
='LD_RUN_PATH'
8590 if test "$GCC" = yes; then
8591 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8592 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8594 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8595 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8601 hardcode_libdir_flag_spec
='-L$libdir'
8602 hardcode_shlibpath_var
=no
8611 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8612 echo "${ECHO_T}$ld_shlibs" >&6; }
8613 test "$ld_shlibs" = no
&& can_build_shared
=no
8616 # Do we need to explicitly link libc?
8618 case "x$archive_cmds_need_lc" in
8620 # Assume -lc should be added
8621 archive_cmds_need_lc
=yes
8623 if test "$enable_shared" = yes && test "$GCC" = yes; then
8624 case $archive_cmds in
8626 # FIXME: we may have to deal with multi-command sequences.
8629 # Test whether the compiler implicitly links with -lc since on some
8630 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8631 # to ld, don't add -lc before -lgcc.
8632 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8633 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8635 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8638 (eval $ac_compile) 2>&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } 2>conftest.err
; then
8644 libobjs
=conftest.
$ac_objext
8646 wl
=$lt_prog_compiler_wl
8647 pic_flag
=$lt_prog_compiler_pic
8653 lt_save_allow_undefined_flag
=$allow_undefined_flag
8654 allow_undefined_flag
=
8655 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8656 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }
8661 archive_cmds_need_lc
=no
8663 archive_cmds_need_lc
=yes
8665 allow_undefined_flag
=$lt_save_allow_undefined_flag
8667 cat conftest.err
1>&5
8670 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8671 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8678 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8679 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8681 libname_spec
='lib$name'
8689 shlibpath_overrides_runpath
=unknown
8691 dynamic_linker
="$host_os ld.so"
8692 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8694 if test "$GCC" = yes; then
8696 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8697 *) lt_awk_arg
="/^libraries:/" ;;
8699 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8700 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8701 # if the path contains ";" then we assume it to be the separator
8702 # otherwise default to the standard path separator (i.e. ":") - it is
8703 # assumed that no part of a normal pathname contains ";" but that should
8704 # okay in the real world where ";" in dirpaths is itself problematic.
8705 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8707 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8709 # Ok, now we have the path, separated by spaces, we can step through it
8710 # and add multilib dir if necessary.
8711 lt_tmp_lt_search_path_spec
=
8712 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8713 for lt_sys_path
in $lt_search_path_spec; do
8714 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8715 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8717 test -d "$lt_sys_path" && \
8718 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8721 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8722 BEGIN {RS=" "; FS="/|\n";} {
8725 for (lt_i = NF; lt_i > 0; lt_i--) {
8726 if ($lt_i != "" && $lt_i != ".") {
8727 if ($lt_i == "..") {
8730 if (lt_count == 0) {
8731 lt_foo="/" $lt_i lt_foo;
8738 if (lt_foo != "") { lt_freq[lt_foo]++; }
8739 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8741 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8743 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8745 need_lib_prefix
=unknown
8746 hardcode_into_libs
=no
8748 # when you set need_version to no, make sure it does not cause -set_version
8749 # flags to be left without arguments
8750 need_version
=unknown
8755 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8756 shlibpath_var
=LIBPATH
8758 # AIX 3 has no versioning support, so we append a major version to the name.
8759 soname_spec
='${libname}${release}${shared_ext}$major'
8766 hardcode_into_libs
=yes
8767 if test "$host_cpu" = ia64
; then
8768 # AIX 5 supports IA64
8769 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8770 shlibpath_var
=LD_LIBRARY_PATH
8772 # With GCC up to 2.95.x, collect2 would create an import file
8773 # for dependence libraries. The import file would start with
8774 # the line `#! .'. This would cause the generated library to
8775 # depend on `.', always an invalid library. This was fixed in
8776 # development snapshots of GCC prior to 3.0.
8778 aix4 | aix4.
[01] | aix4.
[01].
*)
8779 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8781 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8788 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8789 # soname into executable. Probably we can add versioning support to
8790 # collect2, so additional links can be useful in future.
8791 if test "$aix_use_runtimelinking" = yes; then
8792 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8793 # instead of lib<name>.a to let people know that these are not
8794 # typical AIX shared libraries.
8795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8797 # We preserve .a as extension for shared libraries through AIX4.2
8798 # and later when we are not doing run time linking.
8799 library_names_spec
='${libname}${release}.a $libname.a'
8800 soname_spec
='${libname}${release}${shared_ext}$major'
8802 shlibpath_var
=LIBPATH
8807 library_names_spec
='$libname.ixlibrary $libname.a'
8808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8809 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'
8813 library_names_spec
='${libname}${shared_ext}'
8814 dynamic_linker
="$host_os ld.so"
8815 shlibpath_var
=LIBRARY_PATH
8821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8822 soname_spec
='${libname}${release}${shared_ext}$major'
8823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8824 shlibpath_var
=LD_LIBRARY_PATH
8825 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8826 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8827 # the default ld.so.conf also contains /usr/contrib/lib and
8828 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8829 # libtool to hard-code these into programs
8832 cygwin
* | mingw
* | pw32
*)
8833 version_type
=windows
8838 case $GCC,$host_os in
8839 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8840 library_names_spec
='$libname.dll.a'
8841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8842 postinstall_cmds
='base_file=`basename \${file}`~
8843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8844 dldir=$destdir/`dirname \$dlpath`~
8845 test -d \$dldir || mkdir -p \$dldir~
8846 $install_prog $dir/$dlname \$dldir/$dlname~
8847 chmod a+x \$dldir/$dlname'
8848 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8849 dlpath=$dir/\$dldll~
8851 shlibpath_overrides_runpath
=yes
8855 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8856 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8857 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8860 # MinGW DLLs use traditional 'lib' prefix
8861 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8862 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8863 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8864 # It is most probably a Windows format PATH printed by
8865 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8866 # path with ; separators, and with drive letters. We can handle the
8867 # drive letters (cygwin fileutils understands them), so leave them,
8868 # especially as we might pass files found there to a mingw objdump,
8869 # which wouldn't understand a cygwinified path. Ahh.
8870 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8872 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8876 # pw32 DLLs use 'pw' prefix rather than 'lib'
8877 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8883 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8886 dynamic_linker
='Win32 ld.exe'
8887 # FIXME: first we should search . and the directory the executable is in
8891 darwin
* | rhapsody
*)
8892 dynamic_linker
="$host_os dyld"
8896 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8897 soname_spec
='${libname}${release}${major}$shared_ext'
8898 shlibpath_overrides_runpath
=yes
8899 shlibpath_var
=DYLD_LIBRARY_PATH
8900 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8903 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8911 soname_spec
='${libname}${release}${shared_ext}$major'
8912 shlibpath_var
=LD_LIBRARY_PATH
8919 freebsd
* | dragonfly
*)
8920 # DragonFly does not have aout. When/if they implement a new
8921 # versioning mechanism, adjust this.
8922 if test -x /usr
/bin
/objformat
; then
8923 objformat
=`/usr/bin/objformat`
8926 freebsd
[123]*) objformat
=aout
;;
8930 version_type
=freebsd-
$objformat
8931 case $version_type in
8933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8942 shlibpath_var
=LD_LIBRARY_PATH
8945 shlibpath_overrides_runpath
=yes
8947 freebsd3.
[01]* | freebsdelf3.
[01]*)
8948 shlibpath_overrides_runpath
=yes
8949 hardcode_into_libs
=yes
8951 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8952 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8953 shlibpath_overrides_runpath
=no
8954 hardcode_into_libs
=yes
8956 *) # from 4.6 on, and DragonFly
8957 shlibpath_overrides_runpath
=yes
8958 hardcode_into_libs
=yes
8967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8968 soname_spec
='${libname}${release}${shared_ext}$major'
8969 shlibpath_var
=LD_LIBRARY_PATH
8970 hardcode_into_libs
=yes
8973 hpux9
* | hpux10
* | hpux11
*)
8974 # Give a soname corresponding to the major version so that dld.sl refuses to
8975 # link against other versions.
8982 hardcode_into_libs
=yes
8983 dynamic_linker
="$host_os dld.so"
8984 shlibpath_var
=LD_LIBRARY_PATH
8985 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
8989 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8991 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8993 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8997 hardcode_into_libs
=yes
8998 dynamic_linker
="$host_os dld.sl"
8999 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9000 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9002 soname_spec
='${libname}${release}${shared_ext}$major'
9003 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9004 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9008 dynamic_linker
="$host_os dld.sl"
9009 shlibpath_var
=SHLIB_PATH
9010 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9012 soname_spec
='${libname}${release}${shared_ext}$major'
9015 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9016 postinstall_cmds
='chmod 555 $lib'
9023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9024 soname_spec
='${libname}${release}${shared_ext}$major'
9025 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9026 shlibpath_var
=LD_LIBRARY_PATH
9027 shlibpath_overrides_runpath
=no
9028 hardcode_into_libs
=yes
9031 irix5
* | irix6
* | nonstopux
*)
9033 nonstopux
*) version_type
=nonstopux
;;
9035 if test "$lt_cv_prog_gnu_ld" = yes; then
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9046 irix5
* | nonstopux
*)
9050 case $LD in # libtool.m4 will add one of these switches to LD
9051 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9052 libsuff
= shlibsuff
= libmagic
=32-bit;;
9053 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9054 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9055 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9056 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9057 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9061 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9062 shlibpath_overrides_runpath
=no
9063 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9064 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9065 hardcode_into_libs
=yes
9068 # No shared lib support for Linux oldld, aout, or coff.
9069 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9073 # This must be Linux ELF.
9074 linux
* | k
*bsd
*-gnu)
9078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9079 soname_spec
='${libname}${release}${shared_ext}$major'
9080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9081 shlibpath_var
=LD_LIBRARY_PATH
9082 shlibpath_overrides_runpath
=no
9083 # This implies no fast_install, which is unacceptable.
9084 # Some rework will be needed to allow for fast_install
9085 # before this can be enabled.
9086 hardcode_into_libs
=yes
9087 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9088 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9090 # Append ld.so.conf contents to the search path
9091 if test -f /etc
/ld.so.conf
; then
9092 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9093 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9096 # We used to test for /lib/ld.so.1 and disable shared libraries on
9097 # powerpc, because MkLinux only supported shared libraries with the
9098 # GNU dynamic linker. Since this was broken with cross compilers,
9099 # most powerpc-linux boxes support dynamic linking these days and
9100 # people can always --disable-shared, the test was removed, and we
9101 # assume the GNU/Linux dynamic linker is in use.
9102 dynamic_linker
='GNU/Linux ld.so'
9109 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9112 dynamic_linker
='NetBSD (a.out) ld.so'
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9115 soname_spec
='${libname}${release}${shared_ext}$major'
9116 dynamic_linker
='NetBSD ld.elf_so'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 shlibpath_overrides_runpath
=yes
9120 hardcode_into_libs
=yes
9125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9126 shlibpath_var
=LD_LIBRARY_PATH
9127 shlibpath_overrides_runpath
=yes
9134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9135 soname_spec
='${libname}${release}${shared_ext}$major'
9136 shlibpath_var
=LD_LIBRARY_PATH
9137 shlibpath_overrides_runpath
=yes
9142 sys_lib_dlsearch_path_spec
="/usr/lib"
9144 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9146 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9147 *) need_version
=no
;;
9149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9150 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9151 shlibpath_var
=LD_LIBRARY_PATH
9152 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9154 openbsd2.
[89] | openbsd2.
[89].
*)
9155 shlibpath_overrides_runpath
=no
9158 shlibpath_overrides_runpath
=yes
9162 shlibpath_overrides_runpath
=yes
9167 libname_spec
='$name'
9170 library_names_spec
='$libname${shared_ext} $libname.a'
9171 dynamic_linker
='OS/2 ld.exe'
9172 shlibpath_var
=LIBPATH
9175 osf3
* | osf4
* | osf5
*)
9179 soname_spec
='${libname}${release}${shared_ext}$major'
9180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 shlibpath_var
=LD_LIBRARY_PATH
9182 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9183 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9195 soname_spec
='${libname}${release}${shared_ext}$major'
9196 shlibpath_var
=LD_LIBRARY_PATH
9197 shlibpath_overrides_runpath
=yes
9198 hardcode_into_libs
=yes
9199 # ldd complains unless libraries are executable
9200 postinstall_cmds
='chmod +x $lib'
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9206 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9207 shlibpath_var
=LD_LIBRARY_PATH
9208 shlibpath_overrides_runpath
=yes
9209 if test "$with_gnu_ld" = yes; then
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 case $host_vendor in
9222 shlibpath_overrides_runpath
=no
9224 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9225 runpath_var
=LD_RUN_PATH
9233 shlibpath_overrides_runpath
=no
9234 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9240 if test -d /usr
/nec
;then
9242 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9243 soname_spec
='$libname${shared_ext}.$major'
9244 shlibpath_var
=LD_LIBRARY_PATH
9248 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9249 version_type
=freebsd-elf
9252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9253 soname_spec
='${libname}${release}${shared_ext}$major'
9254 shlibpath_var
=LD_LIBRARY_PATH
9255 hardcode_into_libs
=yes
9256 if test "$with_gnu_ld" = yes; then
9257 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9258 shlibpath_overrides_runpath
=no
9260 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9261 shlibpath_overrides_runpath
=yes
9264 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9268 sys_lib_dlsearch_path_spec
='/usr/lib'
9273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9274 soname_spec
='${libname}${release}${shared_ext}$major'
9275 shlibpath_var
=LD_LIBRARY_PATH
9282 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9283 echo "${ECHO_T}$dynamic_linker" >&6; }
9284 test "$dynamic_linker" = no
&& can_build_shared
=no
9286 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9287 if test "$GCC" = yes; then
9288 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9291 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9292 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9294 if test -n "$hardcode_libdir_flag_spec" || \
9295 test -n "$runpath_var" || \
9296 test "X$hardcode_automatic" = "Xyes" ; then
9298 # We can hardcode non-existant directories.
9299 if test "$hardcode_direct" != no
&&
9300 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9301 # have to relink, otherwise we might link with an installed library
9302 # when we should be linking with a yet-to-be-installed one
9303 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9304 test "$hardcode_minus_L" != no
; then
9305 # Linking always hardcodes the temporary library directory.
9306 hardcode_action
=relink
9308 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9309 hardcode_action
=immediate
9312 # We cannot hardcode anything, or else we can only hardcode existing
9314 hardcode_action
=unsupported
9316 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9317 echo "${ECHO_T}$hardcode_action" >&6; }
9319 if test "$hardcode_action" = relink
; then
9320 # Fast installation is not supported
9321 enable_fast_install
=no
9322 elif test "$shlibpath_overrides_runpath" = yes ||
9323 test "$enable_shared" = no
; then
9324 # Fast installation is not necessary
9325 enable_fast_install
=needless
9330 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9331 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9332 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9333 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9334 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9335 { echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6; }
9338 # FIXME - insert some real tests, host_os isn't really good enough
9341 if test -n "$STRIP" ; then
9342 striplib
="$STRIP -x"
9343 old_striplib
="$STRIP -S"
9344 { echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6; }
9347 { echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6; }
9352 { echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6; }
9358 if test "x$enable_dlopen" != xyes
; then
9359 enable_dlopen
=unknown
9360 enable_dlopen_self
=unknown
9361 enable_dlopen_self_static
=unknown
9368 lt_cv_dlopen
="load_add_on"
9370 lt_cv_dlopen_self
=yes
9374 lt_cv_dlopen
="LoadLibrary"
9379 lt_cv_dlopen
="dlopen"
9384 # if libdl is installed we need to link against it
9385 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9386 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9387 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 ac_check_lib_save_LIBS
=$LIBS
9392 cat >conftest.
$ac_ext <<_ACEOF
9395 cat confdefs.h
>>conftest.
$ac_ext
9396 cat >>conftest.
$ac_ext <<_ACEOF
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9414 rm -f conftest.
$ac_objext conftest
$ac_exeext
9415 if { (ac_try
="$ac_link"
9417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9418 *) ac_try_echo=$ac_try;;
9420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9421 (eval "$ac_link") 2>conftest.er1
9423 grep -v '^ *+' conftest.er1 >conftest.err
9425 cat conftest.err >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } && {
9428 test -z "$ac_c_werror_flag" ||
9429 test ! -s conftest.err
9430 } && test -s conftest$ac_exeext &&
9431 $as_test_x conftest$ac_exeext; then
9432 ac_cv_lib_dl_dlopen=yes
9434 echo "$as_me: failed program was:" >&5
9435 sed 's/^/| /' conftest.$ac_ext >&5
9437 ac_cv_lib_dl_dlopen=no
9440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9441 conftest$ac_exeext conftest.$ac_ext
9442 LIBS=$ac_check_lib_save_LIBS
9444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9445 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9446 if test $ac_cv_lib_dl_dlopen = yes; then
9447 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9452 lt_cv_dlopen_self=yes
9459 { echo "$as_me:$LINENO: checking for shl_load" >&5
9460 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9461 if test "${ac_cv_func_shl_load+set}" = set; then
9462 echo $ECHO_N "(cached) $ECHO_C" >&6
9464 cat >conftest.$ac_ext <<_ACEOF
9467 cat confdefs.h >>conftest.$ac_ext
9468 cat >>conftest.$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9470 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9472 #define shl_load innocuous_shl_load
9474 /* System header to define __stub macros and hopefully few prototypes,
9475 which can conflict with char shl_load (); below.
9476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9477 <limits.h> exists even on freestanding compilers. */
9480 # include <limits.h>
9482 # include <assert.h>
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9494 /* The GNU C library defines this for functions which it implements
9495 to always fail with ENOSYS. Some functions are actually named
9496 something starting with __ and the normal name is an alias. */
9497 #if defined __stub_shl_load || defined __stub___shl_load
9509 rm -f conftest.$ac_objext conftest$ac_exeext
9510 if { (ac_try="$ac_link"
9512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9513 *) ac_try_echo
=$ac_try;;
9515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9516 (eval "$ac_link") 2>conftest.er1
9518 grep -v '^ *+' conftest.er1
>conftest.err
9520 cat conftest.err
>&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } && {
9523 test -z "$ac_c_werror_flag" ||
9524 test ! -s conftest.err
9525 } && test -s conftest
$ac_exeext &&
9526 $as_test_x conftest
$ac_exeext; then
9527 ac_cv_func_shl_load
=yes
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.
$ac_ext >&5
9532 ac_cv_func_shl_load
=no
9535 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9536 conftest
$ac_exeext conftest.
$ac_ext
9538 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9539 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9540 if test $ac_cv_func_shl_load = yes; then
9541 lt_cv_dlopen
="shl_load"
9543 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9544 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9545 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9550 cat >conftest.
$ac_ext <<_ACEOF
9553 cat confdefs.h
>>conftest.
$ac_ext
9554 cat >>conftest.
$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9572 rm -f conftest.
$ac_objext conftest
$ac_exeext
9573 if { (ac_try
="$ac_link"
9575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9576 *) ac_try_echo=$ac_try;;
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_link") 2>conftest.er1
9581 grep -v '^ *+' conftest.er1 >conftest.err
9583 cat conftest.err >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } && {
9586 test -z "$ac_c_werror_flag" ||
9587 test ! -s conftest.err
9588 } && test -s conftest$ac_exeext &&
9589 $as_test_x conftest$ac_exeext; then
9590 ac_cv_lib_dld_shl_load=yes
9592 echo "$as_me: failed program was:" >&5
9593 sed 's/^/| /' conftest.$ac_ext >&5
9595 ac_cv_lib_dld_shl_load=no
9598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9599 conftest$ac_exeext conftest.$ac_ext
9600 LIBS=$ac_check_lib_save_LIBS
9602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9603 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9604 if test $ac_cv_lib_dld_shl_load = yes; then
9605 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9607 { echo "$as_me:$LINENO: checking for dlopen" >&5
9608 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9609 if test "${ac_cv_func_dlopen+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.$ac_ext <<_ACEOF
9615 cat confdefs.h >>conftest.$ac_ext
9616 cat >>conftest.$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9618 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9620 #define dlopen innocuous_dlopen
9622 /* System header to define __stub macros and hopefully few prototypes,
9623 which can conflict with char dlopen (); below.
9624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9625 <limits.h> exists even on freestanding compilers. */
9628 # include <limits.h>
9630 # include <assert.h>
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9642 /* The GNU C library defines this for functions which it implements
9643 to always fail with ENOSYS. Some functions are actually named
9644 something starting with __ and the normal name is an alias. */
9645 #if defined __stub_dlopen || defined __stub___dlopen
9657 rm -f conftest.$ac_objext conftest$ac_exeext
9658 if { (ac_try="$ac_link"
9660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9661 *) ac_try_echo
=$ac_try;;
9663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664 (eval "$ac_link") 2>conftest.er1
9666 grep -v '^ *+' conftest.er1
>conftest.err
9668 cat conftest.err
>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); } && {
9671 test -z "$ac_c_werror_flag" ||
9672 test ! -s conftest.err
9673 } && test -s conftest
$ac_exeext &&
9674 $as_test_x conftest
$ac_exeext; then
9675 ac_cv_func_dlopen
=yes
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.
$ac_ext >&5
9680 ac_cv_func_dlopen
=no
9683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9684 conftest
$ac_exeext conftest.
$ac_ext
9686 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9687 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9688 if test $ac_cv_func_dlopen = yes; then
9689 lt_cv_dlopen
="dlopen"
9691 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9692 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9693 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9694 echo $ECHO_N "(cached) $ECHO_C" >&6
9696 ac_check_lib_save_LIBS
=$LIBS
9698 cat >conftest.
$ac_ext <<_ACEOF
9701 cat confdefs.h
>>conftest.
$ac_ext
9702 cat >>conftest.
$ac_ext <<_ACEOF
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9720 rm -f conftest.
$ac_objext conftest
$ac_exeext
9721 if { (ac_try
="$ac_link"
9723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9724 *) ac_try_echo=$ac_try;;
9726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9727 (eval "$ac_link") 2>conftest.er1
9729 grep -v '^ *+' conftest.er1 >conftest.err
9731 cat conftest.err >&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); } && {
9734 test -z "$ac_c_werror_flag" ||
9735 test ! -s conftest.err
9736 } && test -s conftest$ac_exeext &&
9737 $as_test_x conftest$ac_exeext; then
9738 ac_cv_lib_dl_dlopen=yes
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9743 ac_cv_lib_dl_dlopen=no
9746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_lib_save_LIBS
9750 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9751 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9752 if test $ac_cv_lib_dl_dlopen = yes; then
9753 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9755 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9756 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9757 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 ac_check_lib_save_LIBS=$LIBS
9762 cat >conftest.$ac_ext <<_ACEOF
9765 cat confdefs.h >>conftest.$ac_ext
9766 cat >>conftest.$ac_ext <<_ACEOF
9767 /* end confdefs.h. */
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9784 rm -f conftest.$ac_objext conftest$ac_exeext
9785 if { (ac_try="$ac_link"
9787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9788 *) ac_try_echo
=$ac_try;;
9790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9791 (eval "$ac_link") 2>conftest.er1
9793 grep -v '^ *+' conftest.er1
>conftest.err
9795 cat conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } && {
9798 test -z "$ac_c_werror_flag" ||
9799 test ! -s conftest.err
9800 } && test -s conftest
$ac_exeext &&
9801 $as_test_x conftest
$ac_exeext; then
9802 ac_cv_lib_svld_dlopen
=yes
9804 echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.
$ac_ext >&5
9807 ac_cv_lib_svld_dlopen
=no
9810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9811 conftest
$ac_exeext conftest.
$ac_ext
9812 LIBS
=$ac_check_lib_save_LIBS
9814 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9815 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9816 if test $ac_cv_lib_svld_dlopen = yes; then
9817 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9819 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9820 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9821 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 ac_check_lib_save_LIBS
=$LIBS
9826 cat >conftest.
$ac_ext <<_ACEOF
9829 cat confdefs.h
>>conftest.
$ac_ext
9830 cat >>conftest.
$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9848 rm -f conftest.
$ac_objext conftest
$ac_exeext
9849 if { (ac_try
="$ac_link"
9851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9852 *) ac_try_echo=$ac_try;;
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9855 (eval "$ac_link") 2>conftest.er1
9857 grep -v '^ *+' conftest.er1 >conftest.err
9859 cat conftest.err >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && {
9862 test -z "$ac_c_werror_flag" ||
9863 test ! -s conftest.err
9864 } && test -s conftest$ac_exeext &&
9865 $as_test_x conftest$ac_exeext; then
9866 ac_cv_lib_dld_dld_link=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.$ac_ext >&5
9871 ac_cv_lib_dld_dld_link=no
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9879 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9880 if test $ac_cv_lib_dld_dld_link = yes; then
9881 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9902 if test "x$lt_cv_dlopen" != xno; then
9908 case $lt_cv_dlopen in
9910 save_CPPFLAGS="$CPPFLAGS"
9911 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9913 save_LDFLAGS="$LDFLAGS"
9914 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9917 LIBS="$lt_cv_dlopen_libs $LIBS"
9919 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9920 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9921 if test "${lt_cv_dlopen_self+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 if test "$cross_compiling" = yes; then :
9925 lt_cv_dlopen_self=cross
9927 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9928 lt_status=$lt_dlunknown
9929 cat > conftest.$ac_ext <<EOF
9930 #line 9930 "configure"
9931 #include "confdefs.h"
9940 # define LT_DLGLOBAL RTLD_GLOBAL
9943 # define LT_DLGLOBAL DL_GLOBAL
9945 # define LT_DLGLOBAL 0
9949 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9950 find out it does not work in some platform. */
9951 #ifndef LT_DLLAZY_OR_NOW
9953 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9956 # define LT_DLLAZY_OR_NOW DL_LAZY
9959 # define LT_DLLAZY_OR_NOW RTLD_NOW
9962 # define LT_DLLAZY_OR_NOW DL_NOW
9964 # define LT_DLLAZY_OR_NOW 0
9972 extern "C" void exit (int);
9975 void fnord() { int i=42;}
9978 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9979 int status = $lt_dlunknown;
9983 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9984 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9985 /* dlclose (self); */
9993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9994 (eval $ac_link) 2>&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9998 (./conftest; exit; ) >&5 2>/dev/null
10000 case x$lt_status in
10001 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10002 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10003 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10006 # compilation failed
10007 lt_cv_dlopen_self=no
10014 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10015 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10017 if test "x$lt_cv_dlopen_self" = xyes; then
10018 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10019 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10020 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10021 if test "${lt_cv_dlopen_self_static+set}" = set; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 if test "$cross_compiling" = yes; then :
10025 lt_cv_dlopen_self_static=cross
10027 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10028 lt_status=$lt_dlunknown
10029 cat > conftest.$ac_ext <<EOF
10030 #line 10030 "configure"
10031 #include "confdefs.h"
10040 # define LT_DLGLOBAL RTLD_GLOBAL
10043 # define LT_DLGLOBAL DL_GLOBAL
10045 # define LT_DLGLOBAL 0
10049 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10050 find out it does not work in some platform. */
10051 #ifndef LT_DLLAZY_OR_NOW
10053 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10056 # define LT_DLLAZY_OR_NOW DL_LAZY
10059 # define LT_DLLAZY_OR_NOW RTLD_NOW
10062 # define LT_DLLAZY_OR_NOW DL_NOW
10064 # define LT_DLLAZY_OR_NOW 0
10072 extern "C" void exit (int);
10075 void fnord() { int i=42;}
10078 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10079 int status = $lt_dlunknown;
10083 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10084 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10085 /* dlclose (self); */
10093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10094 (eval $ac_link) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10098 (./conftest; exit; ) >&5 2>/dev/null
10100 case x$lt_status in
10101 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10102 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10103 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10106 # compilation failed
10107 lt_cv_dlopen_self_static=no
10114 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10115 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10118 CPPFLAGS="$save_CPPFLAGS"
10119 LDFLAGS="$save_LDFLAGS"
10124 case $lt_cv_dlopen_self in
10125 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10126 *) enable_dlopen_self=unknown ;;
10129 case $lt_cv_dlopen_self_static in
10130 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10131 *) enable_dlopen_self_static=unknown ;;
10136 # Report which library types will actually be built
10137 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10138 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10139 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10140 echo "${ECHO_T}$can_build_shared" >&6; }
10142 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10143 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10144 test "$can_build_shared" = "no" && enable_shared=no
10146 # On AIX, shared libraries and static libraries use the same namespace, and
10147 # are all built from PIC.
10150 test "$enable_shared" = yes && enable_static=no
10151 if test -n "$RANLIB"; then
10152 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10153 postinstall_cmds='$RANLIB $lib'
10158 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10159 test "$enable_shared" = yes && enable_static=no
10163 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10164 echo "${ECHO_T}$enable_shared" >&6; }
10166 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10167 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10168 # Make sure either enable_shared or enable_static is yes.
10169 test "$enable_shared" = yes || enable_static=yes
10170 { echo "$as_me:$LINENO: result: $enable_static" >&5
10171 echo "${ECHO_T}$enable_static" >&6; }
10173 # The else clause should only fire when bootstrapping the
10174 # libtool distribution, otherwise you forgot to ship ltmain.sh
10175 # with your package, and you will get complaints that there are
10176 # no rules to generate ltmain.sh.
10177 if test -f "$ltmain"; then
10178 # See if we are running on zsh, and set the options which allow our commands through
10179 # without removal of \ escapes.
10180 if test -n "${ZSH_VERSION+set}" ; then
10181 setopt NO_GLOB_SUBST
10183 # Now quote all the things that may contain metacharacters while being
10184 # careful not to overquote the AC_SUBSTed values. We take copies of the
10185 # variables and quote the copies for generation of the libtool script.
10186 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10188 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10189 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10190 deplibs_check_method reload_flag reload_cmds need_locks \
10191 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10192 lt_cv_sys_global_symbol_to_c_name_address \
10193 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10194 old_postinstall_cmds old_postuninstall_cmds \
10198 lt_prog_compiler_wl \
10199 lt_prog_compiler_pic \
10200 lt_prog_compiler_static \
10201 lt_prog_compiler_no_builtin_flag \
10202 export_dynamic_flag_spec \
10203 thread_safe_flag_spec \
10204 whole_archive_flag_spec \
10205 enable_shared_with_static_runtimes \
10207 old_archive_from_new_cmds \
10212 compiler_lib_search_path \
10214 archive_expsym_cmds \
10216 postuninstall_cmds \
10217 old_archive_from_expsyms_cmds \
10218 allow_undefined_flag \
10219 no_undefined_flag \
10220 export_symbols_cmds \
10221 hardcode_libdir_flag_spec \
10222 hardcode_libdir_flag_spec_ld \
10223 hardcode_libdir_separator \
10224 hardcode_automatic \
10226 module_expsym_cmds \
10227 lt_cv_prog_compiler_c_o \
10230 include_expsyms; do
10233 old_archive_cmds | \
10234 old_archive_from_new_cmds | \
10236 archive_expsym_cmds | \
10238 module_expsym_cmds | \
10239 old_archive_from_expsyms_cmds | \
10240 export_symbols_cmds | \
10241 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10242 postinstall_cmds | postuninstall_cmds | \
10243 old_postinstall_cmds | old_postuninstall_cmds | \
10244 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10245 # Double-quote double-evaled strings.
10246 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10249 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10255 *'\$0 --fallback-echo"')
10256 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10260 cfgfile="${ofile}T"
10261 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10263 { echo "$as_me:$LINENO: creating $ofile" >&5
10264 echo "$as_me: creating $ofile" >&6;}
10266 cat <<__EOF__ >> "$cfgfile"
10269 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10270 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10271 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10273 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10274 # Free Software Foundation, Inc.
10276 # This file is part of GNU Libtool:
10277 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10279 # This program is free software; you can redistribute it and/or modify
10280 # it under the terms of the GNU General Public License as published by
10281 # the Free Software Foundation; either version 2 of the License, or
10282 # (at your option) any later version.
10284 # This program is distributed in the hope that it will be useful, but
10285 # WITHOUT ANY WARRANTY; without even the implied warranty of
10286 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10287 # General Public License for more details.
10289 # You should have received a copy of the GNU General Public License
10290 # along with this program; if not, write to the Free Software
10291 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10293 # As a special exception to the GNU General Public License, if you
10294 # distribute this file as part of a program that contains a
10295 # configuration script generated by Autoconf, you may include it under
10296 # the same distribution terms that you use for the rest of that program.
10298 # A sed program that does not truncate output.
10301 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10302 Xsed="$SED -e 1s/^X//"
10304 # The HP-UX ksh and POSIX shell print the target directory to stdout
10305 # if CDPATH is set.
10306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10308 # The names of the tagged configurations supported by this script.
10311 # ### BEGIN LIBTOOL CONFIG
10313 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10315 # Shell to use when invoking shell scripts.
10318 # Whether or not to build shared libraries.
10319 build_libtool_libs=$enable_shared
10321 # Whether or not to build static libraries.
10322 build_old_libs=$enable_static
10324 # Whether or not to add -lc for building shared libraries.
10325 build_libtool_need_lc=$archive_cmds_need_lc
10327 # Whether or not to disallow shared libs when runtime libs are static
10328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10330 # Whether or not to optimize for fast installation.
10331 fast_install=$enable_fast_install
10334 host_alias=$host_alias
10338 # The build system.
10339 build_alias=$build_alias
10343 # An echo program that does not interpret backslashes.
10348 AR_FLAGS=$lt_AR_FLAGS
10353 # LTCC compiler flags.
10354 LTCFLAGS=$lt_LTCFLAGS
10356 # A language-specific compiler.
10359 # Is the compiler the GNU C compiler?
10365 # The linker used to build libraries.
10368 # Whether we need hard or soft links.
10371 # A BSD-compatible nm program.
10374 # A symbol stripping program
10377 # Used to examine libraries when file_magic_cmd begins "file"
10378 MAGIC_CMD=$MAGIC_CMD
10380 # Used on cygwin: DLL creation program.
10383 # Used on cygwin: object dumper.
10386 # Used on cygwin: assembler.
10389 # The name of the directory that contains temporary libtool files.
10392 # How to create reloadable object files.
10393 reload_flag=$lt_reload_flag
10394 reload_cmds=$lt_reload_cmds
10396 # How to pass a linker flag through the compiler.
10397 wl=$lt_lt_prog_compiler_wl
10399 # Object file suffix (normally "o").
10400 objext="$ac_objext"
10402 # Old archive suffix (normally "a").
10405 # Shared library suffix (normally ".so").
10406 shrext_cmds='$shrext_cmds'
10408 # Executable file suffix (normally "").
10411 # Additional compiler flags for building library objects.
10412 pic_flag=$lt_lt_prog_compiler_pic
10415 # What is the maximum length of a command?
10416 max_cmd_len=$lt_cv_sys_max_cmd_len
10418 # Does compiler simultaneously support -c and -o options?
10419 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10421 # Must we lock files when doing compilation?
10422 need_locks=$lt_need_locks
10424 # Do we need the lib prefix for modules?
10425 need_lib_prefix=$need_lib_prefix
10427 # Do we need a version for libraries?
10428 need_version=$need_version
10430 # Whether dlopen is supported.
10431 dlopen_support=$enable_dlopen
10433 # Whether dlopen of programs is supported.
10434 dlopen_self=$enable_dlopen_self
10436 # Whether dlopen of statically linked programs is supported.
10437 dlopen_self_static=$enable_dlopen_self_static
10439 # Compiler flag to prevent dynamic linking.
10440 link_static_flag=$lt_lt_prog_compiler_static
10442 # Compiler flag to turn off builtin functions.
10443 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10445 # Compiler flag to allow reflexive dlopens.
10446 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10448 # Compiler flag to generate shared objects directly from archives.
10449 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10451 # Compiler flag to generate thread-safe objects.
10452 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10454 # Library versioning type.
10455 version_type=$version_type
10457 # Format of library name prefix.
10458 libname_spec=$lt_libname_spec
10460 # List of archive names. First name is the real one, the rest are links.
10461 # The last name is the one that the linker finds with -lNAME.
10462 library_names_spec=$lt_library_names_spec
10464 # The coded name of the library, if different from the real name.
10465 soname_spec=$lt_soname_spec
10467 # Commands used to build and install an old-style archive.
10469 old_archive_cmds=$lt_old_archive_cmds
10470 old_postinstall_cmds=$lt_old_postinstall_cmds
10471 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10473 # Create an old-style archive from a shared archive.
10474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10476 # Create a temporary old-style archive to link instead of a shared archive.
10477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10479 # Commands used to build and install a shared archive.
10480 archive_cmds=$lt_archive_cmds
10481 archive_expsym_cmds=$lt_archive_expsym_cmds
10482 postinstall_cmds=$lt_postinstall_cmds
10483 postuninstall_cmds=$lt_postuninstall_cmds
10485 # Commands used to build a loadable module (assumed same as above if empty)
10486 module_cmds=$lt_module_cmds
10487 module_expsym_cmds=$lt_module_expsym_cmds
10489 # Commands to strip libraries.
10490 old_striplib=$lt_old_striplib
10491 striplib=$lt_striplib
10493 # Dependencies to place before the objects being linked to create a
10495 predep_objects=$lt_predep_objects
10497 # Dependencies to place after the objects being linked to create a
10499 postdep_objects=$lt_postdep_objects
10501 # Dependencies to place before the objects being linked to create a
10503 predeps=$lt_predeps
10505 # Dependencies to place after the objects being linked to create a
10507 postdeps=$lt_postdeps
10509 # The library search path used internally by the compiler when linking
10510 # a shared library.
10511 compiler_lib_search_path=$lt_compiler_lib_search_path
10513 # Method to check whether dependent libraries are shared objects.
10514 deplibs_check_method=$lt_deplibs_check_method
10516 # Command to use when deplibs_check_method == file_magic.
10517 file_magic_cmd=$lt_file_magic_cmd
10519 # Flag that allows shared libraries with undefined symbols to be built.
10520 allow_undefined_flag=$lt_allow_undefined_flag
10522 # Flag that forces no undefined symbols.
10523 no_undefined_flag=$lt_no_undefined_flag
10525 # Commands used to finish a libtool library installation in a directory.
10526 finish_cmds=$lt_finish_cmds
10528 # Same as above, but a single script fragment to be evaled but not shown.
10529 finish_eval=$lt_finish_eval
10531 # Take the output of nm and produce a listing of raw symbols and C names.
10532 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10534 # Transform the output of nm in a proper C declaration
10535 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10537 # Transform the output of nm in a C name address pair
10538 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10540 # This is the shared library runtime path variable.
10541 runpath_var=$runpath_var
10543 # This is the shared library path variable.
10544 shlibpath_var=$shlibpath_var
10546 # Is shlibpath searched before the hard-coded library search path?
10547 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10549 # How to hardcode a shared library path into an executable.
10550 hardcode_action=$hardcode_action
10552 # Whether we should hardcode library paths into libraries.
10553 hardcode_into_libs=$hardcode_into_libs
10555 # Flag to hardcode \$libdir into a binary during linking.
10556 # This must work even if \$libdir does not exist.
10557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10559 # If ld is used when linking, flag to hardcode \$libdir into
10560 # a binary during linking. This must work even if \$libdir does
10562 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10564 # Whether we need a single -rpath flag with a separated argument.
10565 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10567 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10568 # resulting binary.
10569 hardcode_direct=$hardcode_direct
10571 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10572 # resulting binary.
10573 hardcode_minus_L=$hardcode_minus_L
10575 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10576 # the resulting binary.
10577 hardcode_shlibpath_var=$hardcode_shlibpath_var
10579 # Set to yes if building a shared library automatically hardcodes DIR into the library
10580 # and all subsequent libraries and executables linked against it.
10581 hardcode_automatic=$hardcode_automatic
10583 # Variables whose values should be saved in libtool wrapper scripts and
10584 # restored at relink time.
10585 variables_saved_for_relink="$variables_saved_for_relink"
10587 # Whether libtool must link a program against all its dependency libraries.
10588 link_all_deplibs=$link_all_deplibs
10590 # Compile-time system search path for libraries
10591 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10593 # Run-time system search path for libraries
10594 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10596 # Fix the shell variable \$srcfile for the compiler.
10597 fix_srcfile_path=$lt_fix_srcfile_path
10599 # Set to yes if exported symbols are required.
10600 always_export_symbols=$always_export_symbols
10602 # The commands to list exported symbols.
10603 export_symbols_cmds=$lt_export_symbols_cmds
10605 # The commands to extract the exported symbol list from a shared archive.
10606 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10608 # Symbols that should not be listed in the preloaded symbols.
10609 exclude_expsyms=$lt_exclude_expsyms
10611 # Symbols that must always be exported.
10612 include_expsyms=$lt_include_expsyms
10614 # ### END LIBTOOL CONFIG
10621 cat <<\EOF >> "$cfgfile"
10623 # AIX sometimes has problems with the GCC collect2 program. For some
10624 # reason, if we set the COLLECT_NAMES environment variable, the problems
10625 # vanish in a puff of smoke.
10626 if test "X${COLLECT_NAMES+set}" != Xset; then
10628 export COLLECT_NAMES
10634 # We use sed instead of cat because bash on DJGPP gets confused if
10635 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10636 # text mode, it properly converts lines to CR/LF. This bash problem
10637 # is reportedly fixed, but why not run on old versions too?
10638 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10640 mv -f "$cfgfile" "$ofile" || \
10641 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10645 # If there is no Makefile yet, we rely on a make rule to execute
10646 # `config.status
--recheck' to rerun these tests and create the
10647 # libtool script then.
10648 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10649 if test -f "$ltmain_in"; then
10650 test -f Makefile && make "$ltmain"
10656 ac_cpp='$CPP $CPPFLAGS'
10657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10658 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10664 # Check whether --with-tags was given.
10665 if test "${with_tags+set}" = set; then
10666 withval=$with_tags; tagnames="$withval"
10670 if test -f "$ltmain" && test -n "$tagnames"; then
10671 if test ! -f "${ofile}"; then
10672 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10673 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10676 if test -z "$LTCC"; then
10677 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10678 if test -z "$LTCC"; then
10679 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10680 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10682 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10683 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10686 if test -z "$LTCFLAGS"; then
10687 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10690 # Extract list of available tagged configurations in $ofile.
10691 # Note that this assumes the entire list is on one line.
10692 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10695 for tagname in $tagnames; do
10697 # Check whether tagname contains only valid characters
10698 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10700 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10701 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10702 { (exit 1); exit 1; }; }
10706 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10708 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10709 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10710 { (exit 1); exit 1; }; }
10713 # Update the list of available tags.
10714 if test -n "$tagname"; then
10715 echo appending configuration tag \"$tagname\" to $ofile
10719 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10720 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10721 (test "X$CXX" != "Xg++"))) ; then
10723 ac_cpp='$CXXCPP $CPPFLAGS'
10724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10731 archive_cmds_need_lc_CXX=no
10732 allow_undefined_flag_CXX=
10733 always_export_symbols_CXX=no
10734 archive_expsym_cmds_CXX=
10735 export_dynamic_flag_spec_CXX=
10736 hardcode_direct_CXX=no
10737 hardcode_libdir_flag_spec_CXX=
10738 hardcode_libdir_flag_spec_ld_CXX=
10739 hardcode_libdir_separator_CXX=
10740 hardcode_minus_L_CXX=no
10741 hardcode_shlibpath_var_CXX=unsupported
10742 hardcode_automatic_CXX=no
10744 module_expsym_cmds_CXX=
10745 link_all_deplibs_CXX=unknown
10746 old_archive_cmds_CXX=$old_archive_cmds
10747 no_undefined_flag_CXX=
10748 whole_archive_flag_spec_CXX=
10749 enable_shared_with_static_runtimes_CXX=no
10751 # Dependencies to place before and after the object being linked:
10752 predep_objects_CXX=
10753 postdep_objects_CXX=
10756 compiler_lib_search_path_CXX=
10758 # Source file extension for C++ test sources.
10761 # Object file extension for compiled C++ test sources.
10765 # Code to be used in simple compile tests
10766 lt_simple_compile_test_code="int some_variable = 0;"
10768 # Code to be used in simple link tests
10769 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10771 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10773 # If no C compiler was specified, use CC.
10776 # If no C compiler flags were specified, use CFLAGS.
10777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10779 # Allow CC to be a program name with arguments.
10783 # save warnings/boilerplate of simple test code
10784 ac_outfile=conftest.$ac_objext
10785 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10786 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10787 _lt_compiler_boilerplate=`cat conftest.err
`
10790 ac_outfile=conftest.$ac_objext
10791 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10792 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10793 _lt_linker_boilerplate=`cat conftest.err
`
10797 # Allow CC to be a program name with arguments.
10802 lt_save_with_gnu_ld=$with_gnu_ld
10803 lt_save_path_LD=$lt_cv_path_LD
10804 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10805 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10807 $as_unset lt_cv_prog_gnu_ld
10809 if test -n "${lt_cv_path_LDCXX+set}"; then
10810 lt_cv_path_LD=$lt_cv_path_LDCXX
10812 $as_unset lt_cv_path_LD
10814 test -z "${LDCXX+set}" || LD=$LDCXX
10818 for cc_temp in $compiler""; do
10820 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10821 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10826 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10829 # We don't want -fno-exception wen compiling C++ code, so set the
10830 # no_builtin_flag separately
10831 if test "$GXX" = yes; then
10832 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10834 lt_prog_compiler_no_builtin_flag_CXX=
10837 if test "$GXX" = yes; then
10838 # Set up default GNU C++ configuration
10841 # Check whether --with-gnu-ld was given.
10842 if test "${with_gnu_ld+set}" = set; then
10843 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10849 if test "$GCC" = yes; then
10850 # Check if gcc -print-prog-name=ld gives a path.
10851 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10852 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10855 # gcc leaves a trailing carriage return which upsets mingw
10856 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10858 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10861 # Accept absolute paths.
10863 re_direlt='/[^/][^/]*/\.\./'
10864 # Canonicalize the pathname of ld
10865 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10866 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10867 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10869 test -z "$LD" && LD="$ac_prog"
10872 # If it fails, then pretend we aren't using GCC.
10876 # If it is relative, then search for the first ld in PATH.
10877 with_gnu_ld=unknown
10880 elif test "$with_gnu_ld" = yes; then
10881 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10882 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10884 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10885 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10887 if test "${lt_cv_path_LD+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10890 if test -z "$LD"; then
10891 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10892 for ac_dir in $PATH; do
10894 test -z "$ac_dir" && ac_dir=.
10895 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10896 lt_cv_path_LD="$ac_dir/$ac_prog"
10897 # Check to see if the program is GNU ld. I'd rather use --version,
10898 # but apparently some variants of GNU ld only accept -v.
10899 # Break only if it was the GNU/non-GNU ld that we prefer.
10900 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10901 *GNU* | *'with BFD'*)
10902 test "$with_gnu_ld" != no && break
10905 test "$with_gnu_ld" != yes && break
10912 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10916 LD="$lt_cv_path_LD"
10917 if test -n "$LD"; then
10918 { echo "$as_me:$LINENO: result: $LD" >&5
10919 echo "${ECHO_T}$LD" >&6; }
10921 { echo "$as_me:$LINENO: result: no" >&5
10922 echo "${ECHO_T}no" >&6; }
10924 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10925 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10926 { (exit 1); exit 1; }; }
10927 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10928 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10929 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10933 case `$LD -v 2>&1 </dev
/null
` in
10934 *GNU* | *'with BFD'*)
10935 lt_cv_prog_gnu_ld=yes
10938 lt_cv_prog_gnu_ld=no
10942 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10943 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10944 with_gnu_ld=$lt_cv_prog_gnu_ld
10948 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10949 # archiving commands below assume that GNU ld is being used.
10950 if test "$with_gnu_ld" = yes; then
10951 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10952 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'
10954 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10955 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10957 # If archive_cmds runs LD, not CC, wlarc should be empty
10958 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10959 # investigate it a little bit more. (MM)
10962 # ancient GNU ld didn't support --whole-archive et. al.
10963 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10964 grep 'no-whole-archive' > /dev/null; then
10965 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10967 whole_archive_flag_spec_CXX=
10973 # A generic and very simple default shared library creation
10974 # command for GNU C++ for the case where it uses the native
10975 # linker, instead of GNU ld. If possible, this setting should
10976 # overridden to take advantage of the native linker features on
10977 # the platform it is being used on.
10978 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10981 # Commands to make compiler produce verbose output that lists
10982 # what "hidden" libraries, object files and flags are used when
10983 # linking a shared library.
10984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10992 # PORTME: fill in a description of your system's C++ link characteristics
10993 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10994 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10998 # FIXME: insert proper C++ library support
11002 if test "$host_cpu" = ia64; then
11003 # On IA64, the linker does run time linking by default, so we don't
11004 # have to do anything special.
11005 aix_use_runtimelinking=no
11006 exp_sym_flag='-Bexport'
11009 aix_use_runtimelinking=no
11011 # Test if we are trying to use run time linking or normal
11012 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11013 # need to do runtime linking.
11014 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11015 for ld_flag in $LDFLAGS; do
11018 aix_use_runtimelinking=yes
11026 exp_sym_flag='-bexport'
11027 no_entry_flag='-bnoentry'
11030 # When large executables or shared objects are built, AIX ld can
11031 # have problems creating the table of contents. If linking a library
11032 # or program results in "error TOC overflow" add -mminimal-toc to
11033 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11034 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11036 archive_cmds_CXX=''
11037 hardcode_direct_CXX=yes
11038 hardcode_libdir_separator_CXX=':'
11039 link_all_deplibs_CXX=yes
11041 if test "$GXX" = yes; then
11042 case $host_os in aix4.[012]|aix4.[012].*)
11043 # We only want to do this on AIX 4.2 and lower, the check
11044 # below for broken collect2 doesn't work under 4.3+
11045 collect2name=`${CC} -print-prog-name=collect2
`
11046 if test -f "$collect2name" && \
11047 strings "$collect2name" | grep resolve_lib_name >/dev/null
11049 # We have reworked collect2
11052 # We have old collect2
11053 hardcode_direct_CXX=unsupported
11054 # It fails to find uninstalled libraries when the uninstalled
11055 # path is not listed in the libpath. Setting hardcode_minus_L
11056 # to unsupported forces relinking
11057 hardcode_minus_L_CXX=yes
11058 hardcode_libdir_flag_spec_CXX='-L$libdir'
11059 hardcode_libdir_separator_CXX=
11063 shared_flag='-shared'
11064 if test "$aix_use_runtimelinking" = yes; then
11065 shared_flag="$shared_flag "'${wl}-G'
11069 if test "$host_cpu" = ia64; then
11070 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11071 # chokes on -Wl,-G. The following line is correct:
11074 if test "$aix_use_runtimelinking" = yes; then
11075 shared_flag='${wl}-G'
11077 shared_flag='${wl}-bM:SRE'
11082 # It seems that -bexpall does not export symbols beginning with
11083 # underscore (_), so it is better to generate a list of symbols to export.
11084 always_export_symbols_CXX=yes
11085 if test "$aix_use_runtimelinking" = yes; then
11086 # Warning - without using the other runtime loading flags (-brtl),
11087 # -berok will link without error, but may produce a broken library.
11088 allow_undefined_flag_CXX='-berok'
11089 # Determine the default libpath from the value encoded in an empty executable.
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11105 rm -f conftest.$ac_objext conftest$ac_exeext
11106 if { (ac_try="$ac_link"
11107 case "(($ac_try" in
11108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11109 *) ac_try_echo
=$ac_try;;
11111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11112 (eval "$ac_link") 2>conftest.er1
11114 grep -v '^ *+' conftest.er1
>conftest.err
11116 cat conftest.err
>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } && {
11119 test -z "$ac_cxx_werror_flag" ||
11120 test ! -s conftest.err
11121 } && test -s conftest
$ac_exeext &&
11122 $as_test_x conftest
$ac_exeext; then
11124 lt_aix_libpath_sed
='
11125 /Import File Strings/,/^$/ {
11131 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11132 # Check for a 64-bit object if we didn't find anything.
11133 if test -z "$aix_libpath"; then
11134 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.
$ac_ext >&5
11143 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11147 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11149 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"
11151 if test "$host_cpu" = ia64
; then
11152 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11153 allow_undefined_flag_CXX
="-z nodefs"
11154 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"
11156 # Determine the default libpath from the value encoded in an empty executable.
11157 cat >conftest.
$ac_ext <<_ACEOF
11160 cat confdefs.h
>>conftest.
$ac_ext
11161 cat >>conftest.
$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11172 rm -f conftest.
$ac_objext conftest
$ac_exeext
11173 if { (ac_try
="$ac_link"
11174 case "(($ac_try" in
11175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11176 *) ac_try_echo=$ac_try;;
11178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11179 (eval "$ac_link") 2>conftest.er1
11181 grep -v '^ *+' conftest.er1 >conftest.err
11183 cat conftest.err >&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } && {
11186 test -z "$ac_cxx_werror_flag" ||
11187 test ! -s conftest.err
11188 } && test -s conftest$ac_exeext &&
11189 $as_test_x conftest$ac_exeext; then
11191 lt_aix_libpath_sed='
11192 /Import File Strings/,/^$/ {
11198 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11199 # Check for a 64-bit object if we didn't find anything.
11200 if test -z "$aix_libpath"; then
11201 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11204 echo "$as_me: failed program was:" >&5
11205 sed 's/^/| /' conftest.$ac_ext >&5
11210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11211 conftest$ac_exeext conftest.$ac_ext
11212 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11214 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11215 # Warning - without using the other run time loading flags,
11216 # -berok will link without error, but may produce a broken library.
11217 no_undefined_flag_CXX=' ${wl}-bernotok'
11218 allow_undefined_flag_CXX=' ${wl}-berok'
11219 # Exported symbols can be pulled into shared objects from archives
11220 whole_archive_flag_spec_CXX='$convenience'
11221 archive_cmds_need_lc_CXX=yes
11222 # This is similar to how AIX traditionally builds its shared libraries.
11223 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'
11229 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11230 allow_undefined_flag_CXX=unsupported
11231 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11232 # support --undefined. This deserves some investigation. FIXME
11233 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11240 case $cc_basename in
11242 # FIXME: insert proper C++ library support
11248 cygwin* | mingw* | pw32*)
11249 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11250 # as there is no search path for DLLs.
11251 hardcode_libdir_flag_spec_CXX='-L$libdir'
11252 allow_undefined_flag_CXX=unsupported
11253 always_export_symbols_CXX=no
11254 enable_shared_with_static_runtimes_CXX=yes
11256 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11257 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'
11258 # If the export-symbols file already is a .def file (1st line
11259 # is EXPORTS), use it as is; otherwise, prepend...
11260 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11261 cp $export_symbols $output_objdir/$soname.def;
11263 echo EXPORTS > $output_objdir/$soname.def;
11264 cat $export_symbols >> $output_objdir/$soname.def;
11266 $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'
11271 darwin* | rhapsody*)
11273 rhapsody* | darwin1.[012])
11274 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11277 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11278 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11280 case ${MACOSX_DEPLOYMENT_TARGET} in
11282 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11285 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11291 archive_cmds_need_lc_CXX=no
11292 hardcode_direct_CXX=no
11293 hardcode_automatic_CXX=yes
11294 hardcode_shlibpath_var_CXX=unsupported
11295 whole_archive_flag_spec_CXX=''
11296 link_all_deplibs_CXX=yes
11298 if test "$GXX" = yes ; then
11299 lt_int_apple_cc_single_mod=no
11300 output_verbose_link_cmd='echo'
11301 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11302 lt_int_apple_cc_single_mod=yes
11304 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11305 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11307 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'
11309 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11310 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11311 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11312 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}'
11314 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}'
11316 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}'
11318 case $cc_basename in
11320 output_verbose_link_cmd='echo'
11321 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11322 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11323 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11324 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11325 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}'
11335 case $cc_basename in
11337 # FIXME: insert proper C++ library support
11341 # Green Hills C++ Compiler
11342 # FIXME: insert proper C++ library support
11346 # FIXME: insert proper C++ library support
11352 # C++ shared libraries reported to be fairly broken before switch to ELF
11356 archive_cmds_need_lc_CXX=no
11358 freebsd* | dragonfly*)
11359 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11366 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11367 hardcode_libdir_separator_CXX=:
11368 export_dynamic_flag_spec_CXX='${wl}-E'
11369 hardcode_direct_CXX=yes
11370 hardcode_minus_L_CXX=yes # Not in the search PATH,
11371 # but as the default
11372 # location of the library.
11374 case $cc_basename in
11376 # FIXME: insert proper C++ library support
11380 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'
11381 # Commands to make compiler produce verbose output that lists
11382 # what "hidden" libraries, object files and flags are used when
11383 # linking a shared library.
11385 # There doesn't appear to be a way to prevent this compiler from
11386 # explicitly linking system object files so we need to strip them
11387 # from the output so that they don't get included in the library
11389 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'
11392 if test "$GXX" = yes; then
11393 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'
11395 # FIXME: insert proper C++ library support
11402 if test $with_gnu_ld = no; then
11403 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11404 hardcode_libdir_separator_CXX=:
11409 export_dynamic_flag_spec_CXX='${wl}-E'
11415 hardcode_direct_CXX=no
11416 hardcode_shlibpath_var_CXX=no
11419 hardcode_direct_CXX=yes
11420 hardcode_minus_L_CXX=yes # Not in the search PATH,
11421 # but as the default
11422 # location of the library.
11426 case $cc_basename in
11428 # FIXME: insert proper C++ library support
11434 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11437 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11440 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11443 # Commands to make compiler produce verbose output that lists
11444 # what "hidden" libraries, object files and flags are used when
11445 # linking a shared library.
11447 # There doesn't appear to be a way to prevent this compiler from
11448 # explicitly linking system object files so we need to strip them
11449 # from the output so that they don't get included in the library
11451 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'
11454 if test "$GXX" = yes; then
11455 if test $with_gnu_ld = no; then
11458 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11461 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11464 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'
11469 # FIXME: insert proper C++ library support
11476 hardcode_direct_CXX=no
11477 hardcode_shlibpath_var_CXX=no
11478 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11479 export_dynamic_flag_spec_CXX='${wl}-E'
11480 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11481 # Instead, shared libraries are loaded at an image base (0x10000000 by
11482 # default) and relocated if they conflict, which is a slow very memory
11483 # consuming and fragmenting process. To avoid this, we pick a random,
11484 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11485 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11486 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'
11487 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'
11490 case $cc_basename in
11493 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'
11495 # Archives containing C++ object files must be created using
11496 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11497 # necessary to make sure instantiated templates are included
11499 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11502 if test "$GXX" = yes; then
11503 if test "$with_gnu_ld" = no; then
11504 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'
11506 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'
11509 link_all_deplibs_CXX=yes
11512 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11513 hardcode_libdir_separator_CXX=:
11515 linux* | k*bsd*-gnu)
11516 case $cc_basename in
11518 # Kuck and Associates, Inc. (KAI) C++ Compiler
11520 # KCC will only create a shared library if the output file
11521 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11522 # to its proper name (with version) after linking.
11523 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'
11524 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'
11525 # Commands to make compiler produce verbose output that lists
11526 # what "hidden" libraries, object files and flags are used when
11527 # linking a shared library.
11529 # There doesn't appear to be a way to prevent this compiler from
11530 # explicitly linking system object files so we need to strip them
11531 # from the output so that they don't get included in the library
11533 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'
11535 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11536 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11538 # Archives containing C++ object files must be created using
11539 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11540 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11545 # version 8.0 and above of icpc choke on multiply defined symbols
11546 # if we add $predep_objects and $postdep_objects, however 7.1 and
11547 # earlier do not add the objects themselves.
11548 case `$CC -V 2>&1` in
11550 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11551 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'
11553 *) # Version 8.0 or newer
11556 ia64
*) tmp_idyn
=' -i_dynamic';;
11558 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11559 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'
11562 archive_cmds_need_lc_CXX
=no
11563 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11564 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11565 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11568 # Portland Group C++ compiler
11569 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11570 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'
11572 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11573 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11574 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'
11578 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11579 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'
11581 runpath_var
=LD_RUN_PATH
11582 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11583 hardcode_libdir_separator_CXX
=:
11585 # Commands to make compiler produce verbose output that lists
11586 # what "hidden" libraries, object files and flags are used when
11587 # linking a shared library.
11589 # There doesn't appear to be a way to prevent this compiler from
11590 # explicitly linking system object files so we need to strip them
11591 # from the output so that they don't get included in the library
11593 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'
11596 case `$CC -V 2>&1 | sed 5q` in
11599 no_undefined_flag_CXX
=' -zdefs'
11600 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11601 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11602 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11603 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11605 # Not sure whether something based on
11606 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11608 output_verbose_link_cmd
='echo'
11610 # Archives containing C++ object files must be created using
11611 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11612 # necessary to make sure instantiated templates are included
11614 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11621 # FIXME: insert proper C++ library support
11625 # FIXME: insert proper C++ library support
11629 case $cc_basename in
11631 # FIXME: insert proper C++ library support
11635 # FIXME: insert proper C++ library support
11641 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11642 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11644 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11645 hardcode_direct_CXX
=yes
11646 hardcode_shlibpath_var_CXX
=no
11648 # Workaround some broken pre-1.5 toolchains
11649 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11652 # C++ shared libraries are fairly broken
11656 if test -f /usr
/libexec
/ld.so
; then
11657 hardcode_direct_CXX
=yes
11658 hardcode_shlibpath_var_CXX
=no
11659 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11660 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11661 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11662 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11663 export_dynamic_flag_spec_CXX
='${wl}-E'
11664 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11666 output_verbose_link_cmd
='echo'
11672 case $cc_basename in
11674 # Kuck and Associates, Inc. (KAI) C++ Compiler
11676 # KCC will only create a shared library if the output file
11677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11678 # to its proper name (with version) after linking.
11679 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'
11681 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11682 hardcode_libdir_separator_CXX
=:
11684 # Archives containing C++ object files must be created using
11685 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11686 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11690 # Rational C++ 2.4.1
11691 # FIXME: insert proper C++ library support
11695 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11696 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'
11698 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11699 hardcode_libdir_separator_CXX
=:
11701 # Commands to make compiler produce verbose output that lists
11702 # what "hidden" libraries, object files and flags are used when
11703 # linking a shared library.
11705 # There doesn't appear to be a way to prevent this compiler from
11706 # explicitly linking system object files so we need to strip them
11707 # from the output so that they don't get included in the library
11709 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'
11712 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11713 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11714 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'
11716 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11717 hardcode_libdir_separator_CXX
=:
11719 # Commands to make compiler produce verbose output that lists
11720 # what "hidden" libraries, object files and flags are used when
11721 # linking a shared library.
11722 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11725 # FIXME: insert proper C++ library support
11732 case $cc_basename in
11734 # Kuck and Associates, Inc. (KAI) C++ Compiler
11736 # KCC will only create a shared library if the output file
11737 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11738 # to its proper name (with version) after linking.
11739 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'
11741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11742 hardcode_libdir_separator_CXX
=:
11744 # Archives containing C++ object files must be created using
11745 # the KAI C++ compiler.
11746 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11749 # Rational C++ 2.4.1
11750 # FIXME: insert proper C++ library support
11754 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11755 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'
11756 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11757 echo "-hidden">> $lib.exp~
11758 $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~
11761 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11762 hardcode_libdir_separator_CXX
=:
11764 # Commands to make compiler produce verbose output that lists
11765 # what "hidden" libraries, object files and flags are used when
11766 # linking a shared library.
11768 # There doesn't appear to be a way to prevent this compiler from
11769 # explicitly linking system object files so we need to strip them
11770 # from the output so that they don't get included in the library
11772 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'
11775 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11776 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11777 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'
11779 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11780 hardcode_libdir_separator_CXX
=:
11782 # Commands to make compiler produce verbose output that lists
11783 # what "hidden" libraries, object files and flags are used when
11784 # linking a shared library.
11785 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11788 # FIXME: insert proper C++ library support
11795 # FIXME: insert proper C++ library support
11799 case $cc_basename in
11802 # FIXME: insert proper C++ library support
11807 # FIXME: insert proper C++ library support
11811 # FIXME: insert proper C++ library support
11817 case $cc_basename in
11819 # Sun C++ 4.2, 5.x and Centerline C++
11820 archive_cmds_need_lc_CXX
=yes
11821 no_undefined_flag_CXX
=' -zdefs'
11822 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11823 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11824 $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'
11826 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11827 hardcode_shlibpath_var_CXX
=no
11829 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11831 # The compiler driver will combine and reorder linker options,
11832 # but understands `-z linker_flag'.
11833 # Supported since Solaris 2.6 (maybe 2.5.1?)
11834 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11837 link_all_deplibs_CXX
=yes
11839 output_verbose_link_cmd
='echo'
11841 # Archives containing C++ object files must be created using
11842 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11843 # necessary to make sure instantiated templates are included
11845 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11848 # Green Hills C++ Compiler
11849 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11851 # The C++ compiler must be used to create the archive.
11852 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11855 # GNU C++ compiler with Solaris linker
11856 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11857 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11858 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11859 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11860 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11861 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11863 # Commands to make compiler produce verbose output that lists
11864 # what "hidden" libraries, object files and flags are used when
11865 # linking a shared library.
11866 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11868 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11870 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11871 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11872 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11874 # Commands to make compiler produce verbose output that lists
11875 # what "hidden" libraries, object files and flags are used when
11876 # linking a shared library.
11877 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11880 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11882 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11884 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11891 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11892 no_undefined_flag_CXX
='${wl}-z,text'
11893 archive_cmds_need_lc_CXX
=no
11894 hardcode_shlibpath_var_CXX
=no
11895 runpath_var
='LD_RUN_PATH'
11897 case $cc_basename in
11899 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11900 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11903 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11904 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11908 sysv5
* | sco3.2v5
* | sco5v6
*)
11909 # Note: We can NOT use -z defs as we might desire, because we do not
11910 # link with -lc, and that would cause any symbols used from libc to
11911 # always be unresolved, which means just about no library would
11912 # ever link correctly. If we're not using GNU ld we use -z text
11913 # though, which does catch some bad symbols but isn't as heavy-handed
11915 # For security reasons, it is highly recommended that you always
11916 # use absolute paths for naming shared libraries, and exclude the
11917 # DT_RUNPATH tag from executables and libraries. But doing so
11918 # requires that you compile everything twice, which is a pain.
11919 # So that behaviour is only enabled if SCOABSPATH is set to a
11920 # non-empty value in the environment. Most likely only useful for
11921 # creating official distributions of packages.
11922 # This is a hack until libtool officially supports absolute path
11923 # names for shared libraries.
11924 no_undefined_flag_CXX
='${wl}-z,text'
11925 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11926 archive_cmds_need_lc_CXX
=no
11927 hardcode_shlibpath_var_CXX
=no
11928 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11929 hardcode_libdir_separator_CXX
=':'
11930 link_all_deplibs_CXX
=yes
11931 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11932 runpath_var
='LD_RUN_PATH'
11934 case $cc_basename in
11936 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11937 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11940 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11941 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 case $cc_basename in
11948 # NonStop-UX NCC 3.20
11949 # FIXME: insert proper C++ library support
11953 # FIXME: insert proper C++ library support
11959 # FIXME: insert proper C++ library support
11963 # FIXME: insert proper C++ library support
11967 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11968 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11969 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11975 cat > conftest.
$ac_ext <<EOF
11979 Foo (void) { a = 0; }
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986 (eval $ac_compile) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; then
11990 # Parse the compiler output and extract the necessary
11991 # objects, libraries and library flags.
11993 # Sentinel used to keep track of whether or not we are before
11994 # the conftest object file.
11995 pre_test_object_deps_done
=no
11997 # The `*' in the case matches for architectures that use `case' in
11998 # $output_verbose_cmd can trigger glob expansion during the loop
11999 # eval without this substitution.
12000 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12002 for p
in `eval $output_verbose_link_cmd`; do
12006 # Some compilers place space between "-{L,R}" and the path.
12007 # Remove the space.
12008 if test $p = "-L" \
12009 ||
test $p = "-R"; then
12016 if test "$pre_test_object_deps_done" = no
; then
12019 # Internal compiler library paths should come after those
12020 # provided the user. The postdeps already come after the
12021 # user supplied libs so there is no need to process them.
12022 if test -z "$compiler_lib_search_path_CXX"; then
12023 compiler_lib_search_path_CXX
="${prev}${p}"
12025 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12028 # The "-l" case would never come before the object being
12029 # linked, so don't bother handling this case.
12032 if test -z "$postdeps_CXX"; then
12033 postdeps_CXX
="${prev}${p}"
12035 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12041 # This assumes that the test object file only shows up
12042 # once in the compiler output.
12043 if test "$p" = "conftest.$objext"; then
12044 pre_test_object_deps_done
=yes
12048 if test "$pre_test_object_deps_done" = no
; then
12049 if test -z "$predep_objects_CXX"; then
12050 predep_objects_CXX
="$p"
12052 predep_objects_CXX
="$predep_objects_CXX $p"
12055 if test -z "$postdep_objects_CXX"; then
12056 postdep_objects_CXX
="$p"
12058 postdep_objects_CXX
="$postdep_objects_CXX $p"
12063 *) ;; # Ignore the rest.
12071 echo "libtool.m4: error: problem compiling CXX test program"
12074 $rm -f confest.
$objext
12076 # PORTME: override above test on systems where it is broken
12079 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12080 # hack all around it, let's just trust "g++" to DTRT.
12081 predep_objects_CXX
=
12082 postdep_objects_CXX
=
12087 case `$CC -V 2>&1 | sed 5q` in
12091 # The more standards-conforming stlport4 library is
12092 # incompatible with the Cstd library. Avoid specifying
12093 # it if it's in CXXFLAGS. Ignore libCrun as
12094 # -library=stlport4 depends on it.
12095 case " $CXX $CXXFLAGS " in
12096 *" -library=stlport4 "*)
12097 solaris_use_stlport4
=yes
12100 if test "$solaris_use_stlport4" != yes; then
12101 postdeps_CXX
='-library=Cstd -library=Crun'
12108 case $cc_basename in
12110 # The more standards-conforming stlport4 library is
12111 # incompatible with the Cstd library. Avoid specifying
12112 # it if it's in CXXFLAGS. Ignore libCrun as
12113 # -library=stlport4 depends on it.
12114 case " $CXX $CXXFLAGS " in
12115 *" -library=stlport4 "*)
12116 solaris_use_stlport4
=yes
12120 # Adding this requires a known-good setup of shared libraries for
12121 # Sun compiler versions before 5.6, else PIC objects from an old
12122 # archive will be linked into the output, leading to subtle bugs.
12123 if test "$solaris_use_stlport4" != yes; then
12124 postdeps_CXX
='-library=Cstd -library=Crun'
12132 case " $postdeps_CXX " in
12133 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12136 lt_prog_compiler_wl_CXX
=
12137 lt_prog_compiler_pic_CXX
=
12138 lt_prog_compiler_static_CXX
=
12140 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12141 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12143 # C++ specific cases for pic, static, wl, etc.
12144 if test "$GXX" = yes; then
12145 lt_prog_compiler_wl_CXX
='-Wl,'
12146 lt_prog_compiler_static_CXX
='-static'
12150 # All AIX code is PIC.
12151 if test "$host_cpu" = ia64
; then
12152 # AIX 5 now supports IA64 processor
12153 lt_prog_compiler_static_CXX
='-Bstatic'
12157 # FIXME: we need at least 68020 code to build shared libraries, but
12158 # adding the `-m68020' flag to GCC prevents building anything better,
12160 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12162 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12163 # PIC is the default for these OSes.
12165 mingw
* | cygwin
* | os2
* | pw32
*)
12166 # This hack is so that the source file can tell whether it is being
12167 # built for inclusion in a dll (and should export symbols for example).
12168 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12169 # (--disable-auto-import) libraries
12170 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12172 darwin
* | rhapsody
*)
12173 # PIC is the default on this platform
12174 # Common symbols not allowed in MH_DYLIB files
12175 lt_prog_compiler_pic_CXX
='-fno-common'
12178 # DJGPP does not support shared libraries at all
12179 lt_prog_compiler_pic_CXX
=
12182 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12183 # Instead, we relocate shared libraries at runtime.
12186 if test -d /usr
/nec
; then
12187 lt_prog_compiler_pic_CXX
=-Kconform_pic
12191 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12192 # not for PA HP-UX.
12197 lt_prog_compiler_pic_CXX
='-fPIC'
12202 lt_prog_compiler_pic_CXX
='-fPIC'
12208 # All AIX code is PIC.
12209 if test "$host_cpu" = ia64
; then
12210 # AIX 5 now supports IA64 processor
12211 lt_prog_compiler_static_CXX
='-Bstatic'
12213 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12217 case $cc_basename in
12219 # Green Hills C++ Compiler
12220 # _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"
12225 # PIC is the default on this platform
12226 # Common symbols not allowed in MH_DYLIB files
12227 case $cc_basename in
12229 lt_prog_compiler_pic_CXX
='-qnocommon'
12230 lt_prog_compiler_wl_CXX
='-Wl,'
12235 case $cc_basename in
12237 lt_prog_compiler_pic_CXX
='-KPIC'
12240 # Green Hills C++ Compiler
12241 lt_prog_compiler_pic_CXX
='-pic'
12247 freebsd
* | dragonfly
*)
12248 # FreeBSD uses GNU C++
12250 hpux9
* | hpux10
* | hpux11
*)
12251 case $cc_basename in
12253 lt_prog_compiler_wl_CXX
='-Wl,'
12254 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12255 if test "$host_cpu" != ia64
; then
12256 lt_prog_compiler_pic_CXX
='+Z'
12260 lt_prog_compiler_wl_CXX
='-Wl,'
12261 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12267 lt_prog_compiler_pic_CXX
='+Z'
12276 # This is c89, which is MS Visual C++ (no shared libs)
12277 # Anyone wants to do a port?
12279 irix5
* | irix6
* | nonstopux
*)
12280 case $cc_basename in
12282 lt_prog_compiler_wl_CXX
='-Wl,'
12283 lt_prog_compiler_static_CXX
='-non_shared'
12284 # CC pic flag -KPIC is the default.
12290 linux
* | k
*bsd
*-gnu)
12291 case $cc_basename in
12294 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12295 lt_prog_compiler_pic_CXX
='-fPIC'
12299 lt_prog_compiler_wl_CXX
='-Wl,'
12300 lt_prog_compiler_pic_CXX
='-KPIC'
12301 lt_prog_compiler_static_CXX
='-static'
12304 # Portland Group C++ compiler.
12305 lt_prog_compiler_wl_CXX
='-Wl,'
12306 lt_prog_compiler_pic_CXX
='-fpic'
12307 lt_prog_compiler_static_CXX
='-Bstatic'
12311 # Make sure the PIC flag is empty. It appears that all Alpha
12312 # Linux and Compaq Tru64 Unix objects are PIC.
12313 lt_prog_compiler_pic_CXX
=
12314 lt_prog_compiler_static_CXX
='-non_shared'
12317 case `$CC -V 2>&1 | sed 5q` in
12320 lt_prog_compiler_pic_CXX
='-KPIC'
12321 lt_prog_compiler_static_CXX
='-Bstatic'
12322 lt_prog_compiler_wl_CXX
='-Qoption ld '
12333 case $cc_basename in
12335 lt_prog_compiler_pic_CXX
='-W c,exportall'
12343 osf3
* | osf4
* | osf5
*)
12344 case $cc_basename in
12346 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12349 # Rational C++ 2.4.1
12350 lt_prog_compiler_pic_CXX
='-pic'
12353 # Digital/Compaq C++
12354 lt_prog_compiler_wl_CXX
='-Wl,'
12355 # Make sure the PIC flag is empty. It appears that all Alpha
12356 # Linux and Compaq Tru64 Unix objects are PIC.
12357 lt_prog_compiler_pic_CXX
=
12358 lt_prog_compiler_static_CXX
='-non_shared'
12367 case $cc_basename in
12369 # Sun C++ 4.2, 5.x and Centerline C++
12370 lt_prog_compiler_pic_CXX
='-KPIC'
12371 lt_prog_compiler_static_CXX
='-Bstatic'
12372 lt_prog_compiler_wl_CXX
='-Qoption ld '
12375 # Green Hills C++ Compiler
12376 lt_prog_compiler_pic_CXX
='-PIC'
12383 case $cc_basename in
12386 lt_prog_compiler_pic_CXX
='-pic'
12387 lt_prog_compiler_static_CXX
='-Bstatic'
12391 lt_prog_compiler_pic_CXX
='-pic'
12398 case $cc_basename in
12400 # NonStop-UX NCC 3.20
12401 lt_prog_compiler_pic_CXX
='-KPIC'
12407 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12408 case $cc_basename in
12410 lt_prog_compiler_wl_CXX
='-Wl,'
12411 lt_prog_compiler_pic_CXX
='-KPIC'
12412 lt_prog_compiler_static_CXX
='-Bstatic'
12419 lt_prog_compiler_can_build_shared_CXX
=no
12424 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12425 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12428 # Check to make sure the PIC flag actually works.
12430 if test -n "$lt_prog_compiler_pic_CXX"; then
12432 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12433 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12434 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 lt_prog_compiler_pic_works_CXX
=no
12438 ac_outfile
=conftest.
$ac_objext
12439 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12440 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12441 # Insert the option either (1) after the last *FLAGS variable, or
12442 # (2) before a word containing "conftest.", or (3) at the end.
12443 # Note that $ac_compile itself does not contain backslashes and begins
12444 # with a dollar sign (not a hyphen), so the echo should work correctly.
12445 # The option is referenced via a variable to avoid confusing sed.
12446 lt_compile
=`echo "$ac_compile" | $SED \
12447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12449 -e 's:$: $lt_compiler_flag:'`
12450 (eval echo "\"\$as_me:12450: $lt_compile\"" >&5)
12451 (eval "$lt_compile" 2>conftest.err
)
12453 cat conftest.err
>&5
12454 echo "$as_me:12454: \$? = $ac_status" >&5
12455 if (exit $ac_status) && test -s "$ac_outfile"; then
12456 # The compiler can only warn and ignore the option if not recognized
12457 # So say no if there are warnings other than the usual output.
12458 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12459 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12460 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12461 lt_prog_compiler_pic_works_CXX
=yes
12467 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12468 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12470 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12471 case $lt_prog_compiler_pic_CXX in
12473 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12476 lt_prog_compiler_pic_CXX
=
12477 lt_prog_compiler_can_build_shared_CXX
=no
12482 # For platforms which do not support PIC, -DPIC is meaningless:
12484 lt_prog_compiler_pic_CXX
=
12487 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12492 # Check to make sure the static flag actually works.
12494 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12495 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12496 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12497 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 lt_prog_compiler_static_works_CXX
=no
12501 save_LDFLAGS
="$LDFLAGS"
12502 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12503 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12504 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12505 # The linker can only warn and ignore the option if not recognized
12506 # So say no if there are warnings
12507 if test -s conftest.err
; then
12508 # Append any errors to the config.log.
12509 cat conftest.err
1>&5
12510 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12512 if diff conftest.exp conftest.er2
>/dev
/null
; then
12513 lt_prog_compiler_static_works_CXX
=yes
12516 lt_prog_compiler_static_works_CXX
=yes
12520 LDFLAGS
="$save_LDFLAGS"
12523 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12524 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12526 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12529 lt_prog_compiler_static_CXX
=
12533 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12534 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12535 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12536 echo $ECHO_N "(cached) $ECHO_C" >&6
12538 lt_cv_prog_compiler_c_o_CXX
=no
12539 $rm -r conftest
2>/dev
/null
12543 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12545 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12546 # Insert the option either (1) after the last *FLAGS variable, or
12547 # (2) before a word containing "conftest.", or (3) at the end.
12548 # Note that $ac_compile itself does not contain backslashes and begins
12549 # with a dollar sign (not a hyphen), so the echo should work correctly.
12550 lt_compile
=`echo "$ac_compile" | $SED \
12551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12553 -e 's:$: $lt_compiler_flag:'`
12554 (eval echo "\"\$as_me:12554: $lt_compile\"" >&5)
12555 (eval "$lt_compile" 2>out
/conftest.err
)
12557 cat out
/conftest.err
>&5
12558 echo "$as_me:12558: \$? = $ac_status" >&5
12559 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12561 # The compiler can only warn and ignore the option if not recognized
12562 # So say no if there are warnings
12563 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12564 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12565 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12566 lt_cv_prog_compiler_c_o_CXX
=yes
12571 # SGI C++ compiler will create directory out/ii_files/ for
12572 # template instantiation
12573 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12574 $rm out
/* && rmdir out
12580 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12581 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12584 hard_links
="nottested"
12585 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12586 # do not overwrite the value of need_locks provided by the user
12587 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12588 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12591 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12593 ln conftest.a conftest.b
2>&5 || hard_links
=no
12594 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12595 { echo "$as_me:$LINENO: result: $hard_links" >&5
12596 echo "${ECHO_T}$hard_links" >&6; }
12597 if test "$hard_links" = no
; then
12598 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12599 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12606 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12607 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12609 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12612 # If we're using GNU nm, then we don't want the "-C" option.
12613 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12614 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12615 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'
12617 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'
12621 export_symbols_cmds_CXX
="$ltdll_cmds"
12624 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'
12627 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12631 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12632 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12633 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12636 # Do we need to explicitly link libc?
12638 case "x$archive_cmds_need_lc_CXX" in
12640 # Assume -lc should be added
12641 archive_cmds_need_lc_CXX
=yes
12643 if test "$enable_shared" = yes && test "$GCC" = yes; then
12644 case $archive_cmds_CXX in
12646 # FIXME: we may have to deal with multi-command sequences.
12649 # Test whether the compiler implicitly links with -lc since on some
12650 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12651 # to ld, don't add -lc before -lgcc.
12652 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12653 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12655 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12658 (eval $ac_compile) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } 2>conftest.err
; then
12664 libobjs
=conftest.
$ac_objext
12666 wl
=$lt_prog_compiler_wl_CXX
12667 pic_flag
=$lt_prog_compiler_pic_CXX
12673 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12674 allow_undefined_flag_CXX
=
12675 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12676 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }
12681 archive_cmds_need_lc_CXX
=no
12683 archive_cmds_need_lc_CXX
=yes
12685 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12687 cat conftest.err
1>&5
12690 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12691 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12698 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12699 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12700 library_names_spec
=
12701 libname_spec
='lib$name'
12705 postuninstall_cmds
=
12709 shlibpath_overrides_runpath
=unknown
12711 dynamic_linker
="$host_os ld.so"
12712 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12714 need_lib_prefix
=unknown
12715 hardcode_into_libs
=no
12717 # when you set need_version to no, make sure it does not cause -set_version
12718 # flags to be left without arguments
12719 need_version
=unknown
12724 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12725 shlibpath_var
=LIBPATH
12727 # AIX 3 has no versioning support, so we append a major version to the name.
12728 soname_spec
='${libname}${release}${shared_ext}$major'
12735 hardcode_into_libs
=yes
12736 if test "$host_cpu" = ia64
; then
12737 # AIX 5 supports IA64
12738 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12739 shlibpath_var
=LD_LIBRARY_PATH
12741 # With GCC up to 2.95.x, collect2 would create an import file
12742 # for dependence libraries. The import file would start with
12743 # the line `#! .'. This would cause the generated library to
12744 # depend on `.', always an invalid library. This was fixed in
12745 # development snapshots of GCC prior to 3.0.
12747 aix4 | aix4.
[01] | aix4.
[01].
*)
12748 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12750 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12753 can_build_shared
=no
12757 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12758 # soname into executable. Probably we can add versioning support to
12759 # collect2, so additional links can be useful in future.
12760 if test "$aix_use_runtimelinking" = yes; then
12761 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12762 # instead of lib<name>.a to let people know that these are not
12763 # typical AIX shared libraries.
12764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12766 # We preserve .a as extension for shared libraries through AIX4.2
12767 # and later when we are not doing run time linking.
12768 library_names_spec
='${libname}${release}.a $libname.a'
12769 soname_spec
='${libname}${release}${shared_ext}$major'
12771 shlibpath_var
=LIBPATH
12776 library_names_spec
='$libname.ixlibrary $libname.a'
12777 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12778 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'
12782 library_names_spec
='${libname}${shared_ext}'
12783 dynamic_linker
="$host_os ld.so"
12784 shlibpath_var
=LIBRARY_PATH
12790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12791 soname_spec
='${libname}${release}${shared_ext}$major'
12792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12793 shlibpath_var
=LD_LIBRARY_PATH
12794 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12795 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12796 # the default ld.so.conf also contains /usr/contrib/lib and
12797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12798 # libtool to hard-code these into programs
12801 cygwin
* | mingw
* | pw32
*)
12802 version_type
=windows
12807 case $GCC,$host_os in
12808 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12809 library_names_spec
='$libname.dll.a'
12810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12811 postinstall_cmds
='base_file=`basename \${file}`~
12812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12813 dldir=$destdir/`dirname \$dlpath`~
12814 test -d \$dldir || mkdir -p \$dldir~
12815 $install_prog $dir/$dlname \$dldir/$dlname~
12816 chmod a+x \$dldir/$dlname'
12817 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12818 dlpath=$dir/\$dldll~
12820 shlibpath_overrides_runpath
=yes
12824 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12825 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12826 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12829 # MinGW DLLs use traditional 'lib' prefix
12830 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12831 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12832 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12833 # It is most probably a Windows format PATH printed by
12834 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12835 # path with ; separators, and with drive letters. We can handle the
12836 # drive letters (cygwin fileutils understands them), so leave them,
12837 # especially as we might pass files found there to a mingw objdump,
12838 # which wouldn't understand a cygwinified path. Ahh.
12839 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12841 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12845 # pw32 DLLs use 'pw' prefix rather than 'lib'
12846 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12852 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12855 dynamic_linker
='Win32 ld.exe'
12856 # FIXME: first we should search . and the directory the executable is in
12860 darwin
* | rhapsody
*)
12861 dynamic_linker
="$host_os dyld"
12862 version_type
=darwin
12865 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12866 soname_spec
='${libname}${release}${major}$shared_ext'
12867 shlibpath_overrides_runpath
=yes
12868 shlibpath_var
=DYLD_LIBRARY_PATH
12869 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12871 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12879 soname_spec
='${libname}${release}${shared_ext}$major'
12880 shlibpath_var
=LD_LIBRARY_PATH
12887 freebsd
* | dragonfly
*)
12888 # DragonFly does not have aout. When/if they implement a new
12889 # versioning mechanism, adjust this.
12890 if test -x /usr
/bin
/objformat
; then
12891 objformat
=`/usr/bin/objformat`
12894 freebsd
[123]*) objformat
=aout
;;
12895 *) objformat
=elf
;;
12898 version_type
=freebsd-
$objformat
12899 case $version_type in
12901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12906 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12910 shlibpath_var
=LD_LIBRARY_PATH
12913 shlibpath_overrides_runpath
=yes
12915 freebsd3.
[01]* | freebsdelf3.
[01]*)
12916 shlibpath_overrides_runpath
=yes
12917 hardcode_into_libs
=yes
12919 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12920 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12921 shlibpath_overrides_runpath
=no
12922 hardcode_into_libs
=yes
12924 *) # from 4.6 on, and DragonFly
12925 shlibpath_overrides_runpath
=yes
12926 hardcode_into_libs
=yes
12935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12936 soname_spec
='${libname}${release}${shared_ext}$major'
12937 shlibpath_var
=LD_LIBRARY_PATH
12938 hardcode_into_libs
=yes
12941 hpux9
* | hpux10
* | hpux11
*)
12942 # Give a soname corresponding to the major version so that dld.sl refuses to
12943 # link against other versions.
12950 hardcode_into_libs
=yes
12951 dynamic_linker
="$host_os dld.so"
12952 shlibpath_var
=LD_LIBRARY_PATH
12953 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12955 soname_spec
='${libname}${release}${shared_ext}$major'
12956 if test "X$HPUX_IA64_MODE" = X32
; then
12957 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12959 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12965 hardcode_into_libs
=yes
12966 dynamic_linker
="$host_os dld.sl"
12967 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12968 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12970 soname_spec
='${libname}${release}${shared_ext}$major'
12971 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12972 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12976 dynamic_linker
="$host_os dld.sl"
12977 shlibpath_var
=SHLIB_PATH
12978 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12980 soname_spec
='${libname}${release}${shared_ext}$major'
12983 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12984 postinstall_cmds
='chmod 555 $lib'
12991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12992 soname_spec
='${libname}${release}${shared_ext}$major'
12993 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12994 shlibpath_var
=LD_LIBRARY_PATH
12995 shlibpath_overrides_runpath
=no
12996 hardcode_into_libs
=yes
12999 irix5
* | irix6
* | nonstopux
*)
13001 nonstopux
*) version_type
=nonstopux
;;
13003 if test "$lt_cv_prog_gnu_ld" = yes; then
13011 soname_spec
='${libname}${release}${shared_ext}$major'
13012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13014 irix5
* | nonstopux
*)
13015 libsuff
= shlibsuff
=
13018 case $LD in # libtool.m4 will add one of these switches to LD
13019 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13020 libsuff
= shlibsuff
= libmagic
=32-bit;;
13021 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13022 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13023 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13024 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13025 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13029 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13030 shlibpath_overrides_runpath
=no
13031 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13032 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13033 hardcode_into_libs
=yes
13036 # No shared lib support for Linux oldld, aout, or coff.
13037 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13041 # This must be Linux ELF.
13042 linux
* | k
*bsd
*-gnu)
13046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13047 soname_spec
='${libname}${release}${shared_ext}$major'
13048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13049 shlibpath_var
=LD_LIBRARY_PATH
13050 shlibpath_overrides_runpath
=no
13051 # This implies no fast_install, which is unacceptable.
13052 # Some rework will be needed to allow for fast_install
13053 # before this can be enabled.
13054 hardcode_into_libs
=yes
13055 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13056 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13058 # Append ld.so.conf contents to the search path
13059 if test -f /etc
/ld.so.conf
; then
13060 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13061 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13064 # We used to test for /lib/ld.so.1 and disable shared libraries on
13065 # powerpc, because MkLinux only supported shared libraries with the
13066 # GNU dynamic linker. Since this was broken with cross compilers,
13067 # most powerpc-linux boxes support dynamic linking these days and
13068 # people can always --disable-shared, the test was removed, and we
13069 # assume the GNU/Linux dynamic linker is in use.
13070 dynamic_linker
='GNU/Linux ld.so'
13077 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13079 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13080 dynamic_linker
='NetBSD (a.out) ld.so'
13082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13083 soname_spec
='${libname}${release}${shared_ext}$major'
13084 dynamic_linker
='NetBSD ld.elf_so'
13086 shlibpath_var
=LD_LIBRARY_PATH
13087 shlibpath_overrides_runpath
=yes
13088 hardcode_into_libs
=yes
13093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13094 shlibpath_var
=LD_LIBRARY_PATH
13095 shlibpath_overrides_runpath
=yes
13102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13103 soname_spec
='${libname}${release}${shared_ext}$major'
13104 shlibpath_var
=LD_LIBRARY_PATH
13105 shlibpath_overrides_runpath
=yes
13110 sys_lib_dlsearch_path_spec
="/usr/lib"
13112 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13114 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13115 *) need_version
=no
;;
13117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13118 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13119 shlibpath_var
=LD_LIBRARY_PATH
13120 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13122 openbsd2.
[89] | openbsd2.
[89].
*)
13123 shlibpath_overrides_runpath
=no
13126 shlibpath_overrides_runpath
=yes
13130 shlibpath_overrides_runpath
=yes
13135 libname_spec
='$name'
13138 library_names_spec
='$libname${shared_ext} $libname.a'
13139 dynamic_linker
='OS/2 ld.exe'
13140 shlibpath_var
=LIBPATH
13143 osf3
* | osf4
* | osf5
*)
13147 soname_spec
='${libname}${release}${shared_ext}$major'
13148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13149 shlibpath_var
=LD_LIBRARY_PATH
13150 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13151 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13163 soname_spec
='${libname}${release}${shared_ext}$major'
13164 shlibpath_var
=LD_LIBRARY_PATH
13165 shlibpath_overrides_runpath
=yes
13166 hardcode_into_libs
=yes
13167 # ldd complains unless libraries are executable
13168 postinstall_cmds
='chmod +x $lib'
13173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13174 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13175 shlibpath_var
=LD_LIBRARY_PATH
13176 shlibpath_overrides_runpath
=yes
13177 if test "$with_gnu_ld" = yes; then
13185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13186 soname_spec
='${libname}${release}${shared_ext}$major'
13187 shlibpath_var
=LD_LIBRARY_PATH
13188 case $host_vendor in
13190 shlibpath_overrides_runpath
=no
13192 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13193 runpath_var
=LD_RUN_PATH
13201 shlibpath_overrides_runpath
=no
13202 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13208 if test -d /usr
/nec
;then
13210 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13211 soname_spec
='$libname${shared_ext}.$major'
13212 shlibpath_var
=LD_LIBRARY_PATH
13216 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13217 version_type
=freebsd-elf
13220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13221 soname_spec
='${libname}${release}${shared_ext}$major'
13222 shlibpath_var
=LD_LIBRARY_PATH
13223 hardcode_into_libs
=yes
13224 if test "$with_gnu_ld" = yes; then
13225 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13226 shlibpath_overrides_runpath
=no
13228 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13229 shlibpath_overrides_runpath
=yes
13232 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13236 sys_lib_dlsearch_path_spec
='/usr/lib'
13241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13242 soname_spec
='${libname}${release}${shared_ext}$major'
13243 shlibpath_var
=LD_LIBRARY_PATH
13250 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13251 echo "${ECHO_T}$dynamic_linker" >&6; }
13252 test "$dynamic_linker" = no
&& can_build_shared
=no
13254 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13255 if test "$GCC" = yes; then
13256 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13259 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13260 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13261 hardcode_action_CXX
=
13262 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13263 test -n "$runpath_var_CXX" || \
13264 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13266 # We can hardcode non-existant directories.
13267 if test "$hardcode_direct_CXX" != no
&&
13268 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13269 # have to relink, otherwise we might link with an installed library
13270 # when we should be linking with a yet-to-be-installed one
13271 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13272 test "$hardcode_minus_L_CXX" != no
; then
13273 # Linking always hardcodes the temporary library directory.
13274 hardcode_action_CXX
=relink
13276 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13277 hardcode_action_CXX
=immediate
13280 # We cannot hardcode anything, or else we can only hardcode existing
13282 hardcode_action_CXX
=unsupported
13284 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13285 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13287 if test "$hardcode_action_CXX" = relink
; then
13288 # Fast installation is not supported
13289 enable_fast_install
=no
13290 elif test "$shlibpath_overrides_runpath" = yes ||
13291 test "$enable_shared" = no
; then
13292 # Fast installation is not necessary
13293 enable_fast_install
=needless
13297 # The else clause should only fire when bootstrapping the
13298 # libtool distribution, otherwise you forgot to ship ltmain.sh
13299 # with your package, and you will get complaints that there are
13300 # no rules to generate ltmain.sh.
13301 if test -f "$ltmain"; then
13302 # See if we are running on zsh, and set the options which allow our commands through
13303 # without removal of \ escapes.
13304 if test -n "${ZSH_VERSION+set}" ; then
13305 setopt NO_GLOB_SUBST
13307 # Now quote all the things that may contain metacharacters while being
13308 # careful not to overquote the AC_SUBSTed values. We take copies of the
13309 # variables and quote the copies for generation of the libtool script.
13310 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13312 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13313 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13314 deplibs_check_method reload_flag reload_cmds need_locks \
13315 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13316 lt_cv_sys_global_symbol_to_c_name_address \
13317 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13318 old_postinstall_cmds old_postuninstall_cmds \
13322 lt_prog_compiler_wl_CXX \
13323 lt_prog_compiler_pic_CXX \
13324 lt_prog_compiler_static_CXX \
13325 lt_prog_compiler_no_builtin_flag_CXX \
13326 export_dynamic_flag_spec_CXX \
13327 thread_safe_flag_spec_CXX \
13328 whole_archive_flag_spec_CXX \
13329 enable_shared_with_static_runtimes_CXX \
13330 old_archive_cmds_CXX \
13331 old_archive_from_new_cmds_CXX \
13332 predep_objects_CXX \
13333 postdep_objects_CXX \
13336 compiler_lib_search_path_CXX \
13338 archive_expsym_cmds_CXX \
13339 postinstall_cmds_CXX \
13340 postuninstall_cmds_CXX \
13341 old_archive_from_expsyms_cmds_CXX \
13342 allow_undefined_flag_CXX \
13343 no_undefined_flag_CXX \
13344 export_symbols_cmds_CXX \
13345 hardcode_libdir_flag_spec_CXX \
13346 hardcode_libdir_flag_spec_ld_CXX \
13347 hardcode_libdir_separator_CXX \
13348 hardcode_automatic_CXX \
13350 module_expsym_cmds_CXX \
13351 lt_cv_prog_compiler_c_o_CXX \
13352 fix_srcfile_path_CXX \
13353 exclude_expsyms_CXX \
13354 include_expsyms_CXX
; do
13357 old_archive_cmds_CXX | \
13358 old_archive_from_new_cmds_CXX | \
13359 archive_cmds_CXX | \
13360 archive_expsym_cmds_CXX | \
13361 module_cmds_CXX | \
13362 module_expsym_cmds_CXX | \
13363 old_archive_from_expsyms_cmds_CXX | \
13364 export_symbols_cmds_CXX | \
13365 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13366 postinstall_cmds | postuninstall_cmds | \
13367 old_postinstall_cmds | old_postuninstall_cmds | \
13368 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13369 # Double-quote double-evaled strings.
13370 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13373 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13379 *'\$0 --fallback-echo"')
13380 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13386 cat <<__EOF__ >> "$cfgfile"
13387 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13389 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13391 # Shell to use when invoking shell scripts.
13394 # Whether or not to build shared libraries.
13395 build_libtool_libs=$enable_shared
13397 # Whether or not to build static libraries.
13398 build_old_libs=$enable_static
13400 # Whether or not to add -lc for building shared libraries.
13401 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13403 # Whether or not to disallow shared libs when runtime libs are static
13404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13406 # Whether or not to optimize for fast installation.
13407 fast_install=$enable_fast_install
13410 host_alias=$host_alias
13414 # The build system.
13415 build_alias=$build_alias
13419 # An echo program that does not interpret backslashes.
13424 AR_FLAGS=$lt_AR_FLAGS
13429 # LTCC compiler flags.
13430 LTCFLAGS=$lt_LTCFLAGS
13432 # A language-specific compiler.
13433 CC=$lt_compiler_CXX
13435 # Is the compiler the GNU C compiler?
13441 # The linker used to build libraries.
13444 # Whether we need hard or soft links.
13447 # A BSD-compatible nm program.
13450 # A symbol stripping program
13453 # Used to examine libraries when file_magic_cmd begins "file"
13454 MAGIC_CMD=$MAGIC_CMD
13456 # Used on cygwin: DLL creation program.
13459 # Used on cygwin: object dumper.
13462 # Used on cygwin: assembler.
13465 # The name of the directory that contains temporary libtool files.
13468 # How to create reloadable object files.
13469 reload_flag=$lt_reload_flag
13470 reload_cmds=$lt_reload_cmds
13472 # How to pass a linker flag through the compiler.
13473 wl=$lt_lt_prog_compiler_wl_CXX
13475 # Object file suffix (normally "o").
13476 objext="$ac_objext"
13478 # Old archive suffix (normally "a").
13481 # Shared library suffix (normally ".so").
13482 shrext_cmds='$shrext_cmds'
13484 # Executable file suffix (normally "").
13487 # Additional compiler flags for building library objects.
13488 pic_flag=$lt_lt_prog_compiler_pic_CXX
13491 # What is the maximum length of a command?
13492 max_cmd_len=$lt_cv_sys_max_cmd_len
13494 # Does compiler simultaneously support -c and -o options?
13495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13497 # Must we lock files when doing compilation?
13498 need_locks=$lt_need_locks
13500 # Do we need the lib prefix for modules?
13501 need_lib_prefix=$need_lib_prefix
13503 # Do we need a version for libraries?
13504 need_version=$need_version
13506 # Whether dlopen is supported.
13507 dlopen_support=$enable_dlopen
13509 # Whether dlopen of programs is supported.
13510 dlopen_self=$enable_dlopen_self
13512 # Whether dlopen of statically linked programs is supported.
13513 dlopen_self_static=$enable_dlopen_self_static
13515 # Compiler flag to prevent dynamic linking.
13516 link_static_flag=$lt_lt_prog_compiler_static_CXX
13518 # Compiler flag to turn off builtin functions.
13519 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13521 # Compiler flag to allow reflexive dlopens.
13522 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13524 # Compiler flag to generate shared objects directly from archives.
13525 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13527 # Compiler flag to generate thread-safe objects.
13528 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13530 # Library versioning type.
13531 version_type=$version_type
13533 # Format of library name prefix.
13534 libname_spec=$lt_libname_spec
13536 # List of archive names. First name is the real one, the rest are links.
13537 # The last name is the one that the linker finds with -lNAME.
13538 library_names_spec=$lt_library_names_spec
13540 # The coded name of the library, if different from the real name.
13541 soname_spec=$lt_soname_spec
13543 # Commands used to build and install an old-style archive.
13545 old_archive_cmds=$lt_old_archive_cmds_CXX
13546 old_postinstall_cmds=$lt_old_postinstall_cmds
13547 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13549 # Create an old-style archive from a shared archive.
13550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13552 # Create a temporary old-style archive to link instead of a shared archive.
13553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13555 # Commands used to build and install a shared archive.
13556 archive_cmds=$lt_archive_cmds_CXX
13557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13558 postinstall_cmds=$lt_postinstall_cmds
13559 postuninstall_cmds=$lt_postuninstall_cmds
13561 # Commands used to build a loadable module (assumed same as above if empty)
13562 module_cmds=$lt_module_cmds_CXX
13563 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13565 # Commands to strip libraries.
13566 old_striplib=$lt_old_striplib
13567 striplib=$lt_striplib
13569 # Dependencies to place before the objects being linked to create a
13571 predep_objects=$lt_predep_objects_CXX
13573 # Dependencies to place after the objects being linked to create a
13575 postdep_objects=$lt_postdep_objects_CXX
13577 # Dependencies to place before the objects being linked to create a
13579 predeps=$lt_predeps_CXX
13581 # Dependencies to place after the objects being linked to create a
13583 postdeps=$lt_postdeps_CXX
13585 # The library search path used internally by the compiler when linking
13586 # a shared library.
13587 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13589 # Method to check whether dependent libraries are shared objects.
13590 deplibs_check_method=$lt_deplibs_check_method
13592 # Command to use when deplibs_check_method == file_magic.
13593 file_magic_cmd=$lt_file_magic_cmd
13595 # Flag that allows shared libraries with undefined symbols to be built.
13596 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13598 # Flag that forces no undefined symbols.
13599 no_undefined_flag=$lt_no_undefined_flag_CXX
13601 # Commands used to finish a libtool library installation in a directory.
13602 finish_cmds=$lt_finish_cmds
13604 # Same as above, but a single script fragment to be evaled but not shown.
13605 finish_eval=$lt_finish_eval
13607 # Take the output of nm and produce a listing of raw symbols and C names.
13608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13610 # Transform the output of nm in a proper C declaration
13611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13613 # Transform the output of nm in a C name address pair
13614 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13616 # This is the shared library runtime path variable.
13617 runpath_var=$runpath_var
13619 # This is the shared library path variable.
13620 shlibpath_var=$shlibpath_var
13622 # Is shlibpath searched before the hard-coded library search path?
13623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13625 # How to hardcode a shared library path into an executable.
13626 hardcode_action=$hardcode_action_CXX
13628 # Whether we should hardcode library paths into libraries.
13629 hardcode_into_libs=$hardcode_into_libs
13631 # Flag to hardcode \$libdir into a binary during linking.
13632 # This must work even if \$libdir does not exist.
13633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13635 # If ld is used when linking, flag to hardcode \$libdir into
13636 # a binary during linking. This must work even if \$libdir does
13638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13640 # Whether we need a single -rpath flag with a separated argument.
13641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13643 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13644 # resulting binary.
13645 hardcode_direct=$hardcode_direct_CXX
13647 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13648 # resulting binary.
13649 hardcode_minus_L=$hardcode_minus_L_CXX
13651 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13652 # the resulting binary.
13653 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13655 # Set to yes if building a shared library automatically hardcodes DIR into the library
13656 # and all subsequent libraries and executables linked against it.
13657 hardcode_automatic=$hardcode_automatic_CXX
13659 # Variables whose values should be saved in libtool wrapper scripts and
13660 # restored at relink time.
13661 variables_saved_for_relink="$variables_saved_for_relink"
13663 # Whether libtool must link a program against all its dependency libraries.
13664 link_all_deplibs=$link_all_deplibs_CXX
13666 # Compile-time system search path for libraries
13667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13669 # Run-time system search path for libraries
13670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13672 # Fix the shell variable \$srcfile for the compiler.
13673 fix_srcfile_path=$lt_fix_srcfile_path
13675 # Set to yes if exported symbols are required.
13676 always_export_symbols=$always_export_symbols_CXX
13678 # The commands to list exported symbols.
13679 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13681 # The commands to extract the exported symbol list from a shared archive.
13682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13684 # Symbols that should not be listed in the preloaded symbols.
13685 exclude_expsyms=$lt_exclude_expsyms_CXX
13687 # Symbols that must always be exported.
13688 include_expsyms=$lt_include_expsyms_CXX
13690 # ### END LIBTOOL TAG CONFIG: $tagname
13696 # If there is no Makefile yet, we rely on a make rule to execute
13697 # `config.status --recheck' to rerun these tests and create the
13698 # libtool script then.
13699 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13700 if test -f "$ltmain_in"; then
13701 test -f Makefile
&& make "$ltmain"
13707 ac_cpp
='$CPP $CPPFLAGS'
13708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13716 with_gnu_ldcxx
=$with_gnu_ld
13717 with_gnu_ld
=$lt_save_with_gnu_ld
13718 lt_cv_path_LDCXX
=$lt_cv_path_LD
13719 lt_cv_path_LD
=$lt_save_path_LD
13720 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13721 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13729 if test -n "$F77" && test "X$F77" != "Xno"; then
13732 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13733 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13734 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13737 archive_cmds_need_lc_F77
=no
13738 allow_undefined_flag_F77
=
13739 always_export_symbols_F77
=no
13740 archive_expsym_cmds_F77
=
13741 export_dynamic_flag_spec_F77
=
13742 hardcode_direct_F77
=no
13743 hardcode_libdir_flag_spec_F77
=
13744 hardcode_libdir_flag_spec_ld_F77
=
13745 hardcode_libdir_separator_F77
=
13746 hardcode_minus_L_F77
=no
13747 hardcode_automatic_F77
=no
13749 module_expsym_cmds_F77
=
13750 link_all_deplibs_F77
=unknown
13751 old_archive_cmds_F77
=$old_archive_cmds
13752 no_undefined_flag_F77
=
13753 whole_archive_flag_spec_F77
=
13754 enable_shared_with_static_runtimes_F77
=no
13756 # Source file extension for f77 test sources.
13759 # Object file extension for compiled f77 test sources.
13763 # Code to be used in simple compile tests
13764 lt_simple_compile_test_code
="\
13770 # Code to be used in simple link tests
13771 lt_simple_link_test_code
="\
13776 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13778 # If no C compiler was specified, use CC.
13781 # If no C compiler flags were specified, use CFLAGS.
13782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13784 # Allow CC to be a program name with arguments.
13788 # save warnings/boilerplate of simple test code
13789 ac_outfile
=conftest.
$ac_objext
13790 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13791 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13792 _lt_compiler_boilerplate
=`cat conftest.err`
13795 ac_outfile
=conftest.
$ac_objext
13796 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13797 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13798 _lt_linker_boilerplate
=`cat conftest.err`
13802 # Allow CC to be a program name with arguments.
13807 for cc_temp
in $compiler""; do
13809 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13810 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13815 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13818 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13819 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13820 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13821 echo "${ECHO_T}$can_build_shared" >&6; }
13823 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13824 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13825 test "$can_build_shared" = "no" && enable_shared
=no
13827 # On AIX, shared libraries and static libraries use the same namespace, and
13828 # are all built from PIC.
13831 test "$enable_shared" = yes && enable_static
=no
13832 if test -n "$RANLIB"; then
13833 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13834 postinstall_cmds
='$RANLIB $lib'
13838 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13839 test "$enable_shared" = yes && enable_static
=no
13843 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13844 echo "${ECHO_T}$enable_shared" >&6; }
13846 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13847 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13848 # Make sure either enable_shared or enable_static is yes.
13849 test "$enable_shared" = yes || enable_static
=yes
13850 { echo "$as_me:$LINENO: result: $enable_static" >&5
13851 echo "${ECHO_T}$enable_static" >&6; }
13856 lt_prog_compiler_wl_F77
=
13857 lt_prog_compiler_pic_F77
=
13858 lt_prog_compiler_static_F77
=
13860 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13861 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13863 if test "$GCC" = yes; then
13864 lt_prog_compiler_wl_F77
='-Wl,'
13865 lt_prog_compiler_static_F77
='-static'
13869 # All AIX code is PIC.
13870 if test "$host_cpu" = ia64
; then
13871 # AIX 5 now supports IA64 processor
13872 lt_prog_compiler_static_F77
='-Bstatic'
13877 # FIXME: we need at least 68020 code to build shared libraries, but
13878 # adding the `-m68020' flag to GCC prevents building anything better,
13880 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13883 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13884 # PIC is the default for these OSes.
13887 mingw
* | cygwin
* | pw32
* | os2
*)
13888 # This hack is so that the source file can tell whether it is being
13889 # built for inclusion in a dll (and should export symbols for example).
13890 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13891 # (--disable-auto-import) libraries
13892 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13895 darwin
* | rhapsody
*)
13896 # PIC is the default on this platform
13897 # Common symbols not allowed in MH_DYLIB files
13898 lt_prog_compiler_pic_F77
='-fno-common'
13902 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13903 # Instead, we relocate shared libraries at runtime.
13907 # Just because we use GCC doesn't mean we suddenly get shared libraries
13908 # on systems that don't support them.
13909 lt_prog_compiler_can_build_shared_F77
=no
13914 if test -d /usr
/nec
; then
13915 lt_prog_compiler_pic_F77
=-Kconform_pic
13920 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13921 # not for PA HP-UX.
13927 lt_prog_compiler_pic_F77
='-fPIC'
13933 lt_prog_compiler_pic_F77
='-fPIC'
13937 # PORTME Check for flag to pass linker flags through the system compiler.
13940 lt_prog_compiler_wl_F77
='-Wl,'
13941 if test "$host_cpu" = ia64
; then
13942 # AIX 5 now supports IA64 processor
13943 lt_prog_compiler_static_F77
='-Bstatic'
13945 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13949 # PIC is the default on this platform
13950 # Common symbols not allowed in MH_DYLIB files
13951 case $cc_basename in
13953 lt_prog_compiler_pic_F77
='-qnocommon'
13954 lt_prog_compiler_wl_F77
='-Wl,'
13959 mingw
* | cygwin
* | pw32
* | os2
*)
13960 # This hack is so that the source file can tell whether it is being
13961 # built for inclusion in a dll (and should export symbols for example).
13962 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13965 hpux9
* | hpux10
* | hpux11
*)
13966 lt_prog_compiler_wl_F77
='-Wl,'
13967 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13968 # not for PA HP-UX.
13974 lt_prog_compiler_pic_F77
='+Z'
13977 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13978 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13981 irix5
* | irix6
* | nonstopux
*)
13982 lt_prog_compiler_wl_F77
='-Wl,'
13983 # PIC (with -KPIC) is the default.
13984 lt_prog_compiler_static_F77
='-non_shared'
13988 lt_prog_compiler_pic_F77
='-KPIC'
13989 lt_prog_compiler_static_F77
='-Bstatic'
13992 linux
* | k
*bsd
*-gnu)
13993 case $cc_basename in
13995 lt_prog_compiler_wl_F77
='-Wl,'
13996 lt_prog_compiler_pic_F77
='-KPIC'
13997 lt_prog_compiler_static_F77
='-static'
13999 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14000 # Portland Group compilers (*not* the Pentium gcc compiler,
14001 # which looks to be a dead project)
14002 lt_prog_compiler_wl_F77
='-Wl,'
14003 lt_prog_compiler_pic_F77
='-fpic'
14004 lt_prog_compiler_static_F77
='-Bstatic'
14007 lt_prog_compiler_wl_F77
='-Wl,'
14008 # All Alpha code is PIC.
14009 lt_prog_compiler_static_F77
='-non_shared'
14012 case `$CC -V 2>&1 | sed 5q` in
14015 lt_prog_compiler_pic_F77
='-KPIC'
14016 lt_prog_compiler_static_F77
='-Bstatic'
14017 lt_prog_compiler_wl_F77
='-Wl,'
14020 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14021 lt_prog_compiler_pic_F77
='-KPIC'
14022 lt_prog_compiler_static_F77
='-Bstatic'
14023 lt_prog_compiler_wl_F77
=''
14030 osf3
* | osf4
* | osf5
*)
14031 lt_prog_compiler_wl_F77
='-Wl,'
14032 # All OSF/1 code is PIC.
14033 lt_prog_compiler_static_F77
='-non_shared'
14037 lt_prog_compiler_static_F77
='-non_shared'
14041 lt_prog_compiler_pic_F77
='-KPIC'
14042 lt_prog_compiler_static_F77
='-Bstatic'
14043 case $cc_basename in
14044 f77
* | f90
* | f95
*)
14045 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14047 lt_prog_compiler_wl_F77
='-Wl,';;
14052 lt_prog_compiler_wl_F77
='-Qoption ld '
14053 lt_prog_compiler_pic_F77
='-PIC'
14054 lt_prog_compiler_static_F77
='-Bstatic'
14057 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14058 lt_prog_compiler_wl_F77
='-Wl,'
14059 lt_prog_compiler_pic_F77
='-KPIC'
14060 lt_prog_compiler_static_F77
='-Bstatic'
14064 if test -d /usr
/nec
;then
14065 lt_prog_compiler_pic_F77
='-Kconform_pic'
14066 lt_prog_compiler_static_F77
='-Bstatic'
14070 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14071 lt_prog_compiler_wl_F77
='-Wl,'
14072 lt_prog_compiler_pic_F77
='-KPIC'
14073 lt_prog_compiler_static_F77
='-Bstatic'
14077 lt_prog_compiler_wl_F77
='-Wl,'
14078 lt_prog_compiler_can_build_shared_F77
=no
14082 lt_prog_compiler_pic_F77
='-pic'
14083 lt_prog_compiler_static_F77
='-Bstatic'
14087 lt_prog_compiler_can_build_shared_F77
=no
14092 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14093 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14096 # Check to make sure the PIC flag actually works.
14098 if test -n "$lt_prog_compiler_pic_F77"; then
14100 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14101 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14102 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 lt_prog_compiler_pic_works_F77
=no
14106 ac_outfile
=conftest.
$ac_objext
14107 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14108 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14109 # Insert the option either (1) after the last *FLAGS variable, or
14110 # (2) before a word containing "conftest.", or (3) at the end.
14111 # Note that $ac_compile itself does not contain backslashes and begins
14112 # with a dollar sign (not a hyphen), so the echo should work correctly.
14113 # The option is referenced via a variable to avoid confusing sed.
14114 lt_compile
=`echo "$ac_compile" | $SED \
14115 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14117 -e 's:$: $lt_compiler_flag:'`
14118 (eval echo "\"\$as_me:14118: $lt_compile\"" >&5)
14119 (eval "$lt_compile" 2>conftest.err
)
14121 cat conftest.err
>&5
14122 echo "$as_me:14122: \$? = $ac_status" >&5
14123 if (exit $ac_status) && test -s "$ac_outfile"; then
14124 # The compiler can only warn and ignore the option if not recognized
14125 # So say no if there are warnings other than the usual output.
14126 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14127 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14128 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14129 lt_prog_compiler_pic_works_F77
=yes
14135 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14136 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14138 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14139 case $lt_prog_compiler_pic_F77 in
14141 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14144 lt_prog_compiler_pic_F77
=
14145 lt_prog_compiler_can_build_shared_F77
=no
14150 # For platforms which do not support PIC, -DPIC is meaningless:
14152 lt_prog_compiler_pic_F77
=
14155 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14160 # Check to make sure the static flag actually works.
14162 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14163 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14164 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14165 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 lt_prog_compiler_static_works_F77
=no
14169 save_LDFLAGS
="$LDFLAGS"
14170 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14171 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14172 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14173 # The linker can only warn and ignore the option if not recognized
14174 # So say no if there are warnings
14175 if test -s conftest.err
; then
14176 # Append any errors to the config.log.
14177 cat conftest.err
1>&5
14178 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14179 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14180 if diff conftest.exp conftest.er2
>/dev
/null
; then
14181 lt_prog_compiler_static_works_F77
=yes
14184 lt_prog_compiler_static_works_F77
=yes
14188 LDFLAGS
="$save_LDFLAGS"
14191 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14192 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14194 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14197 lt_prog_compiler_static_F77
=
14201 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14202 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14203 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 lt_cv_prog_compiler_c_o_F77
=no
14207 $rm -r conftest
2>/dev
/null
14211 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14213 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14214 # Insert the option either (1) after the last *FLAGS variable, or
14215 # (2) before a word containing "conftest.", or (3) at the end.
14216 # Note that $ac_compile itself does not contain backslashes and begins
14217 # with a dollar sign (not a hyphen), so the echo should work correctly.
14218 lt_compile
=`echo "$ac_compile" | $SED \
14219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14221 -e 's:$: $lt_compiler_flag:'`
14222 (eval echo "\"\$as_me:14222: $lt_compile\"" >&5)
14223 (eval "$lt_compile" 2>out
/conftest.err
)
14225 cat out
/conftest.err
>&5
14226 echo "$as_me:14226: \$? = $ac_status" >&5
14227 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14229 # The compiler can only warn and ignore the option if not recognized
14230 # So say no if there are warnings
14231 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14232 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14233 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14234 lt_cv_prog_compiler_c_o_F77
=yes
14239 # SGI C++ compiler will create directory out/ii_files/ for
14240 # template instantiation
14241 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14242 $rm out
/* && rmdir out
14248 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14249 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14252 hard_links
="nottested"
14253 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14254 # do not overwrite the value of need_locks provided by the user
14255 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14256 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14259 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14261 ln conftest.a conftest.b
2>&5 || hard_links
=no
14262 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14263 { echo "$as_me:$LINENO: result: $hard_links" >&5
14264 echo "${ECHO_T}$hard_links" >&6; }
14265 if test "$hard_links" = no
; then
14266 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14267 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14274 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14275 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14278 allow_undefined_flag_F77
=
14279 enable_shared_with_static_runtimes_F77
=no
14281 archive_expsym_cmds_F77
=
14282 old_archive_From_new_cmds_F77
=
14283 old_archive_from_expsyms_cmds_F77
=
14284 export_dynamic_flag_spec_F77
=
14285 whole_archive_flag_spec_F77
=
14286 thread_safe_flag_spec_F77
=
14287 hardcode_libdir_flag_spec_F77
=
14288 hardcode_libdir_flag_spec_ld_F77
=
14289 hardcode_libdir_separator_F77
=
14290 hardcode_direct_F77
=no
14291 hardcode_minus_L_F77
=no
14292 hardcode_shlibpath_var_F77
=unsupported
14293 link_all_deplibs_F77
=unknown
14294 hardcode_automatic_F77
=no
14296 module_expsym_cmds_F77
=
14297 always_export_symbols_F77
=no
14298 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14299 # include_expsyms should be a list of space-separated symbols to be *always*
14300 # included in the symbol list
14301 include_expsyms_F77
=
14302 # exclude_expsyms can be an extended regexp of symbols to exclude
14303 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14304 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14305 # as well as any symbol that contains `d'.
14306 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14307 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14308 # platforms (ab)use it in PIC code, but their linkers get confused if
14309 # the symbol is explicitly referenced. Since portable code cannot
14310 # rely on this symbol name, it's probably fine to never include it in
14311 # preloaded symbol tables.
14312 extract_expsyms_cmds
=
14313 # Just being paranoid about ensuring that cc_basename is set.
14314 for cc_temp
in $compiler""; do
14316 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14317 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14322 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14325 cygwin
* | mingw
* | pw32
*)
14326 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14327 # When not using gcc, we currently assume that we are using
14328 # Microsoft Visual C++.
14329 if test "$GCC" != yes; then
14334 # we just hope/assume this is gcc and not c89 (= MSVC++)
14343 if test "$with_gnu_ld" = yes; then
14344 # If archive_cmds runs LD, not CC, wlarc should be empty
14347 # Set some defaults for GNU ld with shared library support. These
14348 # are reset later if shared libraries are not supported. Putting them
14349 # here allows them to be overridden if necessary.
14350 runpath_var
=LD_RUN_PATH
14351 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14352 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14353 # ancient GNU ld didn't support --whole-archive et. al.
14354 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14355 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14357 whole_archive_flag_spec_F77
=
14359 supports_anon_versioning
=no
14360 case `$LD -v 2>/dev/null` in
14361 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14362 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14363 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14364 *\
2.11.
*) ;; # other 2.11 versions
14365 *) supports_anon_versioning
=yes ;;
14368 # See if GNU ld supports shared libraries.
14370 aix3
* | aix4
* | aix5
*)
14371 # On AIX/PPC, the GNU linker is very broken
14372 if test "$host_cpu" != ia64
; then
14376 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14377 *** to be unable to reliably create shared libraries on AIX.
14378 *** Therefore, libtool is disabling shared libraries support. If you
14379 *** really care for shared libraries, you may want to modify your PATH
14380 *** so that a non-GNU linker is found, and then restart.
14387 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)'
14388 hardcode_libdir_flag_spec_F77
='-L$libdir'
14389 hardcode_minus_L_F77
=yes
14391 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14392 # that the semantics of dynamic libraries on AmigaOS, at least up
14393 # to version 4, is to share data among multiple programs linked
14394 # with the same dynamic library. Since this doesn't match the
14395 # behavior of shared libraries on other platforms, we can't use
14401 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14402 allow_undefined_flag_F77
=unsupported
14403 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14404 # support --undefined. This deserves some investigation. FIXME
14405 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14411 cygwin
* | mingw
* | pw32
*)
14412 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14413 # as there is no search path for DLLs.
14414 hardcode_libdir_flag_spec_F77
='-L$libdir'
14415 allow_undefined_flag_F77
=unsupported
14416 always_export_symbols_F77
=no
14417 enable_shared_with_static_runtimes_F77
=yes
14418 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14420 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14421 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14422 # If the export-symbols file already is a .def file (1st line
14423 # is EXPORTS), use it as is; otherwise, prepend...
14424 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14425 cp $export_symbols $output_objdir/$soname.def;
14427 echo EXPORTS > $output_objdir/$soname.def;
14428 cat $export_symbols >> $output_objdir/$soname.def;
14430 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14437 hardcode_direct_F77
=no
14438 hardcode_shlibpath_var_F77
=no
14439 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14440 export_dynamic_flag_spec_F77
='${wl}-E'
14441 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14442 # Instead, shared libraries are loaded at an image base (0x10000000 by
14443 # default) and relocated if they conflict, which is a slow very memory
14444 # consuming and fragmenting process. To avoid this, we pick a random,
14445 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14446 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14447 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'
14448 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'
14451 gnu
* | linux
* | k
*bsd
*-gnu)
14452 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14454 case $cc_basename,$host_cpu in
14455 pgcc
*) # Portland Group C compiler
14456 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'
14457 tmp_addflag
=' $pic_flag'
14459 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14460 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'
14461 tmp_addflag
=' $pic_flag -Mnomain' ;;
14462 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14463 tmp_addflag
=' -i_dynamic' ;;
14464 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14465 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14466 ifc
* | ifort
*) # Intel Fortran compiler
14467 tmp_addflag
=' -nofor_main' ;;
14469 case `$CC -V 2>&1 | sed 5q` in
14470 *Sun\ C
*) # Sun C 5.9
14471 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14472 tmp_sharedflag
='-G' ;;
14473 *Sun\ F
*) # Sun Fortran 8.3
14474 tmp_sharedflag
='-G' ;;
14476 tmp_sharedflag
='-shared' ;;
14478 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14480 if test $supports_anon_versioning = yes; then
14481 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14482 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14483 $echo "local: *; };" >> $output_objdir/$libname.ver~
14484 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14492 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14493 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14496 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14497 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14502 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14506 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14507 *** create shared libraries on Solaris systems. Therefore, libtool
14508 *** is disabling shared libraries support. We urge you to upgrade GNU
14509 *** binutils to release 2.9.1 or newer. Another option is to modify
14510 *** your PATH or compiler configuration so that the native linker is
14511 *** used, and then restart.
14514 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14515 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14516 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14522 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14523 case `$LD -v 2>&1` in
14524 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14528 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14529 *** reliably create shared libraries on SCO systems. Therefore, libtool
14530 *** is disabling shared libraries support. We urge you to upgrade GNU
14531 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14532 *** your PATH or compiler configuration so that the native linker is
14533 *** used, and then restart.
14538 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14539 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14540 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14541 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14550 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14552 hardcode_direct_F77
=yes
14553 hardcode_shlibpath_var_F77
=no
14557 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14558 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14559 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14566 if test "$ld_shlibs_F77" = no
; then
14568 hardcode_libdir_flag_spec_F77
=
14569 export_dynamic_flag_spec_F77
=
14570 whole_archive_flag_spec_F77
=
14573 # PORTME fill in a description of your system's linker (not GNU ld)
14576 allow_undefined_flag_F77
=unsupported
14577 always_export_symbols_F77
=yes
14578 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'
14579 # Note: this linker hardcodes the directories in LIBPATH if there
14580 # are no directories specified by -L.
14581 hardcode_minus_L_F77
=yes
14582 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14583 # Neither direct hardcoding nor static linking is supported with a
14585 hardcode_direct_F77
=unsupported
14590 if test "$host_cpu" = ia64
; then
14591 # On IA64, the linker does run time linking by default, so we don't
14592 # have to do anything special.
14593 aix_use_runtimelinking
=no
14594 exp_sym_flag
='-Bexport'
14597 # If we're using GNU nm, then we don't want the "-C" option.
14598 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14599 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14600 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'
14602 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'
14604 aix_use_runtimelinking
=no
14606 # Test if we are trying to use run time linking or normal
14607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14608 # need to do runtime linking.
14609 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14610 for ld_flag
in $LDFLAGS; do
14611 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14612 aix_use_runtimelinking
=yes
14619 exp_sym_flag
='-bexport'
14620 no_entry_flag
='-bnoentry'
14623 # When large executables or shared objects are built, AIX ld can
14624 # have problems creating the table of contents. If linking a library
14625 # or program results in "error TOC overflow" add -mminimal-toc to
14626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14629 archive_cmds_F77
=''
14630 hardcode_direct_F77
=yes
14631 hardcode_libdir_separator_F77
=':'
14632 link_all_deplibs_F77
=yes
14634 if test "$GCC" = yes; then
14635 case $host_os in aix4.
[012]|aix4.
[012].
*)
14636 # We only want to do this on AIX 4.2 and lower, the check
14637 # below for broken collect2 doesn't work under 4.3+
14638 collect2name
=`${CC} -print-prog-name=collect2`
14639 if test -f "$collect2name" && \
14640 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14642 # We have reworked collect2
14645 # We have old collect2
14646 hardcode_direct_F77
=unsupported
14647 # It fails to find uninstalled libraries when the uninstalled
14648 # path is not listed in the libpath. Setting hardcode_minus_L
14649 # to unsupported forces relinking
14650 hardcode_minus_L_F77
=yes
14651 hardcode_libdir_flag_spec_F77
='-L$libdir'
14652 hardcode_libdir_separator_F77
=
14656 shared_flag
='-shared'
14657 if test "$aix_use_runtimelinking" = yes; then
14658 shared_flag
="$shared_flag "'${wl}-G'
14662 if test "$host_cpu" = ia64
; then
14663 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14664 # chokes on -Wl,-G. The following line is correct:
14667 if test "$aix_use_runtimelinking" = yes; then
14668 shared_flag
='${wl}-G'
14670 shared_flag
='${wl}-bM:SRE'
14675 # It seems that -bexpall does not export symbols beginning with
14676 # underscore (_), so it is better to generate a list of symbols to export.
14677 always_export_symbols_F77
=yes
14678 if test "$aix_use_runtimelinking" = yes; then
14679 # Warning - without using the other runtime loading flags (-brtl),
14680 # -berok will link without error, but may produce a broken library.
14681 allow_undefined_flag_F77
='-berok'
14682 # Determine the default libpath from the value encoded in an empty executable.
14683 cat >conftest.
$ac_ext <<_ACEOF
14688 rm -f conftest.
$ac_objext conftest
$ac_exeext
14689 if { (ac_try
="$ac_link"
14690 case "(($ac_try" in
14691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14695 (eval "$ac_link") 2>conftest.er1
14697 grep -v '^ *+' conftest.er1 >conftest.err
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } && {
14702 test -z "$ac_f77_werror_flag" ||
14703 test ! -s conftest.err
14704 } && test -s conftest$ac_exeext &&
14705 $as_test_x conftest$ac_exeext; then
14707 lt_aix_libpath_sed='
14708 /Import File Strings/,/^$/ {
14714 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14715 # Check for a 64-bit object if we didn't find anything.
14716 if test -z "$aix_libpath"; then
14717 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14727 conftest$ac_exeext conftest.$ac_ext
14728 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14730 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14731 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"
14733 if test "$host_cpu" = ia64; then
14734 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14735 allow_undefined_flag_F77="-z nodefs"
14736 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"
14738 # Determine the default libpath from the value encoded in an empty executable.
14739 cat >conftest.$ac_ext <<_ACEOF
14744 rm -f conftest.$ac_objext conftest$ac_exeext
14745 if { (ac_try="$ac_link"
14746 case "(($ac_try" in
14747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14748 *) ac_try_echo
=$ac_try;;
14750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14751 (eval "$ac_link") 2>conftest.er1
14753 grep -v '^ *+' conftest.er1
>conftest.err
14755 cat conftest.err
>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); } && {
14758 test -z "$ac_f77_werror_flag" ||
14759 test ! -s conftest.err
14760 } && test -s conftest
$ac_exeext &&
14761 $as_test_x conftest
$ac_exeext; then
14763 lt_aix_libpath_sed
='
14764 /Import File Strings/,/^$/ {
14770 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14771 # Check for a 64-bit object if we didn't find anything.
14772 if test -z "$aix_libpath"; then
14773 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.
$ac_ext >&5
14782 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14783 conftest
$ac_exeext conftest.
$ac_ext
14784 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14786 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14787 # Warning - without using the other run time loading flags,
14788 # -berok will link without error, but may produce a broken library.
14789 no_undefined_flag_F77
=' ${wl}-bernotok'
14790 allow_undefined_flag_F77
=' ${wl}-berok'
14791 # Exported symbols can be pulled into shared objects from archives
14792 whole_archive_flag_spec_F77
='$convenience'
14793 archive_cmds_need_lc_F77
=yes
14794 # This is similar to how AIX traditionally builds its shared libraries.
14795 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'
14801 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)'
14802 hardcode_libdir_flag_spec_F77
='-L$libdir'
14803 hardcode_minus_L_F77
=yes
14804 # see comment about different semantics on the GNU ld section
14809 export_dynamic_flag_spec_F77
=-rdynamic
14812 cygwin
* | mingw
* | pw32
*)
14813 # When not using gcc, we currently assume that we are using
14814 # Microsoft Visual C++.
14815 # hardcode_libdir_flag_spec is actually meaningless, as there is
14816 # no search path for DLLs.
14817 hardcode_libdir_flag_spec_F77
=' '
14818 allow_undefined_flag_F77
=unsupported
14819 # Tell ltmain to make .lib files, not .a files.
14821 # Tell ltmain to make .dll files, not .so files.
14823 # FIXME: Setting linknames here is a bad hack.
14824 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14825 # The linker will automatically build a .lib file if we build a DLL.
14826 old_archive_From_new_cmds_F77
='true'
14827 # FIXME: Should let the user specify the lib program.
14828 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14829 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14830 enable_shared_with_static_runtimes_F77
=yes
14833 darwin
* | rhapsody
*)
14835 rhapsody
* | darwin1.
[012])
14836 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14839 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14840 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14842 case ${MACOSX_DEPLOYMENT_TARGET} in
14844 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14847 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14853 archive_cmds_need_lc_F77
=no
14854 hardcode_direct_F77
=no
14855 hardcode_automatic_F77
=yes
14856 hardcode_shlibpath_var_F77
=unsupported
14857 whole_archive_flag_spec_F77
=''
14858 link_all_deplibs_F77
=yes
14859 if test "$GCC" = yes ; then
14860 output_verbose_link_cmd
='echo'
14861 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14862 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14863 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14864 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}'
14865 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}'
14867 case $cc_basename in
14869 output_verbose_link_cmd
='echo'
14870 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14871 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14872 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14873 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14874 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}'
14884 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14885 hardcode_libdir_flag_spec_F77
='-L$libdir'
14886 hardcode_shlibpath_var_F77
=no
14893 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14894 # support. Future versions do this automatically, but an explicit c++rt0.o
14895 # does not break anything, and helps significantly (at the cost of a little
14898 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14899 hardcode_libdir_flag_spec_F77
='-R$libdir'
14900 hardcode_direct_F77
=yes
14901 hardcode_shlibpath_var_F77
=no
14904 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14906 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14907 hardcode_direct_F77
=yes
14908 hardcode_minus_L_F77
=yes
14909 hardcode_shlibpath_var_F77
=no
14912 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14913 freebsd
* | dragonfly
*)
14914 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14915 hardcode_libdir_flag_spec_F77
='-R$libdir'
14916 hardcode_direct_F77
=yes
14917 hardcode_shlibpath_var_F77
=no
14921 if test "$GCC" = yes; then
14922 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'
14924 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'
14926 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14927 hardcode_libdir_separator_F77
=:
14928 hardcode_direct_F77
=yes
14930 # hardcode_minus_L: Not really in the search PATH,
14931 # but as the default location of the library.
14932 hardcode_minus_L_F77
=yes
14933 export_dynamic_flag_spec_F77
='${wl}-E'
14937 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14938 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14940 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14942 if test "$with_gnu_ld" = no
; then
14943 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14944 hardcode_libdir_separator_F77
=:
14946 hardcode_direct_F77
=yes
14947 export_dynamic_flag_spec_F77
='${wl}-E'
14949 # hardcode_minus_L: Not really in the search PATH,
14950 # but as the default location of the library.
14951 hardcode_minus_L_F77
=yes
14956 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14959 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14962 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14965 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14971 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14974 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14977 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14981 if test "$with_gnu_ld" = no
; then
14982 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14983 hardcode_libdir_separator_F77
=:
14987 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14988 hardcode_direct_F77
=no
14989 hardcode_shlibpath_var_F77
=no
14992 hardcode_direct_F77
=yes
14993 export_dynamic_flag_spec_F77
='${wl}-E'
14995 # hardcode_minus_L: Not really in the search PATH,
14996 # but as the default location of the library.
14997 hardcode_minus_L_F77
=yes
15003 irix5
* | irix6
* | nonstopux
*)
15004 if test "$GCC" = yes; then
15005 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'
15007 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'
15008 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15010 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15011 hardcode_libdir_separator_F77
=:
15012 link_all_deplibs_F77
=yes
15016 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15017 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15019 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15021 hardcode_libdir_flag_spec_F77
='-R$libdir'
15022 hardcode_direct_F77
=yes
15023 hardcode_shlibpath_var_F77
=no
15027 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15028 hardcode_direct_F77
=yes
15029 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15030 hardcode_libdir_separator_F77
=:
15031 hardcode_shlibpath_var_F77
=no
15035 if test -f /usr
/libexec
/ld.so
; then
15036 hardcode_direct_F77
=yes
15037 hardcode_shlibpath_var_F77
=no
15038 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15039 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15040 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15041 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15042 export_dynamic_flag_spec_F77
='${wl}-E'
15045 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15046 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15047 hardcode_libdir_flag_spec_F77
='-R$libdir'
15050 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15051 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15061 hardcode_libdir_flag_spec_F77
='-L$libdir'
15062 hardcode_minus_L_F77
=yes
15063 allow_undefined_flag_F77
=unsupported
15064 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'
15065 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15069 if test "$GCC" = yes; then
15070 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15071 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'
15073 allow_undefined_flag_F77
=' -expect_unresolved \*'
15074 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'
15076 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15077 hardcode_libdir_separator_F77
=:
15080 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15081 if test "$GCC" = yes; then
15082 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15083 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'
15084 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15086 allow_undefined_flag_F77
=' -expect_unresolved \*'
15087 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'
15088 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~
15089 $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'
15091 # Both c and cxx compiler support -rpath directly
15092 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15094 hardcode_libdir_separator_F77
=:
15098 no_undefined_flag_F77
=' -z text'
15099 if test "$GCC" = yes; then
15101 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15102 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15103 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15106 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15107 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15108 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15110 hardcode_libdir_flag_spec_F77
='-R$libdir'
15111 hardcode_shlibpath_var_F77
=no
15113 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15115 # The compiler driver will combine and reorder linker options,
15116 # but understands `-z linker_flag'. GCC discards it without `$wl',
15117 # but is careful enough not to reorder.
15118 # Supported since Solaris 2.6 (maybe 2.5.1?)
15119 if test "$GCC" = yes; then
15120 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15122 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15126 link_all_deplibs_F77
=yes
15130 if test "x$host_vendor" = xsequent
; then
15131 # Use $CC to link under sequent, because it throws in some extra .o
15132 # files that make .init and .fini sections work.
15133 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15135 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15137 hardcode_libdir_flag_spec_F77
='-L$libdir'
15138 hardcode_direct_F77
=yes
15139 hardcode_minus_L_F77
=yes
15140 hardcode_shlibpath_var_F77
=no
15144 case $host_vendor in
15146 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15147 hardcode_direct_F77
=yes # is this really true???
15150 ## LD is ld it makes a PLAMLIB
15151 ## CC just makes a GrossModule.
15152 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15153 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15154 hardcode_direct_F77
=no
15157 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15158 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15161 runpath_var
='LD_RUN_PATH'
15162 hardcode_shlibpath_var_F77
=no
15166 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15167 hardcode_shlibpath_var_F77
=no
15168 export_dynamic_flag_spec_F77
='-Bexport'
15172 if test -d /usr
/nec
; then
15173 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15174 hardcode_shlibpath_var_F77
=no
15175 runpath_var
=LD_RUN_PATH
15176 hardcode_runpath_var
=yes
15181 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15182 no_undefined_flag_F77
='${wl}-z,text'
15183 archive_cmds_need_lc_F77
=no
15184 hardcode_shlibpath_var_F77
=no
15185 runpath_var
='LD_RUN_PATH'
15187 if test "$GCC" = yes; then
15188 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15189 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15191 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15192 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15196 sysv5
* | sco3.2v5
* | sco5v6
*)
15197 # Note: We can NOT use -z defs as we might desire, because we do not
15198 # link with -lc, and that would cause any symbols used from libc to
15199 # always be unresolved, which means just about no library would
15200 # ever link correctly. If we're not using GNU ld we use -z text
15201 # though, which does catch some bad symbols but isn't as heavy-handed
15203 no_undefined_flag_F77
='${wl}-z,text'
15204 allow_undefined_flag_F77
='${wl}-z,nodefs'
15205 archive_cmds_need_lc_F77
=no
15206 hardcode_shlibpath_var_F77
=no
15207 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15208 hardcode_libdir_separator_F77
=':'
15209 link_all_deplibs_F77
=yes
15210 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15211 runpath_var
='LD_RUN_PATH'
15213 if test "$GCC" = yes; then
15214 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15215 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15217 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15218 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15223 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15224 hardcode_libdir_flag_spec_F77
='-L$libdir'
15225 hardcode_shlibpath_var_F77
=no
15234 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15235 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15236 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15239 # Do we need to explicitly link libc?
15241 case "x$archive_cmds_need_lc_F77" in
15243 # Assume -lc should be added
15244 archive_cmds_need_lc_F77
=yes
15246 if test "$enable_shared" = yes && test "$GCC" = yes; then
15247 case $archive_cmds_F77 in
15249 # FIXME: we may have to deal with multi-command sequences.
15252 # Test whether the compiler implicitly links with -lc since on some
15253 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15254 # to ld, don't add -lc before -lgcc.
15255 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15256 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15258 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15261 (eval $ac_compile) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } 2>conftest.err
; then
15267 libobjs
=conftest.
$ac_objext
15269 wl
=$lt_prog_compiler_wl_F77
15270 pic_flag
=$lt_prog_compiler_pic_F77
15276 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15277 allow_undefined_flag_F77
=
15278 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15279 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }
15284 archive_cmds_need_lc_F77
=no
15286 archive_cmds_need_lc_F77
=yes
15288 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15290 cat conftest.err
1>&5
15293 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15294 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15301 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15302 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15303 library_names_spec
=
15304 libname_spec
='lib$name'
15308 postuninstall_cmds
=
15312 shlibpath_overrides_runpath
=unknown
15314 dynamic_linker
="$host_os ld.so"
15315 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15317 need_lib_prefix
=unknown
15318 hardcode_into_libs
=no
15320 # when you set need_version to no, make sure it does not cause -set_version
15321 # flags to be left without arguments
15322 need_version
=unknown
15327 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15328 shlibpath_var
=LIBPATH
15330 # AIX 3 has no versioning support, so we append a major version to the name.
15331 soname_spec
='${libname}${release}${shared_ext}$major'
15338 hardcode_into_libs
=yes
15339 if test "$host_cpu" = ia64
; then
15340 # AIX 5 supports IA64
15341 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15342 shlibpath_var
=LD_LIBRARY_PATH
15344 # With GCC up to 2.95.x, collect2 would create an import file
15345 # for dependence libraries. The import file would start with
15346 # the line `#! .'. This would cause the generated library to
15347 # depend on `.', always an invalid library. This was fixed in
15348 # development snapshots of GCC prior to 3.0.
15350 aix4 | aix4.
[01] | aix4.
[01].
*)
15351 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15353 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15356 can_build_shared
=no
15360 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15361 # soname into executable. Probably we can add versioning support to
15362 # collect2, so additional links can be useful in future.
15363 if test "$aix_use_runtimelinking" = yes; then
15364 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15365 # instead of lib<name>.a to let people know that these are not
15366 # typical AIX shared libraries.
15367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369 # We preserve .a as extension for shared libraries through AIX4.2
15370 # and later when we are not doing run time linking.
15371 library_names_spec
='${libname}${release}.a $libname.a'
15372 soname_spec
='${libname}${release}${shared_ext}$major'
15374 shlibpath_var
=LIBPATH
15379 library_names_spec
='$libname.ixlibrary $libname.a'
15380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15381 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'
15385 library_names_spec
='${libname}${shared_ext}'
15386 dynamic_linker
="$host_os ld.so"
15387 shlibpath_var
=LIBRARY_PATH
15393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394 soname_spec
='${libname}${release}${shared_ext}$major'
15395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15396 shlibpath_var
=LD_LIBRARY_PATH
15397 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15398 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15399 # the default ld.so.conf also contains /usr/contrib/lib and
15400 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15401 # libtool to hard-code these into programs
15404 cygwin
* | mingw
* | pw32
*)
15405 version_type
=windows
15410 case $GCC,$host_os in
15411 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15412 library_names_spec
='$libname.dll.a'
15413 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15414 postinstall_cmds
='base_file=`basename \${file}`~
15415 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15416 dldir=$destdir/`dirname \$dlpath`~
15417 test -d \$dldir || mkdir -p \$dldir~
15418 $install_prog $dir/$dlname \$dldir/$dlname~
15419 chmod a+x \$dldir/$dlname'
15420 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15421 dlpath=$dir/\$dldll~
15423 shlibpath_overrides_runpath
=yes
15427 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15428 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15429 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15432 # MinGW DLLs use traditional 'lib' prefix
15433 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15434 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15435 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15436 # It is most probably a Windows format PATH printed by
15437 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15438 # path with ; separators, and with drive letters. We can handle the
15439 # drive letters (cygwin fileutils understands them), so leave them,
15440 # especially as we might pass files found there to a mingw objdump,
15441 # which wouldn't understand a cygwinified path. Ahh.
15442 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15444 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15448 # pw32 DLLs use 'pw' prefix rather than 'lib'
15449 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15455 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15458 dynamic_linker
='Win32 ld.exe'
15459 # FIXME: first we should search . and the directory the executable is in
15463 darwin
* | rhapsody
*)
15464 dynamic_linker
="$host_os dyld"
15465 version_type
=darwin
15468 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15469 soname_spec
='${libname}${release}${major}$shared_ext'
15470 shlibpath_overrides_runpath
=yes
15471 shlibpath_var
=DYLD_LIBRARY_PATH
15472 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15474 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15482 soname_spec
='${libname}${release}${shared_ext}$major'
15483 shlibpath_var
=LD_LIBRARY_PATH
15490 freebsd
* | dragonfly
*)
15491 # DragonFly does not have aout. When/if they implement a new
15492 # versioning mechanism, adjust this.
15493 if test -x /usr
/bin
/objformat
; then
15494 objformat
=`/usr/bin/objformat`
15497 freebsd
[123]*) objformat
=aout
;;
15498 *) objformat
=elf
;;
15501 version_type
=freebsd-
$objformat
15502 case $version_type in
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15513 shlibpath_var
=LD_LIBRARY_PATH
15516 shlibpath_overrides_runpath
=yes
15518 freebsd3.
[01]* | freebsdelf3.
[01]*)
15519 shlibpath_overrides_runpath
=yes
15520 hardcode_into_libs
=yes
15522 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15523 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15524 shlibpath_overrides_runpath
=no
15525 hardcode_into_libs
=yes
15527 *) # from 4.6 on, and DragonFly
15528 shlibpath_overrides_runpath
=yes
15529 hardcode_into_libs
=yes
15538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15539 soname_spec
='${libname}${release}${shared_ext}$major'
15540 shlibpath_var
=LD_LIBRARY_PATH
15541 hardcode_into_libs
=yes
15544 hpux9
* | hpux10
* | hpux11
*)
15545 # Give a soname corresponding to the major version so that dld.sl refuses to
15546 # link against other versions.
15553 hardcode_into_libs
=yes
15554 dynamic_linker
="$host_os dld.so"
15555 shlibpath_var
=LD_LIBRARY_PATH
15556 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15558 soname_spec
='${libname}${release}${shared_ext}$major'
15559 if test "X$HPUX_IA64_MODE" = X32
; then
15560 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15562 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15564 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15568 hardcode_into_libs
=yes
15569 dynamic_linker
="$host_os dld.sl"
15570 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15571 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15573 soname_spec
='${libname}${release}${shared_ext}$major'
15574 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15575 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15579 dynamic_linker
="$host_os dld.sl"
15580 shlibpath_var
=SHLIB_PATH
15581 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15583 soname_spec
='${libname}${release}${shared_ext}$major'
15586 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15587 postinstall_cmds
='chmod 555 $lib'
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15595 soname_spec
='${libname}${release}${shared_ext}$major'
15596 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15597 shlibpath_var
=LD_LIBRARY_PATH
15598 shlibpath_overrides_runpath
=no
15599 hardcode_into_libs
=yes
15602 irix5
* | irix6
* | nonstopux
*)
15604 nonstopux
*) version_type
=nonstopux
;;
15606 if test "$lt_cv_prog_gnu_ld" = yes; then
15614 soname_spec
='${libname}${release}${shared_ext}$major'
15615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15617 irix5
* | nonstopux
*)
15618 libsuff
= shlibsuff
=
15621 case $LD in # libtool.m4 will add one of these switches to LD
15622 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15623 libsuff
= shlibsuff
= libmagic
=32-bit;;
15624 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15625 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15626 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15627 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15628 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15632 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15633 shlibpath_overrides_runpath
=no
15634 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15635 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15636 hardcode_into_libs
=yes
15639 # No shared lib support for Linux oldld, aout, or coff.
15640 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15644 # This must be Linux ELF.
15645 linux
* | k
*bsd
*-gnu)
15649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15650 soname_spec
='${libname}${release}${shared_ext}$major'
15651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15652 shlibpath_var
=LD_LIBRARY_PATH
15653 shlibpath_overrides_runpath
=no
15654 # This implies no fast_install, which is unacceptable.
15655 # Some rework will be needed to allow for fast_install
15656 # before this can be enabled.
15657 hardcode_into_libs
=yes
15658 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15659 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15661 # Append ld.so.conf contents to the search path
15662 if test -f /etc
/ld.so.conf
; then
15663 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15664 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15667 # We used to test for /lib/ld.so.1 and disable shared libraries on
15668 # powerpc, because MkLinux only supported shared libraries with the
15669 # GNU dynamic linker. Since this was broken with cross compilers,
15670 # most powerpc-linux boxes support dynamic linking these days and
15671 # people can always --disable-shared, the test was removed, and we
15672 # assume the GNU/Linux dynamic linker is in use.
15673 dynamic_linker
='GNU/Linux ld.so'
15680 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15682 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15683 dynamic_linker
='NetBSD (a.out) ld.so'
15685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15686 soname_spec
='${libname}${release}${shared_ext}$major'
15687 dynamic_linker
='NetBSD ld.elf_so'
15689 shlibpath_var
=LD_LIBRARY_PATH
15690 shlibpath_overrides_runpath
=yes
15691 hardcode_into_libs
=yes
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 shlibpath_var
=LD_LIBRARY_PATH
15698 shlibpath_overrides_runpath
=yes
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 soname_spec
='${libname}${release}${shared_ext}$major'
15707 shlibpath_var
=LD_LIBRARY_PATH
15708 shlibpath_overrides_runpath
=yes
15713 sys_lib_dlsearch_path_spec
="/usr/lib"
15715 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15717 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15718 *) need_version
=no
;;
15720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15725 openbsd2.
[89] | openbsd2.
[89].
*)
15726 shlibpath_overrides_runpath
=no
15729 shlibpath_overrides_runpath
=yes
15733 shlibpath_overrides_runpath
=yes
15738 libname_spec
='$name'
15741 library_names_spec
='$libname${shared_ext} $libname.a'
15742 dynamic_linker
='OS/2 ld.exe'
15743 shlibpath_var
=LIBPATH
15746 osf3
* | osf4
* | osf5
*)
15750 soname_spec
='${libname}${release}${shared_ext}$major'
15751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15752 shlibpath_var
=LD_LIBRARY_PATH
15753 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15754 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15766 soname_spec
='${libname}${release}${shared_ext}$major'
15767 shlibpath_var
=LD_LIBRARY_PATH
15768 shlibpath_overrides_runpath
=yes
15769 hardcode_into_libs
=yes
15770 # ldd complains unless libraries are executable
15771 postinstall_cmds
='chmod +x $lib'
15776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15777 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15778 shlibpath_var
=LD_LIBRARY_PATH
15779 shlibpath_overrides_runpath
=yes
15780 if test "$with_gnu_ld" = yes; then
15788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15789 soname_spec
='${libname}${release}${shared_ext}$major'
15790 shlibpath_var
=LD_LIBRARY_PATH
15791 case $host_vendor in
15793 shlibpath_overrides_runpath
=no
15795 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15796 runpath_var
=LD_RUN_PATH
15804 shlibpath_overrides_runpath
=no
15805 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15811 if test -d /usr
/nec
;then
15813 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15814 soname_spec
='$libname${shared_ext}.$major'
15815 shlibpath_var
=LD_LIBRARY_PATH
15819 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15820 version_type
=freebsd-elf
15823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15824 soname_spec
='${libname}${release}${shared_ext}$major'
15825 shlibpath_var
=LD_LIBRARY_PATH
15826 hardcode_into_libs
=yes
15827 if test "$with_gnu_ld" = yes; then
15828 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15829 shlibpath_overrides_runpath
=no
15831 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15832 shlibpath_overrides_runpath
=yes
15835 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15839 sys_lib_dlsearch_path_spec
='/usr/lib'
15844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15845 soname_spec
='${libname}${release}${shared_ext}$major'
15846 shlibpath_var
=LD_LIBRARY_PATH
15853 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15854 echo "${ECHO_T}$dynamic_linker" >&6; }
15855 test "$dynamic_linker" = no
&& can_build_shared
=no
15857 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15858 if test "$GCC" = yes; then
15859 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15862 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15863 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15864 hardcode_action_F77
=
15865 if test -n "$hardcode_libdir_flag_spec_F77" || \
15866 test -n "$runpath_var_F77" || \
15867 test "X$hardcode_automatic_F77" = "Xyes" ; then
15869 # We can hardcode non-existant directories.
15870 if test "$hardcode_direct_F77" != no
&&
15871 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15872 # have to relink, otherwise we might link with an installed library
15873 # when we should be linking with a yet-to-be-installed one
15874 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15875 test "$hardcode_minus_L_F77" != no
; then
15876 # Linking always hardcodes the temporary library directory.
15877 hardcode_action_F77
=relink
15879 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15880 hardcode_action_F77
=immediate
15883 # We cannot hardcode anything, or else we can only hardcode existing
15885 hardcode_action_F77
=unsupported
15887 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15888 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15890 if test "$hardcode_action_F77" = relink
; then
15891 # Fast installation is not supported
15892 enable_fast_install
=no
15893 elif test "$shlibpath_overrides_runpath" = yes ||
15894 test "$enable_shared" = no
; then
15895 # Fast installation is not necessary
15896 enable_fast_install
=needless
15900 # The else clause should only fire when bootstrapping the
15901 # libtool distribution, otherwise you forgot to ship ltmain.sh
15902 # with your package, and you will get complaints that there are
15903 # no rules to generate ltmain.sh.
15904 if test -f "$ltmain"; then
15905 # See if we are running on zsh, and set the options which allow our commands through
15906 # without removal of \ escapes.
15907 if test -n "${ZSH_VERSION+set}" ; then
15908 setopt NO_GLOB_SUBST
15910 # Now quote all the things that may contain metacharacters while being
15911 # careful not to overquote the AC_SUBSTed values. We take copies of the
15912 # variables and quote the copies for generation of the libtool script.
15913 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15915 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15916 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15917 deplibs_check_method reload_flag reload_cmds need_locks \
15918 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15919 lt_cv_sys_global_symbol_to_c_name_address \
15920 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15921 old_postinstall_cmds old_postuninstall_cmds \
15925 lt_prog_compiler_wl_F77 \
15926 lt_prog_compiler_pic_F77 \
15927 lt_prog_compiler_static_F77 \
15928 lt_prog_compiler_no_builtin_flag_F77 \
15929 export_dynamic_flag_spec_F77 \
15930 thread_safe_flag_spec_F77 \
15931 whole_archive_flag_spec_F77 \
15932 enable_shared_with_static_runtimes_F77 \
15933 old_archive_cmds_F77 \
15934 old_archive_from_new_cmds_F77 \
15935 predep_objects_F77 \
15936 postdep_objects_F77 \
15939 compiler_lib_search_path_F77 \
15941 archive_expsym_cmds_F77 \
15942 postinstall_cmds_F77 \
15943 postuninstall_cmds_F77 \
15944 old_archive_from_expsyms_cmds_F77 \
15945 allow_undefined_flag_F77 \
15946 no_undefined_flag_F77 \
15947 export_symbols_cmds_F77 \
15948 hardcode_libdir_flag_spec_F77 \
15949 hardcode_libdir_flag_spec_ld_F77 \
15950 hardcode_libdir_separator_F77 \
15951 hardcode_automatic_F77 \
15953 module_expsym_cmds_F77 \
15954 lt_cv_prog_compiler_c_o_F77 \
15955 fix_srcfile_path_F77 \
15956 exclude_expsyms_F77 \
15957 include_expsyms_F77
; do
15960 old_archive_cmds_F77 | \
15961 old_archive_from_new_cmds_F77 | \
15962 archive_cmds_F77 | \
15963 archive_expsym_cmds_F77 | \
15964 module_cmds_F77 | \
15965 module_expsym_cmds_F77 | \
15966 old_archive_from_expsyms_cmds_F77 | \
15967 export_symbols_cmds_F77 | \
15968 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15969 postinstall_cmds | postuninstall_cmds | \
15970 old_postinstall_cmds | old_postuninstall_cmds | \
15971 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15972 # Double-quote double-evaled strings.
15973 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15976 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15982 *'\$0 --fallback-echo"')
15983 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15989 cat <<__EOF__ >> "$cfgfile"
15990 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15992 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15994 # Shell to use when invoking shell scripts.
15997 # Whether or not to build shared libraries.
15998 build_libtool_libs=$enable_shared
16000 # Whether or not to build static libraries.
16001 build_old_libs=$enable_static
16003 # Whether or not to add -lc for building shared libraries.
16004 build_libtool_need_lc=$archive_cmds_need_lc_F77
16006 # Whether or not to disallow shared libs when runtime libs are static
16007 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16009 # Whether or not to optimize for fast installation.
16010 fast_install=$enable_fast_install
16013 host_alias=$host_alias
16017 # The build system.
16018 build_alias=$build_alias
16022 # An echo program that does not interpret backslashes.
16027 AR_FLAGS=$lt_AR_FLAGS
16032 # LTCC compiler flags.
16033 LTCFLAGS=$lt_LTCFLAGS
16035 # A language-specific compiler.
16036 CC=$lt_compiler_F77
16038 # Is the compiler the GNU C compiler?
16044 # The linker used to build libraries.
16047 # Whether we need hard or soft links.
16050 # A BSD-compatible nm program.
16053 # A symbol stripping program
16056 # Used to examine libraries when file_magic_cmd begins "file"
16057 MAGIC_CMD=$MAGIC_CMD
16059 # Used on cygwin: DLL creation program.
16062 # Used on cygwin: object dumper.
16065 # Used on cygwin: assembler.
16068 # The name of the directory that contains temporary libtool files.
16071 # How to create reloadable object files.
16072 reload_flag=$lt_reload_flag
16073 reload_cmds=$lt_reload_cmds
16075 # How to pass a linker flag through the compiler.
16076 wl=$lt_lt_prog_compiler_wl_F77
16078 # Object file suffix (normally "o").
16079 objext="$ac_objext"
16081 # Old archive suffix (normally "a").
16084 # Shared library suffix (normally ".so").
16085 shrext_cmds='$shrext_cmds'
16087 # Executable file suffix (normally "").
16090 # Additional compiler flags for building library objects.
16091 pic_flag=$lt_lt_prog_compiler_pic_F77
16094 # What is the maximum length of a command?
16095 max_cmd_len=$lt_cv_sys_max_cmd_len
16097 # Does compiler simultaneously support -c and -o options?
16098 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16100 # Must we lock files when doing compilation?
16101 need_locks=$lt_need_locks
16103 # Do we need the lib prefix for modules?
16104 need_lib_prefix=$need_lib_prefix
16106 # Do we need a version for libraries?
16107 need_version=$need_version
16109 # Whether dlopen is supported.
16110 dlopen_support=$enable_dlopen
16112 # Whether dlopen of programs is supported.
16113 dlopen_self=$enable_dlopen_self
16115 # Whether dlopen of statically linked programs is supported.
16116 dlopen_self_static=$enable_dlopen_self_static
16118 # Compiler flag to prevent dynamic linking.
16119 link_static_flag=$lt_lt_prog_compiler_static_F77
16121 # Compiler flag to turn off builtin functions.
16122 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16124 # Compiler flag to allow reflexive dlopens.
16125 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16127 # Compiler flag to generate shared objects directly from archives.
16128 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16130 # Compiler flag to generate thread-safe objects.
16131 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16133 # Library versioning type.
16134 version_type=$version_type
16136 # Format of library name prefix.
16137 libname_spec=$lt_libname_spec
16139 # List of archive names. First name is the real one, the rest are links.
16140 # The last name is the one that the linker finds with -lNAME.
16141 library_names_spec=$lt_library_names_spec
16143 # The coded name of the library, if different from the real name.
16144 soname_spec=$lt_soname_spec
16146 # Commands used to build and install an old-style archive.
16148 old_archive_cmds=$lt_old_archive_cmds_F77
16149 old_postinstall_cmds=$lt_old_postinstall_cmds
16150 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16152 # Create an old-style archive from a shared archive.
16153 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16155 # Create a temporary old-style archive to link instead of a shared archive.
16156 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16158 # Commands used to build and install a shared archive.
16159 archive_cmds=$lt_archive_cmds_F77
16160 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16161 postinstall_cmds=$lt_postinstall_cmds
16162 postuninstall_cmds=$lt_postuninstall_cmds
16164 # Commands used to build a loadable module (assumed same as above if empty)
16165 module_cmds=$lt_module_cmds_F77
16166 module_expsym_cmds=$lt_module_expsym_cmds_F77
16168 # Commands to strip libraries.
16169 old_striplib=$lt_old_striplib
16170 striplib=$lt_striplib
16172 # Dependencies to place before the objects being linked to create a
16174 predep_objects=$lt_predep_objects_F77
16176 # Dependencies to place after the objects being linked to create a
16178 postdep_objects=$lt_postdep_objects_F77
16180 # Dependencies to place before the objects being linked to create a
16182 predeps=$lt_predeps_F77
16184 # Dependencies to place after the objects being linked to create a
16186 postdeps=$lt_postdeps_F77
16188 # The library search path used internally by the compiler when linking
16189 # a shared library.
16190 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16192 # Method to check whether dependent libraries are shared objects.
16193 deplibs_check_method=$lt_deplibs_check_method
16195 # Command to use when deplibs_check_method == file_magic.
16196 file_magic_cmd=$lt_file_magic_cmd
16198 # Flag that allows shared libraries with undefined symbols to be built.
16199 allow_undefined_flag=$lt_allow_undefined_flag_F77
16201 # Flag that forces no undefined symbols.
16202 no_undefined_flag=$lt_no_undefined_flag_F77
16204 # Commands used to finish a libtool library installation in a directory.
16205 finish_cmds=$lt_finish_cmds
16207 # Same as above, but a single script fragment to be evaled but not shown.
16208 finish_eval=$lt_finish_eval
16210 # Take the output of nm and produce a listing of raw symbols and C names.
16211 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16213 # Transform the output of nm in a proper C declaration
16214 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16216 # Transform the output of nm in a C name address pair
16217 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16219 # This is the shared library runtime path variable.
16220 runpath_var=$runpath_var
16222 # This is the shared library path variable.
16223 shlibpath_var=$shlibpath_var
16225 # Is shlibpath searched before the hard-coded library search path?
16226 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16228 # How to hardcode a shared library path into an executable.
16229 hardcode_action=$hardcode_action_F77
16231 # Whether we should hardcode library paths into libraries.
16232 hardcode_into_libs=$hardcode_into_libs
16234 # Flag to hardcode \$libdir into a binary during linking.
16235 # This must work even if \$libdir does not exist.
16236 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16238 # If ld is used when linking, flag to hardcode \$libdir into
16239 # a binary during linking. This must work even if \$libdir does
16241 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16243 # Whether we need a single -rpath flag with a separated argument.
16244 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16246 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16247 # resulting binary.
16248 hardcode_direct=$hardcode_direct_F77
16250 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16251 # resulting binary.
16252 hardcode_minus_L=$hardcode_minus_L_F77
16254 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16255 # the resulting binary.
16256 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16258 # Set to yes if building a shared library automatically hardcodes DIR into the library
16259 # and all subsequent libraries and executables linked against it.
16260 hardcode_automatic=$hardcode_automatic_F77
16262 # Variables whose values should be saved in libtool wrapper scripts and
16263 # restored at relink time.
16264 variables_saved_for_relink="$variables_saved_for_relink"
16266 # Whether libtool must link a program against all its dependency libraries.
16267 link_all_deplibs=$link_all_deplibs_F77
16269 # Compile-time system search path for libraries
16270 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16272 # Run-time system search path for libraries
16273 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16275 # Fix the shell variable \$srcfile for the compiler.
16276 fix_srcfile_path=$lt_fix_srcfile_path
16278 # Set to yes if exported symbols are required.
16279 always_export_symbols=$always_export_symbols_F77
16281 # The commands to list exported symbols.
16282 export_symbols_cmds=$lt_export_symbols_cmds_F77
16284 # The commands to extract the exported symbol list from a shared archive.
16285 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16287 # Symbols that should not be listed in the preloaded symbols.
16288 exclude_expsyms=$lt_exclude_expsyms_F77
16290 # Symbols that must always be exported.
16291 include_expsyms=$lt_include_expsyms_F77
16293 # ### END LIBTOOL TAG CONFIG: $tagname
16299 # If there is no Makefile yet, we rely on a make rule to execute
16300 # `config.status --recheck' to rerun these tests and create the
16301 # libtool script then.
16302 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16303 if test -f "$ltmain_in"; then
16304 test -f Makefile
&& make "$ltmain"
16310 ac_cpp
='$CPP $CPPFLAGS'
16311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16323 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16326 # Source file extension for Java test sources.
16329 # Object file extension for compiled Java test sources.
16333 # Code to be used in simple compile tests
16334 lt_simple_compile_test_code
="class foo {}"
16336 # Code to be used in simple link tests
16337 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16339 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16341 # If no C compiler was specified, use CC.
16344 # If no C compiler flags were specified, use CFLAGS.
16345 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16347 # Allow CC to be a program name with arguments.
16351 # save warnings/boilerplate of simple test code
16352 ac_outfile
=conftest.
$ac_objext
16353 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16354 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16355 _lt_compiler_boilerplate
=`cat conftest.err`
16358 ac_outfile
=conftest.
$ac_objext
16359 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16360 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16361 _lt_linker_boilerplate
=`cat conftest.err`
16365 # Allow CC to be a program name with arguments.
16370 for cc_temp
in $compiler""; do
16372 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16373 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16378 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16381 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16382 archive_cmds_need_lc_GCJ
=no
16384 old_archive_cmds_GCJ
=$old_archive_cmds
16387 lt_prog_compiler_no_builtin_flag_GCJ
=
16389 if test "$GCC" = yes; then
16390 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16393 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16394 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16395 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 lt_cv_prog_compiler_rtti_exceptions
=no
16399 ac_outfile
=conftest.
$ac_objext
16400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16401 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16402 # Insert the option either (1) after the last *FLAGS variable, or
16403 # (2) before a word containing "conftest.", or (3) at the end.
16404 # Note that $ac_compile itself does not contain backslashes and begins
16405 # with a dollar sign (not a hyphen), so the echo should work correctly.
16406 # The option is referenced via a variable to avoid confusing sed.
16407 lt_compile
=`echo "$ac_compile" | $SED \
16408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16410 -e 's:$: $lt_compiler_flag:'`
16411 (eval echo "\"\$as_me:16411: $lt_compile\"" >&5)
16412 (eval "$lt_compile" 2>conftest.err
)
16414 cat conftest.err
>&5
16415 echo "$as_me:16415: \$? = $ac_status" >&5
16416 if (exit $ac_status) && test -s "$ac_outfile"; then
16417 # The compiler can only warn and ignore the option if not recognized
16418 # So say no if there are warnings other than the usual output.
16419 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16420 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16421 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16422 lt_cv_prog_compiler_rtti_exceptions
=yes
16428 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16429 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16431 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16432 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16439 lt_prog_compiler_wl_GCJ
=
16440 lt_prog_compiler_pic_GCJ
=
16441 lt_prog_compiler_static_GCJ
=
16443 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16444 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16446 if test "$GCC" = yes; then
16447 lt_prog_compiler_wl_GCJ
='-Wl,'
16448 lt_prog_compiler_static_GCJ
='-static'
16452 # All AIX code is PIC.
16453 if test "$host_cpu" = ia64
; then
16454 # AIX 5 now supports IA64 processor
16455 lt_prog_compiler_static_GCJ
='-Bstatic'
16460 # FIXME: we need at least 68020 code to build shared libraries, but
16461 # adding the `-m68020' flag to GCC prevents building anything better,
16463 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16466 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16467 # PIC is the default for these OSes.
16470 mingw
* | cygwin
* | pw32
* | os2
*)
16471 # This hack is so that the source file can tell whether it is being
16472 # built for inclusion in a dll (and should export symbols for example).
16473 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16474 # (--disable-auto-import) libraries
16475 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16478 darwin
* | rhapsody
*)
16479 # PIC is the default on this platform
16480 # Common symbols not allowed in MH_DYLIB files
16481 lt_prog_compiler_pic_GCJ
='-fno-common'
16485 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16486 # Instead, we relocate shared libraries at runtime.
16490 # Just because we use GCC doesn't mean we suddenly get shared libraries
16491 # on systems that don't support them.
16492 lt_prog_compiler_can_build_shared_GCJ
=no
16497 if test -d /usr
/nec
; then
16498 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16503 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16504 # not for PA HP-UX.
16510 lt_prog_compiler_pic_GCJ
='-fPIC'
16516 lt_prog_compiler_pic_GCJ
='-fPIC'
16520 # PORTME Check for flag to pass linker flags through the system compiler.
16523 lt_prog_compiler_wl_GCJ
='-Wl,'
16524 if test "$host_cpu" = ia64
; then
16525 # AIX 5 now supports IA64 processor
16526 lt_prog_compiler_static_GCJ
='-Bstatic'
16528 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16532 # PIC is the default on this platform
16533 # Common symbols not allowed in MH_DYLIB files
16534 case $cc_basename in
16536 lt_prog_compiler_pic_GCJ
='-qnocommon'
16537 lt_prog_compiler_wl_GCJ
='-Wl,'
16542 mingw
* | cygwin
* | pw32
* | os2
*)
16543 # This hack is so that the source file can tell whether it is being
16544 # built for inclusion in a dll (and should export symbols for example).
16545 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16548 hpux9
* | hpux10
* | hpux11
*)
16549 lt_prog_compiler_wl_GCJ
='-Wl,'
16550 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16551 # not for PA HP-UX.
16557 lt_prog_compiler_pic_GCJ
='+Z'
16560 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16561 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16564 irix5
* | irix6
* | nonstopux
*)
16565 lt_prog_compiler_wl_GCJ
='-Wl,'
16566 # PIC (with -KPIC) is the default.
16567 lt_prog_compiler_static_GCJ
='-non_shared'
16571 lt_prog_compiler_pic_GCJ
='-KPIC'
16572 lt_prog_compiler_static_GCJ
='-Bstatic'
16575 linux
* | k
*bsd
*-gnu)
16576 case $cc_basename in
16578 lt_prog_compiler_wl_GCJ
='-Wl,'
16579 lt_prog_compiler_pic_GCJ
='-KPIC'
16580 lt_prog_compiler_static_GCJ
='-static'
16582 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16583 # Portland Group compilers (*not* the Pentium gcc compiler,
16584 # which looks to be a dead project)
16585 lt_prog_compiler_wl_GCJ
='-Wl,'
16586 lt_prog_compiler_pic_GCJ
='-fpic'
16587 lt_prog_compiler_static_GCJ
='-Bstatic'
16590 lt_prog_compiler_wl_GCJ
='-Wl,'
16591 # All Alpha code is PIC.
16592 lt_prog_compiler_static_GCJ
='-non_shared'
16595 case `$CC -V 2>&1 | sed 5q` in
16598 lt_prog_compiler_pic_GCJ
='-KPIC'
16599 lt_prog_compiler_static_GCJ
='-Bstatic'
16600 lt_prog_compiler_wl_GCJ
='-Wl,'
16603 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16604 lt_prog_compiler_pic_GCJ
='-KPIC'
16605 lt_prog_compiler_static_GCJ
='-Bstatic'
16606 lt_prog_compiler_wl_GCJ
=''
16613 osf3
* | osf4
* | osf5
*)
16614 lt_prog_compiler_wl_GCJ
='-Wl,'
16615 # All OSF/1 code is PIC.
16616 lt_prog_compiler_static_GCJ
='-non_shared'
16620 lt_prog_compiler_static_GCJ
='-non_shared'
16624 lt_prog_compiler_pic_GCJ
='-KPIC'
16625 lt_prog_compiler_static_GCJ
='-Bstatic'
16626 case $cc_basename in
16627 f77
* | f90
* | f95
*)
16628 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16630 lt_prog_compiler_wl_GCJ
='-Wl,';;
16635 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16636 lt_prog_compiler_pic_GCJ
='-PIC'
16637 lt_prog_compiler_static_GCJ
='-Bstatic'
16640 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16641 lt_prog_compiler_wl_GCJ
='-Wl,'
16642 lt_prog_compiler_pic_GCJ
='-KPIC'
16643 lt_prog_compiler_static_GCJ
='-Bstatic'
16647 if test -d /usr
/nec
;then
16648 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16649 lt_prog_compiler_static_GCJ
='-Bstatic'
16653 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16654 lt_prog_compiler_wl_GCJ
='-Wl,'
16655 lt_prog_compiler_pic_GCJ
='-KPIC'
16656 lt_prog_compiler_static_GCJ
='-Bstatic'
16660 lt_prog_compiler_wl_GCJ
='-Wl,'
16661 lt_prog_compiler_can_build_shared_GCJ
=no
16665 lt_prog_compiler_pic_GCJ
='-pic'
16666 lt_prog_compiler_static_GCJ
='-Bstatic'
16670 lt_prog_compiler_can_build_shared_GCJ
=no
16675 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16676 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16679 # Check to make sure the PIC flag actually works.
16681 if test -n "$lt_prog_compiler_pic_GCJ"; then
16683 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16684 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16685 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 lt_prog_compiler_pic_works_GCJ
=no
16689 ac_outfile
=conftest.
$ac_objext
16690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16691 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16692 # Insert the option either (1) after the last *FLAGS variable, or
16693 # (2) before a word containing "conftest.", or (3) at the end.
16694 # Note that $ac_compile itself does not contain backslashes and begins
16695 # with a dollar sign (not a hyphen), so the echo should work correctly.
16696 # The option is referenced via a variable to avoid confusing sed.
16697 lt_compile
=`echo "$ac_compile" | $SED \
16698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16700 -e 's:$: $lt_compiler_flag:'`
16701 (eval echo "\"\$as_me:16701: $lt_compile\"" >&5)
16702 (eval "$lt_compile" 2>conftest.err
)
16704 cat conftest.err
>&5
16705 echo "$as_me:16705: \$? = $ac_status" >&5
16706 if (exit $ac_status) && test -s "$ac_outfile"; then
16707 # The compiler can only warn and ignore the option if not recognized
16708 # So say no if there are warnings other than the usual output.
16709 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16712 lt_prog_compiler_pic_works_GCJ
=yes
16718 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16719 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16721 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16722 case $lt_prog_compiler_pic_GCJ in
16724 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16727 lt_prog_compiler_pic_GCJ
=
16728 lt_prog_compiler_can_build_shared_GCJ
=no
16733 # For platforms which do not support PIC, -DPIC is meaningless:
16735 lt_prog_compiler_pic_GCJ
=
16738 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16743 # Check to make sure the static flag actually works.
16745 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16746 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16747 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16748 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 lt_prog_compiler_static_works_GCJ
=no
16752 save_LDFLAGS
="$LDFLAGS"
16753 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16754 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16755 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16756 # The linker can only warn and ignore the option if not recognized
16757 # So say no if there are warnings
16758 if test -s conftest.err
; then
16759 # Append any errors to the config.log.
16760 cat conftest.err
1>&5
16761 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16762 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16763 if diff conftest.exp conftest.er2
>/dev
/null
; then
16764 lt_prog_compiler_static_works_GCJ
=yes
16767 lt_prog_compiler_static_works_GCJ
=yes
16771 LDFLAGS
="$save_LDFLAGS"
16774 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16775 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16777 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16780 lt_prog_compiler_static_GCJ
=
16784 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16785 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16786 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 lt_cv_prog_compiler_c_o_GCJ
=no
16790 $rm -r conftest
2>/dev
/null
16794 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16796 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16797 # Insert the option either (1) after the last *FLAGS variable, or
16798 # (2) before a word containing "conftest.", or (3) at the end.
16799 # Note that $ac_compile itself does not contain backslashes and begins
16800 # with a dollar sign (not a hyphen), so the echo should work correctly.
16801 lt_compile
=`echo "$ac_compile" | $SED \
16802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16804 -e 's:$: $lt_compiler_flag:'`
16805 (eval echo "\"\$as_me:16805: $lt_compile\"" >&5)
16806 (eval "$lt_compile" 2>out
/conftest.err
)
16808 cat out
/conftest.err
>&5
16809 echo "$as_me:16809: \$? = $ac_status" >&5
16810 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16812 # The compiler can only warn and ignore the option if not recognized
16813 # So say no if there are warnings
16814 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16815 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16816 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16817 lt_cv_prog_compiler_c_o_GCJ
=yes
16822 # SGI C++ compiler will create directory out/ii_files/ for
16823 # template instantiation
16824 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16825 $rm out
/* && rmdir out
16831 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16832 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16835 hard_links
="nottested"
16836 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16837 # do not overwrite the value of need_locks provided by the user
16838 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16839 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16842 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16844 ln conftest.a conftest.b
2>&5 || hard_links
=no
16845 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16846 { echo "$as_me:$LINENO: result: $hard_links" >&5
16847 echo "${ECHO_T}$hard_links" >&6; }
16848 if test "$hard_links" = no
; then
16849 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16850 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16857 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16858 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16861 allow_undefined_flag_GCJ
=
16862 enable_shared_with_static_runtimes_GCJ
=no
16864 archive_expsym_cmds_GCJ
=
16865 old_archive_From_new_cmds_GCJ
=
16866 old_archive_from_expsyms_cmds_GCJ
=
16867 export_dynamic_flag_spec_GCJ
=
16868 whole_archive_flag_spec_GCJ
=
16869 thread_safe_flag_spec_GCJ
=
16870 hardcode_libdir_flag_spec_GCJ
=
16871 hardcode_libdir_flag_spec_ld_GCJ
=
16872 hardcode_libdir_separator_GCJ
=
16873 hardcode_direct_GCJ
=no
16874 hardcode_minus_L_GCJ
=no
16875 hardcode_shlibpath_var_GCJ
=unsupported
16876 link_all_deplibs_GCJ
=unknown
16877 hardcode_automatic_GCJ
=no
16879 module_expsym_cmds_GCJ
=
16880 always_export_symbols_GCJ
=no
16881 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16882 # include_expsyms should be a list of space-separated symbols to be *always*
16883 # included in the symbol list
16884 include_expsyms_GCJ
=
16885 # exclude_expsyms can be an extended regexp of symbols to exclude
16886 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16887 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16888 # as well as any symbol that contains `d'.
16889 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16890 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16891 # platforms (ab)use it in PIC code, but their linkers get confused if
16892 # the symbol is explicitly referenced. Since portable code cannot
16893 # rely on this symbol name, it's probably fine to never include it in
16894 # preloaded symbol tables.
16895 extract_expsyms_cmds
=
16896 # Just being paranoid about ensuring that cc_basename is set.
16897 for cc_temp
in $compiler""; do
16899 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16900 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16905 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16908 cygwin
* | mingw
* | pw32
*)
16909 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16910 # When not using gcc, we currently assume that we are using
16911 # Microsoft Visual C++.
16912 if test "$GCC" != yes; then
16917 # we just hope/assume this is gcc and not c89 (= MSVC++)
16926 if test "$with_gnu_ld" = yes; then
16927 # If archive_cmds runs LD, not CC, wlarc should be empty
16930 # Set some defaults for GNU ld with shared library support. These
16931 # are reset later if shared libraries are not supported. Putting them
16932 # here allows them to be overridden if necessary.
16933 runpath_var
=LD_RUN_PATH
16934 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16935 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16936 # ancient GNU ld didn't support --whole-archive et. al.
16937 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16938 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16940 whole_archive_flag_spec_GCJ
=
16942 supports_anon_versioning
=no
16943 case `$LD -v 2>/dev/null` in
16944 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16945 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16946 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16947 *\
2.11.
*) ;; # other 2.11 versions
16948 *) supports_anon_versioning
=yes ;;
16951 # See if GNU ld supports shared libraries.
16953 aix3
* | aix4
* | aix5
*)
16954 # On AIX/PPC, the GNU linker is very broken
16955 if test "$host_cpu" != ia64
; then
16959 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16960 *** to be unable to reliably create shared libraries on AIX.
16961 *** Therefore, libtool is disabling shared libraries support. If you
16962 *** really care for shared libraries, you may want to modify your PATH
16963 *** so that a non-GNU linker is found, and then restart.
16970 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)'
16971 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16972 hardcode_minus_L_GCJ
=yes
16974 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16975 # that the semantics of dynamic libraries on AmigaOS, at least up
16976 # to version 4, is to share data among multiple programs linked
16977 # with the same dynamic library. Since this doesn't match the
16978 # behavior of shared libraries on other platforms, we can't use
16984 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16985 allow_undefined_flag_GCJ
=unsupported
16986 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16987 # support --undefined. This deserves some investigation. FIXME
16988 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16994 cygwin
* | mingw
* | pw32
*)
16995 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16996 # as there is no search path for DLLs.
16997 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16998 allow_undefined_flag_GCJ
=unsupported
16999 always_export_symbols_GCJ
=no
17000 enable_shared_with_static_runtimes_GCJ
=yes
17001 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17003 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17004 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17005 # If the export-symbols file already is a .def file (1st line
17006 # is EXPORTS), use it as is; otherwise, prepend...
17007 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17008 cp $export_symbols $output_objdir/$soname.def;
17010 echo EXPORTS > $output_objdir/$soname.def;
17011 cat $export_symbols >> $output_objdir/$soname.def;
17013 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17020 hardcode_direct_GCJ
=no
17021 hardcode_shlibpath_var_GCJ
=no
17022 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17023 export_dynamic_flag_spec_GCJ
='${wl}-E'
17024 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17025 # Instead, shared libraries are loaded at an image base (0x10000000 by
17026 # default) and relocated if they conflict, which is a slow very memory
17027 # consuming and fragmenting process. To avoid this, we pick a random,
17028 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17029 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17030 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'
17031 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'
17034 gnu
* | linux
* | k
*bsd
*-gnu)
17035 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17037 case $cc_basename,$host_cpu in
17038 pgcc
*) # Portland Group C compiler
17039 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'
17040 tmp_addflag
=' $pic_flag'
17042 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17043 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'
17044 tmp_addflag
=' $pic_flag -Mnomain' ;;
17045 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17046 tmp_addflag
=' -i_dynamic' ;;
17047 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17048 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17049 ifc
* | ifort
*) # Intel Fortran compiler
17050 tmp_addflag
=' -nofor_main' ;;
17052 case `$CC -V 2>&1 | sed 5q` in
17053 *Sun\ C
*) # Sun C 5.9
17054 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17055 tmp_sharedflag
='-G' ;;
17056 *Sun\ F
*) # Sun Fortran 8.3
17057 tmp_sharedflag
='-G' ;;
17059 tmp_sharedflag
='-shared' ;;
17061 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17063 if test $supports_anon_versioning = yes; then
17064 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17065 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17066 $echo "local: *; };" >> $output_objdir/$libname.ver~
17067 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17075 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17076 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17079 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17080 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17085 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17089 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17090 *** create shared libraries on Solaris systems. Therefore, libtool
17091 *** is disabling shared libraries support. We urge you to upgrade GNU
17092 *** binutils to release 2.9.1 or newer. Another option is to modify
17093 *** your PATH or compiler configuration so that the native linker is
17094 *** used, and then restart.
17097 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17098 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17099 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17105 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17106 case `$LD -v 2>&1` in
17107 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17111 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17112 *** reliably create shared libraries on SCO systems. Therefore, libtool
17113 *** is disabling shared libraries support. We urge you to upgrade GNU
17114 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17115 *** your PATH or compiler configuration so that the native linker is
17116 *** used, and then restart.
17121 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17122 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17123 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17124 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17133 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17135 hardcode_direct_GCJ
=yes
17136 hardcode_shlibpath_var_GCJ
=no
17140 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17141 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17142 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17149 if test "$ld_shlibs_GCJ" = no
; then
17151 hardcode_libdir_flag_spec_GCJ
=
17152 export_dynamic_flag_spec_GCJ
=
17153 whole_archive_flag_spec_GCJ
=
17156 # PORTME fill in a description of your system's linker (not GNU ld)
17159 allow_undefined_flag_GCJ
=unsupported
17160 always_export_symbols_GCJ
=yes
17161 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'
17162 # Note: this linker hardcodes the directories in LIBPATH if there
17163 # are no directories specified by -L.
17164 hardcode_minus_L_GCJ
=yes
17165 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17166 # Neither direct hardcoding nor static linking is supported with a
17168 hardcode_direct_GCJ
=unsupported
17173 if test "$host_cpu" = ia64
; then
17174 # On IA64, the linker does run time linking by default, so we don't
17175 # have to do anything special.
17176 aix_use_runtimelinking
=no
17177 exp_sym_flag
='-Bexport'
17180 # If we're using GNU nm, then we don't want the "-C" option.
17181 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17182 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17183 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'
17185 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'
17187 aix_use_runtimelinking
=no
17189 # Test if we are trying to use run time linking or normal
17190 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17191 # need to do runtime linking.
17192 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17193 for ld_flag
in $LDFLAGS; do
17194 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17195 aix_use_runtimelinking
=yes
17202 exp_sym_flag
='-bexport'
17203 no_entry_flag
='-bnoentry'
17206 # When large executables or shared objects are built, AIX ld can
17207 # have problems creating the table of contents. If linking a library
17208 # or program results in "error TOC overflow" add -mminimal-toc to
17209 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17210 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17212 archive_cmds_GCJ
=''
17213 hardcode_direct_GCJ
=yes
17214 hardcode_libdir_separator_GCJ
=':'
17215 link_all_deplibs_GCJ
=yes
17217 if test "$GCC" = yes; then
17218 case $host_os in aix4.
[012]|aix4.
[012].
*)
17219 # We only want to do this on AIX 4.2 and lower, the check
17220 # below for broken collect2 doesn't work under 4.3+
17221 collect2name
=`${CC} -print-prog-name=collect2`
17222 if test -f "$collect2name" && \
17223 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17225 # We have reworked collect2
17228 # We have old collect2
17229 hardcode_direct_GCJ
=unsupported
17230 # It fails to find uninstalled libraries when the uninstalled
17231 # path is not listed in the libpath. Setting hardcode_minus_L
17232 # to unsupported forces relinking
17233 hardcode_minus_L_GCJ
=yes
17234 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17235 hardcode_libdir_separator_GCJ
=
17239 shared_flag
='-shared'
17240 if test "$aix_use_runtimelinking" = yes; then
17241 shared_flag
="$shared_flag "'${wl}-G'
17245 if test "$host_cpu" = ia64
; then
17246 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17247 # chokes on -Wl,-G. The following line is correct:
17250 if test "$aix_use_runtimelinking" = yes; then
17251 shared_flag
='${wl}-G'
17253 shared_flag
='${wl}-bM:SRE'
17258 # It seems that -bexpall does not export symbols beginning with
17259 # underscore (_), so it is better to generate a list of symbols to export.
17260 always_export_symbols_GCJ
=yes
17261 if test "$aix_use_runtimelinking" = yes; then
17262 # Warning - without using the other runtime loading flags (-brtl),
17263 # -berok will link without error, but may produce a broken library.
17264 allow_undefined_flag_GCJ
='-berok'
17265 # Determine the default libpath from the value encoded in an empty executable.
17266 cat >conftest.
$ac_ext <<_ACEOF
17269 cat confdefs.h
>>conftest.
$ac_ext
17270 cat >>conftest.
$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17281 rm -f conftest.
$ac_objext conftest
$ac_exeext
17282 if { (ac_try
="$ac_link"
17283 case "(($ac_try" in
17284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17285 *) ac_try_echo=$ac_try;;
17287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17288 (eval "$ac_link") 2>conftest.er1
17290 grep -v '^ *+' conftest.er1 >conftest.err
17292 cat conftest.err >&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } && {
17295 test -z "$ac_c_werror_flag" ||
17296 test ! -s conftest.err
17297 } && test -s conftest$ac_exeext &&
17298 $as_test_x conftest$ac_exeext; then
17300 lt_aix_libpath_sed='
17301 /Import File Strings/,/^$/ {
17307 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17308 # Check for a 64-bit object if we didn't find anything.
17309 if test -z "$aix_libpath"; then
17310 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17320 conftest$ac_exeext conftest.$ac_ext
17321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17323 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17324 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"
17326 if test "$host_cpu" = ia64; then
17327 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17328 allow_undefined_flag_GCJ="-z nodefs"
17329 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"
17331 # Determine the default libpath from the value encoded in an empty executable.
17332 cat >conftest.$ac_ext <<_ACEOF
17335 cat confdefs.h >>conftest.$ac_ext
17336 cat >>conftest.$ac_ext <<_ACEOF
17337 /* end confdefs.h. */
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (ac_try="$ac_link"
17349 case "(($ac_try" in
17350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17351 *) ac_try_echo
=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_link") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_c_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest
$ac_exeext &&
17364 $as_test_x conftest
$ac_exeext; then
17366 lt_aix_libpath_sed
='
17367 /Import File Strings/,/^$/ {
17373 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17374 # Check for a 64-bit object if we didn't find anything.
17375 if test -z "$aix_libpath"; then
17376 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.
$ac_ext >&5
17385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17386 conftest
$ac_exeext conftest.
$ac_ext
17387 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17389 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17390 # Warning - without using the other run time loading flags,
17391 # -berok will link without error, but may produce a broken library.
17392 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17393 allow_undefined_flag_GCJ
=' ${wl}-berok'
17394 # Exported symbols can be pulled into shared objects from archives
17395 whole_archive_flag_spec_GCJ
='$convenience'
17396 archive_cmds_need_lc_GCJ
=yes
17397 # This is similar to how AIX traditionally builds its shared libraries.
17398 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'
17404 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)'
17405 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17406 hardcode_minus_L_GCJ
=yes
17407 # see comment about different semantics on the GNU ld section
17412 export_dynamic_flag_spec_GCJ
=-rdynamic
17415 cygwin
* | mingw
* | pw32
*)
17416 # When not using gcc, we currently assume that we are using
17417 # Microsoft Visual C++.
17418 # hardcode_libdir_flag_spec is actually meaningless, as there is
17419 # no search path for DLLs.
17420 hardcode_libdir_flag_spec_GCJ
=' '
17421 allow_undefined_flag_GCJ
=unsupported
17422 # Tell ltmain to make .lib files, not .a files.
17424 # Tell ltmain to make .dll files, not .so files.
17426 # FIXME: Setting linknames here is a bad hack.
17427 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17428 # The linker will automatically build a .lib file if we build a DLL.
17429 old_archive_From_new_cmds_GCJ
='true'
17430 # FIXME: Should let the user specify the lib program.
17431 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17432 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17433 enable_shared_with_static_runtimes_GCJ
=yes
17436 darwin
* | rhapsody
*)
17438 rhapsody
* | darwin1.
[012])
17439 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17442 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17443 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17445 case ${MACOSX_DEPLOYMENT_TARGET} in
17447 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17450 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17456 archive_cmds_need_lc_GCJ
=no
17457 hardcode_direct_GCJ
=no
17458 hardcode_automatic_GCJ
=yes
17459 hardcode_shlibpath_var_GCJ
=unsupported
17460 whole_archive_flag_spec_GCJ
=''
17461 link_all_deplibs_GCJ
=yes
17462 if test "$GCC" = yes ; then
17463 output_verbose_link_cmd
='echo'
17464 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17465 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17467 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}'
17468 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}'
17470 case $cc_basename in
17472 output_verbose_link_cmd
='echo'
17473 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17474 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17475 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17476 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17477 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}'
17487 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17488 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17489 hardcode_shlibpath_var_GCJ
=no
17496 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17497 # support. Future versions do this automatically, but an explicit c++rt0.o
17498 # does not break anything, and helps significantly (at the cost of a little
17501 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17502 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17503 hardcode_direct_GCJ
=yes
17504 hardcode_shlibpath_var_GCJ
=no
17507 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17509 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17510 hardcode_direct_GCJ
=yes
17511 hardcode_minus_L_GCJ
=yes
17512 hardcode_shlibpath_var_GCJ
=no
17515 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17516 freebsd
* | dragonfly
*)
17517 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17518 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17519 hardcode_direct_GCJ
=yes
17520 hardcode_shlibpath_var_GCJ
=no
17524 if test "$GCC" = yes; then
17525 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'
17527 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'
17529 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17530 hardcode_libdir_separator_GCJ
=:
17531 hardcode_direct_GCJ
=yes
17533 # hardcode_minus_L: Not really in the search PATH,
17534 # but as the default location of the library.
17535 hardcode_minus_L_GCJ
=yes
17536 export_dynamic_flag_spec_GCJ
='${wl}-E'
17540 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17541 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17543 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17545 if test "$with_gnu_ld" = no
; then
17546 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17547 hardcode_libdir_separator_GCJ
=:
17549 hardcode_direct_GCJ
=yes
17550 export_dynamic_flag_spec_GCJ
='${wl}-E'
17552 # hardcode_minus_L: Not really in the search PATH,
17553 # but as the default location of the library.
17554 hardcode_minus_L_GCJ
=yes
17559 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17562 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17565 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17568 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17574 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17577 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17580 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17584 if test "$with_gnu_ld" = no
; then
17585 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17586 hardcode_libdir_separator_GCJ
=:
17590 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17591 hardcode_direct_GCJ
=no
17592 hardcode_shlibpath_var_GCJ
=no
17595 hardcode_direct_GCJ
=yes
17596 export_dynamic_flag_spec_GCJ
='${wl}-E'
17598 # hardcode_minus_L: Not really in the search PATH,
17599 # but as the default location of the library.
17600 hardcode_minus_L_GCJ
=yes
17606 irix5
* | irix6
* | nonstopux
*)
17607 if test "$GCC" = yes; then
17608 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'
17610 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'
17611 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17613 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17614 hardcode_libdir_separator_GCJ
=:
17615 link_all_deplibs_GCJ
=yes
17619 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17620 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17622 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17624 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17625 hardcode_direct_GCJ
=yes
17626 hardcode_shlibpath_var_GCJ
=no
17630 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17631 hardcode_direct_GCJ
=yes
17632 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17633 hardcode_libdir_separator_GCJ
=:
17634 hardcode_shlibpath_var_GCJ
=no
17638 if test -f /usr
/libexec
/ld.so
; then
17639 hardcode_direct_GCJ
=yes
17640 hardcode_shlibpath_var_GCJ
=no
17641 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17642 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17643 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17644 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17645 export_dynamic_flag_spec_GCJ
='${wl}-E'
17648 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17649 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17650 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17653 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17654 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17664 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17665 hardcode_minus_L_GCJ
=yes
17666 allow_undefined_flag_GCJ
=unsupported
17667 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'
17668 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17672 if test "$GCC" = yes; then
17673 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17674 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'
17676 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17677 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'
17679 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17680 hardcode_libdir_separator_GCJ
=:
17683 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17684 if test "$GCC" = yes; then
17685 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17686 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'
17687 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17689 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17690 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'
17691 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~
17692 $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'
17694 # Both c and cxx compiler support -rpath directly
17695 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17697 hardcode_libdir_separator_GCJ
=:
17701 no_undefined_flag_GCJ
=' -z text'
17702 if test "$GCC" = yes; then
17704 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17705 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17706 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17709 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17710 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17711 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17713 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17714 hardcode_shlibpath_var_GCJ
=no
17716 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17718 # The compiler driver will combine and reorder linker options,
17719 # but understands `-z linker_flag'. GCC discards it without `$wl',
17720 # but is careful enough not to reorder.
17721 # Supported since Solaris 2.6 (maybe 2.5.1?)
17722 if test "$GCC" = yes; then
17723 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17725 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17729 link_all_deplibs_GCJ
=yes
17733 if test "x$host_vendor" = xsequent
; then
17734 # Use $CC to link under sequent, because it throws in some extra .o
17735 # files that make .init and .fini sections work.
17736 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17738 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17740 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17741 hardcode_direct_GCJ
=yes
17742 hardcode_minus_L_GCJ
=yes
17743 hardcode_shlibpath_var_GCJ
=no
17747 case $host_vendor in
17749 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17750 hardcode_direct_GCJ
=yes # is this really true???
17753 ## LD is ld it makes a PLAMLIB
17754 ## CC just makes a GrossModule.
17755 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17756 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17757 hardcode_direct_GCJ
=no
17760 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17761 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17764 runpath_var
='LD_RUN_PATH'
17765 hardcode_shlibpath_var_GCJ
=no
17769 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17770 hardcode_shlibpath_var_GCJ
=no
17771 export_dynamic_flag_spec_GCJ
='-Bexport'
17775 if test -d /usr
/nec
; then
17776 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17777 hardcode_shlibpath_var_GCJ
=no
17778 runpath_var
=LD_RUN_PATH
17779 hardcode_runpath_var
=yes
17784 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17785 no_undefined_flag_GCJ
='${wl}-z,text'
17786 archive_cmds_need_lc_GCJ
=no
17787 hardcode_shlibpath_var_GCJ
=no
17788 runpath_var
='LD_RUN_PATH'
17790 if test "$GCC" = yes; then
17791 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17792 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17794 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17795 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17799 sysv5
* | sco3.2v5
* | sco5v6
*)
17800 # Note: We can NOT use -z defs as we might desire, because we do not
17801 # link with -lc, and that would cause any symbols used from libc to
17802 # always be unresolved, which means just about no library would
17803 # ever link correctly. If we're not using GNU ld we use -z text
17804 # though, which does catch some bad symbols but isn't as heavy-handed
17806 no_undefined_flag_GCJ
='${wl}-z,text'
17807 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17808 archive_cmds_need_lc_GCJ
=no
17809 hardcode_shlibpath_var_GCJ
=no
17810 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17811 hardcode_libdir_separator_GCJ
=':'
17812 link_all_deplibs_GCJ
=yes
17813 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17814 runpath_var
='LD_RUN_PATH'
17816 if test "$GCC" = yes; then
17817 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17818 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17820 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17821 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17826 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17827 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17828 hardcode_shlibpath_var_GCJ
=no
17837 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17838 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17839 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17842 # Do we need to explicitly link libc?
17844 case "x$archive_cmds_need_lc_GCJ" in
17846 # Assume -lc should be added
17847 archive_cmds_need_lc_GCJ
=yes
17849 if test "$enable_shared" = yes && test "$GCC" = yes; then
17850 case $archive_cmds_GCJ in
17852 # FIXME: we may have to deal with multi-command sequences.
17855 # Test whether the compiler implicitly links with -lc since on some
17856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17857 # to ld, don't add -lc before -lgcc.
17858 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17859 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17864 (eval $ac_compile) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } 2>conftest.err
; then
17870 libobjs
=conftest.
$ac_objext
17872 wl
=$lt_prog_compiler_wl_GCJ
17873 pic_flag
=$lt_prog_compiler_pic_GCJ
17879 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17880 allow_undefined_flag_GCJ
=
17881 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17882 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }
17887 archive_cmds_need_lc_GCJ
=no
17889 archive_cmds_need_lc_GCJ
=yes
17891 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17893 cat conftest.err
1>&5
17896 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17897 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17904 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17905 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17906 library_names_spec
=
17907 libname_spec
='lib$name'
17911 postuninstall_cmds
=
17915 shlibpath_overrides_runpath
=unknown
17917 dynamic_linker
="$host_os ld.so"
17918 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17920 need_lib_prefix
=unknown
17921 hardcode_into_libs
=no
17923 # when you set need_version to no, make sure it does not cause -set_version
17924 # flags to be left without arguments
17925 need_version
=unknown
17930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17931 shlibpath_var
=LIBPATH
17933 # AIX 3 has no versioning support, so we append a major version to the name.
17934 soname_spec
='${libname}${release}${shared_ext}$major'
17941 hardcode_into_libs
=yes
17942 if test "$host_cpu" = ia64
; then
17943 # AIX 5 supports IA64
17944 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17945 shlibpath_var
=LD_LIBRARY_PATH
17947 # With GCC up to 2.95.x, collect2 would create an import file
17948 # for dependence libraries. The import file would start with
17949 # the line `#! .'. This would cause the generated library to
17950 # depend on `.', always an invalid library. This was fixed in
17951 # development snapshots of GCC prior to 3.0.
17953 aix4 | aix4.
[01] | aix4.
[01].
*)
17954 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17956 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17959 can_build_shared
=no
17963 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17964 # soname into executable. Probably we can add versioning support to
17965 # collect2, so additional links can be useful in future.
17966 if test "$aix_use_runtimelinking" = yes; then
17967 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17968 # instead of lib<name>.a to let people know that these are not
17969 # typical AIX shared libraries.
17970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17972 # We preserve .a as extension for shared libraries through AIX4.2
17973 # and later when we are not doing run time linking.
17974 library_names_spec
='${libname}${release}.a $libname.a'
17975 soname_spec
='${libname}${release}${shared_ext}$major'
17977 shlibpath_var
=LIBPATH
17982 library_names_spec
='$libname.ixlibrary $libname.a'
17983 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17984 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'
17988 library_names_spec
='${libname}${shared_ext}'
17989 dynamic_linker
="$host_os ld.so"
17990 shlibpath_var
=LIBRARY_PATH
17996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17997 soname_spec
='${libname}${release}${shared_ext}$major'
17998 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17999 shlibpath_var
=LD_LIBRARY_PATH
18000 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18001 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18002 # the default ld.so.conf also contains /usr/contrib/lib and
18003 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18004 # libtool to hard-code these into programs
18007 cygwin
* | mingw
* | pw32
*)
18008 version_type
=windows
18013 case $GCC,$host_os in
18014 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18015 library_names_spec
='$libname.dll.a'
18016 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18017 postinstall_cmds
='base_file=`basename \${file}`~
18018 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18019 dldir=$destdir/`dirname \$dlpath`~
18020 test -d \$dldir || mkdir -p \$dldir~
18021 $install_prog $dir/$dlname \$dldir/$dlname~
18022 chmod a+x \$dldir/$dlname'
18023 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18024 dlpath=$dir/\$dldll~
18026 shlibpath_overrides_runpath
=yes
18030 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18031 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18032 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18035 # MinGW DLLs use traditional 'lib' prefix
18036 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18037 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18038 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18039 # It is most probably a Windows format PATH printed by
18040 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18041 # path with ; separators, and with drive letters. We can handle the
18042 # drive letters (cygwin fileutils understands them), so leave them,
18043 # especially as we might pass files found there to a mingw objdump,
18044 # which wouldn't understand a cygwinified path. Ahh.
18045 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18047 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18051 # pw32 DLLs use 'pw' prefix rather than 'lib'
18052 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18058 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18061 dynamic_linker
='Win32 ld.exe'
18062 # FIXME: first we should search . and the directory the executable is in
18066 darwin
* | rhapsody
*)
18067 dynamic_linker
="$host_os dyld"
18068 version_type
=darwin
18071 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18072 soname_spec
='${libname}${release}${major}$shared_ext'
18073 shlibpath_overrides_runpath
=yes
18074 shlibpath_var
=DYLD_LIBRARY_PATH
18075 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18077 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18085 soname_spec
='${libname}${release}${shared_ext}$major'
18086 shlibpath_var
=LD_LIBRARY_PATH
18093 freebsd
* | dragonfly
*)
18094 # DragonFly does not have aout. When/if they implement a new
18095 # versioning mechanism, adjust this.
18096 if test -x /usr
/bin
/objformat
; then
18097 objformat
=`/usr/bin/objformat`
18100 freebsd
[123]*) objformat
=aout
;;
18101 *) objformat
=elf
;;
18104 version_type
=freebsd-
$objformat
18105 case $version_type in
18107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18112 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18116 shlibpath_var
=LD_LIBRARY_PATH
18119 shlibpath_overrides_runpath
=yes
18121 freebsd3.
[01]* | freebsdelf3.
[01]*)
18122 shlibpath_overrides_runpath
=yes
18123 hardcode_into_libs
=yes
18125 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18126 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18127 shlibpath_overrides_runpath
=no
18128 hardcode_into_libs
=yes
18130 *) # from 4.6 on, and DragonFly
18131 shlibpath_overrides_runpath
=yes
18132 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
18144 hardcode_into_libs
=yes
18147 hpux9
* | hpux10
* | hpux11
*)
18148 # Give a soname corresponding to the major version so that dld.sl refuses to
18149 # link against other versions.
18156 hardcode_into_libs
=yes
18157 dynamic_linker
="$host_os dld.so"
18158 shlibpath_var
=LD_LIBRARY_PATH
18159 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18161 soname_spec
='${libname}${release}${shared_ext}$major'
18162 if test "X$HPUX_IA64_MODE" = X32
; then
18163 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18165 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18167 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18171 hardcode_into_libs
=yes
18172 dynamic_linker
="$host_os dld.sl"
18173 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18176 soname_spec
='${libname}${release}${shared_ext}$major'
18177 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18178 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18182 dynamic_linker
="$host_os dld.sl"
18183 shlibpath_var
=SHLIB_PATH
18184 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18186 soname_spec
='${libname}${release}${shared_ext}$major'
18189 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18190 postinstall_cmds
='chmod 555 $lib'
18197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18198 soname_spec
='${libname}${release}${shared_ext}$major'
18199 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18200 shlibpath_var
=LD_LIBRARY_PATH
18201 shlibpath_overrides_runpath
=no
18202 hardcode_into_libs
=yes
18205 irix5
* | irix6
* | nonstopux
*)
18207 nonstopux
*) version_type
=nonstopux
;;
18209 if test "$lt_cv_prog_gnu_ld" = yes; then
18217 soname_spec
='${libname}${release}${shared_ext}$major'
18218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18220 irix5
* | nonstopux
*)
18221 libsuff
= shlibsuff
=
18224 case $LD in # libtool.m4 will add one of these switches to LD
18225 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18226 libsuff
= shlibsuff
= libmagic
=32-bit;;
18227 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18228 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18229 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18230 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18231 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18235 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18236 shlibpath_overrides_runpath
=no
18237 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18238 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18239 hardcode_into_libs
=yes
18242 # No shared lib support for Linux oldld, aout, or coff.
18243 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18247 # This must be Linux ELF.
18248 linux
* | k
*bsd
*-gnu)
18252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18253 soname_spec
='${libname}${release}${shared_ext}$major'
18254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18255 shlibpath_var
=LD_LIBRARY_PATH
18256 shlibpath_overrides_runpath
=no
18257 # This implies no fast_install, which is unacceptable.
18258 # Some rework will be needed to allow for fast_install
18259 # before this can be enabled.
18260 hardcode_into_libs
=yes
18261 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18262 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18264 # Append ld.so.conf contents to the search path
18265 if test -f /etc
/ld.so.conf
; then
18266 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18267 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18270 # We used to test for /lib/ld.so.1 and disable shared libraries on
18271 # powerpc, because MkLinux only supported shared libraries with the
18272 # GNU dynamic linker. Since this was broken with cross compilers,
18273 # most powerpc-linux boxes support dynamic linking these days and
18274 # people can always --disable-shared, the test was removed, and we
18275 # assume the GNU/Linux dynamic linker is in use.
18276 dynamic_linker
='GNU/Linux ld.so'
18283 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18286 dynamic_linker
='NetBSD (a.out) ld.so'
18288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18289 soname_spec
='${libname}${release}${shared_ext}$major'
18290 dynamic_linker
='NetBSD ld.elf_so'
18292 shlibpath_var
=LD_LIBRARY_PATH
18293 shlibpath_overrides_runpath
=yes
18294 hardcode_into_libs
=yes
18299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18300 shlibpath_var
=LD_LIBRARY_PATH
18301 shlibpath_overrides_runpath
=yes
18308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18309 soname_spec
='${libname}${release}${shared_ext}$major'
18310 shlibpath_var
=LD_LIBRARY_PATH
18311 shlibpath_overrides_runpath
=yes
18316 sys_lib_dlsearch_path_spec
="/usr/lib"
18318 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18320 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18321 *) need_version
=no
;;
18323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18325 shlibpath_var
=LD_LIBRARY_PATH
18326 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18328 openbsd2.
[89] | openbsd2.
[89].
*)
18329 shlibpath_overrides_runpath
=no
18332 shlibpath_overrides_runpath
=yes
18336 shlibpath_overrides_runpath
=yes
18341 libname_spec
='$name'
18344 library_names_spec
='$libname${shared_ext} $libname.a'
18345 dynamic_linker
='OS/2 ld.exe'
18346 shlibpath_var
=LIBPATH
18349 osf3
* | osf4
* | osf5
*)
18353 soname_spec
='${libname}${release}${shared_ext}$major'
18354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18355 shlibpath_var
=LD_LIBRARY_PATH
18356 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18357 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18369 soname_spec
='${libname}${release}${shared_ext}$major'
18370 shlibpath_var
=LD_LIBRARY_PATH
18371 shlibpath_overrides_runpath
=yes
18372 hardcode_into_libs
=yes
18373 # ldd complains unless libraries are executable
18374 postinstall_cmds
='chmod +x $lib'
18379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18380 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18381 shlibpath_var
=LD_LIBRARY_PATH
18382 shlibpath_overrides_runpath
=yes
18383 if test "$with_gnu_ld" = yes; then
18391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18392 soname_spec
='${libname}${release}${shared_ext}$major'
18393 shlibpath_var
=LD_LIBRARY_PATH
18394 case $host_vendor in
18396 shlibpath_overrides_runpath
=no
18398 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18399 runpath_var
=LD_RUN_PATH
18407 shlibpath_overrides_runpath
=no
18408 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18414 if test -d /usr
/nec
;then
18416 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18417 soname_spec
='$libname${shared_ext}.$major'
18418 shlibpath_var
=LD_LIBRARY_PATH
18422 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18423 version_type
=freebsd-elf
18426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18427 soname_spec
='${libname}${release}${shared_ext}$major'
18428 shlibpath_var
=LD_LIBRARY_PATH
18429 hardcode_into_libs
=yes
18430 if test "$with_gnu_ld" = yes; then
18431 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18432 shlibpath_overrides_runpath
=no
18434 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18435 shlibpath_overrides_runpath
=yes
18438 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18442 sys_lib_dlsearch_path_spec
='/usr/lib'
18447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18448 soname_spec
='${libname}${release}${shared_ext}$major'
18449 shlibpath_var
=LD_LIBRARY_PATH
18456 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18457 echo "${ECHO_T}$dynamic_linker" >&6; }
18458 test "$dynamic_linker" = no
&& can_build_shared
=no
18460 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18461 if test "$GCC" = yes; then
18462 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18465 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18466 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18467 hardcode_action_GCJ
=
18468 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18469 test -n "$runpath_var_GCJ" || \
18470 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18472 # We can hardcode non-existant directories.
18473 if test "$hardcode_direct_GCJ" != no
&&
18474 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18475 # have to relink, otherwise we might link with an installed library
18476 # when we should be linking with a yet-to-be-installed one
18477 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18478 test "$hardcode_minus_L_GCJ" != no
; then
18479 # Linking always hardcodes the temporary library directory.
18480 hardcode_action_GCJ
=relink
18482 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18483 hardcode_action_GCJ
=immediate
18486 # We cannot hardcode anything, or else we can only hardcode existing
18488 hardcode_action_GCJ
=unsupported
18490 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18491 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18493 if test "$hardcode_action_GCJ" = relink
; then
18494 # Fast installation is not supported
18495 enable_fast_install
=no
18496 elif test "$shlibpath_overrides_runpath" = yes ||
18497 test "$enable_shared" = no
; then
18498 # Fast installation is not necessary
18499 enable_fast_install
=needless
18503 # The else clause should only fire when bootstrapping the
18504 # libtool distribution, otherwise you forgot to ship ltmain.sh
18505 # with your package, and you will get complaints that there are
18506 # no rules to generate ltmain.sh.
18507 if test -f "$ltmain"; then
18508 # See if we are running on zsh, and set the options which allow our commands through
18509 # without removal of \ escapes.
18510 if test -n "${ZSH_VERSION+set}" ; then
18511 setopt NO_GLOB_SUBST
18513 # Now quote all the things that may contain metacharacters while being
18514 # careful not to overquote the AC_SUBSTed values. We take copies of the
18515 # variables and quote the copies for generation of the libtool script.
18516 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18518 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18519 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18520 deplibs_check_method reload_flag reload_cmds need_locks \
18521 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18522 lt_cv_sys_global_symbol_to_c_name_address \
18523 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18524 old_postinstall_cmds old_postuninstall_cmds \
18528 lt_prog_compiler_wl_GCJ \
18529 lt_prog_compiler_pic_GCJ \
18530 lt_prog_compiler_static_GCJ \
18531 lt_prog_compiler_no_builtin_flag_GCJ \
18532 export_dynamic_flag_spec_GCJ \
18533 thread_safe_flag_spec_GCJ \
18534 whole_archive_flag_spec_GCJ \
18535 enable_shared_with_static_runtimes_GCJ \
18536 old_archive_cmds_GCJ \
18537 old_archive_from_new_cmds_GCJ \
18538 predep_objects_GCJ \
18539 postdep_objects_GCJ \
18542 compiler_lib_search_path_GCJ \
18544 archive_expsym_cmds_GCJ \
18545 postinstall_cmds_GCJ \
18546 postuninstall_cmds_GCJ \
18547 old_archive_from_expsyms_cmds_GCJ \
18548 allow_undefined_flag_GCJ \
18549 no_undefined_flag_GCJ \
18550 export_symbols_cmds_GCJ \
18551 hardcode_libdir_flag_spec_GCJ \
18552 hardcode_libdir_flag_spec_ld_GCJ \
18553 hardcode_libdir_separator_GCJ \
18554 hardcode_automatic_GCJ \
18556 module_expsym_cmds_GCJ \
18557 lt_cv_prog_compiler_c_o_GCJ \
18558 fix_srcfile_path_GCJ \
18559 exclude_expsyms_GCJ \
18560 include_expsyms_GCJ
; do
18563 old_archive_cmds_GCJ | \
18564 old_archive_from_new_cmds_GCJ | \
18565 archive_cmds_GCJ | \
18566 archive_expsym_cmds_GCJ | \
18567 module_cmds_GCJ | \
18568 module_expsym_cmds_GCJ | \
18569 old_archive_from_expsyms_cmds_GCJ | \
18570 export_symbols_cmds_GCJ | \
18571 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18572 postinstall_cmds | postuninstall_cmds | \
18573 old_postinstall_cmds | old_postuninstall_cmds | \
18574 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18575 # Double-quote double-evaled strings.
18576 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18579 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18585 *'\$0 --fallback-echo"')
18586 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18592 cat <<__EOF__ >> "$cfgfile"
18593 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18595 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18597 # Shell to use when invoking shell scripts.
18600 # Whether or not to build shared libraries.
18601 build_libtool_libs=$enable_shared
18603 # Whether or not to build static libraries.
18604 build_old_libs=$enable_static
18606 # Whether or not to add -lc for building shared libraries.
18607 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18609 # Whether or not to disallow shared libs when runtime libs are static
18610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18612 # Whether or not to optimize for fast installation.
18613 fast_install=$enable_fast_install
18616 host_alias=$host_alias
18620 # The build system.
18621 build_alias=$build_alias
18625 # An echo program that does not interpret backslashes.
18630 AR_FLAGS=$lt_AR_FLAGS
18635 # LTCC compiler flags.
18636 LTCFLAGS=$lt_LTCFLAGS
18638 # A language-specific compiler.
18639 CC=$lt_compiler_GCJ
18641 # Is the compiler the GNU C compiler?
18647 # The linker used to build libraries.
18650 # Whether we need hard or soft links.
18653 # A BSD-compatible nm program.
18656 # A symbol stripping program
18659 # Used to examine libraries when file_magic_cmd begins "file"
18660 MAGIC_CMD=$MAGIC_CMD
18662 # Used on cygwin: DLL creation program.
18665 # Used on cygwin: object dumper.
18668 # Used on cygwin: assembler.
18671 # The name of the directory that contains temporary libtool files.
18674 # How to create reloadable object files.
18675 reload_flag=$lt_reload_flag
18676 reload_cmds=$lt_reload_cmds
18678 # How to pass a linker flag through the compiler.
18679 wl=$lt_lt_prog_compiler_wl_GCJ
18681 # Object file suffix (normally "o").
18682 objext="$ac_objext"
18684 # Old archive suffix (normally "a").
18687 # Shared library suffix (normally ".so").
18688 shrext_cmds='$shrext_cmds'
18690 # Executable file suffix (normally "").
18693 # Additional compiler flags for building library objects.
18694 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18697 # What is the maximum length of a command?
18698 max_cmd_len=$lt_cv_sys_max_cmd_len
18700 # Does compiler simultaneously support -c and -o options?
18701 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18703 # Must we lock files when doing compilation?
18704 need_locks=$lt_need_locks
18706 # Do we need the lib prefix for modules?
18707 need_lib_prefix=$need_lib_prefix
18709 # Do we need a version for libraries?
18710 need_version=$need_version
18712 # Whether dlopen is supported.
18713 dlopen_support=$enable_dlopen
18715 # Whether dlopen of programs is supported.
18716 dlopen_self=$enable_dlopen_self
18718 # Whether dlopen of statically linked programs is supported.
18719 dlopen_self_static=$enable_dlopen_self_static
18721 # Compiler flag to prevent dynamic linking.
18722 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18724 # Compiler flag to turn off builtin functions.
18725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18727 # Compiler flag to allow reflexive dlopens.
18728 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18730 # Compiler flag to generate shared objects directly from archives.
18731 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18733 # Compiler flag to generate thread-safe objects.
18734 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18736 # Library versioning type.
18737 version_type=$version_type
18739 # Format of library name prefix.
18740 libname_spec=$lt_libname_spec
18742 # List of archive names. First name is the real one, the rest are links.
18743 # The last name is the one that the linker finds with -lNAME.
18744 library_names_spec=$lt_library_names_spec
18746 # The coded name of the library, if different from the real name.
18747 soname_spec=$lt_soname_spec
18749 # Commands used to build and install an old-style archive.
18751 old_archive_cmds=$lt_old_archive_cmds_GCJ
18752 old_postinstall_cmds=$lt_old_postinstall_cmds
18753 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18755 # Create an old-style archive from a shared archive.
18756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18758 # Create a temporary old-style archive to link instead of a shared archive.
18759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18761 # Commands used to build and install a shared archive.
18762 archive_cmds=$lt_archive_cmds_GCJ
18763 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18764 postinstall_cmds=$lt_postinstall_cmds
18765 postuninstall_cmds=$lt_postuninstall_cmds
18767 # Commands used to build a loadable module (assumed same as above if empty)
18768 module_cmds=$lt_module_cmds_GCJ
18769 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18771 # Commands to strip libraries.
18772 old_striplib=$lt_old_striplib
18773 striplib=$lt_striplib
18775 # Dependencies to place before the objects being linked to create a
18777 predep_objects=$lt_predep_objects_GCJ
18779 # Dependencies to place after the objects being linked to create a
18781 postdep_objects=$lt_postdep_objects_GCJ
18783 # Dependencies to place before the objects being linked to create a
18785 predeps=$lt_predeps_GCJ
18787 # Dependencies to place after the objects being linked to create a
18789 postdeps=$lt_postdeps_GCJ
18791 # The library search path used internally by the compiler when linking
18792 # a shared library.
18793 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18795 # Method to check whether dependent libraries are shared objects.
18796 deplibs_check_method=$lt_deplibs_check_method
18798 # Command to use when deplibs_check_method == file_magic.
18799 file_magic_cmd=$lt_file_magic_cmd
18801 # Flag that allows shared libraries with undefined symbols to be built.
18802 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18804 # Flag that forces no undefined symbols.
18805 no_undefined_flag=$lt_no_undefined_flag_GCJ
18807 # Commands used to finish a libtool library installation in a directory.
18808 finish_cmds=$lt_finish_cmds
18810 # Same as above, but a single script fragment to be evaled but not shown.
18811 finish_eval=$lt_finish_eval
18813 # Take the output of nm and produce a listing of raw symbols and C names.
18814 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18816 # Transform the output of nm in a proper C declaration
18817 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18819 # Transform the output of nm in a C name address pair
18820 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18822 # This is the shared library runtime path variable.
18823 runpath_var=$runpath_var
18825 # This is the shared library path variable.
18826 shlibpath_var=$shlibpath_var
18828 # Is shlibpath searched before the hard-coded library search path?
18829 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18831 # How to hardcode a shared library path into an executable.
18832 hardcode_action=$hardcode_action_GCJ
18834 # Whether we should hardcode library paths into libraries.
18835 hardcode_into_libs=$hardcode_into_libs
18837 # Flag to hardcode \$libdir into a binary during linking.
18838 # This must work even if \$libdir does not exist.
18839 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18841 # If ld is used when linking, flag to hardcode \$libdir into
18842 # a binary during linking. This must work even if \$libdir does
18844 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18846 # Whether we need a single -rpath flag with a separated argument.
18847 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18849 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18850 # resulting binary.
18851 hardcode_direct=$hardcode_direct_GCJ
18853 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18854 # resulting binary.
18855 hardcode_minus_L=$hardcode_minus_L_GCJ
18857 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18858 # the resulting binary.
18859 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18861 # Set to yes if building a shared library automatically hardcodes DIR into the library
18862 # and all subsequent libraries and executables linked against it.
18863 hardcode_automatic=$hardcode_automatic_GCJ
18865 # Variables whose values should be saved in libtool wrapper scripts and
18866 # restored at relink time.
18867 variables_saved_for_relink="$variables_saved_for_relink"
18869 # Whether libtool must link a program against all its dependency libraries.
18870 link_all_deplibs=$link_all_deplibs_GCJ
18872 # Compile-time system search path for libraries
18873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18875 # Run-time system search path for libraries
18876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18878 # Fix the shell variable \$srcfile for the compiler.
18879 fix_srcfile_path=$lt_fix_srcfile_path
18881 # Set to yes if exported symbols are required.
18882 always_export_symbols=$always_export_symbols_GCJ
18884 # The commands to list exported symbols.
18885 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18887 # The commands to extract the exported symbol list from a shared archive.
18888 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18890 # Symbols that should not be listed in the preloaded symbols.
18891 exclude_expsyms=$lt_exclude_expsyms_GCJ
18893 # Symbols that must always be exported.
18894 include_expsyms=$lt_include_expsyms_GCJ
18896 # ### END LIBTOOL TAG CONFIG: $tagname
18902 # If there is no Makefile yet, we rely on a make rule to execute
18903 # `config.status --recheck' to rerun these tests and create the
18904 # libtool script then.
18905 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18906 if test -f "$ltmain_in"; then
18907 test -f Makefile
&& make "$ltmain"
18913 ac_cpp
='$CPP $CPPFLAGS'
18914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18928 # Source file extension for RC test sources.
18931 # Object file extension for compiled RC test sources.
18935 # Code to be used in simple compile tests
18936 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18938 # Code to be used in simple link tests
18939 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18941 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18943 # If no C compiler was specified, use CC.
18946 # If no C compiler flags were specified, use CFLAGS.
18947 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18949 # Allow CC to be a program name with arguments.
18953 # save warnings/boilerplate of simple test code
18954 ac_outfile
=conftest.
$ac_objext
18955 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18956 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18957 _lt_compiler_boilerplate
=`cat conftest.err`
18960 ac_outfile
=conftest.
$ac_objext
18961 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18962 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18963 _lt_linker_boilerplate
=`cat conftest.err`
18967 # Allow CC to be a program name with arguments.
18972 for cc_temp
in $compiler""; do
18974 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18975 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18980 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18982 lt_cv_prog_compiler_c_o_RC
=yes
18984 # The else clause should only fire when bootstrapping the
18985 # libtool distribution, otherwise you forgot to ship ltmain.sh
18986 # with your package, and you will get complaints that there are
18987 # no rules to generate ltmain.sh.
18988 if test -f "$ltmain"; then
18989 # See if we are running on zsh, and set the options which allow our commands through
18990 # without removal of \ escapes.
18991 if test -n "${ZSH_VERSION+set}" ; then
18992 setopt NO_GLOB_SUBST
18994 # Now quote all the things that may contain metacharacters while being
18995 # careful not to overquote the AC_SUBSTed values. We take copies of the
18996 # variables and quote the copies for generation of the libtool script.
18997 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18999 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19000 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19001 deplibs_check_method reload_flag reload_cmds need_locks \
19002 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19003 lt_cv_sys_global_symbol_to_c_name_address \
19004 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19005 old_postinstall_cmds old_postuninstall_cmds \
19009 lt_prog_compiler_wl_RC \
19010 lt_prog_compiler_pic_RC \
19011 lt_prog_compiler_static_RC \
19012 lt_prog_compiler_no_builtin_flag_RC \
19013 export_dynamic_flag_spec_RC \
19014 thread_safe_flag_spec_RC \
19015 whole_archive_flag_spec_RC \
19016 enable_shared_with_static_runtimes_RC \
19017 old_archive_cmds_RC \
19018 old_archive_from_new_cmds_RC \
19019 predep_objects_RC \
19020 postdep_objects_RC \
19023 compiler_lib_search_path_RC \
19025 archive_expsym_cmds_RC \
19026 postinstall_cmds_RC \
19027 postuninstall_cmds_RC \
19028 old_archive_from_expsyms_cmds_RC \
19029 allow_undefined_flag_RC \
19030 no_undefined_flag_RC \
19031 export_symbols_cmds_RC \
19032 hardcode_libdir_flag_spec_RC \
19033 hardcode_libdir_flag_spec_ld_RC \
19034 hardcode_libdir_separator_RC \
19035 hardcode_automatic_RC \
19037 module_expsym_cmds_RC \
19038 lt_cv_prog_compiler_c_o_RC \
19039 fix_srcfile_path_RC \
19040 exclude_expsyms_RC \
19041 include_expsyms_RC
; do
19044 old_archive_cmds_RC | \
19045 old_archive_from_new_cmds_RC | \
19046 archive_cmds_RC | \
19047 archive_expsym_cmds_RC | \
19049 module_expsym_cmds_RC | \
19050 old_archive_from_expsyms_cmds_RC | \
19051 export_symbols_cmds_RC | \
19052 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19053 postinstall_cmds | postuninstall_cmds | \
19054 old_postinstall_cmds | old_postuninstall_cmds | \
19055 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19056 # Double-quote double-evaled strings.
19057 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19060 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19066 *'\$0 --fallback-echo"')
19067 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19073 cat <<__EOF__ >> "$cfgfile"
19074 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19076 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19078 # Shell to use when invoking shell scripts.
19081 # Whether or not to build shared libraries.
19082 build_libtool_libs=$enable_shared
19084 # Whether or not to build static libraries.
19085 build_old_libs=$enable_static
19087 # Whether or not to add -lc for building shared libraries.
19088 build_libtool_need_lc=$archive_cmds_need_lc_RC
19090 # Whether or not to disallow shared libs when runtime libs are static
19091 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19093 # Whether or not to optimize for fast installation.
19094 fast_install=$enable_fast_install
19097 host_alias=$host_alias
19101 # The build system.
19102 build_alias=$build_alias
19106 # An echo program that does not interpret backslashes.
19111 AR_FLAGS=$lt_AR_FLAGS
19116 # LTCC compiler flags.
19117 LTCFLAGS=$lt_LTCFLAGS
19119 # A language-specific compiler.
19122 # Is the compiler the GNU C compiler?
19128 # The linker used to build libraries.
19131 # Whether we need hard or soft links.
19134 # A BSD-compatible nm program.
19137 # A symbol stripping program
19140 # Used to examine libraries when file_magic_cmd begins "file"
19141 MAGIC_CMD=$MAGIC_CMD
19143 # Used on cygwin: DLL creation program.
19146 # Used on cygwin: object dumper.
19149 # Used on cygwin: assembler.
19152 # The name of the directory that contains temporary libtool files.
19155 # How to create reloadable object files.
19156 reload_flag=$lt_reload_flag
19157 reload_cmds=$lt_reload_cmds
19159 # How to pass a linker flag through the compiler.
19160 wl=$lt_lt_prog_compiler_wl_RC
19162 # Object file suffix (normally "o").
19163 objext="$ac_objext"
19165 # Old archive suffix (normally "a").
19168 # Shared library suffix (normally ".so").
19169 shrext_cmds='$shrext_cmds'
19171 # Executable file suffix (normally "").
19174 # Additional compiler flags for building library objects.
19175 pic_flag=$lt_lt_prog_compiler_pic_RC
19178 # What is the maximum length of a command?
19179 max_cmd_len=$lt_cv_sys_max_cmd_len
19181 # Does compiler simultaneously support -c and -o options?
19182 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19184 # Must we lock files when doing compilation?
19185 need_locks=$lt_need_locks
19187 # Do we need the lib prefix for modules?
19188 need_lib_prefix=$need_lib_prefix
19190 # Do we need a version for libraries?
19191 need_version=$need_version
19193 # Whether dlopen is supported.
19194 dlopen_support=$enable_dlopen
19196 # Whether dlopen of programs is supported.
19197 dlopen_self=$enable_dlopen_self
19199 # Whether dlopen of statically linked programs is supported.
19200 dlopen_self_static=$enable_dlopen_self_static
19202 # Compiler flag to prevent dynamic linking.
19203 link_static_flag=$lt_lt_prog_compiler_static_RC
19205 # Compiler flag to turn off builtin functions.
19206 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19208 # Compiler flag to allow reflexive dlopens.
19209 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19211 # Compiler flag to generate shared objects directly from archives.
19212 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19214 # Compiler flag to generate thread-safe objects.
19215 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19217 # Library versioning type.
19218 version_type=$version_type
19220 # Format of library name prefix.
19221 libname_spec=$lt_libname_spec
19223 # List of archive names. First name is the real one, the rest are links.
19224 # The last name is the one that the linker finds with -lNAME.
19225 library_names_spec=$lt_library_names_spec
19227 # The coded name of the library, if different from the real name.
19228 soname_spec=$lt_soname_spec
19230 # Commands used to build and install an old-style archive.
19232 old_archive_cmds=$lt_old_archive_cmds_RC
19233 old_postinstall_cmds=$lt_old_postinstall_cmds
19234 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19236 # Create an old-style archive from a shared archive.
19237 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19239 # Create a temporary old-style archive to link instead of a shared archive.
19240 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19242 # Commands used to build and install a shared archive.
19243 archive_cmds=$lt_archive_cmds_RC
19244 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19245 postinstall_cmds=$lt_postinstall_cmds
19246 postuninstall_cmds=$lt_postuninstall_cmds
19248 # Commands used to build a loadable module (assumed same as above if empty)
19249 module_cmds=$lt_module_cmds_RC
19250 module_expsym_cmds=$lt_module_expsym_cmds_RC
19252 # Commands to strip libraries.
19253 old_striplib=$lt_old_striplib
19254 striplib=$lt_striplib
19256 # Dependencies to place before the objects being linked to create a
19258 predep_objects=$lt_predep_objects_RC
19260 # Dependencies to place after the objects being linked to create a
19262 postdep_objects=$lt_postdep_objects_RC
19264 # Dependencies to place before the objects being linked to create a
19266 predeps=$lt_predeps_RC
19268 # Dependencies to place after the objects being linked to create a
19270 postdeps=$lt_postdeps_RC
19272 # The library search path used internally by the compiler when linking
19273 # a shared library.
19274 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19276 # Method to check whether dependent libraries are shared objects.
19277 deplibs_check_method=$lt_deplibs_check_method
19279 # Command to use when deplibs_check_method == file_magic.
19280 file_magic_cmd=$lt_file_magic_cmd
19282 # Flag that allows shared libraries with undefined symbols to be built.
19283 allow_undefined_flag=$lt_allow_undefined_flag_RC
19285 # Flag that forces no undefined symbols.
19286 no_undefined_flag=$lt_no_undefined_flag_RC
19288 # Commands used to finish a libtool library installation in a directory.
19289 finish_cmds=$lt_finish_cmds
19291 # Same as above, but a single script fragment to be evaled but not shown.
19292 finish_eval=$lt_finish_eval
19294 # Take the output of nm and produce a listing of raw symbols and C names.
19295 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19297 # Transform the output of nm in a proper C declaration
19298 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19300 # Transform the output of nm in a C name address pair
19301 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19303 # This is the shared library runtime path variable.
19304 runpath_var=$runpath_var
19306 # This is the shared library path variable.
19307 shlibpath_var=$shlibpath_var
19309 # Is shlibpath searched before the hard-coded library search path?
19310 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19312 # How to hardcode a shared library path into an executable.
19313 hardcode_action=$hardcode_action_RC
19315 # Whether we should hardcode library paths into libraries.
19316 hardcode_into_libs=$hardcode_into_libs
19318 # Flag to hardcode \$libdir into a binary during linking.
19319 # This must work even if \$libdir does not exist.
19320 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19322 # If ld is used when linking, flag to hardcode \$libdir into
19323 # a binary during linking. This must work even if \$libdir does
19325 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19327 # Whether we need a single -rpath flag with a separated argument.
19328 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19330 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19331 # resulting binary.
19332 hardcode_direct=$hardcode_direct_RC
19334 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19335 # resulting binary.
19336 hardcode_minus_L=$hardcode_minus_L_RC
19338 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19339 # the resulting binary.
19340 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19342 # Set to yes if building a shared library automatically hardcodes DIR into the library
19343 # and all subsequent libraries and executables linked against it.
19344 hardcode_automatic=$hardcode_automatic_RC
19346 # Variables whose values should be saved in libtool wrapper scripts and
19347 # restored at relink time.
19348 variables_saved_for_relink="$variables_saved_for_relink"
19350 # Whether libtool must link a program against all its dependency libraries.
19351 link_all_deplibs=$link_all_deplibs_RC
19353 # Compile-time system search path for libraries
19354 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19356 # Run-time system search path for libraries
19357 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19359 # Fix the shell variable \$srcfile for the compiler.
19360 fix_srcfile_path=$lt_fix_srcfile_path
19362 # Set to yes if exported symbols are required.
19363 always_export_symbols=$always_export_symbols_RC
19365 # The commands to list exported symbols.
19366 export_symbols_cmds=$lt_export_symbols_cmds_RC
19368 # The commands to extract the exported symbol list from a shared archive.
19369 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19371 # Symbols that should not be listed in the preloaded symbols.
19372 exclude_expsyms=$lt_exclude_expsyms_RC
19374 # Symbols that must always be exported.
19375 include_expsyms=$lt_include_expsyms_RC
19377 # ### END LIBTOOL TAG CONFIG: $tagname
19383 # If there is no Makefile yet, we rely on a make rule to execute
19384 # `config.status --recheck' to rerun these tests and create the
19385 # libtool script then.
19386 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19387 if test -f "$ltmain_in"; then
19388 test -f Makefile
&& make "$ltmain"
19394 ac_cpp
='$CPP $CPPFLAGS'
19395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19404 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19405 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19406 { (exit 1); exit 1; }; }
19410 # Append the new tag name to the list of available tags.
19411 if test -n "$tagname" ; then
19412 available_tags
="$available_tags $tagname"
19418 # Now substitute the updated list of available tags.
19419 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19420 mv "${ofile}T" "$ofile"
19424 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19425 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19426 { (exit 1); exit 1; }; }
19432 # This can be used to rebuild libtool when needed
19433 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19435 # Always use our own libtool.
19436 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19438 # Prevent multiple expansion
19468 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
19470 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19471 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19472 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19474 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 ac_res
=`eval echo '${'$as_ac_Header'}'`
19478 { echo "$as_me:$LINENO: result: $ac_res" >&5
19479 echo "${ECHO_T}$ac_res" >&6; }
19481 # Is the header compilable?
19482 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 #include <$ac_header>
19493 rm -f conftest.
$ac_objext
19494 if { (ac_try
="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19502 grep -v '^ *+' conftest.er1 >conftest.err
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.$ac_objext; then
19510 ac_header_compiler=yes
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19515 ac_header_compiler=no
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19520 echo "${ECHO_T}$ac_header_compiler" >&6; }
19522 # Is the header present?
19523 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 #include <$ac_header>
19533 if { (ac_try="$ac_cpp conftest.$ac_ext"
19534 case "(($ac_try" in
19535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19536 *) ac_try_echo
=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } >/dev
/null
&& {
19546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19549 ac_header_preproc
=yes
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 ac_header_preproc
=no
19557 rm -f conftest.err conftest.
$ac_ext
19558 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19559 echo "${ECHO_T}$ac_header_preproc" >&6; }
19561 # So? What about this header?
19562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19568 ac_header_preproc
=yes
19571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19584 ## -------------------------------------------------- ##
19585 ## Report this to courier-users@lists.sourceforge.net ##
19586 ## -------------------------------------------------- ##
19588 ) |
sed "s/^/$as_me: WARNING: /" >&2
19591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19593 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 eval "$as_ac_Header=\$ac_header_preproc"
19598 ac_res
=`eval echo '${'$as_ac_Header'}'`
19599 { echo "$as_me:$LINENO: result: $ac_res" >&5
19600 echo "${ECHO_T}$ac_res" >&6; }
19603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19604 cat >>confdefs.h
<<_ACEOF
19605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19612 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19613 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19614 if test "${ac_cv_header_stdc+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 cat >conftest.
$ac_ext <<_ACEOF
19620 cat confdefs.h
>>conftest.
$ac_ext
19621 cat >>conftest.
$ac_ext <<_ACEOF
19622 /* end confdefs.h. */
19623 #include <stdlib.h>
19624 #include <stdarg.h>
19625 #include <string.h>
19636 rm -f conftest.
$ac_objext
19637 if { (ac_try
="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_header_stdc=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_header_stdc=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 if test $ac_cv_header_stdc = yes; then
19664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 #include <string.h>
19674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19675 $EGREP "memchr" >/dev/null 2>&1; then
19678 ac_cv_header_stdc=no
19684 if test $ac_cv_header_stdc = yes; then
19685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <stdlib.h>
19695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19696 $EGREP "free" >/dev/null 2>&1; then
19699 ac_cv_header_stdc=no
19705 if test $ac_cv_header_stdc = yes; then
19706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19707 if test "$cross_compiling" = yes; then
19710 cat >conftest.$ac_ext <<_ACEOF
19713 cat confdefs.h >>conftest.$ac_ext
19714 cat >>conftest.$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19717 #include <stdlib.h>
19718 #if ((' ' & 0x0FF) == 0x020)
19719 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19720 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19722 # define ISLOWER(c) \
19723 (('a' <= (c) && (c) <= 'i') \
19724 || ('j' <= (c) && (c) <= 'r') \
19725 || ('s' <= (c) && (c) <= 'z'))
19726 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19729 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19734 for (i = 0; i < 256; i++)
19735 if (XOR (islower (i), ISLOWER (i))
19736 || toupper (i) != TOUPPER (i))
19741 rm -f conftest$ac_exeext
19742 if { (ac_try="$ac_link"
19743 case "(($ac_try" in
19744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19745 *) ac_try_echo
=$ac_try;;
19747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19748 (eval "$ac_link") 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19752 { (case "(($ac_try" in
19753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_try") 2>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; }; then
19763 echo "$as_me: program exited with status $ac_status" >&5
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 ( exit $ac_status )
19768 ac_cv_header_stdc=no
19770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19776 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19777 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19778 if test $ac_cv_header_stdc = yes; then
19780 cat >>confdefs.h <<\_ACEOF
19781 #define STDC_HEADERS 1
19786 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19787 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
19788 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 cat >conftest.$ac_ext <<_ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 #include <sys/types.h>
19798 #include <sys/wait.h>
19799 #ifndef WEXITSTATUS
19800 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
19803 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19811 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19820 *) ac_try_echo
=$ac_try;;
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_c_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.
$ac_objext; then
19833 ac_cv_header_sys_wait_h
=yes
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.
$ac_ext >&5
19838 ac_cv_header_sys_wait_h
=no
19841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19843 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19844 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
19845 if test $ac_cv_header_sys_wait_h = yes; then
19847 cat >>confdefs.h
<<\_ACEOF
19848 #define HAVE_SYS_WAIT_H 1
19855 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19856 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19857 if test "${ac_cv_c_const+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 cat >conftest.
$ac_ext <<_ACEOF
19863 cat confdefs.h
>>conftest.
$ac_ext
19864 cat >>conftest.
$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19870 /* FIXME: Include the comments suggested by Paul. */
19871 #ifndef __cplusplus
19872 /* Ultrix mips cc rejects this. */
19873 typedef int charset[2];
19875 /* SunOS 4.1.1 cc rejects this. */
19876 char const *const *pcpcc;
19878 /* NEC SVR4.0.2 mips cc rejects this. */
19879 struct point {int x, y;};
19880 static struct point const zero = {0,0};
19881 /* AIX XL C 1.02.0.0 rejects this.
19882 It does not let you subtract one const X* pointer from another in
19883 an arm of an if-expression whose if-part is not a constant
19885 const char *g = "string";
19886 pcpcc = &g + (g ? g-g : 0);
19887 /* HPUX 7.0 cc rejects these. */
19889 ppc = (char**) pcpcc;
19890 pcpcc = (char const *const *) ppc;
19891 { /* SCO 3.2v4 cc rejects this. */
19893 char const *s = 0 ? (char *) 0 : (char const *) 0;
19898 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19899 int x[] = {25, 17};
19900 const int *foo = &x[0];
19903 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19904 typedef const int *iptr;
19908 { /* AIX XL C 1.02.0.0 rejects this saying
19909 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19910 struct s { int j; const int *ap[3]; };
19911 struct s *b; b->j = 5;
19913 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19914 const int foo = 10;
19915 if (!foo) return 0;
19917 return !cs[0] && !zero.x;
19924 rm -f conftest.
$ac_objext
19925 if { (ac_try
="$ac_compile"
19926 case "(($ac_try" in
19927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_compile") 2>conftest.er1
19933 grep -v '^ *+' conftest.er1 >conftest.err
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } && {
19938 test -z "$ac_c_werror_flag" ||
19939 test ! -s conftest.err
19940 } && test -s conftest.$ac_objext; then
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19952 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19953 if test $ac_cv_c_const = no; then
19955 cat >>confdefs.h <<\_ACEOF
19961 { echo "$as_me:$LINENO: checking for off_t" >&5
19962 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19963 if test "${ac_cv_type_off_t+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 cat >conftest.$ac_ext <<_ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 $ac_includes_default
19973 typedef off_t ac__type_new_;
19977 if ((ac__type_new_ *) 0)
19979 if (sizeof (ac__type_new_))
19985 rm -f conftest.$ac_objext
19986 if { (ac_try="$ac_compile"
19987 case "(($ac_try" in
19988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19989 *) ac_try_echo
=$ac_try;;
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_compile") 2>conftest.er1
19994 grep -v '^ *+' conftest.er1
>conftest.err
19996 cat conftest.err
>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } && {
19999 test -z "$ac_c_werror_flag" ||
20000 test ! -s conftest.err
20001 } && test -s conftest.
$ac_objext; then
20002 ac_cv_type_off_t
=yes
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.
$ac_ext >&5
20007 ac_cv_type_off_t
=no
20010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20012 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20013 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
20014 if test $ac_cv_type_off_t = yes; then
20018 cat >>confdefs.h
<<_ACEOF
20019 #define off_t long int
20024 { echo "$as_me:$LINENO: checking for pid_t" >&5
20025 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
20026 if test "${ac_cv_type_pid_t+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20036 typedef pid_t ac__type_new_;
20040 if ((ac__type_new_ *) 0)
20042 if (sizeof (ac__type_new_))
20048 rm -f conftest.
$ac_objext
20049 if { (ac_try
="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1 >conftest.err
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_cv_type_pid_t=yes
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 ac_cv_type_pid_t=no
20073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20076 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20077 if test $ac_cv_type_pid_t = yes; then
20081 cat >>confdefs.h <<_ACEOF
20087 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20088 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
20089 if test "${ac_cv_type_signal+set}" = set; then
20090 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 cat >conftest.$ac_ext <<_ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #include <sys/types.h>
20099 #include <signal.h>
20104 return *(signal (0, 0)) (0) == 1;
20109 rm -f conftest.$ac_objext
20110 if { (ac_try="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20113 *) ac_try_echo
=$ac_try;;
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.
$ac_objext; then
20126 ac_cv_type_signal
=int
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.
$ac_ext >&5
20131 ac_cv_type_signal
=void
20134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20136 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20137 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
20139 cat >>confdefs.h
<<_ACEOF
20140 #define RETSIGTYPE $ac_cv_type_signal
20145 { echo "$as_me:$LINENO: checking for off64_t" >&5
20146 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
20147 if test "${liblock_cv_hasoff64t+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 liblock_cv_hasoff64t
="no"
20151 cat >conftest.
$ac_ext <<_ACEOF
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20158 #include <sys/types.h>
20172 rm -f conftest.
$ac_objext
20173 if { (ac_try
="$ac_compile"
20174 case "(($ac_try" in
20175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_compile") 2>conftest.er1
20181 grep -v '^ *+' conftest.er1 >conftest.err
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest.$ac_objext; then
20189 liblock_cv_hasoff64t="yes"
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 { echo "$as_me:$LINENO: result: $liblock_cv_hasoff64t" >&5
20202 echo "${ECHO_T}$liblock_cv_hasoff64t" >&6; }
20204 if test "$liblock_cv_hasoff64t" = "yes"
20206 LL_OFFSET_TYPE=off64_t
20208 LL_OFFSET_TYPE=off_t
20211 cat >>confdefs.h <<_ACEOF
20212 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20216 { echo "$as_me:$LINENO: checking for flock_t" >&5
20217 echo $ECHO_N "checking for flock_t... $ECHO_C" >&6; }
20218 if test "${liblock_cv_hasflock_t+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 liblock_cv_hasflock_t="no"
20222 cat >conftest.$ac_ext <<_ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20230 #include "config.h"
20232 #include <sys/types.h>
20236 #if HAVE_SYS_FCNTL_H
20237 #include <sys/fcntl.h>
20250 rm -f conftest.$ac_objext
20251 if { (ac_try="$ac_compile"
20252 case "(($ac_try" in
20253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20254 *) ac_try_echo
=$ac_try;;
20256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20257 (eval "$ac_compile") 2>conftest.er1
20259 grep -v '^ *+' conftest.er1
>conftest.err
20261 cat conftest.err
>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } && {
20264 test -z "$ac_c_werror_flag" ||
20265 test ! -s conftest.err
20266 } && test -s conftest.
$ac_objext; then
20267 liblock_cv_hasflock_t
="yes"
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.
$ac_ext >&5
20275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20277 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock_t" >&5
20278 echo "${ECHO_T}$liblock_cv_hasflock_t" >&6; }
20280 if test "$liblock_cv_hasflock_t" = "yes"
20283 cat >>confdefs.h
<<_ACEOF
20284 #define HAS_FLOCK_T 1
20293 for ac_func
in getdtablesize setpgrp sysconf
20295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20298 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20299 echo $ECHO_N "(cached) $ECHO_C" >&6
20301 cat >conftest.
$ac_ext <<_ACEOF
20304 cat confdefs.h
>>conftest.
$ac_ext
20305 cat >>conftest.
$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20309 #define $ac_func innocuous_$ac_func
20311 /* System header to define __stub macros and hopefully few prototypes,
20312 which can conflict with char $ac_func (); below.
20313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20314 <limits.h> exists even on freestanding compilers. */
20317 # include <limits.h>
20319 # include <assert.h>
20324 /* Override any GCC internal prototype to avoid an error.
20325 Use char because int might match the return type of a GCC
20326 builtin and then its argument prototype would still apply. */
20331 /* The GNU C library defines this for functions which it implements
20332 to always fail with ENOSYS. Some functions are actually named
20333 something starting with __ and the normal name is an alias. */
20334 #if defined __stub_$ac_func || defined __stub___$ac_func
20341 return $ac_func ();
20346 rm -f conftest.
$ac_objext conftest
$ac_exeext
20347 if { (ac_try
="$ac_link"
20348 case "(($ac_try" in
20349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_link") 2>conftest.er1
20355 grep -v '^ *+' conftest.er1 >conftest.err
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest$ac_exeext &&
20363 $as_test_x conftest$ac_exeext; then
20364 eval "$as_ac_var=yes"
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 eval "$as_ac_var=no"
20372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20373 conftest$ac_exeext conftest.$ac_ext
20375 ac_res=`eval echo '${'$as_ac_var'}'`
20376 { echo "$as_me:$LINENO: result: $ac_res" >&5
20377 echo "${ECHO_T}$ac_res" >&6; }
20378 if test `eval echo '${'$as_ac_var'}'` = yes; then
20379 cat >>confdefs.h <<_ACEOF
20380 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20386 { echo "$as_me:$LINENO: checking for setpgrp" >&5
20387 echo $ECHO_N "checking for setpgrp... $ECHO_C" >&6; }
20388 if test "${ac_cv_func_setpgrp+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 cat >conftest.$ac_ext <<_ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 /* Define setpgrp to an innocuous variant, in case <limits.h> declares setpgrp.
20398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20399 #define setpgrp innocuous_setpgrp
20401 /* System header to define __stub macros and hopefully few prototypes,
20402 which can conflict with char setpgrp (); below.
20403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20404 <limits.h> exists even on freestanding compilers. */
20407 # include <limits.h>
20409 # include <assert.h>
20414 /* Override any GCC internal prototype to avoid an error.
20415 Use char because int might match the return type of a GCC
20416 builtin and then its argument prototype would still apply. */
20421 /* The GNU C library defines this for functions which it implements
20422 to always fail with ENOSYS. Some functions are actually named
20423 something starting with __ and the normal name is an alias. */
20424 #if defined __stub_setpgrp || defined __stub___setpgrp
20436 rm -f conftest.$ac_objext conftest$ac_exeext
20437 if { (ac_try="$ac_link"
20438 case "(($ac_try" in
20439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20440 *) ac_try_echo
=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_link") 2>conftest.er1
20445 grep -v '^ *+' conftest.er1
>conftest.err
20447 cat conftest.err
>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest
$ac_exeext &&
20453 $as_test_x conftest
$ac_exeext; then
20454 ac_cv_func_setpgrp
=yes
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 ac_cv_func_setpgrp
=no
20462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20463 conftest
$ac_exeext conftest.
$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp" >&5
20466 echo "${ECHO_T}$ac_cv_func_setpgrp" >&6; }
20467 if test $ac_cv_func_setpgrp = yes; then
20469 { echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20470 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
20471 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 if test "$cross_compiling" = yes; then
20475 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20476 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20477 { (exit 1); exit 1; }; }
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20489 /* If this system has a BSD-style setpgrp which takes arguments,
20490 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20491 exit successfully. */
20492 return setpgrp (1,1) != -1;
20497 rm -f conftest
$ac_exeext
20498 if { (ac_try
="$ac_link"
20499 case "(($ac_try" in
20500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_link") 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20508 { (case "(($ac_try" in
20509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20510 *) ac_try_echo
=$ac_try;;
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_try") 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_func_setpgrp_void
=no
20519 echo "$as_me: program exited with status $ac_status" >&5
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 ( exit $ac_status )
20524 ac_cv_func_setpgrp_void
=yes
20526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20531 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20532 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
20533 if test $ac_cv_func_setpgrp_void = yes; then
20535 cat >>confdefs.h
<<\_ACEOF
20536 #define SETPGRP_VOID 1
20546 { echo "$as_me:$LINENO: checking for fcntl" >&5
20547 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6; }
20548 if test "${liblock_cv_hasfcntl+set}" = set; then
20549 echo $ECHO_N "(cached) $ECHO_C" >&6
20551 liblock_cv_hasfcntl
="no"
20552 cat >conftest.
$ac_ext <<_ACEOF
20555 cat confdefs.h
>>conftest.
$ac_ext
20556 cat >>conftest.
$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20559 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20560 #include "${srcdir}/lockfcntl.c"
20572 rm -f conftest.
$ac_objext conftest
$ac_exeext
20573 if { (ac_try
="$ac_link"
20574 case "(($ac_try" in
20575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20576 *) ac_try_echo=$ac_try;;
20578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20579 (eval "$ac_link") 2>conftest.er1
20581 grep -v '^ *+' conftest.er1 >conftest.err
20583 cat conftest.err >&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); } && {
20586 test -z "$ac_c_werror_flag" ||
20587 test ! -s conftest.err
20588 } && test -s conftest$ac_exeext &&
20589 $as_test_x conftest$ac_exeext; then
20590 liblock_cv_hasfcntl="yes"
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.$ac_ext >&5
20598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20599 conftest$ac_exeext conftest.$ac_ext
20601 { echo "$as_me:$LINENO: result: $liblock_cv_hasfcntl" >&5
20602 echo "${ECHO_T}$liblock_cv_hasfcntl" >&6; }
20603 if test "$liblock_cv_hasfcntl" = "yes"
20606 cat >>confdefs.h <<_ACEOF
20607 #define HAS_FCNTL 1
20612 { echo "$as_me:$LINENO: checking for flock" >&5
20613 echo $ECHO_N "checking for flock... $ECHO_C" >&6; }
20614 if test "${liblock_cv_hasflock+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 liblock_cv_hasflock="no"
20618 cat >conftest.$ac_ext <<_ACEOF
20621 cat confdefs.h >>conftest.$ac_ext
20622 cat >>conftest.$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20625 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20626 #include "${srcdir}/lockflock.c"
20638 rm -f conftest.$ac_objext conftest$ac_exeext
20639 if { (ac_try="$ac_link"
20640 case "(($ac_try" in
20641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20642 *) ac_try_echo
=$ac_try;;
20644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20645 (eval "$ac_link") 2>conftest.er1
20647 grep -v '^ *+' conftest.er1
>conftest.err
20649 cat conftest.err
>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); } && {
20652 test -z "$ac_c_werror_flag" ||
20653 test ! -s conftest.err
20654 } && test -s conftest
$ac_exeext &&
20655 $as_test_x conftest
$ac_exeext; then
20656 liblock_cv_hasflock
="yes"
20658 echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.
$ac_ext >&5
20664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20665 conftest
$ac_exeext conftest.
$ac_ext
20667 { echo "$as_me:$LINENO: result: $liblock_cv_hasflock" >&5
20668 echo "${ECHO_T}$liblock_cv_hasflock" >&6; }
20669 if test "$liblock_cv_hasflock" = "yes"
20672 cat >>confdefs.h
<<_ACEOF
20673 #define HAS_FLOCK 1
20678 { echo "$as_me:$LINENO: checking for lockf" >&5
20679 echo $ECHO_N "checking for lockf... $ECHO_C" >&6; }
20680 if test "${liblock_cv_haslockf+set}" = set; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20683 liblock_cv_haslockf
="no"
20684 cat >conftest.
$ac_ext <<_ACEOF
20687 cat confdefs.h
>>conftest.
$ac_ext
20688 cat >>conftest.
$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20691 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20692 #include "${srcdir}/locklockf.c"
20704 rm -f conftest.
$ac_objext conftest
$ac_exeext
20705 if { (ac_try
="$ac_link"
20706 case "(($ac_try" in
20707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20708 *) ac_try_echo=$ac_try;;
20710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20711 (eval "$ac_link") 2>conftest.er1
20713 grep -v '^ *+' conftest.er1 >conftest.err
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } && {
20718 test -z "$ac_c_werror_flag" ||
20719 test ! -s conftest.err
20720 } && test -s conftest$ac_exeext &&
20721 $as_test_x conftest$ac_exeext; then
20722 liblock_cv_haslockf="yes"
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20731 conftest$ac_exeext conftest.$ac_ext
20733 { echo "$as_me:$LINENO: result: $liblock_cv_haslockf" >&5
20734 echo "${ECHO_T}$liblock_cv_haslockf" >&6; }
20735 if test "$liblock_cv_haslockf" = "yes"
20738 cat >>confdefs.h <<_ACEOF
20739 #define HAS_LOCKF 1
20744 { echo "$as_me:$LINENO: checking for locking method" >&5
20745 echo $ECHO_N "checking for locking method... $ECHO_C" >&6; }
20747 # Check whether --with-locking-method was given.
20748 if test "${with_locking_method+set}" = set; then
20749 withval=$with_locking_method; lockmethod="$withval"
20755 case x$lockmethod in
20757 if test "$cross_compiling" = yes; then
20761 cat >conftest.$ac_ext <<_ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20768 #define USE_FCNTL 1
20769 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20770 #include "${srcdir}/locktest.c"
20773 rm -f conftest$ac_exeext
20774 if { (ac_try="$ac_link"
20775 case "(($ac_try" in
20776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20777 *) ac_try_echo
=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_link") 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20784 { (case "(($ac_try" in
20785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20786 *) ac_try_echo=$ac_try;;
20788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20789 (eval "$ac_try") 2>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20795 echo "$as_me: program exited with status $ac_status" >&5
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 ( exit $ac_status )
20800 { { echo "$as_me:$LINENO: error: fcntl test failed." >&5
20801 echo "$as_me: error: fcntl test failed." >&2;}
20802 { (exit 1); exit 1; }; }
20804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20810 if test "$cross_compiling" = yes; then
20811 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20812 echo "$as_me: error: --with-locking-method option required" >&2;}
20813 { (exit 1); exit 1; }; }
20815 cat >conftest.$ac_ext <<_ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20822 #define USE_FCNTL 1
20823 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20824 #include "${srcdir}/locktest.c"
20827 rm -f conftest$ac_exeext
20828 if { (ac_try="$ac_link"
20829 case "(($ac_try" in
20830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20831 *) ac_try_echo
=$ac_try;;
20833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_link") 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20838 { (case "(($ac_try" in
20839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_try") 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; }; then
20849 echo "$as_me: program exited with status $ac_status" >&5
20850 echo "$as_me: failed program was:" >&5
20851 sed 's/^/| /' conftest.$ac_ext >&5
20854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20861 case x$lockmethod in
20863 if test "$cross_compiling" = yes; then
20867 cat >conftest.$ac_ext <<_ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20874 #define USE_LOCKF 1
20875 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20876 #include "${srcdir}/locktest.c"
20879 rm -f conftest$ac_exeext
20880 if { (ac_try="$ac_link"
20881 case "(($ac_try" in
20882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20883 *) ac_try_echo
=$ac_try;;
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_link") 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20890 { (case "(($ac_try" in
20891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20892 *) ac_try_echo=$ac_try;;
20894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20895 (eval "$ac_try") 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20901 echo "$as_me: program exited with status $ac_status" >&5
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20905 ( exit $ac_status )
20906 { { echo "$as_me:$LINENO: error: lockf test failed." >&5
20907 echo "$as_me: error: lockf test failed." >&2;}
20908 { (exit 1); exit 1; }; }
20910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20916 if test "$cross_compiling" = yes; then
20917 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
20918 echo "$as_me: error: --with-locking-method option required" >&2;}
20919 { (exit 1); exit 1; }; }
20921 cat >conftest.$ac_ext <<_ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20928 #define USE_LOCKF 1
20929 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20930 #include "${srcdir}/locktest.c"
20933 rm -f conftest$ac_exeext
20934 if { (ac_try="$ac_link"
20935 case "(($ac_try" in
20936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20937 *) ac_try_echo
=$ac_try;;
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940 (eval "$ac_link") 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20944 { (case "(($ac_try" in
20945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20946 *) ac_try_echo=$ac_try;;
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_try") 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; }; then
20955 echo "$as_me: program exited with status $ac_status" >&5
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20968 case x$lockmethod in
20970 if test "$cross_compiling" = yes; then
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20981 #define USE_FLOCK 1
20982 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
20983 #include "${srcdir}/locktest.c"
20986 rm -f conftest$ac_exeext
20987 if { (ac_try="$ac_link"
20988 case "(($ac_try" in
20989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20990 *) ac_try_echo
=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_link") 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20997 { (case "(($ac_try" in
20998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20999 *) ac_try_echo=$ac_try;;
21001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21002 (eval "$ac_try") 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21008 echo "$as_me: program exited with status $ac_status" >&5
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 ( exit $ac_status )
21013 { { echo "$as_me:$LINENO: error: flock test failed." >&5
21014 echo "$as_me: error: flock test failed." >&2;}
21015 { (exit 1); exit 1; }; }
21017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21023 if test "$cross_compiling" = yes; then
21024 { { echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
21025 echo "$as_me: error: --with-locking-method option required" >&2;}
21026 { (exit 1); exit 1; }; }
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21035 #define USE_FLOCK 1
21036 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
21037 #include "${srcdir}/locktest.c"
21040 rm -f conftest$ac_exeext
21041 if { (ac_try="$ac_link"
21042 case "(($ac_try" in
21043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21044 *) ac_try_echo
=$ac_try;;
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_link") 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21051 { (case "(($ac_try" in
21052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21053 *) ac_try_echo=$ac_try;;
21055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21056 (eval "$ac_try") 2>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; }; then
21062 echo "$as_me: program exited with status $ac_status" >&5
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21074 case x$lockmethod in
21082 { { echo "$as_me:$LINENO: error: must specify --with-locking-method option" >&5
21083 echo "$as_me: error: must specify --with-locking-method option" >&2;}
21084 { (exit 1); exit 1; }; }
21088 { echo "$as_me:$LINENO: result: $lockmethod" >&5
21089 echo "${ECHO_T}$lockmethod" >&6; }
21091 if test "$lockmethod" = "fcntl"; then
21093 USE_FCNTL_FALSE='#'
21099 if test "$lockmethod" = "flock"; then
21101 USE_FLOCK_FALSE='#'
21107 if test "$lockmethod" = "lockf"; then
21109 USE_LOCKF_FALSE='#'
21116 if test -d ${srcdir}/../docbook; then
21118 HAVE_SGML_FALSE='#'
21126 cat >>confdefs.h <<_ACEOF
21127 #define liblock_config_h 1
21131 ac_config_files="$ac_config_files Makefile"
21133 cat >confcache <<\_ACEOF
21134 # This file is a shell script that caches the results of configure
21135 # tests run on this system so they can be shared between configure
21136 # scripts and configure runs, see configure's option --config-cache.
21137 # It is not useful on other systems. If it contains results you don't
21138 # want to keep, you may remove or edit it.
21140 # config.status only pays attention to the cache file if you give it
21141 # the --recheck option to rerun configure.
21143 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21145 # following values.
21149 # The following way of writing the cache mishandles newlines in values,
21150 # but we know of no workaround that is simple, portable, and efficient.
21151 # So, we kill variables containing newlines.
21152 # Ultrix sh set writes to stderr and can't be redirected directly,
21153 # and sets the high bit in the cache file unless we assign to the vars.
21155 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21156 eval ac_val
=\$
$ac_var
21160 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21161 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21164 _ | IFS | as_nl
) ;; #(
21165 *) $as_unset $ac_var ;;
21171 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21172 *${as_nl}ac_space
=\
*)
21173 # `set' does not quote correctly, so add quotes (double-quote
21174 # substitution turns \\\\ into \\, and sed turns \\ into \).
21177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21180 # `set' quotes correctly as required by POSIX, so do not add quotes.
21181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21192 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21194 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21195 if test -w "$cache_file"; then
21196 test "x$cache_file" != "x/dev/null" &&
21197 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21198 echo "$as_me: updating cache $cache_file" >&6;}
21199 cat confcache
>$cache_file
21201 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21202 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21207 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21208 # Let make expand exec_prefix.
21209 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21211 DEFS
=-DHAVE_CONFIG_H
21215 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21216 # 1. Remove the extension, and $U if already installed.
21217 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21218 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21219 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21220 # will be set to the directory where LIBOBJS objects are built.
21221 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21222 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21224 LIBOBJS
=$ac_libobjs
21226 LTLIBOBJS
=$ac_ltlibobjs
21229 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21230 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21231 Usually this means the macro was only invoked conditionally." >&5
21232 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21233 Usually this means the macro was only invoked conditionally." >&2;}
21234 { (exit 1); exit 1; }; }
21236 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21237 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21238 Usually this means the macro was only invoked conditionally." >&5
21239 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21240 Usually this means the macro was only invoked conditionally." >&2;}
21241 { (exit 1); exit 1; }; }
21243 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21244 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21245 Usually this means the macro was only invoked conditionally." >&5
21246 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21247 Usually this means the macro was only invoked conditionally." >&2;}
21248 { (exit 1); exit 1; }; }
21250 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
21251 { { echo "$as_me:$LINENO: error: conditional \"USE_FCNTL\" was never defined.
21252 Usually this means the macro was only invoked conditionally." >&5
21253 echo "$as_me: error: conditional \"USE_FCNTL\" was never defined.
21254 Usually this means the macro was only invoked conditionally." >&2;}
21255 { (exit 1); exit 1; }; }
21257 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
21258 { { echo "$as_me:$LINENO: error: conditional \"USE_FLOCK\" was never defined.
21259 Usually this means the macro was only invoked conditionally." >&5
21260 echo "$as_me: error: conditional \"USE_FLOCK\" was never defined.
21261 Usually this means the macro was only invoked conditionally." >&2;}
21262 { (exit 1); exit 1; }; }
21264 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
21265 { { echo "$as_me:$LINENO: error: conditional \"USE_LOCKF\" was never defined.
21266 Usually this means the macro was only invoked conditionally." >&5
21267 echo "$as_me: error: conditional \"USE_LOCKF\" was never defined.
21268 Usually this means the macro was only invoked conditionally." >&2;}
21269 { (exit 1); exit 1; }; }
21271 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
21272 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
21273 Usually this means the macro was only invoked conditionally." >&5
21274 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
21275 Usually this means the macro was only invoked conditionally." >&2;}
21276 { (exit 1); exit 1; }; }
21279 : ${CONFIG_STATUS=./config.status}
21280 ac_clean_files_save
=$ac_clean_files
21281 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21282 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21283 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21284 cat >$CONFIG_STATUS <<_ACEOF
21286 # Generated by $as_me.
21287 # Run this file to recreate the current configuration.
21288 # Compiler output produced by configure, useful for debugging
21289 # configure, is in config.log if it exists.
21292 ac_cs_recheck=false
21294 SHELL=\${CONFIG_SHELL-$SHELL}
21297 cat >>$CONFIG_STATUS <<\_ACEOF
21298 ## --------------------- ##
21299 ## M4sh Initialization. ##
21300 ## --------------------- ##
21302 # Be more Bourne compatible
21303 DUALCASE
=1; export DUALCASE
# for MKS sh
21304 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21307 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21308 # is contrary to our usage. Disable this feature.
21309 alias -g '${1+"$@"}'='"$@"'
21310 setopt NO_GLOB_SUBST
21312 case `(set -o) 2>/dev/null` in
21313 *posix
*) set -o posix
;;
21322 # Avoid depending upon Character Ranges.
21323 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21324 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21325 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21326 as_cr_digits
='0123456789'
21327 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21329 # The user is always right.
21330 if test "${PATH_SEPARATOR+set}" != set; then
21331 echo "#! /bin/sh" >conf$$.sh
21332 echo "exit 0" >>conf$$.sh
21334 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21342 # Support unset when possible.
21343 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21351 # We need space, tab and new line, in precisely that order. Quoting is
21352 # there to prevent editors from complaining about space-tab.
21353 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21354 # splitting by setting IFS to empty value.)
21359 # Find who we are. Look in the path if we contain no directory separator.
21361 *[\\/]* ) as_myself
=$0 ;;
21362 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21363 for as_dir
in $PATH
21366 test -z "$as_dir" && as_dir
=.
21367 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21373 # We did not find ourselves, most probably we were run as `sh COMMAND'
21374 # in which case we are not to be found in the path.
21375 if test "x$as_myself" = x
; then
21378 if test ! -f "$as_myself"; then
21379 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21380 { (exit 1); exit 1; }
21383 # Work around bugs in pre-3.0 UWIN ksh.
21384 for as_var
in ENV MAIL MAILPATH
21385 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21393 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21394 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21395 LC_TELEPHONE LC_TIME
21397 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21398 eval $as_var=C
; export $as_var
21400 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21404 # Required to use basename.
21405 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21406 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21412 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21413 as_basename
=basename
21419 # Name of the executable.
21420 as_me
=`$as_basename -- "$0" ||
21421 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21422 X"$0" : 'X\(//\)$' \| \
21423 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21425 sed '/^.*\/\([^/][^/]*\)\/*$/{
21444 as_lineno_1
=$LINENO
21445 as_lineno_2
=$LINENO
21446 test "x$as_lineno_1" != "x$as_lineno_2" &&
21447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21450 # uniformly replaced by the line number. The first 'sed' inserts a
21451 # line-number line after each line using $LINENO; the second 'sed'
21452 # does the real work. The second script uses 'N' to pair each
21453 # line-number line with the line containing $LINENO, and appends
21454 # trailing '-' during substitution so that $LINENO is not a special
21455 # case at line end.
21456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21457 # scripts with optimization help from Paolo Bonzini. Blame Lee
21458 # E. McMahon (1931-1989) for sed's syntax. :-)
21470 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21473 ' >$as_me.lineno
&&
21474 chmod +x
"$as_me.lineno" ||
21475 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21476 { (exit 1); exit 1; }; }
21478 # Don't try to exec as it changes $[0], causing all sort of problems
21479 # (the dirname of $[0] is not the place where we might find the
21480 # original and so on. Autoconf is especially sensitive to this).
21481 .
"./$as_me.lineno"
21482 # Exit status is that of the last command.
21487 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21493 ECHO_C
= ECHO_N
= ECHO_T
=
21494 case `echo -n x` in
21496 case `echo 'x\c'` in
21497 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21511 rm -f conf$$ conf$$.exe conf$$.
file
21512 if test -d conf$$.dir
; then
21513 rm -f conf$$.dir
/conf$$.
file
21519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21521 # ... but there are two gotchas:
21522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21524 # In both cases, we have to default to `cp -p'.
21525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21532 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21533 rmdir conf$$.dir
2>/dev
/null
21535 if mkdir
-p .
2>/dev
/null
; then
21538 test -d .
/-p && rmdir .
/-p
21542 if test -x / >/dev
/null
2>&1; then
21543 as_test_x
='test -x'
21545 if ls -dL / >/dev
/null
2>&1; then
21552 if test -d "$1"; then
21558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21559 ???[sx]*):;;*)false;;esac;fi
21563 as_executable_p
=$as_test_x
21565 # Sed expression to map a string onto a valid CPP name.
21566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21568 # Sed expression to map a string onto a valid variable name.
21569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21574 # Save the log message, to keep $[0] and so on meaningful, and to
21575 # report actual input values of CONFIG_FILES etc. instead of their
21576 # values after options handling.
21578 This file was extended by liblock $as_me 0.60, which was
21579 generated by GNU Autoconf 2.61. Invocation command line was
21581 CONFIG_FILES = $CONFIG_FILES
21582 CONFIG_HEADERS = $CONFIG_HEADERS
21583 CONFIG_LINKS = $CONFIG_LINKS
21584 CONFIG_COMMANDS = $CONFIG_COMMANDS
21587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21592 cat >>$CONFIG_STATUS <<_ACEOF
21593 # Files that config.status was made for.
21594 config_files="$ac_config_files"
21595 config_headers="$ac_config_headers"
21596 config_commands="$ac_config_commands"
21600 cat >>$CONFIG_STATUS <<\_ACEOF
21602 \`$as_me' instantiates files from templates according to the
21603 current configuration.
21605 Usage: $0 [OPTIONS] [FILE]...
21607 -h, --help print this help, then exit
21608 -V, --version print version number and configuration settings, then exit
21609 -q, --quiet do not print progress messages
21610 -d, --debug don't remove temporary files
21611 --recheck update $as_me by reconfiguring in the same conditions
21612 --file=FILE[:TEMPLATE]
21613 instantiate the configuration file FILE
21614 --header=FILE[:TEMPLATE]
21615 instantiate the configuration header FILE
21617 Configuration files:
21620 Configuration headers:
21623 Configuration commands:
21626 Report bugs to <bug-autoconf@gnu.org>."
21629 cat >>$CONFIG_STATUS <<_ACEOF
21631 liblock config.status 0.60
21632 configured by $0, generated by GNU Autoconf 2.61,
21633 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21635 Copyright (C) 2006 Free Software Foundation, Inc.
21636 This config.status script is free software; the Free Software Foundation
21637 gives unlimited permission to copy, distribute and modify it."
21645 cat >>$CONFIG_STATUS <<\_ACEOF
21646 # If no file are specified by the user, then we need to provide default
21647 # value. By we need to know if files were specified by the user.
21653 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21654 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21665 # Handling of the options.
21666 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21668 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21669 echo "$ac_cs_version"; exit ;;
21670 --debug |
--debu |
--deb |
--de |
--d |
-d )
21672 --file |
--fil |
--fi |
--f )
21674 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21675 ac_need_defaults
=false
;;
21676 --header |
--heade |
--head |
--hea )
21678 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21679 ac_need_defaults
=false
;;
21681 # Conflict between --help and --header
21682 { echo "$as_me: error: ambiguous option: $1
21683 Try \`$0 --help' for more information." >&2
21684 { (exit 1); exit 1; }; };;
21685 --help |
--hel |
-h )
21686 echo "$ac_cs_usage"; exit ;;
21687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21688 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21691 # This is an error.
21692 -*) { echo "$as_me: error: unrecognized option: $1
21693 Try \`$0 --help' for more information." >&2
21694 { (exit 1); exit 1; }; } ;;
21696 *) ac_config_targets
="$ac_config_targets $1"
21697 ac_need_defaults
=false
;;
21703 ac_configure_extra_args
=
21705 if $ac_cs_silent; then
21707 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21711 cat >>$CONFIG_STATUS <<_ACEOF
21712 if \$ac_cs_recheck; then
21713 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21714 CONFIG_SHELL=$SHELL
21715 export CONFIG_SHELL
21716 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21720 cat >>$CONFIG_STATUS <<\_ACEOF
21724 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21725 ## Running $as_me. ##
21731 cat >>$CONFIG_STATUS <<_ACEOF
21735 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21739 cat >>$CONFIG_STATUS <<\_ACEOF
21741 # Handling of arguments.
21742 for ac_config_target
in $ac_config_targets
21744 case $ac_config_target in
21745 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21746 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21747 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21749 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21750 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21751 { (exit 1); exit 1; }; };;
21756 # If the user did not use the arguments to specify the items to instantiate,
21757 # then the envvar interface is used. Set only those that are not.
21758 # We use the long form for the default assignment because of an extremely
21759 # bizarre bug on SunOS 4.1.3.
21760 if $ac_need_defaults; then
21761 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21762 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21763 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21766 # Have a temporary directory for convenience. Make it in the build tree
21767 # simply because there is no reason against having it here, and in addition,
21768 # creating and moving files from /tmp can sometimes cause problems.
21769 # Hook for its removal unless debugging.
21770 # Note that there is a small window in which the directory will not be cleaned:
21771 # after its creation but before its name has been assigned to `$tmp'.
21775 trap 'exit_status=$?
21776 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21778 trap '{ (exit 1); exit 1; }' 1 2 13 15
21780 # Create a (secure) tmp directory for tmp files.
21783 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21784 test -n "$tmp" && test -d "$tmp"
21787 tmp
=.
/conf$$
-$RANDOM
21788 (umask 077 && mkdir
"$tmp")
21791 echo "$me: cannot create a temporary directory in ." >&2
21792 { (exit 1); exit 1; }
21796 # Set up the sed scripts for CONFIG_FILES section.
21799 # No need to generate the scripts if there are no CONFIG_FILES.
21800 # This happens for instance when ./config.status config.h
21801 if test -n "$CONFIG_FILES"; then
21808 for ac_last_try
in false false false false false
:; do
21809 cat >conf$
$subs.
sed <<_ACEOF
21810 SHELL!$SHELL$ac_delim
21811 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21812 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21813 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21814 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21815 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21816 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21817 exec_prefix!$exec_prefix$ac_delim
21818 prefix!$prefix$ac_delim
21819 program_transform_name!$program_transform_name$ac_delim
21820 bindir!$bindir$ac_delim
21821 sbindir!$sbindir$ac_delim
21822 libexecdir!$libexecdir$ac_delim
21823 datarootdir!$datarootdir$ac_delim
21824 datadir!$datadir$ac_delim
21825 sysconfdir!$sysconfdir$ac_delim
21826 sharedstatedir!$sharedstatedir$ac_delim
21827 localstatedir!$localstatedir$ac_delim
21828 includedir!$includedir$ac_delim
21829 oldincludedir!$oldincludedir$ac_delim
21830 docdir!$docdir$ac_delim
21831 infodir!$infodir$ac_delim
21832 htmldir!$htmldir$ac_delim
21833 dvidir!$dvidir$ac_delim
21834 pdfdir!$pdfdir$ac_delim
21835 psdir!$psdir$ac_delim
21836 libdir!$libdir$ac_delim
21837 localedir!$localedir$ac_delim
21838 mandir!$mandir$ac_delim
21839 DEFS!$DEFS$ac_delim
21840 ECHO_C!$ECHO_C$ac_delim
21841 ECHO_N!$ECHO_N$ac_delim
21842 ECHO_T!$ECHO_T$ac_delim
21843 LIBS!$LIBS$ac_delim
21844 build_alias!$build_alias$ac_delim
21845 host_alias!$host_alias$ac_delim
21846 target_alias!$target_alias$ac_delim
21847 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21848 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21849 INSTALL_DATA!$INSTALL_DATA$ac_delim
21850 am__isrc!$am__isrc$ac_delim
21851 CYGPATH_W!$CYGPATH_W$ac_delim
21852 PACKAGE!$PACKAGE$ac_delim
21853 VERSION!$VERSION$ac_delim
21854 ACLOCAL!$ACLOCAL$ac_delim
21855 AUTOCONF!$AUTOCONF$ac_delim
21856 AUTOMAKE!$AUTOMAKE$ac_delim
21857 AUTOHEADER!$AUTOHEADER$ac_delim
21858 MAKEINFO!$MAKEINFO$ac_delim
21859 install_sh!$install_sh$ac_delim
21860 STRIP!$STRIP$ac_delim
21861 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21862 mkdir_p!$mkdir_p$ac_delim
21864 SET_MAKE!$SET_MAKE$ac_delim
21865 am__leading_dot!$am__leading_dot$ac_delim
21866 AMTAR!$AMTAR$ac_delim
21867 am__tar!$am__tar$ac_delim
21868 am__untar!$am__untar$ac_delim
21870 CFLAGS!$CFLAGS$ac_delim
21871 LDFLAGS!$LDFLAGS$ac_delim
21872 CPPFLAGS!$CPPFLAGS$ac_delim
21873 ac_ct_CC!$ac_ct_CC$ac_delim
21874 EXEEXT!$EXEEXT$ac_delim
21875 OBJEXT!$OBJEXT$ac_delim
21876 DEPDIR!$DEPDIR$ac_delim
21877 am__include!$am__include$ac_delim
21878 am__quote!$am__quote$ac_delim
21879 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21880 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21881 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21882 CCDEPMODE!$CCDEPMODE$ac_delim
21883 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21884 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21885 LN_S!$LN_S$ac_delim
21886 build!$build$ac_delim
21887 build_cpu!$build_cpu$ac_delim
21888 build_vendor!$build_vendor$ac_delim
21889 build_os!$build_os$ac_delim
21890 host!$host$ac_delim
21891 host_cpu!$host_cpu$ac_delim
21892 host_vendor!$host_vendor$ac_delim
21893 host_os!$host_os$ac_delim
21895 GREP!$GREP$ac_delim
21896 EGREP!$EGREP$ac_delim
21897 ECHO!$ECHO$ac_delim
21899 RANLIB!$RANLIB$ac_delim
21902 CXXFLAGS!$CXXFLAGS$ac_delim
21903 ac_ct_CXX!$ac_ct_CXX$ac_delim
21904 CXXDEPMODE!$CXXDEPMODE$ac_delim
21905 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21906 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21909 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21911 elif $ac_last_try; then
21912 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21913 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21914 { (exit 1); exit 1; }; }
21916 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21920 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21921 if test -n "$ac_eof"; then
21922 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21923 ac_eof
=`expr $ac_eof + 1`
21926 cat >>$CONFIG_STATUS <<_ACEOF
21927 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21931 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21932 s/^/s,@/; s/!/@,|#_!!_#|/
21935 s/'"$ac_delim"'$/,g/; t
21937 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21938 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21939 rm -f conf$
$subs.
sed
21940 cat >>$CONFIG_STATUS <<_ACEOF
21946 for ac_last_try
in false false false false false
:; do
21947 cat >conf$
$subs.
sed <<_ACEOF
21948 CXXCPP!$CXXCPP$ac_delim
21950 FFLAGS!$FFLAGS$ac_delim
21951 ac_ct_F77!$ac_ct_F77$ac_delim
21952 LIBTOOL!$LIBTOOL$ac_delim
21953 USE_FCNTL_TRUE!$USE_FCNTL_TRUE$ac_delim
21954 USE_FCNTL_FALSE!$USE_FCNTL_FALSE$ac_delim
21955 USE_FLOCK_TRUE!$USE_FLOCK_TRUE$ac_delim
21956 USE_FLOCK_FALSE!$USE_FLOCK_FALSE$ac_delim
21957 USE_LOCKF_TRUE!$USE_LOCKF_TRUE$ac_delim
21958 USE_LOCKF_FALSE!$USE_LOCKF_FALSE$ac_delim
21959 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21960 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21961 LIBOBJS!$LIBOBJS$ac_delim
21962 LTLIBOBJS!$LTLIBOBJS$ac_delim
21965 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
21967 elif $ac_last_try; then
21968 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21969 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21970 { (exit 1); exit 1; }; }
21972 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21976 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21977 if test -n "$ac_eof"; then
21978 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21979 ac_eof
=`expr $ac_eof + 1`
21982 cat >>$CONFIG_STATUS <<_ACEOF
21983 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21987 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21988 s/^/s,@/; s/!/@,|#_!!_#|/
21991 s/'"$ac_delim"'$/,g/; t
21993 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21994 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21995 rm -f conf$
$subs.
sed
21996 cat >>$CONFIG_STATUS <<_ACEOF
22003 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22004 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22005 # trailing colons and then remove the whole line if VPATH becomes empty
22006 # (actually we leave an empty line to preserve line numbers).
22007 if test "x$srcdir" = x.
; then
22008 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22009 s/:*\$(srcdir):*/:/
22010 s/:*\${srcdir}:*/:/
22012 s/^\([^=]*=[ ]*\):*/\1/
22018 cat >>$CONFIG_STATUS <<\_ACEOF
22019 fi # test -n "$CONFIG_FILES"
22022 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22025 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22027 case $ac_mode$ac_tag in
22029 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22030 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22031 { (exit 1); exit 1; }; };;
22032 :[FH
]-) ac_tag
=-:-;;
22033 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22050 -) ac_f
="$tmp/stdin";;
22051 *) # Look for the file first in the build tree, then in the source tree
22052 # (if the path is not absolute). The absolute path cannot be DOS-style,
22053 # because $ac_f cannot contain `:'.
22057 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22059 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22060 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22061 { (exit 1); exit 1; }; };;
22063 ac_file_inputs
="$ac_file_inputs $ac_f"
22066 # Let's still pretend it is `configure' which instantiates (i.e., don't
22067 # use $as_me), people would be surprised to read:
22068 # /* config.h. Generated by config.status. */
22069 configure_input
="Generated from "`IFS=:
22070 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22071 if test x
"$ac_file" != x-
; then
22072 configure_input
="$ac_file. $configure_input"
22073 { echo "$as_me:$LINENO: creating $ac_file" >&5
22074 echo "$as_me: creating $ac_file" >&6;}
22078 *:-:* |
*:-) cat >"$tmp/stdin";;
22083 ac_dir
=`$as_dirname -- "$ac_file" ||
22084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22085 X"$ac_file" : 'X\(//\)[^/]' \| \
22086 X"$ac_file" : 'X\(//\)$' \| \
22087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22093 /^X\(\/\/\)[^/].*/{
22108 -*) as_dir
=.
/$as_dir;;
22110 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22114 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22115 *) as_qdir
=$as_dir;;
22117 as_dirs
="'$as_qdir' $as_dirs"
22118 as_dir
=`$as_dirname -- "$as_dir" ||
22119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22120 X"$as_dir" : 'X\(//\)[^/]' \| \
22121 X"$as_dir" : 'X\(//\)$' \| \
22122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22128 /^X\(\/\/\)[^/].*/{
22141 test -d "$as_dir" && break
22143 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22144 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22145 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22146 { (exit 1); exit 1; }; }; }
22150 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22152 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22153 # A ".." for each directory in $ac_dir_suffix.
22154 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22155 case $ac_top_builddir_sub in
22156 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22157 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22160 ac_abs_top_builddir
=$ac_pwd
22161 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22162 # for backward compatibility:
22163 ac_top_builddir
=$ac_top_build_prefix
22166 .
) # We are building in place.
22168 ac_top_srcdir
=$ac_top_builddir_sub
22169 ac_abs_top_srcdir
=$ac_pwd ;;
22170 [\\/]* | ?
:[\\/]* ) # Absolute name.
22171 ac_srcdir
=$srcdir$ac_dir_suffix;
22172 ac_top_srcdir
=$srcdir
22173 ac_abs_top_srcdir
=$srcdir ;;
22174 *) # Relative name.
22175 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22176 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22177 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22179 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22189 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22190 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22192 ac_MKDIR_P
=$MKDIR_P
22194 [\\/$
]* | ?
:[\\/]* ) ;;
22195 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22199 cat >>$CONFIG_STATUS <<\_ACEOF
22200 # If the template does not know about datarootdir, expand it.
22201 # FIXME: This hack should be removed a few years after 2.60.
22202 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22204 case `sed -n '/datarootdir/ {
22213 ' $ac_file_inputs` in
22214 *datarootdir
*) ac_datarootdir_seen
=yes;;
22215 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22216 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22217 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22219 cat >>$CONFIG_STATUS <<_ACEOF
22220 ac_datarootdir_hack='
22221 s&@datadir@&$datadir&g
22222 s&@docdir@&$docdir&g
22223 s&@infodir@&$infodir&g
22224 s&@localedir@&$localedir&g
22225 s&@mandir@&$mandir&g
22226 s&\\\${datarootdir}&$datarootdir&g' ;;
22230 # Neutralize VPATH when `$srcdir' = `.'.
22231 # Shell code in configure.ac might set extrasub.
22232 # FIXME: do we really want to maintain this feature?
22233 cat >>$CONFIG_STATUS <<_ACEOF
22237 cat >>$CONFIG_STATUS <<\_ACEOF
22239 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22240 s
&@configure_input@
&$configure_input&;t t
22241 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22242 s
&@srcdir@
&$ac_srcdir&;t t
22243 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22244 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22245 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22246 s
&@builddir@
&$ac_builddir&;t t
22247 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22248 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22249 s
&@INSTALL@
&$ac_INSTALL&;t t
22250 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22251 $ac_datarootdir_hack
22252 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22254 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22255 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22256 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22257 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22258 which seems to be undefined. Please make sure it is defined." >&5
22259 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22260 which seems to be undefined. Please make sure it is defined." >&2;}
22264 -) cat "$tmp/out"; rm -f "$tmp/out";;
22265 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22274 # Transform confdefs.h into a sed script `conftest.defines', that
22275 # substitutes the proper values into config.h.in to produce config.h.
22276 rm -f conftest.defines conftest.
tail
22277 # First, append a space to every undef/define line, to ease matching.
22278 echo 's/$/ /' >conftest.defines
22279 # Then, protect against being on the right side of a sed subst, or in
22280 # an unquoted here document, in config.status. If some macros were
22281 # called several times there might be several #defines for the same
22282 # symbol, which is useless. But do not sort them, since the last
22283 # AC_DEFINE must be honored.
22284 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22285 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22286 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22287 # PARAMS is the parameter list in the macro definition--in most cases, it's
22288 # just an empty string.
22289 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22290 ac_dB
='\\)[ (].*,\\1define\\2'
22298 s/^[ ]*#[ ]*define[ ][ ]*//
22303 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22304 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22305 ' >>conftest.defines
22307 # Remove the space that was appended to ease matching.
22308 # Then replace #undef with comments. This is necessary, for
22309 # example, in the case of _POSIX_SOURCE, which is predefined and required
22310 # on some systems where configure will not decide to define it.
22311 # (The regexp can be short, since the line contains either #define or #undef.)
22313 s,^[ #]*u.*,/* & */,' >>conftest.defines
22315 # Break up conftest.defines:
22316 ac_max_sed_lines
=50
22318 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22319 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22320 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22322 ac_in
='$ac_file_inputs'
22323 ac_out
='"$tmp/out1"'
22324 ac_nxt
='"$tmp/out2"'
22328 # Write a here document:
22329 cat >>$CONFIG_STATUS <<_ACEOF
22330 # First, check the format of the line:
22331 cat >"\$tmp/defines.sed" <<\\CEOF
22332 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22333 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22337 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22339 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22340 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22341 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22342 grep . conftest.
tail >/dev
/null ||
break
22343 rm -f conftest.defines
22344 mv conftest.
tail conftest.defines
22346 rm -f conftest.defines conftest.
tail
22348 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22349 cat >>$CONFIG_STATUS <<\_ACEOF
22350 if test x
"$ac_file" != x-
; then
22351 echo "/* $configure_input */" >"$tmp/config.h"
22352 cat "$ac_result" >>"$tmp/config.h"
22353 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22354 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22355 echo "$as_me: $ac_file is unchanged" >&6;}
22358 mv "$tmp/config.h" $ac_file
22361 echo "/* $configure_input */"
22365 # Compute $ac_file's index in $config_headers.
22368 for _am_header
in $config_headers :; do
22369 case $_am_header in
22370 $_am_arg |
$_am_arg:* )
22373 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22376 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22377 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22378 X"$_am_arg" : 'X\(//\)[^/]' \| \
22379 X"$_am_arg" : 'X\(//\)$' \| \
22380 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22386 /^X\(\/\/\)[^/].*/{
22398 s/.*/./; q'`/stamp-h
$_am_stamp_count
22401 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22402 echo "$as_me: executing $ac_file commands" >&6;}
22407 case $ac_file$ac_mode in
22408 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22409 # Strip MF so we end up with the name of the file.
22410 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22411 # Check whether this is an Automake generated Makefile or not.
22412 # We used to match only the files named `Makefile.in', but
22413 # some people rename them; so instead we look at the file content.
22414 # Grep'ing the first line is not enough: some people post-process
22415 # each Makefile.in and add a new line on top of each file to say so.
22416 # Grep'ing the whole file is not good either: AIX grep has a line
22417 # limit of 2048, but all sed's we know have understand at least 4000.
22418 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22419 dirpart
=`$as_dirname -- "$mf" ||
22420 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22421 X"$mf" : 'X\(//\)[^/]' \| \
22422 X"$mf" : 'X\(//\)$' \| \
22423 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22429 /^X\(\/\/\)[^/].*/{
22445 # Extract the definition of DEPDIR, am__include, and am__quote
22446 # from the Makefile without running `make'.
22447 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22448 test -z "$DEPDIR" && continue
22449 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22450 test -z "am__include" && continue
22451 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22452 # When using ansi2knr, U may be empty or an underscore; expand it
22453 U
=`sed -n 's/^U = //p' < "$mf"`
22454 # Find all dependency output files, they are included files with
22455 # $(DEPDIR) in their names. We invoke sed twice because it is the
22456 # simplest approach to changing $(DEPDIR) to its actual value in the
22458 for file in `sed -n "
22459 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22460 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22461 # Make sure the directory exists.
22462 test -f "$dirpart/$file" && continue
22463 fdir
=`$as_dirname -- "$file" ||
22464 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22465 X"$file" : 'X\(//\)[^/]' \| \
22466 X"$file" : 'X\(//\)$' \| \
22467 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22473 /^X\(\/\/\)[^/].*/{
22486 { as_dir
=$dirpart/$fdir
22488 -*) as_dir
=.
/$as_dir;;
22490 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22494 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22495 *) as_qdir
=$as_dir;;
22497 as_dirs
="'$as_qdir' $as_dirs"
22498 as_dir
=`$as_dirname -- "$as_dir" ||
22499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22500 X"$as_dir" : 'X\(//\)[^/]' \| \
22501 X"$as_dir" : 'X\(//\)$' \| \
22502 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22508 /^X\(\/\/\)[^/].*/{
22521 test -d "$as_dir" && break
22523 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22524 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22525 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22526 { (exit 1); exit 1; }; }; }
22527 # echo "creating $dirpart/$file"
22528 echo '# dummy' > "$dirpart/$file"
22537 { (exit 0); exit 0; }
22539 chmod +x
$CONFIG_STATUS
22540 ac_clean_files
=$ac_clean_files_save
22543 # configure is writing to config.log, and then calls config.status.
22544 # config.status does its own redirection, appending to config.log.
22545 # Unfortunately, on DOS this fails, as config.log is still kept open
22546 # by configure, so config.status won't be able to write to it; its
22547 # output is simply discarded. So we exec the FD to /dev/null,
22548 # effectively closing config.log, so it can be properly (re)opened and
22549 # appended to by config.status. When coming back to configure, we
22550 # need to make the FD available again.
22551 if test "$no_create" != yes; then
22553 ac_config_status_args
=
22554 test "$silent" = yes &&
22555 ac_config_status_args
="$ac_config_status_args --quiet"
22557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22560 # would make configure fail if this is the last instruction.
22561 $ac_cs_success ||
{ (exit 1); exit 1; }