2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for barry 0.15.
5 # Report bugs to <barry-devel@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.
730 PACKAGE_TARNAME
='barry'
731 PACKAGE_VERSION
='0.15'
732 PACKAGE_STRING
='barry 0.15'
733 PACKAGE_BUGREPORT
='barry-devel@lists.sourceforge.net'
735 ac_unique_file
="src/barry.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
822 INSTALL_STRIP_PROGRAM
875 WITH_GCCVISIBILITY_TRUE
876 WITH_GCCVISIBILITY_FALSE
897 ac_precious_vars
='build_alias
920 opensync-plugin-0.4x'
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
992 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
995 -build |
--build |
--buil |
--bui |
--bu)
996 ac_prev
=build_alias
;;
997 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
998 build_alias
=$ac_optarg ;;
1000 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1001 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1002 ac_prev
=cache_file
;;
1003 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1004 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1005 cache_file
=$ac_optarg ;;
1007 --config-cache |
-C)
1008 cache_file
=config.cache
;;
1010 -datadir |
--datadir |
--datadi |
--datad)
1012 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1013 datadir
=$ac_optarg ;;
1015 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1016 |
--dataroo |
--dataro |
--datar)
1017 ac_prev
=datarootdir
;;
1018 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1019 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1020 datarootdir
=$ac_optarg ;;
1022 -disable-* |
--disable-*)
1023 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 eval enable_
$ac_feature=no
;;
1031 -docdir |
--docdir |
--docdi |
--doc |
--do)
1033 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1034 docdir
=$ac_optarg ;;
1036 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1038 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1039 dvidir
=$ac_optarg ;;
1041 -enable-* |
--enable-*)
1042 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1045 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1046 { (exit 1); exit 1; }; }
1047 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1048 eval enable_
$ac_feature=\
$ac_optarg ;;
1050 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1051 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1052 |
--exec |
--exe |
--ex)
1053 ac_prev
=exec_prefix
;;
1054 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1055 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1056 |
--exec=* |
--exe=* |
--ex=*)
1057 exec_prefix
=$ac_optarg ;;
1059 -gas |
--gas |
--ga |
--g)
1060 # Obsolete; use --with-gas.
1063 -help |
--help |
--hel |
--he |
-h)
1064 ac_init_help
=long
;;
1065 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1066 ac_init_help
=recursive
;;
1067 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1068 ac_init_help
=short
;;
1070 -host |
--host |
--hos |
--ho)
1071 ac_prev
=host_alias
;;
1072 -host=* |
--host=* |
--hos=* |
--ho=*)
1073 host_alias
=$ac_optarg ;;
1075 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1077 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1079 htmldir
=$ac_optarg ;;
1081 -includedir |
--includedir |
--includedi |
--included |
--include \
1082 |
--includ |
--inclu |
--incl |
--inc)
1083 ac_prev
=includedir
;;
1084 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1085 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1086 includedir
=$ac_optarg ;;
1088 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1090 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1091 infodir
=$ac_optarg ;;
1093 -libdir |
--libdir |
--libdi |
--libd)
1095 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1096 libdir
=$ac_optarg ;;
1098 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1099 |
--libexe |
--libex |
--libe)
1100 ac_prev
=libexecdir
;;
1101 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1102 |
--libexe=* |
--libex=* |
--libe=*)
1103 libexecdir
=$ac_optarg ;;
1105 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1106 ac_prev
=localedir
;;
1107 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1108 localedir
=$ac_optarg ;;
1110 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1111 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1112 ac_prev
=localstatedir
;;
1113 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1114 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1115 localstatedir
=$ac_optarg ;;
1117 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1119 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1120 mandir
=$ac_optarg ;;
1122 -nfp |
--nfp |
--nf)
1123 # Obsolete; use --without-fp.
1126 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1127 |
--no-cr |
--no-c |
-n)
1130 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1131 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1134 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1135 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1136 |
--oldin |
--oldi |
--old |
--ol |
--o)
1137 ac_prev
=oldincludedir
;;
1138 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1139 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1140 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1141 oldincludedir
=$ac_optarg ;;
1143 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1145 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1146 prefix
=$ac_optarg ;;
1148 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1149 |
--program-pre |
--program-pr |
--program-p)
1150 ac_prev
=program_prefix
;;
1151 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1152 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1153 program_prefix
=$ac_optarg ;;
1155 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1156 |
--program-suf |
--program-su |
--program-s)
1157 ac_prev
=program_suffix
;;
1158 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1159 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1160 program_suffix
=$ac_optarg ;;
1162 -program-transform-name |
--program-transform-name \
1163 |
--program-transform-nam |
--program-transform-na \
1164 |
--program-transform-n |
--program-transform- \
1165 |
--program-transform |
--program-transfor \
1166 |
--program-transfo |
--program-transf \
1167 |
--program-trans |
--program-tran \
1168 |
--progr-tra |
--program-tr |
--program-t)
1169 ac_prev
=program_transform_name
;;
1170 -program-transform-name=* |
--program-transform-name=* \
1171 |
--program-transform-nam=* |
--program-transform-na=* \
1172 |
--program-transform-n=* |
--program-transform-=* \
1173 |
--program-transform=* |
--program-transfor=* \
1174 |
--program-transfo=* |
--program-transf=* \
1175 |
--program-trans=* |
--program-tran=* \
1176 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1177 program_transform_name
=$ac_optarg ;;
1179 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1181 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1182 pdfdir
=$ac_optarg ;;
1184 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1186 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1189 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1190 |
-silent |
--silent |
--silen |
--sile |
--sil)
1193 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1195 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1197 sbindir
=$ac_optarg ;;
1199 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1200 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1201 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1203 ac_prev
=sharedstatedir
;;
1204 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1205 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1206 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1208 sharedstatedir
=$ac_optarg ;;
1210 -site |
--site |
--sit)
1212 -site=* |
--site=* |
--sit=*)
1215 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1217 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1218 srcdir
=$ac_optarg ;;
1220 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1221 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1222 ac_prev
=sysconfdir
;;
1223 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1224 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1225 sysconfdir
=$ac_optarg ;;
1227 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1228 ac_prev
=target_alias
;;
1229 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1230 target_alias
=$ac_optarg ;;
1232 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1235 -version |
--version |
--versio |
--versi |
--vers |
-V)
1236 ac_init_version
=: ;;
1239 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 { echo "$as_me: error: invalid package name: $ac_package" >&2
1243 { (exit 1); exit 1; }; }
1244 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1245 eval with_
$ac_package=\
$ac_optarg ;;
1247 -without-* |
--without-*)
1248 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 { echo "$as_me: error: invalid package name: $ac_package" >&2
1252 { (exit 1); exit 1; }; }
1253 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1254 eval with_
$ac_package=no
;;
1257 # Obsolete; use --with-x.
1260 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1261 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1262 ac_prev
=x_includes
;;
1263 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1264 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1265 x_includes
=$ac_optarg ;;
1267 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1268 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1269 ac_prev
=x_libraries
;;
1270 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1271 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1272 x_libraries
=$ac_optarg ;;
1274 -*) { echo "$as_me: error: unrecognized option: $ac_option
1275 Try \`$0 --help' for more information." >&2
1276 { (exit 1); exit 1; }; }
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1283 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1284 { (exit 1); exit 1; }; }
1285 eval $ac_envvar=\
$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 if test -n "$ac_prev"; then
1300 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1301 { echo "$as_me: error: missing argument to $ac_option" >&2
1302 { (exit 1); exit 1; }; }
1305 # Be sure to have absolute directory names.
1306 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1307 datadir sysconfdir sharedstatedir localstatedir includedir \
1308 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1309 libdir localedir mandir
1311 eval ac_val
=\$
$ac_var
1313 [\\/$
]* | ?
:[\\/]* ) continue;;
1314 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1316 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1317 { (exit 1); exit 1; }; }
1320 # There might be people who depend on the old broken behavior: `$host'
1321 # used to hold the argument of --host etc.
1322 # FIXME: To remove some day.
1325 target
=$target_alias
1327 # FIXME: To remove some day.
1328 if test "x$host_alias" != x
; then
1329 if test "x$build_alias" = x
; then
1330 cross_compiling
=maybe
1331 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1332 If a cross compiler is detected then cross compile mode will be used." >&2
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1341 test "$silent" = yes && exec 6>/dev
/null
1344 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di
=`ls -di .` &&
1346 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1347 { echo "$as_me: error: Working directory cannot be determined" >&2
1348 { (exit 1); exit 1; }; }
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 { echo "$as_me: error: pwd does not report name of working directory" >&2
1351 { (exit 1); exit 1; }; }
1354 # Find the source files, if location was not specified.
1355 if test -z "$srcdir"; then
1356 ac_srcdir_defaulted
=yes
1357 # Try the directory containing this script, then the parent directory.
1358 ac_confdir
=`$as_dirname -- "$0" ||
1359 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360 X"$0" : 'X\(//\)[^/]' \| \
1361 X"$0" : 'X\(//\)$' \| \
1362 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1386 ac_srcdir_defaulted
=no
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1390 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1391 { (exit 1); exit 1; }; }
1393 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1396 { (exit 1); exit 1; }; }
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1406 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 for ac_var
in $ac_precious_vars; do
1409 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1410 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1411 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1412 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1422 \`configure' configures barry 0.15 to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/barry]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 if test -n "$ac_init_help"; then
1491 case $ac_init_help in
1492 short | recursive
) echo "Configuration of barry 0.15:";;
1497 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1498 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1499 --disable-dependency-tracking speeds up one-time build
1500 --enable-dependency-tracking do not reject slow dependency extractors
1501 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1502 --enable-static[=PKGS
] build static libraries
[default
=yes]
1503 --enable-fast-install[=PKGS
]
1504 optimize
for fast installation
[default
=yes]
1505 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1506 --enable-boost enable Boost support
1507 --disable-rpath do not hardcode runtime library paths
1508 --enable-gui build the gui
1509 --enable-opensync-plugin
1510 build the opensync plugin
1511 --enable-opensync-plugin-4x
1512 build the opensync
0.4x plugin
1515 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1516 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1517 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1518 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1520 --with-tags[=TAGS
] include additional configurations
[automatic
]
1521 --with-libusb=<path
> root path of libusb installation
1522 --with-boost-include=path
1523 path to Boost include directory
in order to
make
1524 include
<boost
/something.hpp
> valid
(defaults to
1526 --with-boost-lib=path path to Boost library directory
(defaults to system
1528 --with-boost-serialization=name
1529 name of serialization library to use with compiler
's
1530 -l option (defaults to boost_serialization or
1531 boost_serialization-mt.)
1532 --with-zlib force usage of zlib, and halt if not available
1533 --with-gnu-ld assume the C compiler uses GNU ld default=no
1534 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1535 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1537 Some influential environment variables
:
1538 CC C compiler
command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1541 nonstandard directory
<lib dir
>
1542 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1543 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1544 you have headers
in a nonstandard directory
<include dir
>
1546 CXX C
++ compiler
command
1547 CXXFLAGS C
++ compiler flags
1548 CXXCPP C
++ preprocessor
1549 F77 Fortran
77 compiler
command
1550 FFLAGS Fortran
77 compiler flags
1551 PKG_CONFIG path to pkg-config utility
1553 C compiler flags
for LIBUSB
, overriding pkg-config
1554 LIBUSB_LIBS linker flags
for LIBUSB
, overriding pkg-config
1555 FUSE_CFLAGS C compiler flags
for FUSE
, overriding pkg-config
1556 FUSE_LIBS linker flags
for FUSE
, overriding pkg-config
1557 ZLIB_LIBS Linker options
for zlib
1559 Use these variables to override the choices made by
`configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1562 Report bugs to <barry-devel@lists.sourceforge.net>.
1567 if test "$ac_init_help" = "recursive"; then
1568 # If there are subdirs, report their specific --help.
1569 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1570 test -d "$ac_dir" || continue
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1590 .) # We are building in place.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1614 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1623 barry configure 0.15
1624 generated by GNU Autoconf 2.61
1626 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1627 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1628 This configure script is free software; the Free Software Foundation
1629 gives unlimited permission to copy, distribute and modify it.
1633 cat >config.log <<_ACEOF
1634 This file contains any messages produced by compilers while
1635 running configure, to aid debugging if configure makes a mistake.
1637 It was created by barry $as_me 0.15, which was
1638 generated by GNU Autoconf 2.61. Invocation command line was
1650 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1651 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1652 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1653 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1654 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1656 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1657 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1659 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1660 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1661 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1662 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1663 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1664 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1665 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 echo "PATH: $as_dir"
1690 # Keep a trace of the command line.
1691 # Strip out --no-create and --no-recursion so they do not pile up.
1692 # Strip out --silent because we don't want to record it for future runs.
1693 # Also quote any args containing shell meta-characters.
1694 # Make two passes to allow for proper duplicate-argument suppression.
1698 ac_must_keep_next=false
1704 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1705 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1706 | -silent | --silent | --silen | --sile | --sil)
1709 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1712 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1714 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1715 if test $ac_must_keep_next = true; then
1716 ac_must_keep_next=false # Got value, back to normal.
1719 *=* | --config-cache | -C | -disable-* | --disable-* \
1720 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1721 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1722 | -with-* | --with-* | -without-* | --without-* | --x)
1723 case "$ac_configure_args0 " in
1724 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1727 -* ) ac_must_keep_next=true ;;
1730 ac_configure_args="$ac_configure_args '$ac_arg'"
1735 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1736 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1738 # When interrupted or exit'd, cleanup temporary files, and complete
1739 # config.log. We remove comments because anyway the quotes in there
1740 # would cause problems or look ugly.
1741 # WARNING: Use '\'' to represent an apostrophe within the trap.
1742 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1743 trap 'exit_status=$?
1744 # Save into config.log some information that might help in debugging.
1749 ## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##
1754 # The following way of writing the cache mishandles newlines in values,
1756 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1757 eval ac_val=\$$ac_var
1761 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1762 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1765 _ | IFS | as_nl) ;; #(
1766 *) $as_unset $ac_var ;;
1771 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1786 ## ----------------- ##
1787 ## Output variables. ##
1788 ## ----------------- ##
1791 for ac_var in $ac_subst_vars
1793 eval ac_val=\$$ac_var
1795 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1797 echo "$ac_var='\''$ac_val'\''"
1801 if test -n "$ac_subst_files"; then
1803 ## ------------------- ##
1804 ## File substitutions. ##
1805 ## ------------------- ##
1808 for ac_var in $ac_subst_files
1810 eval ac_val=\$$ac_var
1812 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814 echo "$ac_var='\''$ac_val'\''"
1819 if test -s confdefs.h; then
1829 test "$ac_signal" != 0 &&
1830 echo "$as_me: caught signal $ac_signal"
1831 echo "$as_me: exit $exit_status"
1833 rm -f core *.core core.conftest.* &&
1834 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1837 for ac_signal in 1 2 13 15; do
1838 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1842 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1843 rm -f -r conftest* confdefs.h
1845 # Predefined preprocessor variables.
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_NAME "$PACKAGE_NAME"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_STRING "$PACKAGE_STRING"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1872 # Let the site file select an alternate cache file if it wants to.
1873 # Prefer explicitly selected file to automatically selected ones.
1874 if test -n "$CONFIG_SITE"; then
1875 set x "$CONFIG_SITE"
1876 elif test "x$prefix" != xNONE; then
1877 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1879 set x "$ac_default_prefix/share/config.site" \
1880 "$ac_default_prefix/etc/config.site"
1885 if test -r "$ac_site_file"; then
1886 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1887 echo "$as_me: loading site script $ac_site_file" >&6;}
1888 sed 's/^/| /' "$ac_site_file" >&5
1893 if test -r "$cache_file"; then
1894 # Some versions of bash will fail to source /dev/null (special
1895 # files actually), so we avoid doing that.
1896 if test -f "$cache_file"; then
1897 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1898 echo "$as_me: loading cache $cache_file" >&6;}
1900 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1901 *) . "./$cache_file";;
1905 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1906 echo "$as_me: creating cache $cache_file" >&6;}
1910 # Check that the precious variables saved in the cache have kept the same
1912 ac_cache_corrupted=false
1913 for ac_var in $ac_precious_vars; do
1914 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1915 eval ac_new_set=\$ac_env_${ac_var}_set
1916 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1917 eval ac_new_val=\$ac_env_${ac_var}_value
1918 case $ac_old_set,$ac_new_set in
1920 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1921 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1922 ac_cache_corrupted=: ;;
1924 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1925 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1926 ac_cache_corrupted=: ;;
1929 if test "x$ac_old_val" != "x$ac_new_val"; then
1930 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1931 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1932 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1933 echo "$as_me: former value
: $ac_old_val" >&2;}
1934 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1935 echo "$as_me: current value
: $ac_new_val" >&2;}
1936 ac_cache_corrupted=:
1939 # Pass precious variables to config.status.
1940 if test "$ac_new_set" = set; then
1942 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1943 *) ac_arg=$ac_var=$ac_new_val ;;
1945 case " $ac_configure_args " in
1946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1947 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1951 if $ac_cache_corrupted; then
1952 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1953 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1954 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1955 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1956 { (exit 1); exit 1; }; }
1984 ac_cpp='$CPP $CPPFLAGS'
1985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1990 #AM_CONFIG_HEADER(config.h)
1992 ac_config_headers="$ac_config_headers config.h:config.h.in"
1995 am__api_version="1.9"
1997 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1998 if test -f "$ac_dir/install-sh"; then
2000 ac_install_sh="$ac_aux_dir/install-sh -c"
2002 elif test -f "$ac_dir/install.sh"; then
2004 ac_install_sh="$ac_aux_dir/install.sh -c"
2006 elif test -f "$ac_dir/shtool"; then
2008 ac_install_sh="$ac_aux_dir/shtool install -c"
2012 if test -z "$ac_aux_dir"; then
2013 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2014 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2015 { (exit 1); exit 1; }; }
2018 # These three variables are undocumented and unsupported,
2019 # and are intended to be withdrawn in a future Autoconf release.
2020 # They can cause serious problems if a builder's source tree is in a directory
2021 # whose full name contains unusual characters.
2022 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2023 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2024 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2027 # Find a good install program. We prefer a C program (faster),
2028 # so one script is as good as another. But avoid the broken or
2029 # incompatible versions:
2030 # SysV /etc/install, /usr/sbin/install
2031 # SunOS /usr/etc/install
2032 # IRIX /sbin/install
2034 # AmigaOS /C/install, which installs bootblocks on floppy discs
2035 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2036 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2037 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2038 # OS/2's system install, which has a completely different semantic
2039 # ./install, which can be erroneously created by make from ./install.sh.
2040 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2041 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2042 if test -z "$INSTALL"; then
2043 if test "${ac_cv_path_install+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 # Account for people who put trailing slashes in PATH elements.
2053 ./ | .// | /cC/* | \
2054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2055 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2058 # OSF1 and SCO ODT 3.0 have their own names for install.
2059 # Don't use installbsd from OSF since it installs stuff as root
2061 for ac_prog in ginstall scoinst install; do
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2064 if test $ac_prog = install &&
2065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2066 # AIX install. It has an incompatible calling convention.
2068 elif test $ac_prog = install &&
2069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2070 # program-specific install script used by HP pwplus--don't use.
2073 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2086 if test "${ac_cv_path_install+set}" = set; then
2087 INSTALL=$ac_cv_path_install
2089 # As a last resort, use the slow shell script. Don't cache a
2090 # value for INSTALL within a source directory, because that will
2091 # break other packages using the cache if that directory is
2092 # removed, or if the value is a relative name.
2093 INSTALL=$ac_install_sh
2096 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2097 echo "${ECHO_T}$INSTALL" >&6; }
2099 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2100 # It thinks the first close brace ends the variable substitution.
2101 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2103 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2105 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2107 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2108 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2111 echo timestamp > conftest.file
2112 # Do `set' in a subshell so we don't clobber the current shell
's
2113 # arguments. Must try -L first in case configure is actually a
2114 # symlink; some systems play weird games with the mod time of symlinks
2115 # (eg FreeBSD returns the mod time of the symlink's containing
2118 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2119 if test "$*" = "X"; then
2121 set X
`ls -t $srcdir/configure conftest.file`
2124 if test "$*" != "X $srcdir/configure conftest.file" \
2125 && test "$*" != "X conftest.file $srcdir/configure"; then
2127 # If neither matched, then we have a broken ls. This can happen
2128 # if, for instance, CONFIG_SHELL is bash and it inherits a
2129 # broken ls alias from the environment. This has actually
2130 # happened. Such a system could not be considered "sane".
2131 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2132 alias in your environment" >&5
2133 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2134 alias in your environment" >&2;}
2135 { (exit 1); exit 1; }; }
2138 test "$2" = conftest.
file
2144 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2145 Check your system clock" >&5
2146 echo "$as_me: error: newly created file is older than distributed files!
2147 Check your system clock" >&2;}
2148 { (exit 1); exit 1; }; }
2150 { echo "$as_me:$LINENO: result: yes" >&5
2151 echo "${ECHO_T}yes" >&6; }
2152 test "$program_prefix" != NONE
&&
2153 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2154 # Use a double $ so make ignores it.
2155 test "$program_suffix" != NONE
&&
2156 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2157 # Double any \ or $. echo might interpret backslashes.
2158 # By default was `s,x,x', remove it if useless.
2159 cat <<\_ACEOF
>conftest.
sed
2160 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2162 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2165 # expand $ac_aux_dir to an absolute path
2166 am_aux_dir
=`cd $ac_aux_dir && pwd`
2168 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2169 # Use eval to expand $SHELL
2170 if eval "$MISSING --run true"; then
2171 am_missing_run
="$MISSING --run "
2174 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2175 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2178 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2179 # We used to keeping the `.' as first argument, in order to
2180 # allow $(mkdir_p) to be used without argument. As in
2181 # $(mkdir_p) $(somedir)
2182 # where $(somedir) is conditionally defined. However this is wrong
2184 # 1. if the package is installed by a user who cannot write `.'
2185 # make install will fail,
2186 # 2. the above comment should most certainly read
2187 # $(mkdir_p) $(DESTDIR)$(somedir)
2188 # so it does not work when $(somedir) is undefined and
2189 # $(DESTDIR) is not.
2190 # To support the latter case, we have to write
2191 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2192 # so the `.' trick is pointless.
2193 mkdir_p
='mkdir -p --'
2195 # On NextStep and OpenStep, the `mkdir' command does not
2196 # recognize any option. It will interpret all options as
2197 # directories to create, and then abort because `.' already
2199 for d
in .
/-p .
/--version;
2201 test -d $d && rmdir $d
2203 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2204 if test -f "$ac_aux_dir/mkinstalldirs"; then
2205 mkdir_p
='$(mkinstalldirs)'
2207 mkdir_p
='$(install_sh) -d'
2211 for ac_prog
in gawk mawk nawk
awk
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy
$ac_prog; ac_word
=$2
2215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2217 if test "${ac_cv_prog_AWK+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$AWK"; then
2221 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_AWK
="$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$AWK"; then
2242 { echo "$as_me:$LINENO: result: $AWK" >&5
2243 echo "${ECHO_T}$AWK" >&6; }
2245 { echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6; }
2250 test -n "$AWK" && break
2253 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2255 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 cat >conftest.
make <<\_ACEOF
2262 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2269 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2273 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2280 SET_MAKE
="MAKE=${MAKE-make}"
2283 rm -rf .tst
2>/dev
/null
2284 mkdir .tst
2>/dev
/null
2285 if test -d .tst
; then
2290 rmdir .tst
2>/dev
/null
2292 # test to see if srcdir already configured
2293 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2294 test -f $srcdir/config.status
; then
2295 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2296 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2297 { (exit 1); exit 1; }; }
2300 # test whether we have cygpath
2301 if test -z "$CYGPATH_W"; then
2302 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2303 CYGPATH_W
='cygpath -w'
2310 # Define the identity of the package.
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE "$PACKAGE"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define VERSION "$VERSION"
2324 # Some tools Automake needs.
2326 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2329 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2332 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2335 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2338 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2340 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2342 # Installed binaries are usually stripped using `strip' when the user
2343 # run `make install-strip'. However `strip' might not be the right
2344 # tool to use in cross-compilation environments, therefore Automake
2345 # will honor the `STRIP' environment variable to overrule this program.
2346 if test "$cross_compiling" != no
; then
2347 if test -n "$ac_tool_prefix"; then
2348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2349 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2352 if test "${ac_cv_prog_STRIP+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$STRIP"; then
2356 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 STRIP
=$ac_cv_prog_STRIP
2376 if test -n "$STRIP"; then
2377 { echo "$as_me:$LINENO: result: $STRIP" >&5
2378 echo "${ECHO_T}$STRIP" >&6; }
2380 { echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6; }
2386 if test -z "$ac_cv_prog_STRIP"; then
2388 # Extract the first word of "strip", so it can be a program name with args.
2389 set dummy strip
; ac_word
=$2
2390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2392 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 if test -n "$ac_ct_STRIP"; then
2396 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir
=.
2403 for ac_exec_ext
in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2405 ac_cv_prog_ac_ct_STRIP
="strip"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2416 if test -n "$ac_ct_STRIP"; then
2417 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2418 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2420 { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2424 if test "x$ac_ct_STRIP" = x
; then
2427 case $cross_compiling:$ac_tool_warned in
2429 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2430 whose name does not start with the host triplet. If you think this
2431 configuration is useful to you, please write to autoconf@gnu.org." >&5
2432 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2433 whose name does not start with the host triplet. If you think this
2434 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2435 ac_tool_warned
=yes ;;
2440 STRIP
="$ac_cv_prog_STRIP"
2444 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2446 # We need awk for the "check" target. The system "awk" is bad on
2448 # Always define AMTAR for backward compatibility.
2450 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2452 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2460 cat >>confdefs.h
<<\_ACEOF
2461 #define _GNU_SOURCE 1
2465 DEPDIR
="${am__leading_dot}deps"
2467 ac_config_commands
="$ac_config_commands depfiles"
2470 am_make
=${MAKE-make}
2471 cat > confinc
<< 'END'
2476 # If we don't find an include directive, just comment out the code.
2477 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2478 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2482 # First try GNU make style include.
2483 echo "include confinc" > confmf
2484 # We grep out `Entering directory' and `Leaving directory'
2485 # messages which can occur if `w' ends up in MAKEFLAGS.
2486 # In particular we don't look at `^make:' because GNU make might
2487 # be invoked under some other name (usually "gmake"), in which
2488 # case it prints its new name instead of `make'.
2489 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2494 # Now try BSD make style include.
2495 if test "$am__include" = "#"; then
2496 echo '.include "confinc"' > confmf
2497 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2498 am__include
=.include
2505 { echo "$as_me:$LINENO: result: $_am_result" >&5
2506 echo "${ECHO_T}$_am_result" >&6; }
2507 rm -f confinc confmf
2509 # Check whether --enable-dependency-tracking was given.
2510 if test "${enable_dependency_tracking+set}" = set; then
2511 enableval
=$enable_dependency_tracking;
2514 if test "x$enable_dependency_tracking" != xno
; then
2515 am_depcomp
="$ac_aux_dir/depcomp"
2520 if test "x$enable_dependency_tracking" != xno; then
2531 ac_cpp
='$CPP $CPPFLAGS'
2532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 if test -n "$ac_tool_prefix"; then
2536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2537 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC
="$CC" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 if test -n "$CC"; then
2565 { echo "$as_me:$LINENO: result: $CC" >&5
2566 echo "${ECHO_T}$CC" >&6; }
2568 { echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6; }
2574 if test -z "$ac_cv_prog_CC"; then
2576 # Extract the first word of "gcc", so it can be a program name with args.
2577 set dummy gcc
; ac_word
=$2
2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$ac_ct_CC"; then
2584 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_ac_ct_CC
="gcc"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2604 if test -n "$ac_ct_CC"; then
2605 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2606 echo "${ECHO_T}$ac_ct_CC" >&6; }
2608 { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2612 if test "x$ac_ct_CC" = x
; then
2615 case $cross_compiling:$ac_tool_warned in
2617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2618 whose name does not start with the host triplet. If you think this
2619 configuration is useful to you, please write to autoconf@gnu.org." >&5
2620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2621 whose name does not start with the host triplet. If you think this
2622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2623 ac_tool_warned
=yes ;;
2631 if test -z "$CC"; then
2632 if test -n "$ac_tool_prefix"; then
2633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2634 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637 if test "${ac_cv_prog_CC+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$CC"; then
2641 ac_cv_prog_CC
="$CC" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 if test -n "$CC"; then
2662 { echo "$as_me:$LINENO: result: $CC" >&5
2663 echo "${ECHO_T}$CC" >&6; }
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2672 if test -z "$CC"; then
2673 # Extract the first word of "cc", so it can be a program name with args.
2674 set dummy cc
; ac_word
=$2
2675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677 if test "${ac_cv_prog_CC+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$CC"; then
2681 ac_cv_prog_CC
="$CC" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2692 ac_prog_rejected
=yes
2696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test $ac_prog_rejected = yes; then
2704 # We found a bogon in the path, so make sure we never use it.
2705 set dummy
$ac_cv_prog_CC
2707 if test $# != 0; then
2708 # We chose a different compiler from the bogus one.
2709 # However, it has the same basename, so the bogon will be chosen
2710 # first if we set CC to just the basename; use the full file name.
2712 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2718 if test -n "$CC"; then
2719 { echo "$as_me:$LINENO: result: $CC" >&5
2720 echo "${ECHO_T}$CC" >&6; }
2722 { echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6; }
2728 if test -z "$CC"; then
2729 if test -n "$ac_tool_prefix"; then
2730 for ac_prog
in cl.exe
2732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2733 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC
="$CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test -n "$CC"; then
2761 { echo "$as_me:$LINENO: result: $CC" >&5
2762 echo "${ECHO_T}$CC" >&6; }
2764 { echo "$as_me:$LINENO: result: no" >&5
2765 echo "${ECHO_T}no" >&6; }
2769 test -n "$CC" && break
2772 if test -z "$CC"; then
2774 for ac_prog
in cl.exe
2776 # Extract the first word of "$ac_prog", so it can be a program name with args.
2777 set dummy
$ac_prog; ac_word
=$2
2778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 if test -n "$ac_ct_CC"; then
2784 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_exec_ext
in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_ac_ct_CC
="$ac_prog"
2794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2804 if test -n "$ac_ct_CC"; then
2805 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2806 echo "${ECHO_T}$ac_ct_CC" >&6; }
2808 { echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6; }
2813 test -n "$ac_ct_CC" && break
2816 if test "x$ac_ct_CC" = x
; then
2819 case $cross_compiling:$ac_tool_warned in
2821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2822 whose name does not start with the host triplet. If you think this
2823 configuration is useful to you, please write to autoconf@gnu.org." >&5
2824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2825 whose name does not start with the host triplet. If you think this
2826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2827 ac_tool_warned
=yes ;;
2836 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: no acceptable C compiler found in \$PATH
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2842 # Provide some information about the compiler.
2843 echo "$as_me:$LINENO: checking for C compiler version" >&5
2844 ac_compiler
=`set X $ac_compile; echo $2`
2845 { (ac_try
="$ac_compiler --version >&5"
2847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_compiler --version >&5") 2>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }
2855 { (ac_try="$ac_compiler -v >&5"
2857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2858 *) ac_try_echo
=$ac_try;;
2860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 (eval "$ac_compiler -v >&5") 2>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }
2865 { (ac_try
="$ac_compiler -V >&5"
2867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_compiler -V >&5") 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2876 cat >conftest.$ac_ext <<_ACEOF
2879 cat confdefs.h >>conftest.$ac_ext
2880 cat >>conftest.$ac_ext <<_ACEOF
2881 /* end confdefs.h. */
2891 ac_clean_files_save=$ac_clean_files
2892 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2893 # Try to create an executable without -o first, disregard a.out.
2894 # It will help us diagnose broken compilers, and finding out an intuition
2896 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2897 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2898 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2900 # List of possible output files, starting from the most likely.
2901 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2902 # only as a last resort. b.out is created by i960 compilers.
2903 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2905 # The IRIX 6 linker writes into existing files which may not be
2906 # executable, retaining their permissions. Remove them first so a
2907 # subsequent execution test works.
2909 for ac_file in $ac_files
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2913 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2918 if { (ac_try="$ac_link_default"
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_link_default") 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; then
2928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2930 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2931 # so that the user can short-circuit this test for compilers unknown to
2933 for ac_file
in $ac_files ''
2935 test -f "$ac_file" ||
continue
2937 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2940 # We found the default executable, but exeext='' is most
2944 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2946 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948 # We set ac_cv_exeext here because the later test for it is not
2949 # safe: cross compilers may not add the suffix if given an `-o'
2950 # argument, so we may need to know it at that point already.
2951 # Even if this section looks crufty: it has the advantage of
2958 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2964 { echo "$as_me:$LINENO: result: $ac_file" >&5
2965 echo "${ECHO_T}$ac_file" >&6; }
2966 if test -z "$ac_file"; then
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.
$ac_ext >&5
2970 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2971 See \`config.log' for more details." >&5
2972 echo "$as_me: error: C compiler cannot create executables
2973 See \`config.log' for more details." >&2;}
2974 { (exit 77); exit 77; }; }
2977 ac_exeext
=$ac_cv_exeext
2979 # Check that the compiler produces executables we can run. If not, either
2980 # the compiler is broken, or we cross compile.
2981 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2982 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2983 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2984 # If not cross compiling, check that we can run a simple program.
2985 if test "$cross_compiling" != yes; then
2986 if { ac_try
='./$ac_file'
2987 { (case "(($ac_try" in
2988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_try") 2>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2998 if test "$cross_compiling" = maybe; then
3001 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3002 If you meant to cross compile, use \`--host'.
3003 See \`config.log' for more details.
" >&5
3004 echo "$as_me: error
: cannot run C compiled programs.
3005 If you meant to cross compile
, use \
`--host'.
3006 See \`config.log
' for more details." >&2;}
3007 { (exit 1); exit 1; }; }
3011 { echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6; }
3014 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3015 ac_clean_files=$ac_clean_files_save
3016 # Check that the compiler produces executables we can run. If not, either
3017 # the compiler is broken, or we cross compile.
3018 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3019 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3020 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3021 echo "${ECHO_T}$cross_compiling" >&6; }
3023 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3024 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3025 if { (ac_try="$ac_link"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_link") 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; then
3035 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3036 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3037 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3039 for ac_file
in conftest.exe conftest conftest.
*; do
3040 test -f "$ac_file" ||
continue
3042 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3043 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3050 See \`config.log' for more details." >&5
3051 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3052 See \`config.log' for more details." >&2;}
3053 { (exit 1); exit 1; }; }
3056 rm -f conftest
$ac_cv_exeext
3057 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3058 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3060 rm -f conftest.
$ac_ext
3061 EXEEXT
=$ac_cv_exeext
3063 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3064 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3065 if test "${ac_cv_objext+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 cat >conftest.
$ac_ext <<_ACEOF
3071 cat confdefs.h
>>conftest.
$ac_ext
3072 cat >>conftest.
$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3083 rm -f conftest.o conftest.obj
3084 if { (ac_try
="$ac_compile"
3086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_compile") 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; then
3094 for ac_file in conftest.o conftest.obj conftest.*; do
3095 test -f "$ac_file" || continue;
3097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3107 See \`config.log
' for more details." >&5
3108 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3109 See \`config.log' for more details.
" >&2;}
3110 { (exit 1); exit 1; }; }
3113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3115 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3116 echo "${ECHO_T}$ac_cv_objext" >&6; }
3117 OBJEXT=$ac_cv_objext
3119 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3120 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3121 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3122 echo $ECHO_N "(cached
) $ECHO_C" >&6
3124 cat >conftest.$ac_ext <<_ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3142 rm -f conftest.$ac_objext
3143 if { (ac_try="$ac_compile"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3149 (eval "$ac_compile") 2>conftest.er1
3151 grep -v '^ *+' conftest.er1 >conftest.err
3153 cat conftest.err >&5
3154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3155 (exit $ac_status); } && {
3156 test -z "$ac_c_werror_flag" ||
3157 test ! -s conftest.err
3158 } && test -s conftest.$ac_objext; then
3161 echo "$as_me: failed program was
:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3171 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3172 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3173 GCC=`test $ac_compiler_gnu = yes && echo yes`
3174 ac_test_CFLAGS=${CFLAGS+set}
3175 ac_save_CFLAGS=$CFLAGS
3176 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3177 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3178 if test "${ac_cv_prog_cc_g+set}" = set; then
3179 echo $ECHO_N "(cached
) $ECHO_C" >&6
3181 ac_save_c_werror_flag=$ac_c_werror_flag
3182 ac_c_werror_flag=yes
3185 cat >conftest.$ac_ext <<_ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_compile") 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); } && {
3214 test -z "$ac_c_werror_flag" ||
3215 test ! -s conftest.err
3216 } && test -s conftest.$ac_objext; then
3219 echo "$as_me: failed program was
:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3223 cat >conftest.$ac_ext <<_ACEOF
3226 cat confdefs.h >>conftest.$ac_ext
3227 cat >>conftest.$ac_ext <<_ACEOF
3228 /* end confdefs.h. */
3238 rm -f conftest.$ac_objext
3239 if { (ac_try="$ac_compile"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3245 (eval "$ac_compile") 2>conftest.er1
3247 grep -v '^ *+' conftest.er1 >conftest.err
3249 cat conftest.err >&5
3250 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3251 (exit $ac_status); } && {
3252 test -z "$ac_c_werror_flag" ||
3253 test ! -s conftest.err
3254 } && test -s conftest.$ac_objext; then
3257 echo "$as_me: failed program was
:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 ac_c_werror_flag=$ac_save_c_werror_flag
3262 cat >conftest.$ac_ext <<_ACEOF
3265 cat confdefs.h >>conftest.$ac_ext
3266 cat >>conftest.$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3277 rm -f conftest.$ac_objext
3278 if { (ac_try="$ac_compile"
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3284 (eval "$ac_compile") 2>conftest.er1
3286 grep -v '^ *+' conftest.er1 >conftest.err
3288 cat conftest.err >&5
3289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3290 (exit $ac_status); } && {
3291 test -z "$ac_c_werror_flag" ||
3292 test ! -s conftest.err
3293 } && test -s conftest.$ac_objext; then
3296 echo "$as_me: failed program was
:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 ac_c_werror_flag=$ac_save_c_werror_flag
3311 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3312 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3313 if test "$ac_test_CFLAGS" = set; then
3314 CFLAGS=$ac_save_CFLAGS
3315 elif test $ac_cv_prog_cc_g = yes; then
3316 if test "$GCC" = yes; then
3322 if test "$GCC" = yes; then
3328 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3329 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3330 if test "${ac_cv_prog_cc_c89+set}" = set; then
3331 echo $ECHO_N "(cached
) $ECHO_C" >&6
3333 ac_cv_prog_cc_c89=no
3335 cat >conftest.$ac_ext <<_ACEOF
3338 cat confdefs.h >>conftest.$ac_ext
3339 cat >>conftest.$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3343 #include <sys/types.h>
3344 #include <sys/stat.h>
3345 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3346 struct buf { int x; };
3347 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3348 static char *e (p, i)
3354 static char *f (char * (*g) (char **, int), char **p, ...)
3359 s = g (p, va_arg (v,int));
3364 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3365 function prototypes and stuff, but not '\xHH' hex character constants.
3366 These don't provoke an error unfortunately, instead are silently treated
3367 as 'x'. The following induces an error, until -std is added to get
3368 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3369 array size at least. It's necessary to write '\x00'==0 to get something
3370 that's true only with -std. */
3371 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3373 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3374 inside strings and character constants. */
3376 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3378 int test (int i, double x);
3379 struct s1 {int (*f) (int a);};
3380 struct s2 {int (*f) (double a);};
3381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3392 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3393 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3395 CC="$ac_save_CC $ac_arg"
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3413 ac_cv_prog_cc_c89=$ac_arg
3415 echo "$as_me: failed program was
:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3421 rm -f core conftest.err conftest.$ac_objext
3422 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3424 rm -f conftest.$ac_ext
3429 case "x
$ac_cv_prog_cc_c89" in
3431 { echo "$as_me:$LINENO: result
: none needed
" >&5
3432 echo "${ECHO_T}none needed
" >&6; } ;;
3434 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3435 echo "${ECHO_T}unsupported
" >&6; } ;;
3437 CC="$CC $ac_cv_prog_cc_c89"
3438 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3439 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 depcc="$CC" am_compiler_list=
3451 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3452 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3453 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3454 echo $ECHO_N "(cached
) $ECHO_C" >&6
3456 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3457 # We make a subdir and do the tests there. Otherwise we can end up
3458 # making bogus files that we don't know about and never remove. For
3459 # instance it was reported that on HP-UX the gcc test will end up
3460 # making a dummy file named `D' -- because `-MD' means `put the output
3463 # Copy depcomp to subdir because otherwise we won't find it if we're
3464 # using a relative directory.
3465 cp "$am_depcomp" conftest.dir
3467 # We will build objects and dependencies in a subdirectory because
3468 # it helps to detect inapplicable dependency modes. For instance
3469 # both Tru64's cc and ICC support -MD to output dependencies as a
3470 # side effect of compilation, but ICC will put the dependencies in
3471 # the current directory while Tru64 will put them in the object
3475 am_cv_CC_dependencies_compiler_type=none
3476 if test "$am_compiler_list" = ""; then
3477 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3479 for depmode in $am_compiler_list; do
3480 # Setup a source with many dependencies, because some compilers
3481 # like to wrap large dependency lists on column 80 (with \), and
3482 # we should not choose a depcomp mode which is confused by this.
3484 # We need to recreate these files for each test, as the compiler may
3485 # overwrite some of them when testing with obscure command lines.
3486 # This happens at least with the AIX C compiler.
3488 for i in 1 2 3 4 5 6; do
3489 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3490 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3491 # Solaris 8's {/usr,}/bin/sh.
3492 touch sub/conftst$i.h
3494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3498 # after this tag, mechanisms are not by side-effect, so they'll
3499 # only be used when explicitly requested
3500 if test "x
$enable_dependency_tracking" = xyes; then
3508 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3509 # mode. It turns out that the SunPro C++ compiler does not properly
3510 # handle `-M -o', and we need to detect this.
3511 if depmode=$depmode \
3512 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3513 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3514 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3515 >/dev/null 2>conftest.err &&
3516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3517 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3519 # icc doesn't choke on unknown options, it will just issue warnings
3520 # or remarks (even with -Werror). So we grep stderr for any message
3521 # that says an option was ignored or not supported.
3522 # When given -MP, icc 7.0 and 7.1 complain thusly:
3523 # icc: Command line warning: ignoring option '-M'; no argument required
3524 # The diagnosis changed in icc 8.0:
3525 # icc: Command line remark: option '-MP' not supported
3526 if (grep 'ignoring option' conftest.err ||
3527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3528 am_cv_CC_dependencies_compiler_type=$depmode
3537 am_cv_CC_dependencies_compiler_type=none
3541 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3542 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3543 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3548 test "x
$enable_dependency_tracking" != xno \
3549 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3551 am__fastdepCC_FALSE='#'
3553 am__fastdepCC_TRUE='#'
3554 am__fastdepCC_FALSE=
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3564 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3565 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3566 # On Suns, sometimes $CPP names a directory.
3567 if test -n "$CPP" && test -d "$CPP"; then
3570 if test -z "$CPP"; then
3571 if test "${ac_cv_prog_CPP+set}" = set; then
3572 echo $ECHO_N "(cached
) $ECHO_C" >&6
3574 # Double quotes because CPP needs to be expanded
3575 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3578 for ac_c_preproc_warn_flag in '' yes
3580 # Use a header file that comes with gcc, so configuring glibc
3581 # with a fresh cross-compiler works.
3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583 # <limits.h> exists even on freestanding compilers.
3584 # On the NeXT, cc -E runs the code through the compiler's parser,
3585 # not just through cpp. "Syntax error
" is here to catch this case.
3586 cat >conftest.$ac_ext <<_ACEOF
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3593 # include <limits.h>
3595 # include <assert.h>
3599 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3611 (exit $ac_status); } >/dev/null && {
3612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3617 echo "$as_me: failed program was
:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 # Broken: fails on valid input.
3624 rm -f conftest.err conftest.$ac_ext
3626 # OK, works on sane cases. Now check whether nonexistent headers
3627 # can be detected and how.
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #include <ac_nonexistent.h>
3636 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3642 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3644 grep -v '^ *+' conftest.er1 >conftest.err
3646 cat conftest.err >&5
3647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3648 (exit $ac_status); } >/dev/null && {
3649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3650 test ! -s conftest.err
3652 # Broken: success on invalid input.
3655 echo "$as_me: failed program was
:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 # Passes both tests.
3663 rm -f conftest.err conftest.$ac_ext
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.err conftest.$ac_ext
3668 if $ac_preproc_ok; then
3680 { echo "$as_me:$LINENO: result
: $CPP" >&5
3681 echo "${ECHO_T}$CPP" >&6; }
3683 for ac_c_preproc_warn_flag in '' yes
3685 # Use a header file that comes with gcc, so configuring glibc
3686 # with a fresh cross-compiler works.
3687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3688 # <limits.h> exists even on freestanding compilers.
3689 # On the NeXT, cc -E runs the code through the compiler's parser,
3690 # not just through cpp. "Syntax error
" is here to catch this case.
3691 cat >conftest.$ac_ext <<_ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3698 # include <limits.h>
3700 # include <assert.h>
3704 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3710 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3712 grep -v '^ *+' conftest.er1 >conftest.err
3714 cat conftest.err >&5
3715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3716 (exit $ac_status); } >/dev/null && {
3717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3718 test ! -s conftest.err
3722 echo "$as_me: failed program was
:" >&5
3723 sed 's/^/| /' conftest.$ac_ext >&5
3725 # Broken: fails on valid input.
3729 rm -f conftest.err conftest.$ac_ext
3731 # OK, works on sane cases. Now check whether nonexistent headers
3732 # can be detected and how.
3733 cat >conftest.$ac_ext <<_ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3739 #include <ac_nonexistent.h>
3741 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3747 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3753 (exit $ac_status); } >/dev/null && {
3754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3755 test ! -s conftest.err
3757 # Broken: success on invalid input.
3760 echo "$as_me: failed program was
:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3763 # Passes both tests.
3768 rm -f conftest.err conftest.$ac_ext
3771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3772 rm -f conftest.err conftest.$ac_ext
3773 if $ac_preproc_ok; then
3776 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3777 See \
`config.log' for more details." >&5
3778 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3779 See \`config.log
' for more details." >&2;}
3780 { (exit 1); exit 1; }; }
3784 ac_cpp='$CPP $CPPFLAGS'
3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3786 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3790 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3791 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3792 if test "${ac_cv_path_GREP+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 # Extract the first word of "grep ggrep" to use in msg output
3796 if test -z "$GREP"; then
3797 set dummy grep ggrep; ac_prog_name=$2
3798 if test "${ac_cv_path_GREP+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 ac_path_GREP_found=false
3802 # Loop through the user's path and
test for each of PROGNAME-LIST
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_prog
in grep ggrep
; do
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3811 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3812 # Check for GNU ac_path_GREP and select it if it is found.
3813 # Check for GNU $ac_path_GREP
3814 case `"$ac_path_GREP" --version 2>&1` in
3816 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3822 cat "conftest.in" "conftest.in" >"conftest.tmp"
3823 mv "conftest.tmp" "conftest.in"
3824 cp "conftest.in" "conftest.nl"
3825 echo 'GREP' >> "conftest.nl"
3826 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3827 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3828 ac_count
=`expr $ac_count + 1`
3829 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3830 # Best one so far, save it but keep looking for a better one
3831 ac_cv_path_GREP
="$ac_path_GREP"
3832 ac_path_GREP_max
=$ac_count
3834 # 10*(2^10) chars as input seems more than enough
3835 test $ac_count -gt 10 && break
3837 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3841 $ac_path_GREP_found && break 3
3851 GREP
="$ac_cv_path_GREP"
3852 if test -z "$GREP"; then
3853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 ac_cv_path_GREP
=$GREP
3864 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3865 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3866 GREP
="$ac_cv_path_GREP"
3869 { echo "$as_me:$LINENO: checking for egrep" >&5
3870 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3871 if test "${ac_cv_path_EGREP+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3875 then ac_cv_path_EGREP
="$GREP -E"
3877 # Extract the first word of "egrep" to use in msg output
3878 if test -z "$EGREP"; then
3879 set dummy
egrep; ac_prog_name
=$2
3880 if test "${ac_cv_path_EGREP+set}" = set; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_path_EGREP_found
=false
3884 # Loop through the user's path and test for each of PROGNAME-LIST
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_prog
in egrep; do
3891 for ac_exec_ext
in '' $ac_executable_extensions; do
3892 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3893 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3894 # Check for GNU ac_path_EGREP and select it if it is found.
3895 # Check for GNU $ac_path_EGREP
3896 case `"$ac_path_EGREP" --version 2>&1` in
3898 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3901 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3904 cat "conftest.in" "conftest.in" >"conftest.tmp"
3905 mv "conftest.tmp" "conftest.in"
3906 cp "conftest.in" "conftest.nl"
3907 echo 'EGREP' >> "conftest.nl"
3908 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3909 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3910 ac_count
=`expr $ac_count + 1`
3911 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3912 # Best one so far, save it but keep looking for a better one
3913 ac_cv_path_EGREP
="$ac_path_EGREP"
3914 ac_path_EGREP_max
=$ac_count
3916 # 10*(2^10) chars as input seems more than enough
3917 test $ac_count -gt 10 && break
3919 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3923 $ac_path_EGREP_found && break 3
3933 EGREP
="$ac_cv_path_EGREP"
3934 if test -z "$EGREP"; then
3935 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3936 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3937 { (exit 1); exit 1; }; }
3941 ac_cv_path_EGREP
=$EGREP
3947 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3948 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3949 EGREP
="$ac_cv_path_EGREP"
3953 { echo "$as_me:$LINENO: checking for AIX" >&5
3954 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3955 cat >conftest.
$ac_ext <<_ACEOF
3958 cat confdefs.h
>>conftest.
$ac_ext
3959 cat >>conftest.
$ac_ext <<_ACEOF
3960 /* end confdefs.h. */
3966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3967 $EGREP "yes" >/dev
/null
2>&1; then
3968 { echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6; }
3970 cat >>confdefs.h
<<\_ACEOF
3971 #define _ALL_SOURCE 1
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3981 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3982 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3983 if test "${ac_cv_header_stdc+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
4005 rm -f conftest.
$ac_objext
4006 if { (ac_try
="$ac_compile"
4008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4012 (eval "$ac_compile") 2>conftest.er1
4014 grep -v '^ *+' conftest.er1 >conftest.err
4016 cat conftest.err >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } && {
4019 test -z "$ac_c_werror_flag" ||
4020 test ! -s conftest.err
4021 } && test -s conftest.$ac_objext; then
4022 ac_cv_header_stdc=yes
4024 echo "$as_me: failed program was:" >&5
4025 sed 's/^/| /' conftest.$ac_ext >&5
4027 ac_cv_header_stdc=no
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 if test $ac_cv_header_stdc = yes; then
4033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4034 cat >conftest.$ac_ext <<_ACEOF
4037 cat confdefs.h >>conftest.$ac_ext
4038 cat >>conftest.$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4044 $EGREP "memchr" >/dev/null 2>&1; then
4047 ac_cv_header_stdc=no
4053 if test $ac_cv_header_stdc = yes; then
4054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4055 cat >conftest.$ac_ext <<_ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4065 $EGREP "free" >/dev/null 2>&1; then
4068 ac_cv_header_stdc=no
4074 if test $ac_cv_header_stdc = yes; then
4075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4076 if test "$cross_compiling" = yes; then
4079 cat >conftest.$ac_ext <<_ACEOF
4082 cat confdefs.h >>conftest.$ac_ext
4083 cat >>conftest.$ac_ext <<_ACEOF
4084 /* end confdefs.h. */
4087 #if ((' ' & 0x0FF) == 0x020)
4088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4091 # define ISLOWER(c) \
4092 (('a' <= (c) && (c) <= 'i') \
4093 || ('j' <= (c) && (c) <= 'r') \
4094 || ('s' <= (c) && (c) <= 'z'))
4095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4103 for (i = 0; i < 256; i++)
4104 if (XOR (islower (i), ISLOWER (i))
4105 || toupper (i) != TOUPPER (i))
4110 rm -f conftest$ac_exeext
4111 if { (ac_try="$ac_link"
4113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4114 *) ac_try_echo
=$ac_try;;
4116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4117 (eval "$ac_link") 2>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4121 { (case "(($ac_try" in
4122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4126 (eval "$ac_try") 2>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; }; then
4132 echo "$as_me: program exited with status $ac_status" >&5
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4137 ac_cv_header_stdc=no
4139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4145 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4146 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4147 if test $ac_cv_header_stdc = yes; then
4149 cat >>confdefs.h <<\_ACEOF
4150 #define STDC_HEADERS 1
4155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4166 inttypes.h stdint.h unistd.h
4168 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 cat >conftest.$ac_ext <<_ACEOF
4177 cat confdefs.h >>conftest.$ac_ext
4178 cat >>conftest.$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4180 $ac_includes_default
4182 #include <$ac_header>
4184 rm -f conftest.$ac_objext
4185 if { (ac_try="$ac_compile"
4187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4188 *) ac_try_echo
=$ac_try;;
4190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191 (eval "$ac_compile") 2>conftest.er1
4193 grep -v '^ *+' conftest.er1
>conftest.err
4195 cat conftest.err
>&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } && {
4198 test -z "$ac_c_werror_flag" ||
4199 test ! -s conftest.err
4200 } && test -s conftest.
$ac_objext; then
4201 eval "$as_ac_Header=yes"
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 eval "$as_ac_Header=no"
4209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4211 ac_res
=`eval echo '${'$as_ac_Header'}'`
4212 { echo "$as_me:$LINENO: result: $ac_res" >&5
4213 echo "${ECHO_T}$ac_res" >&6; }
4214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4215 cat >>confdefs.h
<<_ACEOF
4216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4224 if test "${ac_cv_header_minix_config_h+set}" = set; then
4225 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4226 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4227 if test "${ac_cv_header_minix_config_h+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4231 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4233 # Is the header compilable?
4234 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4235 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4236 cat >conftest.
$ac_ext <<_ACEOF
4239 cat confdefs.h
>>conftest.
$ac_ext
4240 cat >>conftest.
$ac_ext <<_ACEOF
4241 /* end confdefs.h. */
4242 $ac_includes_default
4243 #include <minix/config.h>
4245 rm -f conftest.
$ac_objext
4246 if { (ac_try
="$ac_compile"
4248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_compile") 2>conftest.er1
4254 grep -v '^ *+' conftest.er1 >conftest.err
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest.$ac_objext; then
4262 ac_header_compiler=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 ac_header_compiler=no
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4272 echo "${ECHO_T}$ac_header_compiler" >&6; }
4274 # Is the header present?
4275 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4276 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4277 cat >conftest.$ac_ext <<_ACEOF
4280 cat confdefs.h >>conftest.$ac_ext
4281 cat >>conftest.$ac_ext <<_ACEOF
4282 /* end confdefs.h. */
4283 #include <minix/config.h>
4285 if { (ac_try="$ac_cpp conftest.$ac_ext"
4287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4288 *) ac_try_echo
=$ac_try;;
4290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4293 grep -v '^ *+' conftest.er1
>conftest.err
4295 cat conftest.err
>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } >/dev
/null
&& {
4298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4299 test ! -s conftest.err
4301 ac_header_preproc
=yes
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.
$ac_ext >&5
4306 ac_header_preproc
=no
4309 rm -f conftest.err conftest.
$ac_ext
4310 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4311 echo "${ECHO_T}$ac_header_preproc" >&6; }
4313 # So? What about this header?
4314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4316 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4317 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4318 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4319 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4320 ac_header_preproc
=yes
4323 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4324 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4325 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4326 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4327 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4328 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4329 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4330 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4331 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4332 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4333 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4334 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4336 ## ------------------------------------------------ ##
4337 ## Report this to barry-devel@lists.sourceforge.net ##
4338 ## ------------------------------------------------ ##
4340 ) |
sed "s/^/$as_me: WARNING: /" >&2
4343 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4344 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4345 if test "${ac_cv_header_minix_config_h+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_cv_header_minix_config_h
=$ac_header_preproc
4350 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4351 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4354 if test $ac_cv_header_minix_config_h = yes; then
4361 if test "$MINIX" = yes; then
4363 cat >>confdefs.h
<<\_ACEOF
4364 #define _POSIX_SOURCE 1
4368 cat >>confdefs.h
<<\_ACEOF
4369 #define _POSIX_1_SOURCE 2
4373 cat >>confdefs.h
<<\_ACEOF
4389 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4390 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4391 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 # define __EXTENSIONS__ 1
4402 $ac_includes_default
4411 rm -f conftest.
$ac_objext
4412 if { (ac_try
="$ac_compile"
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4418 (eval "$ac_compile") 2>conftest.er1
4420 grep -v '^ *+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } && {
4425 test -z "$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 } && test -s conftest.$ac_objext; then
4428 ac_cv_safe_to_define___extensions__=yes
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 ac_cv_safe_to_define___extensions__=no
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4439 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4440 test $ac_cv_safe_to_define___extensions__ = yes &&
4441 cat >>confdefs.h <<\_ACEOF
4442 #define __EXTENSIONS__ 1
4445 cat >>confdefs.h <<\_ACEOF
4446 #define _POSIX_PTHREAD_SEMANTICS 1
4449 cat >>confdefs.h <<\_ACEOF
4450 #define _TANDEM_SOURCE 1
4456 # Checks for programs.
4459 ac_cpp='$CPP $CPPFLAGS'
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4463 if test -n "$ac_tool_prefix"; then
4464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4468 if test "${ac_cv_prog_CC+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -n "$CC"; then
4472 ac_cv_prog_CC="$CC" # Let the user override the test.
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 if test -n "$CC"; then
4493 { echo "$as_me:$LINENO: result: $CC" >&5
4494 echo "${ECHO_T}$CC" >&6; }
4496 { echo "$as_me:$LINENO: result: no" >&5
4497 echo "${ECHO_T}no" >&6; }
4502 if test -z "$ac_cv_prog_CC"; then
4504 # Extract the first word of "gcc", so it can be a program name with args.
4505 set dummy gcc; ac_word=$2
4506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -n "$ac_ct_CC"; then
4512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_prog_ac_ct_CC="gcc"
4522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4532 if test -n "$ac_ct_CC"; then
4533 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4534 echo "${ECHO_T}$ac_ct_CC" >&6; }
4536 { echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6; }
4540 if test "x$ac_ct_CC" = x; then
4543 case $cross_compiling:$ac_tool_warned in
4545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4546 whose name does not start with the host triplet. If you think this
4547 configuration is useful to you, please write to autoconf@gnu.org." >&5
4548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4549 whose name does not start with the host triplet. If you think this
4550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4551 ac_tool_warned=yes ;;
4559 if test -z "$CC"; then
4560 if test -n "$ac_tool_prefix"; then
4561 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4562 set dummy ${ac_tool_prefix}cc; ac_word=$2
4563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4565 if test "${ac_cv_prog_CC+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 if test -n "$CC"; then
4569 ac_cv_prog_CC="$CC" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578 ac_cv_prog_CC="${ac_tool_prefix}cc"
4579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 if test -n "$CC"; then
4590 { echo "$as_me:$LINENO: result: $CC" >&5
4591 echo "${ECHO_T}$CC" >&6; }
4593 { echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6; }
4600 if test -z "$CC"; then
4601 # Extract the first word of "cc", so it can be a program name with args.
4602 set dummy cc; ac_word=$2
4603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4605 if test "${ac_cv_prog_CC+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 if test -n "$CC"; then
4609 ac_cv_prog_CC="$CC" # Let the user override the test.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4620 ac_prog_rejected=yes
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 if test $ac_prog_rejected = yes; then
4632 # We found a bogon in the path, so make sure we never use it.
4633 set dummy $ac_cv_prog_CC
4635 if test $# != 0; then
4636 # We chose a different compiler from the bogus one.
4637 # However, it has the same basename, so the bogon will be chosen
4638 # first if we set CC to just the basename; use the full file name.
4640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4646 if test -n "$CC"; then
4647 { echo "$as_me:$LINENO: result: $CC" >&5
4648 echo "${ECHO_T}$CC" >&6; }
4650 { echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6; }
4656 if test -z "$CC"; then
4657 if test -n "$ac_tool_prefix"; then
4658 for ac_prog in cl.exe
4660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4664 if test "${ac_cv_prog_CC+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC="$CC" # Let the user override the test.
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$CC"; then
4689 { echo "$as_me:$LINENO: result: $CC" >&5
4690 echo "${ECHO_T}$CC" >&6; }
4692 { echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6; }
4697 test -n "$CC" && break
4700 if test -z "$CC"; then
4702 for ac_prog in cl.exe
4704 # Extract the first word of "$ac_prog", so it can be a program name with args.
4705 set dummy $ac_prog; ac_word=$2
4706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 if test -n "$ac_ct_CC"; then
4712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 ac_cv_prog_ac_ct_CC="$ac_prog"
4722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4732 if test -n "$ac_ct_CC"; then
4733 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4734 echo "${ECHO_T}$ac_ct_CC" >&6; }
4736 { echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6; }
4741 test -n "$ac_ct_CC" && break
4744 if test "x$ac_ct_CC" = x; then
4747 case $cross_compiling:$ac_tool_warned in
4749 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4750 whose name does not start with the host triplet. If you think this
4751 configuration is useful to you, please write to autoconf@gnu.org." >&5
4752 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4753 whose name does not start with the host triplet. If you think this
4754 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4755 ac_tool_warned=yes ;;
4764 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4765 See \`config.log
' for more details." >&5
4766 echo "$as_me: error: no acceptable C compiler found in \$PATH
4767 See \`config.log' for more details.
" >&2;}
4768 { (exit 1); exit 1; }; }
4770 # Provide some information about the compiler.
4771 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4772 ac_compiler=`set X $ac_compile; echo $2`
4773 { (ac_try="$ac_compiler --version >&5"
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4779 (eval "$ac_compiler --version >&5") 2>&5
4781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4782 (exit $ac_status); }
4783 { (ac_try="$ac_compiler -v >&5"
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4789 (eval "$ac_compiler -v >&5") 2>&5
4791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4792 (exit $ac_status); }
4793 { (ac_try="$ac_compiler -V >&5"
4795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4796 *) ac_try_echo=$ac_try;;
4798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4799 (eval "$ac_compiler -V >&5") 2>&5
4801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4802 (exit $ac_status); }
4804 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4805 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4807 echo $ECHO_N "(cached
) $ECHO_C" >&6
4809 cat >conftest.$ac_ext <<_ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4827 rm -f conftest.$ac_objext
4828 if { (ac_try="$ac_compile"
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4834 (eval "$ac_compile") 2>conftest.er1
4836 grep -v '^ *+' conftest.er1 >conftest.err
4838 cat conftest.err >&5
4839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4840 (exit $ac_status); } && {
4841 test -z "$ac_c_werror_flag" ||
4842 test ! -s conftest.err
4843 } && test -s conftest.$ac_objext; then
4846 echo "$as_me: failed program was
:" >&5
4847 sed 's/^/| /' conftest.$ac_ext >&5
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4856 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4857 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4858 GCC=`test $ac_compiler_gnu = yes && echo yes`
4859 ac_test_CFLAGS=${CFLAGS+set}
4860 ac_save_CFLAGS=$CFLAGS
4861 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4862 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4863 if test "${ac_cv_prog_cc_g+set}" = set; then
4864 echo $ECHO_N "(cached
) $ECHO_C" >&6
4866 ac_save_c_werror_flag=$ac_c_werror_flag
4867 ac_c_werror_flag=yes
4870 cat >conftest.$ac_ext <<_ACEOF
4873 cat confdefs.h >>conftest.$ac_ext
4874 cat >>conftest.$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4885 rm -f conftest.$ac_objext
4886 if { (ac_try="$ac_compile"
4888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4889 *) ac_try_echo=$ac_try;;
4891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4892 (eval "$ac_compile") 2>conftest.er1
4894 grep -v '^ *+' conftest.er1 >conftest.err
4896 cat conftest.err >&5
4897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4898 (exit $ac_status); } && {
4899 test -z "$ac_c_werror_flag" ||
4900 test ! -s conftest.err
4901 } && test -s conftest.$ac_objext; then
4904 echo "$as_me: failed program was
:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4908 cat >conftest.$ac_ext <<_ACEOF
4911 cat confdefs.h >>conftest.$ac_ext
4912 cat >>conftest.$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4923 rm -f conftest.$ac_objext
4924 if { (ac_try="$ac_compile"
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4930 (eval "$ac_compile") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest.$ac_objext; then
4942 echo "$as_me: failed program was
:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4945 ac_c_werror_flag=$ac_save_c_werror_flag
4947 cat >conftest.$ac_ext <<_ACEOF
4950 cat confdefs.h >>conftest.$ac_ext
4951 cat >>conftest.$ac_ext <<_ACEOF
4952 /* end confdefs.h. */
4962 rm -f conftest.$ac_objext
4963 if { (ac_try="$ac_compile"
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.$ac_objext; then
4981 echo "$as_me: failed program was
:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994 ac_c_werror_flag=$ac_save_c_werror_flag
4996 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
4997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4998 if test "$ac_test_CFLAGS" = set; then
4999 CFLAGS=$ac_save_CFLAGS
5000 elif test $ac_cv_prog_cc_g = yes; then
5001 if test "$GCC" = yes; then
5007 if test "$GCC" = yes; then
5013 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5014 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5015 if test "${ac_cv_prog_cc_c89+set}" = set; then
5016 echo $ECHO_N "(cached
) $ECHO_C" >&6
5018 ac_cv_prog_cc_c89=no
5020 cat >conftest.$ac_ext <<_ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5028 #include <sys/types.h>
5029 #include <sys/stat.h>
5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5031 struct buf { int x; };
5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5033 static char *e (p, i)
5039 static char *f (char * (*g) (char **, int), char **p, ...)
5044 s = g (p, va_arg (v,int));
5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5050 function prototypes and stuff, but not '\xHH' hex character constants.
5051 These don't provoke an error unfortunately, instead are silently treated
5052 as 'x'. The following induces an error, until -std is added to get
5053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5054 array size at least. It's necessary to write '\x00'==0 to get something
5055 that's true only with -std. */
5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5059 inside strings and character constants. */
5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5063 int test (int i, double x);
5064 struct s1 {int (*f) (int a);};
5065 struct s2 {int (*f) (double a);};
5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5080 CC="$ac_save_CC $ac_arg"
5081 rm -f conftest.$ac_objext
5082 if { (ac_try="$ac_compile"
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_compile") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest.$ac_objext; then
5098 ac_cv_prog_cc_c89=$ac_arg
5100 echo "$as_me: failed program was
:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5106 rm -f core conftest.err conftest.$ac_objext
5107 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5109 rm -f conftest.$ac_ext
5114 case "x
$ac_cv_prog_cc_c89" in
5116 { echo "$as_me:$LINENO: result
: none needed
" >&5
5117 echo "${ECHO_T}none needed
" >&6; } ;;
5119 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5120 echo "${ECHO_T}unsupported
" >&6; } ;;
5122 CC="$CC $ac_cv_prog_cc_c89"
5123 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5124 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5129 ac_cpp='$CPP $CPPFLAGS'
5130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 depcc="$CC" am_compiler_list=
5136 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
5137 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
5138 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5139 echo $ECHO_N "(cached
) $ECHO_C" >&6
5141 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5142 # We make a subdir and do the tests there. Otherwise we can end up
5143 # making bogus files that we don't know about and never remove. For
5144 # instance it was reported that on HP-UX the gcc test will end up
5145 # making a dummy file named `D' -- because `-MD' means `put the output
5148 # Copy depcomp to subdir because otherwise we won't find it if we're
5149 # using a relative directory.
5150 cp "$am_depcomp" conftest.dir
5152 # We will build objects and dependencies in a subdirectory because
5153 # it helps to detect inapplicable dependency modes. For instance
5154 # both Tru64's cc and ICC support -MD to output dependencies as a
5155 # side effect of compilation, but ICC will put the dependencies in
5156 # the current directory while Tru64 will put them in the object
5160 am_cv_CC_dependencies_compiler_type=none
5161 if test "$am_compiler_list" = ""; then
5162 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5164 for depmode in $am_compiler_list; do
5165 # Setup a source with many dependencies, because some compilers
5166 # like to wrap large dependency lists on column 80 (with \), and
5167 # we should not choose a depcomp mode which is confused by this.
5169 # We need to recreate these files for each test, as the compiler may
5170 # overwrite some of them when testing with obscure command lines.
5171 # This happens at least with the AIX C compiler.
5173 for i in 1 2 3 4 5 6; do
5174 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
5175 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5176 # Solaris 8's {/usr,}/bin/sh.
5177 touch sub/conftst$i.h
5179 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5183 # after this tag, mechanisms are not by side-effect, so they'll
5184 # only be used when explicitly requested
5185 if test "x
$enable_dependency_tracking" = xyes; then
5193 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
5194 # mode. It turns out that the SunPro C++ compiler does not properly
5195 # handle `-M -o', and we need to detect this.
5196 if depmode=$depmode \
5197 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5198 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5199 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5200 >/dev/null 2>conftest.err &&
5201 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5202 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5203 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5204 # icc doesn't choke on unknown options, it will just issue warnings
5205 # or remarks (even with -Werror). So we grep stderr for any message
5206 # that says an option was ignored or not supported.
5207 # When given -MP, icc 7.0 and 7.1 complain thusly:
5208 # icc: Command line warning: ignoring option '-M'; no argument required
5209 # The diagnosis changed in icc 8.0:
5210 # icc: Command line remark: option '-MP' not supported
5211 if (grep 'ignoring option' conftest.err ||
5212 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5213 am_cv_CC_dependencies_compiler_type=$depmode
5222 am_cv_CC_dependencies_compiler_type=none
5226 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
5227 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5228 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5233 test "x
$enable_dependency_tracking" != xno \
5234 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5236 am__fastdepCC_FALSE='#'
5238 am__fastdepCC_TRUE='#'
5239 am__fastdepCC_FALSE=
5244 ac_cpp='$CXXCPP $CPPFLAGS'
5245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5248 if test -z "$CXX"; then
5249 if test -n "$CCC"; then
5252 if test -n "$ac_tool_prefix"; then
5253 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5257 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5259 if test "${ac_cv_prog_CXX+set}" = set; then
5260 echo $ECHO_N "(cached
) $ECHO_C" >&6
5262 if test -n "$CXX"; then
5263 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5283 if test -n "$CXX"; then
5284 { echo "$as_me:$LINENO: result
: $CXX" >&5
5285 echo "${ECHO_T}$CXX" >&6; }
5287 { echo "$as_me:$LINENO: result
: no
" >&5
5288 echo "${ECHO_T}no
" >&6; }
5292 test -n "$CXX" && break
5295 if test -z "$CXX"; then
5297 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy $ac_prog; ac_word=$2
5301 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5303 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5304 echo $ECHO_N "(cached
) $ECHO_C" >&6
5306 if test -n "$ac_ct_CXX"; then
5307 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_ac_ct_CXX="$ac_prog"
5317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5326 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5327 if test -n "$ac_ct_CXX"; then
5328 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
5329 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5331 { echo "$as_me:$LINENO: result
: no
" >&5
5332 echo "${ECHO_T}no
" >&6; }
5336 test -n "$ac_ct_CXX" && break
5339 if test "x
$ac_ct_CXX" = x; then
5342 case $cross_compiling:$ac_tool_warned in
5344 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5345 whose name does not start with the
host triplet. If you think this
5346 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5347 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5348 whose name does not start with the
host triplet. If you think this
5349 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5350 ac_tool_warned=yes ;;
5358 # Provide some information about the compiler.
5359 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
5360 ac_compiler=`set X $ac_compile; echo $2`
5361 { (ac_try="$ac_compiler --version >&5"
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5367 (eval "$ac_compiler --version >&5") 2>&5
5369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5370 (exit $ac_status); }
5371 { (ac_try="$ac_compiler -v >&5"
5373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5377 (eval "$ac_compiler -v >&5") 2>&5
5379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5380 (exit $ac_status); }
5381 { (ac_try="$ac_compiler -V >&5"
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_compiler -V >&5") 2>&5
5389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5390 (exit $ac_status); }
5392 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
5393 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
5394 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5395 echo $ECHO_N "(cached
) $ECHO_C" >&6
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5415 rm -f conftest.$ac_objext
5416 if { (ac_try="$ac_compile"
5418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419 *) ac_try_echo=$ac_try;;
5421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$ac_compile") 2>conftest.er1
5424 grep -v '^ *+' conftest.er1 >conftest.err
5426 cat conftest.err >&5
5427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5428 (exit $ac_status); } && {
5429 test -z "$ac_cxx_werror_flag" ||
5430 test ! -s conftest.err
5431 } && test -s conftest.$ac_objext; then
5434 echo "$as_me: failed program was
:" >&5
5435 sed 's/^/| /' conftest.$ac_ext >&5
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5444 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
5445 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5446 GXX=`test $ac_compiler_gnu = yes && echo yes`
5447 ac_test_CXXFLAGS=${CXXFLAGS+set}
5448 ac_save_CXXFLAGS=$CXXFLAGS
5449 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
5450 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
5451 if test "${ac_cv_prog_cxx_g+set}" = set; then
5452 echo $ECHO_N "(cached
) $ECHO_C" >&6
5454 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5455 ac_cxx_werror_flag=yes
5458 cat >conftest.$ac_ext <<_ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5473 rm -f conftest.$ac_objext
5474 if { (ac_try="$ac_compile"
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1 >conftest.err
5484 cat conftest.err >&5
5485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_cxx_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.$ac_objext; then
5490 ac_cv_prog_cxx_g=yes
5492 echo "$as_me: failed program was
:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5496 cat >conftest.$ac_ext <<_ACEOF
5499 cat confdefs.h >>conftest.$ac_ext
5500 cat >>conftest.$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5511 rm -f conftest.$ac_objext
5512 if { (ac_try="$ac_compile"
5514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515 *) ac_try_echo=$ac_try;;
5517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_compile") 2>conftest.er1
5520 grep -v '^ *+' conftest.er1 >conftest.err
5522 cat conftest.err >&5
5523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5524 (exit $ac_status); } && {
5525 test -z "$ac_cxx_werror_flag" ||
5526 test ! -s conftest.err
5527 } && test -s conftest.$ac_objext; then
5530 echo "$as_me: failed program was
:" >&5
5531 sed 's/^/| /' conftest.$ac_ext >&5
5533 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5535 cat >conftest.$ac_ext <<_ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5550 rm -f conftest.$ac_objext
5551 if { (ac_try="$ac_compile"
5553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5557 (eval "$ac_compile") 2>conftest.er1
5559 grep -v '^ *+' conftest.er1 >conftest.err
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5563 (exit $ac_status); } && {
5564 test -z "$ac_cxx_werror_flag" ||
5565 test ! -s conftest.err
5566 } && test -s conftest.$ac_objext; then
5567 ac_cv_prog_cxx_g=yes
5569 echo "$as_me: failed program was
:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5582 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5584 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
5585 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5586 if test "$ac_test_CXXFLAGS" = set; then
5587 CXXFLAGS=$ac_save_CXXFLAGS
5588 elif test $ac_cv_prog_cxx_g = yes; then
5589 if test "$GXX" = yes; then
5595 if test "$GXX" = yes; then
5602 ac_cpp='$CPP $CPPFLAGS'
5603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5607 depcc="$CXX" am_compiler_list=
5609 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
5610 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
5611 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5612 echo $ECHO_N "(cached
) $ECHO_C" >&6
5614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5615 # We make a subdir and do the tests there. Otherwise we can end up
5616 # making bogus files that we don't know about and never remove. For
5617 # instance it was reported that on HP-UX the gcc test will end up
5618 # making a dummy file named `D' -- because `-MD' means `put the output
5621 # Copy depcomp to subdir because otherwise we won't find it if we're
5622 # using a relative directory.
5623 cp "$am_depcomp" conftest.dir
5625 # We will build objects and dependencies in a subdirectory because
5626 # it helps to detect inapplicable dependency modes. For instance
5627 # both Tru64's cc and ICC support -MD to output dependencies as a
5628 # side effect of compilation, but ICC will put the dependencies in
5629 # the current directory while Tru64 will put them in the object
5633 am_cv_CXX_dependencies_compiler_type=none
5634 if test "$am_compiler_list" = ""; then
5635 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5637 for depmode in $am_compiler_list; do
5638 # Setup a source with many dependencies, because some compilers
5639 # like to wrap large dependency lists on column 80 (with \), and
5640 # we should not choose a depcomp mode which is confused by this.
5642 # We need to recreate these files for each test, as the compiler may
5643 # overwrite some of them when testing with obscure command lines.
5644 # This happens at least with the AIX C compiler.
5646 for i in 1 2 3 4 5 6; do
5647 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
5648 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5649 # Solaris 8's {/usr,}/bin/sh.
5650 touch sub/conftst$i.h
5652 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5656 # after this tag, mechanisms are not by side-effect, so they'll
5657 # only be used when explicitly requested
5658 if test "x
$enable_dependency_tracking" = xyes; then
5666 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
5667 # mode. It turns out that the SunPro C++ compiler does not properly
5668 # handle `-M -o', and we need to detect this.
5669 if depmode=$depmode \
5670 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5671 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5672 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5673 >/dev/null 2>conftest.err &&
5674 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5675 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5676 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5677 # icc doesn't choke on unknown options, it will just issue warnings
5678 # or remarks (even with -Werror). So we grep stderr for any message
5679 # that says an option was ignored or not supported.
5680 # When given -MP, icc 7.0 and 7.1 complain thusly:
5681 # icc: Command line warning: ignoring option '-M'; no argument required
5682 # The diagnosis changed in icc 8.0:
5683 # icc: Command line remark: option '-MP' not supported
5684 if (grep 'ignoring option' conftest.err ||
5685 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5686 am_cv_CXX_dependencies_compiler_type=$depmode
5695 am_cv_CXX_dependencies_compiler_type=none
5699 { echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
5700 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5701 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5706 test "x
$enable_dependency_tracking" != xno \
5707 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5708 am__fastdepCXX_TRUE=
5709 am__fastdepCXX_FALSE='#'
5711 am__fastdepCXX_TRUE='#'
5712 am__fastdepCXX_FALSE=
5716 { echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
5717 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6; }
5718 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5719 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5720 echo $ECHO_N "(cached
) $ECHO_C" >&6
5722 cat >conftest.make <<\_ACEOF
5725 @echo '@@@%%%=$(MAKE)=@@@%%%'
5727 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
5728 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5730 eval ac_cv_prog_make_${ac_make}_set=yes;;
5732 eval ac_cv_prog_make_${ac_make}_set=no;;
5736 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5737 { echo "$as_me:$LINENO: result
: yes" >&5
5738 echo "${ECHO_T}yes" >&6; }
5741 { echo "$as_me:$LINENO: result
: no
" >&5
5742 echo "${ECHO_T}no
" >&6; }
5743 SET_MAKE="MAKE
=${MAKE-make}"
5746 # Check whether --enable-shared was given.
5747 if test "${enable_shared+set}" = set; then
5748 enableval=$enable_shared; p=${PACKAGE-default}
5750 yes) enable_shared=yes ;;
5751 no) enable_shared=no ;;
5754 # Look at the argument we got. We use all the common list separators.
5755 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5756 for pkg in $enableval; do
5758 if test "X
$pkg" = "X
$p"; then
5770 # Check whether --enable-static was given.
5771 if test "${enable_static+set}" = set; then
5772 enableval=$enable_static; p=${PACKAGE-default}
5774 yes) enable_static=yes ;;
5775 no) enable_static=no ;;
5778 # Look at the argument we got. We use all the common list separators.
5779 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5780 for pkg in $enableval; do
5782 if test "X
$pkg" = "X
$p"; then
5794 # Check whether --enable-fast-install was given.
5795 if test "${enable_fast_install+set}" = set; then
5796 enableval=$enable_fast_install; p=${PACKAGE-default}
5798 yes) enable_fast_install=yes ;;
5799 no) enable_fast_install=no ;;
5801 enable_fast_install=no
5802 # Look at the argument we got. We use all the common list separators.
5803 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5804 for pkg in $enableval; do
5806 if test "X
$pkg" = "X
$p"; then
5807 enable_fast_install=yes
5814 enable_fast_install=yes
5818 # Make sure we can run config.sub.
5819 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
5820 { { echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
5821 echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
5822 { (exit 1); exit 1; }; }
5824 { echo "$as_me:$LINENO: checking build system
type" >&5
5825 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6; }
5826 if test "${ac_cv_build+set}" = set; then
5827 echo $ECHO_N "(cached
) $ECHO_C" >&6
5829 ac_build_alias=$build_alias
5830 test "x
$ac_build_alias" = x &&
5831 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
5832 test "x
$ac_build_alias" = x &&
5833 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
5834 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
5835 { (exit 1); exit 1; }; }
5836 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
5837 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
5838 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
5839 { (exit 1); exit 1; }; }
5842 { echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
5843 echo "${ECHO_T}$ac_cv_build" >&6; }
5844 case $ac_cv_build in
5846 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
5847 echo "$as_me: error
: invalid value of canonical build
" >&2;}
5848 { (exit 1); exit 1; }; };;
5851 ac_save_IFS=$IFS; IFS='-'
5857 # Remember, the first character of IFS is used to create $*,
5858 # except with old shells:
5861 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5864 { echo "$as_me:$LINENO: checking
host system
type" >&5
5865 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6; }
5866 if test "${ac_cv_host+set}" = set; then
5867 echo $ECHO_N "(cached
) $ECHO_C" >&6
5869 if test "x
$host_alias" = x; then
5870 ac_cv_host=$ac_cv_build
5872 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
5873 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
5874 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
5875 { (exit 1); exit 1; }; }
5879 { echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
5880 echo "${ECHO_T}$ac_cv_host" >&6; }
5883 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
5884 echo "$as_me: error
: invalid value of canonical
host" >&2;}
5885 { (exit 1); exit 1; }; };;
5888 ac_save_IFS=$IFS; IFS='-'
5894 # Remember, the first character of IFS is used to create $*,
5895 # except with old shells:
5898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5901 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
5902 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
5903 if test "${lt_cv_path_SED+set}" = set; then
5904 echo $ECHO_N "(cached
) $ECHO_C" >&6
5906 # Loop through the user's path and test for sed and gsed.
5907 # Then use that list of sed's as ones to test for truncation.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for lt_ac_prog in sed gsed; do
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5916 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5924 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5925 # along with /bin/sed that truncates output.
5926 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5927 test ! -f $lt_ac_sed && continue
5928 cat /dev/null > conftest.in
5930 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5931 # Check for GNU sed and select it if it is found.
5932 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5933 lt_cv_path_SED=$lt_ac_sed
5937 cat conftest.in conftest.in >conftest.tmp
5938 mv conftest.tmp conftest.in
5939 cp conftest.in conftest.nl
5941 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5942 cmp -s conftest.out conftest.nl || break
5943 # 10000 chars as input seems more than enough
5944 test $lt_ac_count -gt 10 && break
5945 lt_ac_count=`expr $lt_ac_count + 1`
5946 if test $lt_ac_count -gt $lt_ac_max; then
5947 lt_ac_max=$lt_ac_count
5948 lt_cv_path_SED=$lt_ac_sed
5957 { echo "$as_me:$LINENO: result
: $SED" >&5
5958 echo "${ECHO_T}$SED" >&6; }
5961 # Check whether --with-gnu-ld was given.
5962 if test "${with_gnu_ld+set}" = set; then
5963 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5969 if test "$GCC" = yes; then
5970 # Check if gcc -print-prog-name=ld gives a path.
5971 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
5972 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
5975 # gcc leaves a trailing carriage return which upsets mingw
5976 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5978 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5981 # Accept absolute paths.
5983 re_direlt='/[^/][^/]*/\.\./'
5984 # Canonicalize the pathname of ld
5985 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5986 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5987 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
5989 test -z "$LD" && LD="$ac_prog"
5992 # If it fails, then pretend we aren't using GCC.
5996 # If it is relative, then search for the first ld in PATH.
6000 elif test "$with_gnu_ld" = yes; then
6001 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
6002 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
6004 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
6005 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
6007 if test "${lt_cv_path_LD+set}" = set; then
6008 echo $ECHO_N "(cached
) $ECHO_C" >&6
6010 if test -z "$LD"; then
6011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6012 for ac_dir in $PATH; do
6014 test -z "$ac_dir" && ac_dir=.
6015 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6016 lt_cv_path_LD="$ac_dir/$ac_prog"
6017 # Check to see if the program is GNU ld. I'd rather use --version,
6018 # but apparently some variants of GNU ld only accept -v.
6019 # Break only if it was the GNU/non-GNU ld that we prefer.
6020 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6021 *GNU* | *'with BFD'*)
6022 test "$with_gnu_ld" != no && break
6025 test "$with_gnu_ld" != yes && break
6032 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6037 if test -n "$LD"; then
6038 { echo "$as_me:$LINENO: result
: $LD" >&5
6039 echo "${ECHO_T}$LD" >&6; }
6041 { echo "$as_me:$LINENO: result
: no
" >&5
6042 echo "${ECHO_T}no
" >&6; }
6044 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
6045 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
6046 { (exit 1); exit 1; }; }
6047 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
6048 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
6049 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6050 echo $ECHO_N "(cached
) $ECHO_C" >&6
6052 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6053 case `$LD -v 2>&1 </dev/null` in
6054 *GNU* | *'with BFD'*)
6055 lt_cv_prog_gnu_ld=yes
6058 lt_cv_prog_gnu_ld=no
6062 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
6063 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6064 with_gnu_ld=$lt_cv_prog_gnu_ld
6067 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6068 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
6069 if test "${lt_cv_ld_reload_flag+set}" = set; then
6070 echo $ECHO_N "(cached
) $ECHO_C" >&6
6072 lt_cv_ld_reload_flag='-r'
6074 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6075 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6076 reload_flag=$lt_cv_ld_reload_flag
6077 case $reload_flag in
6079 *) reload_flag=" $reload_flag" ;;
6081 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 if test "$GCC" = yes; then
6085 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6087 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
6093 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
6094 if test "${lt_cv_path_NM+set}" = set; then
6095 echo $ECHO_N "(cached
) $ECHO_C" >&6
6097 if test -n "$NM"; then
6098 # Let the user override the test.
6101 lt_nm_to_check="${ac_tool_prefix}nm
"
6102 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6103 lt_nm_to_check="$lt_nm_to_check nm
"
6105 for lt_tmp_nm in $lt_nm_to_check; do
6106 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6107 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6109 test -z "$ac_dir" && ac_dir=.
6110 tmp_nm="$ac_dir/$lt_tmp_nm"
6111 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6112 # Check to see if the nm accepts a BSD-compat flag.
6113 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6114 # nm: unknown option "B
" ignored
6115 # Tru64's nm complains that /dev/null is an invalid object file
6116 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6117 */dev/null* | *'Invalid file or object type'*)
6118 lt_cv_path_NM="$tmp_nm -B"
6122 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6124 lt_cv_path_NM="$tmp_nm -p"
6128 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6129 continue # so that we can try to find one that supports BSD flags
6138 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6141 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
6142 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6145 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
6146 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
6148 if test "$LN_S" = "ln -s"; then
6149 { echo "$as_me:$LINENO: result
: yes" >&5
6150 echo "${ECHO_T}yes" >&6; }
6152 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
6153 echo "${ECHO_T}no
, using
$LN_S" >&6; }
6156 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6157 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
6158 if test "${lt_cv_deplibs_check_method+set}" = set; then
6159 echo $ECHO_N "(cached
) $ECHO_C" >&6
6161 lt_cv_file_magic_cmd='$MAGIC_CMD'
6162 lt_cv_file_magic_test_file=
6163 lt_cv_deplibs_check_method='unknown'
6164 # Need to set the preceding variable on all platforms that support
6165 # interlibrary dependencies.
6166 # 'none' -- dependencies not supported.
6167 # `unknown' -- same as none, but documents that we really don't know.
6168 # 'pass_all' -- all dependencies passed with no checks.
6169 # 'test_compile' -- check by making test program.
6170 # 'file_magic [[regex]]' -- check by looking for files in library path
6171 # which responds to the $file_magic_cmd with a given extended regex.
6172 # If you have `file' or equivalent on your system and you're not sure
6173 # whether `pass_all' will *always* work, you probably want this one.
6177 lt_cv_deplibs_check_method=pass_all
6181 lt_cv_deplibs_check_method=pass_all
6185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6186 lt_cv_file_magic_cmd='/usr/bin/file -L'
6187 lt_cv_file_magic_test_file=/shlib/libc.so
6191 # func_win32_libid is a shell function defined in ltmain.sh
6192 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6193 lt_cv_file_magic_cmd='func_win32_libid'
6197 # Base MSYS/MinGW do not provide the 'file' command needed by
6198 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6199 # unless we find 'file', for example because we are cross-compiling.
6200 if ( file / ) >/dev/null 2>&1; then
6201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6202 lt_cv_file_magic_cmd='func_win32_libid'
6204 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6205 lt_cv_file_magic_cmd='$OBJDUMP -f'
6209 darwin* | rhapsody*)
6210 lt_cv_deplibs_check_method=pass_all
6213 freebsd* | dragonfly*)
6214 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6217 # Not sure whether the presence of OpenBSD here was a mistake.
6218 # Let's accept both of them until this is cleared up.
6219 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6220 lt_cv_file_magic_cmd=/usr/bin/file
6221 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6225 lt_cv_deplibs_check_method=pass_all
6230 lt_cv_deplibs_check_method=pass_all
6233 hpux10.20* | hpux11*)
6234 lt_cv_file_magic_cmd=/usr/bin/file
6237 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6238 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6241 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]'
6242 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6246 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6252 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6256 irix5* | irix6* | nonstopux*)
6258 *-32|*"-32 ") libmagic=32-bit;;
6259 *-n32|*"-n32 ") libmagic=N32;;
6260 *-64|*"-64 ") libmagic=64-bit;;
6261 *) libmagic=never-match;;
6263 lt_cv_deplibs_check_method=pass_all
6266 # This must be Linux ELF.
6267 linux* | k*bsd*-gnu)
6268 lt_cv_deplibs_check_method=pass_all
6271 netbsd* | netbsdelf*-gnu)
6272 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6273 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6281 lt_cv_file_magic_cmd=/usr/bin/file
6282 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6286 lt_cv_deplibs_check_method=unknown
6290 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6297 osf3* | osf4* | osf5*)
6298 lt_cv_deplibs_check_method=pass_all
6302 lt_cv_deplibs_check_method=pass_all
6306 lt_cv_deplibs_check_method=pass_all
6310 case $host_vendor in
6312 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]'
6313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6316 lt_cv_deplibs_check_method=pass_all
6319 lt_cv_file_magic_cmd='/bin/file'
6320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6323 lt_cv_file_magic_cmd='/bin/file'
6324 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6325 lt_cv_file_magic_test_file=/lib/libc.so
6328 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6336 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6337 lt_cv_deplibs_check_method=pass_all
6342 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6343 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6344 file_magic_cmd=$lt_cv_file_magic_cmd
6345 deplibs_check_method=$lt_cv_deplibs_check_method
6346 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6351 # If no C compiler was specified, use CC.
6354 # If no C compiler flags were specified, use CFLAGS.
6355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6357 # Allow CC to be a program name with arguments.
6360 # Check whether --enable-libtool-lock was given.
6361 if test "${enable_libtool_lock+set}" = set; then
6362 enableval=$enable_libtool_lock;
6365 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6367 # Some flags need to be propagated to the compiler or linker for good
6371 # Find out which ABI we are using.
6372 echo 'int i;' > conftest.$ac_ext
6373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6374 (eval $ac_compile) 2>&5
6376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6377 (exit $ac_status); }; then
6378 case `/usr/bin/file conftest.$ac_objext` in
6390 # Find out which ABI we are using.
6391 echo '#line 6391 "configure
"' > conftest.$ac_ext
6392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6393 (eval $ac_compile) 2>&5
6395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6396 (exit $ac_status); }; then
6397 if test "$lt_cv_prog_gnu_ld" = yes; then
6398 case `/usr/bin/file conftest.$ac_objext` in
6400 LD="${LD-ld} -melf32bsmip"
6403 LD="${LD-ld} -melf32bmipn32"
6406 LD="${LD-ld} -melf64bmip"
6410 case `/usr/bin/file conftest.$ac_objext` in
6426 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6427 s390*-*linux*|sparc*-*linux*)
6428 # Find out which ABI we are using.
6429 echo 'int i;' > conftest.$ac_ext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6431 (eval $ac_compile) 2>&5
6433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6434 (exit $ac_status); }; then
6435 case `/usr/bin/file conftest.o` in
6438 x86_64-*kfreebsd*-gnu)
6439 LD="${LD-ld} -m elf_i386_fbsd
"
6442 LD="${LD-ld} -m elf_i386
"
6444 ppc64-*linux*|powerpc64-*linux*)
6445 LD="${LD-ld} -m elf32ppclinux
"
6448 LD="${LD-ld} -m elf_s390
"
6451 LD="${LD-ld} -m elf32_sparc
"
6457 x86_64-*kfreebsd*-gnu)
6458 LD="${LD-ld} -m elf_x86_64_fbsd
"
6461 LD="${LD-ld} -m elf_x86_64
"
6463 ppc*-*linux*|powerpc*-*linux*)
6464 LD="${LD-ld} -m elf64ppc
"
6467 LD="${LD-ld} -m elf64_s390
"
6470 LD="${LD-ld} -m elf64_sparc
"
6480 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6481 SAVE_CFLAGS="$CFLAGS"
6482 CFLAGS="$CFLAGS -belf"
6483 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6484 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
6485 if test "${lt_cv_cc_needs_belf+set}" = set; then
6486 echo $ECHO_N "(cached
) $ECHO_C" >&6
6489 ac_cpp='$CPP $CPPFLAGS'
6490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6494 cat >conftest.$ac_ext <<_ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6509 rm -f conftest.$ac_objext conftest$ac_exeext
6510 if { (ac_try="$ac_link"
6512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6513 *) ac_try_echo=$ac_try;;
6515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6516 (eval "$ac_link") 2>conftest.er1
6518 grep -v '^ *+' conftest.er1 >conftest.err
6520 cat conftest.err >&5
6521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6522 (exit $ac_status); } && {
6523 test -z "$ac_c_werror_flag" ||
6524 test ! -s conftest.err
6525 } && test -s conftest$ac_exeext &&
6526 $as_test_x conftest$ac_exeext; then
6527 lt_cv_cc_needs_belf=yes
6529 echo "$as_me: failed program was
:" >&5
6530 sed 's/^/| /' conftest.$ac_ext >&5
6532 lt_cv_cc_needs_belf=no
6535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6536 conftest$ac_exeext conftest.$ac_ext
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6545 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6546 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6547 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6548 CFLAGS="$SAVE_CFLAGS"
6552 # Find out which ABI we are using.
6553 echo 'int i;' > conftest.$ac_ext
6554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6555 (eval $ac_compile) 2>&5
6557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6558 (exit $ac_status); }; then
6559 case `/usr/bin/file conftest.o` in
6561 case $lt_cv_prog_gnu_ld in
6562 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6564 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6578 need_locks="$enable_libtool_lock"
6582 for ac_header in dlfcn.h
6584 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6585 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6586 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6587 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6588 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6589 echo $ECHO_N "(cached
) $ECHO_C" >&6
6591 ac_res=`eval echo '${'$as_ac_Header'}'`
6592 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6593 echo "${ECHO_T}$ac_res" >&6; }
6595 # Is the header compilable?
6596 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6597 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6598 cat >conftest.$ac_ext <<_ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6604 $ac_includes_default
6605 #include <$ac_header>
6607 rm -f conftest.$ac_objext
6608 if { (ac_try="$ac_compile"
6610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6611 *) ac_try_echo=$ac_try;;
6613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6614 (eval "$ac_compile") 2>conftest.er1
6616 grep -v '^ *+' conftest.er1 >conftest.err
6618 cat conftest.err >&5
6619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6620 (exit $ac_status); } && {
6621 test -z "$ac_c_werror_flag" ||
6622 test ! -s conftest.err
6623 } && test -s conftest.$ac_objext; then
6624 ac_header_compiler=yes
6626 echo "$as_me: failed program was
:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_header_compiler=no
6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6633 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6634 echo "${ECHO_T}$ac_header_compiler" >&6; }
6636 # Is the header present?
6637 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6638 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6639 cat >conftest.$ac_ext <<_ACEOF
6642 cat confdefs.h >>conftest.$ac_ext
6643 cat >>conftest.$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6645 #include <$ac_header>
6647 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6650 *) ac_try_echo=$ac_try;;
6652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6653 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6655 grep -v '^ *+' conftest.er1 >conftest.err
6657 cat conftest.err >&5
6658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6659 (exit $ac_status); } >/dev/null && {
6660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6661 test ! -s conftest.err
6663 ac_header_preproc=yes
6665 echo "$as_me: failed program was
:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6668 ac_header_preproc=no
6671 rm -f conftest.err conftest.$ac_ext
6672 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6673 echo "${ECHO_T}$ac_header_preproc" >&6; }
6675 # So? What about this header?
6676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6678 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6679 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6680 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6682 ac_header_preproc=yes
6685 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6686 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6687 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6688 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6689 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6690 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6691 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6692 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6693 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6695 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6696 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6698 ## ------------------------------------------------ ##
6699 ## Report this to barry-devel@lists.sourceforge.net ##
6700 ## ------------------------------------------------ ##
6702 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6705 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6706 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6707 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6708 echo $ECHO_N "(cached
) $ECHO_C" >&6
6710 eval "$as_ac_Header=\
$ac_header_preproc"
6712 ac_res=`eval echo '${'$as_ac_Header'}'`
6713 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6714 echo "${ECHO_T}$ac_res" >&6; }
6717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6718 cat >>confdefs.h <<_ACEOF
6719 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6728 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
6729 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
6730 (test "X
$CXX" != "Xg
++"))) ; then
6732 ac_cpp='$CXXCPP $CPPFLAGS'
6733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6736 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
6737 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
6738 if test -z "$CXXCPP"; then
6739 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6740 echo $ECHO_N "(cached
) $ECHO_C" >&6
6742 # Double quotes because CXXCPP needs to be expanded
6743 for CXXCPP in "$CXX -E" "/lib
/cpp
"
6746 for ac_cxx_preproc_warn_flag in '' yes
6748 # Use a header file that comes with gcc, so configuring glibc
6749 # with a fresh cross-compiler works.
6750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6751 # <limits.h> exists even on freestanding compilers.
6752 # On the NeXT, cc -E runs the code through the compiler's parser,
6753 # not just through cpp. "Syntax error
" is here to catch this case.
6754 cat >conftest.$ac_ext <<_ACEOF
6757 cat confdefs.h >>conftest.$ac_ext
6758 cat >>conftest.$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6761 # include <limits.h>
6763 # include <assert.h>
6767 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6770 *) ac_try_echo=$ac_try;;
6772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6775 grep -v '^ *+' conftest.er1 >conftest.err
6777 cat conftest.err >&5
6778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6779 (exit $ac_status); } >/dev/null && {
6780 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6781 test ! -s conftest.err
6785 echo "$as_me: failed program was
:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 # Broken: fails on valid input.
6792 rm -f conftest.err conftest.$ac_ext
6794 # OK, works on sane cases. Now check whether nonexistent headers
6795 # can be detected and how.
6796 cat >conftest.$ac_ext <<_ACEOF
6799 cat confdefs.h >>conftest.$ac_ext
6800 cat >>conftest.$ac_ext <<_ACEOF
6801 /* end confdefs.h. */
6802 #include <ac_nonexistent.h>
6804 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6807 *) ac_try_echo=$ac_try;;
6809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6810 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6812 grep -v '^ *+' conftest.er1 >conftest.err
6814 cat conftest.err >&5
6815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6816 (exit $ac_status); } >/dev/null && {
6817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6818 test ! -s conftest.err
6820 # Broken: success on invalid input.
6823 echo "$as_me: failed program was
:" >&5
6824 sed 's/^/| /' conftest.$ac_ext >&5
6826 # Passes both tests.
6831 rm -f conftest.err conftest.$ac_ext
6834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6835 rm -f conftest.err conftest.$ac_ext
6836 if $ac_preproc_ok; then
6841 ac_cv_prog_CXXCPP=$CXXCPP
6844 CXXCPP=$ac_cv_prog_CXXCPP
6846 ac_cv_prog_CXXCPP=$CXXCPP
6848 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
6849 echo "${ECHO_T}$CXXCPP" >&6; }
6851 for ac_cxx_preproc_warn_flag in '' yes
6853 # Use a header file that comes with gcc, so configuring glibc
6854 # with a fresh cross-compiler works.
6855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6856 # <limits.h> exists even on freestanding compilers.
6857 # On the NeXT, cc -E runs the code through the compiler's parser,
6858 # not just through cpp. "Syntax error
" is here to catch this case.
6859 cat >conftest.$ac_ext <<_ACEOF
6862 cat confdefs.h >>conftest.$ac_ext
6863 cat >>conftest.$ac_ext <<_ACEOF
6864 /* end confdefs.h. */
6866 # include <limits.h>
6868 # include <assert.h>
6872 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6884 (exit $ac_status); } >/dev/null && {
6885 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6886 test ! -s conftest.err
6890 echo "$as_me: failed program was
:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6893 # Broken: fails on valid input.
6897 rm -f conftest.err conftest.$ac_ext
6899 # OK, works on sane cases. Now check whether nonexistent headers
6900 # can be detected and how.
6901 cat >conftest.$ac_ext <<_ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 #include <ac_nonexistent.h>
6909 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6912 *) ac_try_echo=$ac_try;;
6914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6915 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6917 grep -v '^ *+' conftest.er1 >conftest.err
6919 cat conftest.err >&5
6920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6921 (exit $ac_status); } >/dev/null && {
6922 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6923 test ! -s conftest.err
6925 # Broken: success on invalid input.
6928 echo "$as_me: failed program was
:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 # Passes both tests.
6936 rm -f conftest.err conftest.$ac_ext
6939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6940 rm -f conftest.err conftest.$ac_ext
6941 if $ac_preproc_ok; then
6944 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
6945 See \
`config.log' for more details." >&5
6946 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6947 See \`config.log
' for more details." >&2;}
6948 { (exit 1); exit 1; }; }
6952 ac_cpp='$CXXCPP $CPPFLAGS'
6953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6954 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6961 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
6962 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6963 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6964 if test -n "$ac_tool_prefix"; then
6965 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
6967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6971 if test "${ac_cv_prog_F77+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 if test -n "$F77"; then
6975 ac_cv_prog_F77="$F77" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 if test -n "$F77"; then
6996 { echo "$as_me:$LINENO: result: $F77" >&5
6997 echo "${ECHO_T}$F77" >&6; }
6999 { echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6; }
7004 test -n "$F77" && break
7007 if test -z "$F77"; then
7009 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
7011 # Extract the first word of "$ac_prog", so it can be a program name with args.
7012 set dummy $ac_prog; ac_word=$2
7013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7015 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 if test -n "$ac_ct_F77"; then
7019 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir=.
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7028 ac_cv_prog_ac_ct_F77="$ac_prog"
7029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7039 if test -n "$ac_ct_F77"; then
7040 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7041 echo "${ECHO_T}$ac_ct_F77" >&6; }
7043 { echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6; }
7048 test -n "$ac_ct_F77" && break
7051 if test "x$ac_ct_F77" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7057 whose name does not start with the host triplet. If you think this
7058 configuration is useful to you, please write to autoconf@gnu.org." >&5
7059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7060 whose name does not start with the host triplet. If you think this
7061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7062 ac_tool_warned=yes ;;
7069 # Provide some information about the compiler.
7070 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7071 ac_compiler=`set X $ac_compile; echo $2`
7072 { (ac_try="$ac_compiler --version >&5"
7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7075 *) ac_try_echo=$ac_try;;
7077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7078 (eval "$ac_compiler --version >&5") 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }
7082 { (ac_try="$ac_compiler -v >&5"
7084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7085 *) ac_try_echo=$ac_try;;
7087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7088 (eval "$ac_compiler -v >&5") 2>&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }
7092 { (ac_try="$ac_compiler -V >&5"
7094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7095 *) ac_try_echo=$ac_try;;
7097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7098 (eval "$ac_compiler -V >&5") 2>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); }
7104 # If we don't use
`.F' as extension, the preprocessor is not run on the
7105 # input file. (Note that this only needs to work for GNU compilers.)
7108 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7109 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7110 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 cat >conftest.$ac_ext <<_ACEOF
7121 rm -f conftest.$ac_objext
7122 if { (ac_try="$ac_compile"
7124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7125 *) ac_try_echo
=$ac_try;;
7127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7128 (eval "$ac_compile") 2>conftest.er1
7130 grep -v '^ *+' conftest.er1
>conftest.err
7132 cat conftest.err
>&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } && {
7135 test -z "$ac_f77_werror_flag" ||
7136 test ! -s conftest.err
7137 } && test -s conftest.
$ac_objext; then
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7147 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
7150 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7151 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7153 ac_test_FFLAGS
=${FFLAGS+set}
7154 ac_save_FFLAGS
=$FFLAGS
7156 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7157 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7158 if test "${ac_cv_prog_f77_g+set}" = set; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 cat >conftest.
$ac_ext <<_ACEOF
7167 rm -f conftest.
$ac_objext
7168 if { (ac_try
="$ac_compile"
7170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_compile") 2>conftest.er1
7176 grep -v '^ *+' conftest.er1 >conftest.err
7178 cat conftest.err >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } && {
7181 test -z "$ac_f77_werror_flag" ||
7182 test ! -s conftest.err
7183 } && test -s conftest.$ac_objext; then
7184 ac_cv_prog_f77_g=yes
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7196 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7197 if test "$ac_test_FFLAGS" = set; then
7198 FFLAGS=$ac_save_FFLAGS
7199 elif test $ac_cv_prog_f77_g = yes; then
7200 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7206 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7213 G77=`test $ac_compiler_gnu = yes && echo yes`
7215 ac_cpp='$CPP $CPPFLAGS'
7216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7222 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7223 # find the maximum length of command line arguments
7224 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7225 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7226 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 # On DJGPP, this test can blow up pretty badly due to problems in libc
7235 # (any single argument exceeding 2000 bytes causes a buffer overrun
7236 # during glob expansion). Even if it were fixed, the result of this
7237 # check would be larger than it should be.
7238 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7242 # Under GNU Hurd, this test is not required because there is
7243 # no limit to the length of command line arguments.
7244 # Libtool will interpret -1 as no limit whatsoever
7245 lt_cv_sys_max_cmd_len=-1;
7249 # On Win9x/ME, this test blows up -- it succeeds, but takes
7250 # about 5 minutes as the teststring grows exponentially.
7251 # Worse, since 9x/ME are not pre-emptively multitasking,
7252 # you end up with a "frozen" computer, even though with patience
7253 # the test eventually succeeds (with a max line length of 256k).
7254 # Instead, let's just punt: use the minimum linelength reported by
7255 # all of the supported platforms: 8192 (on NT/2K/XP).
7256 lt_cv_sys_max_cmd_len=8192;
7260 # On AmigaOS with pdksh, this test takes hours, literally.
7261 # So we just punt and use a minimum line length of 8192.
7262 lt_cv_sys_max_cmd_len=8192;
7265 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7266 # This has been around since 386BSD, at least. Likely further.
7267 if test -x /sbin/sysctl; then
7268 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
7269 elif test -x /usr/sbin/sysctl; then
7270 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
7272 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7274 # And add a safety zone
7275 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
7276 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
7280 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7281 lt_cv_sys_max_cmd_len=196608
7285 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7286 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7287 # nice to cause kernel panics so lets avoid the loop below.
7288 # First set a reasonable default.
7289 lt_cv_sys_max_cmd_len=16384
7291 if test -x /sbin/sysconfig; then
7292 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
7293 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7298 lt_cv_sys_max_cmd_len=102400
7300 sysv5* | sco5v6* | sysv4.2uw2*)
7301 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
7302 if test -n "$kargmax"; then
7303 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
7305 lt_cv_sys_max_cmd_len=32768
7309 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX
) 2> /dev
/null
`
7310 if test -n "$lt_cv_sys_max_cmd_len"; then
7311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
7312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
7314 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7315 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
7316 = "XX$teststring") >/dev/null 2>&1 &&
7317 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7318 lt_cv_sys_max_cmd_len=$new_result &&
7319 test $i != 17 # 1/2 MB should be enough
7322 teststring=$teststring$teststring
7325 # Add a significant safety factor because C++ compilers can tack on massive
7326 # amounts of additional arguments before passing them to the linker.
7327 # It appears as though 1/2 is a usable value.
7328 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
7335 if test -n $lt_cv_sys_max_cmd_len ; then
7336 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7337 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7339 { echo "$as_me:$LINENO: result: none" >&5
7340 echo "${ECHO_T}none" >&6; }
7347 # Check for command to grab the raw symbol name followed by C symbol from nm.
7348 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7349 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7350 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 # These are sane defaults that work on at least a few old systems.
7355 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7357 # Character class describing NM global symbol codes.
7358 symcode='[BCDEGRST]'
7360 # Regexp to match symbols that can be accessed directly from C.
7361 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7363 # Transform an extracted symbol line into a proper C declaration
7364 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7366 # Transform an extracted symbol line into symbol name and symbol address
7367 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'"
7369 # Define system-specific variables.
7374 cygwin* | mingw* | pw32*)
7375 symcode='[ABCDGISTW]'
7377 hpux*) # Its linker distinguishes data from code symbols
7378 if test "$host_cpu" = ia64; then
7379 symcode='[ABCDEGRST]'
7381 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7382 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'"
7384 linux* | k*bsd*-gnu)
7385 if test "$host_cpu" = ia64; then
7386 symcode='[ABCDGIRSTW]'
7387 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7388 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'"
7392 symcode='[BCDEGRST]'
7395 symcode='[BCDEGQRST]'
7406 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7414 # Handle CRLF in mingw tool chain
7418 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7422 # If we're using GNU nm, then use its standard symbol codes.
7423 case `$NM -V 2>&1` in
7424 *GNU* | *'with BFD'*)
7425 symcode='[ABCDGIRSTW]' ;;
7428 # Try without a prefix undercore, then with it.
7429 for ac_symprfx in "" "_"; do
7431 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7432 symxfrm="\\1 $ac_symprfx\\2 \\2"
7434 # Write the raw and C identifiers.
7435 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7437 # Check to see that the pipe works correctly.
7441 cat > conftest.$ac_ext <<EOF
7446 void nm_test_func(){}
7450 int main(){nm_test_var='a';nm_test_func();return(0);}
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; then
7458 # Now try to grab the symbols.
7460 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7461 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && test -s "$nlist"; then
7465 # Try sorting and uniquifying the output.
7466 if sort "$nlist" | uniq > "$nlist"T; then
7467 mv -f "$nlist"T "$nlist"
7472 # Make sure that we snagged all the symbols we need.
7473 if grep ' nm_test_var$' "$nlist" >/dev/null; then
7474 if grep ' nm_test_func$' "$nlist" >/dev/null; then
7475 cat <<EOF > conftest.$ac_ext
7481 # Now generate the symbol file.
7482 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7484 cat <<EOF >> conftest.$ac_ext
7485 #if defined (__STDC__) && __STDC__
7486 # define lt_ptr_t void *
7488 # define lt_ptr_t char *
7492 /* The mapping between symbol names and symbols. */
7497 lt_preloaded_symbols[] =
7500 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7501 cat <<\EOF >> conftest.$ac_ext
7509 # Now try linking the two files.
7510 mv conftest.$ac_objext conftstm.$ac_objext
7511 lt_save_LIBS="$LIBS"
7512 lt_save_CFLAGS="$CFLAGS"
7513 LIBS="conftstm.$ac_objext"
7514 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7516 (eval $ac_link) 2>&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7522 LIBS="$lt_save_LIBS"
7523 CFLAGS="$lt_save_CFLAGS"
7525 echo "cannot find nm_test_func in $nlist" >&5
7528 echo "cannot find nm_test_var in $nlist" >&5
7531 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7534 echo "$progname: failed program was:" >&5
7535 cat conftest.$ac_ext >&5
7537 rm -rf conftest* conftst*
7539 # Do not use the global_symbol_pipe unless it works.
7540 if test "$pipe_works" = yes; then
7543 lt_cv_sys_global_symbol_pipe=
7549 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7550 lt_cv_sys_global_symbol_to_cdecl=
7552 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7553 { echo "$as_me:$LINENO: result: failed" >&5
7554 echo "${ECHO_T}failed" >&6; }
7556 { echo "$as_me:$LINENO: result: ok" >&5
7557 echo "${ECHO_T}ok" >&6; }
7560 { echo "$as_me:$LINENO: checking for objdir" >&5
7561 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7562 if test "${lt_cv_objdir+set}" = set; then
7563 echo $ECHO_N "(cached) $ECHO_C" >&6
7565 rm -f .libs 2>/dev/null
7566 mkdir .libs 2>/dev/null
7567 if test -d .libs; then
7570 # MS-DOS does not allow filenames that begin with a dot.
7573 rmdir .libs 2>/dev/null
7575 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7576 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7577 objdir=$lt_cv_objdir
7585 # AIX sometimes has problems with the GCC collect2 program. For some
7586 # reason, if we set the COLLECT_NAMES environment variable, the problems
7587 # vanish in a puff of smoke.
7588 if test "X${COLLECT_NAMES+set}" != Xset; then
7590 export COLLECT_NAMES
7595 # Sed substitution that helps us do robust quoting. It backslashifies
7596 # metacharacters that are still active within double-quoted strings.
7597 Xsed='sed -e 1s/^X//'
7598 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
7600 # Same as above, but do not quote variable references.
7601 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
7603 # Sed substitution to delay expansion of an escaped shell variable in a
7604 # double_quote_subst'ed string.
7605 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7607 # Sed substitution to avoid accidental globbing in evaled expressions
7608 no_glob_subst='s/\*/\\\*/g'
7614 default_ofile=libtool
7615 can_build_shared=yes
7617 # All known linkers require a `.a' archive for static linking (except MSVC,
7618 # which needs '.lib').
7620 ltmain="$ac_aux_dir/ltmain.sh
"
7621 ofile="$default_ofile"
7622 with_gnu_ld="$lt_cv_prog_gnu_ld"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}ar; ac_word=$2
7627 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7628 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7629 if test "${ac_cv_prog_AR+set}" = set; then
7630 echo $ECHO_N "(cached
) $ECHO_C" >&6
7632 if test -n "$AR"; then
7633 ac_cv_prog_AR="$AR" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_AR="${ac_tool_prefix}ar"
7643 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 if test -n "$AR"; then
7654 { echo "$as_me:$LINENO: result
: $AR" >&5
7655 echo "${ECHO_T}$AR" >&6; }
7657 { echo "$as_me:$LINENO: result
: no
" >&5
7658 echo "${ECHO_T}no
" >&6; }
7663 if test -z "$ac_cv_prog_AR"; then
7665 # Extract the first word of "ar", so it can be a program name with args.
7666 set dummy ar; ac_word=$2
7667 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7668 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7669 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7670 echo $ECHO_N "(cached
) $ECHO_C" >&6
7672 if test -n "$ac_ct_AR"; then
7673 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_AR="ar"
7683 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7692 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7693 if test -n "$ac_ct_AR"; then
7694 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
7695 echo "${ECHO_T}$ac_ct_AR" >&6; }
7697 { echo "$as_me:$LINENO: result
: no
" >&5
7698 echo "${ECHO_T}no
" >&6; }
7701 if test "x
$ac_ct_AR" = x; then
7704 case $cross_compiling:$ac_tool_warned in
7706 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7707 whose name does not start with the
host triplet. If you think this
7708 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7709 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7710 whose name does not start with the
host triplet. If you think this
7711 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7712 ac_tool_warned=yes ;;
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7723 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7724 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7725 if test "${ac_cv_prog_RANLIB+set}" = set; then
7726 echo $ECHO_N "(cached
) $ECHO_C" >&6
7728 if test -n "$RANLIB"; then
7729 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7739 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7748 RANLIB=$ac_cv_prog_RANLIB
7749 if test -n "$RANLIB"; then
7750 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7751 echo "${ECHO_T}$RANLIB" >&6; }
7753 { echo "$as_me:$LINENO: result
: no
" >&5
7754 echo "${ECHO_T}no
" >&6; }
7759 if test -z "$ac_cv_prog_RANLIB"; then
7760 ac_ct_RANLIB=$RANLIB
7761 # Extract the first word of "ranlib
", so it can be a program name with args.
7762 set dummy ranlib; ac_word=$2
7763 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7764 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7765 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7766 echo $ECHO_N "(cached
) $ECHO_C" >&6
7768 if test -n "$ac_ct_RANLIB"; then
7769 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7779 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7789 if test -n "$ac_ct_RANLIB"; then
7790 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
7791 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7793 { echo "$as_me:$LINENO: result
: no
" >&5
7794 echo "${ECHO_T}no
" >&6; }
7797 if test "x
$ac_ct_RANLIB" = x; then
7800 case $cross_compiling:$ac_tool_warned in
7802 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7803 whose name does not start with the
host triplet. If you think this
7804 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7805 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7806 whose name does not start with the
host triplet. If you think this
7807 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7808 ac_tool_warned=yes ;;
7810 RANLIB=$ac_ct_RANLIB
7813 RANLIB="$ac_cv_prog_RANLIB"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}strip; ac_word=$2
7819 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7820 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7821 if test "${ac_cv_prog_STRIP+set}" = set; then
7822 echo $ECHO_N "(cached
) $ECHO_C" >&6
7824 if test -n "$STRIP"; then
7825 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7835 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 STRIP=$ac_cv_prog_STRIP
7845 if test -n "$STRIP"; then
7846 { echo "$as_me:$LINENO: result
: $STRIP" >&5
7847 echo "${ECHO_T}$STRIP" >&6; }
7849 { echo "$as_me:$LINENO: result
: no
" >&5
7850 echo "${ECHO_T}no
" >&6; }
7855 if test -z "$ac_cv_prog_STRIP"; then
7857 # Extract the first word of "strip
", so it can be a program name with args.
7858 set dummy strip; ac_word=$2
7859 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7860 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7861 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7862 echo $ECHO_N "(cached
) $ECHO_C" >&6
7864 if test -n "$ac_ct_STRIP"; then
7865 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_ac_ct_STRIP="strip
"
7875 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7885 if test -n "$ac_ct_STRIP"; then
7886 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
7887 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7889 { echo "$as_me:$LINENO: result
: no
" >&5
7890 echo "${ECHO_T}no
" >&6; }
7893 if test "x
$ac_ct_STRIP" = x; then
7896 case $cross_compiling:$ac_tool_warned in
7898 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7899 whose name does not start with the
host triplet. If you think this
7900 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7901 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7902 whose name does not start with the
host triplet. If you think this
7903 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7904 ac_tool_warned=yes ;;
7909 STRIP="$ac_cv_prog_STRIP"
7914 old_CFLAGS="$CFLAGS"
7916 # Set sane defaults for various variables
7917 test -z "$AR" && AR=ar
7918 test -z "$AR_FLAGS" && AR_FLAGS=cru
7919 test -z "$AS" && AS=as
7920 test -z "$CC" && CC=cc
7921 test -z "$LTCC" && LTCC=$CC
7922 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7923 test -z "$DLLTOOL" && DLLTOOL=dlltool
7924 test -z "$LD" && LD=ld
7925 test -z "$LN_S" && LN_S="ln -s"
7926 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7927 test -z "$NM" && NM=nm
7928 test -z "$SED" && SED=sed
7929 test -z "$OBJDUMP" && OBJDUMP=objdump
7930 test -z "$RANLIB" && RANLIB=:
7931 test -z "$STRIP" && STRIP=:
7932 test -z "$ac_objext" && ac_objext=o
7934 # Determine commands to create old-style static archives.
7935 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7936 old_postinstall_cmds='chmod 644 $oldlib'
7937 old_postuninstall_cmds=
7939 if test -n "$RANLIB"; then
7942 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7945 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7948 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7951 for cc_temp in $compiler""; do
7953 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7954 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7959 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
7962 # Only perform the check for file, if the check method requires it
7963 case $deplibs_check_method in
7965 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7966 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
7967 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
7968 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7969 echo $ECHO_N "(cached
) $ECHO_C" >&6
7973 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7976 lt_save_MAGIC_CMD="$MAGIC_CMD"
7977 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7978 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7979 for ac_dir in $ac_dummy; do
7981 test -z "$ac_dir" && ac_dir=.
7982 if test -f $ac_dir/${ac_tool_prefix}file; then
7983 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7984 if test -n "$file_magic_test_file"; then
7985 case $deplibs_check_method in
7987 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7989 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7990 $EGREP "$file_magic_regex" > /dev/null; then
7995 *** Warning: the command libtool uses to detect shared libraries,
7996 *** $file_magic_cmd, produces output that libtool cannot recognize.
7997 *** The result is that libtool may fail to recognize shared libraries
7998 *** as such. This will affect the creation of libtool libraries that
7999 *** depend on shared libraries, but programs linked with such libtool
8000 *** libraries will work regardless of this problem. Nevertheless, you
8001 *** may want to report the problem to your system manager and/or to
8002 *** bug-libtool@gnu.org
8012 MAGIC_CMD="$lt_save_MAGIC_CMD"
8017 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8018 if test -n "$MAGIC_CMD"; then
8019 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
8020 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8022 { echo "$as_me:$LINENO: result
: no
" >&5
8023 echo "${ECHO_T}no
" >&6; }
8026 if test -z "$lt_cv_path_MAGIC_CMD"; then
8027 if test -n "$ac_tool_prefix"; then
8028 { echo "$as_me:$LINENO: checking
for file" >&5
8029 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
8030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8031 echo $ECHO_N "(cached
) $ECHO_C" >&6
8035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8038 lt_save_MAGIC_CMD="$MAGIC_CMD"
8039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8040 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8041 for ac_dir in $ac_dummy; do
8043 test -z "$ac_dir" && ac_dir=.
8044 if test -f $ac_dir/file; then
8045 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8046 if test -n "$file_magic_test_file"; then
8047 case $deplibs_check_method in
8049 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8052 $EGREP "$file_magic_regex" > /dev/null; then
8057 *** Warning: the command libtool uses to detect shared libraries,
8058 *** $file_magic_cmd, produces output that libtool cannot recognize.
8059 *** The result is that libtool may fail to recognize shared libraries
8060 *** as such. This will affect the creation of libtool libraries that
8061 *** depend on shared libraries, but programs linked with such libtool
8062 *** libraries will work regardless of this problem. Nevertheless, you
8063 *** may want to report the problem to your system manager and/or to
8064 *** bug-libtool@gnu.org
8074 MAGIC_CMD="$lt_save_MAGIC_CMD"
8079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8080 if test -n "$MAGIC_CMD"; then
8081 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
8082 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8084 { echo "$as_me:$LINENO: result
: no
" >&5
8085 echo "${ECHO_T}no
" >&6; }
8099 rhapsody* | darwin*)
8100 if test -n "$ac_tool_prefix"; then
8101 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8102 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8103 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8104 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8105 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8106 echo $ECHO_N "(cached
) $ECHO_C" >&6
8108 if test -n "$DSYMUTIL"; then
8109 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8119 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8128 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8129 if test -n "$DSYMUTIL"; then
8130 { echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
8131 echo "${ECHO_T}$DSYMUTIL" >&6; }
8133 { echo "$as_me:$LINENO: result
: no
" >&5
8134 echo "${ECHO_T}no
" >&6; }
8139 if test -z "$ac_cv_prog_DSYMUTIL"; then
8140 ac_ct_DSYMUTIL=$DSYMUTIL
8141 # Extract the first word of "dsymutil
", so it can be a program name with args.
8142 set dummy dsymutil; ac_word=$2
8143 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8144 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8145 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8146 echo $ECHO_N "(cached
) $ECHO_C" >&6
8148 if test -n "$ac_ct_DSYMUTIL"; then
8149 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir=.
8156 for ac_exec_ext in '' $ac_executable_extensions; do
8157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8159 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8168 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8169 if test -n "$ac_ct_DSYMUTIL"; then
8170 { echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
8171 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8173 { echo "$as_me:$LINENO: result
: no
" >&5
8174 echo "${ECHO_T}no
" >&6; }
8177 if test "x
$ac_ct_DSYMUTIL" = x; then
8180 case $cross_compiling:$ac_tool_warned in
8182 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8183 whose name does not start with the
host triplet. If you think this
8184 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8185 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8186 whose name does not start with the
host triplet. If you think this
8187 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8188 ac_tool_warned=yes ;;
8190 DSYMUTIL=$ac_ct_DSYMUTIL
8193 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8196 if test -n "$ac_tool_prefix"; then
8197 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8198 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8199 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8200 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8201 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8202 echo $ECHO_N "(cached
) $ECHO_C" >&6
8204 if test -n "$NMEDIT"; then
8205 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8224 NMEDIT=$ac_cv_prog_NMEDIT
8225 if test -n "$NMEDIT"; then
8226 { echo "$as_me:$LINENO: result
: $NMEDIT" >&5
8227 echo "${ECHO_T}$NMEDIT" >&6; }
8229 { echo "$as_me:$LINENO: result
: no
" >&5
8230 echo "${ECHO_T}no
" >&6; }
8235 if test -z "$ac_cv_prog_NMEDIT"; then
8236 ac_ct_NMEDIT=$NMEDIT
8237 # Extract the first word of "nmedit
", so it can be a program name with args.
8238 set dummy nmedit; ac_word=$2
8239 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8240 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8241 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8242 echo $ECHO_N "(cached
) $ECHO_C" >&6
8244 if test -n "$ac_ct_NMEDIT"; then
8245 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 test -z "$as_dir" && as_dir=.
8252 for ac_exec_ext in '' $ac_executable_extensions; do
8253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8254 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8255 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8264 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8265 if test -n "$ac_ct_NMEDIT"; then
8266 { echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
8267 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8269 { echo "$as_me:$LINENO: result
: no
" >&5
8270 echo "${ECHO_T}no
" >&6; }
8273 if test "x
$ac_ct_NMEDIT" = x; then
8276 case $cross_compiling:$ac_tool_warned in
8278 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8279 whose name does not start with the
host triplet. If you think this
8280 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8281 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8282 whose name does not start with the
host triplet. If you think this
8283 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8284 ac_tool_warned=yes ;;
8286 NMEDIT=$ac_ct_NMEDIT
8289 NMEDIT="$ac_cv_prog_NMEDIT"
8293 { echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
8294 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6; }
8295 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8296 echo $ECHO_N "(cached
) $ECHO_C" >&6
8298 lt_cv_apple_cc_single_mod=no
8299 if test -z "${LT_MULTI_MODULE}"; then
8300 # By default we will add the -single_module flag. You can override
8301 # by either setting the environment variable LT_MULTI_MODULE
8302 # non-empty at configure time, or by adding -multi_module to the
8304 echo "int foo
(void
){return 1;}" > conftest.c
8305 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8306 -dynamiclib ${wl}-single_module conftest.c
8307 if test -f libconftest.dylib; then
8308 lt_cv_apple_cc_single_mod=yes
8309 rm -rf libconftest.dylib*
8314 { echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
8315 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8316 { echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
8317 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6; }
8318 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8319 echo $ECHO_N "(cached
) $ECHO_C" >&6
8321 lt_cv_ld_exported_symbols_list=no
8322 save_LDFLAGS=$LDFLAGS
8323 echo "_main
" > conftest.sym
8324 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8325 cat >conftest.$ac_ext <<_ACEOF
8328 cat confdefs.h >>conftest.$ac_ext
8329 cat >>conftest.$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (ac_try="$ac_link"
8343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8344 *) ac_try_echo=$ac_try;;
8346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8347 (eval "$ac_link") 2>conftest.er1
8349 grep -v '^ *+' conftest.er1 >conftest.err
8351 cat conftest.err >&5
8352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8353 (exit $ac_status); } && {
8354 test -z "$ac_c_werror_flag" ||
8355 test ! -s conftest.err
8356 } && test -s conftest$ac_exeext &&
8357 $as_test_x conftest$ac_exeext; then
8358 lt_cv_ld_exported_symbols_list=yes
8360 echo "$as_me: failed program was
:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8363 lt_cv_ld_exported_symbols_list=no
8366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8367 conftest$ac_exeext conftest.$ac_ext
8368 LDFLAGS="$save_LDFLAGS"
8371 { echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
8372 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8374 rhapsody* | darwin1.[0123])
8375 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8377 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8379 # if running on 10.5 or later, the deployment target defaults
8380 # to the OS version, if on x86, and 10.4, the deployment
8381 # target defaults to 10.4. Don't you love it?
8382 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8383 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8384 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8386 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8388 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8392 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8393 _lt_dar_single_mod='$single_module'
8395 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8396 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8398 _lt_dar_export_syms="~
$NMEDIT -s \
$output_objdir/\
${libname}-symbols.expsym \
${lib}"
8400 if test "$DSYMUTIL" != ":"; then
8401 _lt_dsymutil="~
$DSYMUTIL \
$lib ||
:"
8412 # Check whether --enable-libtool-lock was given.
8413 if test "${enable_libtool_lock+set}" = set; then
8414 enableval=$enable_libtool_lock;
8417 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8420 # Check whether --with-pic was given.
8421 if test "${with_pic+set}" = set; then
8422 withval=$with_pic; pic_mode="$withval"
8427 test -z "$pic_mode" && pic_mode=default
8429 # Use C for the default configuration in the libtool script
8433 ac_cpp='$CPP $CPPFLAGS'
8434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8439 # Source file extension for C test sources.
8442 # Object file extension for compiled C test sources.
8446 # Code to be used in simple compile tests
8447 lt_simple_compile_test_code="int some_variable
= 0;"
8449 # Code to be used in simple link tests
8450 lt_simple_link_test_code='int main(){return(0);}'
8453 # If no C compiler was specified, use CC.
8456 # If no C compiler flags were specified, use CFLAGS.
8457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8459 # Allow CC to be a program name with arguments.
8463 # save warnings/boilerplate of simple test code
8464 ac_outfile=conftest.$ac_objext
8465 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8466 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8467 _lt_compiler_boilerplate=`cat conftest.err`
8470 ac_outfile=conftest.$ac_objext
8471 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8472 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8473 _lt_linker_boilerplate=`cat conftest.err`
8478 lt_prog_compiler_no_builtin_flag=
8480 if test "$GCC" = yes; then
8481 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8484 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8485 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
8486 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8487 echo $ECHO_N "(cached
) $ECHO_C" >&6
8489 lt_cv_prog_compiler_rtti_exceptions=no
8490 ac_outfile=conftest.$ac_objext
8491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8492 lt_compiler_flag="-fno-rtti -fno-exceptions"
8493 # Insert the option either (1) after the last *FLAGS variable, or
8494 # (2) before a word containing "conftest.
", or (3) at the end.
8495 # Note that $ac_compile itself does not contain backslashes and begins
8496 # with a dollar sign (not a hyphen), so the echo should work correctly.
8497 # The option is referenced via a variable to avoid confusing sed.
8498 lt_compile=`echo "$ac_compile" | $SED \
8499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8501 -e 's:$: $lt_compiler_flag:'`
8502 (eval echo "\"\
$as_me:8502: $lt_compile\"" >&5)
8503 (eval "$lt_compile" 2>conftest.err)
8505 cat conftest.err >&5
8506 echo "$as_me:8506: \$?
= $ac_status" >&5
8507 if (exit $ac_status) && test -s "$ac_outfile"; then
8508 # The compiler can only warn and ignore the option if not recognized
8509 # So say no if there are warnings other than the usual output.
8510 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8511 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8512 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8513 lt_cv_prog_compiler_rtti_exceptions=yes
8519 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8520 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8522 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8523 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8530 lt_prog_compiler_wl=
8531 lt_prog_compiler_pic=
8532 lt_prog_compiler_static=
8534 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
8535 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
8537 if test "$GCC" = yes; then
8538 lt_prog_compiler_wl='-Wl,'
8539 lt_prog_compiler_static='-static'
8543 # All AIX code is PIC.
8544 if test "$host_cpu" = ia64; then
8545 # AIX 5 now supports IA64 processor
8546 lt_prog_compiler_static='-Bstatic'
8551 # FIXME: we need at least 68020 code to build shared libraries, but
8552 # adding the `-m68020' flag to GCC prevents building anything better,
8554 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8558 # PIC is the default for these OSes.
8561 mingw* | cygwin* | pw32* | os2*)
8562 # This hack is so that the source file can tell whether it is being
8563 # built for inclusion in a dll (and should export symbols for example).
8564 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8565 # (--disable-auto-import) libraries
8566 lt_prog_compiler_pic='-DDLL_EXPORT'
8569 darwin* | rhapsody*)
8570 # PIC is the default on this platform
8571 # Common symbols not allowed in MH_DYLIB files
8572 lt_prog_compiler_pic='-fno-common'
8576 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8577 # Instead, we relocate shared libraries at runtime.
8581 # Just because we use GCC doesn't mean we suddenly get shared libraries
8582 # on systems that don't support them.
8583 lt_prog_compiler_can_build_shared=no
8588 if test -d /usr/nec; then
8589 lt_prog_compiler_pic=-Kconform_pic
8594 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8601 lt_prog_compiler_pic='-fPIC'
8607 lt_prog_compiler_pic='-fPIC'
8611 # PORTME Check for flag to pass linker flags through the system compiler.
8614 lt_prog_compiler_wl='-Wl,'
8615 if test "$host_cpu" = ia64; then
8616 # AIX 5 now supports IA64 processor
8617 lt_prog_compiler_static='-Bstatic'
8619 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8623 # PIC is the default on this platform
8624 # Common symbols not allowed in MH_DYLIB files
8625 case $cc_basename in
8627 lt_prog_compiler_pic='-qnocommon'
8628 lt_prog_compiler_wl='-Wl,'
8633 mingw* | cygwin* | pw32* | os2*)
8634 # This hack is so that the source file can tell whether it is being
8635 # built for inclusion in a dll (and should export symbols for example).
8636 lt_prog_compiler_pic='-DDLL_EXPORT'
8639 hpux9* | hpux10* | hpux11*)
8640 lt_prog_compiler_wl='-Wl,'
8641 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8648 lt_prog_compiler_pic='+Z'
8651 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8652 lt_prog_compiler_static='${wl}-a ${wl}archive'
8655 irix5* | irix6* | nonstopux*)
8656 lt_prog_compiler_wl='-Wl,'
8657 # PIC (with -KPIC) is the default.
8658 lt_prog_compiler_static='-non_shared'
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-Bstatic'
8666 linux* | k*bsd*-gnu)
8667 case $cc_basename in
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-static'
8673 pgcc* | pgf77* | pgf90* | pgf95*)
8674 # Portland Group compilers (*not* the Pentium gcc compiler,
8675 # which looks to be a dead project)
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-fpic'
8678 lt_prog_compiler_static='-Bstatic'
8681 lt_prog_compiler_wl='-Wl,'
8682 # All Alpha code is PIC.
8683 lt_prog_compiler_static='-non_shared'
8686 case `$CC -V 2>&1 | sed 5q` in
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_wl='-Wl,'
8694 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl=''
8704 osf3* | osf4* | osf5*)
8705 lt_prog_compiler_wl='-Wl,'
8706 # All OSF/1 code is PIC.
8707 lt_prog_compiler_static='-non_shared'
8711 lt_prog_compiler_static='-non_shared'
8715 lt_prog_compiler_pic='-KPIC'
8716 lt_prog_compiler_static='-Bstatic'
8717 case $cc_basename in
8719 lt_prog_compiler_wl='-Qoption ld ';;
8721 lt_prog_compiler_wl='-Wl,';;
8726 lt_prog_compiler_wl='-Qoption ld '
8727 lt_prog_compiler_pic='-PIC'
8728 lt_prog_compiler_static='-Bstatic'
8731 sysv4 | sysv4.2uw2* | sysv4.3*)
8732 lt_prog_compiler_wl='-Wl,'
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8738 if test -d /usr/nec ;then
8739 lt_prog_compiler_pic='-Kconform_pic'
8740 lt_prog_compiler_static='-Bstatic'
8744 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8745 lt_prog_compiler_wl='-Wl,'
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8751 lt_prog_compiler_wl='-Wl,'
8752 lt_prog_compiler_can_build_shared=no
8756 lt_prog_compiler_pic='-pic'
8757 lt_prog_compiler_static='-Bstatic'
8761 lt_prog_compiler_can_build_shared=no
8766 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
8767 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8770 # Check to make sure the PIC flag actually works.
8772 if test -n "$lt_prog_compiler_pic"; then
8774 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8775 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
8776 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8777 echo $ECHO_N "(cached
) $ECHO_C" >&6
8779 lt_cv_prog_compiler_pic_works=no
8780 ac_outfile=conftest.$ac_objext
8781 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8782 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8783 # Insert the option either (1) after the last *FLAGS variable, or
8784 # (2) before a word containing "conftest.
", or (3) at the end.
8785 # Note that $ac_compile itself does not contain backslashes and begins
8786 # with a dollar sign (not a hyphen), so the echo should work correctly.
8787 # The option is referenced via a variable to avoid confusing sed.
8788 lt_compile=`echo "$ac_compile" | $SED \
8789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791 -e 's:$: $lt_compiler_flag:'`
8792 (eval echo "\"\
$as_me:8792: $lt_compile\"" >&5)
8793 (eval "$lt_compile" 2>conftest.err)
8795 cat conftest.err >&5
8796 echo "$as_me:8796: \$?
= $ac_status" >&5
8797 if (exit $ac_status) && test -s "$ac_outfile"; then
8798 # The compiler can only warn and ignore the option if not recognized
8799 # So say no if there are warnings other than the usual output.
8800 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8803 lt_cv_prog_compiler_pic_works=yes
8809 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
8810 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8812 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8813 case $lt_prog_compiler_pic in
8815 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8818 lt_prog_compiler_pic=
8819 lt_prog_compiler_can_build_shared=no
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8826 lt_prog_compiler_pic=
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8834 # Check to make sure the static flag actually works.
8836 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8837 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8838 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
8839 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8840 echo $ECHO_N "(cached
) $ECHO_C" >&6
8842 lt_cv_prog_compiler_static_works=no
8843 save_LDFLAGS="$LDFLAGS"
8844 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8845 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8846 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8847 # The linker can only warn and ignore the option if not recognized
8848 # So say no if there are warnings
8849 if test -s conftest.err; then
8850 # Append any errors to the config.log.
8851 cat conftest.err 1>&5
8852 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_static_works=yes
8858 lt_cv_prog_compiler_static_works=yes
8862 LDFLAGS="$save_LDFLAGS"
8865 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
8866 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8868 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8871 lt_prog_compiler_static=
8875 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8876 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
8877 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8878 echo $ECHO_N "(cached
) $ECHO_C" >&6
8880 lt_cv_prog_compiler_c_o=no
8881 $rm -r conftest 2>/dev/null
8885 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8887 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8888 # Insert the option either (1) after the last *FLAGS variable, or
8889 # (2) before a word containing "conftest.
", or (3) at the end.
8890 # Note that $ac_compile itself does not contain backslashes and begins
8891 # with a dollar sign (not a hyphen), so the echo should work correctly.
8892 lt_compile=`echo "$ac_compile" | $SED \
8893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8895 -e 's:$: $lt_compiler_flag:'`
8896 (eval echo "\"\
$as_me:8896: $lt_compile\"" >&5)
8897 (eval "$lt_compile" 2>out/conftest.err)
8899 cat out/conftest.err >&5
8900 echo "$as_me:8900: \$?
= $ac_status" >&5
8901 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8903 # The compiler can only warn and ignore the option if not recognized
8904 # So say no if there are warnings
8905 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8906 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8907 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8908 lt_cv_prog_compiler_c_o=yes
8913 # SGI C++ compiler will create directory out/ii_files/ for
8914 # template instantiation
8915 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8916 $rm out/* && rmdir out
8922 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
8923 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8926 hard_links="nottested
"
8927 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8928 # do not overwrite the value of need_locks provided by the user
8929 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
8930 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
8933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8935 ln conftest.a conftest.b 2>&5 || hard_links=no
8936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8937 { echo "$as_me:$LINENO: result
: $hard_links" >&5
8938 echo "${ECHO_T}$hard_links" >&6; }
8939 if test "$hard_links" = no; then
8940 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8941 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8948 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8949 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
8952 allow_undefined_flag=
8953 enable_shared_with_static_runtimes=no
8955 archive_expsym_cmds=
8956 old_archive_From_new_cmds=
8957 old_archive_from_expsyms_cmds=
8958 export_dynamic_flag_spec=
8959 whole_archive_flag_spec=
8960 thread_safe_flag_spec=
8961 hardcode_libdir_flag_spec=
8962 hardcode_libdir_flag_spec_ld=
8963 hardcode_libdir_separator=
8966 hardcode_shlibpath_var=unsupported
8967 link_all_deplibs=unknown
8968 hardcode_automatic=no
8971 always_export_symbols=no
8972 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8973 # include_expsyms should be a list of space-separated symbols to be *always*
8974 # included in the symbol list
8976 # exclude_expsyms can be an extended regexp of symbols to exclude
8977 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8978 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8979 # as well as any symbol that contains `d'.
8980 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8981 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8982 # platforms (ab)use it in PIC code, but their linkers get confused if
8983 # the symbol is explicitly referenced. Since portable code cannot
8984 # rely on this symbol name, it's probably fine to never include it in
8985 # preloaded symbol tables.
8986 # Exclude shared library initialization/finalization symbols.
8987 extract_expsyms_cmds=
8988 # Just being paranoid about ensuring that cc_basename is set.
8989 for cc_temp in $compiler""; do
8991 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8992 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8997 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
9000 cygwin* | mingw* | pw32*)
9001 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9002 # When not using gcc, we currently assume that we are using
9003 # Microsoft Visual C++.
9004 if test "$GCC" != yes; then
9009 # we just hope/assume this is gcc and not c89 (= MSVC++)
9018 if test "$with_gnu_ld" = yes; then
9019 # If archive_cmds runs LD, not CC, wlarc should be empty
9022 # Set some defaults for GNU ld with shared library support. These
9023 # are reset later if shared libraries are not supported. Putting them
9024 # here allows them to be overridden if necessary.
9025 runpath_var=LD_RUN_PATH
9026 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9027 export_dynamic_flag_spec='${wl}--export-dynamic'
9028 # ancient GNU ld didn't support --whole-archive et. al.
9029 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9030 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9032 whole_archive_flag_spec=
9034 supports_anon_versioning=no
9035 case `$LD -v 2>/dev/null` in
9036 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9037 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9038 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9039 *\ 2.11.*) ;; # other 2.11 versions
9040 *) supports_anon_versioning=yes ;;
9043 # See if GNU ld supports shared libraries.
9046 # On AIX/PPC, the GNU linker is very broken
9047 if test "$host_cpu" != ia64; then
9051 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9052 *** to be unable to reliably create shared libraries on AIX.
9053 *** Therefore, libtool is disabling shared libraries support. If you
9054 *** really care for shared libraries, you may want to modify your PATH
9055 *** so that a non-GNU linker is found, and then restart.
9062 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)'
9063 hardcode_libdir_flag_spec
='-L$libdir'
9064 hardcode_minus_L
=yes
9066 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9067 # that the semantics of dynamic libraries on AmigaOS, at least up
9068 # to version 4, is to share data among multiple programs linked
9069 # with the same dynamic library. Since this doesn't match the
9070 # behavior of shared libraries on other platforms, we can't use
9076 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9077 allow_undefined_flag
=unsupported
9078 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9079 # support --undefined. This deserves some investigation. FIXME
9080 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9086 cygwin
* | mingw
* | pw32
*)
9087 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9088 # as there is no search path for DLLs.
9089 hardcode_libdir_flag_spec
='-L$libdir'
9090 allow_undefined_flag
=unsupported
9091 always_export_symbols
=no
9092 enable_shared_with_static_runtimes
=yes
9093 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9095 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9097 # If the export-symbols file already is a .def file (1st line
9098 # is EXPORTS), use it as is; otherwise, prepend...
9099 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9100 cp $export_symbols $output_objdir/$soname.def;
9102 echo EXPORTS > $output_objdir/$soname.def;
9103 cat $export_symbols >> $output_objdir/$soname.def;
9105 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9113 hardcode_shlibpath_var
=no
9114 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9115 export_dynamic_flag_spec
='${wl}-E'
9116 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9117 # Instead, shared libraries are loaded at an image base (0x10000000 by
9118 # default) and relocated if they conflict, which is a slow very memory
9119 # consuming and fragmenting process. To avoid this, we pick a random,
9120 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9121 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9122 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9123 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'
9126 gnu
* | linux
* | k
*bsd
*-gnu)
9127 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9129 case $cc_basename,$host_cpu in
9130 pgcc
*) # Portland Group C compiler
9131 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'
9132 tmp_addflag
=' $pic_flag'
9134 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9135 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'
9136 tmp_addflag
=' $pic_flag -Mnomain' ;;
9137 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9138 tmp_addflag
=' -i_dynamic' ;;
9139 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9140 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9141 ifc
* | ifort
*) # Intel Fortran compiler
9142 tmp_addflag
=' -nofor_main' ;;
9144 case `$CC -V 2>&1 | sed 5q` in
9145 *Sun\ C
*) # Sun C 5.9
9146 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'
9147 tmp_sharedflag
='-G' ;;
9148 *Sun\ F
*) # Sun Fortran 8.3
9149 tmp_sharedflag
='-G' ;;
9151 tmp_sharedflag
='-shared' ;;
9153 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 if test $supports_anon_versioning = yes; then
9156 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9157 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9158 $echo "local: *; };" >> $output_objdir/$libname.ver~
9159 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9167 netbsd
* | netbsdelf
*-gnu)
9168 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9169 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9172 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9173 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9178 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9182 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9183 *** create shared libraries on Solaris systems. Therefore, libtool
9184 *** is disabling shared libraries support. We urge you to upgrade GNU
9185 *** binutils to release 2.9.1 or newer. Another option is to modify
9186 *** your PATH or compiler configuration so that the native linker is
9187 *** used, and then restart.
9190 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9198 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9199 case `$LD -v 2>&1` in
9200 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9204 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9205 *** reliably create shared libraries on SCO systems. Therefore, libtool
9206 *** is disabling shared libraries support. We urge you to upgrade GNU
9207 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9208 *** your PATH or compiler configuration so that the native linker is
9209 *** used, and then restart.
9214 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9215 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9216 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9217 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9226 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9229 hardcode_shlibpath_var
=no
9233 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9242 if test "$ld_shlibs" = no
; then
9244 hardcode_libdir_flag_spec
=
9245 export_dynamic_flag_spec
=
9246 whole_archive_flag_spec
=
9249 # PORTME fill in a description of your system's linker (not GNU ld)
9252 allow_undefined_flag
=unsupported
9253 always_export_symbols
=yes
9254 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'
9255 # Note: this linker hardcodes the directories in LIBPATH if there
9256 # are no directories specified by -L.
9257 hardcode_minus_L
=yes
9258 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9259 # Neither direct hardcoding nor static linking is supported with a
9261 hardcode_direct
=unsupported
9266 if test "$host_cpu" = ia64
; then
9267 # On IA64, the linker does run time linking by default, so we don't
9268 # have to do anything special.
9269 aix_use_runtimelinking
=no
9270 exp_sym_flag
='-Bexport'
9273 # If we're using GNU nm, then we don't want the "-C" option.
9274 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9275 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9276 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'
9278 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'
9280 aix_use_runtimelinking
=no
9282 # Test if we are trying to use run time linking or normal
9283 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9284 # need to do runtime linking.
9285 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9286 for ld_flag
in $LDFLAGS; do
9287 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9288 aix_use_runtimelinking
=yes
9295 exp_sym_flag
='-bexport'
9296 no_entry_flag
='-bnoentry'
9299 # When large executables or shared objects are built, AIX ld can
9300 # have problems creating the table of contents. If linking a library
9301 # or program results in "error TOC overflow" add -mminimal-toc to
9302 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9303 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9307 hardcode_libdir_separator
=':'
9308 link_all_deplibs
=yes
9310 if test "$GCC" = yes; then
9311 case $host_os in aix4.
[012]|aix4.
[012].
*)
9312 # We only want to do this on AIX 4.2 and lower, the check
9313 # below for broken collect2 doesn't work under 4.3+
9314 collect2name
=`${CC} -print-prog-name=collect2`
9315 if test -f "$collect2name" && \
9316 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9318 # We have reworked collect2
9321 # We have old collect2
9322 hardcode_direct
=unsupported
9323 # It fails to find uninstalled libraries when the uninstalled
9324 # path is not listed in the libpath. Setting hardcode_minus_L
9325 # to unsupported forces relinking
9326 hardcode_minus_L
=yes
9327 hardcode_libdir_flag_spec
='-L$libdir'
9328 hardcode_libdir_separator
=
9332 shared_flag
='-shared'
9333 if test "$aix_use_runtimelinking" = yes; then
9334 shared_flag
="$shared_flag "'${wl}-G'
9338 if test "$host_cpu" = ia64
; then
9339 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9340 # chokes on -Wl,-G. The following line is correct:
9343 if test "$aix_use_runtimelinking" = yes; then
9344 shared_flag
='${wl}-G'
9346 shared_flag
='${wl}-bM:SRE'
9351 # It seems that -bexpall does not export symbols beginning with
9352 # underscore (_), so it is better to generate a list of symbols to export.
9353 always_export_symbols
=yes
9354 if test "$aix_use_runtimelinking" = yes; then
9355 # Warning - without using the other runtime loading flags (-brtl),
9356 # -berok will link without error, but may produce a broken library.
9357 allow_undefined_flag
='-berok'
9358 # Determine the default libpath from the value encoded in an empty executable.
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9374 rm -f conftest.
$ac_objext conftest
$ac_exeext
9375 if { (ac_try
="$ac_link"
9377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9378 *) ac_try_echo=$ac_try;;
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_link") 2>conftest.er1
9383 grep -v '^ *+' conftest.er1 >conftest.err
9385 cat conftest.err >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } && {
9388 test -z "$ac_c_werror_flag" ||
9389 test ! -s conftest.err
9390 } && test -s conftest$ac_exeext &&
9391 $as_test_x conftest$ac_exeext; then
9393 lt_aix_libpath_sed='
9394 /Import File Strings/,/^$/ {
9400 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9401 # Check for a 64-bit object if we didn't find anything.
9402 if test -z "$aix_libpath"; then
9403 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9406 echo "$as_me: failed program was:" >&5
9407 sed 's/^/| /' conftest.$ac_ext >&5
9412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9413 conftest$ac_exeext conftest.$ac_ext
9414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9416 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9417 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"
9419 if test "$host_cpu" = ia64; then
9420 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9421 allow_undefined_flag="-z nodefs"
9422 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"
9424 # Determine the default libpath from the value encoded in an empty executable.
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9440 rm -f conftest.$ac_objext conftest$ac_exeext
9441 if { (ac_try="$ac_link"
9443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9444 *) ac_try_echo
=$ac_try;;
9446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_link") 2>conftest.er1
9449 grep -v '^ *+' conftest.er1
>conftest.err
9451 cat conftest.err
>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest
$ac_exeext &&
9457 $as_test_x conftest
$ac_exeext; then
9459 lt_aix_libpath_sed
='
9460 /Import File Strings/,/^$/ {
9466 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9467 # Check for a 64-bit object if we didn't find anything.
9468 if test -z "$aix_libpath"; then
9469 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.
$ac_ext >&5
9478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9479 conftest
$ac_exeext conftest.
$ac_ext
9480 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9482 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9483 # Warning - without using the other run time loading flags,
9484 # -berok will link without error, but may produce a broken library.
9485 no_undefined_flag
=' ${wl}-bernotok'
9486 allow_undefined_flag
=' ${wl}-berok'
9487 # Exported symbols can be pulled into shared objects from archives
9488 whole_archive_flag_spec
='$convenience'
9489 archive_cmds_need_lc
=yes
9490 # This is similar to how AIX traditionally builds its shared libraries.
9491 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'
9497 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)'
9498 hardcode_libdir_flag_spec
='-L$libdir'
9499 hardcode_minus_L
=yes
9500 # see comment about different semantics on the GNU ld section
9505 export_dynamic_flag_spec
=-rdynamic
9508 cygwin
* | mingw
* | pw32
*)
9509 # When not using gcc, we currently assume that we are using
9510 # Microsoft Visual C++.
9511 # hardcode_libdir_flag_spec is actually meaningless, as there is
9512 # no search path for DLLs.
9513 hardcode_libdir_flag_spec
=' '
9514 allow_undefined_flag
=unsupported
9515 # Tell ltmain to make .lib files, not .a files.
9517 # Tell ltmain to make .dll files, not .so files.
9519 # FIXME: Setting linknames here is a bad hack.
9520 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9521 # The linker will automatically build a .lib file if we build a DLL.
9522 old_archive_From_new_cmds
='true'
9523 # FIXME: Should let the user specify the lib program.
9524 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9525 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9526 enable_shared_with_static_runtimes
=yes
9529 darwin
* | rhapsody
*)
9531 rhapsody
* | darwin1.
[012])
9532 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9535 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9536 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9538 case ${MACOSX_DEPLOYMENT_TARGET} in
9540 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9543 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9549 archive_cmds_need_lc
=no
9551 hardcode_automatic
=yes
9552 hardcode_shlibpath_var
=unsupported
9553 whole_archive_flag_spec
=''
9554 link_all_deplibs
=yes
9555 if test "$GCC" = yes ; then
9556 output_verbose_link_cmd
='echo'
9557 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9558 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9559 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9560 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9562 case $cc_basename in
9564 output_verbose_link_cmd
='echo'
9565 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9566 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9567 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9568 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}'
9569 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}'
9579 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9580 hardcode_libdir_flag_spec
='-L$libdir'
9581 hardcode_shlibpath_var
=no
9588 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9589 # support. Future versions do this automatically, but an explicit c++rt0.o
9590 # does not break anything, and helps significantly (at the cost of a little
9593 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9594 hardcode_libdir_flag_spec
='-R$libdir'
9596 hardcode_shlibpath_var
=no
9599 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9601 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_minus_L
=yes
9604 hardcode_shlibpath_var
=no
9607 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9608 freebsd
* | dragonfly
*)
9609 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9610 hardcode_libdir_flag_spec
='-R$libdir'
9612 hardcode_shlibpath_var
=no
9616 if test "$GCC" = yes; then
9617 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'
9619 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'
9621 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9622 hardcode_libdir_separator
=:
9625 # hardcode_minus_L: Not really in the search PATH,
9626 # but as the default location of the library.
9627 hardcode_minus_L
=yes
9628 export_dynamic_flag_spec
='${wl}-E'
9632 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9633 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9637 if test "$with_gnu_ld" = no
; then
9638 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9639 hardcode_libdir_separator
=:
9642 export_dynamic_flag_spec
='${wl}-E'
9644 # hardcode_minus_L: Not really in the search PATH,
9645 # but as the default location of the library.
9646 hardcode_minus_L
=yes
9651 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9654 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9666 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9676 if test "$with_gnu_ld" = no
; then
9677 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9678 hardcode_libdir_separator
=:
9682 hardcode_libdir_flag_spec_ld
='+b $libdir'
9684 hardcode_shlibpath_var
=no
9688 export_dynamic_flag_spec
='${wl}-E'
9690 # hardcode_minus_L: Not really in the search PATH,
9691 # but as the default location of the library.
9692 hardcode_minus_L
=yes
9698 irix5
* | irix6
* | nonstopux
*)
9699 if test "$GCC" = yes; then
9700 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'
9702 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'
9703 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9705 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9706 hardcode_libdir_separator
=:
9707 link_all_deplibs
=yes
9710 netbsd
* | netbsdelf
*-gnu)
9711 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9712 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9714 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9716 hardcode_libdir_flag_spec
='-R$libdir'
9718 hardcode_shlibpath_var
=no
9722 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9725 hardcode_libdir_separator
=:
9726 hardcode_shlibpath_var
=no
9730 if test -f /usr
/libexec
/ld.so
; then
9732 hardcode_shlibpath_var
=no
9733 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9734 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9736 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9737 export_dynamic_flag_spec
='${wl}-E'
9740 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9741 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9742 hardcode_libdir_flag_spec
='-R$libdir'
9745 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9746 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9756 hardcode_libdir_flag_spec
='-L$libdir'
9757 hardcode_minus_L
=yes
9758 allow_undefined_flag
=unsupported
9759 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'
9760 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9764 if test "$GCC" = yes; then
9765 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9766 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'
9768 allow_undefined_flag
=' -expect_unresolved \*'
9769 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'
9771 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9772 hardcode_libdir_separator
=:
9775 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9776 if test "$GCC" = yes; then
9777 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9778 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'
9779 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9781 allow_undefined_flag
=' -expect_unresolved \*'
9782 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'
9783 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9784 $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'
9786 # Both c and cxx compiler support -rpath directly
9787 hardcode_libdir_flag_spec
='-rpath $libdir'
9789 hardcode_libdir_separator
=:
9793 no_undefined_flag
=' -z text'
9794 if test "$GCC" = yes; then
9796 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9798 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9801 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9802 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9803 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9805 hardcode_libdir_flag_spec
='-R$libdir'
9806 hardcode_shlibpath_var
=no
9808 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9810 # The compiler driver will combine and reorder linker options,
9811 # but understands `-z linker_flag'. GCC discards it without `$wl',
9812 # but is careful enough not to reorder.
9813 # Supported since Solaris 2.6 (maybe 2.5.1?)
9814 if test "$GCC" = yes; then
9815 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9817 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9821 link_all_deplibs
=yes
9825 if test "x$host_vendor" = xsequent
; then
9826 # Use $CC to link under sequent, because it throws in some extra .o
9827 # files that make .init and .fini sections work.
9828 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9832 hardcode_libdir_flag_spec
='-L$libdir'
9834 hardcode_minus_L
=yes
9835 hardcode_shlibpath_var
=no
9839 case $host_vendor in
9841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_direct
=yes # is this really true???
9845 ## LD is ld it makes a PLAMLIB
9846 ## CC just makes a GrossModule.
9847 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9848 reload_cmds
='$CC -r -o $output$reload_objs'
9852 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9853 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9856 runpath_var
='LD_RUN_PATH'
9857 hardcode_shlibpath_var
=no
9861 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862 hardcode_shlibpath_var
=no
9863 export_dynamic_flag_spec
='-Bexport'
9867 if test -d /usr
/nec
; then
9868 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9869 hardcode_shlibpath_var
=no
9870 runpath_var
=LD_RUN_PATH
9871 hardcode_runpath_var
=yes
9876 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9877 no_undefined_flag
='${wl}-z,text'
9878 archive_cmds_need_lc
=no
9879 hardcode_shlibpath_var
=no
9880 runpath_var
='LD_RUN_PATH'
9882 if test "$GCC" = yes; then
9883 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 sysv5
* | sco3.2v5
* | sco5v6
*)
9892 # Note: We can NOT use -z defs as we might desire, because we do not
9893 # link with -lc, and that would cause any symbols used from libc to
9894 # always be unresolved, which means just about no library would
9895 # ever link correctly. If we're not using GNU ld we use -z text
9896 # though, which does catch some bad symbols but isn't as heavy-handed
9898 no_undefined_flag
='${wl}-z,text'
9899 allow_undefined_flag
='${wl}-z,nodefs'
9900 archive_cmds_need_lc
=no
9901 hardcode_shlibpath_var
=no
9902 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9903 hardcode_libdir_separator
=':'
9904 link_all_deplibs
=yes
9905 export_dynamic_flag_spec
='${wl}-Bexport'
9906 runpath_var
='LD_RUN_PATH'
9908 if test "$GCC" = yes; then
9909 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_libdir_flag_spec
='-L$libdir'
9920 hardcode_shlibpath_var
=no
9929 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9930 echo "${ECHO_T}$ld_shlibs" >&6; }
9931 test "$ld_shlibs" = no
&& can_build_shared
=no
9934 # Do we need to explicitly link libc?
9936 case "x$archive_cmds_need_lc" in
9938 # Assume -lc should be added
9939 archive_cmds_need_lc
=yes
9941 if test "$enable_shared" = yes && test "$GCC" = yes; then
9942 case $archive_cmds in
9944 # FIXME: we may have to deal with multi-command sequences.
9947 # Test whether the compiler implicitly links with -lc since on some
9948 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9949 # to ld, don't add -lc before -lgcc.
9950 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9951 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9953 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9956 (eval $ac_compile) 2>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } 2>conftest.err
; then
9962 libobjs
=conftest.
$ac_objext
9964 wl
=$lt_prog_compiler_wl
9965 pic_flag
=$lt_prog_compiler_pic
9971 lt_save_allow_undefined_flag
=$allow_undefined_flag
9972 allow_undefined_flag
=
9973 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9974 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }
9979 archive_cmds_need_lc
=no
9981 archive_cmds_need_lc
=yes
9983 allow_undefined_flag
=$lt_save_allow_undefined_flag
9985 cat conftest.err
1>&5
9988 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9989 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9996 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9997 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9999 libname_spec
='lib$name'
10003 postuninstall_cmds
=
10007 shlibpath_overrides_runpath
=unknown
10009 dynamic_linker
="$host_os ld.so"
10010 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10012 if test "$GCC" = yes; then
10014 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10015 *) lt_awk_arg
="/^libraries:/" ;;
10017 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10018 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
10019 # if the path contains ";" then we assume it to be the separator
10020 # otherwise default to the standard path separator (i.e. ":") - it is
10021 # assumed that no part of a normal pathname contains ";" but that should
10022 # okay in the real world where ";" in dirpaths is itself problematic.
10023 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10025 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10027 # Ok, now we have the path, separated by spaces, we can step through it
10028 # and add multilib dir if necessary.
10029 lt_tmp_lt_search_path_spec
=
10030 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10031 for lt_sys_path
in $lt_search_path_spec; do
10032 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10033 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10035 test -d "$lt_sys_path" && \
10036 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10039 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10040 BEGIN {RS=" "; FS="/|\n";} {
10043 for (lt_i = NF; lt_i > 0; lt_i--) {
10044 if ($lt_i != "" && $lt_i != ".") {
10045 if ($lt_i == "..") {
10048 if (lt_count == 0) {
10049 lt_foo="/" $lt_i lt_foo;
10056 if (lt_foo != "") { lt_freq[lt_foo]++; }
10057 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10059 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10061 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10063 need_lib_prefix
=unknown
10064 hardcode_into_libs
=no
10066 # when you set need_version to no, make sure it does not cause -set_version
10067 # flags to be left without arguments
10068 need_version
=unknown
10073 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10074 shlibpath_var
=LIBPATH
10076 # AIX 3 has no versioning support, so we append a major version to the name.
10077 soname_spec
='${libname}${release}${shared_ext}$major'
10084 hardcode_into_libs
=yes
10085 if test "$host_cpu" = ia64
; then
10086 # AIX 5 supports IA64
10087 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10088 shlibpath_var
=LD_LIBRARY_PATH
10090 # With GCC up to 2.95.x, collect2 would create an import file
10091 # for dependence libraries. The import file would start with
10092 # the line `#! .'. This would cause the generated library to
10093 # depend on `.', always an invalid library. This was fixed in
10094 # development snapshots of GCC prior to 3.0.
10096 aix4 | aix4.
[01] | aix4.
[01].
*)
10097 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10099 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10102 can_build_shared
=no
10106 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10107 # soname into executable. Probably we can add versioning support to
10108 # collect2, so additional links can be useful in future.
10109 if test "$aix_use_runtimelinking" = yes; then
10110 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10111 # instead of lib<name>.a to let people know that these are not
10112 # typical AIX shared libraries.
10113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10115 # We preserve .a as extension for shared libraries through AIX4.2
10116 # and later when we are not doing run time linking.
10117 library_names_spec
='${libname}${release}.a $libname.a'
10118 soname_spec
='${libname}${release}${shared_ext}$major'
10120 shlibpath_var
=LIBPATH
10125 library_names_spec
='$libname.ixlibrary $libname.a'
10126 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10127 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'
10131 library_names_spec
='${libname}${shared_ext}'
10132 dynamic_linker
="$host_os ld.so"
10133 shlibpath_var
=LIBRARY_PATH
10139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 soname_spec
='${libname}${release}${shared_ext}$major'
10141 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10142 shlibpath_var
=LD_LIBRARY_PATH
10143 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10144 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10145 # the default ld.so.conf also contains /usr/contrib/lib and
10146 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10147 # libtool to hard-code these into programs
10150 cygwin
* | mingw
* | pw32
*)
10151 version_type
=windows
10156 case $GCC,$host_os in
10157 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10158 library_names_spec
='$libname.dll.a'
10159 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10160 postinstall_cmds
='base_file=`basename \${file}`~
10161 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10162 dldir=$destdir/`dirname \$dlpath`~
10163 test -d \$dldir || mkdir -p \$dldir~
10164 $install_prog $dir/$dlname \$dldir/$dlname~
10165 chmod a+x \$dldir/$dlname'
10166 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10167 dlpath=$dir/\$dldll~
10169 shlibpath_overrides_runpath
=yes
10173 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10174 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10175 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10178 # MinGW DLLs use traditional 'lib' prefix
10179 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10180 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10181 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10182 # It is most probably a Windows format PATH printed by
10183 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10184 # path with ; separators, and with drive letters. We can handle the
10185 # drive letters (cygwin fileutils understands them), so leave them,
10186 # especially as we might pass files found there to a mingw objdump,
10187 # which wouldn't understand a cygwinified path. Ahh.
10188 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10190 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10194 # pw32 DLLs use 'pw' prefix rather than 'lib'
10195 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10201 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10204 dynamic_linker
='Win32 ld.exe'
10205 # FIXME: first we should search . and the directory the executable is in
10209 darwin
* | rhapsody
*)
10210 dynamic_linker
="$host_os dyld"
10211 version_type
=darwin
10214 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10215 soname_spec
='${libname}${release}${major}$shared_ext'
10216 shlibpath_overrides_runpath
=yes
10217 shlibpath_var
=DYLD_LIBRARY_PATH
10218 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10220 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10221 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10229 soname_spec
='${libname}${release}${shared_ext}$major'
10230 shlibpath_var
=LD_LIBRARY_PATH
10237 freebsd
* | dragonfly
*)
10238 # DragonFly does not have aout. When/if they implement a new
10239 # versioning mechanism, adjust this.
10240 if test -x /usr
/bin
/objformat
; then
10241 objformat
=`/usr/bin/objformat`
10244 freebsd
[123]*) objformat
=aout
;;
10245 *) objformat
=elf
;;
10248 version_type
=freebsd-
$objformat
10249 case $version_type in
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10260 shlibpath_var
=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath
=yes
10265 freebsd3.
[01]* | freebsdelf3.
[01]*)
10266 shlibpath_overrides_runpath
=yes
10267 hardcode_into_libs
=yes
10269 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10270 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10271 shlibpath_overrides_runpath
=no
10272 hardcode_into_libs
=yes
10274 *) # from 4.6 on, and DragonFly
10275 shlibpath_overrides_runpath
=yes
10276 hardcode_into_libs
=yes
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LD_LIBRARY_PATH
10288 hardcode_into_libs
=yes
10291 hpux9
* | hpux10
* | hpux11
*)
10292 # Give a soname corresponding to the major version so that dld.sl refuses to
10293 # link against other versions.
10300 hardcode_into_libs
=yes
10301 dynamic_linker
="$host_os dld.so"
10302 shlibpath_var
=LD_LIBRARY_PATH
10303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec
='${libname}${release}${shared_ext}$major'
10306 if test "X$HPUX_IA64_MODE" = X32
; then
10307 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10309 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10315 hardcode_into_libs
=yes
10316 dynamic_linker
="$host_os dld.sl"
10317 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10318 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320 soname_spec
='${libname}${release}${shared_ext}$major'
10321 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10322 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10326 dynamic_linker
="$host_os dld.sl"
10327 shlibpath_var
=SHLIB_PATH
10328 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10333 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10334 postinstall_cmds
='chmod 555 $lib'
10341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10342 soname_spec
='${libname}${release}${shared_ext}$major'
10343 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10344 shlibpath_var
=LD_LIBRARY_PATH
10345 shlibpath_overrides_runpath
=no
10346 hardcode_into_libs
=yes
10349 irix5
* | irix6
* | nonstopux
*)
10351 nonstopux
*) version_type
=nonstopux
;;
10353 if test "$lt_cv_prog_gnu_ld" = yes; then
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10364 irix5
* | nonstopux
*)
10365 libsuff
= shlibsuff
=
10368 case $LD in # libtool.m4 will add one of these switches to LD
10369 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10370 libsuff
= shlibsuff
= libmagic
=32-bit;;
10371 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10372 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10373 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10374 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10375 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10379 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10380 shlibpath_overrides_runpath
=no
10381 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10382 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10383 hardcode_into_libs
=yes
10386 # No shared lib support for Linux oldld, aout, or coff.
10387 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10391 # This must be Linux ELF.
10392 linux
* | k
*bsd
*-gnu)
10396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 soname_spec
='${libname}${release}${shared_ext}$major'
10398 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10399 shlibpath_var
=LD_LIBRARY_PATH
10400 shlibpath_overrides_runpath
=no
10401 # This implies no fast_install, which is unacceptable.
10402 # Some rework will be needed to allow for fast_install
10403 # before this can be enabled.
10404 hardcode_into_libs
=yes
10406 # Append ld.so.conf contents to the search path
10407 if test -f /etc
/ld.so.conf
; then
10408 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' ' '`
10409 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10412 # We used to test for /lib/ld.so.1 and disable shared libraries on
10413 # powerpc, because MkLinux only supported shared libraries with the
10414 # GNU dynamic linker. Since this was broken with cross compilers,
10415 # most powerpc-linux boxes support dynamic linking these days and
10416 # people can always --disable-shared, the test was removed, and we
10417 # assume the GNU/Linux dynamic linker is in use.
10418 dynamic_linker
='GNU/Linux ld.so'
10425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10426 soname_spec
='${libname}${release}${shared_ext}$major'
10427 shlibpath_var
=LD_LIBRARY_PATH
10428 shlibpath_overrides_runpath
=no
10429 hardcode_into_libs
=yes
10430 dynamic_linker
='NetBSD ld.elf_so'
10437 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10439 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10440 dynamic_linker
='NetBSD (a.out) ld.so'
10442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10443 soname_spec
='${libname}${release}${shared_ext}$major'
10444 dynamic_linker
='NetBSD ld.elf_so'
10446 shlibpath_var
=LD_LIBRARY_PATH
10447 shlibpath_overrides_runpath
=yes
10448 hardcode_into_libs
=yes
10453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454 shlibpath_var
=LD_LIBRARY_PATH
10455 shlibpath_overrides_runpath
=yes
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec
='${libname}${release}${shared_ext}$major'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=yes
10470 sys_lib_dlsearch_path_spec
="/usr/lib"
10472 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10474 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10475 *) need_version
=no
;;
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10478 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10479 shlibpath_var
=LD_LIBRARY_PATH
10480 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10482 openbsd2.
[89] | openbsd2.
[89].
*)
10483 shlibpath_overrides_runpath
=no
10486 shlibpath_overrides_runpath
=yes
10490 shlibpath_overrides_runpath
=yes
10495 libname_spec
='$name'
10498 library_names_spec
='$libname${shared_ext} $libname.a'
10499 dynamic_linker
='OS/2 ld.exe'
10500 shlibpath_var
=LIBPATH
10503 osf3
* | osf4
* | osf5
*)
10507 soname_spec
='${libname}${release}${shared_ext}$major'
10508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 shlibpath_var
=LD_LIBRARY_PATH
10510 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10511 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523 soname_spec
='${libname}${release}${shared_ext}$major'
10524 shlibpath_var
=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath
=yes
10526 hardcode_into_libs
=yes
10527 # ldd complains unless libraries are executable
10528 postinstall_cmds
='chmod +x $lib'
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10534 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10535 shlibpath_var
=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath
=yes
10537 if test "$with_gnu_ld" = yes; then
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546 soname_spec
='${libname}${release}${shared_ext}$major'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 case $host_vendor in
10550 shlibpath_overrides_runpath
=no
10552 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10553 runpath_var
=LD_RUN_PATH
10561 shlibpath_overrides_runpath
=no
10562 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10568 if test -d /usr
/nec
;then
10570 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10571 soname_spec
='$libname${shared_ext}.$major'
10572 shlibpath_var
=LD_LIBRARY_PATH
10576 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10577 version_type
=freebsd-elf
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10581 soname_spec
='${libname}${release}${shared_ext}$major'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 hardcode_into_libs
=yes
10584 if test "$with_gnu_ld" = yes; then
10585 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10586 shlibpath_overrides_runpath
=no
10588 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10589 shlibpath_overrides_runpath
=yes
10592 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10596 sys_lib_dlsearch_path_spec
='/usr/lib'
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 shlibpath_var
=LD_LIBRARY_PATH
10610 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10611 echo "${ECHO_T}$dynamic_linker" >&6; }
10612 test "$dynamic_linker" = no
&& can_build_shared
=no
10614 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
10620 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10621 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
10627 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10629 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10630 if test "$GCC" = yes; then
10631 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10634 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10635 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10637 if test -n "$hardcode_libdir_flag_spec" || \
10638 test -n "$runpath_var" || \
10639 test "X$hardcode_automatic" = "Xyes" ; then
10641 # We can hardcode non-existant directories.
10642 if test "$hardcode_direct" != no
&&
10643 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10644 # have to relink, otherwise we might link with an installed library
10645 # when we should be linking with a yet-to-be-installed one
10646 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10647 test "$hardcode_minus_L" != no
; then
10648 # Linking always hardcodes the temporary library directory.
10649 hardcode_action
=relink
10651 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10652 hardcode_action
=immediate
10655 # We cannot hardcode anything, or else we can only hardcode existing
10657 hardcode_action
=unsupported
10659 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10660 echo "${ECHO_T}$hardcode_action" >&6; }
10662 if test "$hardcode_action" = relink
; then
10663 # Fast installation is not supported
10664 enable_fast_install
=no
10665 elif test "$shlibpath_overrides_runpath" = yes ||
10666 test "$enable_shared" = no
; then
10667 # Fast installation is not necessary
10668 enable_fast_install
=needless
10673 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10674 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10675 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10676 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10677 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10681 # FIXME - insert some real tests, host_os isn't really good enough
10684 if test -n "$STRIP" ; then
10685 striplib
="$STRIP -x"
10686 old_striplib
="$STRIP -S"
10687 { echo "$as_me:$LINENO: result: yes" >&5
10688 echo "${ECHO_T}yes" >&6; }
10690 { echo "$as_me:$LINENO: result: no" >&5
10691 echo "${ECHO_T}no" >&6; }
10695 { echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6; }
10701 if test "x$enable_dlopen" != xyes
; then
10702 enable_dlopen
=unknown
10703 enable_dlopen_self
=unknown
10704 enable_dlopen_self_static
=unknown
10711 lt_cv_dlopen
="load_add_on"
10713 lt_cv_dlopen_self
=yes
10717 lt_cv_dlopen
="LoadLibrary"
10722 lt_cv_dlopen
="dlopen"
10727 # if libdl is installed we need to link against it
10728 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10729 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10730 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10731 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 ac_check_lib_save_LIBS
=$LIBS
10735 cat >conftest.
$ac_ext <<_ACEOF
10738 cat confdefs.h
>>conftest.
$ac_ext
10739 cat >>conftest.
$ac_ext <<_ACEOF
10740 /* end confdefs.h. */
10742 /* Override any GCC internal prototype to avoid an error.
10743 Use char because int might match the return type of a GCC
10744 builtin and then its argument prototype would still apply. */
10757 rm -f conftest.
$ac_objext conftest
$ac_exeext
10758 if { (ac_try
="$ac_link"
10759 case "(($ac_try" in
10760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10761 *) ac_try_echo=$ac_try;;
10763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10764 (eval "$ac_link") 2>conftest.er1
10766 grep -v '^ *+' conftest.er1 >conftest.err
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } && {
10771 test -z "$ac_c_werror_flag" ||
10772 test ! -s conftest.err
10773 } && test -s conftest$ac_exeext &&
10774 $as_test_x conftest$ac_exeext; then
10775 ac_cv_lib_dl_dlopen=yes
10777 echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.$ac_ext >&5
10780 ac_cv_lib_dl_dlopen=no
10783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10784 conftest$ac_exeext conftest.$ac_ext
10785 LIBS=$ac_check_lib_save_LIBS
10787 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10788 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10789 if test $ac_cv_lib_dl_dlopen = yes; then
10790 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10793 lt_cv_dlopen="dyld"
10795 lt_cv_dlopen_self=yes
10802 { echo "$as_me:$LINENO: checking for shl_load" >&5
10803 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10804 if test "${ac_cv_func_shl_load+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 cat >conftest.$ac_ext <<_ACEOF
10810 cat confdefs.h >>conftest.$ac_ext
10811 cat >>conftest.$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10813 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10815 #define shl_load innocuous_shl_load
10817 /* System header to define __stub macros and hopefully few prototypes,
10818 which can conflict with char shl_load (); below.
10819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10820 <limits.h> exists even on freestanding compilers. */
10823 # include <limits.h>
10825 # include <assert.h>
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10837 /* The GNU C library defines this for functions which it implements
10838 to always fail with ENOSYS. Some functions are actually named
10839 something starting with __ and the normal name is an alias. */
10840 #if defined __stub_shl_load || defined __stub___shl_load
10847 return shl_load ();
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (ac_try="$ac_link"
10854 case "(($ac_try" in
10855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10856 *) ac_try_echo
=$ac_try;;
10858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10859 (eval "$ac_link") 2>conftest.er1
10861 grep -v '^ *+' conftest.er1
>conftest.err
10863 cat conftest.err
>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); } && {
10866 test -z "$ac_c_werror_flag" ||
10867 test ! -s conftest.err
10868 } && test -s conftest
$ac_exeext &&
10869 $as_test_x conftest
$ac_exeext; then
10870 ac_cv_func_shl_load
=yes
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.
$ac_ext >&5
10875 ac_cv_func_shl_load
=no
10878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10879 conftest
$ac_exeext conftest.
$ac_ext
10881 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10882 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10883 if test $ac_cv_func_shl_load = yes; then
10884 lt_cv_dlopen
="shl_load"
10886 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10887 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10888 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 ac_check_lib_save_LIBS
=$LIBS
10893 cat >conftest.
$ac_ext <<_ACEOF
10896 cat confdefs.h
>>conftest.
$ac_ext
10897 cat >>conftest.
$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10910 return shl_load ();
10915 rm -f conftest.
$ac_objext conftest
$ac_exeext
10916 if { (ac_try
="$ac_link"
10917 case "(($ac_try" in
10918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10919 *) ac_try_echo=$ac_try;;
10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10922 (eval "$ac_link") 2>conftest.er1
10924 grep -v '^ *+' conftest.er1 >conftest.err
10926 cat conftest.err >&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } && {
10929 test -z "$ac_c_werror_flag" ||
10930 test ! -s conftest.err
10931 } && test -s conftest$ac_exeext &&
10932 $as_test_x conftest$ac_exeext; then
10933 ac_cv_lib_dld_shl_load=yes
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.$ac_ext >&5
10938 ac_cv_lib_dld_shl_load=no
10941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10946 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10947 if test $ac_cv_lib_dld_shl_load = yes; then
10948 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10950 { echo "$as_me:$LINENO: checking for dlopen" >&5
10951 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10952 if test "${ac_cv_func_dlopen+set}" = set; then
10953 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 cat >conftest.$ac_ext <<_ACEOF
10958 cat confdefs.h >>conftest.$ac_ext
10959 cat >>conftest.$ac_ext <<_ACEOF
10960 /* end confdefs.h. */
10961 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10963 #define dlopen innocuous_dlopen
10965 /* System header to define __stub macros and hopefully few prototypes,
10966 which can conflict with char dlopen (); below.
10967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10968 <limits.h> exists even on freestanding compilers. */
10971 # include <limits.h>
10973 # include <assert.h>
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10985 /* The GNU C library defines this for functions which it implements
10986 to always fail with ENOSYS. Some functions are actually named
10987 something starting with __ and the normal name is an alias. */
10988 #if defined __stub_dlopen || defined __stub___dlopen
11000 rm -f conftest.$ac_objext conftest$ac_exeext
11001 if { (ac_try="$ac_link"
11002 case "(($ac_try" in
11003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11004 *) ac_try_echo
=$ac_try;;
11006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11007 (eval "$ac_link") 2>conftest.er1
11009 grep -v '^ *+' conftest.er1
>conftest.err
11011 cat conftest.err
>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); } && {
11014 test -z "$ac_c_werror_flag" ||
11015 test ! -s conftest.err
11016 } && test -s conftest
$ac_exeext &&
11017 $as_test_x conftest
$ac_exeext; then
11018 ac_cv_func_dlopen
=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.
$ac_ext >&5
11023 ac_cv_func_dlopen
=no
11026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11027 conftest
$ac_exeext conftest.
$ac_ext
11029 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11030 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11031 if test $ac_cv_func_dlopen = yes; then
11032 lt_cv_dlopen
="dlopen"
11034 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11035 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 ac_check_lib_save_LIBS
=$LIBS
11041 cat >conftest.
$ac_ext <<_ACEOF
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11063 rm -f conftest.
$ac_objext conftest
$ac_exeext
11064 if { (ac_try
="$ac_link"
11065 case "(($ac_try" in
11066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11067 *) ac_try_echo=$ac_try;;
11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11070 (eval "$ac_link") 2>conftest.er1
11072 grep -v '^ *+' conftest.er1 >conftest.err
11074 cat conftest.err >&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && {
11077 test -z "$ac_c_werror_flag" ||
11078 test ! -s conftest.err
11079 } && test -s conftest$ac_exeext &&
11080 $as_test_x conftest$ac_exeext; then
11081 ac_cv_lib_dl_dlopen=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_lib_dl_dlopen=no
11089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS=$ac_check_lib_save_LIBS
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11094 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11095 if test $ac_cv_lib_dl_dlopen = yes; then
11096 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11098 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11099 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11100 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lsvld $LIBS"
11105 cat >conftest.$ac_ext <<_ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11127 rm -f conftest.$ac_objext conftest$ac_exeext
11128 if { (ac_try="$ac_link"
11129 case "(($ac_try" in
11130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11131 *) ac_try_echo
=$ac_try;;
11133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11134 (eval "$ac_link") 2>conftest.er1
11136 grep -v '^ *+' conftest.er1
>conftest.err
11138 cat conftest.err
>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } && {
11141 test -z "$ac_c_werror_flag" ||
11142 test ! -s conftest.err
11143 } && test -s conftest
$ac_exeext &&
11144 $as_test_x conftest
$ac_exeext; then
11145 ac_cv_lib_svld_dlopen
=yes
11147 echo "$as_me: failed program was:" >&5
11148 sed 's/^/| /' conftest.
$ac_ext >&5
11150 ac_cv_lib_svld_dlopen
=no
11153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11154 conftest
$ac_exeext conftest.
$ac_ext
11155 LIBS
=$ac_check_lib_save_LIBS
11157 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11158 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11159 if test $ac_cv_lib_svld_dlopen = yes; then
11160 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11162 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11163 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11164 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 ac_check_lib_save_LIBS
=$LIBS
11169 cat >conftest.
$ac_ext <<_ACEOF
11172 cat confdefs.h
>>conftest.
$ac_ext
11173 cat >>conftest.
$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11186 return dld_link ();
11191 rm -f conftest.
$ac_objext conftest
$ac_exeext
11192 if { (ac_try
="$ac_link"
11193 case "(($ac_try" in
11194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11198 (eval "$ac_link") 2>conftest.er1
11200 grep -v '^ *+' conftest.er1 >conftest.err
11202 cat conftest.err >&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } && {
11205 test -z "$ac_c_werror_flag" ||
11206 test ! -s conftest.err
11207 } && test -s conftest$ac_exeext &&
11208 $as_test_x conftest$ac_exeext; then
11209 ac_cv_lib_dld_dld_link=yes
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11214 ac_cv_lib_dld_dld_link=no
11217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_lib_save_LIBS
11221 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11222 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11223 if test $ac_cv_lib_dld_dld_link = yes; then
11224 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11245 if test "x$lt_cv_dlopen" != xno; then
11251 case $lt_cv_dlopen in
11253 save_CPPFLAGS="$CPPFLAGS"
11254 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11256 save_LDFLAGS="$LDFLAGS"
11257 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11260 LIBS="$lt_cv_dlopen_libs $LIBS"
11262 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11263 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11264 if test "${lt_cv_dlopen_self+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 if test "$cross_compiling" = yes; then :
11268 lt_cv_dlopen_self=cross
11270 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11271 lt_status=$lt_dlunknown
11272 cat > conftest.$ac_ext <<EOF
11273 #line 11273 "configure"
11274 #include "confdefs.h"
11283 # define LT_DLGLOBAL RTLD_GLOBAL
11286 # define LT_DLGLOBAL DL_GLOBAL
11288 # define LT_DLGLOBAL 0
11292 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11293 find out it does not work in some platform. */
11294 #ifndef LT_DLLAZY_OR_NOW
11296 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11299 # define LT_DLLAZY_OR_NOW DL_LAZY
11302 # define LT_DLLAZY_OR_NOW RTLD_NOW
11305 # define LT_DLLAZY_OR_NOW DL_NOW
11307 # define LT_DLLAZY_OR_NOW 0
11315 extern "C" void exit (int);
11318 void fnord() { int i=42;}
11321 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11322 int status = $lt_dlunknown;
11326 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11327 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11328 /* dlclose (self); */
11336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11337 (eval $ac_link) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11341 (./conftest; exit; ) >&5 2>/dev/null
11343 case x$lt_status in
11344 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11345 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11346 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11349 # compilation failed
11350 lt_cv_dlopen_self=no
11357 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11358 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11360 if test "x$lt_cv_dlopen_self" = xyes; then
11361 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11362 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11363 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11364 if test "${lt_cv_dlopen_self_static+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 if test "$cross_compiling" = yes; then :
11368 lt_cv_dlopen_self_static=cross
11370 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11371 lt_status=$lt_dlunknown
11372 cat > conftest.$ac_ext <<EOF
11373 #line 11373 "configure"
11374 #include "confdefs.h"
11383 # define LT_DLGLOBAL RTLD_GLOBAL
11386 # define LT_DLGLOBAL DL_GLOBAL
11388 # define LT_DLGLOBAL 0
11392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11393 find out it does not work in some platform. */
11394 #ifndef LT_DLLAZY_OR_NOW
11396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11399 # define LT_DLLAZY_OR_NOW DL_LAZY
11402 # define LT_DLLAZY_OR_NOW RTLD_NOW
11405 # define LT_DLLAZY_OR_NOW DL_NOW
11407 # define LT_DLLAZY_OR_NOW 0
11415 extern "C" void exit (int);
11418 void fnord() { int i=42;}
11421 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11422 int status = $lt_dlunknown;
11426 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11427 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11428 /* dlclose (self); */
11436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11437 (eval $ac_link) 2>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11441 (./conftest; exit; ) >&5 2>/dev/null
11443 case x$lt_status in
11444 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11445 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11446 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11449 # compilation failed
11450 lt_cv_dlopen_self_static=no
11457 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11458 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11461 CPPFLAGS="$save_CPPFLAGS"
11462 LDFLAGS="$save_LDFLAGS"
11467 case $lt_cv_dlopen_self in
11468 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11469 *) enable_dlopen_self=unknown ;;
11472 case $lt_cv_dlopen_self_static in
11473 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11474 *) enable_dlopen_self_static=unknown ;;
11479 # Report which library types will actually be built
11480 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11481 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11482 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11483 echo "${ECHO_T}$can_build_shared" >&6; }
11485 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11486 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11487 test "$can_build_shared" = "no" && enable_shared=no
11489 # On AIX, shared libraries and static libraries use the same namespace, and
11490 # are all built from PIC.
11493 test "$enable_shared" = yes && enable_static=no
11494 if test -n "$RANLIB"; then
11495 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11496 postinstall_cmds='$RANLIB $lib'
11501 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11502 test "$enable_shared" = yes && enable_static=no
11506 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11507 echo "${ECHO_T}$enable_shared" >&6; }
11509 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11510 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11511 # Make sure either enable_shared or enable_static is yes.
11512 test "$enable_shared" = yes || enable_static=yes
11513 { echo "$as_me:$LINENO: result: $enable_static" >&5
11514 echo "${ECHO_T}$enable_static" >&6; }
11516 # The else clause should only fire when bootstrapping the
11517 # libtool distribution, otherwise you forgot to ship ltmain.sh
11518 # with your package, and you will get complaints that there are
11519 # no rules to generate ltmain.sh.
11520 if test -f "$ltmain"; then
11521 # See if we are running on zsh, and set the options which allow our commands through
11522 # without removal of \ escapes.
11523 if test -n "${ZSH_VERSION+set}" ; then
11524 setopt NO_GLOB_SUBST
11526 # Now quote all the things that may contain metacharacters while being
11527 # careful not to overquote the AC_SUBSTed values. We take copies of the
11528 # variables and quote the copies for generation of the libtool script.
11529 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11531 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11532 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11533 deplibs_check_method reload_flag reload_cmds need_locks \
11534 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11535 lt_cv_sys_global_symbol_to_c_name_address \
11536 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11537 old_postinstall_cmds old_postuninstall_cmds \
11541 lt_prog_compiler_wl \
11542 lt_prog_compiler_pic \
11543 lt_prog_compiler_static \
11544 lt_prog_compiler_no_builtin_flag \
11545 export_dynamic_flag_spec \
11546 thread_safe_flag_spec \
11547 whole_archive_flag_spec \
11548 enable_shared_with_static_runtimes \
11550 old_archive_from_new_cmds \
11555 compiler_lib_search_path \
11556 compiler_lib_search_dirs \
11558 archive_expsym_cmds \
11560 postuninstall_cmds \
11561 old_archive_from_expsyms_cmds \
11562 allow_undefined_flag \
11563 no_undefined_flag \
11564 export_symbols_cmds \
11565 hardcode_libdir_flag_spec \
11566 hardcode_libdir_flag_spec_ld \
11567 hardcode_libdir_separator \
11568 hardcode_automatic \
11570 module_expsym_cmds \
11571 lt_cv_prog_compiler_c_o \
11574 include_expsyms; do
11577 old_archive_cmds | \
11578 old_archive_from_new_cmds | \
11580 archive_expsym_cmds | \
11582 module_expsym_cmds | \
11583 old_archive_from_expsyms_cmds | \
11584 export_symbols_cmds | \
11585 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11586 postinstall_cmds | postuninstall_cmds | \
11587 old_postinstall_cmds | old_postuninstall_cmds | \
11588 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11589 # Double-quote double-evaled strings.
11590 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11593 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11599 *'\$0 --fallback-echo"')
11600 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11604 cfgfile="${ofile}T"
11605 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11607 { echo "$as_me:$LINENO: creating $ofile" >&5
11608 echo "$as_me: creating $ofile" >&6;}
11610 cat <<__EOF__ >> "$cfgfile"
11613 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11614 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11615 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11617 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11618 # Free Software Foundation, Inc.
11620 # This file is part of GNU Libtool:
11621 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11623 # This program is free software; you can redistribute it and/or modify
11624 # it under the terms of the GNU General Public License as published by
11625 # the Free Software Foundation; either version 2 of the License, or
11626 # (at your option) any later version.
11628 # This program is distributed in the hope that it will be useful, but
11629 # WITHOUT ANY WARRANTY; without even the implied warranty of
11630 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11631 # General Public License for more details.
11633 # You should have received a copy of the GNU General Public License
11634 # along with this program; if not, write to the Free Software
11635 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11637 # As a special exception to the GNU General Public License, if you
11638 # distribute this file as part of a program that contains a
11639 # configuration script generated by Autoconf, you may include it under
11640 # the same distribution terms that you use for the rest of that program.
11642 # A sed program that does not truncate output.
11645 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11646 Xsed="$SED -e 1s/^X//"
11648 # The HP-UX ksh and POSIX shell print the target directory to stdout
11649 # if CDPATH is set.
11650 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11652 # The names of the tagged configurations supported by this script.
11655 # ### BEGIN LIBTOOL CONFIG
11657 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11659 # Shell to use when invoking shell scripts.
11662 # Whether or not to build shared libraries.
11663 build_libtool_libs=$enable_shared
11665 # Whether or not to build static libraries.
11666 build_old_libs=$enable_static
11668 # Whether or not to add -lc for building shared libraries.
11669 build_libtool_need_lc=$archive_cmds_need_lc
11671 # Whether or not to disallow shared libs when runtime libs are static
11672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11674 # Whether or not to optimize for fast installation.
11675 fast_install=$enable_fast_install
11678 host_alias=$host_alias
11682 # The build system.
11683 build_alias=$build_alias
11687 # An echo program that does not interpret backslashes.
11692 AR_FLAGS=$lt_AR_FLAGS
11697 # LTCC compiler flags.
11698 LTCFLAGS=$lt_LTCFLAGS
11700 # A language-specific compiler.
11703 # Is the compiler the GNU C compiler?
11709 # The linker used to build libraries.
11712 # Whether we need hard or soft links.
11715 # A BSD-compatible nm program.
11718 # A symbol stripping program
11721 # Used to examine libraries when file_magic_cmd begins "file"
11722 MAGIC_CMD=$MAGIC_CMD
11724 # Used on cygwin: DLL creation program.
11727 # Used on cygwin: object dumper.
11730 # Used on cygwin: assembler.
11733 # The name of the directory that contains temporary libtool files.
11736 # How to create reloadable object files.
11737 reload_flag=$lt_reload_flag
11738 reload_cmds=$lt_reload_cmds
11740 # How to pass a linker flag through the compiler.
11741 wl=$lt_lt_prog_compiler_wl
11743 # Object file suffix (normally "o").
11744 objext="$ac_objext"
11746 # Old archive suffix (normally "a").
11749 # Shared library suffix (normally ".so").
11750 shrext_cmds='$shrext_cmds'
11752 # Executable file suffix (normally "").
11755 # Additional compiler flags for building library objects.
11756 pic_flag=$lt_lt_prog_compiler_pic
11759 # What is the maximum length of a command?
11760 max_cmd_len=$lt_cv_sys_max_cmd_len
11762 # Does compiler simultaneously support -c and -o options?
11763 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11765 # Must we lock files when doing compilation?
11766 need_locks=$lt_need_locks
11768 # Do we need the lib prefix for modules?
11769 need_lib_prefix=$need_lib_prefix
11771 # Do we need a version for libraries?
11772 need_version=$need_version
11774 # Whether dlopen is supported.
11775 dlopen_support=$enable_dlopen
11777 # Whether dlopen of programs is supported.
11778 dlopen_self=$enable_dlopen_self
11780 # Whether dlopen of statically linked programs is supported.
11781 dlopen_self_static=$enable_dlopen_self_static
11783 # Compiler flag to prevent dynamic linking.
11784 link_static_flag=$lt_lt_prog_compiler_static
11786 # Compiler flag to turn off builtin functions.
11787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11789 # Compiler flag to allow reflexive dlopens.
11790 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11792 # Compiler flag to generate shared objects directly from archives.
11793 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11795 # Compiler flag to generate thread-safe objects.
11796 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11798 # Library versioning type.
11799 version_type=$version_type
11801 # Format of library name prefix.
11802 libname_spec=$lt_libname_spec
11804 # List of archive names. First name is the real one, the rest are links.
11805 # The last name is the one that the linker finds with -lNAME.
11806 library_names_spec=$lt_library_names_spec
11808 # The coded name of the library, if different from the real name.
11809 soname_spec=$lt_soname_spec
11811 # Commands used to build and install an old-style archive.
11813 old_archive_cmds=$lt_old_archive_cmds
11814 old_postinstall_cmds=$lt_old_postinstall_cmds
11815 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11817 # Create an old-style archive from a shared archive.
11818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11820 # Create a temporary old-style archive to link instead of a shared archive.
11821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11823 # Commands used to build and install a shared archive.
11824 archive_cmds=$lt_archive_cmds
11825 archive_expsym_cmds=$lt_archive_expsym_cmds
11826 postinstall_cmds=$lt_postinstall_cmds
11827 postuninstall_cmds=$lt_postuninstall_cmds
11829 # Commands used to build a loadable module (assumed same as above if empty)
11830 module_cmds=$lt_module_cmds
11831 module_expsym_cmds=$lt_module_expsym_cmds
11833 # Commands to strip libraries.
11834 old_striplib=$lt_old_striplib
11835 striplib=$lt_striplib
11837 # Dependencies to place before the objects being linked to create a
11839 predep_objects=$lt_predep_objects
11841 # Dependencies to place after the objects being linked to create a
11843 postdep_objects=$lt_postdep_objects
11845 # Dependencies to place before the objects being linked to create a
11847 predeps=$lt_predeps
11849 # Dependencies to place after the objects being linked to create a
11851 postdeps=$lt_postdeps
11853 # The directories searched by this compiler when creating a shared
11855 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11857 # The library search path used internally by the compiler when linking
11858 # a shared library.
11859 compiler_lib_search_path=$lt_compiler_lib_search_path
11861 # Method to check whether dependent libraries are shared objects.
11862 deplibs_check_method=$lt_deplibs_check_method
11864 # Command to use when deplibs_check_method == file_magic.
11865 file_magic_cmd=$lt_file_magic_cmd
11867 # Flag that allows shared libraries with undefined symbols to be built.
11868 allow_undefined_flag=$lt_allow_undefined_flag
11870 # Flag that forces no undefined symbols.
11871 no_undefined_flag=$lt_no_undefined_flag
11873 # Commands used to finish a libtool library installation in a directory.
11874 finish_cmds=$lt_finish_cmds
11876 # Same as above, but a single script fragment to be evaled but not shown.
11877 finish_eval=$lt_finish_eval
11879 # Take the output of nm and produce a listing of raw symbols and C names.
11880 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11882 # Transform the output of nm in a proper C declaration
11883 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11885 # Transform the output of nm in a C name address pair
11886 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11888 # This is the shared library runtime path variable.
11889 runpath_var=$runpath_var
11891 # This is the shared library path variable.
11892 shlibpath_var=$shlibpath_var
11894 # Is shlibpath searched before the hard-coded library search path?
11895 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11897 # How to hardcode a shared library path into an executable.
11898 hardcode_action=$hardcode_action
11900 # Whether we should hardcode library paths into libraries.
11901 hardcode_into_libs=$hardcode_into_libs
11903 # Flag to hardcode \$libdir into a binary during linking.
11904 # This must work even if \$libdir does not exist.
11905 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11907 # If ld is used when linking, flag to hardcode \$libdir into
11908 # a binary during linking. This must work even if \$libdir does
11910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11912 # Whether we need a single -rpath flag with a separated argument.
11913 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11915 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11916 # resulting binary.
11917 hardcode_direct=$hardcode_direct
11919 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11920 # resulting binary.
11921 hardcode_minus_L=$hardcode_minus_L
11923 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11924 # the resulting binary.
11925 hardcode_shlibpath_var=$hardcode_shlibpath_var
11927 # Set to yes if building a shared library automatically hardcodes DIR into the library
11928 # and all subsequent libraries and executables linked against it.
11929 hardcode_automatic=$hardcode_automatic
11931 # Variables whose values should be saved in libtool wrapper scripts and
11932 # restored at relink time.
11933 variables_saved_for_relink="$variables_saved_for_relink"
11935 # Whether libtool must link a program against all its dependency libraries.
11936 link_all_deplibs=$link_all_deplibs
11938 # Compile-time system search path for libraries
11939 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11941 # Run-time system search path for libraries
11942 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11944 # Fix the shell variable \$srcfile for the compiler.
11945 fix_srcfile_path=$lt_fix_srcfile_path
11947 # Set to yes if exported symbols are required.
11948 always_export_symbols=$always_export_symbols
11950 # The commands to list exported symbols.
11951 export_symbols_cmds=$lt_export_symbols_cmds
11953 # The commands to extract the exported symbol list from a shared archive.
11954 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11956 # Symbols that should not be listed in the preloaded symbols.
11957 exclude_expsyms=$lt_exclude_expsyms
11959 # Symbols that must always be exported.
11960 include_expsyms=$lt_include_expsyms
11962 # ### END LIBTOOL CONFIG
11969 cat <<\EOF >> "$cfgfile"
11971 # AIX sometimes has problems with the GCC collect2 program. For some
11972 # reason, if we set the COLLECT_NAMES environment variable, the problems
11973 # vanish in a puff of smoke.
11974 if test "X${COLLECT_NAMES+set}" != Xset; then
11976 export COLLECT_NAMES
11982 # We use sed instead of cat because bash on DJGPP gets confused if
11983 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11984 # text mode, it properly converts lines to CR/LF. This bash problem
11985 # is reportedly fixed, but why not run on old versions too?
11986 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11988 mv -f "$cfgfile" "$ofile" || \
11989 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11993 # If there is no Makefile yet, we rely on a make rule to execute
11994 # `config.status
--recheck' to rerun these tests and create the
11995 # libtool script then.
11996 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11997 if test -f "$ltmain_in"; then
11998 test -f Makefile && make "$ltmain"
12004 ac_cpp='$CPP $CPPFLAGS'
12005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12012 # Check whether --with-tags was given.
12013 if test "${with_tags+set}" = set; then
12014 withval=$with_tags; tagnames="$withval"
12018 if test -f "$ltmain" && test -n "$tagnames"; then
12019 if test ! -f "${ofile}"; then
12020 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12021 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12024 if test -z "$LTCC"; then
12025 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12026 if test -z "$LTCC"; then
12027 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12028 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12030 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12031 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12034 if test -z "$LTCFLAGS"; then
12035 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12038 # Extract list of available tagged configurations in $ofile.
12039 # Note that this assumes the entire list is on one line.
12040 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12043 for tagname in $tagnames; do
12045 # Check whether tagname contains only valid characters
12046 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12048 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12049 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12050 { (exit 1); exit 1; }; }
12054 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12056 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12057 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12058 { (exit 1); exit 1; }; }
12061 # Update the list of available tags.
12062 if test -n "$tagname"; then
12063 echo appending configuration tag \"$tagname\" to $ofile
12067 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12068 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12069 (test "X$CXX" != "Xg++"))) ; then
12071 ac_cpp='$CXXCPP $CPPFLAGS'
12072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 export_dynamic_flag_spec_CXX=
12084 hardcode_direct_CXX=no
12085 hardcode_libdir_flag_spec_CXX=
12086 hardcode_libdir_flag_spec_ld_CXX=
12087 hardcode_libdir_separator_CXX=
12088 hardcode_minus_L_CXX=no
12089 hardcode_shlibpath_var_CXX=unsupported
12090 hardcode_automatic_CXX=no
12092 module_expsym_cmds_CXX=
12093 link_all_deplibs_CXX=unknown
12094 old_archive_cmds_CXX=$old_archive_cmds
12095 no_undefined_flag_CXX=
12096 whole_archive_flag_spec_CXX=
12097 enable_shared_with_static_runtimes_CXX=no
12099 # Dependencies to place before and after the object being linked:
12100 predep_objects_CXX=
12101 postdep_objects_CXX=
12104 compiler_lib_search_path_CXX=
12105 compiler_lib_search_dirs_CXX=
12107 # Source file extension for C++ test sources.
12110 # Object file extension for compiled C++ test sources.
12114 # Code to be used in simple compile tests
12115 lt_simple_compile_test_code="int some_variable = 0;"
12117 # Code to be used in simple link tests
12118 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12120 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12122 # If no C compiler was specified, use CC.
12125 # If no C compiler flags were specified, use CFLAGS.
12126 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12128 # Allow CC to be a program name with arguments.
12132 # save warnings/boilerplate of simple test code
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12135 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_compiler_boilerplate=`cat conftest.err
`
12139 ac_outfile=conftest.$ac_objext
12140 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12141 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12142 _lt_linker_boilerplate=`cat conftest.err
`
12146 # Allow CC to be a program name with arguments.
12151 lt_save_with_gnu_ld=$with_gnu_ld
12152 lt_save_path_LD=$lt_cv_path_LD
12153 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12154 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12156 $as_unset lt_cv_prog_gnu_ld
12158 if test -n "${lt_cv_path_LDCXX+set}"; then
12159 lt_cv_path_LD=$lt_cv_path_LDCXX
12161 $as_unset lt_cv_path_LD
12163 test -z "${LDCXX+set}" || LD=$LDCXX
12167 for cc_temp in $compiler""; do
12169 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12170 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12175 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12178 # We don't want -fno-exception wen compiling C++ code, so set the
12179 # no_builtin_flag separately
12180 if test "$GXX" = yes; then
12181 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12183 lt_prog_compiler_no_builtin_flag_CXX=
12186 if test "$GXX" = yes; then
12187 # Set up default GNU C++ configuration
12190 # Check whether --with-gnu-ld was given.
12191 if test "${with_gnu_ld+set}" = set; then
12192 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12198 if test "$GCC" = yes; then
12199 # Check if gcc -print-prog-name=ld gives a path.
12200 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12201 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12204 # gcc leaves a trailing carriage return which upsets mingw
12205 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12207 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12210 # Accept absolute paths.
12212 re_direlt='/[^/][^/]*/\.\./'
12213 # Canonicalize the pathname of ld
12214 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12215 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12216 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12218 test -z "$LD" && LD="$ac_prog"
12221 # If it fails, then pretend we aren't using GCC.
12225 # If it is relative, then search for the first ld in PATH.
12226 with_gnu_ld=unknown
12229 elif test "$with_gnu_ld" = yes; then
12230 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12231 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12233 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12234 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12236 if test "${lt_cv_path_LD+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 if test -z "$LD"; then
12240 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12241 for ac_dir in $PATH; do
12243 test -z "$ac_dir" && ac_dir=.
12244 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12245 lt_cv_path_LD="$ac_dir/$ac_prog"
12246 # Check to see if the program is GNU ld. I'd rather use --version,
12247 # but apparently some variants of GNU ld only accept -v.
12248 # Break only if it was the GNU/non-GNU ld that we prefer.
12249 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12250 *GNU* | *'with BFD'*)
12251 test "$with_gnu_ld" != no && break
12254 test "$with_gnu_ld" != yes && break
12261 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12265 LD="$lt_cv_path_LD"
12266 if test -n "$LD"; then
12267 { echo "$as_me:$LINENO: result: $LD" >&5
12268 echo "${ECHO_T}$LD" >&6; }
12270 { echo "$as_me:$LINENO: result: no" >&5
12271 echo "${ECHO_T}no" >&6; }
12273 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12274 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12275 { (exit 1); exit 1; }; }
12276 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12277 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12278 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12282 case `$LD -v 2>&1 </dev
/null
` in
12283 *GNU* | *'with BFD'*)
12284 lt_cv_prog_gnu_ld=yes
12287 lt_cv_prog_gnu_ld=no
12291 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12292 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12293 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 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'
12303 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12313 grep 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12316 whole_archive_flag_spec_CXX=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12347 # FIXME: insert proper C++ library support
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12367 aix_use_runtimelinking=yes
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_libdir_separator_CXX=':'
12388 link_all_deplibs_CXX=yes
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2
`
12395 if test -f "$collect2name" && \
12396 strings "$collect2name" | grep resolve_lib_name >/dev/null
12398 # We have reworked collect2
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12412 shared_flag='-shared'
12413 if test "$aix_use_runtimelinking" = yes; then
12414 shared_flag="$shared_flag "'${wl}-G'
12418 if test "$host_cpu" = ia64; then
12419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12420 # chokes on -Wl,-G. The following line is correct:
12423 if test "$aix_use_runtimelinking" = yes; then
12424 shared_flag='${wl}-G'
12426 shared_flag='${wl}-bM:SRE'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to export.
12433 always_export_symbols_CXX=yes
12434 if test "$aix_use_runtimelinking" = yes; then
12435 # Warning - without using the other runtime loading flags (-brtl),
12436 # -berok will link without error, but may produce a broken library.
12437 allow_undefined_flag_CXX='-berok'
12438 # Determine the default libpath from the value encoded in an empty executable.
12439 cat >conftest.$ac_ext <<_ACEOF
12442 cat confdefs.h >>conftest.$ac_ext
12443 cat >>conftest.$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12454 rm -f conftest.$ac_objext conftest$ac_exeext
12455 if { (ac_try="$ac_link"
12456 case "(($ac_try" in
12457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12458 *) ac_try_echo
=$ac_try;;
12460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12461 (eval "$ac_link") 2>conftest.er1
12463 grep -v '^ *+' conftest.er1
>conftest.err
12465 cat conftest.err
>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } && {
12468 test -z "$ac_cxx_werror_flag" ||
12469 test ! -s conftest.err
12470 } && test -s conftest
$ac_exeext &&
12471 $as_test_x conftest
$ac_exeext; then
12473 lt_aix_libpath_sed
='
12474 /Import File Strings/,/^$/ {
12480 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 # Check for a 64-bit object if we didn't find anything.
12482 if test -z "$aix_libpath"; then
12483 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.
$ac_ext >&5
12492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12493 conftest
$ac_exeext conftest.
$ac_ext
12494 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12496 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12498 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"
12500 if test "$host_cpu" = ia64
; then
12501 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12502 allow_undefined_flag_CXX
="-z nodefs"
12503 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"
12505 # Determine the default libpath from the value encoded in an empty executable.
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12521 rm -f conftest.
$ac_objext conftest
$ac_exeext
12522 if { (ac_try
="$ac_link"
12523 case "(($ac_try" in
12524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12525 *) ac_try_echo=$ac_try;;
12527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12528 (eval "$ac_link") 2>conftest.er1
12530 grep -v '^ *+' conftest.er1 >conftest.err
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } && {
12535 test -z "$ac_cxx_werror_flag" ||
12536 test ! -s conftest.err
12537 } && test -s conftest$ac_exeext &&
12538 $as_test_x conftest$ac_exeext; then
12540 lt_aix_libpath_sed='
12541 /Import File Strings/,/^$/ {
12547 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
12548 # Check for a 64-bit object if we didn't find anything.
12549 if test -z "$aix_libpath"; then
12550 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.$ac_ext >&5
12559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12560 conftest$ac_exeext conftest.$ac_ext
12561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12563 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12564 # Warning - without using the other run time loading flags,
12565 # -berok will link without error, but may produce a broken library.
12566 no_undefined_flag_CXX=' ${wl}-bernotok'
12567 allow_undefined_flag_CXX=' ${wl}-berok'
12568 # Exported symbols can be pulled into shared objects from archives
12569 whole_archive_flag_spec_CXX='$convenience'
12570 archive_cmds_need_lc_CXX=yes
12571 # This is similar to how AIX traditionally builds its shared libraries.
12572 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'
12578 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12579 allow_undefined_flag_CXX=unsupported
12580 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12581 # support --undefined. This deserves some investigation. FIXME
12582 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12589 case $cc_basename in
12591 # FIXME: insert proper C++ library support
12597 cygwin* | mingw* | pw32*)
12598 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12599 # as there is no search path for DLLs.
12600 hardcode_libdir_flag_spec_CXX='-L$libdir'
12601 allow_undefined_flag_CXX=unsupported
12602 always_export_symbols_CXX=no
12603 enable_shared_with_static_runtimes_CXX=yes
12605 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12606 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'
12607 # If the export-symbols file already is a .def file (1st line
12608 # is EXPORTS), use it as is; otherwise, prepend...
12609 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12610 cp $export_symbols $output_objdir/$soname.def;
12612 echo EXPORTS > $output_objdir/$soname.def;
12613 cat $export_symbols >> $output_objdir/$soname.def;
12615 $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'
12620 darwin* | rhapsody*)
12621 archive_cmds_need_lc_CXX=no
12622 hardcode_direct_CXX=no
12623 hardcode_automatic_CXX=yes
12624 hardcode_shlibpath_var_CXX=unsupported
12625 whole_archive_flag_spec_CXX=''
12626 link_all_deplibs_CXX=yes
12627 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12628 if test "$GXX" = yes ; then
12629 output_verbose_link_cmd='echo'
12630 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12631 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12632 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12633 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12634 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12635 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${_lt_dsymutil}"
12636 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
12639 case $cc_basename in
12641 output_verbose_link_cmd='echo'
12642 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'
12643 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12644 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12645 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}'
12646 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}'
12656 case $cc_basename in
12658 # FIXME: insert proper C++ library support
12662 # Green Hills C++ Compiler
12663 # FIXME: insert proper C++ library support
12667 # FIXME: insert proper C++ library support
12673 # C++ shared libraries reported to be fairly broken before switch to ELF
12677 archive_cmds_need_lc_CXX=no
12679 freebsd* | dragonfly*)
12680 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12687 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12688 hardcode_libdir_separator_CXX=:
12689 export_dynamic_flag_spec_CXX='${wl}-E'
12690 hardcode_direct_CXX=yes
12691 hardcode_minus_L_CXX=yes # Not in the search PATH,
12692 # but as the default
12693 # location of the library.
12695 case $cc_basename in
12697 # FIXME: insert proper C++ library support
12701 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'
12702 # Commands to make compiler produce verbose output that lists
12703 # what "hidden" libraries, object files and flags are used when
12704 # linking a shared library.
12706 # There doesn't appear to be a way to prevent this compiler from
12707 # explicitly linking system object files so we need to strip them
12708 # from the output so that they don't get included in the library
12710 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'
12713 if test "$GXX" = yes; then
12714 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'
12716 # FIXME: insert proper C++ library support
12723 if test $with_gnu_ld = no; then
12724 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12725 hardcode_libdir_separator_CXX=:
12730 export_dynamic_flag_spec_CXX='${wl}-E'
12736 hardcode_direct_CXX=no
12737 hardcode_shlibpath_var_CXX=no
12740 hardcode_direct_CXX=yes
12741 hardcode_minus_L_CXX=yes # Not in the search PATH,
12742 # but as the default
12743 # location of the library.
12747 case $cc_basename in
12749 # FIXME: insert proper C++ library support
12755 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12758 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12761 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 # Commands to make compiler produce verbose output that lists
12765 # what "hidden" libraries, object files and flags are used when
12766 # linking a shared library.
12768 # There doesn't appear to be a way to prevent this compiler from
12769 # explicitly linking system object files so we need to strip them
12770 # from the output so that they don't get included in the library
12772 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'
12775 if test "$GXX" = yes; then
12776 if test $with_gnu_ld = no; then
12779 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12782 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12785 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'
12790 # FIXME: insert proper C++ library support
12797 hardcode_direct_CXX=no
12798 hardcode_shlibpath_var_CXX=no
12799 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12800 export_dynamic_flag_spec_CXX='${wl}-E'
12801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12802 # Instead, shared libraries are loaded at an image base (0x10000000 by
12803 # default) and relocated if they conflict, which is a slow very memory
12804 # consuming and fragmenting process. To avoid this, we pick a random,
12805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12807 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'
12808 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'
12811 case $cc_basename in
12814 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'
12816 # Archives containing C++ object files must be created using
12817 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12818 # necessary to make sure instantiated templates are included
12820 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12823 if test "$GXX" = yes; then
12824 if test "$with_gnu_ld" = no; then
12825 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'
12827 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'
12830 link_all_deplibs_CXX=yes
12833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12834 hardcode_libdir_separator_CXX=:
12836 linux* | k*bsd*-gnu)
12837 case $cc_basename in
12839 # Kuck and Associates, Inc. (KAI) C++ Compiler
12841 # KCC will only create a shared library if the output file
12842 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12843 # to its proper name (with version) after linking.
12844 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'
12845 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'
12846 # Commands to make compiler produce verbose output that lists
12847 # what "hidden" libraries, object files and flags are used when
12848 # linking a shared library.
12850 # There doesn't appear to be a way to prevent this compiler from
12851 # explicitly linking system object files so we need to strip them
12852 # from the output so that they don't get included in the library
12854 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'
12856 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12857 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12859 # Archives containing C++ object files must be created using
12860 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12861 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12866 # version 8.0 and above of icpc choke on multiply defined symbols
12867 # if we add $predep_objects and $postdep_objects, however 7.1 and
12868 # earlier do not add the objects themselves.
12869 case `$CC -V 2>&1` in
12871 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 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'
12874 *) # Version 8.0 or newer
12877 ia64
*) tmp_idyn
=' -i_dynamic';;
12879 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12880 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'
12883 archive_cmds_need_lc_CXX
=no
12884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12885 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12886 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12889 # Portland Group C++ compiler
12890 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12893 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12894 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12895 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'
12899 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12900 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'
12902 runpath_var
=LD_RUN_PATH
12903 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12904 hardcode_libdir_separator_CXX
=:
12906 # Commands to make compiler produce verbose output that lists
12907 # what "hidden" libraries, object files and flags are used when
12908 # linking a shared library.
12910 # There doesn't appear to be a way to prevent this compiler from
12911 # explicitly linking system object files so we need to strip them
12912 # from the output so that they don't get included in the library
12914 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'
12917 case `$CC -V 2>&1 | sed 5q` in
12920 no_undefined_flag_CXX
=' -zdefs'
12921 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12922 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'
12923 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12924 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'
12926 # Not sure whether something based on
12927 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12929 output_verbose_link_cmd
='echo'
12931 # Archives containing C++ object files must be created using
12932 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12933 # necessary to make sure instantiated templates are included
12935 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12942 # FIXME: insert proper C++ library support
12946 # FIXME: insert proper C++ library support
12950 case $cc_basename in
12952 # FIXME: insert proper C++ library support
12956 # FIXME: insert proper C++ library support
12961 netbsd
* | netbsdelf
*-gnu)
12962 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12963 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12965 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12966 hardcode_direct_CXX
=yes
12967 hardcode_shlibpath_var_CXX
=no
12969 # Workaround some broken pre-1.5 toolchains
12970 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12973 # C++ shared libraries are fairly broken
12977 if test -f /usr
/libexec
/ld.so
; then
12978 hardcode_direct_CXX
=yes
12979 hardcode_shlibpath_var_CXX
=no
12980 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12981 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12982 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12983 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12984 export_dynamic_flag_spec_CXX
='${wl}-E'
12985 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12987 output_verbose_link_cmd
='echo'
12993 case $cc_basename in
12995 # Kuck and Associates, Inc. (KAI) C++ Compiler
12997 # KCC will only create a shared library if the output file
12998 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12999 # to its proper name (with version) after linking.
13000 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'
13002 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13003 hardcode_libdir_separator_CXX
=:
13005 # Archives containing C++ object files must be created using
13006 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13007 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13011 # Rational C++ 2.4.1
13012 # FIXME: insert proper C++ library support
13016 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13017 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'
13019 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13020 hardcode_libdir_separator_CXX
=:
13022 # Commands to make compiler produce verbose output that lists
13023 # what "hidden" libraries, object files and flags are used when
13024 # linking a shared library.
13026 # There doesn't appear to be a way to prevent this compiler from
13027 # explicitly linking system object files so we need to strip them
13028 # from the output so that they don't get included in the library
13030 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'
13033 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13034 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13035 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'
13037 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13038 hardcode_libdir_separator_CXX
=:
13040 # Commands to make compiler produce verbose output that lists
13041 # what "hidden" libraries, object files and flags are used when
13042 # linking a shared library.
13043 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13046 # FIXME: insert proper C++ library support
13053 case $cc_basename in
13055 # Kuck and Associates, Inc. (KAI) C++ Compiler
13057 # KCC will only create a shared library if the output file
13058 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13059 # to its proper name (with version) after linking.
13060 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'
13062 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13063 hardcode_libdir_separator_CXX
=:
13065 # Archives containing C++ object files must be created using
13066 # the KAI C++ compiler.
13067 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13070 # Rational C++ 2.4.1
13071 # FIXME: insert proper C++ library support
13075 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13076 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'
13077 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13078 echo "-hidden">> $lib.exp~
13079 $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~
13082 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13083 hardcode_libdir_separator_CXX
=:
13085 # Commands to make compiler produce verbose output that lists
13086 # what "hidden" libraries, object files and flags are used when
13087 # linking a shared library.
13089 # There doesn't appear to be a way to prevent this compiler from
13090 # explicitly linking system object files so we need to strip them
13091 # from the output so that they don't get included in the library
13093 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'
13096 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13097 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13098 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'
13100 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13101 hardcode_libdir_separator_CXX
=:
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13109 # FIXME: insert proper C++ library support
13116 # FIXME: insert proper C++ library support
13120 case $cc_basename in
13123 # FIXME: insert proper C++ library support
13128 # FIXME: insert proper C++ library support
13132 # FIXME: insert proper C++ library support
13138 case $cc_basename in
13140 # Sun C++ 4.2, 5.x and Centerline C++
13141 archive_cmds_need_lc_CXX
=yes
13142 no_undefined_flag_CXX
=' -zdefs'
13143 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13144 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13145 $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'
13147 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13148 hardcode_shlibpath_var_CXX
=no
13150 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13152 # The compiler driver will combine and reorder linker options,
13153 # but understands `-z linker_flag'.
13154 # Supported since Solaris 2.6 (maybe 2.5.1?)
13155 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13158 link_all_deplibs_CXX
=yes
13160 output_verbose_link_cmd
='echo'
13162 # Archives containing C++ object files must be created using
13163 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13164 # necessary to make sure instantiated templates are included
13166 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13169 # Green Hills C++ Compiler
13170 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 # The C++ compiler must be used to create the archive.
13173 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 # GNU C++ compiler with Solaris linker
13177 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13178 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13179 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13180 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13182 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13189 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13191 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13192 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13193 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13195 # Commands to make compiler produce verbose output that lists
13196 # what "hidden" libraries, object files and flags are used when
13197 # linking a shared library.
13198 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13201 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13203 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13205 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13212 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13213 no_undefined_flag_CXX
='${wl}-z,text'
13214 archive_cmds_need_lc_CXX
=no
13215 hardcode_shlibpath_var_CXX
=no
13216 runpath_var
='LD_RUN_PATH'
13218 case $cc_basename in
13220 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13221 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 sysv5
* | sco3.2v5
* | sco5v6
*)
13230 # Note: We can NOT use -z defs as we might desire, because we do not
13231 # link with -lc, and that would cause any symbols used from libc to
13232 # always be unresolved, which means just about no library would
13233 # ever link correctly. If we're not using GNU ld we use -z text
13234 # though, which does catch some bad symbols but isn't as heavy-handed
13236 # For security reasons, it is highly recommended that you always
13237 # use absolute paths for naming shared libraries, and exclude the
13238 # DT_RUNPATH tag from executables and libraries. But doing so
13239 # requires that you compile everything twice, which is a pain.
13240 # So that behaviour is only enabled if SCOABSPATH is set to a
13241 # non-empty value in the environment. Most likely only useful for
13242 # creating official distributions of packages.
13243 # This is a hack until libtool officially supports absolute path
13244 # names for shared libraries.
13245 no_undefined_flag_CXX
='${wl}-z,text'
13246 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13247 archive_cmds_need_lc_CXX
=no
13248 hardcode_shlibpath_var_CXX
=no
13249 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13250 hardcode_libdir_separator_CXX
=':'
13251 link_all_deplibs_CXX
=yes
13252 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13253 runpath_var
='LD_RUN_PATH'
13255 case $cc_basename in
13257 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13258 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13267 case $cc_basename in
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13274 # FIXME: insert proper C++ library support
13280 # FIXME: insert proper C++ library support
13284 # FIXME: insert proper C++ library support
13288 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13289 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13290 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13295 cat > conftest.
$ac_ext <<EOF
13299 Foo (void) { a = 0; }
13305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; then
13310 # Parse the compiler output and extract the necessary
13311 # objects, libraries and library flags.
13313 # Sentinel used to keep track of whether or not we are before
13314 # the conftest object file.
13315 pre_test_object_deps_done
=no
13317 # The `*' in the case matches for architectures that use `case' in
13318 # $output_verbose_cmd can trigger glob expansion during the loop
13319 # eval without this substitution.
13320 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13322 for p
in `eval $output_verbose_link_cmd`; do
13326 # Some compilers place space between "-{L,R}" and the path.
13327 # Remove the space.
13328 if test $p = "-L" \
13329 ||
test $p = "-R"; then
13336 if test "$pre_test_object_deps_done" = no
; then
13339 # Internal compiler library paths should come after those
13340 # provided the user. The postdeps already come after the
13341 # user supplied libs so there is no need to process them.
13342 if test -z "$compiler_lib_search_path_CXX"; then
13343 compiler_lib_search_path_CXX
="${prev}${p}"
13345 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13348 # The "-l" case would never come before the object being
13349 # linked, so don't bother handling this case.
13352 if test -z "$postdeps_CXX"; then
13353 postdeps_CXX
="${prev}${p}"
13355 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13361 # This assumes that the test object file only shows up
13362 # once in the compiler output.
13363 if test "$p" = "conftest.$objext"; then
13364 pre_test_object_deps_done
=yes
13368 if test "$pre_test_object_deps_done" = no
; then
13369 if test -z "$predep_objects_CXX"; then
13370 predep_objects_CXX
="$p"
13372 predep_objects_CXX
="$predep_objects_CXX $p"
13375 if test -z "$postdep_objects_CXX"; then
13376 postdep_objects_CXX
="$p"
13378 postdep_objects_CXX
="$postdep_objects_CXX $p"
13383 *) ;; # Ignore the rest.
13391 echo "libtool.m4: error: problem compiling CXX test program"
13394 $rm -f confest.
$objext
13396 compiler_lib_search_dirs_CXX
=
13397 if test -n "$compiler_lib_search_path_CXX"; then
13398 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13401 # PORTME: override above test on systems where it is broken
13404 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13405 # hack all around it, let's just trust "g++" to DTRT.
13406 predep_objects_CXX
=
13407 postdep_objects_CXX
=
13412 case `$CC -V 2>&1 | sed 5q` in
13416 # The more standards-conforming stlport4 library is
13417 # incompatible with the Cstd library. Avoid specifying
13418 # it if it's in CXXFLAGS. Ignore libCrun as
13419 # -library=stlport4 depends on it.
13420 case " $CXX $CXXFLAGS " in
13421 *" -library=stlport4 "*)
13422 solaris_use_stlport4
=yes
13425 if test "$solaris_use_stlport4" != yes; then
13426 postdeps_CXX
='-library=Cstd -library=Crun'
13433 case $cc_basename in
13435 # The more standards-conforming stlport4 library is
13436 # incompatible with the Cstd library. Avoid specifying
13437 # it if it's in CXXFLAGS. Ignore libCrun as
13438 # -library=stlport4 depends on it.
13439 case " $CXX $CXXFLAGS " in
13440 *" -library=stlport4 "*)
13441 solaris_use_stlport4
=yes
13445 # Adding this requires a known-good setup of shared libraries for
13446 # Sun compiler versions before 5.6, else PIC objects from an old
13447 # archive will be linked into the output, leading to subtle bugs.
13448 if test "$solaris_use_stlport4" != yes; then
13449 postdeps_CXX
='-library=Cstd -library=Crun'
13456 case " $postdeps_CXX " in
13457 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13460 lt_prog_compiler_wl_CXX
=
13461 lt_prog_compiler_pic_CXX
=
13462 lt_prog_compiler_static_CXX
=
13464 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13465 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13467 # C++ specific cases for pic, static, wl, etc.
13468 if test "$GXX" = yes; then
13469 lt_prog_compiler_wl_CXX
='-Wl,'
13470 lt_prog_compiler_static_CXX
='-static'
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64
; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX
='-Bstatic'
13481 # FIXME: we need at least 68020 code to build shared libraries, but
13482 # adding the `-m68020' flag to GCC prevents building anything better,
13484 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13486 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13487 # PIC is the default for these OSes.
13489 mingw
* | cygwin
* | os2
* | pw32
*)
13490 # This hack is so that the source file can tell whether it is being
13491 # built for inclusion in a dll (and should export symbols for example).
13492 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13493 # (--disable-auto-import) libraries
13494 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13496 darwin
* | rhapsody
*)
13497 # PIC is the default on this platform
13498 # Common symbols not allowed in MH_DYLIB files
13499 lt_prog_compiler_pic_CXX
='-fno-common'
13502 # DJGPP does not support shared libraries at all
13503 lt_prog_compiler_pic_CXX
=
13506 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13507 # Instead, we relocate shared libraries at runtime.
13510 if test -d /usr
/nec
; then
13511 lt_prog_compiler_pic_CXX
=-Kconform_pic
13515 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13516 # not for PA HP-UX.
13521 lt_prog_compiler_pic_CXX
='-fPIC'
13526 lt_prog_compiler_pic_CXX
='-fPIC'
13532 # All AIX code is PIC.
13533 if test "$host_cpu" = ia64
; then
13534 # AIX 5 now supports IA64 processor
13535 lt_prog_compiler_static_CXX
='-Bstatic'
13537 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13541 case $cc_basename in
13543 # Green Hills C++ Compiler
13544 # _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"
13549 # PIC is the default on this platform
13550 # Common symbols not allowed in MH_DYLIB files
13551 case $cc_basename in
13553 lt_prog_compiler_pic_CXX
='-qnocommon'
13554 lt_prog_compiler_wl_CXX
='-Wl,'
13559 case $cc_basename in
13561 lt_prog_compiler_pic_CXX
='-KPIC'
13564 # Green Hills C++ Compiler
13565 lt_prog_compiler_pic_CXX
='-pic'
13571 freebsd
* | dragonfly
*)
13572 # FreeBSD uses GNU C++
13574 hpux9
* | hpux10
* | hpux11
*)
13575 case $cc_basename in
13577 lt_prog_compiler_wl_CXX
='-Wl,'
13578 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13579 if test "$host_cpu" != ia64
; then
13580 lt_prog_compiler_pic_CXX
='+Z'
13584 lt_prog_compiler_wl_CXX
='-Wl,'
13585 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13591 lt_prog_compiler_pic_CXX
='+Z'
13600 # This is c89, which is MS Visual C++ (no shared libs)
13601 # Anyone wants to do a port?
13603 irix5
* | irix6
* | nonstopux
*)
13604 case $cc_basename in
13606 lt_prog_compiler_wl_CXX
='-Wl,'
13607 lt_prog_compiler_static_CXX
='-non_shared'
13608 # CC pic flag -KPIC is the default.
13614 linux
* | k
*bsd
*-gnu)
13615 case $cc_basename in
13618 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13619 lt_prog_compiler_pic_CXX
='-fPIC'
13623 lt_prog_compiler_wl_CXX
='-Wl,'
13624 lt_prog_compiler_pic_CXX
='-KPIC'
13625 lt_prog_compiler_static_CXX
='-static'
13628 # Portland Group C++ compiler.
13629 lt_prog_compiler_wl_CXX
='-Wl,'
13630 lt_prog_compiler_pic_CXX
='-fpic'
13631 lt_prog_compiler_static_CXX
='-Bstatic'
13635 # Make sure the PIC flag is empty. It appears that all Alpha
13636 # Linux and Compaq Tru64 Unix objects are PIC.
13637 lt_prog_compiler_pic_CXX
=
13638 lt_prog_compiler_static_CXX
='-non_shared'
13641 case `$CC -V 2>&1 | sed 5q` in
13644 lt_prog_compiler_pic_CXX
='-KPIC'
13645 lt_prog_compiler_static_CXX
='-Bstatic'
13646 lt_prog_compiler_wl_CXX
='-Qoption ld '
13657 case $cc_basename in
13659 lt_prog_compiler_pic_CXX
='-W c,exportall'
13665 netbsd
* | netbsdelf
*-gnu)
13667 osf3
* | osf4
* | osf5
*)
13668 case $cc_basename in
13670 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13673 # Rational C++ 2.4.1
13674 lt_prog_compiler_pic_CXX
='-pic'
13677 # Digital/Compaq C++
13678 lt_prog_compiler_wl_CXX
='-Wl,'
13679 # Make sure the PIC flag is empty. It appears that all Alpha
13680 # Linux and Compaq Tru64 Unix objects are PIC.
13681 lt_prog_compiler_pic_CXX
=
13682 lt_prog_compiler_static_CXX
='-non_shared'
13691 case $cc_basename in
13693 # Sun C++ 4.2, 5.x and Centerline C++
13694 lt_prog_compiler_pic_CXX
='-KPIC'
13695 lt_prog_compiler_static_CXX
='-Bstatic'
13696 lt_prog_compiler_wl_CXX
='-Qoption ld '
13699 # Green Hills C++ Compiler
13700 lt_prog_compiler_pic_CXX
='-PIC'
13707 case $cc_basename in
13710 lt_prog_compiler_pic_CXX
='-pic'
13711 lt_prog_compiler_static_CXX
='-Bstatic'
13715 lt_prog_compiler_pic_CXX
='-pic'
13722 case $cc_basename in
13724 # NonStop-UX NCC 3.20
13725 lt_prog_compiler_pic_CXX
='-KPIC'
13731 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13732 case $cc_basename in
13734 lt_prog_compiler_wl_CXX
='-Wl,'
13735 lt_prog_compiler_pic_CXX
='-KPIC'
13736 lt_prog_compiler_static_CXX
='-Bstatic'
13743 lt_prog_compiler_can_build_shared_CXX
=no
13748 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13749 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13756 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13757 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13758 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13759 echo $ECHO_N "(cached) $ECHO_C" >&6
13761 lt_cv_prog_compiler_pic_works_CXX
=no
13762 ac_outfile
=conftest.
$ac_objext
13763 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13764 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13765 # Insert the option either (1) after the last *FLAGS variable, or
13766 # (2) before a word containing "conftest.", or (3) at the end.
13767 # Note that $ac_compile itself does not contain backslashes and begins
13768 # with a dollar sign (not a hyphen), so the echo should work correctly.
13769 # The option is referenced via a variable to avoid confusing sed.
13770 lt_compile
=`echo "$ac_compile" | $SED \
13771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13773 -e 's:$: $lt_compiler_flag:'`
13774 (eval echo "\"\$as_me:13774: $lt_compile\"" >&5)
13775 (eval "$lt_compile" 2>conftest.err
)
13777 cat conftest.err
>&5
13778 echo "$as_me:13778: \$? = $ac_status" >&5
13779 if (exit $ac_status) && test -s "$ac_outfile"; then
13780 # The compiler can only warn and ignore the option if not recognized
13781 # So say no if there are warnings other than the usual output.
13782 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13783 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13784 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13785 lt_cv_prog_compiler_pic_works_CXX
=yes
13791 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13792 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13794 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13795 case $lt_prog_compiler_pic_CXX in
13797 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13800 lt_prog_compiler_pic_CXX
=
13801 lt_prog_compiler_can_build_shared_CXX
=no
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13808 lt_prog_compiler_pic_CXX
=
13811 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13816 # Check to make sure the static flag actually works.
13818 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13819 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13820 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13821 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13822 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 lt_cv_prog_compiler_static_works_CXX
=no
13825 save_LDFLAGS
="$LDFLAGS"
13826 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13827 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13828 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13829 # The linker can only warn and ignore the option if not recognized
13830 # So say no if there are warnings
13831 if test -s conftest.err
; then
13832 # Append any errors to the config.log.
13833 cat conftest.err
1>&5
13834 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13835 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13836 if diff conftest.exp conftest.er2
>/dev
/null
; then
13837 lt_cv_prog_compiler_static_works_CXX
=yes
13840 lt_cv_prog_compiler_static_works_CXX
=yes
13844 LDFLAGS
="$save_LDFLAGS"
13847 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13848 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13850 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13853 lt_prog_compiler_static_CXX
=
13857 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13858 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13859 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 lt_cv_prog_compiler_c_o_CXX
=no
13863 $rm -r conftest
2>/dev
/null
13867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13869 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13870 # Insert the option either (1) after the last *FLAGS variable, or
13871 # (2) before a word containing "conftest.", or (3) at the end.
13872 # Note that $ac_compile itself does not contain backslashes and begins
13873 # with a dollar sign (not a hyphen), so the echo should work correctly.
13874 lt_compile
=`echo "$ac_compile" | $SED \
13875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13877 -e 's:$: $lt_compiler_flag:'`
13878 (eval echo "\"\$as_me:13878: $lt_compile\"" >&5)
13879 (eval "$lt_compile" 2>out
/conftest.err
)
13881 cat out
/conftest.err
>&5
13882 echo "$as_me:13882: \$? = $ac_status" >&5
13883 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13885 # The compiler can only warn and ignore the option if not recognized
13886 # So say no if there are warnings
13887 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13888 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13889 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13890 lt_cv_prog_compiler_c_o_CXX
=yes
13895 # SGI C++ compiler will create directory out/ii_files/ for
13896 # template instantiation
13897 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13898 $rm out
/* && rmdir out
13904 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13905 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13908 hard_links
="nottested"
13909 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13910 # do not overwrite the value of need_locks provided by the user
13911 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13912 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13915 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13917 ln conftest.a conftest.b
2>&5 || hard_links
=no
13918 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13919 { echo "$as_me:$LINENO: result: $hard_links" >&5
13920 echo "${ECHO_T}$hard_links" >&6; }
13921 if test "$hard_links" = no
; then
13922 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13923 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13930 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13931 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13933 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13936 # If we're using GNU nm, then we don't want the "-C" option.
13937 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13938 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13939 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'
13941 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'
13945 export_symbols_cmds_CXX
="$ltdll_cmds"
13948 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'
13950 linux
* | k
*bsd
*-gnu)
13951 link_all_deplibs_CXX
=no
13954 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13957 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13959 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13960 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13961 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13964 # Do we need to explicitly link libc?
13966 case "x$archive_cmds_need_lc_CXX" in
13968 # Assume -lc should be added
13969 archive_cmds_need_lc_CXX
=yes
13971 if test "$enable_shared" = yes && test "$GCC" = yes; then
13972 case $archive_cmds_CXX in
13974 # FIXME: we may have to deal with multi-command sequences.
13977 # Test whether the compiler implicitly links with -lc since on some
13978 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13979 # to ld, don't add -lc before -lgcc.
13980 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13981 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } 2>conftest.err
; then
13992 libobjs
=conftest.
$ac_objext
13994 wl
=$lt_prog_compiler_wl_CXX
13995 pic_flag
=$lt_prog_compiler_pic_CXX
14001 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14002 allow_undefined_flag_CXX
=
14003 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14004 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }
14009 archive_cmds_need_lc_CXX
=no
14011 archive_cmds_need_lc_CXX
=yes
14013 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14015 cat conftest.err
1>&5
14018 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14019 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14026 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14027 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14028 library_names_spec
=
14029 libname_spec
='lib$name'
14033 postuninstall_cmds
=
14037 shlibpath_overrides_runpath
=unknown
14039 dynamic_linker
="$host_os ld.so"
14040 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14042 need_lib_prefix
=unknown
14043 hardcode_into_libs
=no
14045 # when you set need_version to no, make sure it does not cause -set_version
14046 # flags to be left without arguments
14047 need_version
=unknown
14052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14053 shlibpath_var
=LIBPATH
14055 # AIX 3 has no versioning support, so we append a major version to the name.
14056 soname_spec
='${libname}${release}${shared_ext}$major'
14063 hardcode_into_libs
=yes
14064 if test "$host_cpu" = ia64
; then
14065 # AIX 5 supports IA64
14066 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14067 shlibpath_var
=LD_LIBRARY_PATH
14069 # With GCC up to 2.95.x, collect2 would create an import file
14070 # for dependence libraries. The import file would start with
14071 # the line `#! .'. This would cause the generated library to
14072 # depend on `.', always an invalid library. This was fixed in
14073 # development snapshots of GCC prior to 3.0.
14075 aix4 | aix4.
[01] | aix4.
[01].
*)
14076 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14078 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14081 can_build_shared
=no
14085 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14086 # soname into executable. Probably we can add versioning support to
14087 # collect2, so additional links can be useful in future.
14088 if test "$aix_use_runtimelinking" = yes; then
14089 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14090 # instead of lib<name>.a to let people know that these are not
14091 # typical AIX shared libraries.
14092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14094 # We preserve .a as extension for shared libraries through AIX4.2
14095 # and later when we are not doing run time linking.
14096 library_names_spec
='${libname}${release}.a $libname.a'
14097 soname_spec
='${libname}${release}${shared_ext}$major'
14099 shlibpath_var
=LIBPATH
14104 library_names_spec
='$libname.ixlibrary $libname.a'
14105 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14106 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'
14110 library_names_spec
='${libname}${shared_ext}'
14111 dynamic_linker
="$host_os ld.so"
14112 shlibpath_var
=LIBRARY_PATH
14118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14119 soname_spec
='${libname}${release}${shared_ext}$major'
14120 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14121 shlibpath_var
=LD_LIBRARY_PATH
14122 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14123 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14124 # the default ld.so.conf also contains /usr/contrib/lib and
14125 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14126 # libtool to hard-code these into programs
14129 cygwin
* | mingw
* | pw32
*)
14130 version_type
=windows
14135 case $GCC,$host_os in
14136 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14137 library_names_spec
='$libname.dll.a'
14138 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14139 postinstall_cmds
='base_file=`basename \${file}`~
14140 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14141 dldir=$destdir/`dirname \$dlpath`~
14142 test -d \$dldir || mkdir -p \$dldir~
14143 $install_prog $dir/$dlname \$dldir/$dlname~
14144 chmod a+x \$dldir/$dlname'
14145 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14146 dlpath=$dir/\$dldll~
14148 shlibpath_overrides_runpath
=yes
14152 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14153 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14154 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14157 # MinGW DLLs use traditional 'lib' prefix
14158 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14159 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14160 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14161 # It is most probably a Windows format PATH printed by
14162 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14163 # path with ; separators, and with drive letters. We can handle the
14164 # drive letters (cygwin fileutils understands them), so leave them,
14165 # especially as we might pass files found there to a mingw objdump,
14166 # which wouldn't understand a cygwinified path. Ahh.
14167 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14169 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14173 # pw32 DLLs use 'pw' prefix rather than 'lib'
14174 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14180 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14183 dynamic_linker
='Win32 ld.exe'
14184 # FIXME: first we should search . and the directory the executable is in
14188 darwin
* | rhapsody
*)
14189 dynamic_linker
="$host_os dyld"
14190 version_type
=darwin
14193 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14194 soname_spec
='${libname}${release}${major}$shared_ext'
14195 shlibpath_overrides_runpath
=yes
14196 shlibpath_var
=DYLD_LIBRARY_PATH
14197 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14199 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14207 soname_spec
='${libname}${release}${shared_ext}$major'
14208 shlibpath_var
=LD_LIBRARY_PATH
14215 freebsd
* | dragonfly
*)
14216 # DragonFly does not have aout. When/if they implement a new
14217 # versioning mechanism, adjust this.
14218 if test -x /usr
/bin
/objformat
; then
14219 objformat
=`/usr/bin/objformat`
14222 freebsd
[123]*) objformat
=aout
;;
14223 *) objformat
=elf
;;
14226 version_type
=freebsd-
$objformat
14227 case $version_type in
14229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14234 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14238 shlibpath_var
=LD_LIBRARY_PATH
14241 shlibpath_overrides_runpath
=yes
14243 freebsd3.
[01]* | freebsdelf3.
[01]*)
14244 shlibpath_overrides_runpath
=yes
14245 hardcode_into_libs
=yes
14247 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14248 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14249 shlibpath_overrides_runpath
=no
14250 hardcode_into_libs
=yes
14252 *) # from 4.6 on, and DragonFly
14253 shlibpath_overrides_runpath
=yes
14254 hardcode_into_libs
=yes
14263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14264 soname_spec
='${libname}${release}${shared_ext}$major'
14265 shlibpath_var
=LD_LIBRARY_PATH
14266 hardcode_into_libs
=yes
14269 hpux9
* | hpux10
* | hpux11
*)
14270 # Give a soname corresponding to the major version so that dld.sl refuses to
14271 # link against other versions.
14278 hardcode_into_libs
=yes
14279 dynamic_linker
="$host_os dld.so"
14280 shlibpath_var
=LD_LIBRARY_PATH
14281 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14283 soname_spec
='${libname}${release}${shared_ext}$major'
14284 if test "X$HPUX_IA64_MODE" = X32
; then
14285 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14287 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14289 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14293 hardcode_into_libs
=yes
14294 dynamic_linker
="$host_os dld.sl"
14295 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14296 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 soname_spec
='${libname}${release}${shared_ext}$major'
14299 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14304 dynamic_linker
="$host_os dld.sl"
14305 shlibpath_var
=SHLIB_PATH
14306 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14308 soname_spec
='${libname}${release}${shared_ext}$major'
14311 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14312 postinstall_cmds
='chmod 555 $lib'
14319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14320 soname_spec
='${libname}${release}${shared_ext}$major'
14321 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14322 shlibpath_var
=LD_LIBRARY_PATH
14323 shlibpath_overrides_runpath
=no
14324 hardcode_into_libs
=yes
14327 irix5
* | irix6
* | nonstopux
*)
14329 nonstopux
*) version_type
=nonstopux
;;
14331 if test "$lt_cv_prog_gnu_ld" = yes; then
14339 soname_spec
='${libname}${release}${shared_ext}$major'
14340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14342 irix5
* | nonstopux
*)
14343 libsuff
= shlibsuff
=
14346 case $LD in # libtool.m4 will add one of these switches to LD
14347 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14348 libsuff
= shlibsuff
= libmagic
=32-bit;;
14349 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14350 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14351 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14352 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14353 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14357 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14358 shlibpath_overrides_runpath
=no
14359 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14360 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14361 hardcode_into_libs
=yes
14364 # No shared lib support for Linux oldld, aout, or coff.
14365 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14369 # This must be Linux ELF.
14370 linux
* | k
*bsd
*-gnu)
14374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 soname_spec
='${libname}${release}${shared_ext}$major'
14376 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14377 shlibpath_var
=LD_LIBRARY_PATH
14378 shlibpath_overrides_runpath
=no
14379 # This implies no fast_install, which is unacceptable.
14380 # Some rework will be needed to allow for fast_install
14381 # before this can be enabled.
14382 hardcode_into_libs
=yes
14384 # Append ld.so.conf contents to the search path
14385 if test -f /etc
/ld.so.conf
; then
14386 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' ' '`
14387 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14390 # We used to test for /lib/ld.so.1 and disable shared libraries on
14391 # powerpc, because MkLinux only supported shared libraries with the
14392 # GNU dynamic linker. Since this was broken with cross compilers,
14393 # most powerpc-linux boxes support dynamic linking these days and
14394 # people can always --disable-shared, the test was removed, and we
14395 # assume the GNU/Linux dynamic linker is in use.
14396 dynamic_linker
='GNU/Linux ld.so'
14403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14404 soname_spec
='${libname}${release}${shared_ext}$major'
14405 shlibpath_var
=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath
=no
14407 hardcode_into_libs
=yes
14408 dynamic_linker
='NetBSD ld.elf_so'
14415 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14418 dynamic_linker
='NetBSD (a.out) ld.so'
14420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14421 soname_spec
='${libname}${release}${shared_ext}$major'
14422 dynamic_linker
='NetBSD ld.elf_so'
14424 shlibpath_var
=LD_LIBRARY_PATH
14425 shlibpath_overrides_runpath
=yes
14426 hardcode_into_libs
=yes
14431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 shlibpath_var
=LD_LIBRARY_PATH
14433 shlibpath_overrides_runpath
=yes
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 shlibpath_var
=LD_LIBRARY_PATH
14443 shlibpath_overrides_runpath
=yes
14448 sys_lib_dlsearch_path_spec
="/usr/lib"
14450 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14452 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14453 *) need_version
=no
;;
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14457 shlibpath_var
=LD_LIBRARY_PATH
14458 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14460 openbsd2.
[89] | openbsd2.
[89].
*)
14461 shlibpath_overrides_runpath
=no
14464 shlibpath_overrides_runpath
=yes
14468 shlibpath_overrides_runpath
=yes
14473 libname_spec
='$name'
14476 library_names_spec
='$libname${shared_ext} $libname.a'
14477 dynamic_linker
='OS/2 ld.exe'
14478 shlibpath_var
=LIBPATH
14481 osf3
* | osf4
* | osf5
*)
14485 soname_spec
='${libname}${release}${shared_ext}$major'
14486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 shlibpath_var
=LD_LIBRARY_PATH
14488 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14489 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14501 soname_spec
='${libname}${release}${shared_ext}$major'
14502 shlibpath_var
=LD_LIBRARY_PATH
14503 shlibpath_overrides_runpath
=yes
14504 hardcode_into_libs
=yes
14505 # ldd complains unless libraries are executable
14506 postinstall_cmds
='chmod +x $lib'
14511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14512 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14513 shlibpath_var
=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath
=yes
14515 if test "$with_gnu_ld" = yes; then
14523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec
='${libname}${release}${shared_ext}$major'
14525 shlibpath_var
=LD_LIBRARY_PATH
14526 case $host_vendor in
14528 shlibpath_overrides_runpath
=no
14530 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14531 runpath_var
=LD_RUN_PATH
14539 shlibpath_overrides_runpath
=no
14540 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14546 if test -d /usr
/nec
;then
14548 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14549 soname_spec
='$libname${shared_ext}.$major'
14550 shlibpath_var
=LD_LIBRARY_PATH
14554 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14555 version_type
=freebsd-elf
14558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14559 soname_spec
='${libname}${release}${shared_ext}$major'
14560 shlibpath_var
=LD_LIBRARY_PATH
14561 hardcode_into_libs
=yes
14562 if test "$with_gnu_ld" = yes; then
14563 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14564 shlibpath_overrides_runpath
=no
14566 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14567 shlibpath_overrides_runpath
=yes
14570 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14574 sys_lib_dlsearch_path_spec
='/usr/lib'
14579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 soname_spec
='${libname}${release}${shared_ext}$major'
14581 shlibpath_var
=LD_LIBRARY_PATH
14588 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14589 echo "${ECHO_T}$dynamic_linker" >&6; }
14590 test "$dynamic_linker" = no
&& can_build_shared
=no
14592 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
14598 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14599 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
14605 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14607 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14608 if test "$GCC" = yes; then
14609 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14612 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14613 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14614 hardcode_action_CXX
=
14615 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14616 test -n "$runpath_var_CXX" || \
14617 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14619 # We can hardcode non-existant directories.
14620 if test "$hardcode_direct_CXX" != no
&&
14621 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14622 # have to relink, otherwise we might link with an installed library
14623 # when we should be linking with a yet-to-be-installed one
14624 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14625 test "$hardcode_minus_L_CXX" != no
; then
14626 # Linking always hardcodes the temporary library directory.
14627 hardcode_action_CXX
=relink
14629 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14630 hardcode_action_CXX
=immediate
14633 # We cannot hardcode anything, or else we can only hardcode existing
14635 hardcode_action_CXX
=unsupported
14637 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14638 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14640 if test "$hardcode_action_CXX" = relink
; then
14641 # Fast installation is not supported
14642 enable_fast_install
=no
14643 elif test "$shlibpath_overrides_runpath" = yes ||
14644 test "$enable_shared" = no
; then
14645 # Fast installation is not necessary
14646 enable_fast_install
=needless
14650 # The else clause should only fire when bootstrapping the
14651 # libtool distribution, otherwise you forgot to ship ltmain.sh
14652 # with your package, and you will get complaints that there are
14653 # no rules to generate ltmain.sh.
14654 if test -f "$ltmain"; then
14655 # See if we are running on zsh, and set the options which allow our commands through
14656 # without removal of \ escapes.
14657 if test -n "${ZSH_VERSION+set}" ; then
14658 setopt NO_GLOB_SUBST
14660 # Now quote all the things that may contain metacharacters while being
14661 # careful not to overquote the AC_SUBSTed values. We take copies of the
14662 # variables and quote the copies for generation of the libtool script.
14663 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14665 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14666 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14667 deplibs_check_method reload_flag reload_cmds need_locks \
14668 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14669 lt_cv_sys_global_symbol_to_c_name_address \
14670 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14671 old_postinstall_cmds old_postuninstall_cmds \
14675 lt_prog_compiler_wl_CXX \
14676 lt_prog_compiler_pic_CXX \
14677 lt_prog_compiler_static_CXX \
14678 lt_prog_compiler_no_builtin_flag_CXX \
14679 export_dynamic_flag_spec_CXX \
14680 thread_safe_flag_spec_CXX \
14681 whole_archive_flag_spec_CXX \
14682 enable_shared_with_static_runtimes_CXX \
14683 old_archive_cmds_CXX \
14684 old_archive_from_new_cmds_CXX \
14685 predep_objects_CXX \
14686 postdep_objects_CXX \
14689 compiler_lib_search_path_CXX \
14690 compiler_lib_search_dirs_CXX \
14692 archive_expsym_cmds_CXX \
14693 postinstall_cmds_CXX \
14694 postuninstall_cmds_CXX \
14695 old_archive_from_expsyms_cmds_CXX \
14696 allow_undefined_flag_CXX \
14697 no_undefined_flag_CXX \
14698 export_symbols_cmds_CXX \
14699 hardcode_libdir_flag_spec_CXX \
14700 hardcode_libdir_flag_spec_ld_CXX \
14701 hardcode_libdir_separator_CXX \
14702 hardcode_automatic_CXX \
14704 module_expsym_cmds_CXX \
14705 lt_cv_prog_compiler_c_o_CXX \
14706 fix_srcfile_path_CXX \
14707 exclude_expsyms_CXX \
14708 include_expsyms_CXX
; do
14711 old_archive_cmds_CXX | \
14712 old_archive_from_new_cmds_CXX | \
14713 archive_cmds_CXX | \
14714 archive_expsym_cmds_CXX | \
14715 module_cmds_CXX | \
14716 module_expsym_cmds_CXX | \
14717 old_archive_from_expsyms_cmds_CXX | \
14718 export_symbols_cmds_CXX | \
14719 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14720 postinstall_cmds | postuninstall_cmds | \
14721 old_postinstall_cmds | old_postuninstall_cmds | \
14722 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14723 # Double-quote double-evaled strings.
14724 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14727 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14733 *'\$0 --fallback-echo"')
14734 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14740 cat <<__EOF__ >> "$cfgfile"
14741 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14743 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14745 # Shell to use when invoking shell scripts.
14748 # Whether or not to build shared libraries.
14749 build_libtool_libs=$enable_shared
14751 # Whether or not to build static libraries.
14752 build_old_libs=$enable_static
14754 # Whether or not to add -lc for building shared libraries.
14755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14757 # Whether or not to disallow shared libs when runtime libs are static
14758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14760 # Whether or not to optimize for fast installation.
14761 fast_install=$enable_fast_install
14764 host_alias=$host_alias
14768 # The build system.
14769 build_alias=$build_alias
14773 # An echo program that does not interpret backslashes.
14778 AR_FLAGS=$lt_AR_FLAGS
14783 # LTCC compiler flags.
14784 LTCFLAGS=$lt_LTCFLAGS
14786 # A language-specific compiler.
14787 CC=$lt_compiler_CXX
14789 # Is the compiler the GNU C compiler?
14795 # The linker used to build libraries.
14798 # Whether we need hard or soft links.
14801 # A BSD-compatible nm program.
14804 # A symbol stripping program
14807 # Used to examine libraries when file_magic_cmd begins "file"
14808 MAGIC_CMD=$MAGIC_CMD
14810 # Used on cygwin: DLL creation program.
14813 # Used on cygwin: object dumper.
14816 # Used on cygwin: assembler.
14819 # The name of the directory that contains temporary libtool files.
14822 # How to create reloadable object files.
14823 reload_flag=$lt_reload_flag
14824 reload_cmds=$lt_reload_cmds
14826 # How to pass a linker flag through the compiler.
14827 wl=$lt_lt_prog_compiler_wl_CXX
14829 # Object file suffix (normally "o").
14830 objext="$ac_objext"
14832 # Old archive suffix (normally "a").
14835 # Shared library suffix (normally ".so").
14836 shrext_cmds='$shrext_cmds'
14838 # Executable file suffix (normally "").
14841 # Additional compiler flags for building library objects.
14842 pic_flag=$lt_lt_prog_compiler_pic_CXX
14845 # What is the maximum length of a command?
14846 max_cmd_len=$lt_cv_sys_max_cmd_len
14848 # Does compiler simultaneously support -c and -o options?
14849 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14851 # Must we lock files when doing compilation?
14852 need_locks=$lt_need_locks
14854 # Do we need the lib prefix for modules?
14855 need_lib_prefix=$need_lib_prefix
14857 # Do we need a version for libraries?
14858 need_version=$need_version
14860 # Whether dlopen is supported.
14861 dlopen_support=$enable_dlopen
14863 # Whether dlopen of programs is supported.
14864 dlopen_self=$enable_dlopen_self
14866 # Whether dlopen of statically linked programs is supported.
14867 dlopen_self_static=$enable_dlopen_self_static
14869 # Compiler flag to prevent dynamic linking.
14870 link_static_flag=$lt_lt_prog_compiler_static_CXX
14872 # Compiler flag to turn off builtin functions.
14873 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14875 # Compiler flag to allow reflexive dlopens.
14876 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14878 # Compiler flag to generate shared objects directly from archives.
14879 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14881 # Compiler flag to generate thread-safe objects.
14882 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14884 # Library versioning type.
14885 version_type=$version_type
14887 # Format of library name prefix.
14888 libname_spec=$lt_libname_spec
14890 # List of archive names. First name is the real one, the rest are links.
14891 # The last name is the one that the linker finds with -lNAME.
14892 library_names_spec=$lt_library_names_spec
14894 # The coded name of the library, if different from the real name.
14895 soname_spec=$lt_soname_spec
14897 # Commands used to build and install an old-style archive.
14899 old_archive_cmds=$lt_old_archive_cmds_CXX
14900 old_postinstall_cmds=$lt_old_postinstall_cmds
14901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14903 # Create an old-style archive from a shared archive.
14904 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14906 # Create a temporary old-style archive to link instead of a shared archive.
14907 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14909 # Commands used to build and install a shared archive.
14910 archive_cmds=$lt_archive_cmds_CXX
14911 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14912 postinstall_cmds=$lt_postinstall_cmds
14913 postuninstall_cmds=$lt_postuninstall_cmds
14915 # Commands used to build a loadable module (assumed same as above if empty)
14916 module_cmds=$lt_module_cmds_CXX
14917 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14919 # Commands to strip libraries.
14920 old_striplib=$lt_old_striplib
14921 striplib=$lt_striplib
14923 # Dependencies to place before the objects being linked to create a
14925 predep_objects=$lt_predep_objects_CXX
14927 # Dependencies to place after the objects being linked to create a
14929 postdep_objects=$lt_postdep_objects_CXX
14931 # Dependencies to place before the objects being linked to create a
14933 predeps=$lt_predeps_CXX
14935 # Dependencies to place after the objects being linked to create a
14937 postdeps=$lt_postdeps_CXX
14939 # The directories searched by this compiler when creating a shared
14941 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14943 # The library search path used internally by the compiler when linking
14944 # a shared library.
14945 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14947 # Method to check whether dependent libraries are shared objects.
14948 deplibs_check_method=$lt_deplibs_check_method
14950 # Command to use when deplibs_check_method == file_magic.
14951 file_magic_cmd=$lt_file_magic_cmd
14953 # Flag that allows shared libraries with undefined symbols to be built.
14954 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14956 # Flag that forces no undefined symbols.
14957 no_undefined_flag=$lt_no_undefined_flag_CXX
14959 # Commands used to finish a libtool library installation in a directory.
14960 finish_cmds=$lt_finish_cmds
14962 # Same as above, but a single script fragment to be evaled but not shown.
14963 finish_eval=$lt_finish_eval
14965 # Take the output of nm and produce a listing of raw symbols and C names.
14966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14968 # Transform the output of nm in a proper C declaration
14969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14971 # Transform the output of nm in a C name address pair
14972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14974 # This is the shared library runtime path variable.
14975 runpath_var=$runpath_var
14977 # This is the shared library path variable.
14978 shlibpath_var=$shlibpath_var
14980 # Is shlibpath searched before the hard-coded library search path?
14981 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14983 # How to hardcode a shared library path into an executable.
14984 hardcode_action=$hardcode_action_CXX
14986 # Whether we should hardcode library paths into libraries.
14987 hardcode_into_libs=$hardcode_into_libs
14989 # Flag to hardcode \$libdir into a binary during linking.
14990 # This must work even if \$libdir does not exist.
14991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14993 # If ld is used when linking, flag to hardcode \$libdir into
14994 # a binary during linking. This must work even if \$libdir does
14996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14998 # Whether we need a single -rpath flag with a separated argument.
14999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15001 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15002 # resulting binary.
15003 hardcode_direct=$hardcode_direct_CXX
15005 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15006 # resulting binary.
15007 hardcode_minus_L=$hardcode_minus_L_CXX
15009 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15010 # the resulting binary.
15011 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15013 # Set to yes if building a shared library automatically hardcodes DIR into the library
15014 # and all subsequent libraries and executables linked against it.
15015 hardcode_automatic=$hardcode_automatic_CXX
15017 # Variables whose values should be saved in libtool wrapper scripts and
15018 # restored at relink time.
15019 variables_saved_for_relink="$variables_saved_for_relink"
15021 # Whether libtool must link a program against all its dependency libraries.
15022 link_all_deplibs=$link_all_deplibs_CXX
15024 # Compile-time system search path for libraries
15025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15027 # Run-time system search path for libraries
15028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15030 # Fix the shell variable \$srcfile for the compiler.
15031 fix_srcfile_path=$lt_fix_srcfile_path
15033 # Set to yes if exported symbols are required.
15034 always_export_symbols=$always_export_symbols_CXX
15036 # The commands to list exported symbols.
15037 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15039 # The commands to extract the exported symbol list from a shared archive.
15040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15042 # Symbols that should not be listed in the preloaded symbols.
15043 exclude_expsyms=$lt_exclude_expsyms_CXX
15045 # Symbols that must always be exported.
15046 include_expsyms=$lt_include_expsyms_CXX
15048 # ### END LIBTOOL TAG CONFIG: $tagname
15054 # If there is no Makefile yet, we rely on a make rule to execute
15055 # `config.status --recheck' to rerun these tests and create the
15056 # libtool script then.
15057 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15058 if test -f "$ltmain_in"; then
15059 test -f Makefile
&& make "$ltmain"
15065 ac_cpp
='$CPP $CPPFLAGS'
15066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15074 with_gnu_ldcxx
=$with_gnu_ld
15075 with_gnu_ld
=$lt_save_with_gnu_ld
15076 lt_cv_path_LDCXX
=$lt_cv_path_LD
15077 lt_cv_path_LD
=$lt_save_path_LD
15078 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15079 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15087 if test -n "$F77" && test "X$F77" != "Xno"; then
15090 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15091 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15095 archive_cmds_need_lc_F77
=no
15096 allow_undefined_flag_F77
=
15097 always_export_symbols_F77
=no
15098 archive_expsym_cmds_F77
=
15099 export_dynamic_flag_spec_F77
=
15100 hardcode_direct_F77
=no
15101 hardcode_libdir_flag_spec_F77
=
15102 hardcode_libdir_flag_spec_ld_F77
=
15103 hardcode_libdir_separator_F77
=
15104 hardcode_minus_L_F77
=no
15105 hardcode_automatic_F77
=no
15107 module_expsym_cmds_F77
=
15108 link_all_deplibs_F77
=unknown
15109 old_archive_cmds_F77
=$old_archive_cmds
15110 no_undefined_flag_F77
=
15111 whole_archive_flag_spec_F77
=
15112 enable_shared_with_static_runtimes_F77
=no
15114 # Source file extension for f77 test sources.
15117 # Object file extension for compiled f77 test sources.
15121 # Code to be used in simple compile tests
15122 lt_simple_compile_test_code
="\
15128 # Code to be used in simple link tests
15129 lt_simple_link_test_code
="\
15134 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15136 # If no C compiler was specified, use CC.
15139 # If no C compiler flags were specified, use CFLAGS.
15140 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15142 # Allow CC to be a program name with arguments.
15146 # save warnings/boilerplate of simple test code
15147 ac_outfile
=conftest.
$ac_objext
15148 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15149 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15150 _lt_compiler_boilerplate
=`cat conftest.err`
15153 ac_outfile
=conftest.
$ac_objext
15154 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15155 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15156 _lt_linker_boilerplate
=`cat conftest.err`
15160 # Allow CC to be a program name with arguments.
15165 for cc_temp
in $compiler""; do
15167 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15168 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15173 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15176 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15177 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15178 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15179 echo "${ECHO_T}$can_build_shared" >&6; }
15181 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15182 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15183 test "$can_build_shared" = "no" && enable_shared
=no
15185 # On AIX, shared libraries and static libraries use the same namespace, and
15186 # are all built from PIC.
15189 test "$enable_shared" = yes && enable_static
=no
15190 if test -n "$RANLIB"; then
15191 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15192 postinstall_cmds
='$RANLIB $lib'
15196 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15197 test "$enable_shared" = yes && enable_static
=no
15201 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15202 echo "${ECHO_T}$enable_shared" >&6; }
15204 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15205 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15206 # Make sure either enable_shared or enable_static is yes.
15207 test "$enable_shared" = yes || enable_static
=yes
15208 { echo "$as_me:$LINENO: result: $enable_static" >&5
15209 echo "${ECHO_T}$enable_static" >&6; }
15214 lt_prog_compiler_wl_F77
=
15215 lt_prog_compiler_pic_F77
=
15216 lt_prog_compiler_static_F77
=
15218 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15219 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15221 if test "$GCC" = yes; then
15222 lt_prog_compiler_wl_F77
='-Wl,'
15223 lt_prog_compiler_static_F77
='-static'
15227 # All AIX code is PIC.
15228 if test "$host_cpu" = ia64
; then
15229 # AIX 5 now supports IA64 processor
15230 lt_prog_compiler_static_F77
='-Bstatic'
15235 # FIXME: we need at least 68020 code to build shared libraries, but
15236 # adding the `-m68020' flag to GCC prevents building anything better,
15238 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15241 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15242 # PIC is the default for these OSes.
15245 mingw
* | cygwin
* | pw32
* | os2
*)
15246 # This hack is so that the source file can tell whether it is being
15247 # built for inclusion in a dll (and should export symbols for example).
15248 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15249 # (--disable-auto-import) libraries
15250 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15253 darwin
* | rhapsody
*)
15254 # PIC is the default on this platform
15255 # Common symbols not allowed in MH_DYLIB files
15256 lt_prog_compiler_pic_F77
='-fno-common'
15260 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15261 # Instead, we relocate shared libraries at runtime.
15265 # Just because we use GCC doesn't mean we suddenly get shared libraries
15266 # on systems that don't support them.
15267 lt_prog_compiler_can_build_shared_F77
=no
15272 if test -d /usr
/nec
; then
15273 lt_prog_compiler_pic_F77
=-Kconform_pic
15278 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15279 # not for PA HP-UX.
15285 lt_prog_compiler_pic_F77
='-fPIC'
15291 lt_prog_compiler_pic_F77
='-fPIC'
15295 # PORTME Check for flag to pass linker flags through the system compiler.
15298 lt_prog_compiler_wl_F77
='-Wl,'
15299 if test "$host_cpu" = ia64
; then
15300 # AIX 5 now supports IA64 processor
15301 lt_prog_compiler_static_F77
='-Bstatic'
15303 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15307 # PIC is the default on this platform
15308 # Common symbols not allowed in MH_DYLIB files
15309 case $cc_basename in
15311 lt_prog_compiler_pic_F77
='-qnocommon'
15312 lt_prog_compiler_wl_F77
='-Wl,'
15317 mingw
* | cygwin
* | pw32
* | os2
*)
15318 # This hack is so that the source file can tell whether it is being
15319 # built for inclusion in a dll (and should export symbols for example).
15320 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15323 hpux9
* | hpux10
* | hpux11
*)
15324 lt_prog_compiler_wl_F77
='-Wl,'
15325 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15326 # not for PA HP-UX.
15332 lt_prog_compiler_pic_F77
='+Z'
15335 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15336 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15339 irix5
* | irix6
* | nonstopux
*)
15340 lt_prog_compiler_wl_F77
='-Wl,'
15341 # PIC (with -KPIC) is the default.
15342 lt_prog_compiler_static_F77
='-non_shared'
15346 lt_prog_compiler_pic_F77
='-KPIC'
15347 lt_prog_compiler_static_F77
='-Bstatic'
15350 linux
* | k
*bsd
*-gnu)
15351 case $cc_basename in
15353 lt_prog_compiler_wl_F77
='-Wl,'
15354 lt_prog_compiler_pic_F77
='-KPIC'
15355 lt_prog_compiler_static_F77
='-static'
15357 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15358 # Portland Group compilers (*not* the Pentium gcc compiler,
15359 # which looks to be a dead project)
15360 lt_prog_compiler_wl_F77
='-Wl,'
15361 lt_prog_compiler_pic_F77
='-fpic'
15362 lt_prog_compiler_static_F77
='-Bstatic'
15365 lt_prog_compiler_wl_F77
='-Wl,'
15366 # All Alpha code is PIC.
15367 lt_prog_compiler_static_F77
='-non_shared'
15370 case `$CC -V 2>&1 | sed 5q` in
15373 lt_prog_compiler_pic_F77
='-KPIC'
15374 lt_prog_compiler_static_F77
='-Bstatic'
15375 lt_prog_compiler_wl_F77
='-Wl,'
15378 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15379 lt_prog_compiler_pic_F77
='-KPIC'
15380 lt_prog_compiler_static_F77
='-Bstatic'
15381 lt_prog_compiler_wl_F77
=''
15388 osf3
* | osf4
* | osf5
*)
15389 lt_prog_compiler_wl_F77
='-Wl,'
15390 # All OSF/1 code is PIC.
15391 lt_prog_compiler_static_F77
='-non_shared'
15395 lt_prog_compiler_static_F77
='-non_shared'
15399 lt_prog_compiler_pic_F77
='-KPIC'
15400 lt_prog_compiler_static_F77
='-Bstatic'
15401 case $cc_basename in
15402 f77
* | f90
* | f95
*)
15403 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15405 lt_prog_compiler_wl_F77
='-Wl,';;
15410 lt_prog_compiler_wl_F77
='-Qoption ld '
15411 lt_prog_compiler_pic_F77
='-PIC'
15412 lt_prog_compiler_static_F77
='-Bstatic'
15415 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15416 lt_prog_compiler_wl_F77
='-Wl,'
15417 lt_prog_compiler_pic_F77
='-KPIC'
15418 lt_prog_compiler_static_F77
='-Bstatic'
15422 if test -d /usr
/nec
;then
15423 lt_prog_compiler_pic_F77
='-Kconform_pic'
15424 lt_prog_compiler_static_F77
='-Bstatic'
15428 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15429 lt_prog_compiler_wl_F77
='-Wl,'
15430 lt_prog_compiler_pic_F77
='-KPIC'
15431 lt_prog_compiler_static_F77
='-Bstatic'
15435 lt_prog_compiler_wl_F77
='-Wl,'
15436 lt_prog_compiler_can_build_shared_F77
=no
15440 lt_prog_compiler_pic_F77
='-pic'
15441 lt_prog_compiler_static_F77
='-Bstatic'
15445 lt_prog_compiler_can_build_shared_F77
=no
15450 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15451 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15454 # Check to make sure the PIC flag actually works.
15456 if test -n "$lt_prog_compiler_pic_F77"; then
15458 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15459 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15460 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 lt_cv_prog_compiler_pic_works_F77
=no
15464 ac_outfile
=conftest.
$ac_objext
15465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15466 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15467 # Insert the option either (1) after the last *FLAGS variable, or
15468 # (2) before a word containing "conftest.", or (3) at the end.
15469 # Note that $ac_compile itself does not contain backslashes and begins
15470 # with a dollar sign (not a hyphen), so the echo should work correctly.
15471 # The option is referenced via a variable to avoid confusing sed.
15472 lt_compile
=`echo "$ac_compile" | $SED \
15473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15475 -e 's:$: $lt_compiler_flag:'`
15476 (eval echo "\"\$as_me:15476: $lt_compile\"" >&5)
15477 (eval "$lt_compile" 2>conftest.err
)
15479 cat conftest.err
>&5
15480 echo "$as_me:15480: \$? = $ac_status" >&5
15481 if (exit $ac_status) && test -s "$ac_outfile"; then
15482 # The compiler can only warn and ignore the option if not recognized
15483 # So say no if there are warnings other than the usual output.
15484 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15487 lt_cv_prog_compiler_pic_works_F77
=yes
15493 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15494 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15496 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
15497 case $lt_prog_compiler_pic_F77 in
15499 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15502 lt_prog_compiler_pic_F77
=
15503 lt_prog_compiler_can_build_shared_F77
=no
15508 # For platforms which do not support PIC, -DPIC is meaningless:
15510 lt_prog_compiler_pic_F77
=
15513 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15518 # Check to make sure the static flag actually works.
15520 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15521 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15523 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 lt_cv_prog_compiler_static_works_F77
=no
15527 save_LDFLAGS
="$LDFLAGS"
15528 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15529 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15530 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15531 # The linker can only warn and ignore the option if not recognized
15532 # So say no if there are warnings
15533 if test -s conftest.err
; then
15534 # Append any errors to the config.log.
15535 cat conftest.err
1>&5
15536 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15537 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15538 if diff conftest.exp conftest.er2
>/dev
/null
; then
15539 lt_cv_prog_compiler_static_works_F77
=yes
15542 lt_cv_prog_compiler_static_works_F77
=yes
15546 LDFLAGS
="$save_LDFLAGS"
15549 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15550 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15552 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
15555 lt_prog_compiler_static_F77
=
15559 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15560 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15561 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15562 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 lt_cv_prog_compiler_c_o_F77
=no
15565 $rm -r conftest
2>/dev
/null
15569 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15571 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15572 # Insert the option either (1) after the last *FLAGS variable, or
15573 # (2) before a word containing "conftest.", or (3) at the end.
15574 # Note that $ac_compile itself does not contain backslashes and begins
15575 # with a dollar sign (not a hyphen), so the echo should work correctly.
15576 lt_compile
=`echo "$ac_compile" | $SED \
15577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15579 -e 's:$: $lt_compiler_flag:'`
15580 (eval echo "\"\$as_me:15580: $lt_compile\"" >&5)
15581 (eval "$lt_compile" 2>out
/conftest.err
)
15583 cat out
/conftest.err
>&5
15584 echo "$as_me:15584: \$? = $ac_status" >&5
15585 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15587 # The compiler can only warn and ignore the option if not recognized
15588 # So say no if there are warnings
15589 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15590 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15591 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15592 lt_cv_prog_compiler_c_o_F77
=yes
15597 # SGI C++ compiler will create directory out/ii_files/ for
15598 # template instantiation
15599 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15600 $rm out
/* && rmdir out
15606 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15607 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15610 hard_links
="nottested"
15611 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15612 # do not overwrite the value of need_locks provided by the user
15613 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15614 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15617 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15619 ln conftest.a conftest.b
2>&5 || hard_links
=no
15620 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15621 { echo "$as_me:$LINENO: result: $hard_links" >&5
15622 echo "${ECHO_T}$hard_links" >&6; }
15623 if test "$hard_links" = no
; then
15624 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15625 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15632 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15633 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15636 allow_undefined_flag_F77
=
15637 enable_shared_with_static_runtimes_F77
=no
15639 archive_expsym_cmds_F77
=
15640 old_archive_From_new_cmds_F77
=
15641 old_archive_from_expsyms_cmds_F77
=
15642 export_dynamic_flag_spec_F77
=
15643 whole_archive_flag_spec_F77
=
15644 thread_safe_flag_spec_F77
=
15645 hardcode_libdir_flag_spec_F77
=
15646 hardcode_libdir_flag_spec_ld_F77
=
15647 hardcode_libdir_separator_F77
=
15648 hardcode_direct_F77
=no
15649 hardcode_minus_L_F77
=no
15650 hardcode_shlibpath_var_F77
=unsupported
15651 link_all_deplibs_F77
=unknown
15652 hardcode_automatic_F77
=no
15654 module_expsym_cmds_F77
=
15655 always_export_symbols_F77
=no
15656 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15657 # include_expsyms should be a list of space-separated symbols to be *always*
15658 # included in the symbol list
15659 include_expsyms_F77
=
15660 # exclude_expsyms can be an extended regexp of symbols to exclude
15661 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15662 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15663 # as well as any symbol that contains `d'.
15664 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15665 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15666 # platforms (ab)use it in PIC code, but their linkers get confused if
15667 # the symbol is explicitly referenced. Since portable code cannot
15668 # rely on this symbol name, it's probably fine to never include it in
15669 # preloaded symbol tables.
15670 # Exclude shared library initialization/finalization symbols.
15671 extract_expsyms_cmds
=
15672 # Just being paranoid about ensuring that cc_basename is set.
15673 for cc_temp
in $compiler""; do
15675 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15676 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15681 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15684 cygwin
* | mingw
* | pw32
*)
15685 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15686 # When not using gcc, we currently assume that we are using
15687 # Microsoft Visual C++.
15688 if test "$GCC" != yes; then
15693 # we just hope/assume this is gcc and not c89 (= MSVC++)
15702 if test "$with_gnu_ld" = yes; then
15703 # If archive_cmds runs LD, not CC, wlarc should be empty
15706 # Set some defaults for GNU ld with shared library support. These
15707 # are reset later if shared libraries are not supported. Putting them
15708 # here allows them to be overridden if necessary.
15709 runpath_var
=LD_RUN_PATH
15710 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15711 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15712 # ancient GNU ld didn't support --whole-archive et. al.
15713 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15714 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15716 whole_archive_flag_spec_F77
=
15718 supports_anon_versioning
=no
15719 case `$LD -v 2>/dev/null` in
15720 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15721 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15722 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15723 *\
2.11.
*) ;; # other 2.11 versions
15724 *) supports_anon_versioning
=yes ;;
15727 # See if GNU ld supports shared libraries.
15730 # On AIX/PPC, the GNU linker is very broken
15731 if test "$host_cpu" != ia64
; then
15735 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15736 *** to be unable to reliably create shared libraries on AIX.
15737 *** Therefore, libtool is disabling shared libraries support. If you
15738 *** really care for shared libraries, you may want to modify your PATH
15739 *** so that a non-GNU linker is found, and then restart.
15746 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)'
15747 hardcode_libdir_flag_spec_F77
='-L$libdir'
15748 hardcode_minus_L_F77
=yes
15750 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15751 # that the semantics of dynamic libraries on AmigaOS, at least up
15752 # to version 4, is to share data among multiple programs linked
15753 # with the same dynamic library. Since this doesn't match the
15754 # behavior of shared libraries on other platforms, we can't use
15760 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15761 allow_undefined_flag_F77
=unsupported
15762 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15763 # support --undefined. This deserves some investigation. FIXME
15764 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15770 cygwin
* | mingw
* | pw32
*)
15771 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15772 # as there is no search path for DLLs.
15773 hardcode_libdir_flag_spec_F77
='-L$libdir'
15774 allow_undefined_flag_F77
=unsupported
15775 always_export_symbols_F77
=no
15776 enable_shared_with_static_runtimes_F77
=yes
15777 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15779 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15780 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15781 # If the export-symbols file already is a .def file (1st line
15782 # is EXPORTS), use it as is; otherwise, prepend...
15783 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15784 cp $export_symbols $output_objdir/$soname.def;
15786 echo EXPORTS > $output_objdir/$soname.def;
15787 cat $export_symbols >> $output_objdir/$soname.def;
15789 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15796 hardcode_direct_F77
=no
15797 hardcode_shlibpath_var_F77
=no
15798 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15799 export_dynamic_flag_spec_F77
='${wl}-E'
15800 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15801 # Instead, shared libraries are loaded at an image base (0x10000000 by
15802 # default) and relocated if they conflict, which is a slow very memory
15803 # consuming and fragmenting process. To avoid this, we pick a random,
15804 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15805 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15806 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'
15807 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'
15810 gnu
* | linux
* | k
*bsd
*-gnu)
15811 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15813 case $cc_basename,$host_cpu in
15814 pgcc
*) # Portland Group C compiler
15815 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'
15816 tmp_addflag
=' $pic_flag'
15818 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15819 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'
15820 tmp_addflag
=' $pic_flag -Mnomain' ;;
15821 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15822 tmp_addflag
=' -i_dynamic' ;;
15823 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15824 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15825 ifc
* | ifort
*) # Intel Fortran compiler
15826 tmp_addflag
=' -nofor_main' ;;
15828 case `$CC -V 2>&1 | sed 5q` in
15829 *Sun\ C
*) # Sun C 5.9
15830 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'
15831 tmp_sharedflag
='-G' ;;
15832 *Sun\ F
*) # Sun Fortran 8.3
15833 tmp_sharedflag
='-G' ;;
15835 tmp_sharedflag
='-shared' ;;
15837 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15839 if test $supports_anon_versioning = yes; then
15840 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15841 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15842 $echo "local: *; };" >> $output_objdir/$libname.ver~
15843 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15845 link_all_deplibs_F77
=no
15851 netbsd
* | netbsdelf
*-gnu)
15852 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15853 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15856 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15857 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15862 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15867 *** create shared libraries on Solaris systems. Therefore, libtool
15868 *** is disabling shared libraries support. We urge you to upgrade GNU
15869 *** binutils to release 2.9.1 or newer. Another option is to modify
15870 *** your PATH or compiler configuration so that the native linker is
15871 *** used, and then restart.
15874 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15875 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15876 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15882 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15883 case `$LD -v 2>&1` in
15884 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15889 *** reliably create shared libraries on SCO systems. Therefore, libtool
15890 *** is disabling shared libraries support. We urge you to upgrade GNU
15891 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15892 *** your PATH or compiler configuration so that the native linker is
15893 *** used, and then restart.
15898 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15899 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15900 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15901 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15910 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15912 hardcode_direct_F77
=yes
15913 hardcode_shlibpath_var_F77
=no
15917 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15918 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15919 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15926 if test "$ld_shlibs_F77" = no
; then
15928 hardcode_libdir_flag_spec_F77
=
15929 export_dynamic_flag_spec_F77
=
15930 whole_archive_flag_spec_F77
=
15933 # PORTME fill in a description of your system's linker (not GNU ld)
15936 allow_undefined_flag_F77
=unsupported
15937 always_export_symbols_F77
=yes
15938 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'
15939 # Note: this linker hardcodes the directories in LIBPATH if there
15940 # are no directories specified by -L.
15941 hardcode_minus_L_F77
=yes
15942 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15943 # Neither direct hardcoding nor static linking is supported with a
15945 hardcode_direct_F77
=unsupported
15950 if test "$host_cpu" = ia64
; then
15951 # On IA64, the linker does run time linking by default, so we don't
15952 # have to do anything special.
15953 aix_use_runtimelinking
=no
15954 exp_sym_flag
='-Bexport'
15957 # If we're using GNU nm, then we don't want the "-C" option.
15958 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15959 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15960 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'
15962 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'
15964 aix_use_runtimelinking
=no
15966 # Test if we are trying to use run time linking or normal
15967 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15968 # need to do runtime linking.
15969 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15970 for ld_flag
in $LDFLAGS; do
15971 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15972 aix_use_runtimelinking
=yes
15979 exp_sym_flag
='-bexport'
15980 no_entry_flag
='-bnoentry'
15983 # When large executables or shared objects are built, AIX ld can
15984 # have problems creating the table of contents. If linking a library
15985 # or program results in "error TOC overflow" add -mminimal-toc to
15986 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15987 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15989 archive_cmds_F77
=''
15990 hardcode_direct_F77
=yes
15991 hardcode_libdir_separator_F77
=':'
15992 link_all_deplibs_F77
=yes
15994 if test "$GCC" = yes; then
15995 case $host_os in aix4.
[012]|aix4.
[012].
*)
15996 # We only want to do this on AIX 4.2 and lower, the check
15997 # below for broken collect2 doesn't work under 4.3+
15998 collect2name
=`${CC} -print-prog-name=collect2`
15999 if test -f "$collect2name" && \
16000 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16002 # We have reworked collect2
16005 # We have old collect2
16006 hardcode_direct_F77
=unsupported
16007 # It fails to find uninstalled libraries when the uninstalled
16008 # path is not listed in the libpath. Setting hardcode_minus_L
16009 # to unsupported forces relinking
16010 hardcode_minus_L_F77
=yes
16011 hardcode_libdir_flag_spec_F77
='-L$libdir'
16012 hardcode_libdir_separator_F77
=
16016 shared_flag
='-shared'
16017 if test "$aix_use_runtimelinking" = yes; then
16018 shared_flag
="$shared_flag "'${wl}-G'
16022 if test "$host_cpu" = ia64
; then
16023 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16024 # chokes on -Wl,-G. The following line is correct:
16027 if test "$aix_use_runtimelinking" = yes; then
16028 shared_flag
='${wl}-G'
16030 shared_flag
='${wl}-bM:SRE'
16035 # It seems that -bexpall does not export symbols beginning with
16036 # underscore (_), so it is better to generate a list of symbols to export.
16037 always_export_symbols_F77
=yes
16038 if test "$aix_use_runtimelinking" = yes; then
16039 # Warning - without using the other runtime loading flags (-brtl),
16040 # -berok will link without error, but may produce a broken library.
16041 allow_undefined_flag_F77
='-berok'
16042 # Determine the default libpath from the value encoded in an empty executable.
16043 cat >conftest.
$ac_ext <<_ACEOF
16048 rm -f conftest.
$ac_objext conftest
$ac_exeext
16049 if { (ac_try
="$ac_link"
16050 case "(($ac_try" in
16051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16052 *) ac_try_echo=$ac_try;;
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055 (eval "$ac_link") 2>conftest.er1
16057 grep -v '^ *+' conftest.er1 >conftest.err
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && {
16062 test -z "$ac_f77_werror_flag" ||
16063 test ! -s conftest.err
16064 } && test -s conftest$ac_exeext &&
16065 $as_test_x conftest$ac_exeext; then
16067 lt_aix_libpath_sed='
16068 /Import File Strings/,/^$/ {
16074 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16075 # Check for a 64-bit object if we didn't find anything.
16076 if test -z "$aix_libpath"; then
16077 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16087 conftest$ac_exeext conftest.$ac_ext
16088 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16090 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16091 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"
16093 if test "$host_cpu" = ia64; then
16094 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16095 allow_undefined_flag_F77="-z nodefs"
16096 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"
16098 # Determine the default libpath from the value encoded in an empty executable.
16099 cat >conftest.$ac_ext <<_ACEOF
16104 rm -f conftest.$ac_objext conftest$ac_exeext
16105 if { (ac_try="$ac_link"
16106 case "(($ac_try" in
16107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16108 *) ac_try_echo
=$ac_try;;
16110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16111 (eval "$ac_link") 2>conftest.er1
16113 grep -v '^ *+' conftest.er1
>conftest.err
16115 cat conftest.err
>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); } && {
16118 test -z "$ac_f77_werror_flag" ||
16119 test ! -s conftest.err
16120 } && test -s conftest
$ac_exeext &&
16121 $as_test_x conftest
$ac_exeext; then
16123 lt_aix_libpath_sed
='
16124 /Import File Strings/,/^$/ {
16130 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16131 # Check for a 64-bit object if we didn't find anything.
16132 if test -z "$aix_libpath"; then
16133 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16143 conftest
$ac_exeext conftest.
$ac_ext
16144 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16146 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16147 # Warning - without using the other run time loading flags,
16148 # -berok will link without error, but may produce a broken library.
16149 no_undefined_flag_F77
=' ${wl}-bernotok'
16150 allow_undefined_flag_F77
=' ${wl}-berok'
16151 # Exported symbols can be pulled into shared objects from archives
16152 whole_archive_flag_spec_F77
='$convenience'
16153 archive_cmds_need_lc_F77
=yes
16154 # This is similar to how AIX traditionally builds its shared libraries.
16155 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'
16161 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)'
16162 hardcode_libdir_flag_spec_F77
='-L$libdir'
16163 hardcode_minus_L_F77
=yes
16164 # see comment about different semantics on the GNU ld section
16169 export_dynamic_flag_spec_F77
=-rdynamic
16172 cygwin
* | mingw
* | pw32
*)
16173 # When not using gcc, we currently assume that we are using
16174 # Microsoft Visual C++.
16175 # hardcode_libdir_flag_spec is actually meaningless, as there is
16176 # no search path for DLLs.
16177 hardcode_libdir_flag_spec_F77
=' '
16178 allow_undefined_flag_F77
=unsupported
16179 # Tell ltmain to make .lib files, not .a files.
16181 # Tell ltmain to make .dll files, not .so files.
16183 # FIXME: Setting linknames here is a bad hack.
16184 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16185 # The linker will automatically build a .lib file if we build a DLL.
16186 old_archive_From_new_cmds_F77
='true'
16187 # FIXME: Should let the user specify the lib program.
16188 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16189 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16190 enable_shared_with_static_runtimes_F77
=yes
16193 darwin
* | rhapsody
*)
16195 rhapsody
* | darwin1.
[012])
16196 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16199 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16200 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16202 case ${MACOSX_DEPLOYMENT_TARGET} in
16204 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16207 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16213 archive_cmds_need_lc_F77
=no
16214 hardcode_direct_F77
=no
16215 hardcode_automatic_F77
=yes
16216 hardcode_shlibpath_var_F77
=unsupported
16217 whole_archive_flag_spec_F77
=''
16218 link_all_deplibs_F77
=yes
16219 if test "$GCC" = yes ; then
16220 output_verbose_link_cmd
='echo'
16221 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16222 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16223 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16224 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16226 case $cc_basename in
16228 output_verbose_link_cmd
='echo'
16229 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16230 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16231 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16232 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}'
16233 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}'
16243 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16244 hardcode_libdir_flag_spec_F77
='-L$libdir'
16245 hardcode_shlibpath_var_F77
=no
16252 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16253 # support. Future versions do this automatically, but an explicit c++rt0.o
16254 # does not break anything, and helps significantly (at the cost of a little
16257 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16258 hardcode_libdir_flag_spec_F77
='-R$libdir'
16259 hardcode_direct_F77
=yes
16260 hardcode_shlibpath_var_F77
=no
16263 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16265 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16266 hardcode_direct_F77
=yes
16267 hardcode_minus_L_F77
=yes
16268 hardcode_shlibpath_var_F77
=no
16271 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16272 freebsd
* | dragonfly
*)
16273 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16274 hardcode_libdir_flag_spec_F77
='-R$libdir'
16275 hardcode_direct_F77
=yes
16276 hardcode_shlibpath_var_F77
=no
16280 if test "$GCC" = yes; then
16281 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'
16283 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'
16285 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16286 hardcode_libdir_separator_F77
=:
16287 hardcode_direct_F77
=yes
16289 # hardcode_minus_L: Not really in the search PATH,
16290 # but as the default location of the library.
16291 hardcode_minus_L_F77
=yes
16292 export_dynamic_flag_spec_F77
='${wl}-E'
16296 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16297 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16299 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16301 if test "$with_gnu_ld" = no
; then
16302 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16303 hardcode_libdir_separator_F77
=:
16305 hardcode_direct_F77
=yes
16306 export_dynamic_flag_spec_F77
='${wl}-E'
16308 # hardcode_minus_L: Not really in the search PATH,
16309 # but as the default location of the library.
16310 hardcode_minus_L_F77
=yes
16315 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16318 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16321 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16324 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16330 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16333 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16336 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16340 if test "$with_gnu_ld" = no
; then
16341 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16342 hardcode_libdir_separator_F77
=:
16346 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16347 hardcode_direct_F77
=no
16348 hardcode_shlibpath_var_F77
=no
16351 hardcode_direct_F77
=yes
16352 export_dynamic_flag_spec_F77
='${wl}-E'
16354 # hardcode_minus_L: Not really in the search PATH,
16355 # but as the default location of the library.
16356 hardcode_minus_L_F77
=yes
16362 irix5
* | irix6
* | nonstopux
*)
16363 if test "$GCC" = yes; then
16364 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'
16366 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'
16367 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16369 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16370 hardcode_libdir_separator_F77
=:
16371 link_all_deplibs_F77
=yes
16374 netbsd
* | netbsdelf
*-gnu)
16375 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16376 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16378 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16380 hardcode_libdir_flag_spec_F77
='-R$libdir'
16381 hardcode_direct_F77
=yes
16382 hardcode_shlibpath_var_F77
=no
16386 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16387 hardcode_direct_F77
=yes
16388 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16389 hardcode_libdir_separator_F77
=:
16390 hardcode_shlibpath_var_F77
=no
16394 if test -f /usr
/libexec
/ld.so
; then
16395 hardcode_direct_F77
=yes
16396 hardcode_shlibpath_var_F77
=no
16397 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16398 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16399 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16400 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16401 export_dynamic_flag_spec_F77
='${wl}-E'
16404 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16405 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16406 hardcode_libdir_flag_spec_F77
='-R$libdir'
16409 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16410 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16420 hardcode_libdir_flag_spec_F77
='-L$libdir'
16421 hardcode_minus_L_F77
=yes
16422 allow_undefined_flag_F77
=unsupported
16423 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'
16424 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16428 if test "$GCC" = yes; then
16429 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16430 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'
16432 allow_undefined_flag_F77
=' -expect_unresolved \*'
16433 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'
16435 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16436 hardcode_libdir_separator_F77
=:
16439 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16440 if test "$GCC" = yes; then
16441 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16442 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'
16443 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16445 allow_undefined_flag_F77
=' -expect_unresolved \*'
16446 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'
16447 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~
16448 $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'
16450 # Both c and cxx compiler support -rpath directly
16451 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16453 hardcode_libdir_separator_F77
=:
16457 no_undefined_flag_F77
=' -z text'
16458 if test "$GCC" = yes; then
16460 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16461 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16462 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16465 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16466 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16467 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16469 hardcode_libdir_flag_spec_F77
='-R$libdir'
16470 hardcode_shlibpath_var_F77
=no
16472 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16474 # The compiler driver will combine and reorder linker options,
16475 # but understands `-z linker_flag'. GCC discards it without `$wl',
16476 # but is careful enough not to reorder.
16477 # Supported since Solaris 2.6 (maybe 2.5.1?)
16478 if test "$GCC" = yes; then
16479 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16481 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
16485 link_all_deplibs_F77
=yes
16489 if test "x$host_vendor" = xsequent
; then
16490 # Use $CC to link under sequent, because it throws in some extra .o
16491 # files that make .init and .fini sections work.
16492 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16494 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16496 hardcode_libdir_flag_spec_F77
='-L$libdir'
16497 hardcode_direct_F77
=yes
16498 hardcode_minus_L_F77
=yes
16499 hardcode_shlibpath_var_F77
=no
16503 case $host_vendor in
16505 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16506 hardcode_direct_F77
=yes # is this really true???
16509 ## LD is ld it makes a PLAMLIB
16510 ## CC just makes a GrossModule.
16511 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16512 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16513 hardcode_direct_F77
=no
16516 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16517 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16520 runpath_var
='LD_RUN_PATH'
16521 hardcode_shlibpath_var_F77
=no
16525 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16526 hardcode_shlibpath_var_F77
=no
16527 export_dynamic_flag_spec_F77
='-Bexport'
16531 if test -d /usr
/nec
; then
16532 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16533 hardcode_shlibpath_var_F77
=no
16534 runpath_var
=LD_RUN_PATH
16535 hardcode_runpath_var
=yes
16540 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16541 no_undefined_flag_F77
='${wl}-z,text'
16542 archive_cmds_need_lc_F77
=no
16543 hardcode_shlibpath_var_F77
=no
16544 runpath_var
='LD_RUN_PATH'
16546 if test "$GCC" = yes; then
16547 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16548 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16550 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16551 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16555 sysv5
* | sco3.2v5
* | sco5v6
*)
16556 # Note: We can NOT use -z defs as we might desire, because we do not
16557 # link with -lc, and that would cause any symbols used from libc to
16558 # always be unresolved, which means just about no library would
16559 # ever link correctly. If we're not using GNU ld we use -z text
16560 # though, which does catch some bad symbols but isn't as heavy-handed
16562 no_undefined_flag_F77
='${wl}-z,text'
16563 allow_undefined_flag_F77
='${wl}-z,nodefs'
16564 archive_cmds_need_lc_F77
=no
16565 hardcode_shlibpath_var_F77
=no
16566 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16567 hardcode_libdir_separator_F77
=':'
16568 link_all_deplibs_F77
=yes
16569 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16570 runpath_var
='LD_RUN_PATH'
16572 if test "$GCC" = yes; then
16573 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16574 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16576 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16577 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16582 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16583 hardcode_libdir_flag_spec_F77
='-L$libdir'
16584 hardcode_shlibpath_var_F77
=no
16593 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16594 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16595 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16598 # Do we need to explicitly link libc?
16600 case "x$archive_cmds_need_lc_F77" in
16602 # Assume -lc should be added
16603 archive_cmds_need_lc_F77
=yes
16605 if test "$enable_shared" = yes && test "$GCC" = yes; then
16606 case $archive_cmds_F77 in
16608 # FIXME: we may have to deal with multi-command sequences.
16611 # Test whether the compiler implicitly links with -lc since on some
16612 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16613 # to ld, don't add -lc before -lgcc.
16614 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16615 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } 2>conftest.err
; then
16626 libobjs
=conftest.
$ac_objext
16628 wl
=$lt_prog_compiler_wl_F77
16629 pic_flag
=$lt_prog_compiler_pic_F77
16635 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16636 allow_undefined_flag_F77
=
16637 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16638 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }
16643 archive_cmds_need_lc_F77
=no
16645 archive_cmds_need_lc_F77
=yes
16647 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16649 cat conftest.err
1>&5
16652 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16653 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16660 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16661 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16662 library_names_spec
=
16663 libname_spec
='lib$name'
16667 postuninstall_cmds
=
16671 shlibpath_overrides_runpath
=unknown
16673 dynamic_linker
="$host_os ld.so"
16674 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16676 need_lib_prefix
=unknown
16677 hardcode_into_libs
=no
16679 # when you set need_version to no, make sure it does not cause -set_version
16680 # flags to be left without arguments
16681 need_version
=unknown
16686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16687 shlibpath_var
=LIBPATH
16689 # AIX 3 has no versioning support, so we append a major version to the name.
16690 soname_spec
='${libname}${release}${shared_ext}$major'
16697 hardcode_into_libs
=yes
16698 if test "$host_cpu" = ia64
; then
16699 # AIX 5 supports IA64
16700 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16701 shlibpath_var
=LD_LIBRARY_PATH
16703 # With GCC up to 2.95.x, collect2 would create an import file
16704 # for dependence libraries. The import file would start with
16705 # the line `#! .'. This would cause the generated library to
16706 # depend on `.', always an invalid library. This was fixed in
16707 # development snapshots of GCC prior to 3.0.
16709 aix4 | aix4.
[01] | aix4.
[01].
*)
16710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16712 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16715 can_build_shared
=no
16719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16720 # soname into executable. Probably we can add versioning support to
16721 # collect2, so additional links can be useful in future.
16722 if test "$aix_use_runtimelinking" = yes; then
16723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16724 # instead of lib<name>.a to let people know that these are not
16725 # typical AIX shared libraries.
16726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16728 # We preserve .a as extension for shared libraries through AIX4.2
16729 # and later when we are not doing run time linking.
16730 library_names_spec
='${libname}${release}.a $libname.a'
16731 soname_spec
='${libname}${release}${shared_ext}$major'
16733 shlibpath_var
=LIBPATH
16738 library_names_spec
='$libname.ixlibrary $libname.a'
16739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16740 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'
16744 library_names_spec
='${libname}${shared_ext}'
16745 dynamic_linker
="$host_os ld.so"
16746 shlibpath_var
=LIBRARY_PATH
16752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 soname_spec
='${libname}${release}${shared_ext}$major'
16754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16755 shlibpath_var
=LD_LIBRARY_PATH
16756 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16757 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16758 # the default ld.so.conf also contains /usr/contrib/lib and
16759 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16760 # libtool to hard-code these into programs
16763 cygwin
* | mingw
* | pw32
*)
16764 version_type
=windows
16769 case $GCC,$host_os in
16770 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16771 library_names_spec
='$libname.dll.a'
16772 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16773 postinstall_cmds
='base_file=`basename \${file}`~
16774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16775 dldir=$destdir/`dirname \$dlpath`~
16776 test -d \$dldir || mkdir -p \$dldir~
16777 $install_prog $dir/$dlname \$dldir/$dlname~
16778 chmod a+x \$dldir/$dlname'
16779 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16780 dlpath=$dir/\$dldll~
16782 shlibpath_overrides_runpath
=yes
16786 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16787 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16788 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16791 # MinGW DLLs use traditional 'lib' prefix
16792 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16793 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16794 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16795 # It is most probably a Windows format PATH printed by
16796 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16797 # path with ; separators, and with drive letters. We can handle the
16798 # drive letters (cygwin fileutils understands them), so leave them,
16799 # especially as we might pass files found there to a mingw objdump,
16800 # which wouldn't understand a cygwinified path. Ahh.
16801 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16803 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16807 # pw32 DLLs use 'pw' prefix rather than 'lib'
16808 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16814 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16817 dynamic_linker
='Win32 ld.exe'
16818 # FIXME: first we should search . and the directory the executable is in
16822 darwin
* | rhapsody
*)
16823 dynamic_linker
="$host_os dyld"
16824 version_type
=darwin
16827 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16828 soname_spec
='${libname}${release}${major}$shared_ext'
16829 shlibpath_overrides_runpath
=yes
16830 shlibpath_var
=DYLD_LIBRARY_PATH
16831 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16833 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16841 soname_spec
='${libname}${release}${shared_ext}$major'
16842 shlibpath_var
=LD_LIBRARY_PATH
16849 freebsd
* | dragonfly
*)
16850 # DragonFly does not have aout. When/if they implement a new
16851 # versioning mechanism, adjust this.
16852 if test -x /usr
/bin
/objformat
; then
16853 objformat
=`/usr/bin/objformat`
16856 freebsd
[123]*) objformat
=aout
;;
16857 *) objformat
=elf
;;
16860 version_type
=freebsd-
$objformat
16861 case $version_type in
16863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16868 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16872 shlibpath_var
=LD_LIBRARY_PATH
16875 shlibpath_overrides_runpath
=yes
16877 freebsd3.
[01]* | freebsdelf3.
[01]*)
16878 shlibpath_overrides_runpath
=yes
16879 hardcode_into_libs
=yes
16881 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16882 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16883 shlibpath_overrides_runpath
=no
16884 hardcode_into_libs
=yes
16886 *) # from 4.6 on, and DragonFly
16887 shlibpath_overrides_runpath
=yes
16888 hardcode_into_libs
=yes
16897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16898 soname_spec
='${libname}${release}${shared_ext}$major'
16899 shlibpath_var
=LD_LIBRARY_PATH
16900 hardcode_into_libs
=yes
16903 hpux9
* | hpux10
* | hpux11
*)
16904 # Give a soname corresponding to the major version so that dld.sl refuses to
16905 # link against other versions.
16912 hardcode_into_libs
=yes
16913 dynamic_linker
="$host_os dld.so"
16914 shlibpath_var
=LD_LIBRARY_PATH
16915 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16917 soname_spec
='${libname}${release}${shared_ext}$major'
16918 if test "X$HPUX_IA64_MODE" = X32
; then
16919 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16921 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16923 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16927 hardcode_into_libs
=yes
16928 dynamic_linker
="$host_os dld.sl"
16929 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16930 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16932 soname_spec
='${libname}${release}${shared_ext}$major'
16933 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16938 dynamic_linker
="$host_os dld.sl"
16939 shlibpath_var
=SHLIB_PATH
16940 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16942 soname_spec
='${libname}${release}${shared_ext}$major'
16945 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16946 postinstall_cmds
='chmod 555 $lib'
16953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16954 soname_spec
='${libname}${release}${shared_ext}$major'
16955 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16956 shlibpath_var
=LD_LIBRARY_PATH
16957 shlibpath_overrides_runpath
=no
16958 hardcode_into_libs
=yes
16961 irix5
* | irix6
* | nonstopux
*)
16963 nonstopux
*) version_type
=nonstopux
;;
16965 if test "$lt_cv_prog_gnu_ld" = yes; then
16973 soname_spec
='${libname}${release}${shared_ext}$major'
16974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16976 irix5
* | nonstopux
*)
16977 libsuff
= shlibsuff
=
16980 case $LD in # libtool.m4 will add one of these switches to LD
16981 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16982 libsuff
= shlibsuff
= libmagic
=32-bit;;
16983 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16984 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16985 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16986 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16987 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16991 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16992 shlibpath_overrides_runpath
=no
16993 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16994 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16995 hardcode_into_libs
=yes
16998 # No shared lib support for Linux oldld, aout, or coff.
16999 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17003 # This must be Linux ELF.
17004 linux
* | k
*bsd
*-gnu)
17008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17009 soname_spec
='${libname}${release}${shared_ext}$major'
17010 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17011 shlibpath_var
=LD_LIBRARY_PATH
17012 shlibpath_overrides_runpath
=no
17013 # This implies no fast_install, which is unacceptable.
17014 # Some rework will be needed to allow for fast_install
17015 # before this can be enabled.
17016 hardcode_into_libs
=yes
17018 # Append ld.so.conf contents to the search path
17019 if test -f /etc
/ld.so.conf
; then
17020 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' ' '`
17021 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17024 # We used to test for /lib/ld.so.1 and disable shared libraries on
17025 # powerpc, because MkLinux only supported shared libraries with the
17026 # GNU dynamic linker. Since this was broken with cross compilers,
17027 # most powerpc-linux boxes support dynamic linking these days and
17028 # people can always --disable-shared, the test was removed, and we
17029 # assume the GNU/Linux dynamic linker is in use.
17030 dynamic_linker
='GNU/Linux ld.so'
17037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17038 soname_spec
='${libname}${release}${shared_ext}$major'
17039 shlibpath_var
=LD_LIBRARY_PATH
17040 shlibpath_overrides_runpath
=no
17041 hardcode_into_libs
=yes
17042 dynamic_linker
='NetBSD ld.elf_so'
17049 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17051 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17052 dynamic_linker
='NetBSD (a.out) ld.so'
17054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17055 soname_spec
='${libname}${release}${shared_ext}$major'
17056 dynamic_linker
='NetBSD ld.elf_so'
17058 shlibpath_var
=LD_LIBRARY_PATH
17059 shlibpath_overrides_runpath
=yes
17060 hardcode_into_libs
=yes
17065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17066 shlibpath_var
=LD_LIBRARY_PATH
17067 shlibpath_overrides_runpath
=yes
17074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17075 soname_spec
='${libname}${release}${shared_ext}$major'
17076 shlibpath_var
=LD_LIBRARY_PATH
17077 shlibpath_overrides_runpath
=yes
17082 sys_lib_dlsearch_path_spec
="/usr/lib"
17084 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17086 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17087 *) need_version
=no
;;
17089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17090 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17091 shlibpath_var
=LD_LIBRARY_PATH
17092 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17094 openbsd2.
[89] | openbsd2.
[89].
*)
17095 shlibpath_overrides_runpath
=no
17098 shlibpath_overrides_runpath
=yes
17102 shlibpath_overrides_runpath
=yes
17107 libname_spec
='$name'
17110 library_names_spec
='$libname${shared_ext} $libname.a'
17111 dynamic_linker
='OS/2 ld.exe'
17112 shlibpath_var
=LIBPATH
17115 osf3
* | osf4
* | osf5
*)
17119 soname_spec
='${libname}${release}${shared_ext}$major'
17120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17121 shlibpath_var
=LD_LIBRARY_PATH
17122 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17123 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17135 soname_spec
='${libname}${release}${shared_ext}$major'
17136 shlibpath_var
=LD_LIBRARY_PATH
17137 shlibpath_overrides_runpath
=yes
17138 hardcode_into_libs
=yes
17139 # ldd complains unless libraries are executable
17140 postinstall_cmds
='chmod +x $lib'
17145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17146 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17147 shlibpath_var
=LD_LIBRARY_PATH
17148 shlibpath_overrides_runpath
=yes
17149 if test "$with_gnu_ld" = yes; then
17157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17158 soname_spec
='${libname}${release}${shared_ext}$major'
17159 shlibpath_var
=LD_LIBRARY_PATH
17160 case $host_vendor in
17162 shlibpath_overrides_runpath
=no
17164 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17165 runpath_var
=LD_RUN_PATH
17173 shlibpath_overrides_runpath
=no
17174 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17180 if test -d /usr
/nec
;then
17182 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17183 soname_spec
='$libname${shared_ext}.$major'
17184 shlibpath_var
=LD_LIBRARY_PATH
17188 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17189 version_type
=freebsd-elf
17192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17193 soname_spec
='${libname}${release}${shared_ext}$major'
17194 shlibpath_var
=LD_LIBRARY_PATH
17195 hardcode_into_libs
=yes
17196 if test "$with_gnu_ld" = yes; then
17197 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17198 shlibpath_overrides_runpath
=no
17200 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17201 shlibpath_overrides_runpath
=yes
17204 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17208 sys_lib_dlsearch_path_spec
='/usr/lib'
17213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17214 soname_spec
='${libname}${release}${shared_ext}$major'
17215 shlibpath_var
=LD_LIBRARY_PATH
17222 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17223 echo "${ECHO_T}$dynamic_linker" >&6; }
17224 test "$dynamic_linker" = no
&& can_build_shared
=no
17226 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17227 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
17232 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17233 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17234 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
17239 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17241 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17242 if test "$GCC" = yes; then
17243 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17246 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17247 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17248 hardcode_action_F77
=
17249 if test -n "$hardcode_libdir_flag_spec_F77" || \
17250 test -n "$runpath_var_F77" || \
17251 test "X$hardcode_automatic_F77" = "Xyes" ; then
17253 # We can hardcode non-existant directories.
17254 if test "$hardcode_direct_F77" != no
&&
17255 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17256 # have to relink, otherwise we might link with an installed library
17257 # when we should be linking with a yet-to-be-installed one
17258 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17259 test "$hardcode_minus_L_F77" != no
; then
17260 # Linking always hardcodes the temporary library directory.
17261 hardcode_action_F77
=relink
17263 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17264 hardcode_action_F77
=immediate
17267 # We cannot hardcode anything, or else we can only hardcode existing
17269 hardcode_action_F77
=unsupported
17271 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17272 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17274 if test "$hardcode_action_F77" = relink
; then
17275 # Fast installation is not supported
17276 enable_fast_install
=no
17277 elif test "$shlibpath_overrides_runpath" = yes ||
17278 test "$enable_shared" = no
; then
17279 # Fast installation is not necessary
17280 enable_fast_install
=needless
17284 # The else clause should only fire when bootstrapping the
17285 # libtool distribution, otherwise you forgot to ship ltmain.sh
17286 # with your package, and you will get complaints that there are
17287 # no rules to generate ltmain.sh.
17288 if test -f "$ltmain"; then
17289 # See if we are running on zsh, and set the options which allow our commands through
17290 # without removal of \ escapes.
17291 if test -n "${ZSH_VERSION+set}" ; then
17292 setopt NO_GLOB_SUBST
17294 # Now quote all the things that may contain metacharacters while being
17295 # careful not to overquote the AC_SUBSTed values. We take copies of the
17296 # variables and quote the copies for generation of the libtool script.
17297 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17299 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17300 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17301 deplibs_check_method reload_flag reload_cmds need_locks \
17302 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17303 lt_cv_sys_global_symbol_to_c_name_address \
17304 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17305 old_postinstall_cmds old_postuninstall_cmds \
17309 lt_prog_compiler_wl_F77 \
17310 lt_prog_compiler_pic_F77 \
17311 lt_prog_compiler_static_F77 \
17312 lt_prog_compiler_no_builtin_flag_F77 \
17313 export_dynamic_flag_spec_F77 \
17314 thread_safe_flag_spec_F77 \
17315 whole_archive_flag_spec_F77 \
17316 enable_shared_with_static_runtimes_F77 \
17317 old_archive_cmds_F77 \
17318 old_archive_from_new_cmds_F77 \
17319 predep_objects_F77 \
17320 postdep_objects_F77 \
17323 compiler_lib_search_path_F77 \
17324 compiler_lib_search_dirs_F77 \
17326 archive_expsym_cmds_F77 \
17327 postinstall_cmds_F77 \
17328 postuninstall_cmds_F77 \
17329 old_archive_from_expsyms_cmds_F77 \
17330 allow_undefined_flag_F77 \
17331 no_undefined_flag_F77 \
17332 export_symbols_cmds_F77 \
17333 hardcode_libdir_flag_spec_F77 \
17334 hardcode_libdir_flag_spec_ld_F77 \
17335 hardcode_libdir_separator_F77 \
17336 hardcode_automatic_F77 \
17338 module_expsym_cmds_F77 \
17339 lt_cv_prog_compiler_c_o_F77 \
17340 fix_srcfile_path_F77 \
17341 exclude_expsyms_F77 \
17342 include_expsyms_F77
; do
17345 old_archive_cmds_F77 | \
17346 old_archive_from_new_cmds_F77 | \
17347 archive_cmds_F77 | \
17348 archive_expsym_cmds_F77 | \
17349 module_cmds_F77 | \
17350 module_expsym_cmds_F77 | \
17351 old_archive_from_expsyms_cmds_F77 | \
17352 export_symbols_cmds_F77 | \
17353 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17354 postinstall_cmds | postuninstall_cmds | \
17355 old_postinstall_cmds | old_postuninstall_cmds | \
17356 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17357 # Double-quote double-evaled strings.
17358 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17361 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17367 *'\$0 --fallback-echo"')
17368 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17374 cat <<__EOF__ >> "$cfgfile"
17375 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17377 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17379 # Shell to use when invoking shell scripts.
17382 # Whether or not to build shared libraries.
17383 build_libtool_libs=$enable_shared
17385 # Whether or not to build static libraries.
17386 build_old_libs=$enable_static
17388 # Whether or not to add -lc for building shared libraries.
17389 build_libtool_need_lc=$archive_cmds_need_lc_F77
17391 # Whether or not to disallow shared libs when runtime libs are static
17392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17394 # Whether or not to optimize for fast installation.
17395 fast_install=$enable_fast_install
17398 host_alias=$host_alias
17402 # The build system.
17403 build_alias=$build_alias
17407 # An echo program that does not interpret backslashes.
17412 AR_FLAGS=$lt_AR_FLAGS
17417 # LTCC compiler flags.
17418 LTCFLAGS=$lt_LTCFLAGS
17420 # A language-specific compiler.
17421 CC=$lt_compiler_F77
17423 # Is the compiler the GNU C compiler?
17429 # The linker used to build libraries.
17432 # Whether we need hard or soft links.
17435 # A BSD-compatible nm program.
17438 # A symbol stripping program
17441 # Used to examine libraries when file_magic_cmd begins "file"
17442 MAGIC_CMD=$MAGIC_CMD
17444 # Used on cygwin: DLL creation program.
17447 # Used on cygwin: object dumper.
17450 # Used on cygwin: assembler.
17453 # The name of the directory that contains temporary libtool files.
17456 # How to create reloadable object files.
17457 reload_flag=$lt_reload_flag
17458 reload_cmds=$lt_reload_cmds
17460 # How to pass a linker flag through the compiler.
17461 wl=$lt_lt_prog_compiler_wl_F77
17463 # Object file suffix (normally "o").
17464 objext="$ac_objext"
17466 # Old archive suffix (normally "a").
17469 # Shared library suffix (normally ".so").
17470 shrext_cmds='$shrext_cmds'
17472 # Executable file suffix (normally "").
17475 # Additional compiler flags for building library objects.
17476 pic_flag=$lt_lt_prog_compiler_pic_F77
17479 # What is the maximum length of a command?
17480 max_cmd_len=$lt_cv_sys_max_cmd_len
17482 # Does compiler simultaneously support -c and -o options?
17483 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17485 # Must we lock files when doing compilation?
17486 need_locks=$lt_need_locks
17488 # Do we need the lib prefix for modules?
17489 need_lib_prefix=$need_lib_prefix
17491 # Do we need a version for libraries?
17492 need_version=$need_version
17494 # Whether dlopen is supported.
17495 dlopen_support=$enable_dlopen
17497 # Whether dlopen of programs is supported.
17498 dlopen_self=$enable_dlopen_self
17500 # Whether dlopen of statically linked programs is supported.
17501 dlopen_self_static=$enable_dlopen_self_static
17503 # Compiler flag to prevent dynamic linking.
17504 link_static_flag=$lt_lt_prog_compiler_static_F77
17506 # Compiler flag to turn off builtin functions.
17507 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17509 # Compiler flag to allow reflexive dlopens.
17510 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17512 # Compiler flag to generate shared objects directly from archives.
17513 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17515 # Compiler flag to generate thread-safe objects.
17516 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17518 # Library versioning type.
17519 version_type=$version_type
17521 # Format of library name prefix.
17522 libname_spec=$lt_libname_spec
17524 # List of archive names. First name is the real one, the rest are links.
17525 # The last name is the one that the linker finds with -lNAME.
17526 library_names_spec=$lt_library_names_spec
17528 # The coded name of the library, if different from the real name.
17529 soname_spec=$lt_soname_spec
17531 # Commands used to build and install an old-style archive.
17533 old_archive_cmds=$lt_old_archive_cmds_F77
17534 old_postinstall_cmds=$lt_old_postinstall_cmds
17535 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17537 # Create an old-style archive from a shared archive.
17538 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17540 # Create a temporary old-style archive to link instead of a shared archive.
17541 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17543 # Commands used to build and install a shared archive.
17544 archive_cmds=$lt_archive_cmds_F77
17545 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17546 postinstall_cmds=$lt_postinstall_cmds
17547 postuninstall_cmds=$lt_postuninstall_cmds
17549 # Commands used to build a loadable module (assumed same as above if empty)
17550 module_cmds=$lt_module_cmds_F77
17551 module_expsym_cmds=$lt_module_expsym_cmds_F77
17553 # Commands to strip libraries.
17554 old_striplib=$lt_old_striplib
17555 striplib=$lt_striplib
17557 # Dependencies to place before the objects being linked to create a
17559 predep_objects=$lt_predep_objects_F77
17561 # Dependencies to place after the objects being linked to create a
17563 postdep_objects=$lt_postdep_objects_F77
17565 # Dependencies to place before the objects being linked to create a
17567 predeps=$lt_predeps_F77
17569 # Dependencies to place after the objects being linked to create a
17571 postdeps=$lt_postdeps_F77
17573 # The directories searched by this compiler when creating a shared
17575 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17577 # The library search path used internally by the compiler when linking
17578 # a shared library.
17579 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17581 # Method to check whether dependent libraries are shared objects.
17582 deplibs_check_method=$lt_deplibs_check_method
17584 # Command to use when deplibs_check_method == file_magic.
17585 file_magic_cmd=$lt_file_magic_cmd
17587 # Flag that allows shared libraries with undefined symbols to be built.
17588 allow_undefined_flag=$lt_allow_undefined_flag_F77
17590 # Flag that forces no undefined symbols.
17591 no_undefined_flag=$lt_no_undefined_flag_F77
17593 # Commands used to finish a libtool library installation in a directory.
17594 finish_cmds=$lt_finish_cmds
17596 # Same as above, but a single script fragment to be evaled but not shown.
17597 finish_eval=$lt_finish_eval
17599 # Take the output of nm and produce a listing of raw symbols and C names.
17600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17602 # Transform the output of nm in a proper C declaration
17603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17605 # Transform the output of nm in a C name address pair
17606 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17608 # This is the shared library runtime path variable.
17609 runpath_var=$runpath_var
17611 # This is the shared library path variable.
17612 shlibpath_var=$shlibpath_var
17614 # Is shlibpath searched before the hard-coded library search path?
17615 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17617 # How to hardcode a shared library path into an executable.
17618 hardcode_action=$hardcode_action_F77
17620 # Whether we should hardcode library paths into libraries.
17621 hardcode_into_libs=$hardcode_into_libs
17623 # Flag to hardcode \$libdir into a binary during linking.
17624 # This must work even if \$libdir does not exist.
17625 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17627 # If ld is used when linking, flag to hardcode \$libdir into
17628 # a binary during linking. This must work even if \$libdir does
17630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17632 # Whether we need a single -rpath flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17635 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17636 # resulting binary.
17637 hardcode_direct=$hardcode_direct_F77
17639 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17640 # resulting binary.
17641 hardcode_minus_L=$hardcode_minus_L_F77
17643 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17644 # the resulting binary.
17645 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17647 # Set to yes if building a shared library automatically hardcodes DIR into the library
17648 # and all subsequent libraries and executables linked against it.
17649 hardcode_automatic=$hardcode_automatic_F77
17651 # Variables whose values should be saved in libtool wrapper scripts and
17652 # restored at relink time.
17653 variables_saved_for_relink="$variables_saved_for_relink"
17655 # Whether libtool must link a program against all its dependency libraries.
17656 link_all_deplibs=$link_all_deplibs_F77
17658 # Compile-time system search path for libraries
17659 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17661 # Run-time system search path for libraries
17662 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17664 # Fix the shell variable \$srcfile for the compiler.
17665 fix_srcfile_path=$lt_fix_srcfile_path
17667 # Set to yes if exported symbols are required.
17668 always_export_symbols=$always_export_symbols_F77
17670 # The commands to list exported symbols.
17671 export_symbols_cmds=$lt_export_symbols_cmds_F77
17673 # The commands to extract the exported symbol list from a shared archive.
17674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17676 # Symbols that should not be listed in the preloaded symbols.
17677 exclude_expsyms=$lt_exclude_expsyms_F77
17679 # Symbols that must always be exported.
17680 include_expsyms=$lt_include_expsyms_F77
17682 # ### END LIBTOOL TAG CONFIG: $tagname
17688 # If there is no Makefile yet, we rely on a make rule to execute
17689 # `config.status --recheck' to rerun these tests and create the
17690 # libtool script then.
17691 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17692 if test -f "$ltmain_in"; then
17693 test -f Makefile
&& make "$ltmain"
17699 ac_cpp
='$CPP $CPPFLAGS'
17700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17712 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17715 # Source file extension for Java test sources.
17718 # Object file extension for compiled Java test sources.
17722 # Code to be used in simple compile tests
17723 lt_simple_compile_test_code
="class foo {}"
17725 # Code to be used in simple link tests
17726 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17728 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17730 # If no C compiler was specified, use CC.
17733 # If no C compiler flags were specified, use CFLAGS.
17734 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17736 # Allow CC to be a program name with arguments.
17740 # save warnings/boilerplate of simple test code
17741 ac_outfile
=conftest.
$ac_objext
17742 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17743 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17744 _lt_compiler_boilerplate
=`cat conftest.err`
17747 ac_outfile
=conftest.
$ac_objext
17748 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17749 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17750 _lt_linker_boilerplate
=`cat conftest.err`
17754 # Allow CC to be a program name with arguments.
17759 for cc_temp
in $compiler""; do
17761 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17762 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17767 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17770 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17771 archive_cmds_need_lc_GCJ
=no
17773 old_archive_cmds_GCJ
=$old_archive_cmds
17776 lt_prog_compiler_no_builtin_flag_GCJ
=
17778 if test "$GCC" = yes; then
17779 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17782 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17783 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17784 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 lt_cv_prog_compiler_rtti_exceptions
=no
17788 ac_outfile
=conftest.
$ac_objext
17789 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17790 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17791 # Insert the option either (1) after the last *FLAGS variable, or
17792 # (2) before a word containing "conftest.", or (3) at the end.
17793 # Note that $ac_compile itself does not contain backslashes and begins
17794 # with a dollar sign (not a hyphen), so the echo should work correctly.
17795 # The option is referenced via a variable to avoid confusing sed.
17796 lt_compile
=`echo "$ac_compile" | $SED \
17797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17799 -e 's:$: $lt_compiler_flag:'`
17800 (eval echo "\"\$as_me:17800: $lt_compile\"" >&5)
17801 (eval "$lt_compile" 2>conftest.err
)
17803 cat conftest.err
>&5
17804 echo "$as_me:17804: \$? = $ac_status" >&5
17805 if (exit $ac_status) && test -s "$ac_outfile"; then
17806 # The compiler can only warn and ignore the option if not recognized
17807 # So say no if there are warnings other than the usual output.
17808 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17809 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17810 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17811 lt_cv_prog_compiler_rtti_exceptions
=yes
17817 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17818 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17820 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17821 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17828 lt_prog_compiler_wl_GCJ
=
17829 lt_prog_compiler_pic_GCJ
=
17830 lt_prog_compiler_static_GCJ
=
17832 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17833 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17835 if test "$GCC" = yes; then
17836 lt_prog_compiler_wl_GCJ
='-Wl,'
17837 lt_prog_compiler_static_GCJ
='-static'
17841 # All AIX code is PIC.
17842 if test "$host_cpu" = ia64
; then
17843 # AIX 5 now supports IA64 processor
17844 lt_prog_compiler_static_GCJ
='-Bstatic'
17849 # FIXME: we need at least 68020 code to build shared libraries, but
17850 # adding the `-m68020' flag to GCC prevents building anything better,
17852 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17855 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17856 # PIC is the default for these OSes.
17859 mingw
* | cygwin
* | pw32
* | os2
*)
17860 # This hack is so that the source file can tell whether it is being
17861 # built for inclusion in a dll (and should export symbols for example).
17862 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17863 # (--disable-auto-import) libraries
17867 darwin
* | rhapsody
*)
17868 # PIC is the default on this platform
17869 # Common symbols not allowed in MH_DYLIB files
17870 lt_prog_compiler_pic_GCJ
='-fno-common'
17874 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17875 # Instead, we relocate shared libraries at runtime.
17879 # Just because we use GCC doesn't mean we suddenly get shared libraries
17880 # on systems that don't support them.
17881 lt_prog_compiler_can_build_shared_GCJ
=no
17886 if test -d /usr
/nec
; then
17887 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17892 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17893 # not for PA HP-UX.
17899 lt_prog_compiler_pic_GCJ
='-fPIC'
17905 lt_prog_compiler_pic_GCJ
='-fPIC'
17909 # PORTME Check for flag to pass linker flags through the system compiler.
17912 lt_prog_compiler_wl_GCJ
='-Wl,'
17913 if test "$host_cpu" = ia64
; then
17914 # AIX 5 now supports IA64 processor
17915 lt_prog_compiler_static_GCJ
='-Bstatic'
17917 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17921 # PIC is the default on this platform
17922 # Common symbols not allowed in MH_DYLIB files
17923 case $cc_basename in
17925 lt_prog_compiler_pic_GCJ
='-qnocommon'
17926 lt_prog_compiler_wl_GCJ
='-Wl,'
17931 mingw
* | cygwin
* | pw32
* | os2
*)
17932 # This hack is so that the source file can tell whether it is being
17933 # built for inclusion in a dll (and should export symbols for example).
17937 hpux9
* | hpux10
* | hpux11
*)
17938 lt_prog_compiler_wl_GCJ
='-Wl,'
17939 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17940 # not for PA HP-UX.
17946 lt_prog_compiler_pic_GCJ
='+Z'
17949 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17950 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17953 irix5
* | irix6
* | nonstopux
*)
17954 lt_prog_compiler_wl_GCJ
='-Wl,'
17955 # PIC (with -KPIC) is the default.
17956 lt_prog_compiler_static_GCJ
='-non_shared'
17960 lt_prog_compiler_pic_GCJ
='-KPIC'
17961 lt_prog_compiler_static_GCJ
='-Bstatic'
17964 linux
* | k
*bsd
*-gnu)
17965 case $cc_basename in
17967 lt_prog_compiler_wl_GCJ
='-Wl,'
17968 lt_prog_compiler_pic_GCJ
='-KPIC'
17969 lt_prog_compiler_static_GCJ
='-static'
17971 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17972 # Portland Group compilers (*not* the Pentium gcc compiler,
17973 # which looks to be a dead project)
17974 lt_prog_compiler_wl_GCJ
='-Wl,'
17975 lt_prog_compiler_pic_GCJ
='-fpic'
17976 lt_prog_compiler_static_GCJ
='-Bstatic'
17979 lt_prog_compiler_wl_GCJ
='-Wl,'
17980 # All Alpha code is PIC.
17981 lt_prog_compiler_static_GCJ
='-non_shared'
17984 case `$CC -V 2>&1 | sed 5q` in
17987 lt_prog_compiler_pic_GCJ
='-KPIC'
17988 lt_prog_compiler_static_GCJ
='-Bstatic'
17989 lt_prog_compiler_wl_GCJ
='-Wl,'
17992 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17993 lt_prog_compiler_pic_GCJ
='-KPIC'
17994 lt_prog_compiler_static_GCJ
='-Bstatic'
17995 lt_prog_compiler_wl_GCJ
=''
18002 osf3
* | osf4
* | osf5
*)
18003 lt_prog_compiler_wl_GCJ
='-Wl,'
18004 # All OSF/1 code is PIC.
18005 lt_prog_compiler_static_GCJ
='-non_shared'
18009 lt_prog_compiler_static_GCJ
='-non_shared'
18013 lt_prog_compiler_pic_GCJ
='-KPIC'
18014 lt_prog_compiler_static_GCJ
='-Bstatic'
18015 case $cc_basename in
18016 f77
* | f90
* | f95
*)
18017 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18019 lt_prog_compiler_wl_GCJ
='-Wl,';;
18024 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18025 lt_prog_compiler_pic_GCJ
='-PIC'
18026 lt_prog_compiler_static_GCJ
='-Bstatic'
18029 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18030 lt_prog_compiler_wl_GCJ
='-Wl,'
18031 lt_prog_compiler_pic_GCJ
='-KPIC'
18032 lt_prog_compiler_static_GCJ
='-Bstatic'
18036 if test -d /usr
/nec
;then
18037 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18038 lt_prog_compiler_static_GCJ
='-Bstatic'
18042 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18043 lt_prog_compiler_wl_GCJ
='-Wl,'
18044 lt_prog_compiler_pic_GCJ
='-KPIC'
18045 lt_prog_compiler_static_GCJ
='-Bstatic'
18049 lt_prog_compiler_wl_GCJ
='-Wl,'
18050 lt_prog_compiler_can_build_shared_GCJ
=no
18054 lt_prog_compiler_pic_GCJ
='-pic'
18055 lt_prog_compiler_static_GCJ
='-Bstatic'
18059 lt_prog_compiler_can_build_shared_GCJ
=no
18064 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18065 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18068 # Check to make sure the PIC flag actually works.
18070 if test -n "$lt_prog_compiler_pic_GCJ"; then
18072 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18073 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18074 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 lt_cv_prog_compiler_pic_works_GCJ
=no
18078 ac_outfile
=conftest.
$ac_objext
18079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18080 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18081 # Insert the option either (1) after the last *FLAGS variable, or
18082 # (2) before a word containing "conftest.", or (3) at the end.
18083 # Note that $ac_compile itself does not contain backslashes and begins
18084 # with a dollar sign (not a hyphen), so the echo should work correctly.
18085 # The option is referenced via a variable to avoid confusing sed.
18086 lt_compile
=`echo "$ac_compile" | $SED \
18087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18089 -e 's:$: $lt_compiler_flag:'`
18090 (eval echo "\"\$as_me:18090: $lt_compile\"" >&5)
18091 (eval "$lt_compile" 2>conftest.err
)
18093 cat conftest.err
>&5
18094 echo "$as_me:18094: \$? = $ac_status" >&5
18095 if (exit $ac_status) && test -s "$ac_outfile"; then
18096 # The compiler can only warn and ignore the option if not recognized
18097 # So say no if there are warnings other than the usual output.
18098 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18099 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18100 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18101 lt_cv_prog_compiler_pic_works_GCJ
=yes
18107 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18108 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18110 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18111 case $lt_prog_compiler_pic_GCJ in
18113 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18116 lt_prog_compiler_pic_GCJ
=
18117 lt_prog_compiler_can_build_shared_GCJ
=no
18122 # For platforms which do not support PIC, -DPIC is meaningless:
18124 lt_prog_compiler_pic_GCJ
=
18127 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18132 # Check to make sure the static flag actually works.
18134 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18135 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18136 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18137 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18140 lt_cv_prog_compiler_static_works_GCJ
=no
18141 save_LDFLAGS
="$LDFLAGS"
18142 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18143 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18144 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18145 # The linker can only warn and ignore the option if not recognized
18146 # So say no if there are warnings
18147 if test -s conftest.err
; then
18148 # Append any errors to the config.log.
18149 cat conftest.err
1>&5
18150 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18151 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18152 if diff conftest.exp conftest.er2
>/dev
/null
; then
18153 lt_cv_prog_compiler_static_works_GCJ
=yes
18156 lt_cv_prog_compiler_static_works_GCJ
=yes
18160 LDFLAGS
="$save_LDFLAGS"
18163 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18164 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18166 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18169 lt_prog_compiler_static_GCJ
=
18173 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18174 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18175 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18176 echo $ECHO_N "(cached) $ECHO_C" >&6
18178 lt_cv_prog_compiler_c_o_GCJ
=no
18179 $rm -r conftest
2>/dev
/null
18183 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18185 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18186 # Insert the option either (1) after the last *FLAGS variable, or
18187 # (2) before a word containing "conftest.", or (3) at the end.
18188 # Note that $ac_compile itself does not contain backslashes and begins
18189 # with a dollar sign (not a hyphen), so the echo should work correctly.
18190 lt_compile
=`echo "$ac_compile" | $SED \
18191 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18193 -e 's:$: $lt_compiler_flag:'`
18194 (eval echo "\"\$as_me:18194: $lt_compile\"" >&5)
18195 (eval "$lt_compile" 2>out
/conftest.err
)
18197 cat out
/conftest.err
>&5
18198 echo "$as_me:18198: \$? = $ac_status" >&5
18199 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18201 # The compiler can only warn and ignore the option if not recognized
18202 # So say no if there are warnings
18203 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18204 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18205 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18206 lt_cv_prog_compiler_c_o_GCJ
=yes
18211 # SGI C++ compiler will create directory out/ii_files/ for
18212 # template instantiation
18213 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18214 $rm out
/* && rmdir out
18220 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18221 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18224 hard_links
="nottested"
18225 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18226 # do not overwrite the value of need_locks provided by the user
18227 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18228 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18231 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18233 ln conftest.a conftest.b
2>&5 || hard_links
=no
18234 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18235 { echo "$as_me:$LINENO: result: $hard_links" >&5
18236 echo "${ECHO_T}$hard_links" >&6; }
18237 if test "$hard_links" = no
; then
18238 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18239 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18246 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18247 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18250 allow_undefined_flag_GCJ
=
18251 enable_shared_with_static_runtimes_GCJ
=no
18253 archive_expsym_cmds_GCJ
=
18254 old_archive_From_new_cmds_GCJ
=
18255 old_archive_from_expsyms_cmds_GCJ
=
18256 export_dynamic_flag_spec_GCJ
=
18257 whole_archive_flag_spec_GCJ
=
18258 thread_safe_flag_spec_GCJ
=
18259 hardcode_libdir_flag_spec_GCJ
=
18260 hardcode_libdir_flag_spec_ld_GCJ
=
18261 hardcode_libdir_separator_GCJ
=
18262 hardcode_direct_GCJ
=no
18263 hardcode_minus_L_GCJ
=no
18264 hardcode_shlibpath_var_GCJ
=unsupported
18265 link_all_deplibs_GCJ
=unknown
18266 hardcode_automatic_GCJ
=no
18268 module_expsym_cmds_GCJ
=
18269 always_export_symbols_GCJ
=no
18270 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18271 # include_expsyms should be a list of space-separated symbols to be *always*
18272 # included in the symbol list
18273 include_expsyms_GCJ
=
18274 # exclude_expsyms can be an extended regexp of symbols to exclude
18275 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18276 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18277 # as well as any symbol that contains `d'.
18278 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18279 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18280 # platforms (ab)use it in PIC code, but their linkers get confused if
18281 # the symbol is explicitly referenced. Since portable code cannot
18282 # rely on this symbol name, it's probably fine to never include it in
18283 # preloaded symbol tables.
18284 # Exclude shared library initialization/finalization symbols.
18285 extract_expsyms_cmds
=
18286 # Just being paranoid about ensuring that cc_basename is set.
18287 for cc_temp
in $compiler""; do
18289 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18290 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18295 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18298 cygwin
* | mingw
* | pw32
*)
18299 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18300 # When not using gcc, we currently assume that we are using
18301 # Microsoft Visual C++.
18302 if test "$GCC" != yes; then
18307 # we just hope/assume this is gcc and not c89 (= MSVC++)
18316 if test "$with_gnu_ld" = yes; then
18317 # If archive_cmds runs LD, not CC, wlarc should be empty
18320 # Set some defaults for GNU ld with shared library support. These
18321 # are reset later if shared libraries are not supported. Putting them
18322 # here allows them to be overridden if necessary.
18323 runpath_var
=LD_RUN_PATH
18324 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18325 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18326 # ancient GNU ld didn't support --whole-archive et. al.
18327 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18328 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18330 whole_archive_flag_spec_GCJ
=
18332 supports_anon_versioning
=no
18333 case `$LD -v 2>/dev/null` in
18334 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
18335 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18336 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18337 *\
2.11.
*) ;; # other 2.11 versions
18338 *) supports_anon_versioning
=yes ;;
18341 # See if GNU ld supports shared libraries.
18344 # On AIX/PPC, the GNU linker is very broken
18345 if test "$host_cpu" != ia64
; then
18349 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18350 *** to be unable to reliably create shared libraries on AIX.
18351 *** Therefore, libtool is disabling shared libraries support. If you
18352 *** really care for shared libraries, you may want to modify your PATH
18353 *** so that a non-GNU linker is found, and then restart.
18360 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)'
18361 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18362 hardcode_minus_L_GCJ
=yes
18364 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18365 # that the semantics of dynamic libraries on AmigaOS, at least up
18366 # to version 4, is to share data among multiple programs linked
18367 # with the same dynamic library. Since this doesn't match the
18368 # behavior of shared libraries on other platforms, we can't use
18374 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18375 allow_undefined_flag_GCJ
=unsupported
18376 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18377 # support --undefined. This deserves some investigation. FIXME
18378 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18384 cygwin
* | mingw
* | pw32
*)
18385 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18386 # as there is no search path for DLLs.
18387 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18388 allow_undefined_flag_GCJ
=unsupported
18389 always_export_symbols_GCJ
=no
18390 enable_shared_with_static_runtimes_GCJ
=yes
18391 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18393 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18394 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18395 # If the export-symbols file already is a .def file (1st line
18396 # is EXPORTS), use it as is; otherwise, prepend...
18397 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18398 cp $export_symbols $output_objdir/$soname.def;
18400 echo EXPORTS > $output_objdir/$soname.def;
18401 cat $export_symbols >> $output_objdir/$soname.def;
18403 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18410 hardcode_direct_GCJ
=no
18411 hardcode_shlibpath_var_GCJ
=no
18412 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18413 export_dynamic_flag_spec_GCJ
='${wl}-E'
18414 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18415 # Instead, shared libraries are loaded at an image base (0x10000000 by
18416 # default) and relocated if they conflict, which is a slow very memory
18417 # consuming and fragmenting process. To avoid this, we pick a random,
18418 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18419 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18420 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'
18421 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'
18424 gnu
* | linux
* | k
*bsd
*-gnu)
18425 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18427 case $cc_basename,$host_cpu in
18428 pgcc
*) # Portland Group C compiler
18429 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'
18430 tmp_addflag
=' $pic_flag'
18432 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18433 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'
18434 tmp_addflag
=' $pic_flag -Mnomain' ;;
18435 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18436 tmp_addflag
=' -i_dynamic' ;;
18437 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18438 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18439 ifc
* | ifort
*) # Intel Fortran compiler
18440 tmp_addflag
=' -nofor_main' ;;
18442 case `$CC -V 2>&1 | sed 5q` in
18443 *Sun\ C
*) # Sun C 5.9
18444 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'
18445 tmp_sharedflag
='-G' ;;
18446 *Sun\ F
*) # Sun Fortran 8.3
18447 tmp_sharedflag
='-G' ;;
18449 tmp_sharedflag
='-shared' ;;
18451 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18453 if test $supports_anon_versioning = yes; then
18454 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18455 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18456 $echo "local: *; };" >> $output_objdir/$libname.ver~
18457 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18459 link_all_deplibs_GCJ
=no
18465 netbsd
* | netbsdelf
*-gnu)
18466 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18467 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18470 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18471 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18476 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18480 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18481 *** create shared libraries on Solaris systems. Therefore, libtool
18482 *** is disabling shared libraries support. We urge you to upgrade GNU
18483 *** binutils to release 2.9.1 or newer. Another option is to modify
18484 *** your PATH or compiler configuration so that the native linker is
18485 *** used, and then restart.
18488 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18489 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18490 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18496 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18497 case `$LD -v 2>&1` in
18498 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18502 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18503 *** reliably create shared libraries on SCO systems. Therefore, libtool
18504 *** is disabling shared libraries support. We urge you to upgrade GNU
18505 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18506 *** your PATH or compiler configuration so that the native linker is
18507 *** used, and then restart.
18512 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18513 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18514 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18515 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18524 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18526 hardcode_direct_GCJ
=yes
18527 hardcode_shlibpath_var_GCJ
=no
18531 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18532 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18533 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18540 if test "$ld_shlibs_GCJ" = no
; then
18542 hardcode_libdir_flag_spec_GCJ
=
18543 export_dynamic_flag_spec_GCJ
=
18544 whole_archive_flag_spec_GCJ
=
18547 # PORTME fill in a description of your system's linker (not GNU ld)
18550 allow_undefined_flag_GCJ
=unsupported
18551 always_export_symbols_GCJ
=yes
18552 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'
18553 # Note: this linker hardcodes the directories in LIBPATH if there
18554 # are no directories specified by -L.
18555 hardcode_minus_L_GCJ
=yes
18556 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18557 # Neither direct hardcoding nor static linking is supported with a
18559 hardcode_direct_GCJ
=unsupported
18564 if test "$host_cpu" = ia64
; then
18565 # On IA64, the linker does run time linking by default, so we don't
18566 # have to do anything special.
18567 aix_use_runtimelinking
=no
18568 exp_sym_flag
='-Bexport'
18571 # If we're using GNU nm, then we don't want the "-C" option.
18572 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18573 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18574 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'
18576 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'
18578 aix_use_runtimelinking
=no
18580 # Test if we are trying to use run time linking or normal
18581 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18582 # need to do runtime linking.
18583 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18584 for ld_flag
in $LDFLAGS; do
18585 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18586 aix_use_runtimelinking
=yes
18593 exp_sym_flag
='-bexport'
18594 no_entry_flag
='-bnoentry'
18597 # When large executables or shared objects are built, AIX ld can
18598 # have problems creating the table of contents. If linking a library
18599 # or program results in "error TOC overflow" add -mminimal-toc to
18600 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18601 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18603 archive_cmds_GCJ
=''
18604 hardcode_direct_GCJ
=yes
18605 hardcode_libdir_separator_GCJ
=':'
18606 link_all_deplibs_GCJ
=yes
18608 if test "$GCC" = yes; then
18609 case $host_os in aix4.
[012]|aix4.
[012].
*)
18610 # We only want to do this on AIX 4.2 and lower, the check
18611 # below for broken collect2 doesn't work under 4.3+
18612 collect2name
=`${CC} -print-prog-name=collect2`
18613 if test -f "$collect2name" && \
18614 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18616 # We have reworked collect2
18619 # We have old collect2
18620 hardcode_direct_GCJ
=unsupported
18621 # It fails to find uninstalled libraries when the uninstalled
18622 # path is not listed in the libpath. Setting hardcode_minus_L
18623 # to unsupported forces relinking
18624 hardcode_minus_L_GCJ
=yes
18625 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18626 hardcode_libdir_separator_GCJ
=
18630 shared_flag
='-shared'
18631 if test "$aix_use_runtimelinking" = yes; then
18632 shared_flag
="$shared_flag "'${wl}-G'
18636 if test "$host_cpu" = ia64
; then
18637 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18638 # chokes on -Wl,-G. The following line is correct:
18641 if test "$aix_use_runtimelinking" = yes; then
18642 shared_flag
='${wl}-G'
18644 shared_flag
='${wl}-bM:SRE'
18649 # It seems that -bexpall does not export symbols beginning with
18650 # underscore (_), so it is better to generate a list of symbols to export.
18651 always_export_symbols_GCJ
=yes
18652 if test "$aix_use_runtimelinking" = yes; then
18653 # Warning - without using the other runtime loading flags (-brtl),
18654 # -berok will link without error, but may produce a broken library.
18655 allow_undefined_flag_GCJ
='-berok'
18656 # Determine the default libpath from the value encoded in an empty executable.
18657 cat >conftest.
$ac_ext <<_ACEOF
18660 cat confdefs.h
>>conftest.
$ac_ext
18661 cat >>conftest.
$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18672 rm -f conftest.
$ac_objext conftest
$ac_exeext
18673 if { (ac_try
="$ac_link"
18674 case "(($ac_try" in
18675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_link") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest$ac_exeext &&
18689 $as_test_x conftest$ac_exeext; then
18691 lt_aix_libpath_sed='
18692 /Import File Strings/,/^$/ {
18698 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18699 # Check for a 64-bit object if we didn't find anything.
18700 if test -z "$aix_libpath"; then
18701 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18711 conftest$ac_exeext conftest.$ac_ext
18712 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18714 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18715 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"
18717 if test "$host_cpu" = ia64; then
18718 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18719 allow_undefined_flag_GCJ="-z nodefs"
18720 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"
18722 # Determine the default libpath from the value encoded in an empty executable.
18723 cat >conftest.$ac_ext <<_ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18738 rm -f conftest.$ac_objext conftest$ac_exeext
18739 if { (ac_try="$ac_link"
18740 case "(($ac_try" in
18741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18742 *) ac_try_echo
=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_link") 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } && {
18752 test -z "$ac_c_werror_flag" ||
18753 test ! -s conftest.err
18754 } && test -s conftest
$ac_exeext &&
18755 $as_test_x conftest
$ac_exeext; then
18757 lt_aix_libpath_sed
='
18758 /Import File Strings/,/^$/ {
18764 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18765 # Check for a 64-bit object if we didn't find anything.
18766 if test -z "$aix_libpath"; then
18767 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.
$ac_ext >&5
18776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18777 conftest
$ac_exeext conftest.
$ac_ext
18778 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18780 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18781 # Warning - without using the other run time loading flags,
18782 # -berok will link without error, but may produce a broken library.
18783 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18784 allow_undefined_flag_GCJ
=' ${wl}-berok'
18785 # Exported symbols can be pulled into shared objects from archives
18786 whole_archive_flag_spec_GCJ
='$convenience'
18787 archive_cmds_need_lc_GCJ
=yes
18788 # This is similar to how AIX traditionally builds its shared libraries.
18789 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'
18795 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)'
18796 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18797 hardcode_minus_L_GCJ
=yes
18798 # see comment about different semantics on the GNU ld section
18803 export_dynamic_flag_spec_GCJ
=-rdynamic
18806 cygwin
* | mingw
* | pw32
*)
18807 # When not using gcc, we currently assume that we are using
18808 # Microsoft Visual C++.
18809 # hardcode_libdir_flag_spec is actually meaningless, as there is
18810 # no search path for DLLs.
18811 hardcode_libdir_flag_spec_GCJ
=' '
18812 allow_undefined_flag_GCJ
=unsupported
18813 # Tell ltmain to make .lib files, not .a files.
18815 # Tell ltmain to make .dll files, not .so files.
18817 # FIXME: Setting linknames here is a bad hack.
18818 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18819 # The linker will automatically build a .lib file if we build a DLL.
18820 old_archive_From_new_cmds_GCJ
='true'
18821 # FIXME: Should let the user specify the lib program.
18822 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18823 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18824 enable_shared_with_static_runtimes_GCJ
=yes
18827 darwin
* | rhapsody
*)
18829 rhapsody
* | darwin1.
[012])
18830 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18833 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18834 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18836 case ${MACOSX_DEPLOYMENT_TARGET} in
18838 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18841 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18847 archive_cmds_need_lc_GCJ
=no
18848 hardcode_direct_GCJ
=no
18849 hardcode_automatic_GCJ
=yes
18850 hardcode_shlibpath_var_GCJ
=unsupported
18851 whole_archive_flag_spec_GCJ
=''
18852 link_all_deplibs_GCJ
=yes
18853 if test "$GCC" = yes ; then
18854 output_verbose_link_cmd
='echo'
18855 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18856 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18857 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18858 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18860 case $cc_basename in
18862 output_verbose_link_cmd
='echo'
18863 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18864 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18865 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18866 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}'
18867 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}'
18877 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18878 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18879 hardcode_shlibpath_var_GCJ
=no
18886 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18887 # support. Future versions do this automatically, but an explicit c++rt0.o
18888 # does not break anything, and helps significantly (at the cost of a little
18891 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18892 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18893 hardcode_direct_GCJ
=yes
18894 hardcode_shlibpath_var_GCJ
=no
18897 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18899 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18900 hardcode_direct_GCJ
=yes
18901 hardcode_minus_L_GCJ
=yes
18902 hardcode_shlibpath_var_GCJ
=no
18905 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18906 freebsd
* | dragonfly
*)
18907 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18908 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18909 hardcode_direct_GCJ
=yes
18910 hardcode_shlibpath_var_GCJ
=no
18914 if test "$GCC" = yes; then
18915 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'
18917 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'
18919 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18920 hardcode_libdir_separator_GCJ
=:
18921 hardcode_direct_GCJ
=yes
18923 # hardcode_minus_L: Not really in the search PATH,
18924 # but as the default location of the library.
18925 hardcode_minus_L_GCJ
=yes
18926 export_dynamic_flag_spec_GCJ
='${wl}-E'
18930 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18931 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18933 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18935 if test "$with_gnu_ld" = no
; then
18936 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18937 hardcode_libdir_separator_GCJ
=:
18939 hardcode_direct_GCJ
=yes
18940 export_dynamic_flag_spec_GCJ
='${wl}-E'
18942 # hardcode_minus_L: Not really in the search PATH,
18943 # but as the default location of the library.
18944 hardcode_minus_L_GCJ
=yes
18949 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18952 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18955 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18958 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18964 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18967 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18970 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18974 if test "$with_gnu_ld" = no
; then
18975 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18976 hardcode_libdir_separator_GCJ
=:
18980 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18981 hardcode_direct_GCJ
=no
18982 hardcode_shlibpath_var_GCJ
=no
18985 hardcode_direct_GCJ
=yes
18986 export_dynamic_flag_spec_GCJ
='${wl}-E'
18988 # hardcode_minus_L: Not really in the search PATH,
18989 # but as the default location of the library.
18990 hardcode_minus_L_GCJ
=yes
18996 irix5
* | irix6
* | nonstopux
*)
18997 if test "$GCC" = yes; then
18998 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'
19000 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'
19001 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19003 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19004 hardcode_libdir_separator_GCJ
=:
19005 link_all_deplibs_GCJ
=yes
19008 netbsd
* | netbsdelf
*-gnu)
19009 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19010 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19012 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19014 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19015 hardcode_direct_GCJ
=yes
19016 hardcode_shlibpath_var_GCJ
=no
19020 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19021 hardcode_direct_GCJ
=yes
19022 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19023 hardcode_libdir_separator_GCJ
=:
19024 hardcode_shlibpath_var_GCJ
=no
19028 if test -f /usr
/libexec
/ld.so
; then
19029 hardcode_direct_GCJ
=yes
19030 hardcode_shlibpath_var_GCJ
=no
19031 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19032 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19033 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19034 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19035 export_dynamic_flag_spec_GCJ
='${wl}-E'
19038 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19039 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19040 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19043 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19044 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19054 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19055 hardcode_minus_L_GCJ
=yes
19056 allow_undefined_flag_GCJ
=unsupported
19057 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'
19058 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19062 if test "$GCC" = yes; then
19063 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19064 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'
19066 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19067 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'
19069 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19070 hardcode_libdir_separator_GCJ
=:
19073 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19074 if test "$GCC" = yes; then
19075 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19076 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'
19077 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19079 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19080 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'
19081 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~
19082 $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'
19084 # Both c and cxx compiler support -rpath directly
19085 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19087 hardcode_libdir_separator_GCJ
=:
19091 no_undefined_flag_GCJ
=' -z text'
19092 if test "$GCC" = yes; then
19094 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19095 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19096 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19099 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19100 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19101 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19103 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19104 hardcode_shlibpath_var_GCJ
=no
19106 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19108 # The compiler driver will combine and reorder linker options,
19109 # but understands `-z linker_flag'. GCC discards it without `$wl',
19110 # but is careful enough not to reorder.
19111 # Supported since Solaris 2.6 (maybe 2.5.1?)
19112 if test "$GCC" = yes; then
19113 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19115 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19119 link_all_deplibs_GCJ
=yes
19123 if test "x$host_vendor" = xsequent
; then
19124 # Use $CC to link under sequent, because it throws in some extra .o
19125 # files that make .init and .fini sections work.
19126 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19128 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19130 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19131 hardcode_direct_GCJ
=yes
19132 hardcode_minus_L_GCJ
=yes
19133 hardcode_shlibpath_var_GCJ
=no
19137 case $host_vendor in
19139 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19140 hardcode_direct_GCJ
=yes # is this really true???
19143 ## LD is ld it makes a PLAMLIB
19144 ## CC just makes a GrossModule.
19145 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19146 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19147 hardcode_direct_GCJ
=no
19150 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19151 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19154 runpath_var
='LD_RUN_PATH'
19155 hardcode_shlibpath_var_GCJ
=no
19159 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19160 hardcode_shlibpath_var_GCJ
=no
19161 export_dynamic_flag_spec_GCJ
='-Bexport'
19165 if test -d /usr
/nec
; then
19166 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19167 hardcode_shlibpath_var_GCJ
=no
19168 runpath_var
=LD_RUN_PATH
19169 hardcode_runpath_var
=yes
19174 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19175 no_undefined_flag_GCJ
='${wl}-z,text'
19176 archive_cmds_need_lc_GCJ
=no
19177 hardcode_shlibpath_var_GCJ
=no
19178 runpath_var
='LD_RUN_PATH'
19180 if test "$GCC" = yes; then
19181 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19182 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19184 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19185 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19189 sysv5
* | sco3.2v5
* | sco5v6
*)
19190 # Note: We can NOT use -z defs as we might desire, because we do not
19191 # link with -lc, and that would cause any symbols used from libc to
19192 # always be unresolved, which means just about no library would
19193 # ever link correctly. If we're not using GNU ld we use -z text
19194 # though, which does catch some bad symbols but isn't as heavy-handed
19196 no_undefined_flag_GCJ
='${wl}-z,text'
19197 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19198 archive_cmds_need_lc_GCJ
=no
19199 hardcode_shlibpath_var_GCJ
=no
19200 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19201 hardcode_libdir_separator_GCJ
=':'
19202 link_all_deplibs_GCJ
=yes
19203 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19204 runpath_var
='LD_RUN_PATH'
19206 if test "$GCC" = yes; then
19207 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19208 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19210 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19211 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19216 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19217 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19218 hardcode_shlibpath_var_GCJ
=no
19227 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19228 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19229 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19232 # Do we need to explicitly link libc?
19234 case "x$archive_cmds_need_lc_GCJ" in
19236 # Assume -lc should be added
19237 archive_cmds_need_lc_GCJ
=yes
19239 if test "$enable_shared" = yes && test "$GCC" = yes; then
19240 case $archive_cmds_GCJ in
19242 # FIXME: we may have to deal with multi-command sequences.
19245 # Test whether the compiler implicitly links with -lc since on some
19246 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19247 # to ld, don't add -lc before -lgcc.
19248 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19249 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19251 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19254 (eval $ac_compile) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } 2>conftest.err
; then
19260 libobjs
=conftest.
$ac_objext
19262 wl
=$lt_prog_compiler_wl_GCJ
19263 pic_flag
=$lt_prog_compiler_pic_GCJ
19269 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19270 allow_undefined_flag_GCJ
=
19271 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19272 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }
19277 archive_cmds_need_lc_GCJ
=no
19279 archive_cmds_need_lc_GCJ
=yes
19281 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19283 cat conftest.err
1>&5
19286 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19287 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19294 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19295 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19296 library_names_spec
=
19297 libname_spec
='lib$name'
19301 postuninstall_cmds
=
19305 shlibpath_overrides_runpath
=unknown
19307 dynamic_linker
="$host_os ld.so"
19308 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19310 need_lib_prefix
=unknown
19311 hardcode_into_libs
=no
19313 # when you set need_version to no, make sure it does not cause -set_version
19314 # flags to be left without arguments
19315 need_version
=unknown
19320 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19321 shlibpath_var
=LIBPATH
19323 # AIX 3 has no versioning support, so we append a major version to the name.
19324 soname_spec
='${libname}${release}${shared_ext}$major'
19331 hardcode_into_libs
=yes
19332 if test "$host_cpu" = ia64
; then
19333 # AIX 5 supports IA64
19334 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19335 shlibpath_var
=LD_LIBRARY_PATH
19337 # With GCC up to 2.95.x, collect2 would create an import file
19338 # for dependence libraries. The import file would start with
19339 # the line `#! .'. This would cause the generated library to
19340 # depend on `.', always an invalid library. This was fixed in
19341 # development snapshots of GCC prior to 3.0.
19343 aix4 | aix4.
[01] | aix4.
[01].
*)
19344 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19346 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19349 can_build_shared
=no
19353 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19354 # soname into executable. Probably we can add versioning support to
19355 # collect2, so additional links can be useful in future.
19356 if test "$aix_use_runtimelinking" = yes; then
19357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19358 # instead of lib<name>.a to let people know that these are not
19359 # typical AIX shared libraries.
19360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19362 # We preserve .a as extension for shared libraries through AIX4.2
19363 # and later when we are not doing run time linking.
19364 library_names_spec
='${libname}${release}.a $libname.a'
19365 soname_spec
='${libname}${release}${shared_ext}$major'
19367 shlibpath_var
=LIBPATH
19372 library_names_spec
='$libname.ixlibrary $libname.a'
19373 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19374 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'
19378 library_names_spec
='${libname}${shared_ext}'
19379 dynamic_linker
="$host_os ld.so"
19380 shlibpath_var
=LIBRARY_PATH
19386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19387 soname_spec
='${libname}${release}${shared_ext}$major'
19388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19389 shlibpath_var
=LD_LIBRARY_PATH
19390 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19391 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19392 # the default ld.so.conf also contains /usr/contrib/lib and
19393 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19394 # libtool to hard-code these into programs
19397 cygwin
* | mingw
* | pw32
*)
19398 version_type
=windows
19403 case $GCC,$host_os in
19404 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19405 library_names_spec
='$libname.dll.a'
19406 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19407 postinstall_cmds
='base_file=`basename \${file}`~
19408 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19409 dldir=$destdir/`dirname \$dlpath`~
19410 test -d \$dldir || mkdir -p \$dldir~
19411 $install_prog $dir/$dlname \$dldir/$dlname~
19412 chmod a+x \$dldir/$dlname'
19413 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19414 dlpath=$dir/\$dldll~
19416 shlibpath_overrides_runpath
=yes
19420 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19421 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19422 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19425 # MinGW DLLs use traditional 'lib' prefix
19426 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19427 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19428 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19429 # It is most probably a Windows format PATH printed by
19430 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19431 # path with ; separators, and with drive letters. We can handle the
19432 # drive letters (cygwin fileutils understands them), so leave them,
19433 # especially as we might pass files found there to a mingw objdump,
19434 # which wouldn't understand a cygwinified path. Ahh.
19435 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19437 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19441 # pw32 DLLs use 'pw' prefix rather than 'lib'
19442 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19448 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19451 dynamic_linker
='Win32 ld.exe'
19452 # FIXME: first we should search . and the directory the executable is in
19456 darwin
* | rhapsody
*)
19457 dynamic_linker
="$host_os dyld"
19458 version_type
=darwin
19461 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19462 soname_spec
='${libname}${release}${major}$shared_ext'
19463 shlibpath_overrides_runpath
=yes
19464 shlibpath_var
=DYLD_LIBRARY_PATH
19465 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19467 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19475 soname_spec
='${libname}${release}${shared_ext}$major'
19476 shlibpath_var
=LD_LIBRARY_PATH
19483 freebsd
* | dragonfly
*)
19484 # DragonFly does not have aout. When/if they implement a new
19485 # versioning mechanism, adjust this.
19486 if test -x /usr
/bin
/objformat
; then
19487 objformat
=`/usr/bin/objformat`
19490 freebsd
[123]*) objformat
=aout
;;
19491 *) objformat
=elf
;;
19494 version_type
=freebsd-
$objformat
19495 case $version_type in
19497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19502 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19506 shlibpath_var
=LD_LIBRARY_PATH
19509 shlibpath_overrides_runpath
=yes
19511 freebsd3.
[01]* | freebsdelf3.
[01]*)
19512 shlibpath_overrides_runpath
=yes
19513 hardcode_into_libs
=yes
19515 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19516 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19517 shlibpath_overrides_runpath
=no
19518 hardcode_into_libs
=yes
19520 *) # from 4.6 on, and DragonFly
19521 shlibpath_overrides_runpath
=yes
19522 hardcode_into_libs
=yes
19531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19532 soname_spec
='${libname}${release}${shared_ext}$major'
19533 shlibpath_var
=LD_LIBRARY_PATH
19534 hardcode_into_libs
=yes
19537 hpux9
* | hpux10
* | hpux11
*)
19538 # Give a soname corresponding to the major version so that dld.sl refuses to
19539 # link against other versions.
19546 hardcode_into_libs
=yes
19547 dynamic_linker
="$host_os dld.so"
19548 shlibpath_var
=LD_LIBRARY_PATH
19549 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19551 soname_spec
='${libname}${release}${shared_ext}$major'
19552 if test "X$HPUX_IA64_MODE" = X32
; then
19553 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19555 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19561 hardcode_into_libs
=yes
19562 dynamic_linker
="$host_os dld.sl"
19563 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19564 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19566 soname_spec
='${libname}${release}${shared_ext}$major'
19567 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19572 dynamic_linker
="$host_os dld.sl"
19573 shlibpath_var
=SHLIB_PATH
19574 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19576 soname_spec
='${libname}${release}${shared_ext}$major'
19579 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19580 postinstall_cmds
='chmod 555 $lib'
19587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19588 soname_spec
='${libname}${release}${shared_ext}$major'
19589 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19590 shlibpath_var
=LD_LIBRARY_PATH
19591 shlibpath_overrides_runpath
=no
19592 hardcode_into_libs
=yes
19595 irix5
* | irix6
* | nonstopux
*)
19597 nonstopux
*) version_type
=nonstopux
;;
19599 if test "$lt_cv_prog_gnu_ld" = yes; then
19607 soname_spec
='${libname}${release}${shared_ext}$major'
19608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19610 irix5
* | nonstopux
*)
19611 libsuff
= shlibsuff
=
19614 case $LD in # libtool.m4 will add one of these switches to LD
19615 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19616 libsuff
= shlibsuff
= libmagic
=32-bit;;
19617 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19618 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19619 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19620 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19621 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19625 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19626 shlibpath_overrides_runpath
=no
19627 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19628 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19629 hardcode_into_libs
=yes
19632 # No shared lib support for Linux oldld, aout, or coff.
19633 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19637 # This must be Linux ELF.
19638 linux
* | k
*bsd
*-gnu)
19642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19643 soname_spec
='${libname}${release}${shared_ext}$major'
19644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19645 shlibpath_var
=LD_LIBRARY_PATH
19646 shlibpath_overrides_runpath
=no
19647 # This implies no fast_install, which is unacceptable.
19648 # Some rework will be needed to allow for fast_install
19649 # before this can be enabled.
19650 hardcode_into_libs
=yes
19652 # Append ld.so.conf contents to the search path
19653 if test -f /etc
/ld.so.conf
; then
19654 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' ' '`
19655 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19658 # We used to test for /lib/ld.so.1 and disable shared libraries on
19659 # powerpc, because MkLinux only supported shared libraries with the
19660 # GNU dynamic linker. Since this was broken with cross compilers,
19661 # most powerpc-linux boxes support dynamic linking these days and
19662 # people can always --disable-shared, the test was removed, and we
19663 # assume the GNU/Linux dynamic linker is in use.
19664 dynamic_linker
='GNU/Linux ld.so'
19671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19672 soname_spec
='${libname}${release}${shared_ext}$major'
19673 shlibpath_var
=LD_LIBRARY_PATH
19674 shlibpath_overrides_runpath
=no
19675 hardcode_into_libs
=yes
19676 dynamic_linker
='NetBSD ld.elf_so'
19683 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19686 dynamic_linker
='NetBSD (a.out) ld.so'
19688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19689 soname_spec
='${libname}${release}${shared_ext}$major'
19690 dynamic_linker
='NetBSD ld.elf_so'
19692 shlibpath_var
=LD_LIBRARY_PATH
19693 shlibpath_overrides_runpath
=yes
19694 hardcode_into_libs
=yes
19699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19700 shlibpath_var
=LD_LIBRARY_PATH
19701 shlibpath_overrides_runpath
=yes
19708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19709 soname_spec
='${libname}${release}${shared_ext}$major'
19710 shlibpath_var
=LD_LIBRARY_PATH
19711 shlibpath_overrides_runpath
=yes
19716 sys_lib_dlsearch_path_spec
="/usr/lib"
19718 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19720 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19721 *) need_version
=no
;;
19723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19724 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19725 shlibpath_var
=LD_LIBRARY_PATH
19726 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19728 openbsd2.
[89] | openbsd2.
[89].
*)
19729 shlibpath_overrides_runpath
=no
19732 shlibpath_overrides_runpath
=yes
19736 shlibpath_overrides_runpath
=yes
19741 libname_spec
='$name'
19744 library_names_spec
='$libname${shared_ext} $libname.a'
19745 dynamic_linker
='OS/2 ld.exe'
19746 shlibpath_var
=LIBPATH
19749 osf3
* | osf4
* | osf5
*)
19753 soname_spec
='${libname}${release}${shared_ext}$major'
19754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19755 shlibpath_var
=LD_LIBRARY_PATH
19756 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19757 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19769 soname_spec
='${libname}${release}${shared_ext}$major'
19770 shlibpath_var
=LD_LIBRARY_PATH
19771 shlibpath_overrides_runpath
=yes
19772 hardcode_into_libs
=yes
19773 # ldd complains unless libraries are executable
19774 postinstall_cmds
='chmod +x $lib'
19779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19780 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19781 shlibpath_var
=LD_LIBRARY_PATH
19782 shlibpath_overrides_runpath
=yes
19783 if test "$with_gnu_ld" = yes; then
19791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19792 soname_spec
='${libname}${release}${shared_ext}$major'
19793 shlibpath_var
=LD_LIBRARY_PATH
19794 case $host_vendor in
19796 shlibpath_overrides_runpath
=no
19798 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19799 runpath_var
=LD_RUN_PATH
19807 shlibpath_overrides_runpath
=no
19808 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19814 if test -d /usr
/nec
;then
19816 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19817 soname_spec
='$libname${shared_ext}.$major'
19818 shlibpath_var
=LD_LIBRARY_PATH
19822 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19823 version_type
=freebsd-elf
19826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19827 soname_spec
='${libname}${release}${shared_ext}$major'
19828 shlibpath_var
=LD_LIBRARY_PATH
19829 hardcode_into_libs
=yes
19830 if test "$with_gnu_ld" = yes; then
19831 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19832 shlibpath_overrides_runpath
=no
19834 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19835 shlibpath_overrides_runpath
=yes
19838 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19842 sys_lib_dlsearch_path_spec
='/usr/lib'
19847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19848 soname_spec
='${libname}${release}${shared_ext}$major'
19849 shlibpath_var
=LD_LIBRARY_PATH
19856 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19857 echo "${ECHO_T}$dynamic_linker" >&6; }
19858 test "$dynamic_linker" = no
&& can_build_shared
=no
19860 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19866 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19867 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19868 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19873 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19875 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19876 if test "$GCC" = yes; then
19877 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19880 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19881 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19882 hardcode_action_GCJ
=
19883 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19884 test -n "$runpath_var_GCJ" || \
19885 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19887 # We can hardcode non-existant directories.
19888 if test "$hardcode_direct_GCJ" != no
&&
19889 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19890 # have to relink, otherwise we might link with an installed library
19891 # when we should be linking with a yet-to-be-installed one
19892 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19893 test "$hardcode_minus_L_GCJ" != no
; then
19894 # Linking always hardcodes the temporary library directory.
19895 hardcode_action_GCJ
=relink
19897 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19898 hardcode_action_GCJ
=immediate
19901 # We cannot hardcode anything, or else we can only hardcode existing
19903 hardcode_action_GCJ
=unsupported
19905 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19906 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19908 if test "$hardcode_action_GCJ" = relink
; then
19909 # Fast installation is not supported
19910 enable_fast_install
=no
19911 elif test "$shlibpath_overrides_runpath" = yes ||
19912 test "$enable_shared" = no
; then
19913 # Fast installation is not necessary
19914 enable_fast_install
=needless
19918 # The else clause should only fire when bootstrapping the
19919 # libtool distribution, otherwise you forgot to ship ltmain.sh
19920 # with your package, and you will get complaints that there are
19921 # no rules to generate ltmain.sh.
19922 if test -f "$ltmain"; then
19923 # See if we are running on zsh, and set the options which allow our commands through
19924 # without removal of \ escapes.
19925 if test -n "${ZSH_VERSION+set}" ; then
19926 setopt NO_GLOB_SUBST
19928 # Now quote all the things that may contain metacharacters while being
19929 # careful not to overquote the AC_SUBSTed values. We take copies of the
19930 # variables and quote the copies for generation of the libtool script.
19931 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19933 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19934 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19935 deplibs_check_method reload_flag reload_cmds need_locks \
19936 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19937 lt_cv_sys_global_symbol_to_c_name_address \
19938 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19939 old_postinstall_cmds old_postuninstall_cmds \
19943 lt_prog_compiler_wl_GCJ \
19944 lt_prog_compiler_pic_GCJ \
19945 lt_prog_compiler_static_GCJ \
19946 lt_prog_compiler_no_builtin_flag_GCJ \
19947 export_dynamic_flag_spec_GCJ \
19948 thread_safe_flag_spec_GCJ \
19949 whole_archive_flag_spec_GCJ \
19950 enable_shared_with_static_runtimes_GCJ \
19951 old_archive_cmds_GCJ \
19952 old_archive_from_new_cmds_GCJ \
19953 predep_objects_GCJ \
19954 postdep_objects_GCJ \
19957 compiler_lib_search_path_GCJ \
19958 compiler_lib_search_dirs_GCJ \
19960 archive_expsym_cmds_GCJ \
19961 postinstall_cmds_GCJ \
19962 postuninstall_cmds_GCJ \
19963 old_archive_from_expsyms_cmds_GCJ \
19964 allow_undefined_flag_GCJ \
19965 no_undefined_flag_GCJ \
19966 export_symbols_cmds_GCJ \
19967 hardcode_libdir_flag_spec_GCJ \
19968 hardcode_libdir_flag_spec_ld_GCJ \
19969 hardcode_libdir_separator_GCJ \
19970 hardcode_automatic_GCJ \
19972 module_expsym_cmds_GCJ \
19973 lt_cv_prog_compiler_c_o_GCJ \
19974 fix_srcfile_path_GCJ \
19975 exclude_expsyms_GCJ \
19976 include_expsyms_GCJ
; do
19979 old_archive_cmds_GCJ | \
19980 old_archive_from_new_cmds_GCJ | \
19981 archive_cmds_GCJ | \
19982 archive_expsym_cmds_GCJ | \
19983 module_cmds_GCJ | \
19984 module_expsym_cmds_GCJ | \
19985 old_archive_from_expsyms_cmds_GCJ | \
19986 export_symbols_cmds_GCJ | \
19987 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19988 postinstall_cmds | postuninstall_cmds | \
19989 old_postinstall_cmds | old_postuninstall_cmds | \
19990 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19991 # Double-quote double-evaled strings.
19992 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19995 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20001 *'\$0 --fallback-echo"')
20002 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20008 cat <<__EOF__ >> "$cfgfile"
20009 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20011 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20013 # Shell to use when invoking shell scripts.
20016 # Whether or not to build shared libraries.
20017 build_libtool_libs=$enable_shared
20019 # Whether or not to build static libraries.
20020 build_old_libs=$enable_static
20022 # Whether or not to add -lc for building shared libraries.
20023 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20025 # Whether or not to disallow shared libs when runtime libs are static
20026 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20028 # Whether or not to optimize for fast installation.
20029 fast_install=$enable_fast_install
20032 host_alias=$host_alias
20036 # The build system.
20037 build_alias=$build_alias
20041 # An echo program that does not interpret backslashes.
20046 AR_FLAGS=$lt_AR_FLAGS
20051 # LTCC compiler flags.
20052 LTCFLAGS=$lt_LTCFLAGS
20054 # A language-specific compiler.
20055 CC=$lt_compiler_GCJ
20057 # Is the compiler the GNU C compiler?
20063 # The linker used to build libraries.
20066 # Whether we need hard or soft links.
20069 # A BSD-compatible nm program.
20072 # A symbol stripping program
20075 # Used to examine libraries when file_magic_cmd begins "file"
20076 MAGIC_CMD=$MAGIC_CMD
20078 # Used on cygwin: DLL creation program.
20081 # Used on cygwin: object dumper.
20084 # Used on cygwin: assembler.
20087 # The name of the directory that contains temporary libtool files.
20090 # How to create reloadable object files.
20091 reload_flag=$lt_reload_flag
20092 reload_cmds=$lt_reload_cmds
20094 # How to pass a linker flag through the compiler.
20095 wl=$lt_lt_prog_compiler_wl_GCJ
20097 # Object file suffix (normally "o").
20098 objext="$ac_objext"
20100 # Old archive suffix (normally "a").
20103 # Shared library suffix (normally ".so").
20104 shrext_cmds='$shrext_cmds'
20106 # Executable file suffix (normally "").
20109 # Additional compiler flags for building library objects.
20110 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20113 # What is the maximum length of a command?
20114 max_cmd_len=$lt_cv_sys_max_cmd_len
20116 # Does compiler simultaneously support -c and -o options?
20117 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20119 # Must we lock files when doing compilation?
20120 need_locks=$lt_need_locks
20122 # Do we need the lib prefix for modules?
20123 need_lib_prefix=$need_lib_prefix
20125 # Do we need a version for libraries?
20126 need_version=$need_version
20128 # Whether dlopen is supported.
20129 dlopen_support=$enable_dlopen
20131 # Whether dlopen of programs is supported.
20132 dlopen_self=$enable_dlopen_self
20134 # Whether dlopen of statically linked programs is supported.
20135 dlopen_self_static=$enable_dlopen_self_static
20137 # Compiler flag to prevent dynamic linking.
20138 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20140 # Compiler flag to turn off builtin functions.
20141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20143 # Compiler flag to allow reflexive dlopens.
20144 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20146 # Compiler flag to generate shared objects directly from archives.
20147 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20149 # Compiler flag to generate thread-safe objects.
20150 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20152 # Library versioning type.
20153 version_type=$version_type
20155 # Format of library name prefix.
20156 libname_spec=$lt_libname_spec
20158 # List of archive names. First name is the real one, the rest are links.
20159 # The last name is the one that the linker finds with -lNAME.
20160 library_names_spec=$lt_library_names_spec
20162 # The coded name of the library, if different from the real name.
20163 soname_spec=$lt_soname_spec
20165 # Commands used to build and install an old-style archive.
20167 old_archive_cmds=$lt_old_archive_cmds_GCJ
20168 old_postinstall_cmds=$lt_old_postinstall_cmds
20169 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20171 # Create an old-style archive from a shared archive.
20172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20174 # Create a temporary old-style archive to link instead of a shared archive.
20175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20177 # Commands used to build and install a shared archive.
20178 archive_cmds=$lt_archive_cmds_GCJ
20179 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20180 postinstall_cmds=$lt_postinstall_cmds
20181 postuninstall_cmds=$lt_postuninstall_cmds
20183 # Commands used to build a loadable module (assumed same as above if empty)
20184 module_cmds=$lt_module_cmds_GCJ
20185 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20187 # Commands to strip libraries.
20188 old_striplib=$lt_old_striplib
20189 striplib=$lt_striplib
20191 # Dependencies to place before the objects being linked to create a
20193 predep_objects=$lt_predep_objects_GCJ
20195 # Dependencies to place after the objects being linked to create a
20197 postdep_objects=$lt_postdep_objects_GCJ
20199 # Dependencies to place before the objects being linked to create a
20201 predeps=$lt_predeps_GCJ
20203 # Dependencies to place after the objects being linked to create a
20205 postdeps=$lt_postdeps_GCJ
20207 # The directories searched by this compiler when creating a shared
20209 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20211 # The library search path used internally by the compiler when linking
20212 # a shared library.
20213 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20215 # Method to check whether dependent libraries are shared objects.
20216 deplibs_check_method=$lt_deplibs_check_method
20218 # Command to use when deplibs_check_method == file_magic.
20219 file_magic_cmd=$lt_file_magic_cmd
20221 # Flag that allows shared libraries with undefined symbols to be built.
20222 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20224 # Flag that forces no undefined symbols.
20225 no_undefined_flag=$lt_no_undefined_flag_GCJ
20227 # Commands used to finish a libtool library installation in a directory.
20228 finish_cmds=$lt_finish_cmds
20230 # Same as above, but a single script fragment to be evaled but not shown.
20231 finish_eval=$lt_finish_eval
20233 # Take the output of nm and produce a listing of raw symbols and C names.
20234 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20236 # Transform the output of nm in a proper C declaration
20237 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20239 # Transform the output of nm in a C name address pair
20240 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20242 # This is the shared library runtime path variable.
20243 runpath_var=$runpath_var
20245 # This is the shared library path variable.
20246 shlibpath_var=$shlibpath_var
20248 # Is shlibpath searched before the hard-coded library search path?
20249 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20251 # How to hardcode a shared library path into an executable.
20252 hardcode_action=$hardcode_action_GCJ
20254 # Whether we should hardcode library paths into libraries.
20255 hardcode_into_libs=$hardcode_into_libs
20257 # Flag to hardcode \$libdir into a binary during linking.
20258 # This must work even if \$libdir does not exist.
20259 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20261 # If ld is used when linking, flag to hardcode \$libdir into
20262 # a binary during linking. This must work even if \$libdir does
20264 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20266 # Whether we need a single -rpath flag with a separated argument.
20267 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20269 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20270 # resulting binary.
20271 hardcode_direct=$hardcode_direct_GCJ
20273 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20274 # resulting binary.
20275 hardcode_minus_L=$hardcode_minus_L_GCJ
20277 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20278 # the resulting binary.
20279 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20281 # Set to yes if building a shared library automatically hardcodes DIR into the library
20282 # and all subsequent libraries and executables linked against it.
20283 hardcode_automatic=$hardcode_automatic_GCJ
20285 # Variables whose values should be saved in libtool wrapper scripts and
20286 # restored at relink time.
20287 variables_saved_for_relink="$variables_saved_for_relink"
20289 # Whether libtool must link a program against all its dependency libraries.
20290 link_all_deplibs=$link_all_deplibs_GCJ
20292 # Compile-time system search path for libraries
20293 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20295 # Run-time system search path for libraries
20296 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20298 # Fix the shell variable \$srcfile for the compiler.
20299 fix_srcfile_path=$lt_fix_srcfile_path
20301 # Set to yes if exported symbols are required.
20302 always_export_symbols=$always_export_symbols_GCJ
20304 # The commands to list exported symbols.
20305 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20307 # The commands to extract the exported symbol list from a shared archive.
20308 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20310 # Symbols that should not be listed in the preloaded symbols.
20311 exclude_expsyms=$lt_exclude_expsyms_GCJ
20313 # Symbols that must always be exported.
20314 include_expsyms=$lt_include_expsyms_GCJ
20316 # ### END LIBTOOL TAG CONFIG: $tagname
20322 # If there is no Makefile yet, we rely on a make rule to execute
20323 # `config.status --recheck' to rerun these tests and create the
20324 # libtool script then.
20325 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20326 if test -f "$ltmain_in"; then
20327 test -f Makefile
&& make "$ltmain"
20333 ac_cpp
='$CPP $CPPFLAGS'
20334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20348 # Source file extension for RC test sources.
20351 # Object file extension for compiled RC test sources.
20355 # Code to be used in simple compile tests
20356 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20358 # Code to be used in simple link tests
20359 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20361 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20363 # If no C compiler was specified, use CC.
20366 # If no C compiler flags were specified, use CFLAGS.
20367 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20369 # Allow CC to be a program name with arguments.
20373 # save warnings/boilerplate of simple test code
20374 ac_outfile
=conftest.
$ac_objext
20375 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
20376 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20377 _lt_compiler_boilerplate
=`cat conftest.err`
20380 ac_outfile
=conftest.
$ac_objext
20381 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
20382 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20383 _lt_linker_boilerplate
=`cat conftest.err`
20387 # Allow CC to be a program name with arguments.
20392 for cc_temp
in $compiler""; do
20394 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20395 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20400 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20402 lt_cv_prog_compiler_c_o_RC
=yes
20404 # The else clause should only fire when bootstrapping the
20405 # libtool distribution, otherwise you forgot to ship ltmain.sh
20406 # with your package, and you will get complaints that there are
20407 # no rules to generate ltmain.sh.
20408 if test -f "$ltmain"; then
20409 # See if we are running on zsh, and set the options which allow our commands through
20410 # without removal of \ escapes.
20411 if test -n "${ZSH_VERSION+set}" ; then
20412 setopt NO_GLOB_SUBST
20414 # Now quote all the things that may contain metacharacters while being
20415 # careful not to overquote the AC_SUBSTed values. We take copies of the
20416 # variables and quote the copies for generation of the libtool script.
20417 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20419 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20420 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20421 deplibs_check_method reload_flag reload_cmds need_locks \
20422 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20423 lt_cv_sys_global_symbol_to_c_name_address \
20424 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20425 old_postinstall_cmds old_postuninstall_cmds \
20429 lt_prog_compiler_wl_RC \
20430 lt_prog_compiler_pic_RC \
20431 lt_prog_compiler_static_RC \
20432 lt_prog_compiler_no_builtin_flag_RC \
20433 export_dynamic_flag_spec_RC \
20434 thread_safe_flag_spec_RC \
20435 whole_archive_flag_spec_RC \
20436 enable_shared_with_static_runtimes_RC \
20437 old_archive_cmds_RC \
20438 old_archive_from_new_cmds_RC \
20439 predep_objects_RC \
20440 postdep_objects_RC \
20443 compiler_lib_search_path_RC \
20444 compiler_lib_search_dirs_RC \
20446 archive_expsym_cmds_RC \
20447 postinstall_cmds_RC \
20448 postuninstall_cmds_RC \
20449 old_archive_from_expsyms_cmds_RC \
20450 allow_undefined_flag_RC \
20451 no_undefined_flag_RC \
20452 export_symbols_cmds_RC \
20453 hardcode_libdir_flag_spec_RC \
20454 hardcode_libdir_flag_spec_ld_RC \
20455 hardcode_libdir_separator_RC \
20456 hardcode_automatic_RC \
20458 module_expsym_cmds_RC \
20459 lt_cv_prog_compiler_c_o_RC \
20460 fix_srcfile_path_RC \
20461 exclude_expsyms_RC \
20462 include_expsyms_RC
; do
20465 old_archive_cmds_RC | \
20466 old_archive_from_new_cmds_RC | \
20467 archive_cmds_RC | \
20468 archive_expsym_cmds_RC | \
20470 module_expsym_cmds_RC | \
20471 old_archive_from_expsyms_cmds_RC | \
20472 export_symbols_cmds_RC | \
20473 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20474 postinstall_cmds | postuninstall_cmds | \
20475 old_postinstall_cmds | old_postuninstall_cmds | \
20476 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20477 # Double-quote double-evaled strings.
20478 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20481 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20487 *'\$0 --fallback-echo"')
20488 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20494 cat <<__EOF__ >> "$cfgfile"
20495 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20497 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20499 # Shell to use when invoking shell scripts.
20502 # Whether or not to build shared libraries.
20503 build_libtool_libs=$enable_shared
20505 # Whether or not to build static libraries.
20506 build_old_libs=$enable_static
20508 # Whether or not to add -lc for building shared libraries.
20509 build_libtool_need_lc=$archive_cmds_need_lc_RC
20511 # Whether or not to disallow shared libs when runtime libs are static
20512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20514 # Whether or not to optimize for fast installation.
20515 fast_install=$enable_fast_install
20518 host_alias=$host_alias
20522 # The build system.
20523 build_alias=$build_alias
20527 # An echo program that does not interpret backslashes.
20532 AR_FLAGS=$lt_AR_FLAGS
20537 # LTCC compiler flags.
20538 LTCFLAGS=$lt_LTCFLAGS
20540 # A language-specific compiler.
20543 # Is the compiler the GNU C compiler?
20549 # The linker used to build libraries.
20552 # Whether we need hard or soft links.
20555 # A BSD-compatible nm program.
20558 # A symbol stripping program
20561 # Used to examine libraries when file_magic_cmd begins "file"
20562 MAGIC_CMD=$MAGIC_CMD
20564 # Used on cygwin: DLL creation program.
20567 # Used on cygwin: object dumper.
20570 # Used on cygwin: assembler.
20573 # The name of the directory that contains temporary libtool files.
20576 # How to create reloadable object files.
20577 reload_flag=$lt_reload_flag
20578 reload_cmds=$lt_reload_cmds
20580 # How to pass a linker flag through the compiler.
20581 wl=$lt_lt_prog_compiler_wl_RC
20583 # Object file suffix (normally "o").
20584 objext="$ac_objext"
20586 # Old archive suffix (normally "a").
20589 # Shared library suffix (normally ".so").
20590 shrext_cmds='$shrext_cmds'
20592 # Executable file suffix (normally "").
20595 # Additional compiler flags for building library objects.
20596 pic_flag=$lt_lt_prog_compiler_pic_RC
20599 # What is the maximum length of a command?
20600 max_cmd_len=$lt_cv_sys_max_cmd_len
20602 # Does compiler simultaneously support -c and -o options?
20603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20605 # Must we lock files when doing compilation?
20606 need_locks=$lt_need_locks
20608 # Do we need the lib prefix for modules?
20609 need_lib_prefix=$need_lib_prefix
20611 # Do we need a version for libraries?
20612 need_version=$need_version
20614 # Whether dlopen is supported.
20615 dlopen_support=$enable_dlopen
20617 # Whether dlopen of programs is supported.
20618 dlopen_self=$enable_dlopen_self
20620 # Whether dlopen of statically linked programs is supported.
20621 dlopen_self_static=$enable_dlopen_self_static
20623 # Compiler flag to prevent dynamic linking.
20624 link_static_flag=$lt_lt_prog_compiler_static_RC
20626 # Compiler flag to turn off builtin functions.
20627 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20629 # Compiler flag to allow reflexive dlopens.
20630 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20632 # Compiler flag to generate shared objects directly from archives.
20633 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20635 # Compiler flag to generate thread-safe objects.
20636 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20638 # Library versioning type.
20639 version_type=$version_type
20641 # Format of library name prefix.
20642 libname_spec=$lt_libname_spec
20644 # List of archive names. First name is the real one, the rest are links.
20645 # The last name is the one that the linker finds with -lNAME.
20646 library_names_spec=$lt_library_names_spec
20648 # The coded name of the library, if different from the real name.
20649 soname_spec=$lt_soname_spec
20651 # Commands used to build and install an old-style archive.
20653 old_archive_cmds=$lt_old_archive_cmds_RC
20654 old_postinstall_cmds=$lt_old_postinstall_cmds
20655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20657 # Create an old-style archive from a shared archive.
20658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20660 # Create a temporary old-style archive to link instead of a shared archive.
20661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20663 # Commands used to build and install a shared archive.
20664 archive_cmds=$lt_archive_cmds_RC
20665 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20666 postinstall_cmds=$lt_postinstall_cmds
20667 postuninstall_cmds=$lt_postuninstall_cmds
20669 # Commands used to build a loadable module (assumed same as above if empty)
20670 module_cmds=$lt_module_cmds_RC
20671 module_expsym_cmds=$lt_module_expsym_cmds_RC
20673 # Commands to strip libraries.
20674 old_striplib=$lt_old_striplib
20675 striplib=$lt_striplib
20677 # Dependencies to place before the objects being linked to create a
20679 predep_objects=$lt_predep_objects_RC
20681 # Dependencies to place after the objects being linked to create a
20683 postdep_objects=$lt_postdep_objects_RC
20685 # Dependencies to place before the objects being linked to create a
20687 predeps=$lt_predeps_RC
20689 # Dependencies to place after the objects being linked to create a
20691 postdeps=$lt_postdeps_RC
20693 # The directories searched by this compiler when creating a shared
20695 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20697 # The library search path used internally by the compiler when linking
20698 # a shared library.
20699 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20701 # Method to check whether dependent libraries are shared objects.
20702 deplibs_check_method=$lt_deplibs_check_method
20704 # Command to use when deplibs_check_method == file_magic.
20705 file_magic_cmd=$lt_file_magic_cmd
20707 # Flag that allows shared libraries with undefined symbols to be built.
20708 allow_undefined_flag=$lt_allow_undefined_flag_RC
20710 # Flag that forces no undefined symbols.
20711 no_undefined_flag=$lt_no_undefined_flag_RC
20713 # Commands used to finish a libtool library installation in a directory.
20714 finish_cmds=$lt_finish_cmds
20716 # Same as above, but a single script fragment to be evaled but not shown.
20717 finish_eval=$lt_finish_eval
20719 # Take the output of nm and produce a listing of raw symbols and C names.
20720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20722 # Transform the output of nm in a proper C declaration
20723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20725 # Transform the output of nm in a C name address pair
20726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20728 # This is the shared library runtime path variable.
20729 runpath_var=$runpath_var
20731 # This is the shared library path variable.
20732 shlibpath_var=$shlibpath_var
20734 # Is shlibpath searched before the hard-coded library search path?
20735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20737 # How to hardcode a shared library path into an executable.
20738 hardcode_action=$hardcode_action_RC
20740 # Whether we should hardcode library paths into libraries.
20741 hardcode_into_libs=$hardcode_into_libs
20743 # Flag to hardcode \$libdir into a binary during linking.
20744 # This must work even if \$libdir does not exist.
20745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20747 # If ld is used when linking, flag to hardcode \$libdir into
20748 # a binary during linking. This must work even if \$libdir does
20750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20752 # Whether we need a single -rpath flag with a separated argument.
20753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20756 # resulting binary.
20757 hardcode_direct=$hardcode_direct_RC
20759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20760 # resulting binary.
20761 hardcode_minus_L=$hardcode_minus_L_RC
20763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20764 # the resulting binary.
20765 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20767 # Set to yes if building a shared library automatically hardcodes DIR into the library
20768 # and all subsequent libraries and executables linked against it.
20769 hardcode_automatic=$hardcode_automatic_RC
20771 # Variables whose values should be saved in libtool wrapper scripts and
20772 # restored at relink time.
20773 variables_saved_for_relink="$variables_saved_for_relink"
20775 # Whether libtool must link a program against all its dependency libraries.
20776 link_all_deplibs=$link_all_deplibs_RC
20778 # Compile-time system search path for libraries
20779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20781 # Run-time system search path for libraries
20782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20784 # Fix the shell variable \$srcfile for the compiler.
20785 fix_srcfile_path=$lt_fix_srcfile_path
20787 # Set to yes if exported symbols are required.
20788 always_export_symbols=$always_export_symbols_RC
20790 # The commands to list exported symbols.
20791 export_symbols_cmds=$lt_export_symbols_cmds_RC
20793 # The commands to extract the exported symbol list from a shared archive.
20794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20796 # Symbols that should not be listed in the preloaded symbols.
20797 exclude_expsyms=$lt_exclude_expsyms_RC
20799 # Symbols that must always be exported.
20800 include_expsyms=$lt_include_expsyms_RC
20802 # ### END LIBTOOL TAG CONFIG: $tagname
20808 # If there is no Makefile yet, we rely on a make rule to execute
20809 # `config.status --recheck' to rerun these tests and create the
20810 # libtool script then.
20811 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20812 if test -f "$ltmain_in"; then
20813 test -f Makefile
&& make "$ltmain"
20819 ac_cpp
='$CPP $CPPFLAGS'
20820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20829 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20830 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20831 { (exit 1); exit 1; }; }
20835 # Append the new tag name to the list of available tags.
20836 if test -n "$tagname" ; then
20837 available_tags
="$available_tags $tagname"
20843 # Now substitute the updated list of available tags.
20844 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20845 mv "${ofile}T" "$ofile"
20849 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20850 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20851 { (exit 1); exit 1; }; }
20857 # This can be used to rebuild libtool when needed
20858 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20860 # Always use our own libtool.
20861 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20863 # Prevent multiple expansion
20885 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
20886 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
20887 if test "${ac_cv_path_SED+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
20891 for ac_i
in 1 2 3 4 5 6 7; do
20892 ac_script
="$ac_script$as_nl$ac_script"
20894 echo "$ac_script" |
sed 99q
>conftest.
sed
20895 $as_unset ac_script || ac_script
=
20896 # Extract the first word of "sed gsed" to use in msg output
20897 if test -z "$SED"; then
20898 set dummy
sed gsed
; ac_prog_name
=$2
20899 if test "${ac_cv_path_SED+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 ac_path_SED_found
=false
20903 # Loop through the user's path and test for each of PROGNAME-LIST
20904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20905 for as_dir
in $PATH
20908 test -z "$as_dir" && as_dir
=.
20909 for ac_prog
in sed gsed
; do
20910 for ac_exec_ext
in '' $ac_executable_extensions; do
20911 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
20912 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
20913 # Check for GNU ac_path_SED and select it if it is found.
20914 # Check for GNU $ac_path_SED
20915 case `"$ac_path_SED" --version 2>&1` in
20917 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
20920 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
20923 cat "conftest.in" "conftest.in" >"conftest.tmp"
20924 mv "conftest.tmp" "conftest.in"
20925 cp "conftest.in" "conftest.nl"
20926 echo '' >> "conftest.nl"
20927 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
20928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
20929 ac_count
=`expr $ac_count + 1`
20930 if test $ac_count -gt ${ac_path_SED_max-0}; then
20931 # Best one so far, save it but keep looking for a better one
20932 ac_cv_path_SED
="$ac_path_SED"
20933 ac_path_SED_max
=$ac_count
20935 # 10*(2^10) chars as input seems more than enough
20936 test $ac_count -gt 10 && break
20938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
20942 $ac_path_SED_found && break 3
20952 SED
="$ac_cv_path_SED"
20953 if test -z "$SED"; then
20954 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
20955 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
20956 { (exit 1); exit 1; }; }
20960 ac_cv_path_SED
=$SED
20964 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
20965 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
20966 SED
="$ac_cv_path_SED"
20974 flag
=`echo "-fvisibility=hidden" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
20976 { echo "$as_me:$LINENO: checking whether the C compiler accepts the -fvisibility=hidden flag" >&5
20977 echo $ECHO_N "checking whether the C compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
20978 if { as_var
=ax_cv_c_check_flag_
$flag; eval "test \"\${$as_var+set}\" = set"; }; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 ac_cpp
='$CPP $CPPFLAGS'
20985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20990 save_CFLAGS
="$CFLAGS"
20991 CFLAGS
="$CFLAGS -fvisibility=hidden"
20992 cat >conftest.
$ac_ext <<_ACEOF
20996 cat confdefs.h
>>conftest.
$ac_ext
20997 cat >>conftest.
$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
21009 rm -f conftest.
$ac_objext
21010 if { (ac_try
="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21018 grep -v '^ *+' conftest.er1 >conftest.err
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21027 eval "ax_cv_c_check_flag_$flag=yes"
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21034 eval "ax_cv_c_check_flag_$flag=no"
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 CFLAGS="$save_CFLAGS"
21043 ac_cpp='$CPP $CPPFLAGS'
21044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21051 ac_res=`eval echo '${'ax_cv_c_check_flag_$flag'}'`
21052 { echo "$as_me:$LINENO: result: $ac_res" >&5
21053 echo "${ECHO_T}$ac_res" >&6; }
21055 if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then
21058 HAVE_C_GCCVISIBILITY=1
21063 HAVE_C_GCCVISIBILITY=0
21073 flag=`echo "-fvisibility=hidden" |
$SED 'y% .=/+-(){}<>:*,%_______________%'`
21075 { echo "$as_me:$LINENO: checking whether the C++ compiler accepts the -fvisibility=hidden flag" >&5
21076 echo $ECHO_N "checking whether the C++ compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
21077 if { as_var=ax_cv_cxx_check_flag_$flag; eval "test \"\${$as_var+set}\" = set"; }; then
21078 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 ac_cpp='$CXXCPP $CPPFLAGS'
21084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21089 save_CXXFLAGS="$CXXFLAGS"
21090 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
21091 cat >conftest.$ac_ext <<_ACEOF
21095 cat confdefs.h >>conftest.$ac_ext
21096 cat >>conftest.$ac_ext <<_ACEOF
21097 /* end confdefs.h. */
21108 rm -f conftest.$ac_objext
21109 if { (ac_try="$ac_compile"
21110 case "(($ac_try" in
21111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21112 *) ac_try_echo
=$ac_try;;
21114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21115 (eval "$ac_compile") 2>conftest.er1
21117 grep -v '^ *+' conftest.er1
>conftest.err
21119 cat conftest.err
>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } && {
21122 test -z "$ac_cxx_werror_flag" ||
21123 test ! -s conftest.err
21124 } && test -s conftest.
$ac_objext; then
21126 eval "ax_cv_cxx_check_flag_$flag=yes"
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.
$ac_ext >&5
21133 eval "ax_cv_cxx_check_flag_$flag=no"
21137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21139 CXXFLAGS
="$save_CXXFLAGS"
21142 ac_cpp
='$CPP $CPPFLAGS'
21143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21150 ac_res
=`eval echo '${'ax_cv_cxx_check_flag_$flag'}'`
21151 { echo "$as_me:$LINENO: result: $ac_res" >&5
21152 echo "${ECHO_T}$ac_res" >&6; }
21154 if eval "test \"`echo '$ax_cv_cxx_check_flag_'$flag`\" = yes"; then
21157 HAVE_CXX_GCCVISIBILITY
=1
21162 HAVE_CXX_GCCVISIBILITY
=0
21169 if test "$HAVE_C_GCCVISIBILITY" = "1" -a "$HAVE_CXX_GCCVISIBILITY" = "1"; then
21170 WITH_GCCVISIBILITY_TRUE
=
21171 WITH_GCCVISIBILITY_FALSE
='#'
21173 WITH_GCCVISIBILITY_TRUE
='#'
21174 WITH_GCCVISIBILITY_FALSE
=
21179 ac_cpp
='$CXXCPP $CPPFLAGS'
21180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21186 # Checks for libraries.
21189 # generates LIBUSB_CFLAGS and LIBUSB_LIBS for us
21192 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21193 if test -n "$ac_tool_prefix"; then
21194 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21195 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
21196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21198 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 case $PKG_CONFIG in
21203 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21207 for as_dir
in $PATH
21210 test -z "$as_dir" && as_dir
=.
21211 for ac_exec_ext
in '' $ac_executable_extensions; do
21212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21213 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21224 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21225 if test -n "$PKG_CONFIG"; then
21226 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21227 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21229 { echo "$as_me:$LINENO: result: no" >&5
21230 echo "${ECHO_T}no" >&6; }
21235 if test -z "$ac_cv_path_PKG_CONFIG"; then
21236 ac_pt_PKG_CONFIG
=$PKG_CONFIG
21237 # Extract the first word of "pkg-config", so it can be a program name with args.
21238 set dummy pkg-config
; ac_word
=$2
21239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21241 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 case $ac_pt_PKG_CONFIG in
21246 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21250 for as_dir
in $PATH
21253 test -z "$as_dir" && as_dir
=.
21254 for ac_exec_ext
in '' $ac_executable_extensions; do
21255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21256 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21267 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
21268 if test -n "$ac_pt_PKG_CONFIG"; then
21269 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21270 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21272 { echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6; }
21276 if test "x$ac_pt_PKG_CONFIG" = x
; then
21279 case $cross_compiling:$ac_tool_warned in
21281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21282 whose name does not start with the host triplet. If you think this
21283 configuration is useful to you, please write to autoconf@gnu.org." >&5
21284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21285 whose name does not start with the host triplet. If you think this
21286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21287 ac_tool_warned
=yes ;;
21289 PKG_CONFIG
=$ac_pt_PKG_CONFIG
21292 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
21296 if test -n "$PKG_CONFIG"; then
21297 _pkg_min_version
=0.9.0
21298 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21299 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21300 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21301 { echo "$as_me:$LINENO: result: yes" >&5
21302 echo "${ECHO_T}yes" >&6; }
21304 { echo "$as_me:$LINENO: result: no" >&5
21305 echo "${ECHO_T}no" >&6; }
21312 { echo "$as_me:$LINENO: checking for LIBUSB" >&5
21313 echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6; }
21315 if test -n "$PKG_CONFIG"; then
21316 if test -n "$LIBUSB_CFLAGS"; then
21317 pkg_cv_LIBUSB_CFLAGS
="$LIBUSB_CFLAGS"
21319 if test -n "$PKG_CONFIG" && \
21320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
21321 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; then
21325 pkg_cv_LIBUSB_CFLAGS
=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
21333 if test -n "$PKG_CONFIG"; then
21334 if test -n "$LIBUSB_LIBS"; then
21335 pkg_cv_LIBUSB_LIBS
="$LIBUSB_LIBS"
21337 if test -n "$PKG_CONFIG" && \
21338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
21339 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; then
21343 pkg_cv_LIBUSB_LIBS
=`$PKG_CONFIG --libs "libusb" 2>/dev/null`
21354 if test $pkg_failed = yes; then
21356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21357 _pkg_short_errors_supported
=yes
21359 _pkg_short_errors_supported
=no
21361 if test $_pkg_short_errors_supported = yes; then
21362 LIBUSB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
21364 LIBUSB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
21366 # Put the nasty error message in config.log where it belongs
21367 echo "$LIBUSB_PKG_ERRORS" >&5
21369 { echo "$as_me:$LINENO: result: no" >&5
21370 echo "${ECHO_T}no" >&6; }
21371 echo "ERROR: Libusb not found automatically... build may fail if you don't specify --with-libusb";LIBUSB_CFLAGS
="-I/usr/include" LIBUSB_LIBS
="-lusb"
21372 elif test $pkg_failed = untried
; then
21373 echo "ERROR: Libusb not found automatically... build may fail if you don't specify --with-libusb";LIBUSB_CFLAGS
="-I/usr/include" LIBUSB_LIBS
="-lusb"
21375 LIBUSB_CFLAGS
=$pkg_cv_LIBUSB_CFLAGS
21376 LIBUSB_LIBS
=$pkg_cv_LIBUSB_LIBS
21377 { echo "$as_me:$LINENO: result: yes" >&5
21378 echo "${ECHO_T}yes" >&6; }
21383 # Check whether --with-libusb was given.
21384 if test "${with_libusb+set}" = set; then
21385 withval
=$with_libusb; LIBUSB_CFLAGS
="-I$with_libusb/include"
21386 LIBUSB_LIBS
="-L$with_libusb/lib -lusb"
21391 # Boost library configuration
21393 # Ok, the requirements:
21395 # - let the user enable/disable Boost support from configure
21396 # - default to disabled
21397 # - if enabled, and not available, error
21399 # - let user specify include path, and lib path, separately,
21400 # since some Boost installations have an additional boost-1.34.1
21401 # style directory in them
21402 # - default to using no path overrides, assuming everything
21403 # that is needed is in default distro locations
21405 # - let user specify the name of the serialization library, since
21406 # the name of the library can change whether you're building
21407 # from source or not
21408 # - default to searching for boost_serialization or
21409 # boost_serialization-mt, and error if not found
21413 # --enable-boost Handles enable/disable
21414 # --with-boost-include=path Override the include path
21415 # --with-boost-lib=path Override the lib path
21416 # --with-boost-serialization=name Override the name of serialization
21417 # library to link with
21420 # Check whether --enable-boost was given.
21421 if test "${enable_boost+set}" = set; then
21422 enableval
=$enable_boost;
21423 if test x
"$enableval" = "xno" ; then
21435 # Check whether --with-boost-include was given.
21436 if test "${with_boost_include+set}" = set; then
21437 withval
=$with_boost_include; BOOST_INC_PATH
="-I$withval"
21444 # Check whether --with-boost-lib was given.
21445 if test "${with_boost_lib+set}" = set; then
21446 withval
=$with_boost_lib; BOOST_LIB_PATH
="-L$withval"
21453 # Check whether --with-boost-serialization was given.
21454 if test "${with_boost_serialization+set}" = set; then
21455 withval
=$with_boost_serialization; boost_serialization_name
=$withval
21457 boost_serialization_name
="boost_serialization"
21461 { echo "$as_me:$LINENO: using BOOST library... $BOOST_ENABLED" >&5
21462 echo "$as_me: using BOOST library... $BOOST_ENABLED" >&6;}
21463 if test x
"$BOOST_INC_PATH$BOOST_LIB_PATH" != x
; then
21464 { echo "$as_me:$LINENO: BOOST include options: $BOOST_INC_PATH" >&5
21465 echo "$as_me: BOOST include options: $BOOST_INC_PATH" >&6;}
21466 { echo "$as_me:$LINENO: BOOST library options: $BOOST_LIB_PATH" >&5
21467 echo "$as_me: BOOST library options: $BOOST_LIB_PATH" >&6;}
21470 if test x
"$BOOST_ENABLED" = "xyes" ; then
21471 # Only $BOOST_LIB_PATH is given for this check, since no
21472 # headers are included in the autoconf main() test snippet.
21473 as_ac_Lib
=`echo "ac_cv_lib_$boost_serialization_name''_main" | $as_tr_sh`
21474 { echo "$as_me:$LINENO: checking for main in -l$boost_serialization_name" >&5
21475 echo $ECHO_N "checking for main in -l$boost_serialization_name... $ECHO_C" >&6; }
21476 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 ac_check_lib_save_LIBS
=$LIBS
21480 LIBS
="-l$boost_serialization_name $BOOST_LIB_PATH $LIBS"
21481 cat >conftest.
$ac_ext <<_ACEOF
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21497 rm -f conftest.
$ac_objext conftest
$ac_exeext
21498 if { (ac_try
="$ac_link"
21499 case "(($ac_try" in
21500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_link") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_cxx_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest$ac_exeext &&
21514 $as_test_x conftest$ac_exeext; then
21515 eval "$as_ac_Lib=yes"
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 eval "$as_ac_Lib=no"
21523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21524 conftest$ac_exeext conftest.$ac_ext
21525 LIBS=$ac_check_lib_save_LIBS
21527 ac_res=`eval echo '${'$as_ac_Lib'}'`
21528 { echo "$as_me:$LINENO: result: $ac_res" >&5
21529 echo "${ECHO_T}$ac_res" >&6; }
21530 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
21531 BOOST_LDADD="-l$boost_serialization_name"
21534 { echo "$as_me:$LINENO: checking for main in -lboost_serialization-mt" >&5
21535 echo $ECHO_N "checking for main in -lboost_serialization-mt... $ECHO_C" >&6; }
21536 if test "${ac_cv_lib_boost_serialization_mt_main+set}" = set; then
21537 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 ac_check_lib_save_LIBS=$LIBS
21540 LIBS="-lboost_serialization-mt $BOOST_LIB_PATH
21542 cat >conftest.$ac_ext <<_ACEOF
21545 cat confdefs.h >>conftest.$ac_ext
21546 cat >>conftest.$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21558 rm -f conftest.$ac_objext conftest$ac_exeext
21559 if { (ac_try="$ac_link"
21560 case "(($ac_try" in
21561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21562 *) ac_try_echo
=$ac_try;;
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_link") 2>conftest.er1
21567 grep -v '^ *+' conftest.er1
>conftest.err
21569 cat conftest.err
>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && {
21572 test -z "$ac_cxx_werror_flag" ||
21573 test ! -s conftest.err
21574 } && test -s conftest
$ac_exeext &&
21575 $as_test_x conftest
$ac_exeext; then
21576 ac_cv_lib_boost_serialization_mt_main
=yes
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.
$ac_ext >&5
21581 ac_cv_lib_boost_serialization_mt_main
=no
21584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21585 conftest
$ac_exeext conftest.
$ac_ext
21586 LIBS
=$ac_check_lib_save_LIBS
21588 { echo "$as_me:$LINENO: result: $ac_cv_lib_boost_serialization_mt_main" >&5
21589 echo "${ECHO_T}$ac_cv_lib_boost_serialization_mt_main" >&6; }
21590 if test $ac_cv_lib_boost_serialization_mt_main = yes; then
21591 BOOST_LDADD
="-lboost_serialization-mt"
21593 { { echo "$as_me:$LINENO: error: boost_serialization not found" >&5
21594 echo "$as_me: error: boost_serialization not found" >&2;}
21595 { (exit 1); exit 1; }; }
21602 if test x
"$BOOST_LDADD" != x
; then
21603 { echo "$as_me:$LINENO: BOOST library name: $BOOST_LDADD" >&5
21604 echo "$as_me: BOOST library name: $BOOST_LDADD" >&6;}
21606 { { echo "$as_me:$LINENO: error: boost_serialization library not found" >&5
21607 echo "$as_me: error: boost_serialization library not found" >&2;}
21608 { (exit 1); exit 1; }; }
21617 if test "$BOOST_ENABLED" = "yes"; then
21619 WITH_BOOST_FALSE
='#'
21621 WITH_BOOST_TRUE
='#'
21627 #PKG_CHECK_MODULES([OPENSSL], [openssl])
21631 { echo "$as_me:$LINENO: checking for FUSE" >&5
21632 echo $ECHO_N "checking for FUSE... $ECHO_C" >&6; }
21634 if test -n "$PKG_CONFIG"; then
21635 if test -n "$FUSE_CFLAGS"; then
21636 pkg_cv_FUSE_CFLAGS
="$FUSE_CFLAGS"
21638 if test -n "$PKG_CONFIG" && \
21639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.5\"") >&5
21640 ($PKG_CONFIG --exists --print-errors "fuse >= 2.5") 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; then
21644 pkg_cv_FUSE_CFLAGS
=`$PKG_CONFIG --cflags "fuse >= 2.5" 2>/dev/null`
21652 if test -n "$PKG_CONFIG"; then
21653 if test -n "$FUSE_LIBS"; then
21654 pkg_cv_FUSE_LIBS
="$FUSE_LIBS"
21656 if test -n "$PKG_CONFIG" && \
21657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.5\"") >&5
21658 ($PKG_CONFIG --exists --print-errors "fuse >= 2.5") 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; then
21662 pkg_cv_FUSE_LIBS
=`$PKG_CONFIG --libs "fuse >= 2.5" 2>/dev/null`
21673 if test $pkg_failed = yes; then
21675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21676 _pkg_short_errors_supported
=yes
21678 _pkg_short_errors_supported
=no
21680 if test $_pkg_short_errors_supported = yes; then
21681 FUSE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse >= 2.5"`
21683 FUSE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse >= 2.5"`
21685 # Put the nasty error message in config.log where it belongs
21686 echo "$FUSE_PKG_ERRORS" >&5
21688 { echo "$as_me:$LINENO: result: no" >&5
21689 echo "${ECHO_T}no" >&6; }
21690 echo "FUSE library not found, skipping fuse module."; FUSE_FOUND
=0
21692 elif test $pkg_failed = untried
; then
21693 echo "FUSE library not found, skipping fuse module."; FUSE_FOUND
=0
21696 FUSE_CFLAGS
=$pkg_cv_FUSE_CFLAGS
21697 FUSE_LIBS
=$pkg_cv_FUSE_LIBS
21698 { echo "$as_me:$LINENO: result: yes" >&5
21699 echo "${ECHO_T}yes" >&6; }
21703 pkgconfigdir
=${libdir}/pkgconfig
21711 if test "$FUSE_FOUND" = "1"; then
21713 WITH_FUSE_FALSE
='#'
21720 #AC_CHECK_LIB([IOKit], [main])
21721 #AC_CHECK_LIB([libusb], [libusb_init])
21723 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
21724 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
21725 if test "${ac_cv_lib_pthread_main+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 ac_check_lib_save_LIBS
=$LIBS
21729 LIBS
="-lpthread $LIBS"
21730 cat >conftest.
$ac_ext <<_ACEOF
21733 cat confdefs.h
>>conftest.
$ac_ext
21734 cat >>conftest.
$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21746 rm -f conftest.
$ac_objext conftest
$ac_exeext
21747 if { (ac_try
="$ac_link"
21748 case "(($ac_try" in
21749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21750 *) ac_try_echo=$ac_try;;
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_link") 2>conftest.er1
21755 grep -v '^ *+' conftest.er1 >conftest.err
21757 cat conftest.err >&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } && {
21760 test -z "$ac_cxx_werror_flag" ||
21761 test ! -s conftest.err
21762 } && test -s conftest$ac_exeext &&
21763 $as_test_x conftest$ac_exeext; then
21764 ac_cv_lib_pthread_main=yes
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21769 ac_cv_lib_pthread_main=no
21772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21773 conftest$ac_exeext conftest.$ac_ext
21774 LIBS=$ac_check_lib_save_LIBS
21776 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
21777 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
21778 if test $ac_cv_lib_pthread_main = yes; then
21779 cat >>confdefs.h <<_ACEOF
21780 #define HAVE_LIBPTHREAD 1
21783 LIBS="-lpthread $LIBS"
21789 # Check whether --with-zlib was given.
21790 if test "${with_zlib+set}" = set; then
21791 withval=$with_zlib; force_zlib=$withval
21797 { echo "$as_me:$LINENO: checking for crc32 in -lz" >&5
21798 echo $ECHO_N "checking for crc32 in -lz... $ECHO_C" >&6; }
21799 if test "${ac_cv_lib_z_crc32+set}" = set; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 ac_check_lib_save_LIBS=$LIBS
21804 cat >conftest.$ac_ext <<_ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21811 /* Override any GCC internal prototype to avoid an error.
21812 Use char because int might match the return type of a GCC
21813 builtin and then its argument prototype would still apply. */
21826 rm -f conftest.$ac_objext conftest$ac_exeext
21827 if { (ac_try="$ac_link"
21828 case "(($ac_try" in
21829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21830 *) ac_try_echo
=$ac_try;;
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_link") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1
>conftest.err
21837 cat conftest.err
>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && {
21840 test -z "$ac_cxx_werror_flag" ||
21841 test ! -s conftest.err
21842 } && test -s conftest
$ac_exeext &&
21843 $as_test_x conftest
$ac_exeext; then
21844 ac_cv_lib_z_crc32
=yes
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.
$ac_ext >&5
21849 ac_cv_lib_z_crc32
=no
21852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21853 conftest
$ac_exeext conftest.
$ac_ext
21854 LIBS
=$ac_check_lib_save_LIBS
21856 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_crc32" >&5
21857 echo "${ECHO_T}$ac_cv_lib_z_crc32" >&6; }
21858 if test $ac_cv_lib_z_crc32 = yes; then
21861 cat >>confdefs.h
<<\_ACEOF
21862 #define HAVE_ZLIB 1
21870 echo "*****************************************************************"
21871 echo "WARNING: zlib not found... packed .cod files will fail crc checks"
21872 echo "*****************************************************************"
21875 if test "x$force_zlib" != xno
; then
21876 { { echo "$as_me:$LINENO: error: --with-zlib specified, but zlib not found
21877 See \`config.log' for more details." >&5
21878 echo "$as_me: error: --with-zlib specified, but zlib not found
21879 See \`config.log' for more details." >&2;}
21880 { (exit 1); exit 1; }; }
21888 if test "X$prefix" = "XNONE"; then
21889 acl_final_prefix
="$ac_default_prefix"
21891 acl_final_prefix
="$prefix"
21893 if test "X$exec_prefix" = "XNONE"; then
21894 acl_final_exec_prefix
='${prefix}'
21896 acl_final_exec_prefix
="$exec_prefix"
21898 acl_save_prefix
="$prefix"
21899 prefix
="$acl_final_prefix"
21900 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21901 prefix
="$acl_save_prefix"
21904 # Check whether --with-gnu-ld was given.
21905 if test "${with_gnu_ld+set}" = set; then
21906 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
21911 # Prepare PATH_SEPARATOR.
21912 # The user is always right.
21913 if test "${PATH_SEPARATOR+set}" != set; then
21914 echo "#! /bin/sh" >conf$$.sh
21915 echo "exit 0" >>conf$$.sh
21917 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21925 if test "$GCC" = yes; then
21926 # Check if gcc -print-prog-name=ld gives a path.
21927 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21928 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
21931 # gcc leaves a trailing carriage return which upsets mingw
21932 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21934 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21937 # Accept absolute paths.
21938 [\\/]* |
[A-Za-z
]:[\\/]*)
21939 re_direlt
='/[^/][^/]*/\.\./'
21940 # Canonicalize the path of ld
21941 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21942 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21943 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21945 test -z "$LD" && LD
="$ac_prog"
21948 # If it fails, then pretend we aren't using GCC.
21952 # If it is relative, then search for the first ld in PATH.
21953 with_gnu_ld
=unknown
21956 elif test "$with_gnu_ld" = yes; then
21957 { echo "$as_me:$LINENO: checking for GNU ld" >&5
21958 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
21960 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21961 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
21963 if test "${acl_cv_path_LD+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21966 if test -z "$LD"; then
21967 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21968 for ac_dir
in $PATH; do
21969 test -z "$ac_dir" && ac_dir
=.
21970 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21971 acl_cv_path_LD
="$ac_dir/$ac_prog"
21972 # Check to see if the program is GNU ld. I'd rather use --version,
21973 # but apparently some GNU ld's only accept -v.
21974 # Break only if it was the GNU/non-GNU ld that we prefer.
21975 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
21976 *GNU
* |
*'with BFD'*)
21977 test "$with_gnu_ld" != no
&& break ;;
21979 test "$with_gnu_ld" != yes && break ;;
21985 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21989 LD
="$acl_cv_path_LD"
21990 if test -n "$LD"; then
21991 { echo "$as_me:$LINENO: result: $LD" >&5
21992 echo "${ECHO_T}$LD" >&6; }
21994 { echo "$as_me:$LINENO: result: no" >&5
21995 echo "${ECHO_T}no" >&6; }
21997 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21998 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21999 { (exit 1); exit 1; }; }
22000 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22001 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
22002 if test "${acl_cv_prog_gnu_ld+set}" = set; then
22003 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
22006 case `$LD -v 2>&1 </dev/null` in
22007 *GNU
* |
*'with BFD'*)
22008 acl_cv_prog_gnu_ld
=yes ;;
22010 acl_cv_prog_gnu_ld
=no
;;
22013 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
22014 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
22015 with_gnu_ld
=$acl_cv_prog_gnu_ld
22020 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
22021 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
22022 if test "${acl_cv_rpath+set}" = set; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22026 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
22027 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
22029 rm -f .
/conftest.sh
22033 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
22034 echo "${ECHO_T}$acl_cv_rpath" >&6; }
22036 acl_libext
="$acl_cv_libext"
22037 acl_shlibext
="$acl_cv_shlibext"
22038 acl_libname_spec
="$acl_cv_libname_spec"
22039 acl_library_names_spec
="$acl_cv_library_names_spec"
22040 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
22041 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
22042 acl_hardcode_direct
="$acl_cv_hardcode_direct"
22043 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
22044 # Check whether --enable-rpath was given.
22045 if test "${enable_rpath+set}" = set; then
22046 enableval
=$enable_rpath; :
22054 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
22055 if test -n "$searchpath"; then
22056 acl_save_IFS
="${IFS= }"; IFS
=":"
22057 for searchdir
in $searchpath; do
22058 if test -d "$searchdir"; then
22059 case "$searchdir" in
22060 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
22061 *) searchdir
=`cd "$searchdir" && pwd`
22062 case "$searchdir" in
22063 */lib64
) acl_libdirstem
=lib64
;;
22068 IFS
="$acl_save_IFS"
22081 acl_save_prefix
="$prefix"
22082 prefix
="$acl_final_prefix"
22083 acl_save_exec_prefix
="$exec_prefix"
22084 exec_prefix
="$acl_final_exec_prefix"
22086 eval additional_includedir
=\"$includedir\"
22087 eval additional_libdir
=\"$libdir\"
22089 exec_prefix
="$acl_save_exec_prefix"
22090 prefix
="$acl_save_prefix"
22093 # Check whether --with-libiconv-prefix was given.
22094 if test "${with_libiconv_prefix+set}" = set; then
22095 withval
=$with_libiconv_prefix;
22096 if test "X$withval" = "Xno"; then
22099 if test "X$withval" = "X"; then
22101 acl_save_prefix
="$prefix"
22102 prefix
="$acl_final_prefix"
22103 acl_save_exec_prefix
="$exec_prefix"
22104 exec_prefix
="$acl_final_exec_prefix"
22106 eval additional_includedir
=\"$includedir\"
22107 eval additional_libdir
=\"$libdir\"
22109 exec_prefix
="$acl_save_exec_prefix"
22110 prefix
="$acl_save_prefix"
22113 additional_includedir
="$withval/include"
22114 additional_libdir
="$withval/$acl_libdirstem"
22126 names_already_handled
=
22127 names_next_round
='iconv '
22128 while test -n "$names_next_round"; do
22129 names_this_round
="$names_next_round"
22131 for name
in $names_this_round; do
22133 for n
in $names_already_handled; do
22134 if test "$n" = "$name"; then
22135 already_handled
=yes
22139 if test -z "$already_handled"; then
22140 names_already_handled
="$names_already_handled $name"
22141 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
22142 eval value
=\"\
$HAVE_LIB$uppername\"
22143 if test -n "$value"; then
22144 if test "$value" = yes; then
22145 eval value
=\"\
$LIB$uppername\"
22146 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
22147 eval value
=\"\
$LTLIB$uppername\"
22148 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
22157 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
22158 if test -n "$acl_shlibext"; then
22159 shrext
=".$acl_shlibext" # typically: shrext=.so
22163 if test $use_additional = yes; then
22164 dir
="$additional_libdir"
22165 if test -n "$acl_shlibext"; then
22166 if test -f "$dir/$libname$shrext"; then
22168 found_so
="$dir/$libname$shrext"
22170 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
22171 ver
=`(cd "$dir" && \
22172 for f in "$libname$shrext".*; do echo "$f"; done \
22173 | sed -e "s,^$libname$shrext\\\\.,," \
22174 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
22175 | sed 1q ) 2>/dev/null`
22176 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
22178 found_so
="$dir/$libname$shrext.$ver"
22181 eval library_names
=\"$acl_library_names_spec\"
22182 for f
in $library_names; do
22183 if test -f "$dir/$f"; then
22192 if test "X$found_dir" = "X"; then
22193 if test -f "$dir/$libname.$acl_libext"; then
22195 found_a
="$dir/$libname.$acl_libext"
22198 if test "X$found_dir" != "X"; then
22199 if test -f "$dir/$libname.la"; then
22200 found_la
="$dir/$libname.la"
22204 if test "X$found_dir" = "X"; then
22205 for x
in $LDFLAGS $LTLIBICONV; do
22207 acl_save_prefix
="$prefix"
22208 prefix
="$acl_final_prefix"
22209 acl_save_exec_prefix
="$exec_prefix"
22210 exec_prefix
="$acl_final_exec_prefix"
22212 exec_prefix
="$acl_save_exec_prefix"
22213 prefix
="$acl_save_prefix"
22217 dir
=`echo "X$x" | sed -e 's/^X-L//'`
22218 if test -n "$acl_shlibext"; then
22219 if test -f "$dir/$libname$shrext"; then
22221 found_so
="$dir/$libname$shrext"
22223 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
22224 ver
=`(cd "$dir" && \
22225 for f in "$libname$shrext".*; do echo "$f"; done \
22226 | sed -e "s,^$libname$shrext\\\\.,," \
22227 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
22228 | sed 1q ) 2>/dev/null`
22229 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
22231 found_so
="$dir/$libname$shrext.$ver"
22234 eval library_names
=\"$acl_library_names_spec\"
22235 for f
in $library_names; do
22236 if test -f "$dir/$f"; then
22245 if test "X$found_dir" = "X"; then
22246 if test -f "$dir/$libname.$acl_libext"; then
22248 found_a
="$dir/$libname.$acl_libext"
22251 if test "X$found_dir" != "X"; then
22252 if test -f "$dir/$libname.la"; then
22253 found_la
="$dir/$libname.la"
22258 if test "X$found_dir" != "X"; then
22263 if test "X$found_dir" != "X"; then
22264 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
22265 if test "X$found_so" != "X"; then
22266 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
22267 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22270 for x
in $ltrpathdirs; do
22271 if test "X$x" = "X$found_dir"; then
22276 if test -z "$haveit"; then
22277 ltrpathdirs
="$ltrpathdirs $found_dir"
22279 if test "$acl_hardcode_direct" = yes; then
22280 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22282 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
22283 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22285 for x
in $rpathdirs; do
22286 if test "X$x" = "X$found_dir"; then
22291 if test -z "$haveit"; then
22292 rpathdirs
="$rpathdirs $found_dir"
22296 for x
in $LDFLAGS $LIBICONV; do
22298 acl_save_prefix
="$prefix"
22299 prefix
="$acl_final_prefix"
22300 acl_save_exec_prefix
="$exec_prefix"
22301 exec_prefix
="$acl_final_exec_prefix"
22303 exec_prefix
="$acl_save_exec_prefix"
22304 prefix
="$acl_save_prefix"
22306 if test "X$x" = "X-L$found_dir"; then
22311 if test -z "$haveit"; then
22312 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
22314 if test "$acl_hardcode_minus_L" != no
; then
22315 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22317 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22323 if test "X$found_a" != "X"; then
22324 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
22326 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
22329 additional_includedir
=
22330 case "$found_dir" in
22331 */$acl_libdirstem |
*/$acl_libdirstem/)
22332 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
22333 LIBICONV_PREFIX
="$basedir"
22334 additional_includedir
="$basedir/include"
22337 if test "X$additional_includedir" != "X"; then
22338 if test "X$additional_includedir" != "X/usr/include"; then
22340 if test "X$additional_includedir" = "X/usr/local/include"; then
22341 if test -n "$GCC"; then
22343 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
22347 if test -z "$haveit"; then
22348 for x
in $CPPFLAGS $INCICONV; do
22350 acl_save_prefix
="$prefix"
22351 prefix
="$acl_final_prefix"
22352 acl_save_exec_prefix
="$exec_prefix"
22353 exec_prefix
="$acl_final_exec_prefix"
22355 exec_prefix
="$acl_save_exec_prefix"
22356 prefix
="$acl_save_prefix"
22358 if test "X$x" = "X-I$additional_includedir"; then
22363 if test -z "$haveit"; then
22364 if test -d "$additional_includedir"; then
22365 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
22371 if test -n "$found_la"; then
22372 save_libdir
="$libdir"
22373 case "$found_la" in
22374 */* |
*\\*) .
"$found_la" ;;
22375 *) .
"./$found_la" ;;
22377 libdir
="$save_libdir"
22378 for dep
in $dependency_libs; do
22381 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
22382 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
22384 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
22385 if test -n "$GCC"; then
22387 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
22391 if test -z "$haveit"; then
22393 for x
in $LDFLAGS $LIBICONV; do
22395 acl_save_prefix
="$prefix"
22396 prefix
="$acl_final_prefix"
22397 acl_save_exec_prefix
="$exec_prefix"
22398 exec_prefix
="$acl_final_exec_prefix"
22400 exec_prefix
="$acl_save_exec_prefix"
22401 prefix
="$acl_save_prefix"
22403 if test "X$x" = "X-L$additional_libdir"; then
22408 if test -z "$haveit"; then
22409 if test -d "$additional_libdir"; then
22410 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
22414 for x
in $LDFLAGS $LTLIBICONV; do
22416 acl_save_prefix
="$prefix"
22417 prefix
="$acl_final_prefix"
22418 acl_save_exec_prefix
="$exec_prefix"
22419 exec_prefix
="$acl_final_exec_prefix"
22421 exec_prefix
="$acl_save_exec_prefix"
22422 prefix
="$acl_save_prefix"
22424 if test "X$x" = "X-L$additional_libdir"; then
22429 if test -z "$haveit"; then
22430 if test -d "$additional_libdir"; then
22431 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
22438 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
22439 if test "$enable_rpath" != no
; then
22441 for x
in $rpathdirs; do
22442 if test "X$x" = "X$dir"; then
22447 if test -z "$haveit"; then
22448 rpathdirs
="$rpathdirs $dir"
22451 for x
in $ltrpathdirs; do
22452 if test "X$x" = "X$dir"; then
22457 if test -z "$haveit"; then
22458 ltrpathdirs
="$ltrpathdirs $dir"
22463 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22466 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22469 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
22470 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22476 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22477 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22483 if test "X$rpathdirs" != "X"; then
22484 if test -n "$acl_hardcode_libdir_separator"; then
22486 for found_dir
in $rpathdirs; do
22487 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
22489 acl_save_libdir
="$libdir"
22491 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
22492 libdir
="$acl_save_libdir"
22493 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22495 for found_dir
in $rpathdirs; do
22496 acl_save_libdir
="$libdir"
22497 libdir
="$found_dir"
22498 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
22499 libdir
="$acl_save_libdir"
22500 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22504 if test "X$ltrpathdirs" != "X"; then
22505 for found_dir
in $ltrpathdirs; do
22506 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22516 am_save_CPPFLAGS
="$CPPFLAGS"
22518 for element
in $INCICONV; do
22520 for x
in $CPPFLAGS; do
22522 acl_save_prefix
="$prefix"
22523 prefix
="$acl_final_prefix"
22524 acl_save_exec_prefix
="$exec_prefix"
22525 exec_prefix
="$acl_final_exec_prefix"
22527 exec_prefix
="$acl_save_exec_prefix"
22528 prefix
="$acl_save_prefix"
22530 if test "X$x" = "X$element"; then
22535 if test -z "$haveit"; then
22536 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22541 { echo "$as_me:$LINENO: checking for iconv" >&5
22542 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
22543 if test "${am_cv_func_iconv+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 am_cv_func_iconv
="no, consider installing GNU libiconv"
22549 cat >conftest.
$ac_ext <<_ACEOF
22552 cat confdefs.h
>>conftest.
$ac_ext
22553 cat >>conftest.
$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 #include <stdlib.h>
22560 iconv_t cd = iconv_open("","");
22561 iconv(cd,NULL,NULL,NULL,NULL);
22567 rm -f conftest.
$ac_objext conftest
$ac_exeext
22568 if { (ac_try
="$ac_link"
22569 case "(($ac_try" in
22570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_link") 2>conftest.er1
22576 grep -v '^ *+' conftest.er1 >conftest.err
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_cxx_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest$ac_exeext &&
22584 $as_test_x conftest$ac_exeext; then
22585 am_cv_func_iconv=yes
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22594 conftest$ac_exeext conftest.$ac_ext
22595 if test "$am_cv_func_iconv" != yes; then
22596 am_save_LIBS="$LIBS"
22597 LIBS="$LIBS $LIBICONV"
22598 cat >conftest.$ac_ext <<_ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604 #include <stdlib.h>
22609 iconv_t cd = iconv_open("","");
22610 iconv(cd,NULL,NULL,NULL,NULL);
22616 rm -f conftest.$ac_objext conftest$ac_exeext
22617 if { (ac_try="$ac_link"
22618 case "(($ac_try" in
22619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22620 *) ac_try_echo
=$ac_try;;
22622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22623 (eval "$ac_link") 2>conftest.er1
22625 grep -v '^ *+' conftest.er1
>conftest.err
22627 cat conftest.err
>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); } && {
22630 test -z "$ac_cxx_werror_flag" ||
22631 test ! -s conftest.err
22632 } && test -s conftest
$ac_exeext &&
22633 $as_test_x conftest
$ac_exeext; then
22634 am_cv_lib_iconv
=yes
22635 am_cv_func_iconv
=yes
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.
$ac_ext >&5
22643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22644 conftest
$ac_exeext conftest.
$ac_ext
22645 LIBS
="$am_save_LIBS"
22649 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22650 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
22651 if test "$am_cv_func_iconv" = yes; then
22652 { echo "$as_me:$LINENO: checking for working iconv" >&5
22653 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
22654 if test "${am_cv_func_iconv_works+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 am_save_LIBS
="$LIBS"
22659 if test $am_cv_lib_iconv = yes; then
22660 LIBS
="$LIBS $LIBICONV"
22662 if test "$cross_compiling" = yes; then
22664 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
22665 *) am_cv_func_iconv_works
="guessing yes" ;;
22668 cat >conftest.
$ac_ext <<_ACEOF
22671 cat confdefs.h
>>conftest.
$ac_ext
22672 cat >>conftest.
$ac_ext <<_ACEOF
22673 /* end confdefs.h. */
22676 #include <string.h>
22679 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
22682 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
22683 if (cd_utf8_to_88591 != (iconv_t)(-1))
22685 static const char input[] = "\342\202\254"; /* EURO SIGN */
22687 const char *inptr = input;
22688 size_t inbytesleft = strlen (input);
22689 char *outptr = buf;
22690 size_t outbytesleft = sizeof (buf);
22691 size_t res = iconv (cd_utf8_to_88591,
22692 (char **) &inptr, &inbytesleft,
22693 &outptr, &outbytesleft);
22698 #if 0 /* This bug could be worked around by the caller. */
22699 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
22701 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
22702 if (cd_88591_to_utf8 != (iconv_t)(-1))
22704 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
22706 const char *inptr = input;
22707 size_t inbytesleft = strlen (input);
22708 char *outptr = buf;
22709 size_t outbytesleft = sizeof (buf);
22710 size_t res = iconv (cd_88591_to_utf8,
22711 (char **) &inptr, &inbytesleft,
22712 &outptr, &outbytesleft);
22718 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
22720 if (/* Try standardized names. */
22721 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
22722 /* Try IRIX, OSF/1 names. */
22723 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
22724 /* Try AIX names. */
22725 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
22726 /* Try HP-UX names. */
22727 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
22732 rm -f conftest
$ac_exeext
22733 if { (ac_try
="$ac_link"
22734 case "(($ac_try" in
22735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22745 *) ac_try_echo
=$ac_try;;
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 am_cv_func_iconv_works
=yes
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.
$ac_ext >&5
22758 ( exit $ac_status )
22759 am_cv_func_iconv_works
=no
22761 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22765 LIBS
="$am_save_LIBS"
22768 { echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
22769 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
22770 case "$am_cv_func_iconv_works" in
22771 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
22772 *) am_func_iconv
=yes ;;
22775 am_func_iconv
=no am_cv_lib_iconv
=no
22777 if test "$am_func_iconv" = yes; then
22779 cat >>confdefs.h
<<\_ACEOF
22780 #define HAVE_ICONV 1
22784 if test "$am_cv_lib_iconv" = yes; then
22785 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22786 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
22787 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
22788 echo "${ECHO_T}$LIBICONV" >&6; }
22790 CPPFLAGS
="$am_save_CPPFLAGS"
22797 if test "$am_cv_func_iconv" = yes; then
22798 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
22799 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
22800 if test "${am_cv_proto_iconv+set}" = set; then
22801 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 cat >conftest.
$ac_ext <<_ACEOF
22807 cat confdefs.h
>>conftest.
$ac_ext
22808 cat >>conftest.
$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22811 #include <stdlib.h>
22817 #if defined(__STDC__) || defined(__cplusplus)
22818 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22831 rm -f conftest.
$ac_objext
22832 if { (ac_try
="$ac_compile"
22833 case "(($ac_try" in
22834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_compile") 2>conftest.er1
22840 grep -v '^ *+' conftest.er1 >conftest.err
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } && {
22845 test -z "$ac_cxx_werror_flag" ||
22846 test ! -s conftest.err
22847 } && test -s conftest.$ac_objext; then
22848 am_cv_proto_iconv_arg1=""
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22853 am_cv_proto_iconv_arg1="const"
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
22860 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
22861 { echo "$as_me:$LINENO: result: ${ac_t:-
22862 }$am_cv_proto_iconv" >&5
22863 echo "${ECHO_T}${ac_t:-
22864 }$am_cv_proto_iconv" >&6; }
22866 cat >>confdefs.h <<_ACEOF
22867 #define ICONV_CONST $am_cv_proto_iconv_arg1
22875 # Checks for header files.
22882 ac_header_dirent=no
22883 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
22884 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
22885 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
22886 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
22887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 cat >conftest.$ac_ext <<_ACEOF
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 #include <sys/types.h>
22908 rm -f conftest.$ac_objext
22909 if { (ac_try="$ac_compile"
22910 case "(($ac_try" in
22911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22912 *) ac_try_echo
=$ac_try;;
22914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22915 (eval "$ac_compile") 2>conftest.er1
22917 grep -v '^ *+' conftest.er1
>conftest.err
22919 cat conftest.err
>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } && {
22922 test -z "$ac_cxx_werror_flag" ||
22923 test ! -s conftest.err
22924 } && test -s conftest.
$ac_objext; then
22925 eval "$as_ac_Header=yes"
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.
$ac_ext >&5
22930 eval "$as_ac_Header=no"
22933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22935 ac_res
=`eval echo '${'$as_ac_Header'}'`
22936 { echo "$as_me:$LINENO: result: $ac_res" >&5
22937 echo "${ECHO_T}$ac_res" >&6; }
22938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22939 cat >>confdefs.h
<<_ACEOF
22940 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
22943 ac_header_dirent
=$ac_hdr; break
22947 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
22948 if test $ac_header_dirent = dirent.h
; then
22949 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
22950 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
22951 if test "${ac_cv_search_opendir+set}" = set; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 ac_func_search_save_LIBS
=$LIBS
22955 cat >conftest.
$ac_ext <<_ACEOF
22958 cat confdefs.h
>>conftest.
$ac_ext
22959 cat >>conftest.
$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22962 /* Override any GCC internal prototype to avoid an error.
22963 Use char because int might match the return type of a GCC
22964 builtin and then its argument prototype would still apply. */
22977 for ac_lib
in '' dir
; do
22978 if test -z "$ac_lib"; then
22979 ac_res
="none required"
22982 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22984 rm -f conftest.
$ac_objext conftest
$ac_exeext
22985 if { (ac_try
="$ac_link"
22986 case "(($ac_try" in
22987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_link") 2>conftest.er1
22993 grep -v '^ *+' conftest.er1 >conftest.err
22995 cat conftest.err >&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } && {
22998 test -z "$ac_cxx_werror_flag" ||
22999 test ! -s conftest.err
23000 } && test -s conftest$ac_exeext &&
23001 $as_test_x conftest$ac_exeext; then
23002 ac_cv_search_opendir=$ac_res
23004 echo "$as_me: failed program was:" >&5
23005 sed 's/^/| /' conftest.$ac_ext >&5
23010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23012 if test "${ac_cv_search_opendir+set}" = set; then
23016 if test "${ac_cv_search_opendir+set}" = set; then
23019 ac_cv_search_opendir=no
23021 rm conftest.$ac_ext
23022 LIBS=$ac_func_search_save_LIBS
23024 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
23025 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
23026 ac_res=$ac_cv_search_opendir
23027 if test "$ac_res" != no; then
23028 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23033 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
23034 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
23035 if test "${ac_cv_search_opendir+set}" = set; then
23036 echo $ECHO_N "(cached) $ECHO_C" >&6
23038 ac_func_search_save_LIBS=$LIBS
23039 cat >conftest.$ac_ext <<_ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23046 /* Override any GCC internal prototype to avoid an error.
23047 Use char because int might match the return type of a GCC
23048 builtin and then its argument prototype would still apply. */
23061 for ac_lib in '' x; do
23062 if test -z "$ac_lib"; then
23063 ac_res="none required"
23066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23068 rm -f conftest.$ac_objext conftest$ac_exeext
23069 if { (ac_try="$ac_link"
23070 case "(($ac_try" in
23071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23072 *) ac_try_echo
=$ac_try;;
23074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23075 (eval "$ac_link") 2>conftest.er1
23077 grep -v '^ *+' conftest.er1
>conftest.err
23079 cat conftest.err
>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && {
23082 test -z "$ac_cxx_werror_flag" ||
23083 test ! -s conftest.err
23084 } && test -s conftest
$ac_exeext &&
23085 $as_test_x conftest
$ac_exeext; then
23086 ac_cv_search_opendir
=$ac_res
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23096 if test "${ac_cv_search_opendir+set}" = set; then
23100 if test "${ac_cv_search_opendir+set}" = set; then
23103 ac_cv_search_opendir
=no
23105 rm conftest.
$ac_ext
23106 LIBS
=$ac_func_search_save_LIBS
23108 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
23109 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
23110 ac_res
=$ac_cv_search_opendir
23111 if test "$ac_res" != no
; then
23112 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23119 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
23120 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
23121 if test "${ac_cv_header_stdc+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 cat >conftest.
$ac_ext <<_ACEOF
23127 cat confdefs.h
>>conftest.
$ac_ext
23128 cat >>conftest.
$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 #include <stdlib.h>
23131 #include <stdarg.h>
23132 #include <string.h>
23143 rm -f conftest.
$ac_objext
23144 if { (ac_try
="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23152 grep -v '^ *+' conftest.er1 >conftest.err
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_cxx_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23160 ac_cv_header_stdc=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23165 ac_cv_header_stdc=no
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 if test $ac_cv_header_stdc = yes; then
23171 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
23172 cat >conftest.$ac_ext <<_ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178 #include <string.h>
23181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23182 $EGREP "memchr" >/dev/null 2>&1; then
23185 ac_cv_header_stdc=no
23191 if test $ac_cv_header_stdc = yes; then
23192 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
23193 cat >conftest.$ac_ext <<_ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23199 #include <stdlib.h>
23202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23203 $EGREP "free" >/dev/null 2>&1; then
23206 ac_cv_header_stdc=no
23212 if test $ac_cv_header_stdc = yes; then
23213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
23214 if test "$cross_compiling" = yes; then
23217 cat >conftest.$ac_ext <<_ACEOF
23220 cat confdefs.h >>conftest.$ac_ext
23221 cat >>conftest.$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23224 #include <stdlib.h>
23225 #if ((' ' & 0x0FF) == 0x020)
23226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
23227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
23229 # define ISLOWER(c) \
23230 (('a' <= (c) && (c) <= 'i') \
23231 || ('j' <= (c) && (c) <= 'r') \
23232 || ('s' <= (c) && (c) <= 'z'))
23233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
23236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
23241 for (i = 0; i < 256; i++)
23242 if (XOR (islower (i), ISLOWER (i))
23243 || toupper (i) != TOUPPER (i))
23248 rm -f conftest$ac_exeext
23249 if { (ac_try="$ac_link"
23250 case "(($ac_try" in
23251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23252 *) ac_try_echo
=$ac_try;;
23254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23255 (eval "$ac_link") 2>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23259 { (case "(($ac_try" in
23260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_try") 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23270 echo "$as_me: program exited with status $ac_status" >&5
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23274 ( exit $ac_status )
23275 ac_cv_header_stdc=no
23277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23283 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
23284 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
23285 if test $ac_cv_header_stdc = yes; then
23287 cat >>confdefs.h <<\_ACEOF
23288 #define STDC_HEADERS 1
23296 for ac_header in assert.h stdint.h time.h
23298 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 ac_res=`eval echo '${'$as_ac_Header'}'`
23306 { echo "$as_me:$LINENO: result: $ac_res" >&5
23307 echo "${ECHO_T}$ac_res" >&6; }
23309 # Is the header compilable?
23310 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23312 cat >conftest.$ac_ext <<_ACEOF
23315 cat confdefs.h >>conftest.$ac_ext
23316 cat >>conftest.$ac_ext <<_ACEOF
23317 /* end confdefs.h. */
23318 $ac_includes_default
23319 #include <$ac_header>
23321 rm -f conftest.$ac_objext
23322 if { (ac_try="$ac_compile"
23323 case "(($ac_try" in
23324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23325 *) ac_try_echo
=$ac_try;;
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_compile") 2>conftest.er1
23330 grep -v '^ *+' conftest.er1
>conftest.err
23332 cat conftest.err
>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } && {
23335 test -z "$ac_cxx_werror_flag" ||
23336 test ! -s conftest.err
23337 } && test -s conftest.
$ac_objext; then
23338 ac_header_compiler
=yes
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.
$ac_ext >&5
23343 ac_header_compiler
=no
23346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23347 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23348 echo "${ECHO_T}$ac_header_compiler" >&6; }
23350 # Is the header present?
23351 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 #include <$ac_header>
23361 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23362 case "(($ac_try" in
23363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23364 *) ac_try_echo=$ac_try;;
23366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23369 grep -v '^ *+' conftest.er1 >conftest.err
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } >/dev/null && {
23374 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23375 test ! -s conftest.err
23377 ac_header_preproc=yes
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23382 ac_header_preproc=no
23385 rm -f conftest.err conftest.$ac_ext
23386 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23387 echo "${ECHO_T}$ac_header_preproc" >&6; }
23389 # So? What about this header?
23390 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23396 ac_header_preproc=yes
23399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23412 ## ------------------------------------------------ ##
23413 ## Report this to barry-devel@lists.sourceforge.net ##
23414 ## ------------------------------------------------ ##
23416 ) | sed "s/^/$as_me: WARNING: /" >&2
23419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 eval "$as_ac_Header=\$ac_header_preproc"
23426 ac_res=`eval echo '${'$as_ac_Header'}'`
23427 { echo "$as_me:$LINENO: result: $ac_res" >&5
23428 echo "${ECHO_T}$ac_res" >&6; }
23431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23432 cat >>confdefs.h <<_ACEOF
23433 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23442 # Checks for typedefs, structures, and compiler characteristics.
23445 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23446 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
23447 if test "${ac_cv_header_time+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 cat >conftest.$ac_ext <<_ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456 #include <sys/types.h>
23457 #include <sys/time.h>
23463 if ((struct tm *) 0)
23469 rm -f conftest.$ac_objext
23470 if { (ac_try="$ac_compile"
23471 case "(($ac_try" in
23472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23473 *) ac_try_echo
=$ac_try;;
23475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23476 (eval "$ac_compile") 2>conftest.er1
23478 grep -v '^ *+' conftest.er1
>conftest.err
23480 cat conftest.err
>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } && {
23483 test -z "$ac_cxx_werror_flag" ||
23484 test ! -s conftest.err
23485 } && test -s conftest.
$ac_objext; then
23486 ac_cv_header_time
=yes
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.
$ac_ext >&5
23491 ac_cv_header_time
=no
23494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23496 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23497 echo "${ECHO_T}$ac_cv_header_time" >&6; }
23498 if test $ac_cv_header_time = yes; then
23500 cat >>confdefs.h
<<\_ACEOF
23501 #define TIME_WITH_SYS_TIME 1
23506 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23507 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
23508 if test "${ac_cv_struct_tm+set}" = set; then
23509 echo $ECHO_N "(cached) $ECHO_C" >&6
23511 cat >conftest.
$ac_ext <<_ACEOF
23514 cat confdefs.h
>>conftest.
$ac_ext
23515 cat >>conftest.
$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 #include <sys/types.h>
23524 int *p = &tm.tm_sec;
23530 rm -f conftest.
$ac_objext
23531 if { (ac_try
="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23534 *) ac_try_echo=$ac_try;;
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23539 grep -v '^ *+' conftest.er1 >conftest.err
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } && {
23544 test -z "$ac_cxx_werror_flag" ||
23545 test ! -s conftest.err
23546 } && test -s conftest.$ac_objext; then
23547 ac_cv_struct_tm=time.h
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23552 ac_cv_struct_tm=sys/time.h
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23558 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
23559 if test $ac_cv_struct_tm = sys/time.h; then
23561 cat >>confdefs.h <<\_ACEOF
23562 #define TM_IN_SYS_TIME 1
23569 # Checks for library functions.
23572 # checks that are buggy and need a C compiler only
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579 # AC_FUNC_STRNLEN changes linker options for us, and depends on a src/strnlen.c
23580 { echo "$as_me:$LINENO: checking for working strnlen" >&5
23581 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6; }
23582 if test "${ac_cv_func_strnlen_working+set}" = set; then
23583 echo $ECHO_N "(cached) $ECHO_C" >&6
23585 if test "$cross_compiling" = yes; then
23586 ac_cv_func_strnlen_working=no
23588 cat >conftest.$ac_ext <<_ACEOF
23591 cat confdefs.h >>conftest.$ac_ext
23592 cat >>conftest.$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23594 $ac_includes_default
23600 #define S_LEN (sizeof S - 1)
23602 /* At least one implementation is buggy: that of AIX 4.3 would
23603 give strnlen (S, 1) == 3. */
23606 for (i = 0; i < S_LEN + 1; ++i)
23608 int expected = i <= S_LEN ? i : S_LEN;
23609 if (strnlen (S, i) != expected)
23618 rm -f conftest$ac_exeext
23619 if { (ac_try="$ac_link"
23620 case "(($ac_try" in
23621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23622 *) ac_try_echo
=$ac_try;;
23624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_link") 2>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23629 { (case "(($ac_try" in
23630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23631 *) ac_try_echo=$ac_try;;
23633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23634 (eval "$ac_try") 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_cv_func_strnlen_working=yes
23640 echo "$as_me: program exited with status $ac_status" >&5
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23644 ( exit $ac_status )
23645 ac_cv_func_strnlen_working=no
23647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23652 { echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
23653 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
23654 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
23655 *" strnlen.$ac_objext "* ) ;;
23656 *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
23661 if test $ac_cv_func_strnlen_working = yes ; then
23663 cat >>confdefs.h <<\_ACEOF
23664 #define HAVE_WORKING_STRNLEN 1
23668 if test $ac_cv_func_strnlen_working = no ; then
23670 cat >>confdefs.h <<\_ACEOF
23671 #define HAVE_WORKING_STRNLEN 0
23676 # checks that work with C++
23678 ac_cpp='$CXXCPP $CPPFLAGS'
23679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23683 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
23684 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
23685 if test "${ac_cv_func_closedir_void+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 if test "$cross_compiling" = yes; then
23689 ac_cv_func_closedir_void=yes
23691 cat >conftest.$ac_ext <<_ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 $ac_includes_default
23698 #include <$ac_header_dirent>
23699 #ifndef __cplusplus
23706 return closedir (opendir (".")) != 0;
23711 rm -f conftest$ac_exeext
23712 if { (ac_try="$ac_link"
23713 case "(($ac_try" in
23714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23715 *) ac_try_echo
=$ac_try;;
23717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23718 (eval "$ac_link") 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23722 { (case "(($ac_try" in
23723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23724 *) ac_try_echo=$ac_try;;
23726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23727 (eval "$ac_try") 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 ac_cv_func_closedir_void=no
23733 echo "$as_me: program exited with status $ac_status" >&5
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23737 ( exit $ac_status )
23738 ac_cv_func_closedir_void=yes
23740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23745 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
23746 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
23747 if test $ac_cv_func_closedir_void = yes; then
23749 cat >>confdefs.h <<\_ACEOF
23750 #define CLOSEDIR_VOID 1
23755 if test $ac_cv_c_compiler_gnu = yes; then
23756 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
23757 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
23758 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 ac_pattern="Autoconf.*'x'"
23762 cat >conftest.$ac_ext <<_ACEOF
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23772 $EGREP "$ac_pattern" >/dev/null 2>&1; then
23773 ac_cv_prog_gcc_traditional=yes
23775 ac_cv_prog_gcc_traditional=no
23780 if test $ac_cv_prog_gcc_traditional = no; then
23781 cat >conftest.$ac_ext <<_ACEOF
23784 cat confdefs.h >>conftest.$ac_ext
23785 cat >>conftest.$ac_ext <<_ACEOF
23786 /* end confdefs.h. */
23787 #include <termio.h>
23790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23791 $EGREP "$ac_pattern" >/dev/null 2>&1; then
23792 ac_cv_prog_gcc_traditional=yes
23798 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
23799 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
23800 if test $ac_cv_prog_gcc_traditional = yes; then
23801 CC="$CC -traditional"
23810 for ac_header in sys/select.h sys/socket.h
23812 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 ac_res=`eval echo '${'$as_ac_Header'}'`
23820 { echo "$as_me:$LINENO: result: $ac_res" >&5
23821 echo "${ECHO_T}$ac_res" >&6; }
23823 # Is the header compilable?
23824 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23826 cat >conftest.$ac_ext <<_ACEOF
23829 cat confdefs.h >>conftest.$ac_ext
23830 cat >>conftest.$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23832 $ac_includes_default
23833 #include <$ac_header>
23835 rm -f conftest.$ac_objext
23836 if { (ac_try="$ac_compile"
23837 case "(($ac_try" in
23838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23839 *) ac_try_echo
=$ac_try;;
23841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23842 (eval "$ac_compile") 2>conftest.er1
23844 grep -v '^ *+' conftest.er1
>conftest.err
23846 cat conftest.err
>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); } && {
23849 test -z "$ac_cxx_werror_flag" ||
23850 test ! -s conftest.err
23851 } && test -s conftest.
$ac_objext; then
23852 ac_header_compiler
=yes
23854 echo "$as_me: failed program was:" >&5
23855 sed 's/^/| /' conftest.
$ac_ext >&5
23857 ac_header_compiler
=no
23860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23861 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23862 echo "${ECHO_T}$ac_header_compiler" >&6; }
23864 # Is the header present?
23865 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23867 cat >conftest.
$ac_ext <<_ACEOF
23870 cat confdefs.h
>>conftest.
$ac_ext
23871 cat >>conftest.
$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 #include <$ac_header>
23875 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23876 case "(($ac_try" in
23877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23878 *) ac_try_echo=$ac_try;;
23880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23883 grep -v '^ *+' conftest.er1 >conftest.err
23885 cat conftest.err >&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); } >/dev/null && {
23888 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23889 test ! -s conftest.err
23891 ac_header_preproc=yes
23893 echo "$as_me: failed program was:" >&5
23894 sed 's/^/| /' conftest.$ac_ext >&5
23896 ac_header_preproc=no
23899 rm -f conftest.err conftest.$ac_ext
23900 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23901 echo "${ECHO_T}$ac_header_preproc" >&6; }
23903 # So? What about this header?
23904 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23910 ac_header_preproc=yes
23913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23926 ## ------------------------------------------------ ##
23927 ## Report this to barry-devel@lists.sourceforge.net ##
23928 ## ------------------------------------------------ ##
23930 ) | sed "s/^/$as_me: WARNING: /" >&2
23933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23936 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 eval "$as_ac_Header=\$ac_header_preproc"
23940 ac_res=`eval echo '${'$as_ac_Header'}'`
23941 { echo "$as_me:$LINENO: result: $ac_res" >&5
23942 echo "${ECHO_T}$ac_res" >&6; }
23945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23946 cat >>confdefs.h <<_ACEOF
23947 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23954 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
23955 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
23956 if test "${ac_cv_func_select_args+set}" = set; then
23957 echo $ECHO_N "(cached) $ECHO_C" >&6
23959 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
23960 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
23961 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
23962 cat >conftest.$ac_ext <<_ACEOF
23965 cat confdefs.h >>conftest.$ac_ext
23966 cat >>conftest.$ac_ext <<_ACEOF
23967 /* end confdefs.h. */
23968 $ac_includes_default
23969 #ifdef HAVE_SYS_SELECT_H
23970 # include <sys/select.h>
23972 #ifdef HAVE_SYS_SOCKET_H
23973 # include <sys/socket.h>
23979 extern int select ($ac_arg1,
23980 $ac_arg234, $ac_arg234, $ac_arg234,
23986 rm -f conftest.$ac_objext
23987 if { (ac_try="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23990 *) ac_try_echo
=$ac_try;;
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23995 grep -v '^ *+' conftest.er1
>conftest.err
23997 cat conftest.err
>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_cxx_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.
$ac_objext; then
24003 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.
$ac_ext >&5
24011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24015 # Provide a safe default value.
24016 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
24019 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
24020 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
24021 ac_save_IFS
=$IFS; IFS
=','
24022 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
24026 cat >>confdefs.h
<<_ACEOF
24027 #define SELECT_TYPE_ARG1 $1
24031 cat >>confdefs.h
<<_ACEOF
24032 #define SELECT_TYPE_ARG234 ($2)
24036 cat >>confdefs.h
<<_ACEOF
24037 #define SELECT_TYPE_ARG5 ($3)
24053 for ac_func
in bzero gettimeofday memset
select strcasecmp strchr strerror strtol strtoul
24055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24058 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 cat >conftest.
$ac_ext <<_ACEOF
24064 cat confdefs.h
>>conftest.
$ac_ext
24065 cat >>conftest.
$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24069 #define $ac_func innocuous_$ac_func
24071 /* System header to define __stub macros and hopefully few prototypes,
24072 which can conflict with char $ac_func (); below.
24073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24074 <limits.h> exists even on freestanding compilers. */
24077 # include <limits.h>
24079 # include <assert.h>
24084 /* Override any GCC internal prototype to avoid an error.
24085 Use char because int might match the return type of a GCC
24086 builtin and then its argument prototype would still apply. */
24091 /* The GNU C library defines this for functions which it implements
24092 to always fail with ENOSYS. Some functions are actually named
24093 something starting with __ and the normal name is an alias. */
24094 #if defined __stub_$ac_func || defined __stub___$ac_func
24101 return $ac_func ();
24106 rm -f conftest.
$ac_objext conftest
$ac_exeext
24107 if { (ac_try
="$ac_link"
24108 case "(($ac_try" in
24109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24110 *) ac_try_echo=$ac_try;;
24112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24113 (eval "$ac_link") 2>conftest.er1
24115 grep -v '^ *+' conftest.er1 >conftest.err
24117 cat conftest.err >&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); } && {
24120 test -z "$ac_cxx_werror_flag" ||
24121 test ! -s conftest.err
24122 } && test -s conftest$ac_exeext &&
24123 $as_test_x conftest$ac_exeext; then
24124 eval "$as_ac_var=yes"
24126 echo "$as_me: failed program was:" >&5
24127 sed 's/^/| /' conftest.$ac_ext >&5
24129 eval "$as_ac_var=no"
24132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24133 conftest$ac_exeext conftest.$ac_ext
24135 ac_res=`eval echo '${'$as_ac_var'}'`
24136 { echo "$as_me:$LINENO: result: $ac_res" >&5
24137 echo "${ECHO_T}$ac_res" >&6; }
24138 if test `eval echo '${'$as_ac_var'}'` = yes; then
24139 cat >>confdefs.h <<_ACEOF
24140 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
24146 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24147 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24148 if test "${ac_cv_c_bigendian+set}" = set; then
24149 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 # See if sys/param.h defines the BYTE_ORDER macro.
24152 cat >conftest.$ac_ext <<_ACEOF
24155 cat confdefs.h >>conftest.$ac_ext
24156 cat >>conftest.$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24158 #include <sys/types.h>
24159 #include <sys/param.h>
24164 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
24165 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
24166 bogus endian macros
24173 rm -f conftest.$ac_objext
24174 if { (ac_try="$ac_compile"
24175 case "(($ac_try" in
24176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24177 *) ac_try_echo
=$ac_try;;
24179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180 (eval "$ac_compile") 2>conftest.er1
24182 grep -v '^ *+' conftest.er1
>conftest.err
24184 cat conftest.err
>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && {
24187 test -z "$ac_cxx_werror_flag" ||
24188 test ! -s conftest.err
24189 } && test -s conftest.
$ac_objext; then
24190 # It does; now see whether it defined to BIG_ENDIAN or not.
24191 cat >conftest.
$ac_ext <<_ACEOF
24194 cat confdefs.h
>>conftest.
$ac_ext
24195 cat >>conftest.
$ac_ext <<_ACEOF
24196 /* end confdefs.h. */
24197 #include <sys/types.h>
24198 #include <sys/param.h>
24203 #if BYTE_ORDER != BIG_ENDIAN
24211 rm -f conftest.
$ac_objext
24212 if { (ac_try
="$ac_compile"
24213 case "(($ac_try" in
24214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24215 *) ac_try_echo=$ac_try;;
24217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24218 (eval "$ac_compile") 2>conftest.er1
24220 grep -v '^ *+' conftest.er1 >conftest.err
24222 cat conftest.err >&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } && {
24225 test -z "$ac_cxx_werror_flag" ||
24226 test ! -s conftest.err
24227 } && test -s conftest.$ac_objext; then
24228 ac_cv_c_bigendian=yes
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.$ac_ext >&5
24233 ac_cv_c_bigendian=no
24236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24241 # It does not; compile a test program.
24242 if test "$cross_compiling" = yes; then
24243 # try to guess the endianness by grepping values into an object file
24244 ac_cv_c_bigendian=unknown
24245 cat >conftest.$ac_ext <<_ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
24252 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
24253 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
24254 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
24255 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
24256 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
24260 _ascii (); _ebcdic ();
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24269 *) ac_try_echo
=$ac_try;;
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24274 grep -v '^ *+' conftest.er1
>conftest.err
24276 cat conftest.err
>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_cxx_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.
$ac_objext; then
24282 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
24283 ac_cv_c_bigendian
=yes
24285 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
24286 if test "$ac_cv_c_bigendian" = unknown
; then
24287 ac_cv_c_bigendian
=no
24289 # finding both strings is unlikely to happen, but who knows?
24290 ac_cv_c_bigendian
=unknown
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.
$ac_ext >&5
24300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24302 cat >conftest.
$ac_ext <<_ACEOF
24305 cat confdefs.h
>>conftest.
$ac_ext
24306 cat >>conftest.
$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 $ac_includes_default
24313 /* Are we little or big endian? From Harbison&Steele. */
24317 char c[sizeof (long int)];
24320 return u.c[sizeof (long int) - 1] == 1;
24326 rm -f conftest
$ac_exeext
24327 if { (ac_try
="$ac_link"
24328 case "(($ac_try" in
24329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_link") 2>&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24337 { (case "(($ac_try" in
24338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24339 *) ac_try_echo
=$ac_try;;
24341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24342 (eval "$ac_try") 2>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 ac_cv_c_bigendian
=no
24348 echo "$as_me: program exited with status $ac_status" >&5
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.
$ac_ext >&5
24352 ( exit $ac_status )
24353 ac_cv_c_bigendian
=yes
24355 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24363 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24364 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24365 case $ac_cv_c_bigendian in
24368 cat >>confdefs.h
<<\_ACEOF
24369 #define WORDS_BIGENDIAN 1
24375 { { echo "$as_me:$LINENO: error: unknown endianness
24376 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
24377 echo "$as_me: error: unknown endianness
24378 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
24379 { (exit 1); exit 1; }; } ;;
24383 ac_config_files
="$ac_config_files Makefile src/Makefile tools/Makefile examples/Makefile man/Makefile libbarry-0.pc"
24389 # Check whether --enable-gui was given.
24390 if test "${enable_gui+set}" = set; then
24391 enableval
=$enable_gui;
24394 if test "$enable_gui" = yes; then
24395 subdirs
="$subdirs gui"
24398 # Check whether --enable-opensync-plugin was given.
24399 if test "${enable_opensync_plugin+set}" = set; then
24400 enableval
=$enable_opensync_plugin;
24403 if test "$enable_opensync_plugin" = yes; then
24404 subdirs
="$subdirs opensync-plugin"
24407 # Check whether --enable-opensync-plugin-4x was given.
24408 if test "${enable_opensync_plugin_4x+set}" = set; then
24409 enableval
=$enable_opensync_plugin_4x;
24412 if test "$enable_opensync_plugin_4x" = yes; then
24413 subdirs
="$subdirs opensync-plugin-0.4x"
24416 if test "$enable_gui" = yes ||
test "$enable_opensync_plugin" = yes ||
test "$enable_opensync_plugin_4x" = yes; then
24417 export TREE_BUILD_CXXFLAGS
="-I`pwd`"
24418 export TREE_BUILD_LDFLAGS
="-L`pwd`/src"
24419 export PKG_CONFIG_PATH
="`pwd`:$PKG_CONFIG_PATH"
24422 cat >confcache
<<\_ACEOF
24423 # This file is a shell script that caches the results of configure
24424 # tests run on this system so they can be shared between configure
24425 # scripts and configure runs, see configure's option --config-cache.
24426 # It is not useful on other systems. If it contains results you don't
24427 # want to keep, you may remove or edit it.
24429 # config.status only pays attention to the cache file if you give it
24430 # the --recheck option to rerun configure.
24432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24434 # following values.
24438 # The following way of writing the cache mishandles newlines in values,
24439 # but we know of no workaround that is simple, portable, and efficient.
24440 # So, we kill variables containing newlines.
24441 # Ultrix sh set writes to stderr and can't be redirected directly,
24442 # and sets the high bit in the cache file unless we assign to the vars.
24444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24445 eval ac_val
=\$
$ac_var
24449 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24450 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24453 _ | IFS | as_nl
) ;; #(
24454 *) $as_unset $ac_var ;;
24460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24461 *${as_nl}ac_space
=\
*)
24462 # `set' does not quote correctly, so add quotes (double-quote
24463 # substitution turns \\\\ into \\, and sed turns \\ into \).
24466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24469 # `set' quotes correctly as required by POSIX, so do not add quotes.
24470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24483 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24484 if test -w "$cache_file"; then
24485 test "x$cache_file" != "x/dev/null" &&
24486 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24487 echo "$as_me: updating cache $cache_file" >&6;}
24488 cat confcache
>$cache_file
24490 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24491 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24496 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24497 # Let make expand exec_prefix.
24498 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24500 DEFS
=-DHAVE_CONFIG_H
24504 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24505 # 1. Remove the extension, and $U if already installed.
24506 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24507 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24509 # will be set to the directory where LIBOBJS objects are built.
24510 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24511 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24513 LIBOBJS
=$ac_libobjs
24515 LTLIBOBJS
=$ac_ltlibobjs
24518 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24519 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24520 Usually this means the macro was only invoked conditionally." >&5
24521 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24522 Usually this means the macro was only invoked conditionally." >&2;}
24523 { (exit 1); exit 1; }; }
24525 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24526 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24527 Usually this means the macro was only invoked conditionally." >&5
24528 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24529 Usually this means the macro was only invoked conditionally." >&2;}
24530 { (exit 1); exit 1; }; }
24532 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24533 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24534 Usually this means the macro was only invoked conditionally." >&5
24535 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24536 Usually this means the macro was only invoked conditionally." >&2;}
24537 { (exit 1); exit 1; }; }
24539 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24540 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24541 Usually this means the macro was only invoked conditionally." >&5
24542 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24543 Usually this means the macro was only invoked conditionally." >&2;}
24544 { (exit 1); exit 1; }; }
24546 if test -z "${WITH_GCCVISIBILITY_TRUE}" && test -z "${WITH_GCCVISIBILITY_FALSE}"; then
24547 { { echo "$as_me:$LINENO: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
24548 Usually this means the macro was only invoked conditionally." >&5
24549 echo "$as_me: error: conditional \"WITH_GCCVISIBILITY\" was never defined.
24550 Usually this means the macro was only invoked conditionally." >&2;}
24551 { (exit 1); exit 1; }; }
24553 if test -z "${WITH_BOOST_TRUE}" && test -z "${WITH_BOOST_FALSE}"; then
24554 { { echo "$as_me:$LINENO: error: conditional \"WITH_BOOST\" was never defined.
24555 Usually this means the macro was only invoked conditionally." >&5
24556 echo "$as_me: error: conditional \"WITH_BOOST\" was never defined.
24557 Usually this means the macro was only invoked conditionally." >&2;}
24558 { (exit 1); exit 1; }; }
24560 if test -z "${WITH_FUSE_TRUE}" && test -z "${WITH_FUSE_FALSE}"; then
24561 { { echo "$as_me:$LINENO: error: conditional \"WITH_FUSE\" was never defined.
24562 Usually this means the macro was only invoked conditionally." >&5
24563 echo "$as_me: error: conditional \"WITH_FUSE\" was never defined.
24564 Usually this means the macro was only invoked conditionally." >&2;}
24565 { (exit 1); exit 1; }; }
24568 : ${CONFIG_STATUS=./config.status}
24569 ac_clean_files_save
=$ac_clean_files
24570 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24571 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24572 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24573 cat >$CONFIG_STATUS <<_ACEOF
24575 # Generated by $as_me.
24576 # Run this file to recreate the current configuration.
24577 # Compiler output produced by configure, useful for debugging
24578 # configure, is in config.log if it exists.
24581 ac_cs_recheck=false
24583 SHELL=\${CONFIG_SHELL-$SHELL}
24586 cat >>$CONFIG_STATUS <<\_ACEOF
24587 ## --------------------- ##
24588 ## M4sh Initialization. ##
24589 ## --------------------- ##
24591 # Be more Bourne compatible
24592 DUALCASE
=1; export DUALCASE
# for MKS sh
24593 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24596 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24597 # is contrary to our usage. Disable this feature.
24598 alias -g '${1+"$@"}'='"$@"'
24599 setopt NO_GLOB_SUBST
24601 case `(set -o) 2>/dev/null` in
24602 *posix
*) set -o posix
;;
24611 # Avoid depending upon Character Ranges.
24612 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24613 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24614 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24615 as_cr_digits
='0123456789'
24616 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24618 # The user is always right.
24619 if test "${PATH_SEPARATOR+set}" != set; then
24620 echo "#! /bin/sh" >conf$$.sh
24621 echo "exit 0" >>conf$$.sh
24623 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24631 # Support unset when possible.
24632 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24640 # We need space, tab and new line, in precisely that order. Quoting is
24641 # there to prevent editors from complaining about space-tab.
24642 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24643 # splitting by setting IFS to empty value.)
24648 # Find who we are. Look in the path if we contain no directory separator.
24650 *[\\/]* ) as_myself
=$0 ;;
24651 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24652 for as_dir
in $PATH
24655 test -z "$as_dir" && as_dir
=.
24656 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24662 # We did not find ourselves, most probably we were run as `sh COMMAND'
24663 # in which case we are not to be found in the path.
24664 if test "x$as_myself" = x
; then
24667 if test ! -f "$as_myself"; then
24668 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24669 { (exit 1); exit 1; }
24672 # Work around bugs in pre-3.0 UWIN ksh.
24673 for as_var
in ENV MAIL MAILPATH
24674 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24682 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24683 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24684 LC_TELEPHONE LC_TIME
24686 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24687 eval $as_var=C
; export $as_var
24689 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24693 # Required to use basename.
24694 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24695 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24701 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24702 as_basename
=basename
24708 # Name of the executable.
24709 as_me
=`$as_basename -- "$0" ||
24710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24711 X"$0" : 'X\(//\)$' \| \
24712 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24714 sed '/^.*\/\([^/][^/]*\)\/*$/{
24733 as_lineno_1
=$LINENO
24734 as_lineno_2
=$LINENO
24735 test "x$as_lineno_1" != "x$as_lineno_2" &&
24736 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24738 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24739 # uniformly replaced by the line number. The first 'sed' inserts a
24740 # line-number line after each line using $LINENO; the second 'sed'
24741 # does the real work. The second script uses 'N' to pair each
24742 # line-number line with the line containing $LINENO, and appends
24743 # trailing '-' during substitution so that $LINENO is not a special
24744 # case at line end.
24745 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24746 # scripts with optimization help from Paolo Bonzini. Blame Lee
24747 # E. McMahon (1931-1989) for sed's syntax. :-)
24759 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24762 ' >$as_me.lineno
&&
24763 chmod +x
"$as_me.lineno" ||
24764 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24765 { (exit 1); exit 1; }; }
24767 # Don't try to exec as it changes $[0], causing all sort of problems
24768 # (the dirname of $[0] is not the place where we might find the
24769 # original and so on. Autoconf is especially sensitive to this).
24770 .
"./$as_me.lineno"
24771 # Exit status is that of the last command.
24776 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24782 ECHO_C
= ECHO_N
= ECHO_T
=
24783 case `echo -n x` in
24785 case `echo 'x\c'` in
24786 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24793 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24794 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24800 rm -f conf$$ conf$$.exe conf$$.
file
24801 if test -d conf$$.dir
; then
24802 rm -f conf$$.dir
/conf$$.
file
24808 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24810 # ... but there are two gotchas:
24811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24813 # In both cases, we have to default to `cp -p'.
24814 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24821 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24822 rmdir conf$$.dir
2>/dev
/null
24824 if mkdir
-p .
2>/dev
/null
; then
24827 test -d .
/-p && rmdir .
/-p
24831 if test -x / >/dev
/null
2>&1; then
24832 as_test_x
='test -x'
24834 if ls -dL / >/dev
/null
2>&1; then
24841 if test -d "$1"; then
24847 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
24848 ???[sx]*):;;*)false;;esac;fi
24852 as_executable_p
=$as_test_x
24854 # Sed expression to map a string onto a valid CPP name.
24855 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24857 # Sed expression to map a string onto a valid variable name.
24858 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24863 # Save the log message, to keep $[0] and so on meaningful, and to
24864 # report actual input values of CONFIG_FILES etc. instead of their
24865 # values after options handling.
24867 This file was extended by barry $as_me 0.15, which was
24868 generated by GNU Autoconf 2.61. Invocation command line was
24870 CONFIG_FILES = $CONFIG_FILES
24871 CONFIG_HEADERS = $CONFIG_HEADERS
24872 CONFIG_LINKS = $CONFIG_LINKS
24873 CONFIG_COMMANDS = $CONFIG_COMMANDS
24876 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24881 cat >>$CONFIG_STATUS <<_ACEOF
24882 # Files that config.status was made for.
24883 config_files="$ac_config_files"
24884 config_headers="$ac_config_headers"
24885 config_commands="$ac_config_commands"
24889 cat >>$CONFIG_STATUS <<\_ACEOF
24891 \`$as_me' instantiates files from templates according to the
24892 current configuration.
24894 Usage: $0 [OPTIONS] [FILE]...
24896 -h, --help print this help, then exit
24897 -V, --version print version number and configuration settings, then exit
24898 -q, --quiet do not print progress messages
24899 -d, --debug don't remove temporary files
24900 --recheck update $as_me by reconfiguring in the same conditions
24901 --file=FILE[:TEMPLATE]
24902 instantiate the configuration file FILE
24903 --header=FILE[:TEMPLATE]
24904 instantiate the configuration header FILE
24906 Configuration files:
24909 Configuration headers:
24912 Configuration commands:
24915 Report bugs to <bug-autoconf@gnu.org>."
24918 cat >>$CONFIG_STATUS <<_ACEOF
24920 barry config.status 0.15
24921 configured by $0, generated by GNU Autoconf 2.61,
24922 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24924 Copyright (C) 2006 Free Software Foundation, Inc.
24925 This config.status script is free software; the Free Software Foundation
24926 gives unlimited permission to copy, distribute and modify it."
24933 cat >>$CONFIG_STATUS <<\_ACEOF
24934 # If no file are specified by the user, then we need to provide default
24935 # value. By we need to know if files were specified by the user.
24941 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24942 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24953 # Handling of the options.
24954 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24956 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24957 echo "$ac_cs_version"; exit ;;
24958 --debug |
--debu |
--deb |
--de |
--d |
-d )
24960 --file |
--fil |
--fi |
--f )
24962 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24963 ac_need_defaults
=false
;;
24964 --header |
--heade |
--head |
--hea )
24966 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24967 ac_need_defaults
=false
;;
24969 # Conflict between --help and --header
24970 { echo "$as_me: error: ambiguous option: $1
24971 Try \`$0 --help' for more information." >&2
24972 { (exit 1); exit 1; }; };;
24973 --help |
--hel |
-h )
24974 echo "$ac_cs_usage"; exit ;;
24975 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24976 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24979 # This is an error.
24980 -*) { echo "$as_me: error: unrecognized option: $1
24981 Try \`$0 --help' for more information." >&2
24982 { (exit 1); exit 1; }; } ;;
24984 *) ac_config_targets
="$ac_config_targets $1"
24985 ac_need_defaults
=false
;;
24991 ac_configure_extra_args
=
24993 if $ac_cs_silent; then
24995 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24999 cat >>$CONFIG_STATUS <<_ACEOF
25000 if \$ac_cs_recheck; then
25001 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25002 CONFIG_SHELL=$SHELL
25003 export CONFIG_SHELL
25004 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25008 cat >>$CONFIG_STATUS <<\_ACEOF
25012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25013 ## Running $as_me. ##
25019 cat >>$CONFIG_STATUS <<_ACEOF
25023 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25027 cat >>$CONFIG_STATUS <<\_ACEOF
25029 # Handling of arguments.
25030 for ac_config_target
in $ac_config_targets
25032 case $ac_config_target in
25033 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.h.in" ;;
25034 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25035 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25036 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
25037 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25038 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
25039 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
25040 "libbarry-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarry-0.pc" ;;
25042 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25043 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25044 { (exit 1); exit 1; }; };;
25049 # If the user did not use the arguments to specify the items to instantiate,
25050 # then the envvar interface is used. Set only those that are not.
25051 # We use the long form for the default assignment because of an extremely
25052 # bizarre bug on SunOS 4.1.3.
25053 if $ac_need_defaults; then
25054 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25055 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25056 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25059 # Have a temporary directory for convenience. Make it in the build tree
25060 # simply because there is no reason against having it here, and in addition,
25061 # creating and moving files from /tmp can sometimes cause problems.
25062 # Hook for its removal unless debugging.
25063 # Note that there is a small window in which the directory will not be cleaned:
25064 # after its creation but before its name has been assigned to `$tmp'.
25068 trap 'exit_status=$?
25069 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25071 trap '{ (exit 1); exit 1; }' 1 2 13 15
25073 # Create a (secure) tmp directory for tmp files.
25076 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25077 test -n "$tmp" && test -d "$tmp"
25080 tmp
=.
/conf$$
-$RANDOM
25081 (umask 077 && mkdir
"$tmp")
25084 echo "$me: cannot create a temporary directory in ." >&2
25085 { (exit 1); exit 1; }
25089 # Set up the sed scripts for CONFIG_FILES section.
25092 # No need to generate the scripts if there are no CONFIG_FILES.
25093 # This happens for instance when ./config.status config.h
25094 if test -n "$CONFIG_FILES"; then
25101 for ac_last_try
in false false false false false
:; do
25102 cat >conf$
$subs.
sed <<_ACEOF
25103 SHELL!$SHELL$ac_delim
25104 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25105 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25106 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25107 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25108 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25109 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25110 exec_prefix!$exec_prefix$ac_delim
25111 prefix!$prefix$ac_delim
25112 program_transform_name!$program_transform_name$ac_delim
25113 bindir!$bindir$ac_delim
25114 sbindir!$sbindir$ac_delim
25115 libexecdir!$libexecdir$ac_delim
25116 datarootdir!$datarootdir$ac_delim
25117 datadir!$datadir$ac_delim
25118 sysconfdir!$sysconfdir$ac_delim
25119 sharedstatedir!$sharedstatedir$ac_delim
25120 localstatedir!$localstatedir$ac_delim
25121 includedir!$includedir$ac_delim
25122 oldincludedir!$oldincludedir$ac_delim
25123 docdir!$docdir$ac_delim
25124 infodir!$infodir$ac_delim
25125 htmldir!$htmldir$ac_delim
25126 dvidir!$dvidir$ac_delim
25127 pdfdir!$pdfdir$ac_delim
25128 psdir!$psdir$ac_delim
25129 libdir!$libdir$ac_delim
25130 localedir!$localedir$ac_delim
25131 mandir!$mandir$ac_delim
25132 DEFS!$DEFS$ac_delim
25133 ECHO_C!$ECHO_C$ac_delim
25134 ECHO_N!$ECHO_N$ac_delim
25135 ECHO_T!$ECHO_T$ac_delim
25136 LIBS!$LIBS$ac_delim
25137 build_alias!$build_alias$ac_delim
25138 host_alias!$host_alias$ac_delim
25139 target_alias!$target_alias$ac_delim
25140 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25141 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25142 INSTALL_DATA!$INSTALL_DATA$ac_delim
25143 CYGPATH_W!$CYGPATH_W$ac_delim
25144 PACKAGE!$PACKAGE$ac_delim
25145 VERSION!$VERSION$ac_delim
25146 ACLOCAL!$ACLOCAL$ac_delim
25147 AUTOCONF!$AUTOCONF$ac_delim
25148 AUTOMAKE!$AUTOMAKE$ac_delim
25149 AUTOHEADER!$AUTOHEADER$ac_delim
25150 MAKEINFO!$MAKEINFO$ac_delim
25151 install_sh!$install_sh$ac_delim
25152 STRIP!$STRIP$ac_delim
25153 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
25154 mkdir_p!$mkdir_p$ac_delim
25156 SET_MAKE!$SET_MAKE$ac_delim
25157 am__leading_dot!$am__leading_dot$ac_delim
25158 AMTAR!$AMTAR$ac_delim
25159 am__tar!$am__tar$ac_delim
25160 am__untar!$am__untar$ac_delim
25162 CFLAGS!$CFLAGS$ac_delim
25163 LDFLAGS!$LDFLAGS$ac_delim
25164 CPPFLAGS!$CPPFLAGS$ac_delim
25165 ac_ct_CC!$ac_ct_CC$ac_delim
25166 EXEEXT!$EXEEXT$ac_delim
25167 OBJEXT!$OBJEXT$ac_delim
25168 DEPDIR!$DEPDIR$ac_delim
25169 am__include!$am__include$ac_delim
25170 am__quote!$am__quote$ac_delim
25171 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
25172 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
25173 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
25174 CCDEPMODE!$CCDEPMODE$ac_delim
25175 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
25176 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
25178 GREP!$GREP$ac_delim
25179 EGREP!$EGREP$ac_delim
25181 CXXFLAGS!$CXXFLAGS$ac_delim
25182 ac_ct_CXX!$ac_ct_CXX$ac_delim
25183 CXXDEPMODE!$CXXDEPMODE$ac_delim
25184 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
25185 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
25186 build!$build$ac_delim
25187 build_cpu!$build_cpu$ac_delim
25188 build_vendor!$build_vendor$ac_delim
25189 build_os!$build_os$ac_delim
25190 host!$host$ac_delim
25191 host_cpu!$host_cpu$ac_delim
25192 host_vendor!$host_vendor$ac_delim
25193 host_os!$host_os$ac_delim
25195 LN_S!$LN_S$ac_delim
25196 ECHO!$ECHO$ac_delim
25198 RANLIB!$RANLIB$ac_delim
25199 DSYMUTIL!$DSYMUTIL$ac_delim
25202 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25204 elif $ac_last_try; then
25205 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25206 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25207 { (exit 1); exit 1; }; }
25209 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25213 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25214 if test -n "$ac_eof"; then
25215 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25216 ac_eof
=`expr $ac_eof + 1`
25219 cat >>$CONFIG_STATUS <<_ACEOF
25220 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25221 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25224 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25225 s/^/s,@/; s/!/@,|#_!!_#|/
25228 s/'"$ac_delim"'$/,g/; t
25230 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25231 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25232 rm -f conf$
$subs.
sed
25233 cat >>$CONFIG_STATUS <<_ACEOF
25239 for ac_last_try
in false false false false false
:; do
25240 cat >conf$
$subs.
sed <<_ACEOF
25241 NMEDIT!$NMEDIT$ac_delim
25242 CXXCPP!$CXXCPP$ac_delim
25244 FFLAGS!$FFLAGS$ac_delim
25245 ac_ct_F77!$ac_ct_F77$ac_delim
25246 LIBTOOL!$LIBTOOL$ac_delim
25247 WITH_GCCVISIBILITY_TRUE!$WITH_GCCVISIBILITY_TRUE$ac_delim
25248 WITH_GCCVISIBILITY_FALSE!$WITH_GCCVISIBILITY_FALSE$ac_delim
25249 PKG_CONFIG!$PKG_CONFIG$ac_delim
25250 LIBUSB_CFLAGS!$LIBUSB_CFLAGS$ac_delim
25251 LIBUSB_LIBS!$LIBUSB_LIBS$ac_delim
25252 BOOST_LIB_PATH!$BOOST_LIB_PATH$ac_delim
25253 BOOST_INC_PATH!$BOOST_INC_PATH$ac_delim
25254 BOOST_LDADD!$BOOST_LDADD$ac_delim
25255 WITH_BOOST_TRUE!$WITH_BOOST_TRUE$ac_delim
25256 WITH_BOOST_FALSE!$WITH_BOOST_FALSE$ac_delim
25257 FUSE_CFLAGS!$FUSE_CFLAGS$ac_delim
25258 FUSE_LIBS!$FUSE_LIBS$ac_delim
25259 pkgconfigdir!$pkgconfigdir$ac_delim
25260 WITH_FUSE_TRUE!$WITH_FUSE_TRUE$ac_delim
25261 WITH_FUSE_FALSE!$WITH_FUSE_FALSE$ac_delim
25262 ZLIB_LIBS!$ZLIB_LIBS$ac_delim
25263 LIBICONV!$LIBICONV$ac_delim
25264 LTLIBICONV!$LTLIBICONV$ac_delim
25265 LIBOBJS!$LIBOBJS$ac_delim
25266 subdirs!$subdirs$ac_delim
25267 LTLIBOBJS!$LTLIBOBJS$ac_delim
25270 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
25272 elif $ac_last_try; then
25273 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25274 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25275 { (exit 1); exit 1; }; }
25277 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25281 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25282 if test -n "$ac_eof"; then
25283 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25284 ac_eof
=`expr $ac_eof + 1`
25287 cat >>$CONFIG_STATUS <<_ACEOF
25288 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25292 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25293 s/^/s,@/; s/!/@,|#_!!_#|/
25296 s/'"$ac_delim"'$/,g/; t
25298 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25299 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25300 rm -f conf$
$subs.
sed
25301 cat >>$CONFIG_STATUS <<_ACEOF
25308 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25309 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25310 # trailing colons and then remove the whole line if VPATH becomes empty
25311 # (actually we leave an empty line to preserve line numbers).
25312 if test "x$srcdir" = x.
; then
25313 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25314 s/:*\$(srcdir):*/:/
25315 s/:*\${srcdir}:*/:/
25317 s/^\([^=]*=[ ]*\):*/\1/
25323 cat >>$CONFIG_STATUS <<\_ACEOF
25324 fi # test -n "$CONFIG_FILES"
25327 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25330 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25332 case $ac_mode$ac_tag in
25334 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25335 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25336 { (exit 1); exit 1; }; };;
25337 :[FH
]-) ac_tag
=-:-;;
25338 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25355 -) ac_f
="$tmp/stdin";;
25356 *) # Look for the file first in the build tree, then in the source tree
25357 # (if the path is not absolute). The absolute path cannot be DOS-style,
25358 # because $ac_f cannot contain `:'.
25362 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25364 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25365 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25366 { (exit 1); exit 1; }; };;
25368 ac_file_inputs
="$ac_file_inputs $ac_f"
25371 # Let's still pretend it is `configure' which instantiates (i.e., don't
25372 # use $as_me), people would be surprised to read:
25373 # /* config.h. Generated by config.status. */
25374 configure_input
="Generated from "`IFS=:
25375 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25376 if test x
"$ac_file" != x-
; then
25377 configure_input
="$ac_file. $configure_input"
25378 { echo "$as_me:$LINENO: creating $ac_file" >&5
25379 echo "$as_me: creating $ac_file" >&6;}
25383 *:-:* |
*:-) cat >"$tmp/stdin";;
25388 ac_dir
=`$as_dirname -- "$ac_file" ||
25389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25390 X"$ac_file" : 'X\(//\)[^/]' \| \
25391 X"$ac_file" : 'X\(//\)$' \| \
25392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25398 /^X\(\/\/\)[^/].*/{
25413 -*) as_dir
=.
/$as_dir;;
25415 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25419 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25420 *) as_qdir
=$as_dir;;
25422 as_dirs
="'$as_qdir' $as_dirs"
25423 as_dir
=`$as_dirname -- "$as_dir" ||
25424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25425 X"$as_dir" : 'X\(//\)[^/]' \| \
25426 X"$as_dir" : 'X\(//\)$' \| \
25427 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25433 /^X\(\/\/\)[^/].*/{
25446 test -d "$as_dir" && break
25448 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25449 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25450 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25451 { (exit 1); exit 1; }; }; }
25455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25457 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25458 # A ".." for each directory in $ac_dir_suffix.
25459 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25460 case $ac_top_builddir_sub in
25461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25465 ac_abs_top_builddir
=$ac_pwd
25466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25467 # for backward compatibility:
25468 ac_top_builddir
=$ac_top_build_prefix
25471 .
) # We are building in place.
25473 ac_top_srcdir
=$ac_top_builddir_sub
25474 ac_abs_top_srcdir
=$ac_pwd ;;
25475 [\\/]* | ?
:[\\/]* ) # Absolute name.
25476 ac_srcdir
=$srcdir$ac_dir_suffix;
25477 ac_top_srcdir
=$srcdir
25478 ac_abs_top_srcdir
=$srcdir ;;
25479 *) # Relative name.
25480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25494 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25495 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25499 cat >>$CONFIG_STATUS <<\_ACEOF
25500 # If the template does not know about datarootdir, expand it.
25501 # FIXME: This hack should be removed a few years after 2.60.
25502 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25504 case `sed -n '/datarootdir/ {
25513 ' $ac_file_inputs` in
25514 *datarootdir
*) ac_datarootdir_seen
=yes;;
25515 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25516 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25517 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25519 cat >>$CONFIG_STATUS <<_ACEOF
25520 ac_datarootdir_hack='
25521 s&@datadir@&$datadir&g
25522 s&@docdir@&$docdir&g
25523 s&@infodir@&$infodir&g
25524 s&@localedir@&$localedir&g
25525 s&@mandir@&$mandir&g
25526 s&\\\${datarootdir}&$datarootdir&g' ;;
25530 # Neutralize VPATH when `$srcdir' = `.'.
25531 # Shell code in configure.ac might set extrasub.
25532 # FIXME: do we really want to maintain this feature?
25533 cat >>$CONFIG_STATUS <<_ACEOF
25537 cat >>$CONFIG_STATUS <<\_ACEOF
25539 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25540 s
&@configure_input@
&$configure_input&;t t
25541 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25542 s
&@srcdir@
&$ac_srcdir&;t t
25543 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25544 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25545 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25546 s
&@builddir@
&$ac_builddir&;t t
25547 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25548 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25549 s
&@INSTALL@
&$ac_INSTALL&;t t
25550 $ac_datarootdir_hack
25551 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25554 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25556 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25557 which seems to be undefined. Please make sure it is defined." >&5
25558 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25559 which seems to be undefined. Please make sure it is defined." >&2;}
25563 -) cat "$tmp/out"; rm -f "$tmp/out";;
25564 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25573 # Transform confdefs.h into a sed script `conftest.defines', that
25574 # substitutes the proper values into config.h.in to produce config.h.
25575 rm -f conftest.defines conftest.
tail
25576 # First, append a space to every undef/define line, to ease matching.
25577 echo 's/$/ /' >conftest.defines
25578 # Then, protect against being on the right side of a sed subst, or in
25579 # an unquoted here document, in config.status. If some macros were
25580 # called several times there might be several #defines for the same
25581 # symbol, which is useless. But do not sort them, since the last
25582 # AC_DEFINE must be honored.
25583 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25584 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25585 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25586 # PARAMS is the parameter list in the macro definition--in most cases, it's
25587 # just an empty string.
25588 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25589 ac_dB
='\\)[ (].*,\\1define\\2'
25597 s/^[ ]*#[ ]*define[ ][ ]*//
25602 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25603 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25604 ' >>conftest.defines
25606 # Remove the space that was appended to ease matching.
25607 # Then replace #undef with comments. This is necessary, for
25608 # example, in the case of _POSIX_SOURCE, which is predefined and required
25609 # on some systems where configure will not decide to define it.
25610 # (The regexp can be short, since the line contains either #define or #undef.)
25612 s,^[ #]*u.*,/* & */,' >>conftest.defines
25614 # Break up conftest.defines:
25615 ac_max_sed_lines
=50
25617 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25618 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25619 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25621 ac_in
='$ac_file_inputs'
25622 ac_out
='"$tmp/out1"'
25623 ac_nxt
='"$tmp/out2"'
25627 # Write a here document:
25628 cat >>$CONFIG_STATUS <<_ACEOF
25629 # First, check the format of the line:
25630 cat >"\$tmp/defines.sed" <<\\CEOF
25631 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25632 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25636 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25638 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25639 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25640 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25641 grep . conftest.
tail >/dev
/null ||
break
25642 rm -f conftest.defines
25643 mv conftest.
tail conftest.defines
25645 rm -f conftest.defines conftest.
tail
25647 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25648 cat >>$CONFIG_STATUS <<\_ACEOF
25649 if test x
"$ac_file" != x-
; then
25650 echo "/* $configure_input */" >"$tmp/config.h"
25651 cat "$ac_result" >>"$tmp/config.h"
25652 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25653 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25654 echo "$as_me: $ac_file is unchanged" >&6;}
25657 mv "$tmp/config.h" $ac_file
25660 echo "/* $configure_input */"
25664 # Compute $ac_file's index in $config_headers.
25666 for _am_header
in $config_headers :; do
25667 case $_am_header in
25668 $ac_file |
$ac_file:* )
25671 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25674 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25675 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25676 X$ac_file : 'X\(//\)[^/]' \| \
25677 X$ac_file : 'X\(//\)$' \| \
25678 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25684 /^X\(\/\/\)[^/].*/{
25696 s/.*/./; q'`/stamp-h
$_am_stamp_count
25699 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25700 echo "$as_me: executing $ac_file commands" >&6;}
25705 case $ac_file$ac_mode in
25706 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25707 # Strip MF so we end up with the name of the file.
25708 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25709 # Check whether this is an Automake generated Makefile or not.
25710 # We used to match only the files named `Makefile.in', but
25711 # some people rename them; so instead we look at the file content.
25712 # Grep'ing the first line is not enough: some people post-process
25713 # each Makefile.in and add a new line on top of each file to say so.
25714 # So let's grep whole file.
25715 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
25716 dirpart
=`$as_dirname -- "$mf" ||
25717 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25718 X"$mf" : 'X\(//\)[^/]' \| \
25719 X"$mf" : 'X\(//\)$' \| \
25720 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25726 /^X\(\/\/\)[^/].*/{
25742 # Extract the definition of DEPDIR, am__include, and am__quote
25743 # from the Makefile without running `make'.
25744 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25745 test -z "$DEPDIR" && continue
25746 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25747 test -z "am__include" && continue
25748 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25749 # When using ansi2knr, U may be empty or an underscore; expand it
25750 U
=`sed -n 's/^U = //p' < "$mf"`
25751 # Find all dependency output files, they are included files with
25752 # $(DEPDIR) in their names. We invoke sed twice because it is the
25753 # simplest approach to changing $(DEPDIR) to its actual value in the
25755 for file in `sed -n "
25756 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25757 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25758 # Make sure the directory exists.
25759 test -f "$dirpart/$file" && continue
25760 fdir
=`$as_dirname -- "$file" ||
25761 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25762 X"$file" : 'X\(//\)[^/]' \| \
25763 X"$file" : 'X\(//\)$' \| \
25764 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25770 /^X\(\/\/\)[^/].*/{
25783 { as_dir
=$dirpart/$fdir
25785 -*) as_dir
=.
/$as_dir;;
25787 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25791 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25792 *) as_qdir
=$as_dir;;
25794 as_dirs
="'$as_qdir' $as_dirs"
25795 as_dir
=`$as_dirname -- "$as_dir" ||
25796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25797 X"$as_dir" : 'X\(//\)[^/]' \| \
25798 X"$as_dir" : 'X\(//\)$' \| \
25799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25805 /^X\(\/\/\)[^/].*/{
25818 test -d "$as_dir" && break
25820 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25821 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25822 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25823 { (exit 1); exit 1; }; }; }
25824 # echo "creating $dirpart/$file"
25825 echo '# dummy' > "$dirpart/$file"
25834 { (exit 0); exit 0; }
25836 chmod +x
$CONFIG_STATUS
25837 ac_clean_files
=$ac_clean_files_save
25840 # configure is writing to config.log, and then calls config.status.
25841 # config.status does its own redirection, appending to config.log.
25842 # Unfortunately, on DOS this fails, as config.log is still kept open
25843 # by configure, so config.status won't be able to write to it; its
25844 # output is simply discarded. So we exec the FD to /dev/null,
25845 # effectively closing config.log, so it can be properly (re)opened and
25846 # appended to by config.status. When coming back to configure, we
25847 # need to make the FD available again.
25848 if test "$no_create" != yes; then
25850 ac_config_status_args
=
25851 test "$silent" = yes &&
25852 ac_config_status_args
="$ac_config_status_args --quiet"
25854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25857 # would make configure fail if this is the last instruction.
25858 $ac_cs_success ||
{ (exit 1); exit 1; }
25862 # CONFIG_SUBDIRS section.
25864 if test "$no_recursion" != yes; then
25866 # Remove --cache-file and --srcdir arguments so they do not pile up.
25867 ac_sub_configure_args
=
25869 eval "set x $ac_configure_args"
25873 if test -n "$ac_prev"; then
25878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
25879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
25880 ac_prev
=cache_file
;;
25881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
25882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
25885 --config-cache |
-C)
25887 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
25889 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
25891 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
25893 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
25897 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
25899 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
25903 # Always prepend --prefix to ensure using the same prefix
25904 # in subdir configurations.
25905 ac_arg
="--prefix=$prefix"
25907 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
25909 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
25912 if test "$silent" = yes; then
25913 ac_sub_configure_args
="--silent $ac_sub_configure_args"
25917 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
25919 # Do not complain, so a configure script can configure whichever
25920 # parts of a large source tree are present.
25921 test -d "$srcdir/$ac_dir" ||
continue
25923 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
25924 echo "$as_me:$LINENO: $ac_msg" >&5
25928 -*) as_dir
=.
/$as_dir;;
25930 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25934 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25935 *) as_qdir
=$as_dir;;
25937 as_dirs
="'$as_qdir' $as_dirs"
25938 as_dir
=`$as_dirname -- "$as_dir" ||
25939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25940 X"$as_dir" : 'X\(//\)[^/]' \| \
25941 X"$as_dir" : 'X\(//\)$' \| \
25942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25948 /^X\(\/\/\)[^/].*/{
25961 test -d "$as_dir" && break
25963 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25964 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25965 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25966 { (exit 1); exit 1; }; }; }
25970 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25972 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25973 # A ".." for each directory in $ac_dir_suffix.
25974 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25975 case $ac_top_builddir_sub in
25976 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25977 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25980 ac_abs_top_builddir
=$ac_pwd
25981 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25982 # for backward compatibility:
25983 ac_top_builddir
=$ac_top_build_prefix
25986 .
) # We are building in place.
25988 ac_top_srcdir
=$ac_top_builddir_sub
25989 ac_abs_top_srcdir
=$ac_pwd ;;
25990 [\\/]* | ?
:[\\/]* ) # Absolute name.
25991 ac_srcdir
=$srcdir$ac_dir_suffix;
25992 ac_top_srcdir
=$srcdir
25993 ac_abs_top_srcdir
=$srcdir ;;
25994 *) # Relative name.
25995 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25996 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25997 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25999 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26004 # Check for guested configure; otherwise get Cygnus style configure.
26005 if test -f "$ac_srcdir/configure.gnu"; then
26006 ac_sub_configure
=$ac_srcdir/configure.gnu
26007 elif test -f "$ac_srcdir/configure"; then
26008 ac_sub_configure
=$ac_srcdir/configure
26009 elif test -f "$ac_srcdir/configure.in"; then
26010 # This should be Cygnus configure.
26011 ac_sub_configure
=$ac_aux_dir/configure
26013 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
26014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
26018 # The recursion is here.
26019 if test -n "$ac_sub_configure"; then
26020 # Make the cache file name correct relative to the subdirectory.
26021 case $cache_file in
26022 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
26023 *) # Relative name.
26024 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
26027 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
26028 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
26029 # The eval makes quoting arguments work.
26030 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
26031 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
26032 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
26033 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
26034 { (exit 1); exit 1; }; }