2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for barry 0.17.0.
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.17.0'
732 PACKAGE_STRING
='barry 0.17.0'
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>
782 program_transform_name
824 INSTALL_STRIP_PROGRAM
852 GETTEXT_MACRO_VERSION
860 XGETTEXT_EXTRA_OPTIONS
894 WITH_GCCVISIBILITY_TRUE
895 WITH_GCCVISIBILITY_FALSE
928 ac_precious_vars
='build_alias
955 opensync-plugin-0.4x'
957 # Initialize some variables set by options.
959 ac_init_version
=false
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1027 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build |
--build |
--buil |
--bui |
--bu)
1031 ac_prev
=build_alias
;;
1032 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1036 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1039 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache |
-C)
1043 cache_file
=config.cache
;;
1045 -datadir |
--datadir |
--datadi |
--datad)
1047 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1051 |
--dataroo |
--dataro |
--datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1054 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* |
--disable-*)
1058 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1061 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1064 eval enable_
$ac_feature=no
;;
1066 -docdir |
--docdir |
--docdi |
--doc |
--do)
1068 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1069 docdir
=$ac_optarg ;;
1071 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1073 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1074 dvidir
=$ac_optarg ;;
1076 -enable-* |
--enable-*)
1077 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1080 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1081 { (exit 1); exit 1; }; }
1082 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1083 eval enable_
$ac_feature=\
$ac_optarg ;;
1085 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1086 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1087 |
--exec |
--exe |
--ex)
1088 ac_prev
=exec_prefix
;;
1089 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1090 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1091 |
--exec=* |
--exe=* |
--ex=*)
1092 exec_prefix
=$ac_optarg ;;
1094 -gas |
--gas |
--ga |
--g)
1095 # Obsolete; use --with-gas.
1098 -help |
--help |
--hel |
--he |
-h)
1099 ac_init_help
=long
;;
1100 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1101 ac_init_help
=recursive
;;
1102 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1103 ac_init_help
=short
;;
1105 -host |
--host |
--hos |
--ho)
1106 ac_prev
=host_alias
;;
1107 -host=* |
--host=* |
--hos=* |
--ho=*)
1108 host_alias
=$ac_optarg ;;
1110 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1112 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1114 htmldir
=$ac_optarg ;;
1116 -includedir |
--includedir |
--includedi |
--included |
--include \
1117 |
--includ |
--inclu |
--incl |
--inc)
1118 ac_prev
=includedir
;;
1119 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1120 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1121 includedir
=$ac_optarg ;;
1123 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1125 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1126 infodir
=$ac_optarg ;;
1128 -libdir |
--libdir |
--libdi |
--libd)
1130 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1131 libdir
=$ac_optarg ;;
1133 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1134 |
--libexe |
--libex |
--libe)
1135 ac_prev
=libexecdir
;;
1136 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1137 |
--libexe=* |
--libex=* |
--libe=*)
1138 libexecdir
=$ac_optarg ;;
1140 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1141 ac_prev
=localedir
;;
1142 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1143 localedir
=$ac_optarg ;;
1145 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1146 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1147 ac_prev
=localstatedir
;;
1148 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1149 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1150 localstatedir
=$ac_optarg ;;
1152 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1154 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1155 mandir
=$ac_optarg ;;
1157 -nfp |
--nfp |
--nf)
1158 # Obsolete; use --without-fp.
1161 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1162 |
--no-cr |
--no-c |
-n)
1165 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1166 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1169 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1170 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1171 |
--oldin |
--oldi |
--old |
--ol |
--o)
1172 ac_prev
=oldincludedir
;;
1173 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1174 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1175 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1176 oldincludedir
=$ac_optarg ;;
1178 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1180 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1181 prefix
=$ac_optarg ;;
1183 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1184 |
--program-pre |
--program-pr |
--program-p)
1185 ac_prev
=program_prefix
;;
1186 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1187 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1188 program_prefix
=$ac_optarg ;;
1190 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1191 |
--program-suf |
--program-su |
--program-s)
1192 ac_prev
=program_suffix
;;
1193 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1194 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1195 program_suffix
=$ac_optarg ;;
1197 -program-transform-name |
--program-transform-name \
1198 |
--program-transform-nam |
--program-transform-na \
1199 |
--program-transform-n |
--program-transform- \
1200 |
--program-transform |
--program-transfor \
1201 |
--program-transfo |
--program-transf \
1202 |
--program-trans |
--program-tran \
1203 |
--progr-tra |
--program-tr |
--program-t)
1204 ac_prev
=program_transform_name
;;
1205 -program-transform-name=* |
--program-transform-name=* \
1206 |
--program-transform-nam=* |
--program-transform-na=* \
1207 |
--program-transform-n=* |
--program-transform-=* \
1208 |
--program-transform=* |
--program-transfor=* \
1209 |
--program-transfo=* |
--program-transf=* \
1210 |
--program-trans=* |
--program-tran=* \
1211 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1212 program_transform_name
=$ac_optarg ;;
1214 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1216 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1217 pdfdir
=$ac_optarg ;;
1219 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1221 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1224 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1225 |
-silent |
--silent |
--silen |
--sile |
--sil)
1228 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1230 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1232 sbindir
=$ac_optarg ;;
1234 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1235 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1236 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1238 ac_prev
=sharedstatedir
;;
1239 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1240 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1241 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1243 sharedstatedir
=$ac_optarg ;;
1245 -site |
--site |
--sit)
1247 -site=* |
--site=* |
--sit=*)
1250 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1252 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1253 srcdir
=$ac_optarg ;;
1255 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1256 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1257 ac_prev
=sysconfdir
;;
1258 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1259 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1260 sysconfdir
=$ac_optarg ;;
1262 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1263 ac_prev
=target_alias
;;
1264 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1265 target_alias
=$ac_optarg ;;
1267 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1270 -version |
--version |
--versio |
--versi |
--vers |
-V)
1271 ac_init_version
=: ;;
1274 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1277 { echo "$as_me: error: invalid package name: $ac_package" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1280 eval with_
$ac_package=\
$ac_optarg ;;
1282 -without-* |
--without-*)
1283 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1286 { echo "$as_me: error: invalid package name: $ac_package" >&2
1287 { (exit 1); exit 1; }; }
1288 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1289 eval with_
$ac_package=no
;;
1292 # Obsolete; use --with-x.
1295 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1296 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1297 ac_prev
=x_includes
;;
1298 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1299 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1300 x_includes
=$ac_optarg ;;
1302 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1303 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1304 ac_prev
=x_libraries
;;
1305 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1306 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1307 x_libraries
=$ac_optarg ;;
1309 -*) { echo "$as_me: error: unrecognized option: $ac_option
1310 Try \`$0 --help' for more information." >&2
1311 { (exit 1); exit 1; }; }
1315 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1318 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1319 { (exit 1); exit 1; }; }
1320 eval $ac_envvar=\
$ac_optarg
1321 export $ac_envvar ;;
1324 # FIXME: should be removed in autoconf 3.0.
1325 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1327 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1334 if test -n "$ac_prev"; then
1335 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1336 { echo "$as_me: error: missing argument to $ac_option" >&2
1337 { (exit 1); exit 1; }; }
1340 # Be sure to have absolute directory names.
1341 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val
=\$
$ac_var
1348 [\\/$
]* | ?
:[\\/]* ) continue;;
1349 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1351 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1352 { (exit 1); exit 1; }; }
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1360 target
=$target_alias
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x
; then
1364 if test "x$build_alias" = x
; then
1365 cross_compiling
=maybe
1366 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1374 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1376 test "$silent" = yes && exec 6>/dev
/null
1379 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di
=`ls -di .` &&
1381 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1382 { echo "$as_me: error: Working directory cannot be determined" >&2
1383 { (exit 1); exit 1; }; }
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 { echo "$as_me: error: pwd does not report name of working directory" >&2
1386 { (exit 1); exit 1; }; }
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted
=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir
=`$as_dirname -- "$0" ||
1394 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$0" : 'X\(//\)[^/]' \| \
1396 X"$0" : 'X\(//\)$' \| \
1397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1421 ac_srcdir_defaulted
=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1425 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1426 { (exit 1); exit 1; }; }
1428 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1431 { (exit 1); exit 1; }; }
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var
in $ac_precious_vars; do
1444 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1446 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures barry 0.17.0 to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/barry]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1520 --build=BUILD configure
for building on BUILD
[guessed
]
1521 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive
) echo "Configuration of barry 0.17.0:";;
1532 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1533 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1534 --disable-dependency-tracking speeds up one-time build
1535 --enable-dependency-tracking do not reject slow dependency extractors
1536 --disable-nls do not use Native Language Support
1537 --disable-rpath do not hardcode runtime library paths
1538 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1539 --enable-static[=PKGS
] build static libraries
[default
=yes]
1540 --enable-fast-install[=PKGS
]
1541 optimize
for fast installation
[default
=yes]
1542 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1543 --enable-boost enable Boost support
1544 --enable-gui build the gui
1545 --enable-opensync-plugin
1546 build the opensync plugin
1547 --enable-opensync-plugin-4x
1548 build the opensync
0.4x plugin
1551 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1552 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1553 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1554 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1555 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1556 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1557 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1558 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1559 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1561 --with-tags[=TAGS
] include additional configurations
[automatic
]
1562 --with-libtar=<path
> root path of libtar
install
1563 --with-zlib=<path
> root path of zlib
install
1564 --with-libusb=<path
> root path of libusb installation
1565 --with-boost-include=path
1566 path to Boost include directory
in order to
make
1567 include
<boost
/something.hpp
> valid
(defaults to
1569 --with-boost-lib=path path to Boost library directory
(defaults to system
1571 --with-boost-serialization=name
1572 name of serialization library to use with compiler
's
1573 -l option (defaults to boost_serialization or
1574 boost_serialization-mt.)
1575 --with-zlib force usage of zlib, and halt if not available
1577 Some influential environment variables:
1578 CC C compiler command
1579 CFLAGS C compiler flags
1580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1581 nonstandard directory <lib dir>
1582 LIBS libraries to pass to the linker, e.g. -l<library>
1583 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1584 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CXXCPP C++ preprocessor
1589 F77 Fortran 77 compiler command
1590 FFLAGS Fortran 77 compiler flags
1591 PKG_CONFIG path to pkg-config utility
1593 C compiler flags for LIBUSB, overriding pkg-config
1594 LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config
1595 FUSE_CFLAGS C compiler flags for FUSE, overriding pkg-config
1596 FUSE_LIBS linker flags for FUSE, overriding pkg-config
1598 C compiler flags for GLIB2, overriding pkg-config
1599 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1600 ZLIB_LIBS Linker options for zlib
1602 C compiler flags for LIBXMLXX, overriding pkg-config
1604 linker flags for LIBXMLXX, overriding pkg-config
1606 Use these variables to override the choices made by `configure' or to
help
1607 it to
find libraries and programs with nonstandard names
/locations.
1609 Report bugs to
<barry-devel@lists.sourceforge.net
>.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1617 test -d "$ac_dir" ||
continue
1621 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1623 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1628 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1631 ac_abs_top_builddir
=$ac_pwd
1632 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir
=$ac_top_build_prefix
1637 .
) # We are building in place.
1639 ac_top_srcdir
=$ac_top_builddir_sub
1640 ac_abs_top_srcdir
=$ac_pwd ;;
1641 [\\/]* | ?
:[\\/]* ) # Absolute name.
1642 ac_srcdir
=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir
=$srcdir
1644 ac_abs_top_srcdir
=$srcdir ;;
1646 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1650 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1652 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1661 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1670 barry configure
0.17.0
1671 generated by GNU Autoconf
2.61
1673 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1674 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1675 This configure
script is free software
; the Free Software Foundation
1676 gives unlimited permission to copy
, distribute and modify it.
1680 cat >config.log
<<_ACEOF
1681 This file contains any messages produced by compilers while
1682 running configure, to aid debugging if configure makes a mistake.
1684 It was created by barry $as_me 0.17.0, which was
1685 generated by GNU Autoconf 2.61. Invocation command line was
1697 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1698 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1699 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1700 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1701 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1703 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1704 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1706 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1707 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1708 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1709 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1710 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1711 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1712 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 echo "PATH: $as_dir"
1737 # Keep a trace of the command line.
1738 # Strip out --no-create and --no-recursion so they do not pile up.
1739 # Strip out --silent because we don't want to record it for future runs.
1740 # Also quote any args containing shell meta-characters.
1741 # Make two passes to allow for proper duplicate-argument suppression.
1745 ac_must_keep_next
=false
1751 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1752 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1753 |
-silent |
--silent |
--silen |
--sile |
--sil)
1756 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1759 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1761 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1762 if test $ac_must_keep_next = true
; then
1763 ac_must_keep_next
=false
# Got value, back to normal.
1766 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1767 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1768 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1769 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1770 case "$ac_configure_args0 " in
1771 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1774 -* ) ac_must_keep_next
=true
;;
1777 ac_configure_args
="$ac_configure_args '$ac_arg'"
1782 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1783 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1785 # When interrupted or exit'd, cleanup temporary files, and complete
1786 # config.log. We remove comments because anyway the quotes in there
1787 # would cause problems or look ugly.
1788 # WARNING: Use '\'' to represent an apostrophe within the trap.
1789 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1790 trap 'exit_status=$?
1791 # Save into config.log some information that might help in debugging.
1796 ## ---------------- ##
1797 ## Cache variables. ##
1798 ## ---------------- ##
1801 # The following way of writing the cache mishandles newlines in values,
1803 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1804 eval ac_val=\$$ac_var
1808 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1809 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1812 _ | IFS | as_nl) ;; #(
1813 *) $as_unset $ac_var ;;
1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 ## ----------------- ##
1834 ## Output variables. ##
1835 ## ----------------- ##
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1850 ## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##
1855 for ac_var
in $ac_subst_files
1857 eval ac_val
=\$
$ac_var
1859 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 echo "$ac_var='\''$ac_val'\''"
1866 if test -s confdefs.h; then
1876 test "$ac_signal" != 0 &&
1877 echo "$as_me: caught signal $ac_signal"
1878 echo "$as_me: exit $exit_status"
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 for ac_signal
in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest
* confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 cat >>confdefs.h
<<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 cat >>confdefs.h
<<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h
<<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 cat >>confdefs.h
<<_ACEOF
1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer explicitly selected file to automatically selected ones.
1921 if test -n "$CONFIG_SITE"; then
1922 set x
"$CONFIG_SITE"
1923 elif test "x$prefix" != xNONE
; then
1924 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1926 set x
"$ac_default_prefix/share/config.site" \
1927 "$ac_default_prefix/etc/config.site"
1932 if test -r "$ac_site_file"; then
1933 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1934 echo "$as_me: loading site script $ac_site_file" >&6;}
1935 sed 's/^/| /' "$ac_site_file" >&5
1940 if test -r "$cache_file"; then
1941 # Some versions of bash will fail to source /dev/null (special
1942 # files actually), so we avoid doing that.
1943 if test -f "$cache_file"; then
1944 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1945 echo "$as_me: loading cache $cache_file" >&6;}
1947 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1948 *) .
"./$cache_file";;
1952 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1953 echo "$as_me: creating cache $cache_file" >&6;}
1957 gt_needs
="$gt_needs "
1958 # Check that the precious variables saved in the cache have kept the same
1960 ac_cache_corrupted
=false
1961 for ac_var
in $ac_precious_vars; do
1962 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1963 eval ac_new_set
=\
$ac_env_${ac_var}_set
1964 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1965 eval ac_new_val
=\
$ac_env_${ac_var}_value
1966 case $ac_old_set,$ac_new_set in
1968 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1969 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1970 ac_cache_corrupted
=: ;;
1972 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1973 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1974 ac_cache_corrupted
=: ;;
1977 if test "x$ac_old_val" != "x$ac_new_val"; then
1978 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1979 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1980 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1981 echo "$as_me: former value: $ac_old_val" >&2;}
1982 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1983 echo "$as_me: current value: $ac_new_val" >&2;}
1984 ac_cache_corrupted
=:
1987 # Pass precious variables to config.status.
1988 if test "$ac_new_set" = set; then
1990 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1991 *) ac_arg
=$ac_var=$ac_new_val ;;
1993 case " $ac_configure_args " in
1994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1995 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1999 if $ac_cache_corrupted; then
2000 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2001 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2002 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2003 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2004 { (exit 1); exit 1; }; }
2032 ac_cpp
='$CPP $CPPFLAGS'
2033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2038 #AM_CONFIG_HEADER(config.h)
2040 ac_config_headers
="$ac_config_headers config.h:config.h.in"
2043 am__api_version
='1.10'
2046 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2047 if test -f "$ac_dir/install-sh"; then
2049 ac_install_sh
="$ac_aux_dir/install-sh -c"
2051 elif test -f "$ac_dir/install.sh"; then
2053 ac_install_sh
="$ac_aux_dir/install.sh -c"
2055 elif test -f "$ac_dir/shtool"; then
2057 ac_install_sh
="$ac_aux_dir/shtool install -c"
2061 if test -z "$ac_aux_dir"; then
2062 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2063 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2064 { (exit 1); exit 1; }; }
2067 # These three variables are undocumented and unsupported,
2068 # and are intended to be withdrawn in a future Autoconf release.
2069 # They can cause serious problems if a builder's source tree is in a directory
2070 # whose full name contains unusual characters.
2071 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2072 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2073 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2076 # Find a good install program. We prefer a C program (faster),
2077 # so one script is as good as another. But avoid the broken or
2078 # incompatible versions:
2079 # SysV /etc/install, /usr/sbin/install
2080 # SunOS /usr/etc/install
2081 # IRIX /sbin/install
2083 # AmigaOS /C/install, which installs bootblocks on floppy discs
2084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2087 # OS/2's system install, which has a completely different semantic
2088 # ./install, which can be erroneously created by make from ./install.sh.
2089 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2090 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2091 if test -z "$INSTALL"; then
2092 if test "${ac_cv_path_install+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir
=.
2100 # Account for people who put trailing slashes in PATH elements.
2102 .
/ | .
// |
/cC
/* | \
2103 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2104 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2107 # OSF1 and SCO ODT 3.0 have their own names for install.
2108 # Don't use installbsd from OSF since it installs stuff as root
2110 for ac_prog
in ginstall scoinst
install; do
2111 for ac_exec_ext
in '' $ac_executable_extensions; do
2112 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2113 if test $ac_prog = install &&
2114 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2115 # AIX install. It has an incompatible calling convention.
2117 elif test $ac_prog = install &&
2118 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2119 # program-specific install script used by HP pwplus--don't use.
2122 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2135 if test "${ac_cv_path_install+set}" = set; then
2136 INSTALL
=$ac_cv_path_install
2138 # As a last resort, use the slow shell script. Don't cache a
2139 # value for INSTALL within a source directory, because that will
2140 # break other packages using the cache if that directory is
2141 # removed, or if the value is a relative name.
2142 INSTALL
=$ac_install_sh
2145 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2146 echo "${ECHO_T}$INSTALL" >&6; }
2148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2149 # It thinks the first close brace ends the variable substitution.
2150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2154 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2156 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2157 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2160 echo timestamp
> conftest.
file
2161 # Do `set' in a subshell so we don't clobber the current shell's
2162 # arguments. Must try -L first in case configure is actually a
2163 # symlink; some systems play weird games with the mod time of symlinks
2164 # (eg FreeBSD returns the mod time of the symlink's containing
2167 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2168 if test "$*" = "X"; then
2170 set X
`ls -t $srcdir/configure conftest.file`
2173 if test "$*" != "X $srcdir/configure conftest.file" \
2174 && test "$*" != "X conftest.file $srcdir/configure"; then
2176 # If neither matched, then we have a broken ls. This can happen
2177 # if, for instance, CONFIG_SHELL is bash and it inherits a
2178 # broken ls alias from the environment. This has actually
2179 # happened. Such a system could not be considered "sane".
2180 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2181 alias in your environment" >&5
2182 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2183 alias in your environment" >&2;}
2184 { (exit 1); exit 1; }; }
2187 test "$2" = conftest.
file
2193 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2194 Check your system clock" >&5
2195 echo "$as_me: error: newly created file is older than distributed files!
2196 Check your system clock" >&2;}
2197 { (exit 1); exit 1; }; }
2199 { echo "$as_me:$LINENO: result: yes" >&5
2200 echo "${ECHO_T}yes" >&6; }
2201 test "$program_prefix" != NONE
&&
2202 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2203 # Use a double $ so make ignores it.
2204 test "$program_suffix" != NONE
&&
2205 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2206 # Double any \ or $. echo might interpret backslashes.
2207 # By default was `s,x,x', remove it if useless.
2208 cat <<\_ACEOF
>conftest.
sed
2209 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2211 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2214 # expand $ac_aux_dir to an absolute path
2215 am_aux_dir
=`cd $ac_aux_dir && pwd`
2217 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2218 # Use eval to expand $SHELL
2219 if eval "$MISSING --run true"; then
2220 am_missing_run
="$MISSING --run "
2223 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2224 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2227 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2228 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2229 if test -z "$MKDIR_P"; then
2230 if test "${ac_cv_path_mkdir+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2234 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2237 test -z "$as_dir" && as_dir
=.
2238 for ac_prog
in mkdir gmkdir
; do
2239 for ac_exec_ext
in '' $ac_executable_extensions; do
2240 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2241 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2242 'mkdir (GNU coreutils) '* | \
2243 'mkdir (coreutils) '* | \
2244 'mkdir (fileutils) '4.1*)
2245 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2255 if test "${ac_cv_path_mkdir+set}" = set; then
2256 MKDIR_P
="$ac_cv_path_mkdir -p"
2258 # As a last resort, use the slow shell script. Don't cache a
2259 # value for MKDIR_P within a source directory, because that will
2260 # break other packages using the cache if that directory is
2261 # removed, or if the value is a relative name.
2262 test -d .
/--version && rmdir .
/--version
2263 MKDIR_P
="$ac_install_sh -d"
2266 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2267 echo "${ECHO_T}$MKDIR_P" >&6; }
2271 [\\/$
]* | ?
:[\\/]*) ;;
2272 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2275 for ac_prog
in gawk mawk nawk
awk
2277 # Extract the first word of "$ac_prog", so it can be a program name with args.
2278 set dummy
$ac_prog; ac_word
=$2
2279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2281 if test "${ac_cv_prog_AWK+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 if test -n "$AWK"; then
2285 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 for ac_exec_ext
in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2294 ac_cv_prog_AWK
="$ac_prog"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 if test -n "$AWK"; then
2306 { echo "$as_me:$LINENO: result: $AWK" >&5
2307 echo "${ECHO_T}$AWK" >&6; }
2309 { echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6; }
2314 test -n "$AWK" && break
2317 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2318 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2319 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2320 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 cat >conftest.
make <<\_ACEOF
2326 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2328 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2329 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2331 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2333 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2337 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2338 { echo "$as_me:$LINENO: result: yes" >&5
2339 echo "${ECHO_T}yes" >&6; }
2342 { echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6; }
2344 SET_MAKE
="MAKE=${MAKE-make}"
2347 rm -rf .tst
2>/dev
/null
2348 mkdir .tst
2>/dev
/null
2349 if test -d .tst
; then
2354 rmdir .tst
2>/dev
/null
2356 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2357 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2358 # is not polluted with repeated "-I."
2359 am__isrc
=' -I$(srcdir)'
2360 # test to see if srcdir already configured
2361 if test -f $srcdir/config.status
; then
2362 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2363 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2364 { (exit 1); exit 1; }; }
2368 # test whether we have cygpath
2369 if test -z "$CYGPATH_W"; then
2370 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2371 CYGPATH_W
='cygpath -w'
2378 # Define the identity of the package.
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE "$PACKAGE"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define VERSION "$VERSION"
2392 # Some tools Automake needs.
2394 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2397 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2400 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2403 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2406 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2408 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2410 # Installed binaries are usually stripped using `strip' when the user
2411 # run `make install-strip'. However `strip' might not be the right
2412 # tool to use in cross-compilation environments, therefore Automake
2413 # will honor the `STRIP' environment variable to overrule this program.
2414 if test "$cross_compiling" != no
; then
2415 if test -n "$ac_tool_prefix"; then
2416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2417 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_STRIP+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$STRIP"; then
2424 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 STRIP
=$ac_cv_prog_STRIP
2444 if test -n "$STRIP"; then
2445 { echo "$as_me:$LINENO: result: $STRIP" >&5
2446 echo "${ECHO_T}$STRIP" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2454 if test -z "$ac_cv_prog_STRIP"; then
2456 # Extract the first word of "strip", so it can be a program name with args.
2457 set dummy strip
; ac_word
=$2
2458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2460 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 if test -n "$ac_ct_STRIP"; then
2464 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir
=.
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473 ac_cv_prog_ac_ct_STRIP
="strip"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2484 if test -n "$ac_ct_STRIP"; then
2485 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2486 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2488 { echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6; }
2492 if test "x$ac_ct_STRIP" = x
; then
2495 case $cross_compiling:$ac_tool_warned in
2497 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2498 whose name does not start with the host triplet. If you think this
2499 configuration is useful to you, please write to autoconf@gnu.org." >&5
2500 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2501 whose name does not start with the host triplet. If you think this
2502 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2503 ac_tool_warned
=yes ;;
2508 STRIP
="$ac_cv_prog_STRIP"
2512 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2514 # We need awk for the "check" target. The system "awk" is bad on
2516 # Always define AMTAR for backward compatibility.
2518 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2520 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2528 cat >>confdefs.h
<<\_ACEOF
2529 #define _GNU_SOURCE 1
2533 DEPDIR
="${am__leading_dot}deps"
2535 ac_config_commands
="$ac_config_commands depfiles"
2538 am_make
=${MAKE-make}
2539 cat > confinc
<< 'END'
2544 # If we don't find an include directive, just comment out the code.
2545 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2546 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2550 # First try GNU make style include.
2551 echo "include confinc" > confmf
2552 # We grep out `Entering directory' and `Leaving directory'
2553 # messages which can occur if `w' ends up in MAKEFLAGS.
2554 # In particular we don't look at `^make:' because GNU make might
2555 # be invoked under some other name (usually "gmake"), in which
2556 # case it prints its new name instead of `make'.
2557 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2562 # Now try BSD make style include.
2563 if test "$am__include" = "#"; then
2564 echo '.include "confinc"' > confmf
2565 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2566 am__include
=.include
2573 { echo "$as_me:$LINENO: result: $_am_result" >&5
2574 echo "${ECHO_T}$_am_result" >&6; }
2575 rm -f confinc confmf
2577 # Check whether --enable-dependency-tracking was given.
2578 if test "${enable_dependency_tracking+set}" = set; then
2579 enableval
=$enable_dependency_tracking;
2582 if test "x$enable_dependency_tracking" != xno
; then
2583 am_depcomp
="$ac_aux_dir/depcomp"
2586 if test "x$enable_dependency_tracking" != xno; then
2596 ac_cpp
='$CPP $CPPFLAGS'
2597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2600 if test -n "$ac_tool_prefix"; then
2601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2602 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2605 if test "${ac_cv_prog_CC+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$CC"; then
2609 ac_cv_prog_CC
="$CC" # Let the user override the test.
2611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir
=.
2616 for ac_exec_ext
in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test -n "$CC"; then
2630 { echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6; }
2633 { echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6; }
2639 if test -z "$ac_cv_prog_CC"; then
2641 # Extract the first word of "gcc", so it can be a program name with args.
2642 set dummy gcc
; ac_word
=$2
2643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 if test -n "$ac_ct_CC"; then
2649 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_ac_ct_CC
="gcc"
2659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2669 if test -n "$ac_ct_CC"; then
2670 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2671 echo "${ECHO_T}$ac_ct_CC" >&6; }
2673 { echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6; }
2677 if test "x$ac_ct_CC" = x
; then
2680 case $cross_compiling:$ac_tool_warned in
2682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2683 whose name does not start with the host triplet. If you think this
2684 configuration is useful to you, please write to autoconf@gnu.org." >&5
2685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2686 whose name does not start with the host triplet. If you think this
2687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2688 ac_tool_warned
=yes ;;
2696 if test -z "$CC"; then
2697 if test -n "$ac_tool_prefix"; then
2698 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2699 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2702 if test "${ac_cv_prog_CC+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$CC"; then
2706 ac_cv_prog_CC
="$CC" # Let the user override the test.
2708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir
=.
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 if test -n "$CC"; then
2727 { echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6; }
2730 { echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6; }
2737 if test -z "$CC"; then
2738 # Extract the first word of "cc", so it can be a program name with args.
2739 set dummy cc
; ac_word
=$2
2740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2742 if test "${ac_cv_prog_CC+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC
="$CC" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2757 ac_prog_rejected
=yes
2761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 if test $ac_prog_rejected = yes; then
2769 # We found a bogon in the path, so make sure we never use it.
2770 set dummy
$ac_cv_prog_CC
2772 if test $# != 0; then
2773 # We chose a different compiler from the bogus one.
2774 # However, it has the same basename, so the bogon will be chosen
2775 # first if we set CC to just the basename; use the full file name.
2777 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2783 if test -n "$CC"; then
2784 { echo "$as_me:$LINENO: result: $CC" >&5
2785 echo "${ECHO_T}$CC" >&6; }
2787 { echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6; }
2793 if test -z "$CC"; then
2794 if test -n "$ac_tool_prefix"; then
2795 for ac_prog
in cl.exe
2797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2798 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2801 if test "${ac_cv_prog_CC+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -n "$CC"; then
2805 ac_cv_prog_CC
="$CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 if test -n "$CC"; then
2826 { echo "$as_me:$LINENO: result: $CC" >&5
2827 echo "${ECHO_T}$CC" >&6; }
2829 { echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6; }
2834 test -n "$CC" && break
2837 if test -z "$CC"; then
2839 for ac_prog
in cl.exe
2841 # Extract the first word of "$ac_prog", so it can be a program name with args.
2842 set dummy
$ac_prog; ac_word
=$2
2843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 if test -n "$ac_ct_CC"; then
2849 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir
=.
2856 for ac_exec_ext
in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_ac_ct_CC
="$ac_prog"
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2869 if test -n "$ac_ct_CC"; then
2870 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2871 echo "${ECHO_T}$ac_ct_CC" >&6; }
2873 { echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6; }
2878 test -n "$ac_ct_CC" && break
2881 if test "x$ac_ct_CC" = x
; then
2884 case $cross_compiling:$ac_tool_warned in
2886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2887 whose name does not start with the host triplet. If you think this
2888 configuration is useful to you, please write to autoconf@gnu.org." >&5
2889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2890 whose name does not start with the host triplet. If you think this
2891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2892 ac_tool_warned
=yes ;;
2901 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2902 See \`config.log' for more details." >&5
2903 echo "$as_me: error: no acceptable C compiler found in \$PATH
2904 See \`config.log' for more details." >&2;}
2905 { (exit 1); exit 1; }; }
2907 # Provide some information about the compiler.
2908 echo "$as_me:$LINENO: checking for C compiler version" >&5
2909 ac_compiler
=`set X $ac_compile; echo $2`
2910 { (ac_try
="$ac_compiler --version >&5"
2912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_compiler --version >&5") 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }
2920 { (ac_try="$ac_compiler -v >&5"
2922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2923 *) ac_try_echo
=$ac_try;;
2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_compiler -v >&5") 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }
2930 { (ac_try
="$ac_compiler -V >&5"
2932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936 (eval "$ac_compiler -V >&5") 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 ac_clean_files_save=$ac_clean_files
2957 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2958 # Try to create an executable without -o first, disregard a.out.
2959 # It will help us diagnose broken compilers, and finding out an intuition
2961 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2962 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2963 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2965 # List of possible output files, starting from the most likely.
2966 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2967 # only as a last resort. b.out is created by i960 compilers.
2968 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2970 # The IRIX 6 linker writes into existing files which may not be
2971 # executable, retaining their permissions. Remove them first so a
2972 # subsequent execution test works.
2974 for ac_file in $ac_files
2977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2978 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2983 if { (ac_try="$ac_link_default"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_link_default") 2>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; then
2993 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2994 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2995 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2996 # so that the user can short-circuit this test for compilers unknown to
2998 for ac_file
in $ac_files ''
3000 test -f "$ac_file" ||
continue
3002 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3005 # We found the default executable, but exeext='' is most
3009 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3011 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013 # We set ac_cv_exeext here because the later test for it is not
3014 # safe: cross compilers may not add the suffix if given an `-o'
3015 # argument, so we may need to know it at that point already.
3016 # Even if this section looks crufty: it has the advantage of
3023 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3029 { echo "$as_me:$LINENO: result: $ac_file" >&5
3030 echo "${ECHO_T}$ac_file" >&6; }
3031 if test -z "$ac_file"; then
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3035 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3036 See \`config.log' for more details." >&5
3037 echo "$as_me: error: C compiler cannot create executables
3038 See \`config.log' for more details." >&2;}
3039 { (exit 77); exit 77; }; }
3042 ac_exeext
=$ac_cv_exeext
3044 # Check that the compiler produces executables we can run. If not, either
3045 # the compiler is broken, or we cross compile.
3046 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3047 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3048 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3049 # If not cross compiling, check that we can run a simple program.
3050 if test "$cross_compiling" != yes; then
3051 if { ac_try
='./$ac_file'
3052 { (case "(($ac_try" in
3053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3057 (eval "$ac_try") 2>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3063 if test "$cross_compiling" = maybe; then
3066 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3067 If you meant to cross compile, use \`--host'.
3068 See \`config.log' for more details.
" >&5
3069 echo "$as_me: error
: cannot run C compiled programs.
3070 If you meant to cross compile
, use \
`--host'.
3071 See \`config.log
' for more details." >&2;}
3072 { (exit 1); exit 1; }; }
3076 { echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6; }
3079 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3080 ac_clean_files=$ac_clean_files_save
3081 # Check that the compiler produces executables we can run. If not, either
3082 # the compiler is broken, or we cross compile.
3083 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3085 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3086 echo "${ECHO_T}$cross_compiling" >&6; }
3088 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3090 if { (ac_try="$ac_link"
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3096 (eval "$ac_link") 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; then
3100 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3101 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3102 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3104 for ac_file
in conftest.exe conftest conftest.
*; do
3105 test -f "$ac_file" ||
continue
3107 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3108 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3114 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3115 See \`config.log' for more details." >&5
3116 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3117 See \`config.log' for more details." >&2;}
3118 { (exit 1); exit 1; }; }
3121 rm -f conftest
$ac_cv_exeext
3122 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3123 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3125 rm -f conftest.
$ac_ext
3126 EXEEXT
=$ac_cv_exeext
3128 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3129 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3130 if test "${ac_cv_objext+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 cat >conftest.
$ac_ext <<_ACEOF
3136 cat confdefs.h
>>conftest.
$ac_ext
3137 cat >>conftest.
$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3148 rm -f conftest.o conftest.obj
3149 if { (ac_try
="$ac_compile"
3151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_compile") 2>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; then
3159 for ac_file in conftest.o conftest.obj conftest.*; do
3160 test -f "$ac_file" || continue;
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3163 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3172 See \`config.log
' for more details." >&5
3173 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3174 See \`config.log' for more details.
" >&2;}
3175 { (exit 1); exit 1; }; }
3178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3180 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3181 echo "${ECHO_T}$ac_cv_objext" >&6; }
3182 OBJEXT=$ac_cv_objext
3184 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3185 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3186 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3187 echo $ECHO_N "(cached
) $ECHO_C" >&6
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3207 rm -f conftest.$ac_objext
3208 if { (ac_try="$ac_compile"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_compile") 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3220 (exit $ac_status); } && {
3221 test -z "$ac_c_werror_flag" ||
3222 test ! -s conftest.err
3223 } && test -s conftest.$ac_objext; then
3226 echo "$as_me: failed program was
:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3236 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3237 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3238 GCC=`test $ac_compiler_gnu = yes && echo yes`
3239 ac_test_CFLAGS=${CFLAGS+set}
3240 ac_save_CFLAGS=$CFLAGS
3241 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3242 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3243 if test "${ac_cv_prog_cc_g+set}" = set; then
3244 echo $ECHO_N "(cached
) $ECHO_C" >&6
3246 ac_save_c_werror_flag=$ac_c_werror_flag
3247 ac_c_werror_flag=yes
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_c_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3284 echo "$as_me: failed program was
:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3288 cat >conftest.$ac_ext <<_ACEOF
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3310 (eval "$ac_compile") 2>conftest.er1
3312 grep -v '^ *+' conftest.er1 >conftest.err
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3316 (exit $ac_status); } && {
3317 test -z "$ac_c_werror_flag" ||
3318 test ! -s conftest.err
3319 } && test -s conftest.$ac_objext; then
3322 echo "$as_me: failed program was
:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 ac_c_werror_flag=$ac_save_c_werror_flag
3327 cat >conftest.$ac_ext <<_ACEOF
3330 cat confdefs.h >>conftest.$ac_ext
3331 cat >>conftest.$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3342 rm -f conftest.$ac_objext
3343 if { (ac_try="$ac_compile"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compile") 2>conftest.er1
3351 grep -v '^ *+' conftest.er1 >conftest.err
3353 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3355 (exit $ac_status); } && {
3356 test -z "$ac_c_werror_flag" ||
3357 test ! -s conftest.err
3358 } && test -s conftest.$ac_objext; then
3361 echo "$as_me: failed program was
:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 ac_c_werror_flag=$ac_save_c_werror_flag
3376 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3377 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3378 if test "$ac_test_CFLAGS" = set; then
3379 CFLAGS=$ac_save_CFLAGS
3380 elif test $ac_cv_prog_cc_g = yes; then
3381 if test "$GCC" = yes; then
3387 if test "$GCC" = yes; then
3393 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3394 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3395 if test "${ac_cv_prog_cc_c89+set}" = set; then
3396 echo $ECHO_N "(cached
) $ECHO_C" >&6
3398 ac_cv_prog_cc_c89=no
3400 cat >conftest.$ac_ext <<_ACEOF
3403 cat confdefs.h >>conftest.$ac_ext
3404 cat >>conftest.$ac_ext <<_ACEOF
3405 /* end confdefs.h. */
3408 #include <sys/types.h>
3409 #include <sys/stat.h>
3410 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3411 struct buf { int x; };
3412 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3413 static char *e (p, i)
3419 static char *f (char * (*g) (char **, int), char **p, ...)
3424 s = g (p, va_arg (v,int));
3429 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3430 function prototypes and stuff, but not '\xHH' hex character constants.
3431 These don't provoke an error unfortunately, instead are silently treated
3432 as 'x'. The following induces an error, until -std is added to get
3433 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3434 array size at least. It's necessary to write '\x00'==0 to get something
3435 that's true only with -std. */
3436 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3438 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3439 inside strings and character constants. */
3441 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3443 int test (int i, double x);
3444 struct s1 {int (*f) (int a);};
3445 struct s2 {int (*f) (double a);};
3446 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3452 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3457 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3458 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3460 CC="$ac_save_CC $ac_arg"
3461 rm -f conftest.$ac_objext
3462 if { (ac_try="$ac_compile"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3468 (eval "$ac_compile") 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3474 (exit $ac_status); } && {
3475 test -z "$ac_c_werror_flag" ||
3476 test ! -s conftest.err
3477 } && test -s conftest.$ac_objext; then
3478 ac_cv_prog_cc_c89=$ac_arg
3480 echo "$as_me: failed program was
:" >&5
3481 sed 's/^/| /' conftest.$ac_ext >&5
3486 rm -f core conftest.err conftest.$ac_objext
3487 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3489 rm -f conftest.$ac_ext
3494 case "x
$ac_cv_prog_cc_c89" in
3496 { echo "$as_me:$LINENO: result
: none needed
" >&5
3497 echo "${ECHO_T}none needed
" >&6; } ;;
3499 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3500 echo "${ECHO_T}unsupported
" >&6; } ;;
3502 CC="$CC $ac_cv_prog_cc_c89"
3503 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3504 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3509 ac_cpp='$CPP $CPPFLAGS'
3510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 depcc="$CC" am_compiler_list=
3516 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3517 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3518 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3519 echo $ECHO_N "(cached
) $ECHO_C" >&6
3521 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3522 # We make a subdir and do the tests there. Otherwise we can end up
3523 # making bogus files that we don't know about and never remove. For
3524 # instance it was reported that on HP-UX the gcc test will end up
3525 # making a dummy file named `D' -- because `-MD' means `put the output
3528 # Copy depcomp to subdir because otherwise we won't find it if we're
3529 # using a relative directory.
3530 cp "$am_depcomp" conftest.dir
3532 # We will build objects and dependencies in a subdirectory because
3533 # it helps to detect inapplicable dependency modes. For instance
3534 # both Tru64's cc and ICC support -MD to output dependencies as a
3535 # side effect of compilation, but ICC will put the dependencies in
3536 # the current directory while Tru64 will put them in the object
3540 am_cv_CC_dependencies_compiler_type=none
3541 if test "$am_compiler_list" = ""; then
3542 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3544 for depmode in $am_compiler_list; do
3545 # Setup a source with many dependencies, because some compilers
3546 # like to wrap large dependency lists on column 80 (with \), and
3547 # we should not choose a depcomp mode which is confused by this.
3549 # We need to recreate these files for each test, as the compiler may
3550 # overwrite some of them when testing with obscure command lines.
3551 # This happens at least with the AIX C compiler.
3553 for i in 1 2 3 4 5 6; do
3554 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3555 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3556 # Solaris 8's {/usr,}/bin/sh.
3557 touch sub/conftst$i.h
3559 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3563 # after this tag, mechanisms are not by side-effect, so they'll
3564 # only be used when explicitly requested
3565 if test "x
$enable_dependency_tracking" = xyes; then
3573 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3574 # mode. It turns out that the SunPro C++ compiler does not properly
3575 # handle `-M -o', and we need to detect this.
3576 if depmode=$depmode \
3577 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3578 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3579 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3580 >/dev/null 2>conftest.err &&
3581 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3582 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3583 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3584 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3585 # icc doesn't choke on unknown options, it will just issue warnings
3586 # or remarks (even with -Werror). So we grep stderr for any message
3587 # that says an option was ignored or not supported.
3588 # When given -MP, icc 7.0 and 7.1 complain thusly:
3589 # icc: Command line warning: ignoring option '-M'; no argument required
3590 # The diagnosis changed in icc 8.0:
3591 # icc: Command line remark: option '-MP' not supported
3592 if (grep 'ignoring option' conftest.err ||
3593 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3594 am_cv_CC_dependencies_compiler_type=$depmode
3603 am_cv_CC_dependencies_compiler_type=none
3607 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3608 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3609 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3612 test "x
$enable_dependency_tracking" != xno \
3613 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3615 am__fastdepCC_FALSE='#'
3617 am__fastdepCC_TRUE='#'
3618 am__fastdepCC_FALSE=
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3628 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3629 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3630 # On Suns, sometimes $CPP names a directory.
3631 if test -n "$CPP" && test -d "$CPP"; then
3634 if test -z "$CPP"; then
3635 if test "${ac_cv_prog_CPP+set}" = set; then
3636 echo $ECHO_N "(cached
) $ECHO_C" >&6
3638 # Double quotes because CPP needs to be expanded
3639 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3642 for ac_c_preproc_warn_flag in '' yes
3644 # Use a header file that comes with gcc, so configuring glibc
3645 # with a fresh cross-compiler works.
3646 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3647 # <limits.h> exists even on freestanding compilers.
3648 # On the NeXT, cc -E runs the code through the compiler's parser,
3649 # not just through cpp. "Syntax error
" is here to catch this case.
3650 cat >conftest.$ac_ext <<_ACEOF
3653 cat confdefs.h >>conftest.$ac_ext
3654 cat >>conftest.$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3657 # include <limits.h>
3659 # include <assert.h>
3663 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3669 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3671 grep -v '^ *+' conftest.er1 >conftest.err
3673 cat conftest.err >&5
3674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3675 (exit $ac_status); } >/dev/null && {
3676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3677 test ! -s conftest.err
3681 echo "$as_me: failed program was
:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3684 # Broken: fails on valid input.
3688 rm -f conftest.err conftest.$ac_ext
3690 # OK, works on sane cases. Now check whether nonexistent headers
3691 # can be detected and how.
3692 cat >conftest.$ac_ext <<_ACEOF
3695 cat confdefs.h >>conftest.$ac_ext
3696 cat >>conftest.$ac_ext <<_ACEOF
3697 /* end confdefs.h. */
3698 #include <ac_nonexistent.h>
3700 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3706 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3708 grep -v '^ *+' conftest.er1 >conftest.err
3710 cat conftest.err >&5
3711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3712 (exit $ac_status); } >/dev/null && {
3713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714 test ! -s conftest.err
3716 # Broken: success on invalid input.
3719 echo "$as_me: failed program was
:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 # Passes both tests.
3727 rm -f conftest.err conftest.$ac_ext
3730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3731 rm -f conftest.err conftest.$ac_ext
3732 if $ac_preproc_ok; then
3744 { echo "$as_me:$LINENO: result
: $CPP" >&5
3745 echo "${ECHO_T}$CPP" >&6; }
3747 for ac_c_preproc_warn_flag in '' yes
3749 # Use a header file that comes with gcc, so configuring glibc
3750 # with a fresh cross-compiler works.
3751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3752 # <limits.h> exists even on freestanding compilers.
3753 # On the NeXT, cc -E runs the code through the compiler's parser,
3754 # not just through cpp. "Syntax error
" is here to catch this case.
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3762 # include <limits.h>
3764 # include <assert.h>
3768 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3780 (exit $ac_status); } >/dev/null && {
3781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3786 echo "$as_me: failed program was
:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3789 # Broken: fails on valid input.
3793 rm -f conftest.err conftest.$ac_ext
3795 # OK, works on sane cases. Now check whether nonexistent headers
3796 # can be detected and how.
3797 cat >conftest.$ac_ext <<_ACEOF
3800 cat confdefs.h >>conftest.$ac_ext
3801 cat >>conftest.$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 #include <ac_nonexistent.h>
3805 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3811 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3813 grep -v '^ *+' conftest.er1 >conftest.err
3815 cat conftest.err >&5
3816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3817 (exit $ac_status); } >/dev/null && {
3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819 test ! -s conftest.err
3821 # Broken: success on invalid input.
3824 echo "$as_me: failed program was
:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3827 # Passes both tests.
3832 rm -f conftest.err conftest.$ac_ext
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3836 rm -f conftest.err conftest.$ac_ext
3837 if $ac_preproc_ok; then
3840 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3841 See \
`config.log' for more details." >&5
3842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3843 See \`config.log
' for more details." >&2;}
3844 { (exit 1); exit 1; }; }
3848 ac_cpp='$CPP $CPPFLAGS'
3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3850 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3855 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3856 if test "${ac_cv_path_GREP+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 # Extract the first word of "grep ggrep" to use in msg output
3860 if test -z "$GREP"; then
3861 set dummy grep ggrep; ac_prog_name=$2
3862 if test "${ac_cv_path_GREP+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 ac_path_GREP_found=false
3866 # Loop through the user's path and
test for each of PROGNAME-LIST
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_prog
in grep ggrep
; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3875 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3876 # Check for GNU ac_path_GREP and select it if it is found.
3877 # Check for GNU $ac_path_GREP
3878 case `"$ac_path_GREP" --version 2>&1` in
3880 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3883 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3886 cat "conftest.in" "conftest.in" >"conftest.tmp"
3887 mv "conftest.tmp" "conftest.in"
3888 cp "conftest.in" "conftest.nl"
3889 echo 'GREP' >> "conftest.nl"
3890 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3891 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3892 ac_count
=`expr $ac_count + 1`
3893 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3894 # Best one so far, save it but keep looking for a better one
3895 ac_cv_path_GREP
="$ac_path_GREP"
3896 ac_path_GREP_max
=$ac_count
3898 # 10*(2^10) chars as input seems more than enough
3899 test $ac_count -gt 10 && break
3901 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3905 $ac_path_GREP_found && break 3
3915 GREP
="$ac_cv_path_GREP"
3916 if test -z "$GREP"; then
3917 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3918 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3919 { (exit 1); exit 1; }; }
3923 ac_cv_path_GREP
=$GREP
3928 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3929 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3930 GREP
="$ac_cv_path_GREP"
3933 { echo "$as_me:$LINENO: checking for egrep" >&5
3934 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3935 if test "${ac_cv_path_EGREP+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3939 then ac_cv_path_EGREP
="$GREP -E"
3941 # Extract the first word of "egrep" to use in msg output
3942 if test -z "$EGREP"; then
3943 set dummy
egrep; ac_prog_name
=$2
3944 if test "${ac_cv_path_EGREP+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 ac_path_EGREP_found
=false
3948 # Loop through the user's path and test for each of PROGNAME-LIST
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_prog
in egrep; do
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3957 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3958 # Check for GNU ac_path_EGREP and select it if it is found.
3959 # Check for GNU $ac_path_EGREP
3960 case `"$ac_path_EGREP" --version 2>&1` in
3962 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3965 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3968 cat "conftest.in" "conftest.in" >"conftest.tmp"
3969 mv "conftest.tmp" "conftest.in"
3970 cp "conftest.in" "conftest.nl"
3971 echo 'EGREP' >> "conftest.nl"
3972 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3974 ac_count
=`expr $ac_count + 1`
3975 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3976 # Best one so far, save it but keep looking for a better one
3977 ac_cv_path_EGREP
="$ac_path_EGREP"
3978 ac_path_EGREP_max
=$ac_count
3980 # 10*(2^10) chars as input seems more than enough
3981 test $ac_count -gt 10 && break
3983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3987 $ac_path_EGREP_found && break 3
3997 EGREP
="$ac_cv_path_EGREP"
3998 if test -z "$EGREP"; then
3999 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4000 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4001 { (exit 1); exit 1; }; }
4005 ac_cv_path_EGREP
=$EGREP
4011 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4012 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4013 EGREP
="$ac_cv_path_EGREP"
4017 { echo "$as_me:$LINENO: checking for AIX" >&5
4018 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4019 cat >conftest.
$ac_ext <<_ACEOF
4022 cat confdefs.h
>>conftest.
$ac_ext
4023 cat >>conftest.
$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4031 $EGREP "yes" >/dev
/null
2>&1; then
4032 { echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6; }
4034 cat >>confdefs.h
<<\_ACEOF
4035 #define _ALL_SOURCE 1
4039 { echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6; }
4045 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4046 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4047 if test "${ac_cv_header_stdc+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 cat >conftest.
$ac_ext <<_ACEOF
4053 cat confdefs.h
>>conftest.
$ac_ext
4054 cat >>conftest.
$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4069 rm -f conftest.
$ac_objext
4070 if { (ac_try
="$ac_compile"
4072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_compile") 2>conftest.er1
4078 grep -v '^ *+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest.$ac_objext; then
4086 ac_cv_header_stdc=yes
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4091 ac_cv_header_stdc=no
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 if test $ac_cv_header_stdc = yes; then
4097 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4098 cat >conftest.$ac_ext <<_ACEOF
4101 cat confdefs.h >>conftest.$ac_ext
4102 cat >>conftest.$ac_ext <<_ACEOF
4103 /* end confdefs.h. */
4107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4108 $EGREP "memchr" >/dev/null 2>&1; then
4111 ac_cv_header_stdc=no
4117 if test $ac_cv_header_stdc = yes; then
4118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4119 cat >conftest.$ac_ext <<_ACEOF
4122 cat confdefs.h >>conftest.$ac_ext
4123 cat >>conftest.$ac_ext <<_ACEOF
4124 /* end confdefs.h. */
4128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4129 $EGREP "free" >/dev/null 2>&1; then
4132 ac_cv_header_stdc=no
4138 if test $ac_cv_header_stdc = yes; then
4139 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4140 if test "$cross_compiling" = yes; then
4143 cat >conftest.$ac_ext <<_ACEOF
4146 cat confdefs.h >>conftest.$ac_ext
4147 cat >>conftest.$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4151 #if ((' ' & 0x0FF) == 0x020)
4152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4155 # define ISLOWER(c) \
4156 (('a' <= (c) && (c) <= 'i') \
4157 || ('j' <= (c) && (c) <= 'r') \
4158 || ('s' <= (c) && (c) <= 'z'))
4159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4167 for (i = 0; i < 256; i++)
4168 if (XOR (islower (i), ISLOWER (i))
4169 || toupper (i) != TOUPPER (i))
4174 rm -f conftest$ac_exeext
4175 if { (ac_try="$ac_link"
4177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4178 *) ac_try_echo
=$ac_try;;
4180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4181 (eval "$ac_link") 2>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4185 { (case "(($ac_try" in
4186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_try") 2>&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4196 echo "$as_me: program exited with status $ac_status" >&5
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4201 ac_cv_header_stdc=no
4203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4209 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4210 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4211 if test $ac_cv_header_stdc = yes; then
4213 cat >>confdefs.h <<\_ACEOF
4214 #define STDC_HEADERS 1
4219 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4229 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4230 inttypes.h stdint.h unistd.h
4232 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 cat >conftest.$ac_ext <<_ACEOF
4241 cat confdefs.h >>conftest.$ac_ext
4242 cat >>conftest.$ac_ext <<_ACEOF
4243 /* end confdefs.h. */
4244 $ac_includes_default
4246 #include <$ac_header>
4248 rm -f conftest.$ac_objext
4249 if { (ac_try="$ac_compile"
4251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4252 *) ac_try_echo
=$ac_try;;
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_compile") 2>conftest.er1
4257 grep -v '^ *+' conftest.er1
>conftest.err
4259 cat conftest.err
>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && {
4262 test -z "$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 } && test -s conftest.
$ac_objext; then
4265 eval "$as_ac_Header=yes"
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.
$ac_ext >&5
4270 eval "$as_ac_Header=no"
4273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4275 ac_res
=`eval echo '${'$as_ac_Header'}'`
4276 { echo "$as_me:$LINENO: result: $ac_res" >&5
4277 echo "${ECHO_T}$ac_res" >&6; }
4278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4279 cat >>confdefs.h
<<_ACEOF
4280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4288 if test "${ac_cv_header_minix_config_h+set}" = set; then
4289 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4290 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4291 if test "${ac_cv_header_minix_config_h+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4295 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4297 # Is the header compilable?
4298 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4299 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4300 cat >conftest.
$ac_ext <<_ACEOF
4303 cat confdefs.h
>>conftest.
$ac_ext
4304 cat >>conftest.
$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 $ac_includes_default
4307 #include <minix/config.h>
4309 rm -f conftest.
$ac_objext
4310 if { (ac_try
="$ac_compile"
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_compile") 2>conftest.er1
4318 grep -v '^ *+' conftest.er1 >conftest.err
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest.$ac_objext; then
4326 ac_header_compiler=yes
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 ac_header_compiler=no
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4336 echo "${ECHO_T}$ac_header_compiler" >&6; }
4338 # Is the header present?
4339 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4340 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 #include <minix/config.h>
4349 if { (ac_try="$ac_cpp conftest.$ac_ext"
4351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4352 *) ac_try_echo
=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev
/null
&& {
4362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4365 ac_header_preproc
=yes
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_header_preproc
=no
4373 rm -f conftest.err conftest.
$ac_ext
4374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4375 echo "${ECHO_T}$ac_header_preproc" >&6; }
4377 # So? What about this header?
4378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4380 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4381 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4382 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4383 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4384 ac_header_preproc
=yes
4387 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4388 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4389 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4390 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4391 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4392 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4393 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4394 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4395 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4396 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4397 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4398 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4400 ## ------------------------------------------------ ##
4401 ## Report this to barry-devel@lists.sourceforge.net ##
4402 ## ------------------------------------------------ ##
4404 ) |
sed "s/^/$as_me: WARNING: /" >&2
4407 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4408 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4409 if test "${ac_cv_header_minix_config_h+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 ac_cv_header_minix_config_h
=$ac_header_preproc
4414 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4415 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4418 if test $ac_cv_header_minix_config_h = yes; then
4425 if test "$MINIX" = yes; then
4427 cat >>confdefs.h
<<\_ACEOF
4428 #define _POSIX_SOURCE 1
4432 cat >>confdefs.h
<<\_ACEOF
4433 #define _POSIX_1_SOURCE 2
4437 cat >>confdefs.h
<<\_ACEOF
4453 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4454 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4455 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 cat >conftest.
$ac_ext <<_ACEOF
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4465 # define __EXTENSIONS__ 1
4466 $ac_includes_default
4475 rm -f conftest.
$ac_objext
4476 if { (ac_try
="$ac_compile"
4478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4482 (eval "$ac_compile") 2>conftest.er1
4484 grep -v '^ *+' conftest.er1 >conftest.err
4486 cat conftest.err >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); } && {
4489 test -z "$ac_c_werror_flag" ||
4490 test ! -s conftest.err
4491 } && test -s conftest.$ac_objext; then
4492 ac_cv_safe_to_define___extensions__=yes
4494 echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.$ac_ext >&5
4497 ac_cv_safe_to_define___extensions__=no
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4503 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4504 test $ac_cv_safe_to_define___extensions__ = yes &&
4505 cat >>confdefs.h <<\_ACEOF
4506 #define __EXTENSIONS__ 1
4509 cat >>confdefs.h <<\_ACEOF
4510 #define _POSIX_PTHREAD_SEMANTICS 1
4513 cat >>confdefs.h <<\_ACEOF
4514 #define _TANDEM_SOURCE 1
4520 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4521 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
4522 # Check whether --enable-nls was given.
4523 if test "${enable_nls+set}" = set; then
4524 enableval=$enable_nls; USE_NLS=$enableval
4529 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
4530 echo "${ECHO_T}$USE_NLS" >&6; }
4535 GETTEXT_MACRO_VERSION=0.17
4540 # Prepare PATH_SEPARATOR.
4541 # The user is always right.
4542 if test "${PATH_SEPARATOR+set}" != set; then
4543 echo "#! /bin/sh" >conf$$.sh
4544 echo "exit 0" >>conf$$.sh
4546 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4554 # Find out how to test for executable files. Don't use a zero-byte file,
4555 # as systems may use methods other than mode bits to determine executability.
4556 cat >conf$$.file <<_ASEOF
4560 chmod +x conf$$.file
4561 if test -x conf$$.file >/dev/null 2>&1; then
4562 ac_executable_p="test -x"
4564 ac_executable_p="test -f"
4568 # Extract the first word of "msgfmt", so it can be a program name with args.
4569 set dummy msgfmt; ac_word=$2
4570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4572 if test "${ac_cv_path_MSGFMT+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4580 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4581 for ac_dir in $PATH; do
4583 test -z "$ac_dir" && ac_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4586 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4587 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4588 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4589 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4596 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4600 MSGFMT="$ac_cv_path_MSGFMT"
4601 if test "$MSGFMT" != ":"; then
4602 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4603 echo "${ECHO_T}$MSGFMT" >&6; }
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4609 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4610 set dummy gmsgfmt; ac_word=$2
4611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4613 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4640 GMSGFMT=$ac_cv_path_GMSGFMT
4641 if test -n "$GMSGFMT"; then
4642 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4643 echo "${ECHO_T}$GMSGFMT" >&6; }
4645 { echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6; }
4651 case `$MSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
4652 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4653 *) MSGFMT_015=$MSGFMT ;;
4656 case `$GMSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
4657 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4658 *) GMSGFMT_015=$GMSGFMT ;;
4663 # Prepare PATH_SEPARATOR.
4664 # The user is always right.
4665 if test "${PATH_SEPARATOR+set}" != set; then
4666 echo "#! /bin/sh" >conf$$.sh
4667 echo "exit 0" >>conf$$.sh
4669 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4677 # Find out how to test for executable files. Don't use a zero-byte file,
4678 # as systems may use methods other than mode bits to determine executability.
4679 cat >conf$$.file <<_ASEOF
4683 chmod +x conf$$.file
4684 if test -x conf$$.file >/dev/null 2>&1; then
4685 ac_executable_p="test -x"
4687 ac_executable_p="test -f"
4691 # Extract the first word of "xgettext", so it can be a program name with args.
4692 set dummy xgettext; ac_word=$2
4693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4695 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4703 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4704 for ac_dir in $PATH; do
4706 test -z "$ac_dir" && ac_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4709 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4710 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4711 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4712 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4719 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4723 XGETTEXT="$ac_cv_path_XGETTEXT"
4724 if test "$XGETTEXT" != ":"; then
4725 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4726 echo "${ECHO_T}$XGETTEXT" >&6; }
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4734 case `$XGETTEXT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
4735 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4736 *) XGETTEXT_015=$XGETTEXT ;;
4741 # Prepare PATH_SEPARATOR.
4742 # The user is always right.
4743 if test "${PATH_SEPARATOR+set}" != set; then
4744 echo "#! /bin/sh" >conf$$.sh
4745 echo "exit 0" >>conf$$.sh
4747 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4755 # Find out how to test for executable files. Don't use a zero-byte file,
4756 # as systems may use methods other than mode bits to determine executability.
4757 cat >conf$$.file <<_ASEOF
4761 chmod +x conf$$.file
4762 if test -x conf$$.file >/dev/null 2>&1; then
4763 ac_executable_p="test -x"
4765 ac_executable_p="test -f"
4769 # Extract the first word of "msgmerge", so it can be a program name with args.
4770 set dummy msgmerge; ac_word=$2
4771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4773 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4781 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4782 for ac_dir in $PATH; do
4784 test -z "$ac_dir" && ac_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4787 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4788 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4789 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4796 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4800 MSGMERGE="$ac_cv_path_MSGMERGE"
4801 if test "$MSGMERGE" != ":"; then
4802 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4803 echo "${ECHO_T}$MSGMERGE" >&6; }
4805 { echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6; }
4810 test -n "$localedir" || localedir='${datadir}/locale'
4813 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4816 ac_config_commands="$ac_config_commands po-directories"
4820 if test "X$prefix" = "XNONE"; then
4821 acl_final_prefix="$ac_default_prefix"
4823 acl_final_prefix="$prefix"
4825 if test "X$exec_prefix" = "XNONE"; then
4826 acl_final_exec_prefix='${prefix}'
4828 acl_final_exec_prefix="$exec_prefix"
4830 acl_save_prefix="$prefix"
4831 prefix="$acl_final_prefix"
4832 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4833 prefix="$acl_save_prefix"
4835 # Make sure we can run config.sub.
4836 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4837 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4838 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4839 { (exit 1); exit 1; }; }
4841 { echo "$as_me:$LINENO: checking build system type" >&5
4842 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4843 if test "${ac_cv_build+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 ac_build_alias=$build_alias
4847 test "x$ac_build_alias" = x &&
4848 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4849 test "x$ac_build_alias" = x &&
4850 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4851 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4852 { (exit 1); exit 1; }; }
4853 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4854 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4855 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4856 { (exit 1); exit 1; }; }
4859 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4860 echo "${ECHO_T}$ac_cv_build" >&6; }
4861 case $ac_cv_build in
4863 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4864 echo "$as_me: error: invalid value of canonical build" >&2;}
4865 { (exit 1); exit 1; }; };;
4868 ac_save_IFS=$IFS; IFS='-'
4874 # Remember, the first character of IFS is used to create $*,
4875 # except with old shells:
4878 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4881 { echo "$as_me:$LINENO: checking host system type" >&5
4882 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4883 if test "${ac_cv_host+set}" = set; then
4884 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 if test "x$host_alias" = x; then
4887 ac_cv_host=$ac_cv_build
4889 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4890 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4891 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4892 { (exit 1); exit 1; }; }
4896 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4897 echo "${ECHO_T}$ac_cv_host" >&6; }
4900 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4901 echo "$as_me: error: invalid value of canonical host" >&2;}
4902 { (exit 1); exit 1; }; };;
4905 ac_save_IFS=$IFS; IFS='-'
4911 # Remember, the first character of IFS is used to create $*,
4912 # except with old shells:
4915 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4919 # Check whether --with-gnu-ld was given.
4920 if test "${with_gnu_ld+set}" = set; then
4921 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4926 # Prepare PATH_SEPARATOR.
4927 # The user is always right.
4928 if test "${PATH_SEPARATOR+set}" != set; then
4929 echo "#! /bin/sh" >conf$$.sh
4930 echo "exit 0" >>conf$$.sh
4932 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4940 if test "$GCC" = yes; then
4941 # Check if gcc -print-prog-name=ld gives a path.
4942 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4943 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4946 # gcc leaves a trailing carriage return which upsets mingw
4947 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4949 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4952 # Accept absolute paths.
4953 [\\/]* | [A-Za-z]:[\\/]*)
4954 re_direlt='/[^/][^/]*/\.\./'
4955 # Canonicalize the path of ld
4956 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
4957 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4958 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
4960 test -z "$LD" && LD="$ac_prog"
4963 # If it fails, then pretend we aren't using GCC.
4967 # If it is relative, then search for the first ld in PATH.
4971 elif test "$with_gnu_ld" = yes; then
4972 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4973 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4975 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4976 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4978 if test "${acl_cv_path_LD+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 if test -z "$LD"; then
4982 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4983 for ac_dir in $PATH; do
4984 test -z "$ac_dir" && ac_dir=.
4985 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4986 acl_cv_path_LD="$ac_dir/$ac_prog"
4987 # Check to see if the program is GNU ld. I'd rather use --version,
4988 # but apparently some GNU ld's only accept -v.
4989 # Break only if it was the GNU/non-GNU ld that we prefer.
4990 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
4991 *GNU* | *'with BFD'*)
4992 test "$with_gnu_ld" != no && break ;;
4994 test "$with_gnu_ld" != yes && break ;;
5000 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5004 LD="$acl_cv_path_LD"
5005 if test -n "$LD"; then
5006 { echo "$as_me:$LINENO: result: $LD" >&5
5007 echo "${ECHO_T}$LD" >&6; }
5009 { echo "$as_me:$LINENO: result: no" >&5
5010 echo "${ECHO_T}no" >&6; }
5012 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5013 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5014 { (exit 1); exit 1; }; }
5015 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5016 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5017 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5021 case `$LD -v 2>&1 </dev
/null
` in
5022 *GNU* | *'with BFD'*)
5023 acl_cv_prog_gnu_ld=yes ;;
5025 acl_cv_prog_gnu_ld=no ;;
5028 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5029 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
5030 with_gnu_ld=$acl_cv_prog_gnu_ld
5035 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5036 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
5037 if test "${acl_cv_rpath+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5042 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5048 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5049 echo "${ECHO_T}$acl_cv_rpath" >&6; }
5051 acl_libext="$acl_cv_libext"
5052 acl_shlibext="$acl_cv_shlibext"
5053 acl_libname_spec="$acl_cv_libname_spec"
5054 acl_library_names_spec="$acl_cv_library_names_spec"
5055 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5056 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5057 acl_hardcode_direct="$acl_cv_hardcode_direct"
5058 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5059 # Check whether --enable-rpath was given.
5060 if test "${enable_rpath+set}" = set; then
5061 enableval=$enable_rpath; :
5069 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null |
sed -n -e 's,^libraries: ,,p' |
sed -e 's,^=,,'`
5070 if test -n "$searchpath"; then
5071 acl_save_IFS="${IFS= }"; IFS=":"
5072 for searchdir in $searchpath; do
5073 if test -d "$searchdir"; then
5074 case "$searchdir" in
5075 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5076 *) searchdir=`cd "$searchdir" && pwd`
5077 case "$searchdir" in
5078 */lib64 ) acl_libdirstem=lib64 ;;
5096 acl_save_prefix="$prefix"
5097 prefix="$acl_final_prefix"
5098 acl_save_exec_prefix="$exec_prefix"
5099 exec_prefix="$acl_final_exec_prefix"
5101 eval additional_includedir=\"$includedir\"
5102 eval additional_libdir=\"$libdir\"
5104 exec_prefix="$acl_save_exec_prefix"
5105 prefix="$acl_save_prefix"
5108 # Check whether --with-libiconv-prefix was given.
5109 if test "${with_libiconv_prefix+set}" = set; then
5110 withval=$with_libiconv_prefix;
5111 if test "X$withval" = "Xno"; then
5114 if test "X$withval" = "X"; then
5116 acl_save_prefix="$prefix"
5117 prefix="$acl_final_prefix"
5118 acl_save_exec_prefix="$exec_prefix"
5119 exec_prefix="$acl_final_exec_prefix"
5121 eval additional_includedir=\"$includedir\"
5122 eval additional_libdir=\"$libdir\"
5124 exec_prefix="$acl_save_exec_prefix"
5125 prefix="$acl_save_prefix"
5128 additional_includedir="$withval/include"
5129 additional_libdir="$withval/$acl_libdirstem"
5141 names_already_handled=
5142 names_next_round='iconv '
5143 while test -n "$names_next_round"; do
5144 names_this_round="$names_next_round"
5146 for name in $names_this_round; do
5148 for n in $names_already_handled; do
5149 if test "$n" = "$name"; then
5154 if test -z "$already_handled"; then
5155 names_already_handled="$names_already_handled $name"
5156 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5157 eval value=\"\$HAVE_LIB$uppername\"
5158 if test -n "$value"; then
5159 if test "$value" = yes; then
5160 eval value=\"\$LIB$uppername\"
5161 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5162 eval value=\"\$LTLIB$uppername\"
5163 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5172 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5173 if test -n "$acl_shlibext"; then
5174 shrext=".$acl_shlibext" # typically: shrext=.so
5178 if test $use_additional = yes; then
5179 dir="$additional_libdir"
5180 if test -n "$acl_shlibext"; then
5181 if test -f "$dir/$libname$shrext"; then
5183 found_so="$dir/$libname$shrext"
5185 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5186 ver=`(cd "$dir" && \
5187 for f
in "$libname$shrext".
*; do echo "$f"; done \
5188 |
sed -e "s,^$libname$shrext\\\\.,," \
5189 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5190 |
sed 1q
) 2>/dev
/null
`
5191 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5193 found_so="$dir/$libname$shrext.$ver"
5196 eval library_names=\"$acl_library_names_spec\"
5197 for f in $library_names; do
5198 if test -f "$dir/$f"; then
5207 if test "X$found_dir" = "X"; then
5208 if test -f "$dir/$libname.$acl_libext"; then
5210 found_a="$dir/$libname.$acl_libext"
5213 if test "X$found_dir" != "X"; then
5214 if test -f "$dir/$libname.la"; then
5215 found_la="$dir/$libname.la"
5219 if test "X$found_dir" = "X"; then
5220 for x in $LDFLAGS $LTLIBICONV; do
5222 acl_save_prefix="$prefix"
5223 prefix="$acl_final_prefix"
5224 acl_save_exec_prefix="$exec_prefix"
5225 exec_prefix="$acl_final_exec_prefix"
5227 exec_prefix="$acl_save_exec_prefix"
5228 prefix="$acl_save_prefix"
5232 dir=`echo "X$x" |
sed -e 's/^X-L//'`
5233 if test -n "$acl_shlibext"; then
5234 if test -f "$dir/$libname$shrext"; then
5236 found_so="$dir/$libname$shrext"
5238 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5239 ver=`(cd "$dir" && \
5240 for f
in "$libname$shrext".
*; do echo "$f"; done \
5241 |
sed -e "s,^$libname$shrext\\\\.,," \
5242 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5243 |
sed 1q
) 2>/dev
/null
`
5244 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5246 found_so="$dir/$libname$shrext.$ver"
5249 eval library_names=\"$acl_library_names_spec\"
5250 for f in $library_names; do
5251 if test -f "$dir/$f"; then
5260 if test "X$found_dir" = "X"; then
5261 if test -f "$dir/$libname.$acl_libext"; then
5263 found_a="$dir/$libname.$acl_libext"
5266 if test "X$found_dir" != "X"; then
5267 if test -f "$dir/$libname.la"; then
5268 found_la="$dir/$libname.la"
5273 if test "X$found_dir" != "X"; then
5278 if test "X$found_dir" != "X"; then
5279 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5280 if test "X$found_so" != "X"; then
5281 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5282 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5285 for x in $ltrpathdirs; do
5286 if test "X$x" = "X$found_dir"; then
5291 if test -z "$haveit"; then
5292 ltrpathdirs="$ltrpathdirs $found_dir"
5294 if test "$acl_hardcode_direct" = yes; then
5295 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5297 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5298 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5300 for x in $rpathdirs; do
5301 if test "X$x" = "X$found_dir"; then
5306 if test -z "$haveit"; then
5307 rpathdirs="$rpathdirs $found_dir"
5311 for x in $LDFLAGS $LIBICONV; do
5313 acl_save_prefix="$prefix"
5314 prefix="$acl_final_prefix"
5315 acl_save_exec_prefix="$exec_prefix"
5316 exec_prefix="$acl_final_exec_prefix"
5318 exec_prefix="$acl_save_exec_prefix"
5319 prefix="$acl_save_prefix"
5321 if test "X$x" = "X-L$found_dir"; then
5326 if test -z "$haveit"; then
5327 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5329 if test "$acl_hardcode_minus_L" != no; then
5330 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5332 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5338 if test "X$found_a" != "X"; then
5339 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5341 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5344 additional_includedir=
5345 case "$found_dir" in
5346 */$acl_libdirstem | */$acl_libdirstem/)
5347 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5348 LIBICONV_PREFIX="$basedir"
5349 additional_includedir="$basedir/include"
5352 if test "X$additional_includedir" != "X"; then
5353 if test "X$additional_includedir" != "X/usr/include"; then
5355 if test "X$additional_includedir" = "X/usr/local/include"; then
5356 if test -n "$GCC"; then
5358 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5362 if test -z "$haveit"; then
5363 for x in $CPPFLAGS $INCICONV; do
5365 acl_save_prefix="$prefix"
5366 prefix="$acl_final_prefix"
5367 acl_save_exec_prefix="$exec_prefix"
5368 exec_prefix="$acl_final_exec_prefix"
5370 exec_prefix="$acl_save_exec_prefix"
5371 prefix="$acl_save_prefix"
5373 if test "X$x" = "X-I$additional_includedir"; then
5378 if test -z "$haveit"; then
5379 if test -d "$additional_includedir"; then
5380 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5386 if test -n "$found_la"; then
5387 save_libdir="$libdir"
5389 */* | *\\*) . "$found_la" ;;
5390 *) . "./$found_la" ;;
5392 libdir="$save_libdir"
5393 for dep in $dependency_libs; do
5396 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
5397 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5399 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5400 if test -n "$GCC"; then
5402 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5406 if test -z "$haveit"; then
5408 for x in $LDFLAGS $LIBICONV; do
5410 acl_save_prefix="$prefix"
5411 prefix="$acl_final_prefix"
5412 acl_save_exec_prefix="$exec_prefix"
5413 exec_prefix="$acl_final_exec_prefix"
5415 exec_prefix="$acl_save_exec_prefix"
5416 prefix="$acl_save_prefix"
5418 if test "X$x" = "X-L$additional_libdir"; then
5423 if test -z "$haveit"; then
5424 if test -d "$additional_libdir"; then
5425 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5429 for x in $LDFLAGS $LTLIBICONV; do
5431 acl_save_prefix="$prefix"
5432 prefix="$acl_final_prefix"
5433 acl_save_exec_prefix="$exec_prefix"
5434 exec_prefix="$acl_final_exec_prefix"
5436 exec_prefix="$acl_save_exec_prefix"
5437 prefix="$acl_save_prefix"
5439 if test "X$x" = "X-L$additional_libdir"; then
5444 if test -z "$haveit"; then
5445 if test -d "$additional_libdir"; then
5446 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5453 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
5454 if test "$enable_rpath" != no; then
5456 for x in $rpathdirs; do
5457 if test "X$x" = "X$dir"; then
5462 if test -z "$haveit"; then
5463 rpathdirs="$rpathdirs $dir"
5466 for x in $ltrpathdirs; do
5467 if test "X$x" = "X$dir"; then
5472 if test -z "$haveit"; then
5473 ltrpathdirs="$ltrpathdirs $dir"
5478 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
5481 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5484 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5485 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5491 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5492 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5498 if test "X$rpathdirs" != "X"; then
5499 if test -n "$acl_hardcode_libdir_separator"; then
5501 for found_dir in $rpathdirs; do
5502 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5504 acl_save_libdir="$libdir"
5506 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5507 libdir="$acl_save_libdir"
5508 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5510 for found_dir in $rpathdirs; do
5511 acl_save_libdir="$libdir"
5513 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5514 libdir="$acl_save_libdir"
5515 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5519 if test "X$ltrpathdirs" != "X"; then
5520 for found_dir in $ltrpathdirs; do
5521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5549 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
5550 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
5551 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 gt_save_LIBS="$LIBS"
5555 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 #include <CoreFoundation/CFPreferences.h>
5566 CFPreferencesCopyAppValue(NULL, NULL)
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (ac_try="$ac_link"
5574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5575 *) ac_try_echo
=$ac_try;;
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_link") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1
>conftest.err
5582 cat conftest.err
>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } && {
5585 test -z "$ac_c_werror_flag" ||
5586 test ! -s conftest.err
5587 } && test -s conftest
$ac_exeext &&
5588 $as_test_x conftest
$ac_exeext; then
5589 gt_cv_func_CFPreferencesCopyAppValue
=yes
5591 echo "$as_me: failed program was:" >&5
5592 sed 's/^/| /' conftest.
$ac_ext >&5
5594 gt_cv_func_CFPreferencesCopyAppValue
=no
5597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5598 conftest
$ac_exeext conftest.
$ac_ext
5599 LIBS
="$gt_save_LIBS"
5601 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5602 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5603 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5605 cat >>confdefs.h
<<\_ACEOF
5606 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5610 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
5611 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
5612 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 gt_save_LIBS
="$LIBS"
5616 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
5617 cat >conftest.
$ac_ext <<_ACEOF
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 #include <CoreFoundation/CFLocale.h>
5627 CFLocaleCopyCurrent();
5632 rm -f conftest.
$ac_objext conftest
$ac_exeext
5633 if { (ac_try
="$ac_link"
5635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5636 *) ac_try_echo=$ac_try;;
5638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5639 (eval "$ac_link") 2>conftest.er1
5641 grep -v '^ *+' conftest.er1 >conftest.err
5643 cat conftest.err >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } && {
5646 test -z "$ac_c_werror_flag" ||
5647 test ! -s conftest.err
5648 } && test -s conftest$ac_exeext &&
5649 $as_test_x conftest$ac_exeext; then
5650 gt_cv_func_CFLocaleCopyCurrent=yes
5652 echo "$as_me: failed program was:" >&5
5653 sed 's/^/| /' conftest.$ac_ext >&5
5655 gt_cv_func_CFLocaleCopyCurrent=no
5658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5659 conftest$ac_exeext conftest.$ac_ext
5660 LIBS="$gt_save_LIBS"
5662 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5663 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5664 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5666 cat >>confdefs.h <<\_ACEOF
5667 #define HAVE_CFLOCALECOPYCURRENT 1
5672 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5673 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5685 case " $gt_needs " in
5686 *" need-formatstring-macros "*) gt_api_version=3 ;;
5687 *" need-ngettext "*) gt_api_version=2 ;;
5688 *) gt_api_version=1 ;;
5690 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5691 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5693 if test "$USE_NLS" = "yes"; then
5694 gt_use_preinstalled_gnugettext=no
5697 if test $gt_api_version -ge 3; then
5698 gt_revision_test_code='
5699 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5700 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5702 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5705 gt_revision_test_code=
5707 if test $gt_api_version -ge 2; then
5708 gt_expression_test_code=' + * ngettext ("", "", 0)'
5710 gt_expression_test_code=
5713 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
5714 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
5715 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 cat >conftest.$ac_ext <<_ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 #include <libintl.h>
5725 $gt_revision_test_code
5726 extern int _nl_msg_cat_cntr;
5727 extern int *_nl_domain_bindings;
5731 bindtextdomain ("", "");
5732 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5737 rm -f conftest.$ac_objext conftest$ac_exeext
5738 if { (ac_try="$ac_link"
5740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5741 *) ac_try_echo
=$ac_try;;
5743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5744 (eval "$ac_link") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1
>conftest.err
5748 cat conftest.err
>&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } && {
5751 test -z "$ac_c_werror_flag" ||
5752 test ! -s conftest.err
5753 } && test -s conftest
$ac_exeext &&
5754 $as_test_x conftest
$ac_exeext; then
5755 eval "$gt_func_gnugettext_libc=yes"
5757 echo "$as_me: failed program was:" >&5
5758 sed 's/^/| /' conftest.
$ac_ext >&5
5760 eval "$gt_func_gnugettext_libc=no"
5763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5764 conftest
$ac_exeext conftest.
$ac_ext
5766 ac_res
=`eval echo '${'$gt_func_gnugettext_libc'}'`
5767 { echo "$as_me:$LINENO: result: $ac_res" >&5
5768 echo "${ECHO_T}$ac_res" >&6; }
5770 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5776 am_save_CPPFLAGS
="$CPPFLAGS"
5778 for element
in $INCICONV; do
5780 for x
in $CPPFLAGS; do
5782 acl_save_prefix
="$prefix"
5783 prefix
="$acl_final_prefix"
5784 acl_save_exec_prefix
="$exec_prefix"
5785 exec_prefix
="$acl_final_exec_prefix"
5787 exec_prefix
="$acl_save_exec_prefix"
5788 prefix
="$acl_save_prefix"
5790 if test "X$x" = "X$element"; then
5795 if test -z "$haveit"; then
5796 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5801 { echo "$as_me:$LINENO: checking for iconv" >&5
5802 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
5803 if test "${am_cv_func_iconv+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 am_cv_func_iconv
="no, consider installing GNU libiconv"
5809 cat >conftest.
$ac_ext <<_ACEOF
5812 cat confdefs.h
>>conftest.
$ac_ext
5813 cat >>conftest.
$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5820 iconv_t cd = iconv_open("","");
5821 iconv(cd,NULL,NULL,NULL,NULL);
5827 rm -f conftest.
$ac_objext conftest
$ac_exeext
5828 if { (ac_try
="$ac_link"
5830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_link") 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest$ac_exeext &&
5844 $as_test_x conftest$ac_exeext; then
5845 am_cv_func_iconv=yes
5847 echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.$ac_ext >&5
5853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5854 conftest$ac_exeext conftest.$ac_ext
5855 if test "$am_cv_func_iconv" != yes; then
5856 am_save_LIBS="$LIBS"
5857 LIBS="$LIBS $LIBICONV"
5858 cat >conftest.$ac_ext <<_ACEOF
5861 cat confdefs.h >>conftest.$ac_ext
5862 cat >>conftest.$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5869 iconv_t cd = iconv_open("","");
5870 iconv(cd,NULL,NULL,NULL,NULL);
5876 rm -f conftest.$ac_objext conftest$ac_exeext
5877 if { (ac_try="$ac_link"
5879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5880 *) ac_try_echo
=$ac_try;;
5882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5883 (eval "$ac_link") 2>conftest.er1
5885 grep -v '^ *+' conftest.er1
>conftest.err
5887 cat conftest.err
>&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); } && {
5890 test -z "$ac_c_werror_flag" ||
5891 test ! -s conftest.err
5892 } && test -s conftest
$ac_exeext &&
5893 $as_test_x conftest
$ac_exeext; then
5895 am_cv_func_iconv
=yes
5897 echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.
$ac_ext >&5
5903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5904 conftest
$ac_exeext conftest.
$ac_ext
5905 LIBS
="$am_save_LIBS"
5909 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5910 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
5911 if test "$am_cv_func_iconv" = yes; then
5912 { echo "$as_me:$LINENO: checking for working iconv" >&5
5913 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
5914 if test "${am_cv_func_iconv_works+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 am_save_LIBS
="$LIBS"
5919 if test $am_cv_lib_iconv = yes; then
5920 LIBS
="$LIBS $LIBICONV"
5922 if test "$cross_compiling" = yes; then
5924 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
5925 *) am_cv_func_iconv_works
="guessing yes" ;;
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5939 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5942 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5943 if (cd_utf8_to_88591 != (iconv_t)(-1))
5945 static const char input[] = "\342\202\254"; /* EURO SIGN */
5947 const char *inptr = input;
5948 size_t inbytesleft = strlen (input);
5950 size_t outbytesleft = sizeof (buf);
5951 size_t res = iconv (cd_utf8_to_88591,
5952 (char **) &inptr, &inbytesleft,
5953 &outptr, &outbytesleft);
5958 #if 0 /* This bug could be worked around by the caller. */
5959 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5961 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5962 if (cd_88591_to_utf8 != (iconv_t)(-1))
5964 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5966 const char *inptr = input;
5967 size_t inbytesleft = strlen (input);
5969 size_t outbytesleft = sizeof (buf);
5970 size_t res = iconv (cd_88591_to_utf8,
5971 (char **) &inptr, &inbytesleft,
5972 &outptr, &outbytesleft);
5978 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5980 if (/* Try standardized names. */
5981 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5982 /* Try IRIX, OSF/1 names. */
5983 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5984 /* Try AIX names. */
5985 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5986 /* Try HP-UX names. */
5987 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5992 rm -f conftest
$ac_exeext
5993 if { (ac_try
="$ac_link"
5995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5996 *) ac_try_echo=$ac_try;;
5998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5999 (eval "$ac_link") 2>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6003 { (case "(($ac_try" in
6004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6005 *) ac_try_echo
=$ac_try;;
6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 (eval "$ac_try") 2>&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 am_cv_func_iconv_works
=yes
6014 echo "$as_me: program exited with status $ac_status" >&5
6015 echo "$as_me: failed program was:" >&5
6016 sed 's/^/| /' conftest.
$ac_ext >&5
6019 am_cv_func_iconv_works
=no
6021 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6025 LIBS
="$am_save_LIBS"
6028 { echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
6029 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
6030 case "$am_cv_func_iconv_works" in
6031 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6032 *) am_func_iconv
=yes ;;
6035 am_func_iconv
=no am_cv_lib_iconv
=no
6037 if test "$am_func_iconv" = yes; then
6039 cat >>confdefs.h
<<\_ACEOF
6040 #define HAVE_ICONV 1
6044 if test "$am_cv_lib_iconv" = yes; then
6045 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6046 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
6047 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
6048 echo "${ECHO_T}$LIBICONV" >&6; }
6050 CPPFLAGS
="$am_save_CPPFLAGS"
6064 acl_save_prefix
="$prefix"
6065 prefix
="$acl_final_prefix"
6066 acl_save_exec_prefix
="$exec_prefix"
6067 exec_prefix
="$acl_final_exec_prefix"
6069 eval additional_includedir
=\"$includedir\"
6070 eval additional_libdir
=\"$libdir\"
6072 exec_prefix
="$acl_save_exec_prefix"
6073 prefix
="$acl_save_prefix"
6076 # Check whether --with-libintl-prefix was given.
6077 if test "${with_libintl_prefix+set}" = set; then
6078 withval
=$with_libintl_prefix;
6079 if test "X$withval" = "Xno"; then
6082 if test "X$withval" = "X"; then
6084 acl_save_prefix
="$prefix"
6085 prefix
="$acl_final_prefix"
6086 acl_save_exec_prefix
="$exec_prefix"
6087 exec_prefix
="$acl_final_exec_prefix"
6089 eval additional_includedir
=\"$includedir\"
6090 eval additional_libdir
=\"$libdir\"
6092 exec_prefix
="$acl_save_exec_prefix"
6093 prefix
="$acl_save_prefix"
6096 additional_includedir
="$withval/include"
6097 additional_libdir
="$withval/$acl_libdirstem"
6109 names_already_handled
=
6110 names_next_round
='intl '
6111 while test -n "$names_next_round"; do
6112 names_this_round
="$names_next_round"
6114 for name
in $names_this_round; do
6116 for n
in $names_already_handled; do
6117 if test "$n" = "$name"; then
6122 if test -z "$already_handled"; then
6123 names_already_handled
="$names_already_handled $name"
6124 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6125 eval value
=\"\
$HAVE_LIB$uppername\"
6126 if test -n "$value"; then
6127 if test "$value" = yes; then
6128 eval value
=\"\
$LIB$uppername\"
6129 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6130 eval value
=\"\
$LTLIB$uppername\"
6131 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6140 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6141 if test -n "$acl_shlibext"; then
6142 shrext
=".$acl_shlibext" # typically: shrext=.so
6146 if test $use_additional = yes; then
6147 dir
="$additional_libdir"
6148 if test -n "$acl_shlibext"; then
6149 if test -f "$dir/$libname$shrext"; then
6151 found_so
="$dir/$libname$shrext"
6153 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6154 ver
=`(cd "$dir" && \
6155 for f in "$libname$shrext".*; do echo "$f"; done \
6156 | sed -e "s,^$libname$shrext\\\\.,," \
6157 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6158 | sed 1q ) 2>/dev/null`
6159 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6161 found_so
="$dir/$libname$shrext.$ver"
6164 eval library_names
=\"$acl_library_names_spec\"
6165 for f
in $library_names; do
6166 if test -f "$dir/$f"; then
6175 if test "X$found_dir" = "X"; then
6176 if test -f "$dir/$libname.$acl_libext"; then
6178 found_a
="$dir/$libname.$acl_libext"
6181 if test "X$found_dir" != "X"; then
6182 if test -f "$dir/$libname.la"; then
6183 found_la
="$dir/$libname.la"
6187 if test "X$found_dir" = "X"; then
6188 for x
in $LDFLAGS $LTLIBINTL; do
6190 acl_save_prefix
="$prefix"
6191 prefix
="$acl_final_prefix"
6192 acl_save_exec_prefix
="$exec_prefix"
6193 exec_prefix
="$acl_final_exec_prefix"
6195 exec_prefix
="$acl_save_exec_prefix"
6196 prefix
="$acl_save_prefix"
6200 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6201 if test -n "$acl_shlibext"; then
6202 if test -f "$dir/$libname$shrext"; then
6204 found_so
="$dir/$libname$shrext"
6206 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6207 ver
=`(cd "$dir" && \
6208 for f in "$libname$shrext".*; do echo "$f"; done \
6209 | sed -e "s,^$libname$shrext\\\\.,," \
6210 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6211 | sed 1q ) 2>/dev/null`
6212 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6214 found_so
="$dir/$libname$shrext.$ver"
6217 eval library_names
=\"$acl_library_names_spec\"
6218 for f
in $library_names; do
6219 if test -f "$dir/$f"; then
6228 if test "X$found_dir" = "X"; then
6229 if test -f "$dir/$libname.$acl_libext"; then
6231 found_a
="$dir/$libname.$acl_libext"
6234 if test "X$found_dir" != "X"; then
6235 if test -f "$dir/$libname.la"; then
6236 found_la
="$dir/$libname.la"
6241 if test "X$found_dir" != "X"; then
6246 if test "X$found_dir" != "X"; then
6247 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6248 if test "X$found_so" != "X"; then
6249 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6250 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6253 for x
in $ltrpathdirs; do
6254 if test "X$x" = "X$found_dir"; then
6259 if test -z "$haveit"; then
6260 ltrpathdirs
="$ltrpathdirs $found_dir"
6262 if test "$acl_hardcode_direct" = yes; then
6263 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6265 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6266 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6268 for x
in $rpathdirs; do
6269 if test "X$x" = "X$found_dir"; then
6274 if test -z "$haveit"; then
6275 rpathdirs
="$rpathdirs $found_dir"
6279 for x
in $LDFLAGS $LIBINTL; do
6281 acl_save_prefix
="$prefix"
6282 prefix
="$acl_final_prefix"
6283 acl_save_exec_prefix
="$exec_prefix"
6284 exec_prefix
="$acl_final_exec_prefix"
6286 exec_prefix
="$acl_save_exec_prefix"
6287 prefix
="$acl_save_prefix"
6289 if test "X$x" = "X-L$found_dir"; then
6294 if test -z "$haveit"; then
6295 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6297 if test "$acl_hardcode_minus_L" != no
; then
6298 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6300 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6306 if test "X$found_a" != "X"; then
6307 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6309 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6312 additional_includedir
=
6313 case "$found_dir" in
6314 */$acl_libdirstem |
*/$acl_libdirstem/)
6315 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6316 LIBINTL_PREFIX
="$basedir"
6317 additional_includedir
="$basedir/include"
6320 if test "X$additional_includedir" != "X"; then
6321 if test "X$additional_includedir" != "X/usr/include"; then
6323 if test "X$additional_includedir" = "X/usr/local/include"; then
6324 if test -n "$GCC"; then
6326 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6330 if test -z "$haveit"; then
6331 for x
in $CPPFLAGS $INCINTL; do
6333 acl_save_prefix
="$prefix"
6334 prefix
="$acl_final_prefix"
6335 acl_save_exec_prefix
="$exec_prefix"
6336 exec_prefix
="$acl_final_exec_prefix"
6338 exec_prefix
="$acl_save_exec_prefix"
6339 prefix
="$acl_save_prefix"
6341 if test "X$x" = "X-I$additional_includedir"; then
6346 if test -z "$haveit"; then
6347 if test -d "$additional_includedir"; then
6348 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6354 if test -n "$found_la"; then
6355 save_libdir
="$libdir"
6357 */* |
*\\*) .
"$found_la" ;;
6358 *) .
"./$found_la" ;;
6360 libdir
="$save_libdir"
6361 for dep
in $dependency_libs; do
6364 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6365 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6367 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6368 if test -n "$GCC"; then
6370 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6374 if test -z "$haveit"; then
6376 for x
in $LDFLAGS $LIBINTL; do
6378 acl_save_prefix
="$prefix"
6379 prefix
="$acl_final_prefix"
6380 acl_save_exec_prefix
="$exec_prefix"
6381 exec_prefix
="$acl_final_exec_prefix"
6383 exec_prefix
="$acl_save_exec_prefix"
6384 prefix
="$acl_save_prefix"
6386 if test "X$x" = "X-L$additional_libdir"; then
6391 if test -z "$haveit"; then
6392 if test -d "$additional_libdir"; then
6393 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6397 for x
in $LDFLAGS $LTLIBINTL; do
6399 acl_save_prefix
="$prefix"
6400 prefix
="$acl_final_prefix"
6401 acl_save_exec_prefix
="$exec_prefix"
6402 exec_prefix
="$acl_final_exec_prefix"
6404 exec_prefix
="$acl_save_exec_prefix"
6405 prefix
="$acl_save_prefix"
6407 if test "X$x" = "X-L$additional_libdir"; then
6412 if test -z "$haveit"; then
6413 if test -d "$additional_libdir"; then
6414 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6421 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6422 if test "$enable_rpath" != no
; then
6424 for x
in $rpathdirs; do
6425 if test "X$x" = "X$dir"; then
6430 if test -z "$haveit"; then
6431 rpathdirs
="$rpathdirs $dir"
6434 for x
in $ltrpathdirs; do
6435 if test "X$x" = "X$dir"; then
6440 if test -z "$haveit"; then
6441 ltrpathdirs
="$ltrpathdirs $dir"
6446 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6449 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6452 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6453 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6459 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6460 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6466 if test "X$rpathdirs" != "X"; then
6467 if test -n "$acl_hardcode_libdir_separator"; then
6469 for found_dir
in $rpathdirs; do
6470 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6472 acl_save_libdir
="$libdir"
6474 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6475 libdir
="$acl_save_libdir"
6476 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6478 for found_dir
in $rpathdirs; do
6479 acl_save_libdir
="$libdir"
6481 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6482 libdir
="$acl_save_libdir"
6483 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6487 if test "X$ltrpathdirs" != "X"; then
6488 for found_dir
in $ltrpathdirs; do
6489 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6493 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6494 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
6495 if { as_var
=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 gt_save_CPPFLAGS
="$CPPFLAGS"
6499 CPPFLAGS
="$CPPFLAGS $INCINTL"
6500 gt_save_LIBS
="$LIBS"
6501 LIBS
="$LIBS $LIBINTL"
6502 cat >conftest.
$ac_ext <<_ACEOF
6505 cat confdefs.h
>>conftest.
$ac_ext
6506 cat >>conftest.
$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 #include <libintl.h>
6509 $gt_revision_test_code
6510 extern int _nl_msg_cat_cntr;
6515 const char *_nl_expand_alias (const char *);
6519 bindtextdomain ("", "");
6520 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6525 rm -f conftest.
$ac_objext conftest
$ac_exeext
6526 if { (ac_try
="$ac_link"
6528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6529 *) ac_try_echo=$ac_try;;
6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6532 (eval "$ac_link") 2>conftest.er1
6534 grep -v '^ *+' conftest.er1 >conftest.err
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } && {
6539 test -z "$ac_c_werror_flag" ||
6540 test ! -s conftest.err
6541 } && test -s conftest$ac_exeext &&
6542 $as_test_x conftest$ac_exeext; then
6543 eval "$gt_func_gnugettext_libintl=yes"
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6548 eval "$gt_func_gnugettext_libintl=no"
6551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6552 conftest$ac_exeext conftest.$ac_ext
6553 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6554 LIBS="$LIBS $LIBICONV"
6555 cat >conftest.$ac_ext <<_ACEOF
6558 cat confdefs.h >>conftest.$ac_ext
6559 cat >>conftest.$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6561 #include <libintl.h>
6562 $gt_revision_test_code
6563 extern int _nl_msg_cat_cntr;
6568 const char *_nl_expand_alias (const char *);
6572 bindtextdomain ("", "");
6573 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6578 rm -f conftest.$ac_objext conftest$ac_exeext
6579 if { (ac_try="$ac_link"
6581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6582 *) ac_try_echo
=$ac_try;;
6584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6585 (eval "$ac_link") 2>conftest.er1
6587 grep -v '^ *+' conftest.er1
>conftest.err
6589 cat conftest.err
>&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } && {
6592 test -z "$ac_c_werror_flag" ||
6593 test ! -s conftest.err
6594 } && test -s conftest
$ac_exeext &&
6595 $as_test_x conftest
$ac_exeext; then
6596 LIBINTL
="$LIBINTL $LIBICONV"
6597 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6598 eval "$gt_func_gnugettext_libintl=yes"
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.
$ac_ext >&5
6607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6608 conftest
$ac_exeext conftest.
$ac_ext
6610 CPPFLAGS
="$gt_save_CPPFLAGS"
6611 LIBS
="$gt_save_LIBS"
6613 ac_res
=`eval echo '${'$gt_func_gnugettext_libintl'}'`
6614 { echo "$as_me:$LINENO: result: $ac_res" >&5
6615 echo "${ECHO_T}$ac_res" >&6; }
6618 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6619 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6620 && test "$PACKAGE" != gettext-runtime \
6621 && test "$PACKAGE" != gettext-tools
; }; then
6622 gt_use_preinstalled_gnugettext
=yes
6631 if test -n "$INTL_MACOSX_LIBS"; then
6632 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6633 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6634 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
6635 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
6639 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6640 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6642 cat >>confdefs.h
<<\_ACEOF
6643 #define ENABLE_NLS 1
6651 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
6652 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
6653 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
6654 echo "${ECHO_T}$USE_NLS" >&6; }
6655 if test "$USE_NLS" = "yes"; then
6656 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
6657 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
6658 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6659 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6660 gt_source
="external libintl"
6665 gt_source
="included intl directory"
6667 { echo "$as_me:$LINENO: result: $gt_source" >&5
6668 echo "${ECHO_T}$gt_source" >&6; }
6671 if test "$USE_NLS" = "yes"; then
6673 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6674 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6675 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
6676 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
6677 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
6678 echo "${ECHO_T}$LIBINTL" >&6; }
6680 for element
in $INCINTL; do
6682 for x
in $CPPFLAGS; do
6684 acl_save_prefix
="$prefix"
6685 prefix
="$acl_final_prefix"
6686 acl_save_exec_prefix
="$exec_prefix"
6687 exec_prefix
="$acl_final_exec_prefix"
6689 exec_prefix
="$acl_save_exec_prefix"
6690 prefix
="$acl_save_prefix"
6692 if test "X$x" = "X$element"; then
6697 if test -z "$haveit"; then
6698 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6705 cat >>confdefs.h
<<\_ACEOF
6706 #define HAVE_GETTEXT 1
6710 cat >>confdefs.h
<<\_ACEOF
6711 #define HAVE_DCGETTEXT 1
6728 # this is the verion of gettext, not barry
6732 # Checks for programs.
6735 ac_cpp
='$CPP $CPPFLAGS'
6736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6739 if test -n "$ac_tool_prefix"; then
6740 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6741 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_CC+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 if test -n "$CC"; then
6748 ac_cv_prog_CC
="$CC" # Let the user override the test.
6750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir
=.
6755 for ac_exec_ext
in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 if test -n "$CC"; then
6769 { echo "$as_me:$LINENO: result: $CC" >&5
6770 echo "${ECHO_T}$CC" >&6; }
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6778 if test -z "$ac_cv_prog_CC"; then
6780 # Extract the first word of "gcc", so it can be a program name with args.
6781 set dummy gcc
; ac_word
=$2
6782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 if test -n "$ac_ct_CC"; then
6788 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir
=.
6795 for ac_exec_ext
in '' $ac_executable_extensions; do
6796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797 ac_cv_prog_ac_ct_CC
="gcc"
6798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6808 if test -n "$ac_ct_CC"; then
6809 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6810 echo "${ECHO_T}$ac_ct_CC" >&6; }
6812 { echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6; }
6816 if test "x$ac_ct_CC" = x
; then
6819 case $cross_compiling:$ac_tool_warned in
6821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6822 whose name does not start with the host triplet. If you think this
6823 configuration is useful to you, please write to autoconf@gnu.org." >&5
6824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6825 whose name does not start with the host triplet. If you think this
6826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6827 ac_tool_warned
=yes ;;
6835 if test -z "$CC"; then
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6838 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6841 if test "${ac_cv_prog_CC+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 if test -n "$CC"; then
6845 ac_cv_prog_CC
="$CC" # Let the user override the test.
6847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir
=.
6852 for ac_exec_ext
in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 if test -n "$CC"; then
6866 { echo "$as_me:$LINENO: result: $CC" >&5
6867 echo "${ECHO_T}$CC" >&6; }
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6876 if test -z "$CC"; then
6877 # Extract the first word of "cc", so it can be a program name with args.
6878 set dummy cc
; ac_word
=$2
6879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6881 if test "${ac_cv_prog_CC+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 if test -n "$CC"; then
6885 ac_cv_prog_CC
="$CC" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6896 ac_prog_rejected
=yes
6900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 if test $ac_prog_rejected = yes; then
6908 # We found a bogon in the path, so make sure we never use it.
6909 set dummy
$ac_cv_prog_CC
6911 if test $# != 0; then
6912 # We chose a different compiler from the bogus one.
6913 # However, it has the same basename, so the bogon will be chosen
6914 # first if we set CC to just the basename; use the full file name.
6916 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6922 if test -n "$CC"; then
6923 { echo "$as_me:$LINENO: result: $CC" >&5
6924 echo "${ECHO_T}$CC" >&6; }
6926 { echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6; }
6932 if test -z "$CC"; then
6933 if test -n "$ac_tool_prefix"; then
6934 for ac_prog
in cl.exe
6936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6937 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6940 if test "${ac_cv_prog_CC+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 if test -n "$CC"; then
6944 ac_cv_prog_CC
="$CC" # Let the user override the test.
6946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir
=.
6951 for ac_exec_ext
in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 if test -n "$CC"; then
6965 { echo "$as_me:$LINENO: result: $CC" >&5
6966 echo "${ECHO_T}$CC" >&6; }
6968 { echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6; }
6973 test -n "$CC" && break
6976 if test -z "$CC"; then
6978 for ac_prog
in cl.exe
6980 # Extract the first word of "$ac_prog", so it can be a program name with args.
6981 set dummy
$ac_prog; ac_word
=$2
6982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6984 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6987 if test -n "$ac_ct_CC"; then
6988 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir
=.
6995 for ac_exec_ext
in '' $ac_executable_extensions; do
6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997 ac_cv_prog_ac_ct_CC
="$ac_prog"
6998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7008 if test -n "$ac_ct_CC"; then
7009 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7010 echo "${ECHO_T}$ac_ct_CC" >&6; }
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7017 test -n "$ac_ct_CC" && break
7020 if test "x$ac_ct_CC" = x
; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7026 whose name does not start with the host triplet. If you think this
7027 configuration is useful to you, please write to autoconf@gnu.org." >&5
7028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7029 whose name does not start with the host triplet. If you think this
7030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7031 ac_tool_warned
=yes ;;
7040 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
7041 See \`config.log' for more details." >&5
7042 echo "$as_me: error: no acceptable C compiler found in \$PATH
7043 See \`config.log' for more details." >&2;}
7044 { (exit 1); exit 1; }; }
7046 # Provide some information about the compiler.
7047 echo "$as_me:$LINENO: checking for C compiler version" >&5
7048 ac_compiler
=`set X $ac_compile; echo $2`
7049 { (ac_try
="$ac_compiler --version >&5"
7051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7052 *) ac_try_echo=$ac_try;;
7054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7055 (eval "$ac_compiler --version >&5") 2>&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); }
7059 { (ac_try="$ac_compiler -v >&5"
7061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7062 *) ac_try_echo
=$ac_try;;
7064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7065 (eval "$ac_compiler -v >&5") 2>&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }
7069 { (ac_try
="$ac_compiler -V >&5"
7071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7072 *) ac_try_echo=$ac_try;;
7074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7075 (eval "$ac_compiler -V >&5") 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }
7080 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
7081 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
7082 if test "${ac_cv_c_compiler_gnu+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 cat >conftest.$ac_ext <<_ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7103 rm -f conftest.$ac_objext
7104 if { (ac_try="$ac_compile"
7106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7107 *) ac_try_echo
=$ac_try;;
7109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 (eval "$ac_compile") 2>conftest.er1
7112 grep -v '^ *+' conftest.er1
>conftest.err
7114 cat conftest.err
>&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } && {
7117 test -z "$ac_c_werror_flag" ||
7118 test ! -s conftest.err
7119 } && test -s conftest.
$ac_objext; then
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.
$ac_ext >&5
7128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7129 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
7132 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
7133 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
7134 GCC
=`test $ac_compiler_gnu = yes && echo yes`
7135 ac_test_CFLAGS
=${CFLAGS+set}
7136 ac_save_CFLAGS
=$CFLAGS
7137 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
7138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
7139 if test "${ac_cv_prog_cc_g+set}" = set; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 ac_save_c_werror_flag
=$ac_c_werror_flag
7143 ac_c_werror_flag
=yes
7146 cat >conftest.
$ac_ext <<_ACEOF
7149 cat confdefs.h
>>conftest.
$ac_ext
7150 cat >>conftest.
$ac_ext <<_ACEOF
7151 /* end confdefs.h. */
7161 rm -f conftest.
$ac_objext
7162 if { (ac_try
="$ac_compile"
7164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7168 (eval "$ac_compile") 2>conftest.er1
7170 grep -v '^ *+' conftest.er1 >conftest.err
7172 cat conftest.err >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } && {
7175 test -z "$ac_c_werror_flag" ||
7176 test ! -s conftest.err
7177 } && test -s conftest.$ac_objext; then
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7199 rm -f conftest.$ac_objext
7200 if { (ac_try="$ac_compile"
7202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7203 *) ac_try_echo
=$ac_try;;
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_compile") 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest.
$ac_objext; then
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 ac_c_werror_flag
=$ac_save_c_werror_flag
7223 cat >conftest.
$ac_ext <<_ACEOF
7226 cat confdefs.h
>>conftest.
$ac_ext
7227 cat >>conftest.
$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7238 rm -f conftest.
$ac_objext
7239 if { (ac_try
="$ac_compile"
7241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_compile") 2>conftest.er1
7247 grep -v '^ *+' conftest.er1 >conftest.err
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } && {
7252 test -z "$ac_c_werror_flag" ||
7253 test ! -s conftest.err
7254 } && test -s conftest.$ac_objext; then
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7270 ac_c_werror_flag=$ac_save_c_werror_flag
7272 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
7273 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
7274 if test "$ac_test_CFLAGS" = set; then
7275 CFLAGS=$ac_save_CFLAGS
7276 elif test $ac_cv_prog_cc_g = yes; then
7277 if test "$GCC" = yes; then
7283 if test "$GCC" = yes; then
7289 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
7290 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
7291 if test "${ac_cv_prog_cc_c89+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 ac_cv_prog_cc_c89=no
7296 cat >conftest.$ac_ext <<_ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7304 #include <sys/types.h>
7305 #include <sys/stat.h>
7306 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7307 struct buf { int x; };
7308 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7309 static char *e (p, i)
7315 static char *f (char * (*g) (char **, int), char **p, ...)
7320 s = g (p, va_arg (v,int));
7325 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7326 function prototypes and stuff, but not '\xHH' hex character constants.
7327 These don't provoke an error unfortunately, instead are silently treated
7328 as 'x'. The following induces an error, until -std is added to get
7329 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7330 array size at least. It's necessary to write '\x00'==0 to get something
7331 that's true only with -std. */
7332 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7334 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7335 inside strings and character constants. */
7337 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7339 int test (int i, double x);
7340 struct s1 {int (*f) (int a);};
7341 struct s2 {int (*f) (double a);};
7342 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7348 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7353 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7354 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7356 CC="$ac_save_CC $ac_arg"
7357 rm -f conftest.$ac_objext
7358 if { (ac_try="$ac_compile"
7360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7361 *) ac_try_echo
=$ac_try;;
7363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364 (eval "$ac_compile") 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } && {
7371 test -z "$ac_c_werror_flag" ||
7372 test ! -s conftest.err
7373 } && test -s conftest.
$ac_objext; then
7374 ac_cv_prog_cc_c89
=$ac_arg
7376 echo "$as_me: failed program was:" >&5
7377 sed 's/^/| /' conftest.
$ac_ext >&5
7382 rm -f core conftest.err conftest.
$ac_objext
7383 test "x$ac_cv_prog_cc_c89" != "xno" && break
7385 rm -f conftest.
$ac_ext
7390 case "x$ac_cv_prog_cc_c89" in
7392 { echo "$as_me:$LINENO: result: none needed" >&5
7393 echo "${ECHO_T}none needed" >&6; } ;;
7395 { echo "$as_me:$LINENO: result: unsupported" >&5
7396 echo "${ECHO_T}unsupported" >&6; } ;;
7398 CC
="$CC $ac_cv_prog_cc_c89"
7399 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
7400 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
7405 ac_cpp
='$CPP $CPPFLAGS'
7406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7410 depcc
="$CC" am_compiler_list
=
7412 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7413 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7418 # We make a subdir and do the tests there. Otherwise we can end up
7419 # making bogus files that we don't know about and never remove. For
7420 # instance it was reported that on HP-UX the gcc test will end up
7421 # making a dummy file named `D' -- because `-MD' means `put the output
7424 # Copy depcomp to subdir because otherwise we won't find it if we're
7425 # using a relative directory.
7426 cp "$am_depcomp" conftest.dir
7428 # We will build objects and dependencies in a subdirectory because
7429 # it helps to detect inapplicable dependency modes. For instance
7430 # both Tru64's cc and ICC support -MD to output dependencies as a
7431 # side effect of compilation, but ICC will put the dependencies in
7432 # the current directory while Tru64 will put them in the object
7436 am_cv_CC_dependencies_compiler_type
=none
7437 if test "$am_compiler_list" = ""; then
7438 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7440 for depmode
in $am_compiler_list; do
7441 # Setup a source with many dependencies, because some compilers
7442 # like to wrap large dependency lists on column 80 (with \), and
7443 # we should not choose a depcomp mode which is confused by this.
7445 # We need to recreate these files for each test, as the compiler may
7446 # overwrite some of them when testing with obscure command lines.
7447 # This happens at least with the AIX C compiler.
7449 for i
in 1 2 3 4 5 6; do
7450 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7451 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7452 # Solaris 8's {/usr,}/bin/sh.
7453 touch sub
/conftst
$i.h
7455 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7459 # after this tag, mechanisms are not by side-effect, so they'll
7460 # only be used when explicitly requested
7461 if test "x$enable_dependency_tracking" = xyes
; then
7469 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7470 # mode. It turns out that the SunPro C++ compiler does not properly
7471 # handle `-M -o', and we need to detect this.
7472 if depmode
=$depmode \
7473 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7474 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7475 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7476 >/dev
/null
2>conftest.err
&&
7477 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7478 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7479 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7480 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7481 # icc doesn't choke on unknown options, it will just issue warnings
7482 # or remarks (even with -Werror). So we grep stderr for any message
7483 # that says an option was ignored or not supported.
7484 # When given -MP, icc 7.0 and 7.1 complain thusly:
7485 # icc: Command line warning: ignoring option '-M'; no argument required
7486 # The diagnosis changed in icc 8.0:
7487 # icc: Command line remark: option '-MP' not supported
7488 if (grep 'ignoring option' conftest.err ||
7489 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7490 am_cv_CC_dependencies_compiler_type
=$depmode
7499 am_cv_CC_dependencies_compiler_type
=none
7503 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7504 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
7505 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7508 test "x$enable_dependency_tracking" != xno \
7509 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7511 am__fastdepCC_FALSE
='#'
7513 am__fastdepCC_TRUE
='#'
7514 am__fastdepCC_FALSE
=
7519 ac_cpp
='$CXXCPP $CPPFLAGS'
7520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7523 if test -z "$CXX"; then
7524 if test -n "$CCC"; then
7527 if test -n "$ac_tool_prefix"; then
7528 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7531 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7534 if test "${ac_cv_prog_CXX+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7537 if test -n "$CXX"; then
7538 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir
=.
7545 for ac_exec_ext
in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 if test -n "$CXX"; then
7559 { echo "$as_me:$LINENO: result: $CXX" >&5
7560 echo "${ECHO_T}$CXX" >&6; }
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7567 test -n "$CXX" && break
7570 if test -z "$CXX"; then
7572 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7574 # Extract the first word of "$ac_prog", so it can be a program name with args.
7575 set dummy
$ac_prog; ac_word
=$2
7576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7578 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7581 if test -n "$ac_ct_CXX"; then
7582 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7588 test -z "$as_dir" && as_dir
=.
7589 for ac_exec_ext
in '' $ac_executable_extensions; do
7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7602 if test -n "$ac_ct_CXX"; then
7603 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7604 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7611 test -n "$ac_ct_CXX" && break
7614 if test "x$ac_ct_CXX" = x
; then
7617 case $cross_compiling:$ac_tool_warned in
7619 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7620 whose name does not start with the host triplet. If you think this
7621 configuration is useful to you, please write to autoconf@gnu.org." >&5
7622 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7623 whose name does not start with the host triplet. If you think this
7624 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7625 ac_tool_warned
=yes ;;
7633 # Provide some information about the compiler.
7634 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7635 ac_compiler
=`set X $ac_compile; echo $2`
7636 { (ac_try
="$ac_compiler --version >&5"
7638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7639 *) ac_try_echo=$ac_try;;
7641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7642 (eval "$ac_compiler --version >&5") 2>&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }
7646 { (ac_try="$ac_compiler -v >&5"
7648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7649 *) ac_try_echo
=$ac_try;;
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_compiler -v >&5") 2>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }
7656 { (ac_try
="$ac_compiler -V >&5"
7658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7659 *) ac_try_echo=$ac_try;;
7661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7662 (eval "$ac_compiler -V >&5") 2>&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }
7667 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7668 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7669 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6
7672 cat >conftest.$ac_ext <<_ACEOF
7675 cat confdefs.h >>conftest.$ac_ext
7676 cat >>conftest.$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7690 rm -f conftest.$ac_objext
7691 if { (ac_try="$ac_compile"
7693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7694 *) ac_try_echo
=$ac_try;;
7696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7697 (eval "$ac_compile") 2>conftest.er1
7699 grep -v '^ *+' conftest.er1
>conftest.err
7701 cat conftest.err
>&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } && {
7704 test -z "$ac_cxx_werror_flag" ||
7705 test ! -s conftest.err
7706 } && test -s conftest.
$ac_objext; then
7709 echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.
$ac_ext >&5
7715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7716 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7719 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7720 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7721 GXX
=`test $ac_compiler_gnu = yes && echo yes`
7722 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7723 ac_save_CXXFLAGS
=$CXXFLAGS
7724 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7725 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7726 if test "${ac_cv_prog_cxx_g+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7729 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
7730 ac_cxx_werror_flag
=yes
7733 cat >conftest.
$ac_ext <<_ACEOF
7736 cat confdefs.h
>>conftest.
$ac_ext
7737 cat >>conftest.
$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7748 rm -f conftest.
$ac_objext
7749 if { (ac_try
="$ac_compile"
7751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7752 *) ac_try_echo=$ac_try;;
7754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7755 (eval "$ac_compile") 2>conftest.er1
7757 grep -v '^ *+' conftest.er1 >conftest.err
7759 cat conftest.err >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); } && {
7762 test -z "$ac_cxx_werror_flag" ||
7763 test ! -s conftest.err
7764 } && test -s conftest.$ac_objext; then
7765 ac_cv_prog_cxx_g=yes
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.$ac_ext >&5
7771 cat >conftest.$ac_ext <<_ACEOF
7774 cat confdefs.h >>conftest.$ac_ext
7775 cat >>conftest.$ac_ext <<_ACEOF
7776 /* end confdefs.h. */
7786 rm -f conftest.$ac_objext
7787 if { (ac_try="$ac_compile"
7789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7790 *) ac_try_echo
=$ac_try;;
7792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7793 (eval "$ac_compile") 2>conftest.er1
7795 grep -v '^ *+' conftest.er1
>conftest.err
7797 cat conftest.err
>&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); } && {
7800 test -z "$ac_cxx_werror_flag" ||
7801 test ! -s conftest.err
7802 } && test -s conftest.
$ac_objext; then
7805 echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.
$ac_ext >&5
7808 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7810 cat >conftest.
$ac_ext <<_ACEOF
7813 cat confdefs.h
>>conftest.
$ac_ext
7814 cat >>conftest.
$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7825 rm -f conftest.
$ac_objext
7826 if { (ac_try
="$ac_compile"
7828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7829 *) ac_try_echo=$ac_try;;
7831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7832 (eval "$ac_compile") 2>conftest.er1
7834 grep -v '^ *+' conftest.er1 >conftest.err
7836 cat conftest.err >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } && {
7839 test -z "$ac_cxx_werror_flag" ||
7840 test ! -s conftest.err
7841 } && test -s conftest.$ac_objext; then
7842 ac_cv_prog_cxx_g=yes
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7859 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7860 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7861 if test "$ac_test_CXXFLAGS" = set; then
7862 CXXFLAGS=$ac_save_CXXFLAGS
7863 elif test $ac_cv_prog_cxx_g = yes; then
7864 if test "$GXX" = yes; then
7870 if test "$GXX" = yes; then
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7882 depcc="$CXX" am_compiler_list=
7884 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7885 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7886 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7890 # We make a subdir and do the tests there. Otherwise we can end up
7891 # making bogus files that we don't know about and never remove. For
7892 # instance it was reported that on HP-UX the gcc test will end up
7893 # making a dummy file named `D
' -- because `-MD' means
`put the output
7896 # Copy depcomp to subdir because otherwise we won't find it if we're
7897 # using a relative directory.
7898 cp "$am_depcomp" conftest.dir
7900 # We will build objects and dependencies in a subdirectory because
7901 # it helps to detect inapplicable dependency modes. For instance
7902 # both Tru64's cc and ICC support -MD to output dependencies as a
7903 # side effect of compilation, but ICC will put the dependencies in
7904 # the current directory while Tru64 will put them in the object
7908 am_cv_CXX_dependencies_compiler_type=none
7909 if test "$am_compiler_list" = ""; then
7910 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
7912 for depmode in $am_compiler_list; do
7913 # Setup a source with many dependencies, because some compilers
7914 # like to wrap large dependency lists on column 80 (with \), and
7915 # we should not choose a depcomp mode which is confused by this.
7917 # We need to recreate these files for each test, as the compiler may
7918 # overwrite some of them when testing with obscure command lines.
7919 # This happens at least with the AIX C compiler.
7921 for i in 1 2 3 4 5 6; do
7922 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7923 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
7924 # Solaris 8's
{/usr
,}/bin
/sh.
7925 touch sub
/conftst
$i.h
7927 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7931 # after this tag, mechanisms are not by side-effect, so they'll
7932 # only be used when explicitly requested
7933 if test "x$enable_dependency_tracking" = xyes
; then
7941 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7942 # mode. It turns out that the SunPro C++ compiler does not properly
7943 # handle `-M -o', and we need to detect this.
7944 if depmode
=$depmode \
7945 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7946 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7947 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7948 >/dev
/null
2>conftest.err
&&
7949 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7950 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7951 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7952 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7953 # icc doesn't choke on unknown options, it will just issue warnings
7954 # or remarks (even with -Werror). So we grep stderr for any message
7955 # that says an option was ignored or not supported.
7956 # When given -MP, icc 7.0 and 7.1 complain thusly:
7957 # icc: Command line warning: ignoring option '-M'; no argument required
7958 # The diagnosis changed in icc 8.0:
7959 # icc: Command line remark: option '-MP' not supported
7960 if (grep 'ignoring option' conftest.err ||
7961 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7962 am_cv_CXX_dependencies_compiler_type
=$depmode
7971 am_cv_CXX_dependencies_compiler_type
=none
7975 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7976 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7977 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7980 test "x$enable_dependency_tracking" != xno \
7981 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7982 am__fastdepCXX_TRUE
=
7983 am__fastdepCXX_FALSE
='#'
7985 am__fastdepCXX_TRUE
='#'
7986 am__fastdepCXX_FALSE
=
7990 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7991 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7992 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7993 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 cat >conftest.
make <<\_ACEOF
7999 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8002 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8004 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8006 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8010 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8011 { echo "$as_me:$LINENO: result: yes" >&5
8012 echo "${ECHO_T}yes" >&6; }
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8017 SET_MAKE
="MAKE=${MAKE-make}"
8020 # Check whether --enable-shared was given.
8021 if test "${enable_shared+set}" = set; then
8022 enableval
=$enable_shared; p
=${PACKAGE-default}
8024 yes) enable_shared
=yes ;;
8025 no
) enable_shared
=no
;;
8028 # Look at the argument we got. We use all the common list separators.
8029 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8030 for pkg
in $enableval; do
8032 if test "X$pkg" = "X$p"; then
8044 # Check whether --enable-static was given.
8045 if test "${enable_static+set}" = set; then
8046 enableval
=$enable_static; p
=${PACKAGE-default}
8048 yes) enable_static
=yes ;;
8049 no
) enable_static
=no
;;
8052 # Look at the argument we got. We use all the common list separators.
8053 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8054 for pkg
in $enableval; do
8056 if test "X$pkg" = "X$p"; then
8068 # Check whether --enable-fast-install was given.
8069 if test "${enable_fast_install+set}" = set; then
8070 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8072 yes) enable_fast_install
=yes ;;
8073 no
) enable_fast_install
=no
;;
8075 enable_fast_install
=no
8076 # Look at the argument we got. We use all the common list separators.
8077 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8078 for pkg
in $enableval; do
8080 if test "X$pkg" = "X$p"; then
8081 enable_fast_install
=yes
8088 enable_fast_install
=yes
8092 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
8093 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
8094 if test "${lt_cv_path_SED+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 # Loop through the user's path and test for sed and gsed.
8098 # Then use that list of sed's as ones to test for truncation.
8099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8103 test -z "$as_dir" && as_dir
=.
8104 for lt_ac_prog
in sed gsed
; do
8105 for ac_exec_ext
in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
8107 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8115 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
8116 # along with /bin/sed that truncates output.
8117 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
8118 test ! -f $lt_ac_sed && continue
8119 cat /dev
/null
> conftest.
in
8121 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
8122 # Check for GNU sed and select it if it is found.
8123 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
8124 lt_cv_path_SED
=$lt_ac_sed
8128 cat conftest.
in conftest.
in >conftest.tmp
8129 mv conftest.tmp conftest.
in
8130 cp conftest.
in conftest.
nl
8132 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
8133 cmp -s conftest.out conftest.
nl ||
break
8134 # 10000 chars as input seems more than enough
8135 test $lt_ac_count -gt 10 && break
8136 lt_ac_count
=`expr $lt_ac_count + 1`
8137 if test $lt_ac_count -gt $lt_ac_max; then
8138 lt_ac_max
=$lt_ac_count
8139 lt_cv_path_SED
=$lt_ac_sed
8148 { echo "$as_me:$LINENO: result: $SED" >&5
8149 echo "${ECHO_T}$SED" >&6; }
8152 # Check whether --with-gnu-ld was given.
8153 if test "${with_gnu_ld+set}" = set; then
8154 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
8160 if test "$GCC" = yes; then
8161 # Check if gcc -print-prog-name=ld gives a path.
8162 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8163 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
8166 # gcc leaves a trailing carriage return which upsets mingw
8167 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8169 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8172 # Accept absolute paths.
8174 re_direlt
='/[^/][^/]*/\.\./'
8175 # Canonicalize the pathname of ld
8176 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
8177 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8178 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
8180 test -z "$LD" && LD
="$ac_prog"
8183 # If it fails, then pretend we aren't using GCC.
8187 # If it is relative, then search for the first ld in PATH.
8191 elif test "$with_gnu_ld" = yes; then
8192 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8193 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8195 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8196 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8198 if test "${lt_cv_path_LD+set}" = set; then
8199 echo $ECHO_N "(cached) $ECHO_C" >&6
8201 if test -z "$LD"; then
8202 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8203 for ac_dir
in $PATH; do
8205 test -z "$ac_dir" && ac_dir
=.
8206 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8207 lt_cv_path_LD
="$ac_dir/$ac_prog"
8208 # Check to see if the program is GNU ld. I'd rather use --version,
8209 # but apparently some variants of GNU ld only accept -v.
8210 # Break only if it was the GNU/non-GNU ld that we prefer.
8211 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8212 *GNU
* |
*'with BFD'*)
8213 test "$with_gnu_ld" != no
&& break
8216 test "$with_gnu_ld" != yes && break
8223 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
8228 if test -n "$LD"; then
8229 { echo "$as_me:$LINENO: result: $LD" >&5
8230 echo "${ECHO_T}$LD" >&6; }
8232 { echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6; }
8235 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8236 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8237 { (exit 1); exit 1; }; }
8238 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8239 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8240 if test "${lt_cv_prog_gnu_ld+set}" = set; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8244 case `$LD -v 2>&1 </dev/null` in
8245 *GNU
* |
*'with BFD'*)
8246 lt_cv_prog_gnu_ld
=yes
8249 lt_cv_prog_gnu_ld
=no
8253 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8254 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8255 with_gnu_ld
=$lt_cv_prog_gnu_ld
8258 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8259 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8260 if test "${lt_cv_ld_reload_flag+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 lt_cv_ld_reload_flag
='-r'
8265 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8266 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8267 reload_flag
=$lt_cv_ld_reload_flag
8268 case $reload_flag in
8270 *) reload_flag
=" $reload_flag" ;;
8272 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8275 if test "$GCC" = yes; then
8276 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8278 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8283 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8284 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8285 if test "${lt_cv_path_NM+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 if test -n "$NM"; then
8289 # Let the user override the test.
8292 lt_nm_to_check
="${ac_tool_prefix}nm"
8293 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8294 lt_nm_to_check
="$lt_nm_to_check nm"
8296 for lt_tmp_nm
in $lt_nm_to_check; do
8297 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8298 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
8300 test -z "$ac_dir" && ac_dir
=.
8301 tmp_nm
="$ac_dir/$lt_tmp_nm"
8302 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
8303 # Check to see if the nm accepts a BSD-compat flag.
8304 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8305 # nm: unknown option "B" ignored
8306 # Tru64's nm complains that /dev/null is an invalid object file
8307 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8308 */dev
/null
* |
*'Invalid file or object type'*)
8309 lt_cv_path_NM
="$tmp_nm -B"
8313 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8315 lt_cv_path_NM
="$tmp_nm -p"
8319 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8320 continue # so that we can try to find one that supports BSD flags
8329 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
8332 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8333 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8336 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
8337 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8339 if test "$LN_S" = "ln -s"; then
8340 { echo "$as_me:$LINENO: result: yes" >&5
8341 echo "${ECHO_T}yes" >&6; }
8343 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8344 echo "${ECHO_T}no, using $LN_S" >&6; }
8347 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
8348 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
8349 if test "${lt_cv_deplibs_check_method+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8353 lt_cv_file_magic_test_file
=
8354 lt_cv_deplibs_check_method
='unknown'
8355 # Need to set the preceding variable on all platforms that support
8356 # interlibrary dependencies.
8357 # 'none' -- dependencies not supported.
8358 # `unknown' -- same as none, but documents that we really don't know.
8359 # 'pass_all' -- all dependencies passed with no checks.
8360 # 'test_compile' -- check by making test program.
8361 # 'file_magic [[regex]]' -- check by looking for files in library path
8362 # which responds to the $file_magic_cmd with a given extended regex.
8363 # If you have `file' or equivalent on your system and you're not sure
8364 # whether `pass_all' will *always* work, you probably want this one.
8368 lt_cv_deplibs_check_method
=pass_all
8372 lt_cv_deplibs_check_method
=pass_all
8376 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8377 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8378 lt_cv_file_magic_test_file
=/shlib
/libc.so
8382 # func_win32_libid is a shell function defined in ltmain.sh
8383 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8384 lt_cv_file_magic_cmd
='func_win32_libid'
8388 # Base MSYS/MinGW do not provide the 'file' command needed by
8389 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8390 # unless we find 'file', for example because we are cross-compiling.
8391 if ( file / ) >/dev
/null
2>&1; then
8392 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8393 lt_cv_file_magic_cmd
='func_win32_libid'
8395 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
8396 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8400 darwin
* | rhapsody
*)
8401 lt_cv_deplibs_check_method
=pass_all
8404 freebsd
* | dragonfly
*)
8405 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
8408 # Not sure whether the presence of OpenBSD here was a mistake.
8409 # Let's accept both of them until this is cleared up.
8410 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8411 lt_cv_file_magic_cmd
=/usr
/bin
/file
8412 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8416 lt_cv_deplibs_check_method
=pass_all
8421 lt_cv_deplibs_check_method
=pass_all
8424 hpux10.20
* | hpux11
*)
8425 lt_cv_file_magic_cmd
=/usr
/bin
/file
8428 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8429 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
8432 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]'
8433 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
8436 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8437 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8443 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8444 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8447 irix5
* | irix6
* | nonstopux
*)
8449 *-32|
*"-32 ") libmagic
=32-bit;;
8450 *-n32|
*"-n32 ") libmagic
=N32
;;
8451 *-64|
*"-64 ") libmagic
=64-bit;;
8452 *) libmagic
=never-match
;;
8454 lt_cv_deplibs_check_method
=pass_all
8457 # This must be Linux ELF.
8458 linux
* | k
*bsd
*-gnu)
8459 lt_cv_deplibs_check_method
=pass_all
8462 netbsd
* | netbsdelf
*-gnu)
8463 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
8464 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8466 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8471 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8472 lt_cv_file_magic_cmd
=/usr
/bin
/file
8473 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8477 lt_cv_deplibs_check_method
=unknown
8481 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8482 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8484 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8488 osf3
* | osf4
* | osf5
*)
8489 lt_cv_deplibs_check_method
=pass_all
8493 lt_cv_deplibs_check_method
=pass_all
8497 lt_cv_deplibs_check_method
=pass_all
8501 case $host_vendor in
8503 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]'
8504 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8507 lt_cv_deplibs_check_method
=pass_all
8510 lt_cv_file_magic_cmd
='/bin/file'
8511 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8514 lt_cv_file_magic_cmd
='/bin/file'
8515 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8516 lt_cv_file_magic_test_file
=/lib
/libc.so
8519 lt_cv_deplibs_check_method
=pass_all
8522 lt_cv_deplibs_check_method
=pass_all
8527 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8528 lt_cv_deplibs_check_method
=pass_all
8533 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8534 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8535 file_magic_cmd
=$lt_cv_file_magic_cmd
8536 deplibs_check_method
=$lt_cv_deplibs_check_method
8537 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8542 # If no C compiler was specified, use CC.
8545 # If no C compiler flags were specified, use CFLAGS.
8546 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8548 # Allow CC to be a program name with arguments.
8551 # Check whether --enable-libtool-lock was given.
8552 if test "${enable_libtool_lock+set}" = set; then
8553 enableval
=$enable_libtool_lock;
8556 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8558 # Some flags need to be propagated to the compiler or linker for good
8562 # Find out which ABI we are using.
8563 echo 'int i;' > conftest.
$ac_ext
8564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8565 (eval $ac_compile) 2>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; then
8569 case `/usr/bin/file conftest.$ac_objext` in
8581 # Find out which ABI we are using.
8582 echo '#line 8582 "configure"' > conftest.
$ac_ext
8583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8584 (eval $ac_compile) 2>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }; then
8588 if test "$lt_cv_prog_gnu_ld" = yes; then
8589 case `/usr/bin/file conftest.$ac_objext` in
8591 LD
="${LD-ld} -melf32bsmip"
8594 LD
="${LD-ld} -melf32bmipn32"
8597 LD
="${LD-ld} -melf64bmip"
8601 case `/usr/bin/file conftest.$ac_objext` in
8617 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8618 s390
*-*linux
*|sparc
*-*linux
*)
8619 # Find out which ABI we are using.
8620 echo 'int i;' > conftest.
$ac_ext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8622 (eval $ac_compile) 2>&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); }; then
8626 case `/usr/bin/file conftest.o` in
8629 x86_64-
*kfreebsd
*-gnu)
8630 LD
="${LD-ld} -m elf_i386_fbsd"
8633 LD
="${LD-ld} -m elf_i386"
8635 ppc64-
*linux
*|powerpc64-
*linux
*)
8636 LD
="${LD-ld} -m elf32ppclinux"
8639 LD
="${LD-ld} -m elf_s390"
8642 LD
="${LD-ld} -m elf32_sparc"
8648 x86_64-
*kfreebsd
*-gnu)
8649 LD
="${LD-ld} -m elf_x86_64_fbsd"
8652 LD
="${LD-ld} -m elf_x86_64"
8654 ppc
*-*linux
*|powerpc
*-*linux
*)
8655 LD
="${LD-ld} -m elf64ppc"
8658 LD
="${LD-ld} -m elf64_s390"
8661 LD
="${LD-ld} -m elf64_sparc"
8671 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8672 SAVE_CFLAGS
="$CFLAGS"
8673 CFLAGS
="$CFLAGS -belf"
8674 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8675 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8676 if test "${lt_cv_cc_needs_belf+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 ac_cpp
='$CPP $CPPFLAGS'
8681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8685 cat >conftest.
$ac_ext <<_ACEOF
8688 cat confdefs.h
>>conftest.
$ac_ext
8689 cat >>conftest.
$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8700 rm -f conftest.
$ac_objext conftest
$ac_exeext
8701 if { (ac_try
="$ac_link"
8703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8704 *) ac_try_echo=$ac_try;;
8706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8707 (eval "$ac_link") 2>conftest.er1
8709 grep -v '^ *+' conftest.er1 >conftest.err
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } && {
8714 test -z "$ac_c_werror_flag" ||
8715 test ! -s conftest.err
8716 } && test -s conftest$ac_exeext &&
8717 $as_test_x conftest$ac_exeext; then
8718 lt_cv_cc_needs_belf=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 lt_cv_cc_needs_belf=no
8726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8727 conftest$ac_exeext conftest.$ac_ext
8729 ac_cpp='$CPP $CPPFLAGS'
8730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8735 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8736 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8737 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8738 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8739 CFLAGS="$SAVE_CFLAGS"
8743 # Find out which ABI we are using.
8744 echo 'int i;' > conftest.$ac_ext
8745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8746 (eval $ac_compile) 2>&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); }; then
8750 case `/usr
/bin
/file conftest.o
` in
8752 case $lt_cv_prog_gnu_ld in
8753 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8755 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8769 need_locks="$enable_libtool_lock"
8773 for ac_header in dlfcn.h
8775 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8780 echo $ECHO_N "(cached) $ECHO_C" >&6
8782 ac_res=`eval echo '${'$as_ac_Header'}'`
8783 { echo "$as_me:$LINENO: result: $ac_res" >&5
8784 echo "${ECHO_T}$ac_res" >&6; }
8786 # Is the header compilable?
8787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8789 cat >conftest.$ac_ext <<_ACEOF
8792 cat confdefs.h >>conftest.$ac_ext
8793 cat >>conftest.$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795 $ac_includes_default
8796 #include <$ac_header>
8798 rm -f conftest.$ac_objext
8799 if { (ac_try="$ac_compile"
8801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8802 *) ac_try_echo
=$ac_try;;
8804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8805 (eval "$ac_compile") 2>conftest.er1
8807 grep -v '^ *+' conftest.er1
>conftest.err
8809 cat conftest.err
>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && {
8812 test -z "$ac_c_werror_flag" ||
8813 test ! -s conftest.err
8814 } && test -s conftest.
$ac_objext; then
8815 ac_header_compiler
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_header_compiler
=no
8823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8824 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8825 echo "${ECHO_T}$ac_header_compiler" >&6; }
8827 # Is the header present?
8828 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8830 cat >conftest.
$ac_ext <<_ACEOF
8833 cat confdefs.h
>>conftest.
$ac_ext
8834 cat >>conftest.
$ac_ext <<_ACEOF
8835 /* end confdefs.h. */
8836 #include <$ac_header>
8838 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } >/dev/null && {
8851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8854 ac_header_preproc=yes
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8859 ac_header_preproc=no
8862 rm -f conftest.err conftest.$ac_ext
8863 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8864 echo "${ECHO_T}$ac_header_preproc" >&6; }
8866 # So? What about this header?
8867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8873 ac_header_preproc=yes
8876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8889 ## ------------------------------------------------ ##
8890 ## Report this to barry-devel@lists.sourceforge.net ##
8891 ## ------------------------------------------------ ##
8893 ) | sed "s/^/$as_me: WARNING: /" >&2
8896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8901 eval "$as_ac_Header=\$ac_header_preproc"
8903 ac_res=`eval echo '${'$as_ac_Header'}'`
8904 { echo "$as_me:$LINENO: result: $ac_res" >&5
8905 echo "${ECHO_T}$ac_res" >&6; }
8908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8909 cat >>confdefs.h <<_ACEOF
8910 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8919 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8920 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8921 (test "X$CXX" != "Xg++"))) ; then
8923 ac_cpp='$CXXCPP $CPPFLAGS'
8924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8927 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8928 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8929 if test -z "$CXXCPP"; then
8930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 # Double quotes because CXXCPP needs to be expanded
8934 for CXXCPP in "$CXX -E" "/lib/cpp"
8937 for ac_cxx_preproc_warn_flag in '' yes
8939 # Use a header file that comes with gcc, so configuring glibc
8940 # with a fresh cross-compiler works.
8941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8942 # <limits.h> exists even on freestanding compilers.
8943 # On the NeXT, cc -E runs the code through the compiler's parser,
8944 # not just through cpp. "Syntax error" is here to catch this case.
8945 cat >conftest.$ac_ext <<_ACEOF
8948 cat confdefs.h >>conftest.$ac_ext
8949 cat >>conftest.$ac_ext <<_ACEOF
8950 /* end confdefs.h. */
8952 # include <limits.h>
8954 # include <assert.h>
8958 if { (ac_try="$ac_cpp conftest.$ac_ext"
8960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8961 *) ac_try_echo
=$ac_try;;
8963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8966 grep -v '^ *+' conftest.er1
>conftest.err
8968 cat conftest.err
>&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); } >/dev
/null
&& {
8971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8972 test ! -s conftest.err
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.
$ac_ext >&5
8979 # Broken: fails on valid input.
8983 rm -f conftest.err conftest.
$ac_ext
8985 # OK, works on sane cases. Now check whether nonexistent headers
8986 # can be detected and how.
8987 cat >conftest.
$ac_ext <<_ACEOF
8990 cat confdefs.h
>>conftest.
$ac_ext
8991 cat >>conftest.
$ac_ext <<_ACEOF
8992 /* end confdefs.h. */
8993 #include <ac_nonexistent.h>
8995 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8998 *) ac_try_echo=$ac_try;;
9000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9003 grep -v '^ *+' conftest.er1 >conftest.err
9005 cat conftest.err >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } >/dev/null && {
9008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9009 test ! -s conftest.err
9011 # Broken: success on invalid input.
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 # Passes both tests.
9022 rm -f conftest.err conftest.$ac_ext
9025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9026 rm -f conftest.err conftest.
$ac_ext
9027 if $ac_preproc_ok; then
9032 ac_cv_prog_CXXCPP
=$CXXCPP
9035 CXXCPP
=$ac_cv_prog_CXXCPP
9037 ac_cv_prog_CXXCPP
=$CXXCPP
9039 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
9040 echo "${ECHO_T}$CXXCPP" >&6; }
9042 for ac_cxx_preproc_warn_flag
in '' yes
9044 # Use a header file that comes with gcc, so configuring glibc
9045 # with a fresh cross-compiler works.
9046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9047 # <limits.h> exists even on freestanding compilers.
9048 # On the NeXT, cc -E runs the code through the compiler's parser,
9049 # not just through cpp. "Syntax error" is here to catch this case.
9050 cat >conftest.
$ac_ext <<_ACEOF
9053 cat confdefs.h
>>conftest.
$ac_ext
9054 cat >>conftest.
$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9057 # include <limits.h>
9059 # include <assert.h>
9063 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9071 grep -v '^ *+' conftest.er1 >conftest.err
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } >/dev/null && {
9076 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9077 test ! -s conftest.err
9081 echo "$as_me: failed program was:" >&5
9082 sed 's/^/| /' conftest.$ac_ext >&5
9084 # Broken: fails on valid input.
9088 rm -f conftest.err conftest.$ac_ext
9090 # OK, works on sane cases. Now check whether nonexistent headers
9091 # can be detected and how.
9092 cat >conftest.$ac_ext <<_ACEOF
9095 cat confdefs.h >>conftest.$ac_ext
9096 cat >>conftest.$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9098 #include <ac_nonexistent.h>
9100 if { (ac_try="$ac_cpp conftest.$ac_ext"
9102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9103 *) ac_try_echo
=$ac_try;;
9105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9108 grep -v '^ *+' conftest.er1
>conftest.err
9110 cat conftest.err
>&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } >/dev
/null
&& {
9113 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9114 test ! -s conftest.err
9116 # Broken: success on invalid input.
9119 echo "$as_me: failed program was:" >&5
9120 sed 's/^/| /' conftest.
$ac_ext >&5
9122 # Passes both tests.
9127 rm -f conftest.err conftest.
$ac_ext
9130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9131 rm -f conftest.err conftest.
$ac_ext
9132 if $ac_preproc_ok; then
9135 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9136 See \`config.log' for more details." >&5
9137 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9138 See \`config.log' for more details." >&2;}
9139 { (exit 1); exit 1; }; }
9143 ac_cpp
='$CXXCPP $CPPFLAGS'
9144 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9145 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9152 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
9153 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9154 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
9155 if test -n "$ac_tool_prefix"; then
9156 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
9158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9162 if test "${ac_cv_prog_F77+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 if test -n "$F77"; then
9166 ac_cv_prog_F77
="$F77" # Let the user override the test.
9168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9172 test -z "$as_dir" && as_dir
=.
9173 for ac_exec_ext
in '' $ac_executable_extensions; do
9174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9175 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
9176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9186 if test -n "$F77"; then
9187 { echo "$as_me:$LINENO: result: $F77" >&5
9188 echo "${ECHO_T}$F77" >&6; }
9190 { echo "$as_me:$LINENO: result: no" >&5
9191 echo "${ECHO_T}no" >&6; }
9195 test -n "$F77" && break
9198 if test -z "$F77"; then
9200 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
9202 # Extract the first word of "$ac_prog", so it can be a program name with args.
9203 set dummy
$ac_prog; ac_word
=$2
9204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9206 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9207 echo $ECHO_N "(cached) $ECHO_C" >&6
9209 if test -n "$ac_ct_F77"; then
9210 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
9212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9216 test -z "$as_dir" && as_dir
=.
9217 for ac_exec_ext
in '' $ac_executable_extensions; do
9218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9219 ac_cv_prog_ac_ct_F77
="$ac_prog"
9220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9229 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
9230 if test -n "$ac_ct_F77"; then
9231 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9232 echo "${ECHO_T}$ac_ct_F77" >&6; }
9234 { echo "$as_me:$LINENO: result: no" >&5
9235 echo "${ECHO_T}no" >&6; }
9239 test -n "$ac_ct_F77" && break
9242 if test "x$ac_ct_F77" = x
; then
9245 case $cross_compiling:$ac_tool_warned in
9247 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9248 whose name does not start with the host triplet. If you think this
9249 configuration is useful to you, please write to autoconf@gnu.org." >&5
9250 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9251 whose name does not start with the host triplet. If you think this
9252 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9253 ac_tool_warned
=yes ;;
9260 # Provide some information about the compiler.
9261 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9262 ac_compiler
=`set X $ac_compile; echo $2`
9263 { (ac_try
="$ac_compiler --version >&5"
9265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9266 *) ac_try_echo=$ac_try;;
9268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9269 (eval "$ac_compiler --version >&5") 2>&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }
9273 { (ac_try="$ac_compiler -v >&5"
9275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9276 *) ac_try_echo
=$ac_try;;
9278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9279 (eval "$ac_compiler -v >&5") 2>&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }
9283 { (ac_try
="$ac_compiler -V >&5"
9285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9286 *) ac_try_echo=$ac_try;;
9288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9289 (eval "$ac_compiler -V >&5") 2>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }
9295 # If we don't use `.F
' as extension, the preprocessor is not run on the
9296 # input file. (Note that this only needs to work for GNU compilers.)
9299 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9300 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9301 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9302 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 cat >conftest.$ac_ext <<_ACEOF
9312 rm -f conftest.$ac_objext
9313 if { (ac_try="$ac_compile"
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_compile") 2>conftest.er1
9321 grep -v '^
*+' conftest.er1 >conftest.err
9323 cat conftest.err >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } && {
9326 test -z "$ac_f77_werror_flag" ||
9327 test ! -s conftest.err
9328 } && test -s conftest.$ac_objext; then
9331 echo "$as_me: failed program was:" >&5
9332 sed 's
/^
/|
/' conftest.$ac_ext >&5
9337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9341 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9342 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9344 ac_test_FFLAGS=${FFLAGS+set}
9345 ac_save_FFLAGS=$FFLAGS
9347 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9348 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9349 if test "${ac_cv_prog_f77_g+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9358 rm -f conftest.$ac_objext
9359 if { (ac_try="$ac_compile"
9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9362 *) ac_try_echo=$ac_try;;
9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 (eval "$ac_compile") 2>conftest.er1
9367 grep -v '^
*+' conftest.er1 >conftest.err
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } && {
9372 test -z "$ac_f77_werror_flag" ||
9373 test ! -s conftest.err
9374 } && test -s conftest.$ac_objext; then
9375 ac_cv_prog_f77_g=yes
9377 echo "$as_me: failed program was:" >&5
9378 sed 's
/^
/|
/' conftest.$ac_ext >&5
9383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9386 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9387 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9388 if test "$ac_test_FFLAGS" = set; then
9389 FFLAGS=$ac_save_FFLAGS
9390 elif test $ac_cv_prog_f77_g = yes; then
9391 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9397 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9404 G77=`test $ac_compiler_gnu = yes && echo yes`
9406 ac_cpp='$CPP $CPPFLAGS'
9407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9408 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9413 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
9414 # find the maximum length of command line arguments
9415 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9416 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9417 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 # On DJGPP, this test can blow up pretty badly due to problems in libc
9426 # (any single argument exceeding 2000 bytes causes a buffer overrun
9427 # during glob expansion). Even if it were fixed, the result of this
9428 # check would be larger than it should be.
9429 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
9433 # Under GNU Hurd, this test is not required because there is
9434 # no limit to the length of command line arguments.
9435 # Libtool will interpret -1 as no limit whatsoever
9436 lt_cv_sys_max_cmd_len
=-1;
9440 # On Win9x/ME, this test blows up -- it succeeds, but takes
9441 # about 5 minutes as the teststring grows exponentially.
9442 # Worse, since 9x/ME are not pre-emptively multitasking,
9443 # you end up with a "frozen" computer, even though with patience
9444 # the test eventually succeeds (with a max line length of 256k).
9445 # Instead, let's just punt: use the minimum linelength reported by
9446 # all of the supported platforms: 8192 (on NT/2K/XP).
9447 lt_cv_sys_max_cmd_len
=8192;
9451 # On AmigaOS with pdksh, this test takes hours, literally.
9452 # So we just punt and use a minimum line length of 8192.
9453 lt_cv_sys_max_cmd_len
=8192;
9456 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
9457 # This has been around since 386BSD, at least. Likely further.
9458 if test -x /sbin
/sysctl
; then
9459 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
9460 elif test -x /usr
/sbin
/sysctl
; then
9461 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
9463 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
9465 # And add a safety zone
9466 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9467 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9471 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9472 lt_cv_sys_max_cmd_len
=196608
9476 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9477 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9478 # nice to cause kernel panics so lets avoid the loop below.
9479 # First set a reasonable default.
9480 lt_cv_sys_max_cmd_len
=16384
9482 if test -x /sbin
/sysconfig
; then
9483 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9484 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
9489 lt_cv_sys_max_cmd_len
=102400
9491 sysv5
* | sco5v6
* | sysv4.2uw2
*)
9492 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9493 if test -n "$kargmax"; then
9494 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
9496 lt_cv_sys_max_cmd_len
=32768
9500 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
9501 if test -n "$lt_cv_sys_max_cmd_len"; then
9502 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9503 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9505 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
9506 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
9507 = "XX$teststring") >/dev
/null
2>&1 &&
9508 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
9509 lt_cv_sys_max_cmd_len
=$new_result &&
9510 test $i != 17 # 1/2 MB should be enough
9513 teststring
=$teststring$teststring
9516 # Add a significant safety factor because C++ compilers can tack on massive
9517 # amounts of additional arguments before passing them to the linker.
9518 # It appears as though 1/2 is a usable value.
9519 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
9526 if test -n $lt_cv_sys_max_cmd_len ; then
9527 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9528 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9530 { echo "$as_me:$LINENO: result: none" >&5
9531 echo "${ECHO_T}none" >&6; }
9538 # Check for command to grab the raw symbol name followed by C symbol from nm.
9539 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9540 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9541 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 # These are sane defaults that work on at least a few old systems.
9546 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9548 # Character class describing NM global symbol codes.
9549 symcode
='[BCDEGRST]'
9551 # Regexp to match symbols that can be accessed directly from C.
9552 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
9554 # Transform an extracted symbol line into a proper C declaration
9555 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9557 # Transform an extracted symbol line into symbol name and symbol address
9558 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'"
9560 # Define system-specific variables.
9565 cygwin
* | mingw
* | pw32
*)
9566 symcode
='[ABCDGISTW]'
9568 hpux
*) # Its linker distinguishes data from code symbols
9569 if test "$host_cpu" = ia64
; then
9570 symcode
='[ABCDEGRST]'
9572 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9573 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'"
9575 linux
* | k
*bsd
*-gnu)
9576 if test "$host_cpu" = ia64
; then
9577 symcode
='[ABCDGIRSTW]'
9578 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9579 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'"
9583 symcode
='[BCDEGRST]'
9586 symcode
='[BCDEGQRST]'
9597 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9605 # Handle CRLF in mingw tool chain
9609 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9613 # If we're using GNU nm, then use its standard symbol codes.
9614 case `$NM -V 2>&1` in
9615 *GNU
* |
*'with BFD'*)
9616 symcode
='[ABCDGIRSTW]' ;;
9619 # Try without a prefix undercore, then with it.
9620 for ac_symprfx
in "" "_"; do
9622 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9623 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9625 # Write the raw and C identifiers.
9626 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9628 # Check to see that the pipe works correctly.
9632 cat > conftest.
$ac_ext <<EOF
9637 void nm_test_func(){}
9641 int main(){nm_test_var='a';nm_test_func();return(0);}
9644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9645 (eval $ac_compile) 2>&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; then
9649 # Now try to grab the symbols.
9651 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9652 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && test -s "$nlist"; then
9656 # Try sorting and uniquifying the output.
9657 if sort "$nlist" |
uniq > "$nlist"T
; then
9658 mv -f "$nlist"T
"$nlist"
9663 # Make sure that we snagged all the symbols we need.
9664 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
9665 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
9666 cat <<EOF > conftest.$ac_ext
9672 # Now generate the symbol file.
9673 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9675 cat <<EOF >> conftest.$ac_ext
9676 #if defined (__STDC__) && __STDC__
9677 # define lt_ptr_t void *
9679 # define lt_ptr_t char *
9683 /* The mapping between symbol names and symbols. */
9688 lt_preloaded_symbols[] =
9691 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
9692 cat <<\EOF
>> conftest.
$ac_ext
9700 # Now try linking the two files.
9701 mv conftest.
$ac_objext conftstm.
$ac_objext
9702 lt_save_LIBS
="$LIBS"
9703 lt_save_CFLAGS
="$CFLAGS"
9704 LIBS
="conftstm.$ac_objext"
9705 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9707 (eval $ac_link) 2>&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
9713 LIBS
="$lt_save_LIBS"
9714 CFLAGS
="$lt_save_CFLAGS"
9716 echo "cannot find nm_test_func in $nlist" >&5
9719 echo "cannot find nm_test_var in $nlist" >&5
9722 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9725 echo "$progname: failed program was:" >&5
9726 cat conftest.
$ac_ext >&5
9728 rm -rf conftest
* conftst
*
9730 # Do not use the global_symbol_pipe unless it works.
9731 if test "$pipe_works" = yes; then
9734 lt_cv_sys_global_symbol_pipe
=
9740 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9741 lt_cv_sys_global_symbol_to_cdecl
=
9743 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9744 { echo "$as_me:$LINENO: result: failed" >&5
9745 echo "${ECHO_T}failed" >&6; }
9747 { echo "$as_me:$LINENO: result: ok" >&5
9748 echo "${ECHO_T}ok" >&6; }
9751 { echo "$as_me:$LINENO: checking for objdir" >&5
9752 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9753 if test "${lt_cv_objdir+set}" = set; then
9754 echo $ECHO_N "(cached) $ECHO_C" >&6
9756 rm -f .libs
2>/dev
/null
9757 mkdir .libs
2>/dev
/null
9758 if test -d .libs
; then
9761 # MS-DOS does not allow filenames that begin with a dot.
9764 rmdir .libs
2>/dev
/null
9766 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9767 echo "${ECHO_T}$lt_cv_objdir" >&6; }
9768 objdir
=$lt_cv_objdir
9776 # AIX sometimes has problems with the GCC collect2 program. For some
9777 # reason, if we set the COLLECT_NAMES environment variable, the problems
9778 # vanish in a puff of smoke.
9779 if test "X${COLLECT_NAMES+set}" != Xset
; then
9781 export COLLECT_NAMES
9786 # Sed substitution that helps us do robust quoting. It backslashifies
9787 # metacharacters that are still active within double-quoted strings.
9788 Xsed
='sed -e 1s/^X//'
9789 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
9791 # Same as above, but do not quote variable references.
9792 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
9794 # Sed substitution to delay expansion of an escaped shell variable in a
9795 # double_quote_subst'ed string.
9796 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
9798 # Sed substitution to avoid accidental globbing in evaled expressions
9799 no_glob_subst
='s/\*/\\\*/g'
9805 default_ofile
=libtool
9806 can_build_shared
=yes
9808 # All known linkers require a `.a' archive for static linking (except MSVC,
9809 # which needs '.lib').
9811 ltmain
="$ac_aux_dir/ltmain.sh"
9812 ofile
="$default_ofile"
9813 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9815 if test -n "$ac_tool_prefix"; then
9816 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9817 set dummy
${ac_tool_prefix}ar; ac_word
=$2
9818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9820 if test "${ac_cv_prog_AR+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 if test -n "$AR"; then
9824 ac_cv_prog_AR
="$AR" # Let the user override the test.
9826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 for ac_exec_ext
in '' $ac_executable_extensions; do
9832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9833 ac_cv_prog_AR
="${ac_tool_prefix}ar"
9834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9844 if test -n "$AR"; then
9845 { echo "$as_me:$LINENO: result: $AR" >&5
9846 echo "${ECHO_T}$AR" >&6; }
9848 { echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6; }
9854 if test -z "$ac_cv_prog_AR"; then
9856 # Extract the first word of "ar", so it can be a program name with args.
9857 set dummy
ar; ac_word
=$2
9858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9860 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 if test -n "$ac_ct_AR"; then
9864 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
9866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9870 test -z "$as_dir" && as_dir
=.
9871 for ac_exec_ext
in '' $ac_executable_extensions; do
9872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9873 ac_cv_prog_ac_ct_AR
="ar"
9874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9883 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
9884 if test -n "$ac_ct_AR"; then
9885 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9886 echo "${ECHO_T}$ac_ct_AR" >&6; }
9888 { echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6; }
9892 if test "x$ac_ct_AR" = x
; then
9895 case $cross_compiling:$ac_tool_warned in
9897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9898 whose name does not start with the host triplet. If you think this
9899 configuration is useful to you, please write to autoconf@gnu.org." >&5
9900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9901 whose name does not start with the host triplet. If you think this
9902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9903 ac_tool_warned
=yes ;;
9911 if test -n "$ac_tool_prefix"; then
9912 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9913 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
9914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9916 if test "${ac_cv_prog_RANLIB+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 if test -n "$RANLIB"; then
9920 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir
=.
9927 for ac_exec_ext
in '' $ac_executable_extensions; do
9928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9929 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
9930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9939 RANLIB
=$ac_cv_prog_RANLIB
9940 if test -n "$RANLIB"; then
9941 { echo "$as_me:$LINENO: result: $RANLIB" >&5
9942 echo "${ECHO_T}$RANLIB" >&6; }
9944 { echo "$as_me:$LINENO: result: no" >&5
9945 echo "${ECHO_T}no" >&6; }
9950 if test -z "$ac_cv_prog_RANLIB"; then
9951 ac_ct_RANLIB
=$RANLIB
9952 # Extract the first word of "ranlib", so it can be a program name with args.
9953 set dummy ranlib
; ac_word
=$2
9954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9956 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 if test -n "$ac_ct_RANLIB"; then
9960 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
9962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir
=.
9967 for ac_exec_ext
in '' $ac_executable_extensions; do
9968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969 ac_cv_prog_ac_ct_RANLIB
="ranlib"
9970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9979 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
9980 if test -n "$ac_ct_RANLIB"; then
9981 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9982 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9988 if test "x$ac_ct_RANLIB" = x
; then
9991 case $cross_compiling:$ac_tool_warned in
9993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9994 whose name does not start with the host triplet. If you think this
9995 configuration is useful to you, please write to autoconf@gnu.org." >&5
9996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9997 whose name does not start with the host triplet. If you think this
9998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9999 ac_tool_warned
=yes ;;
10001 RANLIB
=$ac_ct_RANLIB
10004 RANLIB
="$ac_cv_prog_RANLIB"
10007 if test -n "$ac_tool_prefix"; then
10008 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10009 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
10010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10012 if test "${ac_cv_prog_STRIP+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 if test -n "$STRIP"; then
10016 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10019 for as_dir
in $PATH
10022 test -z "$as_dir" && as_dir
=.
10023 for ac_exec_ext
in '' $ac_executable_extensions; do
10024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
10026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 STRIP
=$ac_cv_prog_STRIP
10036 if test -n "$STRIP"; then
10037 { echo "$as_me:$LINENO: result: $STRIP" >&5
10038 echo "${ECHO_T}$STRIP" >&6; }
10040 { echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6; }
10046 if test -z "$ac_cv_prog_STRIP"; then
10048 # Extract the first word of "strip", so it can be a program name with args.
10049 set dummy strip
; ac_word
=$2
10050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10052 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 if test -n "$ac_ct_STRIP"; then
10056 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
10058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10059 for as_dir
in $PATH
10062 test -z "$as_dir" && as_dir
=.
10063 for ac_exec_ext
in '' $ac_executable_extensions; do
10064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10065 ac_cv_prog_ac_ct_STRIP
="strip"
10066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10075 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
10076 if test -n "$ac_ct_STRIP"; then
10077 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10078 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
10080 { echo "$as_me:$LINENO: result: no" >&5
10081 echo "${ECHO_T}no" >&6; }
10084 if test "x$ac_ct_STRIP" = x
; then
10087 case $cross_compiling:$ac_tool_warned in
10089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10090 whose name does not start with the host triplet. If you think this
10091 configuration is useful to you, please write to autoconf@gnu.org." >&5
10092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10093 whose name does not start with the host triplet. If you think this
10094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10095 ac_tool_warned
=yes ;;
10100 STRIP
="$ac_cv_prog_STRIP"
10105 old_CFLAGS
="$CFLAGS"
10107 # Set sane defaults for various variables
10108 test -z "$AR" && AR
=ar
10109 test -z "$AR_FLAGS" && AR_FLAGS
=cru
10110 test -z "$AS" && AS
=as
10111 test -z "$CC" && CC
=cc
10112 test -z "$LTCC" && LTCC
=$CC
10113 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10114 test -z "$DLLTOOL" && DLLTOOL
=dlltool
10115 test -z "$LD" && LD
=ld
10116 test -z "$LN_S" && LN_S
="ln -s"
10117 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10118 test -z "$NM" && NM
=nm
10119 test -z "$SED" && SED
=sed
10120 test -z "$OBJDUMP" && OBJDUMP
=objdump
10121 test -z "$RANLIB" && RANLIB
=:
10122 test -z "$STRIP" && STRIP
=:
10123 test -z "$ac_objext" && ac_objext
=o
10125 # Determine commands to create old-style static archives.
10126 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
10127 old_postinstall_cmds
='chmod 644 $oldlib'
10128 old_postuninstall_cmds
=
10130 if test -n "$RANLIB"; then
10133 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10136 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
10139 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
10142 for cc_temp
in $compiler""; do
10144 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10145 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10150 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10153 # Only perform the check for file, if the check method requires it
10154 case $deplibs_check_method in
10156 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10157 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10158 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
10159 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10160 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10167 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10168 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10169 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10170 for ac_dir
in $ac_dummy; do
10172 test -z "$ac_dir" && ac_dir
=.
10173 if test -f $ac_dir/${ac_tool_prefix}file; then
10174 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10175 if test -n "$file_magic_test_file"; then
10176 case $deplibs_check_method in
10178 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10179 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10180 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10181 $EGREP "$file_magic_regex" > /dev
/null
; then
10186 *** Warning: the command libtool uses to detect shared libraries,
10187 *** $file_magic_cmd, produces output that libtool cannot recognize.
10188 *** The result is that libtool may fail to recognize shared libraries
10189 *** as such. This will affect the creation of libtool libraries that
10190 *** depend on shared libraries, but programs linked with such libtool
10191 *** libraries will work regardless of this problem. Nevertheless, you
10192 *** may want to report the problem to your system manager and/or to
10193 *** bug-libtool@gnu.org
10203 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10208 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10209 if test -n "$MAGIC_CMD"; then
10210 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10211 echo "${ECHO_T}$MAGIC_CMD" >&6; }
10213 { echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6; }
10217 if test -z "$lt_cv_path_MAGIC_CMD"; then
10218 if test -n "$ac_tool_prefix"; then
10219 { echo "$as_me:$LINENO: checking for file" >&5
10220 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
10221 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10229 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10230 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10231 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10232 for ac_dir
in $ac_dummy; do
10234 test -z "$ac_dir" && ac_dir
=.
10235 if test -f $ac_dir/file; then
10236 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10237 if test -n "$file_magic_test_file"; then
10238 case $deplibs_check_method in
10240 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10241 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10242 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10243 $EGREP "$file_magic_regex" > /dev
/null
; then
10248 *** Warning: the command libtool uses to detect shared libraries,
10249 *** $file_magic_cmd, produces output that libtool cannot recognize.
10250 *** The result is that libtool may fail to recognize shared libraries
10251 *** as such. This will affect the creation of libtool libraries that
10252 *** depend on shared libraries, but programs linked with such libtool
10253 *** libraries will work regardless of this problem. Nevertheless, you
10254 *** may want to report the problem to your system manager and/or to
10255 *** bug-libtool@gnu.org
10265 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10270 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10271 if test -n "$MAGIC_CMD"; then
10272 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10273 echo "${ECHO_T}$MAGIC_CMD" >&6; }
10275 { echo "$as_me:$LINENO: result: no" >&5
10276 echo "${ECHO_T}no" >&6; }
10290 rhapsody
* | darwin
*)
10291 if test -n "$ac_tool_prefix"; then
10292 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10293 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
10294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10296 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 if test -n "$DSYMUTIL"; then
10300 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
10302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10303 for as_dir
in $PATH
10306 test -z "$as_dir" && as_dir
=.
10307 for ac_exec_ext
in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
10310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10319 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
10320 if test -n "$DSYMUTIL"; then
10321 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
10322 echo "${ECHO_T}$DSYMUTIL" >&6; }
10324 { echo "$as_me:$LINENO: result: no" >&5
10325 echo "${ECHO_T}no" >&6; }
10330 if test -z "$ac_cv_prog_DSYMUTIL"; then
10331 ac_ct_DSYMUTIL
=$DSYMUTIL
10332 # Extract the first word of "dsymutil", so it can be a program name with args.
10333 set dummy dsymutil
; ac_word
=$2
10334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10336 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 if test -n "$ac_ct_DSYMUTIL"; then
10340 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
10342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10343 for as_dir
in $PATH
10346 test -z "$as_dir" && as_dir
=.
10347 for ac_exec_ext
in '' $ac_executable_extensions; do
10348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10349 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
10350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
10360 if test -n "$ac_ct_DSYMUTIL"; then
10361 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
10362 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
10364 { echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6; }
10368 if test "x$ac_ct_DSYMUTIL" = x
; then
10371 case $cross_compiling:$ac_tool_warned in
10373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10374 whose name does not start with the host triplet. If you think this
10375 configuration is useful to you, please write to autoconf@gnu.org." >&5
10376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10377 whose name does not start with the host triplet. If you think this
10378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10379 ac_tool_warned
=yes ;;
10381 DSYMUTIL
=$ac_ct_DSYMUTIL
10384 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
10387 if test -n "$ac_tool_prefix"; then
10388 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10389 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
10390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10392 if test "${ac_cv_prog_NMEDIT+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10395 if test -n "$NMEDIT"; then
10396 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
10398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10399 for as_dir
in $PATH
10402 test -z "$as_dir" && as_dir
=.
10403 for ac_exec_ext
in '' $ac_executable_extensions; do
10404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10405 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
10406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10415 NMEDIT
=$ac_cv_prog_NMEDIT
10416 if test -n "$NMEDIT"; then
10417 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
10418 echo "${ECHO_T}$NMEDIT" >&6; }
10420 { echo "$as_me:$LINENO: result: no" >&5
10421 echo "${ECHO_T}no" >&6; }
10426 if test -z "$ac_cv_prog_NMEDIT"; then
10427 ac_ct_NMEDIT
=$NMEDIT
10428 # Extract the first word of "nmedit", so it can be a program name with args.
10429 set dummy nmedit
; ac_word
=$2
10430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10432 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 if test -n "$ac_ct_NMEDIT"; then
10436 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
10438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10439 for as_dir
in $PATH
10442 test -z "$as_dir" && as_dir
=.
10443 for ac_exec_ext
in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
10446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10455 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
10456 if test -n "$ac_ct_NMEDIT"; then
10457 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
10458 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
10460 { echo "$as_me:$LINENO: result: no" >&5
10461 echo "${ECHO_T}no" >&6; }
10464 if test "x$ac_ct_NMEDIT" = x
; then
10467 case $cross_compiling:$ac_tool_warned in
10469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10470 whose name does not start with the host triplet. If you think this
10471 configuration is useful to you, please write to autoconf@gnu.org." >&5
10472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10473 whose name does not start with the host triplet. If you think this
10474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10475 ac_tool_warned
=yes ;;
10477 NMEDIT
=$ac_ct_NMEDIT
10480 NMEDIT
="$ac_cv_prog_NMEDIT"
10484 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10485 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
10486 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 lt_cv_apple_cc_single_mod
=no
10490 if test -z "${LT_MULTI_MODULE}"; then
10491 # By default we will add the -single_module flag. You can override
10492 # by either setting the environment variable LT_MULTI_MODULE
10493 # non-empty at configure time, or by adding -multi_module to the
10495 echo "int foo(void){return 1;}" > conftest.c
10496 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10497 -dynamiclib ${wl}-single_module conftest.c
10498 if test -f libconftest.dylib
; then
10499 lt_cv_apple_cc_single_mod
=yes
10500 rm -rf libconftest.dylib
*
10505 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10506 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
10507 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10508 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
10509 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 lt_cv_ld_exported_symbols_list
=no
10513 save_LDFLAGS
=$LDFLAGS
10514 echo "_main" > conftest.sym
10515 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10516 cat >conftest.
$ac_ext <<_ACEOF
10519 cat confdefs.h
>>conftest.
$ac_ext
10520 cat >>conftest.
$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10531 rm -f conftest.
$ac_objext conftest
$ac_exeext
10532 if { (ac_try
="$ac_link"
10533 case "(($ac_try" in
10534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10540 grep -v '^ *+' conftest.er1 >conftest.err
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10549 lt_cv_ld_exported_symbols_list=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10554 lt_cv_ld_exported_symbols_list=no
10557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LDFLAGS="$save_LDFLAGS"
10562 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
10563 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
10565 rhapsody* | darwin1.[0123])
10566 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10568 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10570 # if running on 10.5 or later, the deployment target defaults
10571 # to the OS version, if on x86, and 10.4, the deployment
10572 # target defaults to 10.4. Don't you love it?
10573 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10574 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10575 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10577 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10579 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10583 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10584 _lt_dar_single_mod='$single_module'
10586 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10587 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10589 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
10591 if test "$DSYMUTIL" != ":"; then
10592 _lt_dsymutil="~$DSYMUTIL \$lib || :"
10601 enable_win32_dll=no
10603 # Check whether --enable-libtool-lock was given.
10604 if test "${enable_libtool_lock+set}" = set; then
10605 enableval=$enable_libtool_lock;
10608 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10611 # Check whether --with-pic was given.
10612 if test "${with_pic+set}" = set; then
10613 withval=$with_pic; pic_mode="$withval"
10618 test -z "$pic_mode" && pic_mode=default
10620 # Use C for the default configuration in the libtool script
10624 ac_cpp='$CPP $CPPFLAGS'
10625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10630 # Source file extension for C test sources.
10633 # Object file extension for compiled C test sources.
10637 # Code to be used in simple compile tests
10638 lt_simple_compile_test_code="int some_variable = 0;"
10640 # Code to be used in simple link tests
10641 lt_simple_link_test_code='int main(){return(0);}'
10644 # If no C compiler was specified, use CC.
10647 # If no C compiler flags were specified, use CFLAGS.
10648 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10650 # Allow CC to be a program name with arguments.
10654 # save warnings/boilerplate of simple test code
10655 ac_outfile=conftest.$ac_objext
10656 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10657 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10658 _lt_compiler_boilerplate=`cat conftest.err
`
10661 ac_outfile=conftest.$ac_objext
10662 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10663 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10664 _lt_linker_boilerplate=`cat conftest.err
`
10669 lt_prog_compiler_no_builtin_flag=
10671 if test "$GCC" = yes; then
10672 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10675 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10676 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10677 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 lt_cv_prog_compiler_rtti_exceptions=no
10681 ac_outfile=conftest.$ac_objext
10682 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10683 lt_compiler_flag="-fno-rtti -fno-exceptions"
10684 # Insert the option either (1) after the last *FLAGS variable, or
10685 # (2) before a word containing "conftest.", or (3) at the end.
10686 # Note that $ac_compile itself does not contain backslashes and begins
10687 # with a dollar sign (not a hyphen), so the echo should work correctly.
10688 # The option is referenced via a variable to avoid confusing sed.
10689 lt_compile=`echo "$ac_compile" |
$SED \
10690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10692 -e 's:$: $lt_compiler_flag:'`
10693 (eval echo "\"\$as_me:10693: $lt_compile\"" >&5)
10694 (eval "$lt_compile" 2>conftest.err)
10696 cat conftest.err >&5
10697 echo "$as_me:10697: \$? = $ac_status" >&5
10698 if (exit $ac_status) && test -s "$ac_outfile"; then
10699 # The compiler can only warn and ignore the option if not recognized
10700 # So say no if there are warnings other than the usual output.
10701 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10702 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10703 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10704 lt_cv_prog_compiler_rtti_exceptions=yes
10710 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10711 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10713 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10714 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10721 lt_prog_compiler_wl=
10722 lt_prog_compiler_pic=
10723 lt_prog_compiler_static=
10725 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10726 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10728 if test "$GCC" = yes; then
10729 lt_prog_compiler_wl='-Wl,'
10730 lt_prog_compiler_static='-static'
10734 # All AIX code is PIC.
10735 if test "$host_cpu" = ia64; then
10736 # AIX 5 now supports IA64 processor
10737 lt_prog_compiler_static='-Bstatic'
10742 # FIXME: we need at least 68020 code to build shared libraries, but
10743 # adding the `-m68020' flag to GCC prevents building anything better,
10745 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10748 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10749 # PIC is the default for these OSes.
10752 mingw
* | cygwin
* | pw32
* | os2
*)
10753 # This hack is so that the source file can tell whether it is being
10754 # built for inclusion in a dll (and should export symbols for example).
10755 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10756 # (--disable-auto-import) libraries
10757 lt_prog_compiler_pic
='-DDLL_EXPORT'
10760 darwin
* | rhapsody
*)
10761 # PIC is the default on this platform
10762 # Common symbols not allowed in MH_DYLIB files
10763 lt_prog_compiler_pic
='-fno-common'
10767 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10768 # Instead, we relocate shared libraries at runtime.
10772 # Just because we use GCC doesn't mean we suddenly get shared libraries
10773 # on systems that don't support them.
10774 lt_prog_compiler_can_build_shared
=no
10779 if test -d /usr
/nec
; then
10780 lt_prog_compiler_pic
=-Kconform_pic
10785 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10786 # not for PA HP-UX.
10792 lt_prog_compiler_pic
='-fPIC'
10798 lt_prog_compiler_pic
='-fPIC'
10802 # PORTME Check for flag to pass linker flags through the system compiler.
10805 lt_prog_compiler_wl
='-Wl,'
10806 if test "$host_cpu" = ia64
; then
10807 # AIX 5 now supports IA64 processor
10808 lt_prog_compiler_static
='-Bstatic'
10810 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10814 # PIC is the default on this platform
10815 # Common symbols not allowed in MH_DYLIB files
10816 case $cc_basename in
10818 lt_prog_compiler_pic
='-qnocommon'
10819 lt_prog_compiler_wl
='-Wl,'
10824 mingw
* | cygwin
* | pw32
* | os2
*)
10825 # This hack is so that the source file can tell whether it is being
10826 # built for inclusion in a dll (and should export symbols for example).
10827 lt_prog_compiler_pic
='-DDLL_EXPORT'
10830 hpux9
* | hpux10
* | hpux11
*)
10831 lt_prog_compiler_wl
='-Wl,'
10832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10833 # not for PA HP-UX.
10839 lt_prog_compiler_pic
='+Z'
10842 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10843 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10846 irix5
* | irix6
* | nonstopux
*)
10847 lt_prog_compiler_wl
='-Wl,'
10848 # PIC (with -KPIC) is the default.
10849 lt_prog_compiler_static
='-non_shared'
10853 lt_prog_compiler_pic
='-KPIC'
10854 lt_prog_compiler_static
='-Bstatic'
10857 linux
* | k
*bsd
*-gnu)
10858 case $cc_basename in
10860 lt_prog_compiler_wl
='-Wl,'
10861 lt_prog_compiler_pic
='-KPIC'
10862 lt_prog_compiler_static
='-static'
10864 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10865 # Portland Group compilers (*not* the Pentium gcc compiler,
10866 # which looks to be a dead project)
10867 lt_prog_compiler_wl
='-Wl,'
10868 lt_prog_compiler_pic
='-fpic'
10869 lt_prog_compiler_static
='-Bstatic'
10872 lt_prog_compiler_wl
='-Wl,'
10873 # All Alpha code is PIC.
10874 lt_prog_compiler_static
='-non_shared'
10877 case `$CC -V 2>&1 | sed 5q` in
10880 lt_prog_compiler_pic
='-KPIC'
10881 lt_prog_compiler_static
='-Bstatic'
10882 lt_prog_compiler_wl
='-Wl,'
10885 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10886 lt_prog_compiler_pic
='-KPIC'
10887 lt_prog_compiler_static
='-Bstatic'
10888 lt_prog_compiler_wl
=''
10895 osf3
* | osf4
* | osf5
*)
10896 lt_prog_compiler_wl
='-Wl,'
10897 # All OSF/1 code is PIC.
10898 lt_prog_compiler_static
='-non_shared'
10902 lt_prog_compiler_static
='-non_shared'
10906 lt_prog_compiler_pic
='-KPIC'
10907 lt_prog_compiler_static
='-Bstatic'
10908 case $cc_basename in
10909 f77
* | f90
* | f95
*)
10910 lt_prog_compiler_wl
='-Qoption ld ';;
10912 lt_prog_compiler_wl
='-Wl,';;
10917 lt_prog_compiler_wl
='-Qoption ld '
10918 lt_prog_compiler_pic
='-PIC'
10919 lt_prog_compiler_static
='-Bstatic'
10922 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10923 lt_prog_compiler_wl
='-Wl,'
10924 lt_prog_compiler_pic
='-KPIC'
10925 lt_prog_compiler_static
='-Bstatic'
10929 if test -d /usr
/nec
;then
10930 lt_prog_compiler_pic
='-Kconform_pic'
10931 lt_prog_compiler_static
='-Bstatic'
10935 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10936 lt_prog_compiler_wl
='-Wl,'
10937 lt_prog_compiler_pic
='-KPIC'
10938 lt_prog_compiler_static
='-Bstatic'
10942 lt_prog_compiler_wl
='-Wl,'
10943 lt_prog_compiler_can_build_shared
=no
10947 lt_prog_compiler_pic
='-pic'
10948 lt_prog_compiler_static
='-Bstatic'
10952 lt_prog_compiler_can_build_shared
=no
10957 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10958 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10961 # Check to make sure the PIC flag actually works.
10963 if test -n "$lt_prog_compiler_pic"; then
10965 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10966 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10967 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 lt_cv_prog_compiler_pic_works
=no
10971 ac_outfile
=conftest.
$ac_objext
10972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10973 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10974 # Insert the option either (1) after the last *FLAGS variable, or
10975 # (2) before a word containing "conftest.", or (3) at the end.
10976 # Note that $ac_compile itself does not contain backslashes and begins
10977 # with a dollar sign (not a hyphen), so the echo should work correctly.
10978 # The option is referenced via a variable to avoid confusing sed.
10979 lt_compile
=`echo "$ac_compile" | $SED \
10980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10982 -e 's:$: $lt_compiler_flag:'`
10983 (eval echo "\"\$as_me:10983: $lt_compile\"" >&5)
10984 (eval "$lt_compile" 2>conftest.err
)
10986 cat conftest.err
>&5
10987 echo "$as_me:10987: \$? = $ac_status" >&5
10988 if (exit $ac_status) && test -s "$ac_outfile"; then
10989 # The compiler can only warn and ignore the option if not recognized
10990 # So say no if there are warnings other than the usual output.
10991 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10993 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10994 lt_cv_prog_compiler_pic_works
=yes
11000 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11001 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
11003 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
11004 case $lt_prog_compiler_pic in
11006 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11009 lt_prog_compiler_pic
=
11010 lt_prog_compiler_can_build_shared
=no
11015 # For platforms which do not support PIC, -DPIC is meaningless:
11017 lt_prog_compiler_pic
=
11020 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11025 # Check to make sure the static flag actually works.
11027 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11028 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11029 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11030 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 lt_cv_prog_compiler_static_works
=no
11034 save_LDFLAGS
="$LDFLAGS"
11035 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11036 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11037 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11038 # The linker can only warn and ignore the option if not recognized
11039 # So say no if there are warnings
11040 if test -s conftest.err
; then
11041 # Append any errors to the config.log.
11042 cat conftest.err
1>&5
11043 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11044 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11045 if diff conftest.exp conftest.er2
>/dev
/null
; then
11046 lt_cv_prog_compiler_static_works
=yes
11049 lt_cv_prog_compiler_static_works
=yes
11053 LDFLAGS
="$save_LDFLAGS"
11056 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
11057 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
11059 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
11062 lt_prog_compiler_static
=
11066 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11067 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 lt_cv_prog_compiler_c_o
=no
11072 $rm -r conftest
2>/dev
/null
11076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11078 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11079 # Insert the option either (1) after the last *FLAGS variable, or
11080 # (2) before a word containing "conftest.", or (3) at the end.
11081 # Note that $ac_compile itself does not contain backslashes and begins
11082 # with a dollar sign (not a hyphen), so the echo should work correctly.
11083 lt_compile
=`echo "$ac_compile" | $SED \
11084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11086 -e 's:$: $lt_compiler_flag:'`
11087 (eval echo "\"\$as_me:11087: $lt_compile\"" >&5)
11088 (eval "$lt_compile" 2>out
/conftest.err
)
11090 cat out
/conftest.err
>&5
11091 echo "$as_me:11091: \$? = $ac_status" >&5
11092 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11094 # The compiler can only warn and ignore the option if not recognized
11095 # So say no if there are warnings
11096 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11097 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11098 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11099 lt_cv_prog_compiler_c_o
=yes
11104 # SGI C++ compiler will create directory out/ii_files/ for
11105 # template instantiation
11106 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11107 $rm out
/* && rmdir out
11113 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11114 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11117 hard_links
="nottested"
11118 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
11119 # do not overwrite the value of need_locks provided by the user
11120 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11121 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11126 ln conftest.a conftest.b
2>&5 || hard_links
=no
11127 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11128 { echo "$as_me:$LINENO: result: $hard_links" >&5
11129 echo "${ECHO_T}$hard_links" >&6; }
11130 if test "$hard_links" = no
; then
11131 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11132 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11139 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11140 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11143 allow_undefined_flag
=
11144 enable_shared_with_static_runtimes
=no
11146 archive_expsym_cmds
=
11147 old_archive_From_new_cmds
=
11148 old_archive_from_expsyms_cmds
=
11149 export_dynamic_flag_spec
=
11150 whole_archive_flag_spec
=
11151 thread_safe_flag_spec
=
11152 hardcode_libdir_flag_spec
=
11153 hardcode_libdir_flag_spec_ld
=
11154 hardcode_libdir_separator
=
11156 hardcode_minus_L
=no
11157 hardcode_shlibpath_var
=unsupported
11158 link_all_deplibs
=unknown
11159 hardcode_automatic
=no
11161 module_expsym_cmds
=
11162 always_export_symbols
=no
11163 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11164 # include_expsyms should be a list of space-separated symbols to be *always*
11165 # included in the symbol list
11167 # exclude_expsyms can be an extended regexp of symbols to exclude
11168 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11169 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11170 # as well as any symbol that contains `d'.
11171 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11172 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11173 # platforms (ab)use it in PIC code, but their linkers get confused if
11174 # the symbol is explicitly referenced. Since portable code cannot
11175 # rely on this symbol name, it's probably fine to never include it in
11176 # preloaded symbol tables.
11177 # Exclude shared library initialization/finalization symbols.
11178 extract_expsyms_cmds
=
11179 # Just being paranoid about ensuring that cc_basename is set.
11180 for cc_temp
in $compiler""; do
11182 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11183 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11188 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11191 cygwin
* | mingw
* | pw32
*)
11192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11193 # When not using gcc, we currently assume that we are using
11194 # Microsoft Visual C++.
11195 if test "$GCC" != yes; then
11200 # we just hope/assume this is gcc and not c89 (= MSVC++)
11209 if test "$with_gnu_ld" = yes; then
11210 # If archive_cmds runs LD, not CC, wlarc should be empty
11213 # Set some defaults for GNU ld with shared library support. These
11214 # are reset later if shared libraries are not supported. Putting them
11215 # here allows them to be overridden if necessary.
11216 runpath_var
=LD_RUN_PATH
11217 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
11218 export_dynamic_flag_spec
='${wl}--export-dynamic'
11219 # ancient GNU ld didn't support --whole-archive et. al.
11220 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
11221 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11223 whole_archive_flag_spec
=
11225 supports_anon_versioning
=no
11226 case `$LD -v 2>/dev/null` in
11227 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11228 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11229 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11230 *\
2.11.
*) ;; # other 2.11 versions
11231 *) supports_anon_versioning
=yes ;;
11234 # See if GNU ld supports shared libraries.
11237 # On AIX/PPC, the GNU linker is very broken
11238 if test "$host_cpu" != ia64
; then
11242 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11243 *** to be unable to reliably create shared libraries on AIX.
11244 *** Therefore, libtool is disabling shared libraries support. If you
11245 *** really care for shared libraries, you may want to modify your PATH
11246 *** so that a non-GNU linker is found, and then restart.
11253 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)'
11254 hardcode_libdir_flag_spec
='-L$libdir'
11255 hardcode_minus_L
=yes
11257 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11258 # that the semantics of dynamic libraries on AmigaOS, at least up
11259 # to version 4, is to share data among multiple programs linked
11260 # with the same dynamic library. Since this doesn't match the
11261 # behavior of shared libraries on other platforms, we can't use
11267 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11268 allow_undefined_flag
=unsupported
11269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11270 # support --undefined. This deserves some investigation. FIXME
11271 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11277 cygwin
* | mingw
* | pw32
*)
11278 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11279 # as there is no search path for DLLs.
11280 hardcode_libdir_flag_spec
='-L$libdir'
11281 allow_undefined_flag
=unsupported
11282 always_export_symbols
=no
11283 enable_shared_with_static_runtimes
=yes
11284 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11286 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
11287 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11288 # If the export-symbols file already is a .def file (1st line
11289 # is EXPORTS), use it as is; otherwise, prepend...
11290 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11291 cp $export_symbols $output_objdir/$soname.def;
11293 echo EXPORTS > $output_objdir/$soname.def;
11294 cat $export_symbols >> $output_objdir/$soname.def;
11296 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11304 hardcode_shlibpath_var
=no
11305 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11306 export_dynamic_flag_spec
='${wl}-E'
11307 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11308 # Instead, shared libraries are loaded at an image base (0x10000000 by
11309 # default) and relocated if they conflict, which is a slow very memory
11310 # consuming and fragmenting process. To avoid this, we pick a random,
11311 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11312 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11313 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11314 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'
11317 gnu
* | linux
* | k
*bsd
*-gnu)
11318 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11320 case $cc_basename,$host_cpu in
11321 pgcc
*) # Portland Group C compiler
11322 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'
11323 tmp_addflag
=' $pic_flag'
11325 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11326 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'
11327 tmp_addflag
=' $pic_flag -Mnomain' ;;
11328 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11329 tmp_addflag
=' -i_dynamic' ;;
11330 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11331 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11332 ifc
* | ifort
*) # Intel Fortran compiler
11333 tmp_addflag
=' -nofor_main' ;;
11335 case `$CC -V 2>&1 | sed 5q` in
11336 *Sun\ C
*) # Sun C 5.9
11337 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'
11338 tmp_sharedflag
='-G' ;;
11339 *Sun\ F
*) # Sun Fortran 8.3
11340 tmp_sharedflag
='-G' ;;
11342 tmp_sharedflag
='-shared' ;;
11344 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11346 if test $supports_anon_versioning = yes; then
11347 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
11348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11349 $echo "local: *; };" >> $output_objdir/$libname.ver~
11350 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11352 link_all_deplibs
=no
11358 netbsd
* | netbsdelf
*-gnu)
11359 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11360 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11364 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11369 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
11373 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11374 *** create shared libraries on Solaris systems. Therefore, libtool
11375 *** is disabling shared libraries support. We urge you to upgrade GNU
11376 *** binutils to release 2.9.1 or newer. Another option is to modify
11377 *** your PATH or compiler configuration so that the native linker is
11378 *** used, and then restart.
11381 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11383 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11389 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11390 case `$LD -v 2>&1` in
11391 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11395 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11396 *** reliably create shared libraries on SCO systems. Therefore, libtool
11397 *** is disabling shared libraries support. We urge you to upgrade GNU
11398 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11399 *** your PATH or compiler configuration so that the native linker is
11400 *** used, and then restart.
11405 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11406 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
11407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
11408 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
11417 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11419 hardcode_direct
=yes
11420 hardcode_shlibpath_var
=no
11424 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11425 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11426 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11433 if test "$ld_shlibs" = no
; then
11435 hardcode_libdir_flag_spec
=
11436 export_dynamic_flag_spec
=
11437 whole_archive_flag_spec
=
11440 # PORTME fill in a description of your system's linker (not GNU ld)
11443 allow_undefined_flag
=unsupported
11444 always_export_symbols
=yes
11445 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'
11446 # Note: this linker hardcodes the directories in LIBPATH if there
11447 # are no directories specified by -L.
11448 hardcode_minus_L
=yes
11449 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11450 # Neither direct hardcoding nor static linking is supported with a
11452 hardcode_direct
=unsupported
11457 if test "$host_cpu" = ia64
; then
11458 # On IA64, the linker does run time linking by default, so we don't
11459 # have to do anything special.
11460 aix_use_runtimelinking
=no
11461 exp_sym_flag
='-Bexport'
11464 # If we're using GNU nm, then we don't want the "-C" option.
11465 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11466 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11467 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'
11469 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'
11471 aix_use_runtimelinking
=no
11473 # Test if we are trying to use run time linking or normal
11474 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11475 # need to do runtime linking.
11476 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11477 for ld_flag
in $LDFLAGS; do
11478 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11479 aix_use_runtimelinking
=yes
11486 exp_sym_flag
='-bexport'
11487 no_entry_flag
='-bnoentry'
11490 # When large executables or shared objects are built, AIX ld can
11491 # have problems creating the table of contents. If linking a library
11492 # or program results in "error TOC overflow" add -mminimal-toc to
11493 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11494 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11497 hardcode_direct
=yes
11498 hardcode_libdir_separator
=':'
11499 link_all_deplibs
=yes
11501 if test "$GCC" = yes; then
11502 case $host_os in aix4.
[012]|aix4.
[012].
*)
11503 # We only want to do this on AIX 4.2 and lower, the check
11504 # below for broken collect2 doesn't work under 4.3+
11505 collect2name
=`${CC} -print-prog-name=collect2`
11506 if test -f "$collect2name" && \
11507 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
11509 # We have reworked collect2
11512 # We have old collect2
11513 hardcode_direct
=unsupported
11514 # It fails to find uninstalled libraries when the uninstalled
11515 # path is not listed in the libpath. Setting hardcode_minus_L
11516 # to unsupported forces relinking
11517 hardcode_minus_L
=yes
11518 hardcode_libdir_flag_spec
='-L$libdir'
11519 hardcode_libdir_separator
=
11523 shared_flag
='-shared'
11524 if test "$aix_use_runtimelinking" = yes; then
11525 shared_flag
="$shared_flag "'${wl}-G'
11529 if test "$host_cpu" = ia64
; then
11530 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11531 # chokes on -Wl,-G. The following line is correct:
11534 if test "$aix_use_runtimelinking" = yes; then
11535 shared_flag
='${wl}-G'
11537 shared_flag
='${wl}-bM:SRE'
11542 # It seems that -bexpall does not export symbols beginning with
11543 # underscore (_), so it is better to generate a list of symbols to export.
11544 always_export_symbols
=yes
11545 if test "$aix_use_runtimelinking" = yes; then
11546 # Warning - without using the other runtime loading flags (-brtl),
11547 # -berok will link without error, but may produce a broken library.
11548 allow_undefined_flag
='-berok'
11549 # Determine the default libpath from the value encoded in an empty executable.
11550 cat >conftest.
$ac_ext <<_ACEOF
11553 cat confdefs.h
>>conftest.
$ac_ext
11554 cat >>conftest.
$ac_ext <<_ACEOF
11555 /* end confdefs.h. */
11565 rm -f conftest.
$ac_objext conftest
$ac_exeext
11566 if { (ac_try
="$ac_link"
11567 case "(($ac_try" in
11568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;;
11571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 (eval "$ac_link") 2>conftest.er1
11574 grep -v '^ *+' conftest.er1 >conftest.err
11576 cat conftest.err >&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } && {
11579 test -z "$ac_c_werror_flag" ||
11580 test ! -s conftest.err
11581 } && test -s conftest$ac_exeext &&
11582 $as_test_x conftest$ac_exeext; then
11584 lt_aix_libpath_sed='
11585 /Import File Strings/,/^$/ {
11591 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11592 # Check for a 64-bit object if we didn't find anything.
11593 if test -z "$aix_libpath"; then
11594 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11604 conftest$ac_exeext conftest.$ac_ext
11605 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11607 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11608 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"
11610 if test "$host_cpu" = ia64; then
11611 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11612 allow_undefined_flag="-z nodefs"
11613 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"
11615 # Determine the default libpath from the value encoded in an empty executable.
11616 cat >conftest.$ac_ext <<_ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11631 rm -f conftest.$ac_objext conftest$ac_exeext
11632 if { (ac_try="$ac_link"
11633 case "(($ac_try" in
11634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11635 *) ac_try_echo
=$ac_try;;
11637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11638 (eval "$ac_link") 2>conftest.er1
11640 grep -v '^ *+' conftest.er1
>conftest.err
11642 cat conftest.err
>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } && {
11645 test -z "$ac_c_werror_flag" ||
11646 test ! -s conftest.err
11647 } && test -s conftest
$ac_exeext &&
11648 $as_test_x conftest
$ac_exeext; then
11650 lt_aix_libpath_sed
='
11651 /Import File Strings/,/^$/ {
11657 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11658 # Check for a 64-bit object if we didn't find anything.
11659 if test -z "$aix_libpath"; then
11660 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11673 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11674 # Warning - without using the other run time loading flags,
11675 # -berok will link without error, but may produce a broken library.
11676 no_undefined_flag
=' ${wl}-bernotok'
11677 allow_undefined_flag
=' ${wl}-berok'
11678 # Exported symbols can be pulled into shared objects from archives
11679 whole_archive_flag_spec
='$convenience'
11680 archive_cmds_need_lc
=yes
11681 # This is similar to how AIX traditionally builds its shared libraries.
11682 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'
11688 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)'
11689 hardcode_libdir_flag_spec
='-L$libdir'
11690 hardcode_minus_L
=yes
11691 # see comment about different semantics on the GNU ld section
11696 export_dynamic_flag_spec
=-rdynamic
11699 cygwin
* | mingw
* | pw32
*)
11700 # When not using gcc, we currently assume that we are using
11701 # Microsoft Visual C++.
11702 # hardcode_libdir_flag_spec is actually meaningless, as there is
11703 # no search path for DLLs.
11704 hardcode_libdir_flag_spec
=' '
11705 allow_undefined_flag
=unsupported
11706 # Tell ltmain to make .lib files, not .a files.
11708 # Tell ltmain to make .dll files, not .so files.
11710 # FIXME: Setting linknames here is a bad hack.
11711 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11712 # The linker will automatically build a .lib file if we build a DLL.
11713 old_archive_From_new_cmds
='true'
11714 # FIXME: Should let the user specify the lib program.
11715 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11716 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11717 enable_shared_with_static_runtimes
=yes
11720 darwin
* | rhapsody
*)
11722 rhapsody
* | darwin1.
[012])
11723 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
11726 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11727 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11729 case ${MACOSX_DEPLOYMENT_TARGET} in
11731 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11734 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
11740 archive_cmds_need_lc
=no
11742 hardcode_automatic
=yes
11743 hardcode_shlibpath_var
=unsupported
11744 whole_archive_flag_spec
=''
11745 link_all_deplibs
=yes
11746 if test "$GCC" = yes ; then
11747 output_verbose_link_cmd
='echo'
11748 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11749 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11750 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}"
11751 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}"
11753 case $cc_basename in
11755 output_verbose_link_cmd
='echo'
11756 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11757 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11758 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11759 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}'
11760 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}'
11770 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11771 hardcode_libdir_flag_spec
='-L$libdir'
11772 hardcode_shlibpath_var
=no
11779 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11780 # support. Future versions do this automatically, but an explicit c++rt0.o
11781 # does not break anything, and helps significantly (at the cost of a little
11784 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11785 hardcode_libdir_flag_spec
='-R$libdir'
11786 hardcode_direct
=yes
11787 hardcode_shlibpath_var
=no
11790 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11792 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11793 hardcode_direct
=yes
11794 hardcode_minus_L
=yes
11795 hardcode_shlibpath_var
=no
11798 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11799 freebsd
* | dragonfly
*)
11800 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11801 hardcode_libdir_flag_spec
='-R$libdir'
11802 hardcode_direct
=yes
11803 hardcode_shlibpath_var
=no
11807 if test "$GCC" = yes; then
11808 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'
11810 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'
11812 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11813 hardcode_libdir_separator
=:
11814 hardcode_direct
=yes
11816 # hardcode_minus_L: Not really in the search PATH,
11817 # but as the default location of the library.
11818 hardcode_minus_L
=yes
11819 export_dynamic_flag_spec
='${wl}-E'
11823 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11824 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11826 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11828 if test "$with_gnu_ld" = no
; then
11829 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11830 hardcode_libdir_separator
=:
11832 hardcode_direct
=yes
11833 export_dynamic_flag_spec
='${wl}-E'
11835 # hardcode_minus_L: Not really in the search PATH,
11836 # but as the default location of the library.
11837 hardcode_minus_L
=yes
11842 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11845 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11848 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11851 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11857 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11860 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11863 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11867 if test "$with_gnu_ld" = no
; then
11868 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11869 hardcode_libdir_separator
=:
11873 hardcode_libdir_flag_spec_ld
='+b $libdir'
11875 hardcode_shlibpath_var
=no
11878 hardcode_direct
=yes
11879 export_dynamic_flag_spec
='${wl}-E'
11881 # hardcode_minus_L: Not really in the search PATH,
11882 # but as the default location of the library.
11883 hardcode_minus_L
=yes
11889 irix5
* | irix6
* | nonstopux
*)
11890 if test "$GCC" = yes; then
11891 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'
11893 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'
11894 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11896 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11897 hardcode_libdir_separator
=:
11898 link_all_deplibs
=yes
11901 netbsd
* | netbsdelf
*-gnu)
11902 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11905 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11907 hardcode_libdir_flag_spec
='-R$libdir'
11908 hardcode_direct
=yes
11909 hardcode_shlibpath_var
=no
11913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11914 hardcode_direct
=yes
11915 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11916 hardcode_libdir_separator
=:
11917 hardcode_shlibpath_var
=no
11921 if test -f /usr
/libexec
/ld.so
; then
11922 hardcode_direct
=yes
11923 hardcode_shlibpath_var
=no
11924 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11925 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11926 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11927 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11928 export_dynamic_flag_spec
='${wl}-E'
11931 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11932 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11933 hardcode_libdir_flag_spec
='-R$libdir'
11936 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11937 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11947 hardcode_libdir_flag_spec
='-L$libdir'
11948 hardcode_minus_L
=yes
11949 allow_undefined_flag
=unsupported
11950 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'
11951 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11955 if test "$GCC" = yes; then
11956 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11957 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'
11959 allow_undefined_flag
=' -expect_unresolved \*'
11960 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'
11962 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11963 hardcode_libdir_separator
=:
11966 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11967 if test "$GCC" = yes; then
11968 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11969 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'
11970 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11972 allow_undefined_flag
=' -expect_unresolved \*'
11973 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'
11974 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11975 $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'
11977 # Both c and cxx compiler support -rpath directly
11978 hardcode_libdir_flag_spec
='-rpath $libdir'
11980 hardcode_libdir_separator
=:
11984 no_undefined_flag
=' -z text'
11985 if test "$GCC" = yes; then
11987 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11988 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11989 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11992 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11993 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11994 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11996 hardcode_libdir_flag_spec
='-R$libdir'
11997 hardcode_shlibpath_var
=no
11999 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12001 # The compiler driver will combine and reorder linker options,
12002 # but understands `-z linker_flag'. GCC discards it without `$wl',
12003 # but is careful enough not to reorder.
12004 # Supported since Solaris 2.6 (maybe 2.5.1?)
12005 if test "$GCC" = yes; then
12006 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12008 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12012 link_all_deplibs
=yes
12016 if test "x$host_vendor" = xsequent
; then
12017 # Use $CC to link under sequent, because it throws in some extra .o
12018 # files that make .init and .fini sections work.
12019 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12021 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12023 hardcode_libdir_flag_spec
='-L$libdir'
12024 hardcode_direct
=yes
12025 hardcode_minus_L
=yes
12026 hardcode_shlibpath_var
=no
12030 case $host_vendor in
12032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12033 hardcode_direct
=yes # is this really true???
12036 ## LD is ld it makes a PLAMLIB
12037 ## CC just makes a GrossModule.
12038 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12039 reload_cmds
='$CC -r -o $output$reload_objs'
12043 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12044 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12047 runpath_var
='LD_RUN_PATH'
12048 hardcode_shlibpath_var
=no
12052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12053 hardcode_shlibpath_var
=no
12054 export_dynamic_flag_spec
='-Bexport'
12058 if test -d /usr
/nec
; then
12059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12060 hardcode_shlibpath_var
=no
12061 runpath_var
=LD_RUN_PATH
12062 hardcode_runpath_var
=yes
12067 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12068 no_undefined_flag
='${wl}-z,text'
12069 archive_cmds_need_lc
=no
12070 hardcode_shlibpath_var
=no
12071 runpath_var
='LD_RUN_PATH'
12073 if test "$GCC" = yes; then
12074 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12078 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12082 sysv5
* | sco3.2v5
* | sco5v6
*)
12083 # Note: We can NOT use -z defs as we might desire, because we do not
12084 # link with -lc, and that would cause any symbols used from libc to
12085 # always be unresolved, which means just about no library would
12086 # ever link correctly. If we're not using GNU ld we use -z text
12087 # though, which does catch some bad symbols but isn't as heavy-handed
12089 no_undefined_flag
='${wl}-z,text'
12090 allow_undefined_flag
='${wl}-z,nodefs'
12091 archive_cmds_need_lc
=no
12092 hardcode_shlibpath_var
=no
12093 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12094 hardcode_libdir_separator
=':'
12095 link_all_deplibs
=yes
12096 export_dynamic_flag_spec
='${wl}-Bexport'
12097 runpath_var
='LD_RUN_PATH'
12099 if test "$GCC" = yes; then
12100 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12101 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12103 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12110 hardcode_libdir_flag_spec
='-L$libdir'
12111 hardcode_shlibpath_var
=no
12120 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12121 echo "${ECHO_T}$ld_shlibs" >&6; }
12122 test "$ld_shlibs" = no
&& can_build_shared
=no
12125 # Do we need to explicitly link libc?
12127 case "x$archive_cmds_need_lc" in
12129 # Assume -lc should be added
12130 archive_cmds_need_lc
=yes
12132 if test "$enable_shared" = yes && test "$GCC" = yes; then
12133 case $archive_cmds in
12135 # FIXME: we may have to deal with multi-command sequences.
12138 # Test whether the compiler implicitly links with -lc since on some
12139 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12140 # to ld, don't add -lc before -lgcc.
12141 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12142 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12144 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12147 (eval $ac_compile) 2>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } 2>conftest.err
; then
12153 libobjs
=conftest.
$ac_objext
12155 wl
=$lt_prog_compiler_wl
12156 pic_flag
=$lt_prog_compiler_pic
12162 lt_save_allow_undefined_flag
=$allow_undefined_flag
12163 allow_undefined_flag
=
12164 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12165 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }
12170 archive_cmds_need_lc
=no
12172 archive_cmds_need_lc
=yes
12174 allow_undefined_flag
=$lt_save_allow_undefined_flag
12176 cat conftest.err
1>&5
12179 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12180 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
12187 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12188 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12189 library_names_spec
=
12190 libname_spec
='lib$name'
12194 postuninstall_cmds
=
12198 shlibpath_overrides_runpath
=unknown
12200 dynamic_linker
="$host_os ld.so"
12201 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12203 if test "$GCC" = yes; then
12205 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12206 *) lt_awk_arg
="/^libraries:/" ;;
12208 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12209 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
12210 # if the path contains ";" then we assume it to be the separator
12211 # otherwise default to the standard path separator (i.e. ":") - it is
12212 # assumed that no part of a normal pathname contains ";" but that should
12213 # okay in the real world where ";" in dirpaths is itself problematic.
12214 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12216 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12218 # Ok, now we have the path, separated by spaces, we can step through it
12219 # and add multilib dir if necessary.
12220 lt_tmp_lt_search_path_spec
=
12221 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12222 for lt_sys_path
in $lt_search_path_spec; do
12223 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12224 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12226 test -d "$lt_sys_path" && \
12227 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12230 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
12231 BEGIN {RS=" "; FS="/|\n";} {
12234 for (lt_i = NF; lt_i > 0; lt_i--) {
12235 if ($lt_i != "" && $lt_i != ".") {
12236 if ($lt_i == "..") {
12239 if (lt_count == 0) {
12240 lt_foo="/" $lt_i lt_foo;
12247 if (lt_foo != "") { lt_freq[lt_foo]++; }
12248 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12250 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
12252 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12254 need_lib_prefix
=unknown
12255 hardcode_into_libs
=no
12257 # when you set need_version to no, make sure it does not cause -set_version
12258 # flags to be left without arguments
12259 need_version
=unknown
12264 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12265 shlibpath_var
=LIBPATH
12267 # AIX 3 has no versioning support, so we append a major version to the name.
12268 soname_spec
='${libname}${release}${shared_ext}$major'
12275 hardcode_into_libs
=yes
12276 if test "$host_cpu" = ia64
; then
12277 # AIX 5 supports IA64
12278 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12279 shlibpath_var
=LD_LIBRARY_PATH
12281 # With GCC up to 2.95.x, collect2 would create an import file
12282 # for dependence libraries. The import file would start with
12283 # the line `#! .'. This would cause the generated library to
12284 # depend on `.', always an invalid library. This was fixed in
12285 # development snapshots of GCC prior to 3.0.
12287 aix4 | aix4.
[01] | aix4.
[01].
*)
12288 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12290 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12293 can_build_shared
=no
12297 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12298 # soname into executable. Probably we can add versioning support to
12299 # collect2, so additional links can be useful in future.
12300 if test "$aix_use_runtimelinking" = yes; then
12301 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12302 # instead of lib<name>.a to let people know that these are not
12303 # typical AIX shared libraries.
12304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12306 # We preserve .a as extension for shared libraries through AIX4.2
12307 # and later when we are not doing run time linking.
12308 library_names_spec
='${libname}${release}.a $libname.a'
12309 soname_spec
='${libname}${release}${shared_ext}$major'
12311 shlibpath_var
=LIBPATH
12316 library_names_spec
='$libname.ixlibrary $libname.a'
12317 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12318 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'
12322 library_names_spec
='${libname}${shared_ext}'
12323 dynamic_linker
="$host_os ld.so"
12324 shlibpath_var
=LIBRARY_PATH
12330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12331 soname_spec
='${libname}${release}${shared_ext}$major'
12332 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12333 shlibpath_var
=LD_LIBRARY_PATH
12334 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12335 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12336 # the default ld.so.conf also contains /usr/contrib/lib and
12337 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12338 # libtool to hard-code these into programs
12341 cygwin
* | mingw
* | pw32
*)
12342 version_type
=windows
12347 case $GCC,$host_os in
12348 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12349 library_names_spec
='$libname.dll.a'
12350 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12351 postinstall_cmds
='base_file=`basename \${file}`~
12352 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12353 dldir=$destdir/`dirname \$dlpath`~
12354 test -d \$dldir || mkdir -p \$dldir~
12355 $install_prog $dir/$dlname \$dldir/$dlname~
12356 chmod a+x \$dldir/$dlname'
12357 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12358 dlpath=$dir/\$dldll~
12360 shlibpath_overrides_runpath
=yes
12364 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12365 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12366 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12369 # MinGW DLLs use traditional 'lib' prefix
12370 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12371 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12372 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12373 # It is most probably a Windows format PATH printed by
12374 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12375 # path with ; separators, and with drive letters. We can handle the
12376 # drive letters (cygwin fileutils understands them), so leave them,
12377 # especially as we might pass files found there to a mingw objdump,
12378 # which wouldn't understand a cygwinified path. Ahh.
12379 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12381 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12385 # pw32 DLLs use 'pw' prefix rather than 'lib'
12386 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12392 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12395 dynamic_linker
='Win32 ld.exe'
12396 # FIXME: first we should search . and the directory the executable is in
12400 darwin
* | rhapsody
*)
12401 dynamic_linker
="$host_os dyld"
12402 version_type
=darwin
12405 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12406 soname_spec
='${libname}${release}${major}$shared_ext'
12407 shlibpath_overrides_runpath
=yes
12408 shlibpath_var
=DYLD_LIBRARY_PATH
12409 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12411 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12412 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12420 soname_spec
='${libname}${release}${shared_ext}$major'
12421 shlibpath_var
=LD_LIBRARY_PATH
12428 freebsd
* | dragonfly
*)
12429 # DragonFly does not have aout. When/if they implement a new
12430 # versioning mechanism, adjust this.
12431 if test -x /usr
/bin
/objformat
; then
12432 objformat
=`/usr/bin/objformat`
12435 freebsd
[123]*) objformat
=aout
;;
12436 *) objformat
=elf
;;
12439 version_type
=freebsd-
$objformat
12440 case $version_type in
12442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12447 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12451 shlibpath_var
=LD_LIBRARY_PATH
12454 shlibpath_overrides_runpath
=yes
12456 freebsd3.
[01]* | freebsdelf3.
[01]*)
12457 shlibpath_overrides_runpath
=yes
12458 hardcode_into_libs
=yes
12460 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12461 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12462 shlibpath_overrides_runpath
=no
12463 hardcode_into_libs
=yes
12465 *) # from 4.6 on, and DragonFly
12466 shlibpath_overrides_runpath
=yes
12467 hardcode_into_libs
=yes
12476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12477 soname_spec
='${libname}${release}${shared_ext}$major'
12478 shlibpath_var
=LD_LIBRARY_PATH
12479 hardcode_into_libs
=yes
12482 hpux9
* | hpux10
* | hpux11
*)
12483 # Give a soname corresponding to the major version so that dld.sl refuses to
12484 # link against other versions.
12491 hardcode_into_libs
=yes
12492 dynamic_linker
="$host_os dld.so"
12493 shlibpath_var
=LD_LIBRARY_PATH
12494 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12496 soname_spec
='${libname}${release}${shared_ext}$major'
12497 if test "X$HPUX_IA64_MODE" = X32
; then
12498 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12500 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12502 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12506 hardcode_into_libs
=yes
12507 dynamic_linker
="$host_os dld.sl"
12508 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12509 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12511 soname_spec
='${libname}${release}${shared_ext}$major'
12512 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12513 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12517 dynamic_linker
="$host_os dld.sl"
12518 shlibpath_var
=SHLIB_PATH
12519 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12521 soname_spec
='${libname}${release}${shared_ext}$major'
12524 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12525 postinstall_cmds
='chmod 555 $lib'
12532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12533 soname_spec
='${libname}${release}${shared_ext}$major'
12534 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12535 shlibpath_var
=LD_LIBRARY_PATH
12536 shlibpath_overrides_runpath
=no
12537 hardcode_into_libs
=yes
12540 irix5
* | irix6
* | nonstopux
*)
12542 nonstopux
*) version_type
=nonstopux
;;
12544 if test "$lt_cv_prog_gnu_ld" = yes; then
12552 soname_spec
='${libname}${release}${shared_ext}$major'
12553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12555 irix5
* | nonstopux
*)
12556 libsuff
= shlibsuff
=
12559 case $LD in # libtool.m4 will add one of these switches to LD
12560 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12561 libsuff
= shlibsuff
= libmagic
=32-bit;;
12562 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12563 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12564 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12565 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12566 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12570 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12571 shlibpath_overrides_runpath
=no
12572 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12573 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12574 hardcode_into_libs
=yes
12577 # No shared lib support for Linux oldld, aout, or coff.
12578 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12582 # This must be Linux ELF.
12583 linux
* | k
*bsd
*-gnu)
12587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12588 soname_spec
='${libname}${release}${shared_ext}$major'
12589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12590 shlibpath_var
=LD_LIBRARY_PATH
12591 shlibpath_overrides_runpath
=no
12592 # This implies no fast_install, which is unacceptable.
12593 # Some rework will be needed to allow for fast_install
12594 # before this can be enabled.
12595 hardcode_into_libs
=yes
12597 # Append ld.so.conf contents to the search path
12598 if test -f /etc
/ld.so.conf
; then
12599 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' ' '`
12600 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12603 # We used to test for /lib/ld.so.1 and disable shared libraries on
12604 # powerpc, because MkLinux only supported shared libraries with the
12605 # GNU dynamic linker. Since this was broken with cross compilers,
12606 # most powerpc-linux boxes support dynamic linking these days and
12607 # people can always --disable-shared, the test was removed, and we
12608 # assume the GNU/Linux dynamic linker is in use.
12609 dynamic_linker
='GNU/Linux ld.so'
12616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12617 soname_spec
='${libname}${release}${shared_ext}$major'
12618 shlibpath_var
=LD_LIBRARY_PATH
12619 shlibpath_overrides_runpath
=no
12620 hardcode_into_libs
=yes
12621 dynamic_linker
='NetBSD ld.elf_so'
12628 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12630 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12631 dynamic_linker
='NetBSD (a.out) ld.so'
12633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12634 soname_spec
='${libname}${release}${shared_ext}$major'
12635 dynamic_linker
='NetBSD ld.elf_so'
12637 shlibpath_var
=LD_LIBRARY_PATH
12638 shlibpath_overrides_runpath
=yes
12639 hardcode_into_libs
=yes
12644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645 shlibpath_var
=LD_LIBRARY_PATH
12646 shlibpath_overrides_runpath
=yes
12653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654 soname_spec
='${libname}${release}${shared_ext}$major'
12655 shlibpath_var
=LD_LIBRARY_PATH
12656 shlibpath_overrides_runpath
=yes
12661 sys_lib_dlsearch_path_spec
="/usr/lib"
12663 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12665 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12666 *) need_version
=no
;;
12668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12669 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12670 shlibpath_var
=LD_LIBRARY_PATH
12671 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12673 openbsd2.
[89] | openbsd2.
[89].
*)
12674 shlibpath_overrides_runpath
=no
12677 shlibpath_overrides_runpath
=yes
12681 shlibpath_overrides_runpath
=yes
12686 libname_spec
='$name'
12689 library_names_spec
='$libname${shared_ext} $libname.a'
12690 dynamic_linker
='OS/2 ld.exe'
12691 shlibpath_var
=LIBPATH
12694 osf3
* | osf4
* | osf5
*)
12698 soname_spec
='${libname}${release}${shared_ext}$major'
12699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12700 shlibpath_var
=LD_LIBRARY_PATH
12701 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12702 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12714 soname_spec
='${libname}${release}${shared_ext}$major'
12715 shlibpath_var
=LD_LIBRARY_PATH
12716 shlibpath_overrides_runpath
=yes
12717 hardcode_into_libs
=yes
12718 # ldd complains unless libraries are executable
12719 postinstall_cmds
='chmod +x $lib'
12724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12725 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12726 shlibpath_var
=LD_LIBRARY_PATH
12727 shlibpath_overrides_runpath
=yes
12728 if test "$with_gnu_ld" = yes; then
12736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12737 soname_spec
='${libname}${release}${shared_ext}$major'
12738 shlibpath_var
=LD_LIBRARY_PATH
12739 case $host_vendor in
12741 shlibpath_overrides_runpath
=no
12743 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12744 runpath_var
=LD_RUN_PATH
12752 shlibpath_overrides_runpath
=no
12753 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12759 if test -d /usr
/nec
;then
12761 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12762 soname_spec
='$libname${shared_ext}.$major'
12763 shlibpath_var
=LD_LIBRARY_PATH
12767 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12768 version_type
=freebsd-elf
12771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12772 soname_spec
='${libname}${release}${shared_ext}$major'
12773 shlibpath_var
=LD_LIBRARY_PATH
12774 hardcode_into_libs
=yes
12775 if test "$with_gnu_ld" = yes; then
12776 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12777 shlibpath_overrides_runpath
=no
12779 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12780 shlibpath_overrides_runpath
=yes
12783 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12787 sys_lib_dlsearch_path_spec
='/usr/lib'
12792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12793 soname_spec
='${libname}${release}${shared_ext}$major'
12794 shlibpath_var
=LD_LIBRARY_PATH
12801 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12802 echo "${ECHO_T}$dynamic_linker" >&6; }
12803 test "$dynamic_linker" = no
&& can_build_shared
=no
12805 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
12811 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12812 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
12818 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12820 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12821 if test "$GCC" = yes; then
12822 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12825 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12826 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12828 if test -n "$hardcode_libdir_flag_spec" || \
12829 test -n "$runpath_var" || \
12830 test "X$hardcode_automatic" = "Xyes" ; then
12832 # We can hardcode non-existant directories.
12833 if test "$hardcode_direct" != no
&&
12834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12835 # have to relink, otherwise we might link with an installed library
12836 # when we should be linking with a yet-to-be-installed one
12837 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12838 test "$hardcode_minus_L" != no
; then
12839 # Linking always hardcodes the temporary library directory.
12840 hardcode_action
=relink
12842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12843 hardcode_action
=immediate
12846 # We cannot hardcode anything, or else we can only hardcode existing
12848 hardcode_action
=unsupported
12850 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
12851 echo "${ECHO_T}$hardcode_action" >&6; }
12853 if test "$hardcode_action" = relink
; then
12854 # Fast installation is not supported
12855 enable_fast_install
=no
12856 elif test "$shlibpath_overrides_runpath" = yes ||
12857 test "$enable_shared" = no
; then
12858 # Fast installation is not necessary
12859 enable_fast_install
=needless
12864 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12865 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12866 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12867 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12868 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12869 { echo "$as_me:$LINENO: result: yes" >&5
12870 echo "${ECHO_T}yes" >&6; }
12872 # FIXME - insert some real tests, host_os isn't really good enough
12875 if test -n "$STRIP" ; then
12876 striplib
="$STRIP -x"
12877 old_striplib
="$STRIP -S"
12878 { echo "$as_me:$LINENO: result: yes" >&5
12879 echo "${ECHO_T}yes" >&6; }
12881 { echo "$as_me:$LINENO: result: no" >&5
12882 echo "${ECHO_T}no" >&6; }
12886 { echo "$as_me:$LINENO: result: no" >&5
12887 echo "${ECHO_T}no" >&6; }
12892 if test "x$enable_dlopen" != xyes
; then
12893 enable_dlopen
=unknown
12894 enable_dlopen_self
=unknown
12895 enable_dlopen_self_static
=unknown
12902 lt_cv_dlopen
="load_add_on"
12904 lt_cv_dlopen_self
=yes
12908 lt_cv_dlopen
="LoadLibrary"
12913 lt_cv_dlopen
="dlopen"
12918 # if libdl is installed we need to link against it
12919 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12920 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12921 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 ac_check_lib_save_LIBS
=$LIBS
12926 cat >conftest.
$ac_ext <<_ACEOF
12929 cat confdefs.h
>>conftest.
$ac_ext
12930 cat >>conftest.
$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12948 rm -f conftest.
$ac_objext conftest
$ac_exeext
12949 if { (ac_try
="$ac_link"
12950 case "(($ac_try" in
12951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12952 *) ac_try_echo=$ac_try;;
12954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12955 (eval "$ac_link") 2>conftest.er1
12957 grep -v '^ *+' conftest.er1 >conftest.err
12959 cat conftest.err >&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } && {
12962 test -z "$ac_c_werror_flag" ||
12963 test ! -s conftest.err
12964 } && test -s conftest$ac_exeext &&
12965 $as_test_x conftest$ac_exeext; then
12966 ac_cv_lib_dl_dlopen=yes
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.$ac_ext >&5
12971 ac_cv_lib_dl_dlopen=no
12974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12975 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_lib_save_LIBS
12978 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12979 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12980 if test $ac_cv_lib_dl_dlopen = yes; then
12981 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12984 lt_cv_dlopen="dyld"
12986 lt_cv_dlopen_self=yes
12993 { echo "$as_me:$LINENO: checking for shl_load" >&5
12994 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12995 if test "${ac_cv_func_shl_load+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 cat >conftest.$ac_ext <<_ACEOF
13001 cat confdefs.h >>conftest.$ac_ext
13002 cat >>conftest.$ac_ext <<_ACEOF
13003 /* end confdefs.h. */
13004 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13006 #define shl_load innocuous_shl_load
13008 /* System header to define __stub macros and hopefully few prototypes,
13009 which can conflict with char shl_load (); below.
13010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13011 <limits.h> exists even on freestanding compilers. */
13014 # include <limits.h>
13016 # include <assert.h>
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13028 /* The GNU C library defines this for functions which it implements
13029 to always fail with ENOSYS. Some functions are actually named
13030 something starting with __ and the normal name is an alias. */
13031 #if defined __stub_shl_load || defined __stub___shl_load
13038 return shl_load ();
13043 rm -f conftest.$ac_objext conftest$ac_exeext
13044 if { (ac_try="$ac_link"
13045 case "(($ac_try" in
13046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13047 *) ac_try_echo
=$ac_try;;
13049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13050 (eval "$ac_link") 2>conftest.er1
13052 grep -v '^ *+' conftest.er1
>conftest.err
13054 cat conftest.err
>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } && {
13057 test -z "$ac_c_werror_flag" ||
13058 test ! -s conftest.err
13059 } && test -s conftest
$ac_exeext &&
13060 $as_test_x conftest
$ac_exeext; then
13061 ac_cv_func_shl_load
=yes
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 ac_cv_func_shl_load
=no
13069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13070 conftest
$ac_exeext conftest.
$ac_ext
13072 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13073 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13074 if test $ac_cv_func_shl_load = yes; then
13075 lt_cv_dlopen
="shl_load"
13077 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13078 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13079 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 ac_check_lib_save_LIBS
=$LIBS
13084 cat >conftest.
$ac_ext <<_ACEOF
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13101 return shl_load ();
13106 rm -f conftest.
$ac_objext conftest
$ac_exeext
13107 if { (ac_try
="$ac_link"
13108 case "(($ac_try" in
13109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13110 *) ac_try_echo=$ac_try;;
13112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13113 (eval "$ac_link") 2>conftest.er1
13115 grep -v '^ *+' conftest.er1 >conftest.err
13117 cat conftest.err >&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); } && {
13120 test -z "$ac_c_werror_flag" ||
13121 test ! -s conftest.err
13122 } && test -s conftest$ac_exeext &&
13123 $as_test_x conftest$ac_exeext; then
13124 ac_cv_lib_dld_shl_load=yes
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.$ac_ext >&5
13129 ac_cv_lib_dld_shl_load=no
13132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13137 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13138 if test $ac_cv_lib_dld_shl_load = yes; then
13139 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13141 { echo "$as_me:$LINENO: checking for dlopen" >&5
13142 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13143 if test "${ac_cv_func_dlopen+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 cat >conftest.$ac_ext <<_ACEOF
13149 cat confdefs.h >>conftest.$ac_ext
13150 cat >>conftest.$ac_ext <<_ACEOF
13151 /* end confdefs.h. */
13152 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13154 #define dlopen innocuous_dlopen
13156 /* System header to define __stub macros and hopefully few prototypes,
13157 which can conflict with char dlopen (); below.
13158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13159 <limits.h> exists even on freestanding compilers. */
13162 # include <limits.h>
13164 # include <assert.h>
13169 /* Override any GCC internal prototype to avoid an error.
13170 Use char because int might match the return type of a GCC
13171 builtin and then its argument prototype would still apply. */
13176 /* The GNU C library defines this for functions which it implements
13177 to always fail with ENOSYS. Some functions are actually named
13178 something starting with __ and the normal name is an alias. */
13179 #if defined __stub_dlopen || defined __stub___dlopen
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (ac_try="$ac_link"
13193 case "(($ac_try" in
13194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13195 *) ac_try_echo
=$ac_try;;
13197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13198 (eval "$ac_link") 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest
$ac_exeext &&
13208 $as_test_x conftest
$ac_exeext; then
13209 ac_cv_func_dlopen
=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.
$ac_ext >&5
13214 ac_cv_func_dlopen
=no
13217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13218 conftest
$ac_exeext conftest.
$ac_ext
13220 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13221 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13222 if test $ac_cv_func_dlopen = yes; then
13223 lt_cv_dlopen
="dlopen"
13225 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13226 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13230 ac_check_lib_save_LIBS
=$LIBS
13232 cat >conftest.
$ac_ext <<_ACEOF
13235 cat confdefs.h
>>conftest.
$ac_ext
13236 cat >>conftest.
$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13254 rm -f conftest.
$ac_objext conftest
$ac_exeext
13255 if { (ac_try
="$ac_link"
13256 case "(($ac_try" in
13257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_link") 2>conftest.er1
13263 grep -v '^ *+' conftest.er1 >conftest.err
13265 cat conftest.err >&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } && {
13268 test -z "$ac_c_werror_flag" ||
13269 test ! -s conftest.err
13270 } && test -s conftest$ac_exeext &&
13271 $as_test_x conftest$ac_exeext; then
13272 ac_cv_lib_dl_dlopen=yes
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.$ac_ext >&5
13277 ac_cv_lib_dl_dlopen=no
13280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13284 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13285 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13286 if test $ac_cv_lib_dl_dlopen = yes; then
13287 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13289 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13290 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13291 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 ac_check_lib_save_LIBS=$LIBS
13295 LIBS="-lsvld $LIBS"
13296 cat >conftest.$ac_ext <<_ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13303 /* Override any GCC internal prototype to avoid an error.
13304 Use char because int might match the return type of a GCC
13305 builtin and then its argument prototype would still apply. */
13318 rm -f conftest.$ac_objext conftest$ac_exeext
13319 if { (ac_try="$ac_link"
13320 case "(($ac_try" in
13321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13322 *) ac_try_echo
=$ac_try;;
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_link") 2>conftest.er1
13327 grep -v '^ *+' conftest.er1
>conftest.err
13329 cat conftest.err
>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && {
13332 test -z "$ac_c_werror_flag" ||
13333 test ! -s conftest.err
13334 } && test -s conftest
$ac_exeext &&
13335 $as_test_x conftest
$ac_exeext; then
13336 ac_cv_lib_svld_dlopen
=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.
$ac_ext >&5
13341 ac_cv_lib_svld_dlopen
=no
13344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13345 conftest
$ac_exeext conftest.
$ac_ext
13346 LIBS
=$ac_check_lib_save_LIBS
13348 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13349 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13350 if test $ac_cv_lib_svld_dlopen = yes; then
13351 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13353 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13354 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13355 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13356 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 ac_check_lib_save_LIBS
=$LIBS
13360 cat >conftest.
$ac_ext <<_ACEOF
13363 cat confdefs.h
>>conftest.
$ac_ext
13364 cat >>conftest.
$ac_ext <<_ACEOF
13365 /* end confdefs.h. */
13367 /* Override any GCC internal prototype to avoid an error.
13368 Use char because int might match the return type of a GCC
13369 builtin and then its argument prototype would still apply. */
13377 return dld_link ();
13382 rm -f conftest.
$ac_objext conftest
$ac_exeext
13383 if { (ac_try
="$ac_link"
13384 case "(($ac_try" in
13385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13386 *) ac_try_echo=$ac_try;;
13388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13389 (eval "$ac_link") 2>conftest.er1
13391 grep -v '^ *+' conftest.er1 >conftest.err
13393 cat conftest.err >&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } && {
13396 test -z "$ac_c_werror_flag" ||
13397 test ! -s conftest.err
13398 } && test -s conftest$ac_exeext &&
13399 $as_test_x conftest$ac_exeext; then
13400 ac_cv_lib_dld_dld_link=yes
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13405 ac_cv_lib_dld_dld_link=no
13408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13409 conftest$ac_exeext conftest.$ac_ext
13410 LIBS=$ac_check_lib_save_LIBS
13412 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13413 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13414 if test $ac_cv_lib_dld_dld_link = yes; then
13415 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13436 if test "x$lt_cv_dlopen" != xno; then
13442 case $lt_cv_dlopen in
13444 save_CPPFLAGS="$CPPFLAGS"
13445 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13447 save_LDFLAGS="$LDFLAGS"
13448 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13451 LIBS="$lt_cv_dlopen_libs $LIBS"
13453 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13454 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13455 if test "${lt_cv_dlopen_self+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 if test "$cross_compiling" = yes; then :
13459 lt_cv_dlopen_self=cross
13461 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13462 lt_status=$lt_dlunknown
13463 cat > conftest.$ac_ext <<EOF
13464 #line 13464 "configure"
13465 #include "confdefs.h"
13474 # define LT_DLGLOBAL RTLD_GLOBAL
13477 # define LT_DLGLOBAL DL_GLOBAL
13479 # define LT_DLGLOBAL 0
13483 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13484 find out it does not work in some platform. */
13485 #ifndef LT_DLLAZY_OR_NOW
13487 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13490 # define LT_DLLAZY_OR_NOW DL_LAZY
13493 # define LT_DLLAZY_OR_NOW RTLD_NOW
13496 # define LT_DLLAZY_OR_NOW DL_NOW
13498 # define LT_DLLAZY_OR_NOW 0
13506 extern "C" void exit (int);
13509 void fnord() { int i=42;}
13512 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13513 int status = $lt_dlunknown;
13517 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13518 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13519 /* dlclose (self); */
13527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13528 (eval $ac_link) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13532 (./conftest; exit; ) >&5 2>/dev/null
13534 case x$lt_status in
13535 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13536 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13537 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13540 # compilation failed
13541 lt_cv_dlopen_self=no
13548 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13549 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13551 if test "x$lt_cv_dlopen_self" = xyes; then
13552 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13553 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13554 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13555 if test "${lt_cv_dlopen_self_static+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13558 if test "$cross_compiling" = yes; then :
13559 lt_cv_dlopen_self_static=cross
13561 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13562 lt_status=$lt_dlunknown
13563 cat > conftest.$ac_ext <<EOF
13564 #line 13564 "configure"
13565 #include "confdefs.h"
13574 # define LT_DLGLOBAL RTLD_GLOBAL
13577 # define LT_DLGLOBAL DL_GLOBAL
13579 # define LT_DLGLOBAL 0
13583 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13584 find out it does not work in some platform. */
13585 #ifndef LT_DLLAZY_OR_NOW
13587 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13590 # define LT_DLLAZY_OR_NOW DL_LAZY
13593 # define LT_DLLAZY_OR_NOW RTLD_NOW
13596 # define LT_DLLAZY_OR_NOW DL_NOW
13598 # define LT_DLLAZY_OR_NOW 0
13606 extern "C" void exit (int);
13609 void fnord() { int i=42;}
13612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13613 int status = $lt_dlunknown;
13617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13618 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13619 /* dlclose (self); */
13627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13628 (eval $ac_link) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13632 (./conftest; exit; ) >&5 2>/dev/null
13634 case x$lt_status in
13635 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13636 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13637 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13640 # compilation failed
13641 lt_cv_dlopen_self_static=no
13648 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13649 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13652 CPPFLAGS="$save_CPPFLAGS"
13653 LDFLAGS="$save_LDFLAGS"
13658 case $lt_cv_dlopen_self in
13659 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13660 *) enable_dlopen_self=unknown ;;
13663 case $lt_cv_dlopen_self_static in
13664 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13665 *) enable_dlopen_self_static=unknown ;;
13670 # Report which library types will actually be built
13671 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13672 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13673 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13674 echo "${ECHO_T}$can_build_shared" >&6; }
13676 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13677 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13678 test "$can_build_shared" = "no" && enable_shared=no
13680 # On AIX, shared libraries and static libraries use the same namespace, and
13681 # are all built from PIC.
13684 test "$enable_shared" = yes && enable_static=no
13685 if test -n "$RANLIB"; then
13686 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13687 postinstall_cmds='$RANLIB $lib'
13692 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13693 test "$enable_shared" = yes && enable_static=no
13697 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13698 echo "${ECHO_T}$enable_shared" >&6; }
13700 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13701 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13702 # Make sure either enable_shared or enable_static is yes.
13703 test "$enable_shared" = yes || enable_static=yes
13704 { echo "$as_me:$LINENO: result: $enable_static" >&5
13705 echo "${ECHO_T}$enable_static" >&6; }
13707 # The else clause should only fire when bootstrapping the
13708 # libtool distribution, otherwise you forgot to ship ltmain.sh
13709 # with your package, and you will get complaints that there are
13710 # no rules to generate ltmain.sh.
13711 if test -f "$ltmain"; then
13712 # See if we are running on zsh, and set the options which allow our commands through
13713 # without removal of \ escapes.
13714 if test -n "${ZSH_VERSION+set}" ; then
13715 setopt NO_GLOB_SUBST
13717 # Now quote all the things that may contain metacharacters while being
13718 # careful not to overquote the AC_SUBSTed values. We take copies of the
13719 # variables and quote the copies for generation of the libtool script.
13720 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13722 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13723 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13724 deplibs_check_method reload_flag reload_cmds need_locks \
13725 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13726 lt_cv_sys_global_symbol_to_c_name_address \
13727 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13728 old_postinstall_cmds old_postuninstall_cmds \
13732 lt_prog_compiler_wl \
13733 lt_prog_compiler_pic \
13734 lt_prog_compiler_static \
13735 lt_prog_compiler_no_builtin_flag \
13736 export_dynamic_flag_spec \
13737 thread_safe_flag_spec \
13738 whole_archive_flag_spec \
13739 enable_shared_with_static_runtimes \
13741 old_archive_from_new_cmds \
13746 compiler_lib_search_path \
13747 compiler_lib_search_dirs \
13749 archive_expsym_cmds \
13751 postuninstall_cmds \
13752 old_archive_from_expsyms_cmds \
13753 allow_undefined_flag \
13754 no_undefined_flag \
13755 export_symbols_cmds \
13756 hardcode_libdir_flag_spec \
13757 hardcode_libdir_flag_spec_ld \
13758 hardcode_libdir_separator \
13759 hardcode_automatic \
13761 module_expsym_cmds \
13762 lt_cv_prog_compiler_c_o \
13765 include_expsyms; do
13768 old_archive_cmds | \
13769 old_archive_from_new_cmds | \
13771 archive_expsym_cmds | \
13773 module_expsym_cmds | \
13774 old_archive_from_expsyms_cmds | \
13775 export_symbols_cmds | \
13776 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13777 postinstall_cmds | postuninstall_cmds | \
13778 old_postinstall_cmds | old_postuninstall_cmds | \
13779 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13780 # Double-quote double-evaled strings.
13781 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13784 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13790 *'\$0 --fallback-echo"')
13791 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13795 cfgfile="${ofile}T"
13796 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13798 { echo "$as_me:$LINENO: creating $ofile" >&5
13799 echo "$as_me: creating $ofile" >&6;}
13801 cat <<__EOF__ >> "$cfgfile"
13804 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
13805 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13806 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13808 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
13809 # Free Software Foundation, Inc.
13811 # This file is part of GNU Libtool:
13812 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13814 # This program is free software; you can redistribute it and/or modify
13815 # it under the terms of the GNU General Public License as published by
13816 # the Free Software Foundation; either version 2 of the License, or
13817 # (at your option) any later version.
13819 # This program is distributed in the hope that it will be useful, but
13820 # WITHOUT ANY WARRANTY; without even the implied warranty of
13821 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13822 # General Public License for more details.
13824 # You should have received a copy of the GNU General Public License
13825 # along with this program; if not, write to the Free Software
13826 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13828 # As a special exception to the GNU General Public License, if you
13829 # distribute this file as part of a program that contains a
13830 # configuration script generated by Autoconf, you may include it under
13831 # the same distribution terms that you use for the rest of that program.
13833 # A sed program that does not truncate output.
13836 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13837 Xsed="$SED -e 1s/^X//"
13839 # The HP-UX ksh and POSIX shell print the target directory to stdout
13840 # if CDPATH is set.
13841 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13843 # The names of the tagged configurations supported by this script.
13846 # ### BEGIN LIBTOOL CONFIG
13848 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13850 # Shell to use when invoking shell scripts.
13853 # Whether or not to build shared libraries.
13854 build_libtool_libs=$enable_shared
13856 # Whether or not to build static libraries.
13857 build_old_libs=$enable_static
13859 # Whether or not to add -lc for building shared libraries.
13860 build_libtool_need_lc=$archive_cmds_need_lc
13862 # Whether or not to disallow shared libs when runtime libs are static
13863 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13865 # Whether or not to optimize for fast installation.
13866 fast_install=$enable_fast_install
13869 host_alias=$host_alias
13873 # The build system.
13874 build_alias=$build_alias
13878 # An echo program that does not interpret backslashes.
13883 AR_FLAGS=$lt_AR_FLAGS
13888 # LTCC compiler flags.
13889 LTCFLAGS=$lt_LTCFLAGS
13891 # A language-specific compiler.
13894 # Is the compiler the GNU C compiler?
13900 # The linker used to build libraries.
13903 # Whether we need hard or soft links.
13906 # A BSD-compatible nm program.
13909 # A symbol stripping program
13912 # Used to examine libraries when file_magic_cmd begins "file"
13913 MAGIC_CMD=$MAGIC_CMD
13915 # Used on cygwin: DLL creation program.
13918 # Used on cygwin: object dumper.
13921 # Used on cygwin: assembler.
13924 # The name of the directory that contains temporary libtool files.
13927 # How to create reloadable object files.
13928 reload_flag=$lt_reload_flag
13929 reload_cmds=$lt_reload_cmds
13931 # How to pass a linker flag through the compiler.
13932 wl=$lt_lt_prog_compiler_wl
13934 # Object file suffix (normally "o").
13935 objext="$ac_objext"
13937 # Old archive suffix (normally "a").
13940 # Shared library suffix (normally ".so").
13941 shrext_cmds='$shrext_cmds'
13943 # Executable file suffix (normally "").
13946 # Additional compiler flags for building library objects.
13947 pic_flag=$lt_lt_prog_compiler_pic
13950 # What is the maximum length of a command?
13951 max_cmd_len=$lt_cv_sys_max_cmd_len
13953 # Does compiler simultaneously support -c and -o options?
13954 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13956 # Must we lock files when doing compilation?
13957 need_locks=$lt_need_locks
13959 # Do we need the lib prefix for modules?
13960 need_lib_prefix=$need_lib_prefix
13962 # Do we need a version for libraries?
13963 need_version=$need_version
13965 # Whether dlopen is supported.
13966 dlopen_support=$enable_dlopen
13968 # Whether dlopen of programs is supported.
13969 dlopen_self=$enable_dlopen_self
13971 # Whether dlopen of statically linked programs is supported.
13972 dlopen_self_static=$enable_dlopen_self_static
13974 # Compiler flag to prevent dynamic linking.
13975 link_static_flag=$lt_lt_prog_compiler_static
13977 # Compiler flag to turn off builtin functions.
13978 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13980 # Compiler flag to allow reflexive dlopens.
13981 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13983 # Compiler flag to generate shared objects directly from archives.
13984 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13986 # Compiler flag to generate thread-safe objects.
13987 thread_safe_flag_spec=$lt_thread_safe_flag_spec
13989 # Library versioning type.
13990 version_type=$version_type
13992 # Format of library name prefix.
13993 libname_spec=$lt_libname_spec
13995 # List of archive names. First name is the real one, the rest are links.
13996 # The last name is the one that the linker finds with -lNAME.
13997 library_names_spec=$lt_library_names_spec
13999 # The coded name of the library, if different from the real name.
14000 soname_spec=$lt_soname_spec
14002 # Commands used to build and install an old-style archive.
14004 old_archive_cmds=$lt_old_archive_cmds
14005 old_postinstall_cmds=$lt_old_postinstall_cmds
14006 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14008 # Create an old-style archive from a shared archive.
14009 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14011 # Create a temporary old-style archive to link instead of a shared archive.
14012 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14014 # Commands used to build and install a shared archive.
14015 archive_cmds=$lt_archive_cmds
14016 archive_expsym_cmds=$lt_archive_expsym_cmds
14017 postinstall_cmds=$lt_postinstall_cmds
14018 postuninstall_cmds=$lt_postuninstall_cmds
14020 # Commands used to build a loadable module (assumed same as above if empty)
14021 module_cmds=$lt_module_cmds
14022 module_expsym_cmds=$lt_module_expsym_cmds
14024 # Commands to strip libraries.
14025 old_striplib=$lt_old_striplib
14026 striplib=$lt_striplib
14028 # Dependencies to place before the objects being linked to create a
14030 predep_objects=$lt_predep_objects
14032 # Dependencies to place after the objects being linked to create a
14034 postdep_objects=$lt_postdep_objects
14036 # Dependencies to place before the objects being linked to create a
14038 predeps=$lt_predeps
14040 # Dependencies to place after the objects being linked to create a
14042 postdeps=$lt_postdeps
14044 # The directories searched by this compiler when creating a shared
14046 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
14048 # The library search path used internally by the compiler when linking
14049 # a shared library.
14050 compiler_lib_search_path=$lt_compiler_lib_search_path
14052 # Method to check whether dependent libraries are shared objects.
14053 deplibs_check_method=$lt_deplibs_check_method
14055 # Command to use when deplibs_check_method == file_magic.
14056 file_magic_cmd=$lt_file_magic_cmd
14058 # Flag that allows shared libraries with undefined symbols to be built.
14059 allow_undefined_flag=$lt_allow_undefined_flag
14061 # Flag that forces no undefined symbols.
14062 no_undefined_flag=$lt_no_undefined_flag
14064 # Commands used to finish a libtool library installation in a directory.
14065 finish_cmds=$lt_finish_cmds
14067 # Same as above, but a single script fragment to be evaled but not shown.
14068 finish_eval=$lt_finish_eval
14070 # Take the output of nm and produce a listing of raw symbols and C names.
14071 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14073 # Transform the output of nm in a proper C declaration
14074 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14076 # Transform the output of nm in a C name address pair
14077 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14079 # This is the shared library runtime path variable.
14080 runpath_var=$runpath_var
14082 # This is the shared library path variable.
14083 shlibpath_var=$shlibpath_var
14085 # Is shlibpath searched before the hard-coded library search path?
14086 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14088 # How to hardcode a shared library path into an executable.
14089 hardcode_action=$hardcode_action
14091 # Whether we should hardcode library paths into libraries.
14092 hardcode_into_libs=$hardcode_into_libs
14094 # Flag to hardcode \$libdir into a binary during linking.
14095 # This must work even if \$libdir does not exist.
14096 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14098 # If ld is used when linking, flag to hardcode \$libdir into
14099 # a binary during linking. This must work even if \$libdir does
14101 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14103 # Whether we need a single -rpath flag with a separated argument.
14104 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14106 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14107 # resulting binary.
14108 hardcode_direct=$hardcode_direct
14110 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14111 # resulting binary.
14112 hardcode_minus_L=$hardcode_minus_L
14114 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14115 # the resulting binary.
14116 hardcode_shlibpath_var=$hardcode_shlibpath_var
14118 # Set to yes if building a shared library automatically hardcodes DIR into the library
14119 # and all subsequent libraries and executables linked against it.
14120 hardcode_automatic=$hardcode_automatic
14122 # Variables whose values should be saved in libtool wrapper scripts and
14123 # restored at relink time.
14124 variables_saved_for_relink="$variables_saved_for_relink"
14126 # Whether libtool must link a program against all its dependency libraries.
14127 link_all_deplibs=$link_all_deplibs
14129 # Compile-time system search path for libraries
14130 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14132 # Run-time system search path for libraries
14133 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14135 # Fix the shell variable \$srcfile for the compiler.
14136 fix_srcfile_path=$lt_fix_srcfile_path
14138 # Set to yes if exported symbols are required.
14139 always_export_symbols=$always_export_symbols
14141 # The commands to list exported symbols.
14142 export_symbols_cmds=$lt_export_symbols_cmds
14144 # The commands to extract the exported symbol list from a shared archive.
14145 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14147 # Symbols that should not be listed in the preloaded symbols.
14148 exclude_expsyms=$lt_exclude_expsyms
14150 # Symbols that must always be exported.
14151 include_expsyms=$lt_include_expsyms
14153 # ### END LIBTOOL CONFIG
14160 cat <<\EOF >> "$cfgfile"
14162 # AIX sometimes has problems with the GCC collect2 program. For some
14163 # reason, if we set the COLLECT_NAMES environment variable, the problems
14164 # vanish in a puff of smoke.
14165 if test "X${COLLECT_NAMES+set}" != Xset; then
14167 export COLLECT_NAMES
14173 # We use sed instead of cat because bash on DJGPP gets confused if
14174 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14175 # text mode, it properly converts lines to CR/LF. This bash problem
14176 # is reportedly fixed, but why not run on old versions too?
14177 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
14179 mv -f "$cfgfile" "$ofile" || \
14180 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14184 # If there is no Makefile yet, we rely on a make rule to execute
14185 # `config.status
--recheck' to rerun these tests and create the
14186 # libtool script then.
14187 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
14188 if test -f "$ltmain_in"; then
14189 test -f Makefile && make "$ltmain"
14195 ac_cpp='$CPP $CPPFLAGS'
14196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14203 # Check whether --with-tags was given.
14204 if test "${with_tags+set}" = set; then
14205 withval=$with_tags; tagnames="$withval"
14209 if test -f "$ltmain" && test -n "$tagnames"; then
14210 if test ! -f "${ofile}"; then
14211 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
14212 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
14215 if test -z "$LTCC"; then
14216 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
14217 if test -z "$LTCC"; then
14218 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
14219 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
14221 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
14222 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
14225 if test -z "$LTCFLAGS"; then
14226 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
14229 # Extract list of available tagged configurations in $ofile.
14230 # Note that this assumes the entire list is on one line.
14231 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
14233 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14234 for tagname in $tagnames; do
14236 # Check whether tagname contains only valid characters
14237 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
14239 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
14240 echo "$as_me: error: invalid tag name: $tagname" >&2;}
14241 { (exit 1); exit 1; }; }
14245 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
14247 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
14248 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
14249 { (exit 1); exit 1; }; }
14252 # Update the list of available tags.
14253 if test -n "$tagname"; then
14254 echo appending configuration tag \"$tagname\" to $ofile
14258 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14259 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
14260 (test "X$CXX" != "Xg++"))) ; then
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14270 archive_cmds_need_lc_CXX=no
14271 allow_undefined_flag_CXX=
14272 always_export_symbols_CXX=no
14273 archive_expsym_cmds_CXX=
14274 export_dynamic_flag_spec_CXX=
14275 hardcode_direct_CXX=no
14276 hardcode_libdir_flag_spec_CXX=
14277 hardcode_libdir_flag_spec_ld_CXX=
14278 hardcode_libdir_separator_CXX=
14279 hardcode_minus_L_CXX=no
14280 hardcode_shlibpath_var_CXX=unsupported
14281 hardcode_automatic_CXX=no
14283 module_expsym_cmds_CXX=
14284 link_all_deplibs_CXX=unknown
14285 old_archive_cmds_CXX=$old_archive_cmds
14286 no_undefined_flag_CXX=
14287 whole_archive_flag_spec_CXX=
14288 enable_shared_with_static_runtimes_CXX=no
14290 # Dependencies to place before and after the object being linked:
14291 predep_objects_CXX=
14292 postdep_objects_CXX=
14295 compiler_lib_search_path_CXX=
14296 compiler_lib_search_dirs_CXX=
14298 # Source file extension for C++ test sources.
14301 # Object file extension for compiled C++ test sources.
14305 # Code to be used in simple compile tests
14306 lt_simple_compile_test_code="int some_variable = 0;"
14308 # Code to be used in simple link tests
14309 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14311 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14313 # If no C compiler was specified, use CC.
14316 # If no C compiler flags were specified, use CFLAGS.
14317 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14319 # Allow CC to be a program name with arguments.
14323 # save warnings/boilerplate of simple test code
14324 ac_outfile=conftest.$ac_objext
14325 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14326 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14327 _lt_compiler_boilerplate=`cat conftest.err
`
14330 ac_outfile=conftest.$ac_objext
14331 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14332 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14333 _lt_linker_boilerplate=`cat conftest.err
`
14337 # Allow CC to be a program name with arguments.
14342 lt_save_with_gnu_ld=$with_gnu_ld
14343 lt_save_path_LD=$lt_cv_path_LD
14344 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14345 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14347 $as_unset lt_cv_prog_gnu_ld
14349 if test -n "${lt_cv_path_LDCXX+set}"; then
14350 lt_cv_path_LD=$lt_cv_path_LDCXX
14352 $as_unset lt_cv_path_LD
14354 test -z "${LDCXX+set}" || LD=$LDCXX
14358 for cc_temp in $compiler""; do
14360 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14361 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14366 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14369 # We don't want -fno-exception wen compiling C++ code, so set the
14370 # no_builtin_flag separately
14371 if test "$GXX" = yes; then
14372 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14374 lt_prog_compiler_no_builtin_flag_CXX=
14377 if test "$GXX" = yes; then
14378 # Set up default GNU C++ configuration
14381 # Check whether --with-gnu-ld was given.
14382 if test "${with_gnu_ld+set}" = set; then
14383 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14389 if test "$GCC" = yes; then
14390 # Check if gcc -print-prog-name=ld gives a path.
14391 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14392 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
14395 # gcc leaves a trailing carriage return which upsets mingw
14396 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
14398 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14401 # Accept absolute paths.
14403 re_direlt='/[^/][^/]*/\.\./'
14404 # Canonicalize the pathname of ld
14405 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
14406 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14407 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
14409 test -z "$LD" && LD="$ac_prog"
14412 # If it fails, then pretend we aren't using GCC.
14416 # If it is relative, then search for the first ld in PATH.
14417 with_gnu_ld=unknown
14420 elif test "$with_gnu_ld" = yes; then
14421 { echo "$as_me:$LINENO: checking for GNU ld" >&5
14422 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
14424 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14425 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
14427 if test "${lt_cv_path_LD+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 if test -z "$LD"; then
14431 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14432 for ac_dir in $PATH; do
14434 test -z "$ac_dir" && ac_dir=.
14435 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14436 lt_cv_path_LD="$ac_dir/$ac_prog"
14437 # Check to see if the program is GNU ld. I'd rather use --version,
14438 # but apparently some variants of GNU ld only accept -v.
14439 # Break only if it was the GNU/non-GNU ld that we prefer.
14440 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
14441 *GNU* | *'with BFD'*)
14442 test "$with_gnu_ld" != no && break
14445 test "$with_gnu_ld" != yes && break
14452 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14456 LD="$lt_cv_path_LD"
14457 if test -n "$LD"; then
14458 { echo "$as_me:$LINENO: result: $LD" >&5
14459 echo "${ECHO_T}$LD" >&6; }
14461 { echo "$as_me:$LINENO: result: no" >&5
14462 echo "${ECHO_T}no" >&6; }
14464 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14465 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14466 { (exit 1); exit 1; }; }
14467 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14468 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
14469 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14473 case `$LD -v 2>&1 </dev
/null
` in
14474 *GNU* | *'with BFD'*)
14475 lt_cv_prog_gnu_ld=yes
14478 lt_cv_prog_gnu_ld=no
14482 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14483 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
14484 with_gnu_ld=$lt_cv_prog_gnu_ld
14488 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14489 # archiving commands below assume that GNU ld is being used.
14490 if test "$with_gnu_ld" = yes; then
14491 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14492 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'
14494 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14495 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14497 # If archive_cmds runs LD, not CC, wlarc should be empty
14498 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14499 # investigate it a little bit more. (MM)
14502 # ancient GNU ld didn't support --whole-archive et. al.
14503 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
14504 grep 'no-whole-archive' > /dev/null; then
14505 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14507 whole_archive_flag_spec_CXX=
14513 # A generic and very simple default shared library creation
14514 # command for GNU C++ for the case where it uses the native
14515 # linker, instead of GNU ld. If possible, this setting should
14516 # overridden to take advantage of the native linker features on
14517 # the platform it is being used on.
14518 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14521 # Commands to make compiler produce verbose output that lists
14522 # what "hidden" libraries, object files and flags are used when
14523 # linking a shared library.
14524 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14532 # PORTME: fill in a description of your system's C++ link characteristics
14533 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14534 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14538 # FIXME: insert proper C++ library support
14542 if test "$host_cpu" = ia64; then
14543 # On IA64, the linker does run time linking by default, so we don't
14544 # have to do anything special.
14545 aix_use_runtimelinking=no
14546 exp_sym_flag='-Bexport'
14549 aix_use_runtimelinking=no
14551 # Test if we are trying to use run time linking or normal
14552 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14553 # need to do runtime linking.
14554 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14555 for ld_flag in $LDFLAGS; do
14558 aix_use_runtimelinking=yes
14566 exp_sym_flag='-bexport'
14567 no_entry_flag='-bnoentry'
14570 # When large executables or shared objects are built, AIX ld can
14571 # have problems creating the table of contents. If linking a library
14572 # or program results in "error TOC overflow" add -mminimal-toc to
14573 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14574 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14576 archive_cmds_CXX=''
14577 hardcode_direct_CXX=yes
14578 hardcode_libdir_separator_CXX=':'
14579 link_all_deplibs_CXX=yes
14581 if test "$GXX" = yes; then
14582 case $host_os in aix4.[012]|aix4.[012].*)
14583 # We only want to do this on AIX 4.2 and lower, the check
14584 # below for broken collect2 doesn't work under 4.3+
14585 collect2name=`${CC} -print-prog-name=collect2
`
14586 if test -f "$collect2name" && \
14587 strings "$collect2name" | grep resolve_lib_name >/dev/null
14589 # We have reworked collect2
14592 # We have old collect2
14593 hardcode_direct_CXX=unsupported
14594 # It fails to find uninstalled libraries when the uninstalled
14595 # path is not listed in the libpath. Setting hardcode_minus_L
14596 # to unsupported forces relinking
14597 hardcode_minus_L_CXX=yes
14598 hardcode_libdir_flag_spec_CXX='-L$libdir'
14599 hardcode_libdir_separator_CXX=
14603 shared_flag='-shared'
14604 if test "$aix_use_runtimelinking" = yes; then
14605 shared_flag="$shared_flag "'${wl}-G'
14609 if test "$host_cpu" = ia64; then
14610 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14611 # chokes on -Wl,-G. The following line is correct:
14614 if test "$aix_use_runtimelinking" = yes; then
14615 shared_flag='${wl}-G'
14617 shared_flag='${wl}-bM:SRE'
14622 # It seems that -bexpall does not export symbols beginning with
14623 # underscore (_), so it is better to generate a list of symbols to export.
14624 always_export_symbols_CXX=yes
14625 if test "$aix_use_runtimelinking" = yes; then
14626 # Warning - without using the other runtime loading flags (-brtl),
14627 # -berok will link without error, but may produce a broken library.
14628 allow_undefined_flag_CXX='-berok'
14629 # Determine the default libpath from the value encoded in an empty executable.
14630 cat >conftest.$ac_ext <<_ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14645 rm -f conftest.$ac_objext conftest$ac_exeext
14646 if { (ac_try="$ac_link"
14647 case "(($ac_try" in
14648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14649 *) ac_try_echo
=$ac_try;;
14651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_link") 2>conftest.er1
14654 grep -v '^ *+' conftest.er1
>conftest.err
14656 cat conftest.err
>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } && {
14659 test -z "$ac_cxx_werror_flag" ||
14660 test ! -s conftest.err
14661 } && test -s conftest
$ac_exeext &&
14662 $as_test_x conftest
$ac_exeext; then
14664 lt_aix_libpath_sed
='
14665 /Import File Strings/,/^$/ {
14671 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14672 # Check for a 64-bit object if we didn't find anything.
14673 if test -z "$aix_libpath"; then
14674 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.
$ac_ext >&5
14683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14684 conftest
$ac_exeext conftest.
$ac_ext
14685 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14687 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14689 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"
14691 if test "$host_cpu" = ia64
; then
14692 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14693 allow_undefined_flag_CXX
="-z nodefs"
14694 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"
14696 # Determine the default libpath from the value encoded in an empty executable.
14697 cat >conftest.
$ac_ext <<_ACEOF
14700 cat confdefs.h
>>conftest.
$ac_ext
14701 cat >>conftest.
$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14712 rm -f conftest.
$ac_objext conftest
$ac_exeext
14713 if { (ac_try
="$ac_link"
14714 case "(($ac_try" in
14715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_link") 2>conftest.er1
14721 grep -v '^ *+' conftest.er1 >conftest.err
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } && {
14726 test -z "$ac_cxx_werror_flag" ||
14727 test ! -s conftest.err
14728 } && test -s conftest$ac_exeext &&
14729 $as_test_x conftest$ac_exeext; then
14731 lt_aix_libpath_sed='
14732 /Import File Strings/,/^$/ {
14738 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14739 # Check for a 64-bit object if we didn't find anything.
14740 if test -z "$aix_libpath"; then
14741 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14751 conftest$ac_exeext conftest.$ac_ext
14752 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14754 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14755 # Warning - without using the other run time loading flags,
14756 # -berok will link without error, but may produce a broken library.
14757 no_undefined_flag_CXX=' ${wl}-bernotok'
14758 allow_undefined_flag_CXX=' ${wl}-berok'
14759 # Exported symbols can be pulled into shared objects from archives
14760 whole_archive_flag_spec_CXX='$convenience'
14761 archive_cmds_need_lc_CXX=yes
14762 # This is similar to how AIX traditionally builds its shared libraries.
14763 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'
14769 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14770 allow_undefined_flag_CXX=unsupported
14771 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14772 # support --undefined. This deserves some investigation. FIXME
14773 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14780 case $cc_basename in
14782 # FIXME: insert proper C++ library support
14788 cygwin* | mingw* | pw32*)
14789 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14790 # as there is no search path for DLLs.
14791 hardcode_libdir_flag_spec_CXX='-L$libdir'
14792 allow_undefined_flag_CXX=unsupported
14793 always_export_symbols_CXX=no
14794 enable_shared_with_static_runtimes_CXX=yes
14796 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14797 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'
14798 # If the export-symbols file already is a .def file (1st line
14799 # is EXPORTS), use it as is; otherwise, prepend...
14800 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
14801 cp $export_symbols $output_objdir/$soname.def;
14803 echo EXPORTS > $output_objdir/$soname.def;
14804 cat $export_symbols >> $output_objdir/$soname.def;
14806 $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'
14811 darwin* | rhapsody*)
14812 archive_cmds_need_lc_CXX=no
14813 hardcode_direct_CXX=no
14814 hardcode_automatic_CXX=yes
14815 hardcode_shlibpath_var_CXX=unsupported
14816 whole_archive_flag_spec_CXX=''
14817 link_all_deplibs_CXX=yes
14818 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14819 if test "$GXX" = yes ; then
14820 output_verbose_link_cmd='echo'
14821 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}"
14822 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14823 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}"
14824 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}"
14825 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14826 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}"
14827 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}"
14830 case $cc_basename in
14832 output_verbose_link_cmd='echo'
14833 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'
14834 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14835 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14836 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}'
14837 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}'
14847 case $cc_basename in
14849 # FIXME: insert proper C++ library support
14853 # Green Hills C++ Compiler
14854 # FIXME: insert proper C++ library support
14858 # FIXME: insert proper C++ library support
14864 # C++ shared libraries reported to be fairly broken before switch to ELF
14868 archive_cmds_need_lc_CXX=no
14870 freebsd* | dragonfly*)
14871 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14878 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14879 hardcode_libdir_separator_CXX=:
14880 export_dynamic_flag_spec_CXX='${wl}-E'
14881 hardcode_direct_CXX=yes
14882 hardcode_minus_L_CXX=yes # Not in the search PATH,
14883 # but as the default
14884 # location of the library.
14886 case $cc_basename in
14888 # FIXME: insert proper C++ library support
14892 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'
14893 # Commands to make compiler produce verbose output that lists
14894 # what "hidden" libraries, object files and flags are used when
14895 # linking a shared library.
14897 # There doesn't appear to be a way to prevent this compiler from
14898 # explicitly linking system object files so we need to strip them
14899 # from the output so that they don't get included in the library
14901 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'
14904 if test "$GXX" = yes; then
14905 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'
14907 # FIXME: insert proper C++ library support
14914 if test $with_gnu_ld = no; then
14915 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14916 hardcode_libdir_separator_CXX=:
14921 export_dynamic_flag_spec_CXX='${wl}-E'
14927 hardcode_direct_CXX=no
14928 hardcode_shlibpath_var_CXX=no
14931 hardcode_direct_CXX=yes
14932 hardcode_minus_L_CXX=yes # Not in the search PATH,
14933 # but as the default
14934 # location of the library.
14938 case $cc_basename in
14940 # FIXME: insert proper C++ library support
14946 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14949 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14952 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14955 # Commands to make compiler produce verbose output that lists
14956 # what "hidden" libraries, object files and flags are used when
14957 # linking a shared library.
14959 # There doesn't appear to be a way to prevent this compiler from
14960 # explicitly linking system object files so we need to strip them
14961 # from the output so that they don't get included in the library
14963 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'
14966 if test "$GXX" = yes; then
14967 if test $with_gnu_ld = no; then
14970 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14973 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14976 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'
14981 # FIXME: insert proper C++ library support
14988 hardcode_direct_CXX=no
14989 hardcode_shlibpath_var_CXX=no
14990 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14991 export_dynamic_flag_spec_CXX='${wl}-E'
14992 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14993 # Instead, shared libraries are loaded at an image base (0x10000000 by
14994 # default) and relocated if they conflict, which is a slow very memory
14995 # consuming and fragmenting process. To avoid this, we pick a random,
14996 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14997 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14998 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'
14999 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'
15002 case $cc_basename in
15005 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'
15007 # Archives containing C++ object files must be created using
15008 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15009 # necessary to make sure instantiated templates are included
15011 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15014 if test "$GXX" = yes; then
15015 if test "$with_gnu_ld" = no; then
15016 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'
15018 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'
15021 link_all_deplibs_CXX=yes
15024 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15025 hardcode_libdir_separator_CXX=:
15027 linux* | k*bsd*-gnu)
15028 case $cc_basename in
15030 # Kuck and Associates, Inc. (KAI) C++ Compiler
15032 # KCC will only create a shared library if the output file
15033 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15034 # to its proper name (with version) after linking.
15035 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'
15036 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'
15037 # Commands to make compiler produce verbose output that lists
15038 # what "hidden" libraries, object files and flags are used when
15039 # linking a shared library.
15041 # There doesn't appear to be a way to prevent this compiler from
15042 # explicitly linking system object files so we need to strip them
15043 # from the output so that they don't get included in the library
15045 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'
15047 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
15048 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15050 # Archives containing C++ object files must be created using
15051 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15052 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15057 # version 8.0 and above of icpc choke on multiply defined symbols
15058 # if we add $predep_objects and $postdep_objects, however 7.1 and
15059 # earlier do not add the objects themselves.
15060 case `$CC -V 2>&1` in
15062 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15063 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'
15065 *) # Version 8.0 or newer
15068 ia64
*) tmp_idyn
=' -i_dynamic';;
15070 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15071 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'
15074 archive_cmds_need_lc_CXX
=no
15075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15076 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15077 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15080 # Portland Group C++ compiler
15081 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15082 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'
15084 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15085 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15086 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'
15090 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15091 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'
15093 runpath_var
=LD_RUN_PATH
15094 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15095 hardcode_libdir_separator_CXX
=:
15097 # Commands to make compiler produce verbose output that lists
15098 # what "hidden" libraries, object files and flags are used when
15099 # linking a shared library.
15101 # There doesn't appear to be a way to prevent this compiler from
15102 # explicitly linking system object files so we need to strip them
15103 # from the output so that they don't get included in the library
15105 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'
15108 case `$CC -V 2>&1 | sed 5q` in
15111 no_undefined_flag_CXX
=' -zdefs'
15112 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15113 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'
15114 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15115 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'
15117 # Not sure whether something based on
15118 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15120 output_verbose_link_cmd
='echo'
15122 # Archives containing C++ object files must be created using
15123 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15124 # necessary to make sure instantiated templates are included
15126 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15133 # FIXME: insert proper C++ library support
15137 # FIXME: insert proper C++ library support
15141 case $cc_basename in
15143 # FIXME: insert proper C++ library support
15147 # FIXME: insert proper C++ library support
15152 netbsd
* | netbsdelf
*-gnu)
15153 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15154 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15156 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15157 hardcode_direct_CXX
=yes
15158 hardcode_shlibpath_var_CXX
=no
15160 # Workaround some broken pre-1.5 toolchains
15161 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15164 # C++ shared libraries are fairly broken
15168 if test -f /usr
/libexec
/ld.so
; then
15169 hardcode_direct_CXX
=yes
15170 hardcode_shlibpath_var_CXX
=no
15171 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15172 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15173 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15174 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15175 export_dynamic_flag_spec_CXX
='${wl}-E'
15176 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15178 output_verbose_link_cmd
='echo'
15184 case $cc_basename in
15186 # Kuck and Associates, Inc. (KAI) C++ Compiler
15188 # KCC will only create a shared library if the output file
15189 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15190 # to its proper name (with version) after linking.
15191 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'
15193 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15194 hardcode_libdir_separator_CXX
=:
15196 # Archives containing C++ object files must be created using
15197 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15198 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15202 # Rational C++ 2.4.1
15203 # FIXME: insert proper C++ library support
15207 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15208 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'
15210 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15211 hardcode_libdir_separator_CXX
=:
15213 # Commands to make compiler produce verbose output that lists
15214 # what "hidden" libraries, object files and flags are used when
15215 # linking a shared library.
15217 # There doesn't appear to be a way to prevent this compiler from
15218 # explicitly linking system object files so we need to strip them
15219 # from the output so that they don't get included in the library
15221 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'
15224 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15225 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15226 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'
15228 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15229 hardcode_libdir_separator_CXX
=:
15231 # Commands to make compiler produce verbose output that lists
15232 # what "hidden" libraries, object files and flags are used when
15233 # linking a shared library.
15234 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15237 # FIXME: insert proper C++ library support
15244 case $cc_basename in
15246 # Kuck and Associates, Inc. (KAI) C++ Compiler
15248 # KCC will only create a shared library if the output file
15249 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15250 # to its proper name (with version) after linking.
15251 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'
15253 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15254 hardcode_libdir_separator_CXX
=:
15256 # Archives containing C++ object files must be created using
15257 # the KAI C++ compiler.
15258 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
15261 # Rational C++ 2.4.1
15262 # FIXME: insert proper C++ library support
15266 allow_undefined_flag_CXX
=' -expect_unresolved \*'
15267 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'
15268 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15269 echo "-hidden">> $lib.exp~
15270 $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~
15273 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15274 hardcode_libdir_separator_CXX
=:
15276 # Commands to make compiler produce verbose output that lists
15277 # what "hidden" libraries, object files and flags are used when
15278 # linking a shared library.
15280 # There doesn't appear to be a way to prevent this compiler from
15281 # explicitly linking system object files so we need to strip them
15282 # from the output so that they don't get included in the library
15284 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'
15287 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15288 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
15289 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'
15291 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15292 hardcode_libdir_separator_CXX
=:
15294 # Commands to make compiler produce verbose output that lists
15295 # what "hidden" libraries, object files and flags are used when
15296 # linking a shared library.
15297 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15300 # FIXME: insert proper C++ library support
15307 # FIXME: insert proper C++ library support
15311 case $cc_basename in
15314 # FIXME: insert proper C++ library support
15319 # FIXME: insert proper C++ library support
15323 # FIXME: insert proper C++ library support
15329 case $cc_basename in
15331 # Sun C++ 4.2, 5.x and Centerline C++
15332 archive_cmds_need_lc_CXX
=yes
15333 no_undefined_flag_CXX
=' -zdefs'
15334 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15335 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15336 $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'
15338 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15339 hardcode_shlibpath_var_CXX
=no
15341 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15343 # The compiler driver will combine and reorder linker options,
15344 # but understands `-z linker_flag'.
15345 # Supported since Solaris 2.6 (maybe 2.5.1?)
15346 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15349 link_all_deplibs_CXX
=yes
15351 output_verbose_link_cmd
='echo'
15353 # Archives containing C++ object files must be created using
15354 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15355 # necessary to make sure instantiated templates are included
15357 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15360 # Green Hills C++ Compiler
15361 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15363 # The C++ compiler must be used to create the archive.
15364 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15367 # GNU C++ compiler with Solaris linker
15368 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15369 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
15370 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
15371 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15372 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15373 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15375 # Commands to make compiler produce verbose output that lists
15376 # what "hidden" libraries, object files and flags are used when
15377 # linking a shared library.
15378 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15380 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15382 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15383 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15384 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15386 # Commands to make compiler produce verbose output that lists
15387 # what "hidden" libraries, object files and flags are used when
15388 # linking a shared library.
15389 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15392 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
15394 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15396 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15403 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15404 no_undefined_flag_CXX
='${wl}-z,text'
15405 archive_cmds_need_lc_CXX
=no
15406 hardcode_shlibpath_var_CXX
=no
15407 runpath_var
='LD_RUN_PATH'
15409 case $cc_basename in
15411 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15412 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15415 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15416 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15420 sysv5
* | sco3.2v5
* | sco5v6
*)
15421 # Note: We can NOT use -z defs as we might desire, because we do not
15422 # link with -lc, and that would cause any symbols used from libc to
15423 # always be unresolved, which means just about no library would
15424 # ever link correctly. If we're not using GNU ld we use -z text
15425 # though, which does catch some bad symbols but isn't as heavy-handed
15427 # For security reasons, it is highly recommended that you always
15428 # use absolute paths for naming shared libraries, and exclude the
15429 # DT_RUNPATH tag from executables and libraries. But doing so
15430 # requires that you compile everything twice, which is a pain.
15431 # So that behaviour is only enabled if SCOABSPATH is set to a
15432 # non-empty value in the environment. Most likely only useful for
15433 # creating official distributions of packages.
15434 # This is a hack until libtool officially supports absolute path
15435 # names for shared libraries.
15436 no_undefined_flag_CXX
='${wl}-z,text'
15437 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15438 archive_cmds_need_lc_CXX
=no
15439 hardcode_shlibpath_var_CXX
=no
15440 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15441 hardcode_libdir_separator_CXX
=':'
15442 link_all_deplibs_CXX
=yes
15443 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15444 runpath_var
='LD_RUN_PATH'
15446 case $cc_basename in
15448 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15449 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15452 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15458 case $cc_basename in
15460 # NonStop-UX NCC 3.20
15461 # FIXME: insert proper C++ library support
15465 # FIXME: insert proper C++ library support
15471 # FIXME: insert proper C++ library support
15475 # FIXME: insert proper C++ library support
15479 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15480 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15481 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15486 cat > conftest.
$ac_ext <<EOF
15490 Foo (void) { a = 0; }
15496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15497 (eval $ac_compile) 2>&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; then
15501 # Parse the compiler output and extract the necessary
15502 # objects, libraries and library flags.
15504 # Sentinel used to keep track of whether or not we are before
15505 # the conftest object file.
15506 pre_test_object_deps_done
=no
15508 # The `*' in the case matches for architectures that use `case' in
15509 # $output_verbose_cmd can trigger glob expansion during the loop
15510 # eval without this substitution.
15511 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
15513 for p
in `eval $output_verbose_link_cmd`; do
15517 # Some compilers place space between "-{L,R}" and the path.
15518 # Remove the space.
15519 if test $p = "-L" \
15520 ||
test $p = "-R"; then
15527 if test "$pre_test_object_deps_done" = no
; then
15530 # Internal compiler library paths should come after those
15531 # provided the user. The postdeps already come after the
15532 # user supplied libs so there is no need to process them.
15533 if test -z "$compiler_lib_search_path_CXX"; then
15534 compiler_lib_search_path_CXX
="${prev}${p}"
15536 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15539 # The "-l" case would never come before the object being
15540 # linked, so don't bother handling this case.
15543 if test -z "$postdeps_CXX"; then
15544 postdeps_CXX
="${prev}${p}"
15546 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15552 # This assumes that the test object file only shows up
15553 # once in the compiler output.
15554 if test "$p" = "conftest.$objext"; then
15555 pre_test_object_deps_done
=yes
15559 if test "$pre_test_object_deps_done" = no
; then
15560 if test -z "$predep_objects_CXX"; then
15561 predep_objects_CXX
="$p"
15563 predep_objects_CXX
="$predep_objects_CXX $p"
15566 if test -z "$postdep_objects_CXX"; then
15567 postdep_objects_CXX
="$p"
15569 postdep_objects_CXX
="$postdep_objects_CXX $p"
15574 *) ;; # Ignore the rest.
15582 echo "libtool.m4: error: problem compiling CXX test program"
15585 $rm -f confest.
$objext
15587 compiler_lib_search_dirs_CXX
=
15588 if test -n "$compiler_lib_search_path_CXX"; then
15589 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15592 # PORTME: override above test on systems where it is broken
15595 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15596 # hack all around it, let's just trust "g++" to DTRT.
15597 predep_objects_CXX
=
15598 postdep_objects_CXX
=
15603 case `$CC -V 2>&1 | sed 5q` in
15607 # The more standards-conforming stlport4 library is
15608 # incompatible with the Cstd library. Avoid specifying
15609 # it if it's in CXXFLAGS. Ignore libCrun as
15610 # -library=stlport4 depends on it.
15611 case " $CXX $CXXFLAGS " in
15612 *" -library=stlport4 "*)
15613 solaris_use_stlport4
=yes
15616 if test "$solaris_use_stlport4" != yes; then
15617 postdeps_CXX
='-library=Cstd -library=Crun'
15624 case $cc_basename in
15626 # The more standards-conforming stlport4 library is
15627 # incompatible with the Cstd library. Avoid specifying
15628 # it if it's in CXXFLAGS. Ignore libCrun as
15629 # -library=stlport4 depends on it.
15630 case " $CXX $CXXFLAGS " in
15631 *" -library=stlport4 "*)
15632 solaris_use_stlport4
=yes
15636 # Adding this requires a known-good setup of shared libraries for
15637 # Sun compiler versions before 5.6, else PIC objects from an old
15638 # archive will be linked into the output, leading to subtle bugs.
15639 if test "$solaris_use_stlport4" != yes; then
15640 postdeps_CXX
='-library=Cstd -library=Crun'
15647 case " $postdeps_CXX " in
15648 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15651 lt_prog_compiler_wl_CXX
=
15652 lt_prog_compiler_pic_CXX
=
15653 lt_prog_compiler_static_CXX
=
15655 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15656 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15658 # C++ specific cases for pic, static, wl, etc.
15659 if test "$GXX" = yes; then
15660 lt_prog_compiler_wl_CXX
='-Wl,'
15661 lt_prog_compiler_static_CXX
='-static'
15665 # All AIX code is PIC.
15666 if test "$host_cpu" = ia64
; then
15667 # AIX 5 now supports IA64 processor
15668 lt_prog_compiler_static_CXX
='-Bstatic'
15672 # FIXME: we need at least 68020 code to build shared libraries, but
15673 # adding the `-m68020' flag to GCC prevents building anything better,
15675 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15677 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15678 # PIC is the default for these OSes.
15680 mingw
* | cygwin
* | os2
* | pw32
*)
15681 # This hack is so that the source file can tell whether it is being
15682 # built for inclusion in a dll (and should export symbols for example).
15683 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15684 # (--disable-auto-import) libraries
15685 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15687 darwin
* | rhapsody
*)
15688 # PIC is the default on this platform
15689 # Common symbols not allowed in MH_DYLIB files
15690 lt_prog_compiler_pic_CXX
='-fno-common'
15693 # DJGPP does not support shared libraries at all
15694 lt_prog_compiler_pic_CXX
=
15697 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15698 # Instead, we relocate shared libraries at runtime.
15701 if test -d /usr
/nec
; then
15702 lt_prog_compiler_pic_CXX
=-Kconform_pic
15706 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15707 # not for PA HP-UX.
15712 lt_prog_compiler_pic_CXX
='-fPIC'
15717 lt_prog_compiler_pic_CXX
='-fPIC'
15723 # All AIX code is PIC.
15724 if test "$host_cpu" = ia64
; then
15725 # AIX 5 now supports IA64 processor
15726 lt_prog_compiler_static_CXX
='-Bstatic'
15728 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15732 case $cc_basename in
15734 # Green Hills C++ Compiler
15735 # _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"
15740 # PIC is the default on this platform
15741 # Common symbols not allowed in MH_DYLIB files
15742 case $cc_basename in
15744 lt_prog_compiler_pic_CXX
='-qnocommon'
15745 lt_prog_compiler_wl_CXX
='-Wl,'
15750 case $cc_basename in
15752 lt_prog_compiler_pic_CXX
='-KPIC'
15755 # Green Hills C++ Compiler
15756 lt_prog_compiler_pic_CXX
='-pic'
15762 freebsd
* | dragonfly
*)
15763 # FreeBSD uses GNU C++
15765 hpux9
* | hpux10
* | hpux11
*)
15766 case $cc_basename in
15768 lt_prog_compiler_wl_CXX
='-Wl,'
15769 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15770 if test "$host_cpu" != ia64
; then
15771 lt_prog_compiler_pic_CXX
='+Z'
15775 lt_prog_compiler_wl_CXX
='-Wl,'
15776 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15782 lt_prog_compiler_pic_CXX
='+Z'
15791 # This is c89, which is MS Visual C++ (no shared libs)
15792 # Anyone wants to do a port?
15794 irix5
* | irix6
* | nonstopux
*)
15795 case $cc_basename in
15797 lt_prog_compiler_wl_CXX
='-Wl,'
15798 lt_prog_compiler_static_CXX
='-non_shared'
15799 # CC pic flag -KPIC is the default.
15805 linux
* | k
*bsd
*-gnu)
15806 case $cc_basename in
15809 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15810 lt_prog_compiler_pic_CXX
='-fPIC'
15814 lt_prog_compiler_wl_CXX
='-Wl,'
15815 lt_prog_compiler_pic_CXX
='-KPIC'
15816 lt_prog_compiler_static_CXX
='-static'
15819 # Portland Group C++ compiler.
15820 lt_prog_compiler_wl_CXX
='-Wl,'
15821 lt_prog_compiler_pic_CXX
='-fpic'
15822 lt_prog_compiler_static_CXX
='-Bstatic'
15826 # Make sure the PIC flag is empty. It appears that all Alpha
15827 # Linux and Compaq Tru64 Unix objects are PIC.
15828 lt_prog_compiler_pic_CXX
=
15829 lt_prog_compiler_static_CXX
='-non_shared'
15832 case `$CC -V 2>&1 | sed 5q` in
15835 lt_prog_compiler_pic_CXX
='-KPIC'
15836 lt_prog_compiler_static_CXX
='-Bstatic'
15837 lt_prog_compiler_wl_CXX
='-Qoption ld '
15848 case $cc_basename in
15850 lt_prog_compiler_pic_CXX
='-W c,exportall'
15856 netbsd
* | netbsdelf
*-gnu)
15858 osf3
* | osf4
* | osf5
*)
15859 case $cc_basename in
15861 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15864 # Rational C++ 2.4.1
15865 lt_prog_compiler_pic_CXX
='-pic'
15868 # Digital/Compaq C++
15869 lt_prog_compiler_wl_CXX
='-Wl,'
15870 # Make sure the PIC flag is empty. It appears that all Alpha
15871 # Linux and Compaq Tru64 Unix objects are PIC.
15872 lt_prog_compiler_pic_CXX
=
15873 lt_prog_compiler_static_CXX
='-non_shared'
15882 case $cc_basename in
15884 # Sun C++ 4.2, 5.x and Centerline C++
15885 lt_prog_compiler_pic_CXX
='-KPIC'
15886 lt_prog_compiler_static_CXX
='-Bstatic'
15887 lt_prog_compiler_wl_CXX
='-Qoption ld '
15890 # Green Hills C++ Compiler
15891 lt_prog_compiler_pic_CXX
='-PIC'
15898 case $cc_basename in
15901 lt_prog_compiler_pic_CXX
='-pic'
15902 lt_prog_compiler_static_CXX
='-Bstatic'
15906 lt_prog_compiler_pic_CXX
='-pic'
15913 case $cc_basename in
15915 # NonStop-UX NCC 3.20
15916 lt_prog_compiler_pic_CXX
='-KPIC'
15922 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15923 case $cc_basename in
15925 lt_prog_compiler_wl_CXX
='-Wl,'
15926 lt_prog_compiler_pic_CXX
='-KPIC'
15927 lt_prog_compiler_static_CXX
='-Bstatic'
15934 lt_prog_compiler_can_build_shared_CXX
=no
15939 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15940 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15943 # Check to make sure the PIC flag actually works.
15945 if test -n "$lt_prog_compiler_pic_CXX"; then
15947 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15948 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15949 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 lt_cv_prog_compiler_pic_works_CXX
=no
15953 ac_outfile
=conftest.
$ac_objext
15954 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15955 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15956 # Insert the option either (1) after the last *FLAGS variable, or
15957 # (2) before a word containing "conftest.", or (3) at the end.
15958 # Note that $ac_compile itself does not contain backslashes and begins
15959 # with a dollar sign (not a hyphen), so the echo should work correctly.
15960 # The option is referenced via a variable to avoid confusing sed.
15961 lt_compile
=`echo "$ac_compile" | $SED \
15962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15964 -e 's:$: $lt_compiler_flag:'`
15965 (eval echo "\"\$as_me:15965: $lt_compile\"" >&5)
15966 (eval "$lt_compile" 2>conftest.err
)
15968 cat conftest.err
>&5
15969 echo "$as_me:15969: \$? = $ac_status" >&5
15970 if (exit $ac_status) && test -s "$ac_outfile"; then
15971 # The compiler can only warn and ignore the option if not recognized
15972 # So say no if there are warnings other than the usual output.
15973 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15974 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15975 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15976 lt_cv_prog_compiler_pic_works_CXX
=yes
15982 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15983 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15985 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15986 case $lt_prog_compiler_pic_CXX in
15988 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15991 lt_prog_compiler_pic_CXX
=
15992 lt_prog_compiler_can_build_shared_CXX
=no
15997 # For platforms which do not support PIC, -DPIC is meaningless:
15999 lt_prog_compiler_pic_CXX
=
16002 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16007 # Check to make sure the static flag actually works.
16009 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16010 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16011 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16012 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 lt_cv_prog_compiler_static_works_CXX
=no
16016 save_LDFLAGS
="$LDFLAGS"
16017 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16018 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16019 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16020 # The linker can only warn and ignore the option if not recognized
16021 # So say no if there are warnings
16022 if test -s conftest.err
; then
16023 # Append any errors to the config.log.
16024 cat conftest.err
1>&5
16025 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16026 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16027 if diff conftest.exp conftest.er2
>/dev
/null
; then
16028 lt_cv_prog_compiler_static_works_CXX
=yes
16031 lt_cv_prog_compiler_static_works_CXX
=yes
16035 LDFLAGS
="$save_LDFLAGS"
16038 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16039 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
16041 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16044 lt_prog_compiler_static_CXX
=
16048 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16049 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16050 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 lt_cv_prog_compiler_c_o_CXX
=no
16054 $rm -r conftest
2>/dev
/null
16058 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16060 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16061 # Insert the option either (1) after the last *FLAGS variable, or
16062 # (2) before a word containing "conftest.", or (3) at the end.
16063 # Note that $ac_compile itself does not contain backslashes and begins
16064 # with a dollar sign (not a hyphen), so the echo should work correctly.
16065 lt_compile
=`echo "$ac_compile" | $SED \
16066 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16067 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16068 -e 's:$: $lt_compiler_flag:'`
16069 (eval echo "\"\$as_me:16069: $lt_compile\"" >&5)
16070 (eval "$lt_compile" 2>out
/conftest.err
)
16072 cat out
/conftest.err
>&5
16073 echo "$as_me:16073: \$? = $ac_status" >&5
16074 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16076 # The compiler can only warn and ignore the option if not recognized
16077 # So say no if there are warnings
16078 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16079 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16080 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16081 lt_cv_prog_compiler_c_o_CXX
=yes
16086 # SGI C++ compiler will create directory out/ii_files/ for
16087 # template instantiation
16088 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16089 $rm out
/* && rmdir out
16095 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16096 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
16099 hard_links
="nottested"
16100 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16101 # do not overwrite the value of need_locks provided by the user
16102 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16103 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16106 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16108 ln conftest.a conftest.b
2>&5 || hard_links
=no
16109 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16110 { echo "$as_me:$LINENO: result: $hard_links" >&5
16111 echo "${ECHO_T}$hard_links" >&6; }
16112 if test "$hard_links" = no
; then
16113 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16114 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16121 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16122 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16124 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16127 # If we're using GNU nm, then we don't want the "-C" option.
16128 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16129 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16130 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'
16132 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'
16136 export_symbols_cmds_CXX
="$ltdll_cmds"
16139 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'
16141 linux
* | k
*bsd
*-gnu)
16142 link_all_deplibs_CXX
=no
16145 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16148 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16150 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16151 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
16152 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16155 # Do we need to explicitly link libc?
16157 case "x$archive_cmds_need_lc_CXX" in
16159 # Assume -lc should be added
16160 archive_cmds_need_lc_CXX
=yes
16162 if test "$enable_shared" = yes && test "$GCC" = yes; then
16163 case $archive_cmds_CXX in
16165 # FIXME: we may have to deal with multi-command sequences.
16168 # Test whether the compiler implicitly links with -lc since on some
16169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16170 # to ld, don't add -lc before -lgcc.
16171 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16172 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16174 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } 2>conftest.err
; then
16183 libobjs
=conftest.
$ac_objext
16185 wl
=$lt_prog_compiler_wl_CXX
16186 pic_flag
=$lt_prog_compiler_pic_CXX
16192 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
16193 allow_undefined_flag_CXX
=
16194 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16195 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }
16200 archive_cmds_need_lc_CXX
=no
16202 archive_cmds_need_lc_CXX
=yes
16204 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
16206 cat conftest.err
1>&5
16209 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16210 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
16217 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16218 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16219 library_names_spec
=
16220 libname_spec
='lib$name'
16224 postuninstall_cmds
=
16228 shlibpath_overrides_runpath
=unknown
16230 dynamic_linker
="$host_os ld.so"
16231 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16233 need_lib_prefix
=unknown
16234 hardcode_into_libs
=no
16236 # when you set need_version to no, make sure it does not cause -set_version
16237 # flags to be left without arguments
16238 need_version
=unknown
16243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16244 shlibpath_var
=LIBPATH
16246 # AIX 3 has no versioning support, so we append a major version to the name.
16247 soname_spec
='${libname}${release}${shared_ext}$major'
16254 hardcode_into_libs
=yes
16255 if test "$host_cpu" = ia64
; then
16256 # AIX 5 supports IA64
16257 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16258 shlibpath_var
=LD_LIBRARY_PATH
16260 # With GCC up to 2.95.x, collect2 would create an import file
16261 # for dependence libraries. The import file would start with
16262 # the line `#! .'. This would cause the generated library to
16263 # depend on `.', always an invalid library. This was fixed in
16264 # development snapshots of GCC prior to 3.0.
16266 aix4 | aix4.
[01] | aix4.
[01].
*)
16267 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16269 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16272 can_build_shared
=no
16276 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16277 # soname into executable. Probably we can add versioning support to
16278 # collect2, so additional links can be useful in future.
16279 if test "$aix_use_runtimelinking" = yes; then
16280 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16281 # instead of lib<name>.a to let people know that these are not
16282 # typical AIX shared libraries.
16283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16285 # We preserve .a as extension for shared libraries through AIX4.2
16286 # and later when we are not doing run time linking.
16287 library_names_spec
='${libname}${release}.a $libname.a'
16288 soname_spec
='${libname}${release}${shared_ext}$major'
16290 shlibpath_var
=LIBPATH
16295 library_names_spec
='$libname.ixlibrary $libname.a'
16296 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16297 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'
16301 library_names_spec
='${libname}${shared_ext}'
16302 dynamic_linker
="$host_os ld.so"
16303 shlibpath_var
=LIBRARY_PATH
16309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16310 soname_spec
='${libname}${release}${shared_ext}$major'
16311 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16312 shlibpath_var
=LD_LIBRARY_PATH
16313 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16314 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16315 # the default ld.so.conf also contains /usr/contrib/lib and
16316 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16317 # libtool to hard-code these into programs
16320 cygwin
* | mingw
* | pw32
*)
16321 version_type
=windows
16326 case $GCC,$host_os in
16327 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16328 library_names_spec
='$libname.dll.a'
16329 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16330 postinstall_cmds
='base_file=`basename \${file}`~
16331 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16332 dldir=$destdir/`dirname \$dlpath`~
16333 test -d \$dldir || mkdir -p \$dldir~
16334 $install_prog $dir/$dlname \$dldir/$dlname~
16335 chmod a+x \$dldir/$dlname'
16336 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16337 dlpath=$dir/\$dldll~
16339 shlibpath_overrides_runpath
=yes
16343 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16344 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16345 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16348 # MinGW DLLs use traditional 'lib' prefix
16349 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16350 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16351 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16352 # It is most probably a Windows format PATH printed by
16353 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16354 # path with ; separators, and with drive letters. We can handle the
16355 # drive letters (cygwin fileutils understands them), so leave them,
16356 # especially as we might pass files found there to a mingw objdump,
16357 # which wouldn't understand a cygwinified path. Ahh.
16358 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16360 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16364 # pw32 DLLs use 'pw' prefix rather than 'lib'
16365 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16371 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16374 dynamic_linker
='Win32 ld.exe'
16375 # FIXME: first we should search . and the directory the executable is in
16379 darwin
* | rhapsody
*)
16380 dynamic_linker
="$host_os dyld"
16381 version_type
=darwin
16384 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16385 soname_spec
='${libname}${release}${major}$shared_ext'
16386 shlibpath_overrides_runpath
=yes
16387 shlibpath_var
=DYLD_LIBRARY_PATH
16388 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16390 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16398 soname_spec
='${libname}${release}${shared_ext}$major'
16399 shlibpath_var
=LD_LIBRARY_PATH
16406 freebsd
* | dragonfly
*)
16407 # DragonFly does not have aout. When/if they implement a new
16408 # versioning mechanism, adjust this.
16409 if test -x /usr
/bin
/objformat
; then
16410 objformat
=`/usr/bin/objformat`
16413 freebsd
[123]*) objformat
=aout
;;
16414 *) objformat
=elf
;;
16417 version_type
=freebsd-
$objformat
16418 case $version_type in
16420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16425 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16429 shlibpath_var
=LD_LIBRARY_PATH
16432 shlibpath_overrides_runpath
=yes
16434 freebsd3.
[01]* | freebsdelf3.
[01]*)
16435 shlibpath_overrides_runpath
=yes
16436 hardcode_into_libs
=yes
16438 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16439 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16440 shlibpath_overrides_runpath
=no
16441 hardcode_into_libs
=yes
16443 *) # from 4.6 on, and DragonFly
16444 shlibpath_overrides_runpath
=yes
16445 hardcode_into_libs
=yes
16454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16455 soname_spec
='${libname}${release}${shared_ext}$major'
16456 shlibpath_var
=LD_LIBRARY_PATH
16457 hardcode_into_libs
=yes
16460 hpux9
* | hpux10
* | hpux11
*)
16461 # Give a soname corresponding to the major version so that dld.sl refuses to
16462 # link against other versions.
16469 hardcode_into_libs
=yes
16470 dynamic_linker
="$host_os dld.so"
16471 shlibpath_var
=LD_LIBRARY_PATH
16472 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16474 soname_spec
='${libname}${release}${shared_ext}$major'
16475 if test "X$HPUX_IA64_MODE" = X32
; then
16476 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16478 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16480 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16484 hardcode_into_libs
=yes
16485 dynamic_linker
="$host_os dld.sl"
16486 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16487 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16489 soname_spec
='${libname}${release}${shared_ext}$major'
16490 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16491 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16495 dynamic_linker
="$host_os dld.sl"
16496 shlibpath_var
=SHLIB_PATH
16497 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16499 soname_spec
='${libname}${release}${shared_ext}$major'
16502 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16503 postinstall_cmds
='chmod 555 $lib'
16510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16511 soname_spec
='${libname}${release}${shared_ext}$major'
16512 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16513 shlibpath_var
=LD_LIBRARY_PATH
16514 shlibpath_overrides_runpath
=no
16515 hardcode_into_libs
=yes
16518 irix5
* | irix6
* | nonstopux
*)
16520 nonstopux
*) version_type
=nonstopux
;;
16522 if test "$lt_cv_prog_gnu_ld" = yes; then
16530 soname_spec
='${libname}${release}${shared_ext}$major'
16531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16533 irix5
* | nonstopux
*)
16534 libsuff
= shlibsuff
=
16537 case $LD in # libtool.m4 will add one of these switches to LD
16538 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16539 libsuff
= shlibsuff
= libmagic
=32-bit;;
16540 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16541 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16542 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16543 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16544 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16548 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16549 shlibpath_overrides_runpath
=no
16550 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16551 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16552 hardcode_into_libs
=yes
16555 # No shared lib support for Linux oldld, aout, or coff.
16556 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16560 # This must be Linux ELF.
16561 linux
* | k
*bsd
*-gnu)
16565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16566 soname_spec
='${libname}${release}${shared_ext}$major'
16567 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16568 shlibpath_var
=LD_LIBRARY_PATH
16569 shlibpath_overrides_runpath
=no
16570 # This implies no fast_install, which is unacceptable.
16571 # Some rework will be needed to allow for fast_install
16572 # before this can be enabled.
16573 hardcode_into_libs
=yes
16575 # Append ld.so.conf contents to the search path
16576 if test -f /etc
/ld.so.conf
; then
16577 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' ' '`
16578 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16581 # We used to test for /lib/ld.so.1 and disable shared libraries on
16582 # powerpc, because MkLinux only supported shared libraries with the
16583 # GNU dynamic linker. Since this was broken with cross compilers,
16584 # most powerpc-linux boxes support dynamic linking these days and
16585 # people can always --disable-shared, the test was removed, and we
16586 # assume the GNU/Linux dynamic linker is in use.
16587 dynamic_linker
='GNU/Linux ld.so'
16594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16595 soname_spec
='${libname}${release}${shared_ext}$major'
16596 shlibpath_var
=LD_LIBRARY_PATH
16597 shlibpath_overrides_runpath
=no
16598 hardcode_into_libs
=yes
16599 dynamic_linker
='NetBSD ld.elf_so'
16606 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16609 dynamic_linker
='NetBSD (a.out) ld.so'
16611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16612 soname_spec
='${libname}${release}${shared_ext}$major'
16613 dynamic_linker
='NetBSD ld.elf_so'
16615 shlibpath_var
=LD_LIBRARY_PATH
16616 shlibpath_overrides_runpath
=yes
16617 hardcode_into_libs
=yes
16622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16623 shlibpath_var
=LD_LIBRARY_PATH
16624 shlibpath_overrides_runpath
=yes
16631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16632 soname_spec
='${libname}${release}${shared_ext}$major'
16633 shlibpath_var
=LD_LIBRARY_PATH
16634 shlibpath_overrides_runpath
=yes
16639 sys_lib_dlsearch_path_spec
="/usr/lib"
16641 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16643 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16644 *) need_version
=no
;;
16646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16648 shlibpath_var
=LD_LIBRARY_PATH
16649 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16651 openbsd2.
[89] | openbsd2.
[89].
*)
16652 shlibpath_overrides_runpath
=no
16655 shlibpath_overrides_runpath
=yes
16659 shlibpath_overrides_runpath
=yes
16664 libname_spec
='$name'
16667 library_names_spec
='$libname${shared_ext} $libname.a'
16668 dynamic_linker
='OS/2 ld.exe'
16669 shlibpath_var
=LIBPATH
16672 osf3
* | osf4
* | osf5
*)
16676 soname_spec
='${libname}${release}${shared_ext}$major'
16677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16678 shlibpath_var
=LD_LIBRARY_PATH
16679 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16680 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16692 soname_spec
='${libname}${release}${shared_ext}$major'
16693 shlibpath_var
=LD_LIBRARY_PATH
16694 shlibpath_overrides_runpath
=yes
16695 hardcode_into_libs
=yes
16696 # ldd complains unless libraries are executable
16697 postinstall_cmds
='chmod +x $lib'
16702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16703 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16704 shlibpath_var
=LD_LIBRARY_PATH
16705 shlibpath_overrides_runpath
=yes
16706 if test "$with_gnu_ld" = yes; then
16714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16715 soname_spec
='${libname}${release}${shared_ext}$major'
16716 shlibpath_var
=LD_LIBRARY_PATH
16717 case $host_vendor in
16719 shlibpath_overrides_runpath
=no
16721 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16722 runpath_var
=LD_RUN_PATH
16730 shlibpath_overrides_runpath
=no
16731 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16737 if test -d /usr
/nec
;then
16739 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16740 soname_spec
='$libname${shared_ext}.$major'
16741 shlibpath_var
=LD_LIBRARY_PATH
16745 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16746 version_type
=freebsd-elf
16749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16750 soname_spec
='${libname}${release}${shared_ext}$major'
16751 shlibpath_var
=LD_LIBRARY_PATH
16752 hardcode_into_libs
=yes
16753 if test "$with_gnu_ld" = yes; then
16754 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16755 shlibpath_overrides_runpath
=no
16757 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16758 shlibpath_overrides_runpath
=yes
16761 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16765 sys_lib_dlsearch_path_spec
='/usr/lib'
16770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16771 soname_spec
='${libname}${release}${shared_ext}$major'
16772 shlibpath_var
=LD_LIBRARY_PATH
16779 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16780 echo "${ECHO_T}$dynamic_linker" >&6; }
16781 test "$dynamic_linker" = no
&& can_build_shared
=no
16783 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16789 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16790 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16796 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16798 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16799 if test "$GCC" = yes; then
16800 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16803 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16804 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16805 hardcode_action_CXX
=
16806 if test -n "$hardcode_libdir_flag_spec_CXX" || \
16807 test -n "$runpath_var_CXX" || \
16808 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16810 # We can hardcode non-existant directories.
16811 if test "$hardcode_direct_CXX" != no
&&
16812 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16813 # have to relink, otherwise we might link with an installed library
16814 # when we should be linking with a yet-to-be-installed one
16815 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16816 test "$hardcode_minus_L_CXX" != no
; then
16817 # Linking always hardcodes the temporary library directory.
16818 hardcode_action_CXX
=relink
16820 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16821 hardcode_action_CXX
=immediate
16824 # We cannot hardcode anything, or else we can only hardcode existing
16826 hardcode_action_CXX
=unsupported
16828 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16829 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16831 if test "$hardcode_action_CXX" = relink
; then
16832 # Fast installation is not supported
16833 enable_fast_install
=no
16834 elif test "$shlibpath_overrides_runpath" = yes ||
16835 test "$enable_shared" = no
; then
16836 # Fast installation is not necessary
16837 enable_fast_install
=needless
16841 # The else clause should only fire when bootstrapping the
16842 # libtool distribution, otherwise you forgot to ship ltmain.sh
16843 # with your package, and you will get complaints that there are
16844 # no rules to generate ltmain.sh.
16845 if test -f "$ltmain"; then
16846 # See if we are running on zsh, and set the options which allow our commands through
16847 # without removal of \ escapes.
16848 if test -n "${ZSH_VERSION+set}" ; then
16849 setopt NO_GLOB_SUBST
16851 # Now quote all the things that may contain metacharacters while being
16852 # careful not to overquote the AC_SUBSTed values. We take copies of the
16853 # variables and quote the copies for generation of the libtool script.
16854 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16856 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16857 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16858 deplibs_check_method reload_flag reload_cmds need_locks \
16859 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16860 lt_cv_sys_global_symbol_to_c_name_address \
16861 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16862 old_postinstall_cmds old_postuninstall_cmds \
16866 lt_prog_compiler_wl_CXX \
16867 lt_prog_compiler_pic_CXX \
16868 lt_prog_compiler_static_CXX \
16869 lt_prog_compiler_no_builtin_flag_CXX \
16870 export_dynamic_flag_spec_CXX \
16871 thread_safe_flag_spec_CXX \
16872 whole_archive_flag_spec_CXX \
16873 enable_shared_with_static_runtimes_CXX \
16874 old_archive_cmds_CXX \
16875 old_archive_from_new_cmds_CXX \
16876 predep_objects_CXX \
16877 postdep_objects_CXX \
16880 compiler_lib_search_path_CXX \
16881 compiler_lib_search_dirs_CXX \
16883 archive_expsym_cmds_CXX \
16884 postinstall_cmds_CXX \
16885 postuninstall_cmds_CXX \
16886 old_archive_from_expsyms_cmds_CXX \
16887 allow_undefined_flag_CXX \
16888 no_undefined_flag_CXX \
16889 export_symbols_cmds_CXX \
16890 hardcode_libdir_flag_spec_CXX \
16891 hardcode_libdir_flag_spec_ld_CXX \
16892 hardcode_libdir_separator_CXX \
16893 hardcode_automatic_CXX \
16895 module_expsym_cmds_CXX \
16896 lt_cv_prog_compiler_c_o_CXX \
16897 fix_srcfile_path_CXX \
16898 exclude_expsyms_CXX \
16899 include_expsyms_CXX
; do
16902 old_archive_cmds_CXX | \
16903 old_archive_from_new_cmds_CXX | \
16904 archive_cmds_CXX | \
16905 archive_expsym_cmds_CXX | \
16906 module_cmds_CXX | \
16907 module_expsym_cmds_CXX | \
16908 old_archive_from_expsyms_cmds_CXX | \
16909 export_symbols_cmds_CXX | \
16910 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16911 postinstall_cmds | postuninstall_cmds | \
16912 old_postinstall_cmds | old_postuninstall_cmds | \
16913 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16914 # Double-quote double-evaled strings.
16915 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16918 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16924 *'\$0 --fallback-echo"')
16925 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16931 cat <<__EOF__ >> "$cfgfile"
16932 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16934 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16936 # Shell to use when invoking shell scripts.
16939 # Whether or not to build shared libraries.
16940 build_libtool_libs=$enable_shared
16942 # Whether or not to build static libraries.
16943 build_old_libs=$enable_static
16945 # Whether or not to add -lc for building shared libraries.
16946 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16948 # Whether or not to disallow shared libs when runtime libs are static
16949 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16951 # Whether or not to optimize for fast installation.
16952 fast_install=$enable_fast_install
16955 host_alias=$host_alias
16959 # The build system.
16960 build_alias=$build_alias
16964 # An echo program that does not interpret backslashes.
16969 AR_FLAGS=$lt_AR_FLAGS
16974 # LTCC compiler flags.
16975 LTCFLAGS=$lt_LTCFLAGS
16977 # A language-specific compiler.
16978 CC=$lt_compiler_CXX
16980 # Is the compiler the GNU C compiler?
16986 # The linker used to build libraries.
16989 # Whether we need hard or soft links.
16992 # A BSD-compatible nm program.
16995 # A symbol stripping program
16998 # Used to examine libraries when file_magic_cmd begins "file"
16999 MAGIC_CMD=$MAGIC_CMD
17001 # Used on cygwin: DLL creation program.
17004 # Used on cygwin: object dumper.
17007 # Used on cygwin: assembler.
17010 # The name of the directory that contains temporary libtool files.
17013 # How to create reloadable object files.
17014 reload_flag=$lt_reload_flag
17015 reload_cmds=$lt_reload_cmds
17017 # How to pass a linker flag through the compiler.
17018 wl=$lt_lt_prog_compiler_wl_CXX
17020 # Object file suffix (normally "o").
17021 objext="$ac_objext"
17023 # Old archive suffix (normally "a").
17026 # Shared library suffix (normally ".so").
17027 shrext_cmds='$shrext_cmds'
17029 # Executable file suffix (normally "").
17032 # Additional compiler flags for building library objects.
17033 pic_flag=$lt_lt_prog_compiler_pic_CXX
17036 # What is the maximum length of a command?
17037 max_cmd_len=$lt_cv_sys_max_cmd_len
17039 # Does compiler simultaneously support -c and -o options?
17040 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17042 # Must we lock files when doing compilation?
17043 need_locks=$lt_need_locks
17045 # Do we need the lib prefix for modules?
17046 need_lib_prefix=$need_lib_prefix
17048 # Do we need a version for libraries?
17049 need_version=$need_version
17051 # Whether dlopen is supported.
17052 dlopen_support=$enable_dlopen
17054 # Whether dlopen of programs is supported.
17055 dlopen_self=$enable_dlopen_self
17057 # Whether dlopen of statically linked programs is supported.
17058 dlopen_self_static=$enable_dlopen_self_static
17060 # Compiler flag to prevent dynamic linking.
17061 link_static_flag=$lt_lt_prog_compiler_static_CXX
17063 # Compiler flag to turn off builtin functions.
17064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17066 # Compiler flag to allow reflexive dlopens.
17067 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17069 # Compiler flag to generate shared objects directly from archives.
17070 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17072 # Compiler flag to generate thread-safe objects.
17073 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
17075 # Library versioning type.
17076 version_type=$version_type
17078 # Format of library name prefix.
17079 libname_spec=$lt_libname_spec
17081 # List of archive names. First name is the real one, the rest are links.
17082 # The last name is the one that the linker finds with -lNAME.
17083 library_names_spec=$lt_library_names_spec
17085 # The coded name of the library, if different from the real name.
17086 soname_spec=$lt_soname_spec
17088 # Commands used to build and install an old-style archive.
17090 old_archive_cmds=$lt_old_archive_cmds_CXX
17091 old_postinstall_cmds=$lt_old_postinstall_cmds
17092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17094 # Create an old-style archive from a shared archive.
17095 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17097 # Create a temporary old-style archive to link instead of a shared archive.
17098 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17100 # Commands used to build and install a shared archive.
17101 archive_cmds=$lt_archive_cmds_CXX
17102 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17103 postinstall_cmds=$lt_postinstall_cmds
17104 postuninstall_cmds=$lt_postuninstall_cmds
17106 # Commands used to build a loadable module (assumed same as above if empty)
17107 module_cmds=$lt_module_cmds_CXX
17108 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17110 # Commands to strip libraries.
17111 old_striplib=$lt_old_striplib
17112 striplib=$lt_striplib
17114 # Dependencies to place before the objects being linked to create a
17116 predep_objects=$lt_predep_objects_CXX
17118 # Dependencies to place after the objects being linked to create a
17120 postdep_objects=$lt_postdep_objects_CXX
17122 # Dependencies to place before the objects being linked to create a
17124 predeps=$lt_predeps_CXX
17126 # Dependencies to place after the objects being linked to create a
17128 postdeps=$lt_postdeps_CXX
17130 # The directories searched by this compiler when creating a shared
17132 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17134 # The library search path used internally by the compiler when linking
17135 # a shared library.
17136 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17138 # Method to check whether dependent libraries are shared objects.
17139 deplibs_check_method=$lt_deplibs_check_method
17141 # Command to use when deplibs_check_method == file_magic.
17142 file_magic_cmd=$lt_file_magic_cmd
17144 # Flag that allows shared libraries with undefined symbols to be built.
17145 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17147 # Flag that forces no undefined symbols.
17148 no_undefined_flag=$lt_no_undefined_flag_CXX
17150 # Commands used to finish a libtool library installation in a directory.
17151 finish_cmds=$lt_finish_cmds
17153 # Same as above, but a single script fragment to be evaled but not shown.
17154 finish_eval=$lt_finish_eval
17156 # Take the output of nm and produce a listing of raw symbols and C names.
17157 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17159 # Transform the output of nm in a proper C declaration
17160 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17162 # Transform the output of nm in a C name address pair
17163 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17165 # This is the shared library runtime path variable.
17166 runpath_var=$runpath_var
17168 # This is the shared library path variable.
17169 shlibpath_var=$shlibpath_var
17171 # Is shlibpath searched before the hard-coded library search path?
17172 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17174 # How to hardcode a shared library path into an executable.
17175 hardcode_action=$hardcode_action_CXX
17177 # Whether we should hardcode library paths into libraries.
17178 hardcode_into_libs=$hardcode_into_libs
17180 # Flag to hardcode \$libdir into a binary during linking.
17181 # This must work even if \$libdir does not exist.
17182 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17184 # If ld is used when linking, flag to hardcode \$libdir into
17185 # a binary during linking. This must work even if \$libdir does
17187 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17189 # Whether we need a single -rpath flag with a separated argument.
17190 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17192 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17193 # resulting binary.
17194 hardcode_direct=$hardcode_direct_CXX
17196 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17197 # resulting binary.
17198 hardcode_minus_L=$hardcode_minus_L_CXX
17200 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17201 # the resulting binary.
17202 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17204 # Set to yes if building a shared library automatically hardcodes DIR into the library
17205 # and all subsequent libraries and executables linked against it.
17206 hardcode_automatic=$hardcode_automatic_CXX
17208 # Variables whose values should be saved in libtool wrapper scripts and
17209 # restored at relink time.
17210 variables_saved_for_relink="$variables_saved_for_relink"
17212 # Whether libtool must link a program against all its dependency libraries.
17213 link_all_deplibs=$link_all_deplibs_CXX
17215 # Compile-time system search path for libraries
17216 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17218 # Run-time system search path for libraries
17219 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17221 # Fix the shell variable \$srcfile for the compiler.
17222 fix_srcfile_path=$lt_fix_srcfile_path
17224 # Set to yes if exported symbols are required.
17225 always_export_symbols=$always_export_symbols_CXX
17227 # The commands to list exported symbols.
17228 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17230 # The commands to extract the exported symbol list from a shared archive.
17231 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17233 # Symbols that should not be listed in the preloaded symbols.
17234 exclude_expsyms=$lt_exclude_expsyms_CXX
17236 # Symbols that must always be exported.
17237 include_expsyms=$lt_include_expsyms_CXX
17239 # ### END LIBTOOL TAG CONFIG: $tagname
17245 # If there is no Makefile yet, we rely on a make rule to execute
17246 # `config.status --recheck' to rerun these tests and create the
17247 # libtool script then.
17248 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17249 if test -f "$ltmain_in"; then
17250 test -f Makefile
&& make "$ltmain"
17256 ac_cpp
='$CPP $CPPFLAGS'
17257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17265 with_gnu_ldcxx
=$with_gnu_ld
17266 with_gnu_ld
=$lt_save_with_gnu_ld
17267 lt_cv_path_LDCXX
=$lt_cv_path_LD
17268 lt_cv_path_LD
=$lt_save_path_LD
17269 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17270 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17278 if test -n "$F77" && test "X$F77" != "Xno"; then
17281 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17282 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17283 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
17286 archive_cmds_need_lc_F77
=no
17287 allow_undefined_flag_F77
=
17288 always_export_symbols_F77
=no
17289 archive_expsym_cmds_F77
=
17290 export_dynamic_flag_spec_F77
=
17291 hardcode_direct_F77
=no
17292 hardcode_libdir_flag_spec_F77
=
17293 hardcode_libdir_flag_spec_ld_F77
=
17294 hardcode_libdir_separator_F77
=
17295 hardcode_minus_L_F77
=no
17296 hardcode_automatic_F77
=no
17298 module_expsym_cmds_F77
=
17299 link_all_deplibs_F77
=unknown
17300 old_archive_cmds_F77
=$old_archive_cmds
17301 no_undefined_flag_F77
=
17302 whole_archive_flag_spec_F77
=
17303 enable_shared_with_static_runtimes_F77
=no
17305 # Source file extension for f77 test sources.
17308 # Object file extension for compiled f77 test sources.
17312 # Code to be used in simple compile tests
17313 lt_simple_compile_test_code
="\
17319 # Code to be used in simple link tests
17320 lt_simple_link_test_code
="\
17325 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17327 # If no C compiler was specified, use CC.
17330 # If no C compiler flags were specified, use CFLAGS.
17331 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17333 # Allow CC to be a program name with arguments.
17337 # save warnings/boilerplate of simple test code
17338 ac_outfile
=conftest.
$ac_objext
17339 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17340 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17341 _lt_compiler_boilerplate
=`cat conftest.err`
17344 ac_outfile
=conftest.
$ac_objext
17345 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17346 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17347 _lt_linker_boilerplate
=`cat conftest.err`
17351 # Allow CC to be a program name with arguments.
17356 for cc_temp
in $compiler""; do
17358 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17359 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17364 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17367 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17368 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17369 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17370 echo "${ECHO_T}$can_build_shared" >&6; }
17372 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17373 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17374 test "$can_build_shared" = "no" && enable_shared
=no
17376 # On AIX, shared libraries and static libraries use the same namespace, and
17377 # are all built from PIC.
17380 test "$enable_shared" = yes && enable_static
=no
17381 if test -n "$RANLIB"; then
17382 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
17383 postinstall_cmds
='$RANLIB $lib'
17387 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
17388 test "$enable_shared" = yes && enable_static
=no
17392 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17393 echo "${ECHO_T}$enable_shared" >&6; }
17395 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17396 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17397 # Make sure either enable_shared or enable_static is yes.
17398 test "$enable_shared" = yes || enable_static
=yes
17399 { echo "$as_me:$LINENO: result: $enable_static" >&5
17400 echo "${ECHO_T}$enable_static" >&6; }
17405 lt_prog_compiler_wl_F77
=
17406 lt_prog_compiler_pic_F77
=
17407 lt_prog_compiler_static_F77
=
17409 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17410 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17412 if test "$GCC" = yes; then
17413 lt_prog_compiler_wl_F77
='-Wl,'
17414 lt_prog_compiler_static_F77
='-static'
17418 # All AIX code is PIC.
17419 if test "$host_cpu" = ia64
; then
17420 # AIX 5 now supports IA64 processor
17421 lt_prog_compiler_static_F77
='-Bstatic'
17426 # FIXME: we need at least 68020 code to build shared libraries, but
17427 # adding the `-m68020' flag to GCC prevents building anything better,
17429 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
17432 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17433 # PIC is the default for these OSes.
17436 mingw
* | cygwin
* | pw32
* | os2
*)
17437 # This hack is so that the source file can tell whether it is being
17438 # built for inclusion in a dll (and should export symbols for example).
17439 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17440 # (--disable-auto-import) libraries
17441 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
17444 darwin
* | rhapsody
*)
17445 # PIC is the default on this platform
17446 # Common symbols not allowed in MH_DYLIB files
17447 lt_prog_compiler_pic_F77
='-fno-common'
17451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17452 # Instead, we relocate shared libraries at runtime.
17456 # Just because we use GCC doesn't mean we suddenly get shared libraries
17457 # on systems that don't support them.
17458 lt_prog_compiler_can_build_shared_F77
=no
17463 if test -d /usr
/nec
; then
17464 lt_prog_compiler_pic_F77
=-Kconform_pic
17469 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17470 # not for PA HP-UX.
17476 lt_prog_compiler_pic_F77
='-fPIC'
17482 lt_prog_compiler_pic_F77
='-fPIC'
17486 # PORTME Check for flag to pass linker flags through the system compiler.
17489 lt_prog_compiler_wl_F77
='-Wl,'
17490 if test "$host_cpu" = ia64
; then
17491 # AIX 5 now supports IA64 processor
17492 lt_prog_compiler_static_F77
='-Bstatic'
17494 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
17498 # PIC is the default on this platform
17499 # Common symbols not allowed in MH_DYLIB files
17500 case $cc_basename in
17502 lt_prog_compiler_pic_F77
='-qnocommon'
17503 lt_prog_compiler_wl_F77
='-Wl,'
17508 mingw
* | cygwin
* | pw32
* | os2
*)
17509 # This hack is so that the source file can tell whether it is being
17510 # built for inclusion in a dll (and should export symbols for example).
17511 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
17514 hpux9
* | hpux10
* | hpux11
*)
17515 lt_prog_compiler_wl_F77
='-Wl,'
17516 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17517 # not for PA HP-UX.
17523 lt_prog_compiler_pic_F77
='+Z'
17526 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17527 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
17530 irix5
* | irix6
* | nonstopux
*)
17531 lt_prog_compiler_wl_F77
='-Wl,'
17532 # PIC (with -KPIC) is the default.
17533 lt_prog_compiler_static_F77
='-non_shared'
17537 lt_prog_compiler_pic_F77
='-KPIC'
17538 lt_prog_compiler_static_F77
='-Bstatic'
17541 linux
* | k
*bsd
*-gnu)
17542 case $cc_basename in
17544 lt_prog_compiler_wl_F77
='-Wl,'
17545 lt_prog_compiler_pic_F77
='-KPIC'
17546 lt_prog_compiler_static_F77
='-static'
17548 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17549 # Portland Group compilers (*not* the Pentium gcc compiler,
17550 # which looks to be a dead project)
17551 lt_prog_compiler_wl_F77
='-Wl,'
17552 lt_prog_compiler_pic_F77
='-fpic'
17553 lt_prog_compiler_static_F77
='-Bstatic'
17556 lt_prog_compiler_wl_F77
='-Wl,'
17557 # All Alpha code is PIC.
17558 lt_prog_compiler_static_F77
='-non_shared'
17561 case `$CC -V 2>&1 | sed 5q` in
17564 lt_prog_compiler_pic_F77
='-KPIC'
17565 lt_prog_compiler_static_F77
='-Bstatic'
17566 lt_prog_compiler_wl_F77
='-Wl,'
17569 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17570 lt_prog_compiler_pic_F77
='-KPIC'
17571 lt_prog_compiler_static_F77
='-Bstatic'
17572 lt_prog_compiler_wl_F77
=''
17579 osf3
* | osf4
* | osf5
*)
17580 lt_prog_compiler_wl_F77
='-Wl,'
17581 # All OSF/1 code is PIC.
17582 lt_prog_compiler_static_F77
='-non_shared'
17586 lt_prog_compiler_static_F77
='-non_shared'
17590 lt_prog_compiler_pic_F77
='-KPIC'
17591 lt_prog_compiler_static_F77
='-Bstatic'
17592 case $cc_basename in
17593 f77
* | f90
* | f95
*)
17594 lt_prog_compiler_wl_F77
='-Qoption ld ';;
17596 lt_prog_compiler_wl_F77
='-Wl,';;
17601 lt_prog_compiler_wl_F77
='-Qoption ld '
17602 lt_prog_compiler_pic_F77
='-PIC'
17603 lt_prog_compiler_static_F77
='-Bstatic'
17606 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17607 lt_prog_compiler_wl_F77
='-Wl,'
17608 lt_prog_compiler_pic_F77
='-KPIC'
17609 lt_prog_compiler_static_F77
='-Bstatic'
17613 if test -d /usr
/nec
;then
17614 lt_prog_compiler_pic_F77
='-Kconform_pic'
17615 lt_prog_compiler_static_F77
='-Bstatic'
17619 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17620 lt_prog_compiler_wl_F77
='-Wl,'
17621 lt_prog_compiler_pic_F77
='-KPIC'
17622 lt_prog_compiler_static_F77
='-Bstatic'
17626 lt_prog_compiler_wl_F77
='-Wl,'
17627 lt_prog_compiler_can_build_shared_F77
=no
17631 lt_prog_compiler_pic_F77
='-pic'
17632 lt_prog_compiler_static_F77
='-Bstatic'
17636 lt_prog_compiler_can_build_shared_F77
=no
17641 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17642 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17645 # Check to make sure the PIC flag actually works.
17647 if test -n "$lt_prog_compiler_pic_F77"; then
17649 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17650 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17651 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17654 lt_cv_prog_compiler_pic_works_F77
=no
17655 ac_outfile
=conftest.
$ac_objext
17656 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17657 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
17658 # Insert the option either (1) after the last *FLAGS variable, or
17659 # (2) before a word containing "conftest.", or (3) at the end.
17660 # Note that $ac_compile itself does not contain backslashes and begins
17661 # with a dollar sign (not a hyphen), so the echo should work correctly.
17662 # The option is referenced via a variable to avoid confusing sed.
17663 lt_compile
=`echo "$ac_compile" | $SED \
17664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17666 -e 's:$: $lt_compiler_flag:'`
17667 (eval echo "\"\$as_me:17667: $lt_compile\"" >&5)
17668 (eval "$lt_compile" 2>conftest.err
)
17670 cat conftest.err
>&5
17671 echo "$as_me:17671: \$? = $ac_status" >&5
17672 if (exit $ac_status) && test -s "$ac_outfile"; then
17673 # The compiler can only warn and ignore the option if not recognized
17674 # So say no if there are warnings other than the usual output.
17675 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17676 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17677 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17678 lt_cv_prog_compiler_pic_works_F77
=yes
17684 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
17685 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
17687 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
17688 case $lt_prog_compiler_pic_F77 in
17690 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
17693 lt_prog_compiler_pic_F77
=
17694 lt_prog_compiler_can_build_shared_F77
=no
17699 # For platforms which do not support PIC, -DPIC is meaningless:
17701 lt_prog_compiler_pic_F77
=
17704 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
17709 # Check to make sure the static flag actually works.
17711 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
17712 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17713 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17714 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 lt_cv_prog_compiler_static_works_F77
=no
17718 save_LDFLAGS
="$LDFLAGS"
17719 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17720 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17721 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17722 # The linker can only warn and ignore the option if not recognized
17723 # So say no if there are warnings
17724 if test -s conftest.err
; then
17725 # Append any errors to the config.log.
17726 cat conftest.err
1>&5
17727 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17728 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17729 if diff conftest.exp conftest.er2
>/dev
/null
; then
17730 lt_cv_prog_compiler_static_works_F77
=yes
17733 lt_cv_prog_compiler_static_works_F77
=yes
17737 LDFLAGS
="$save_LDFLAGS"
17740 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
17741 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
17743 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
17746 lt_prog_compiler_static_F77
=
17750 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17751 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17752 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 lt_cv_prog_compiler_c_o_F77
=no
17756 $rm -r conftest
2>/dev
/null
17760 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17762 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17763 # Insert the option either (1) after the last *FLAGS variable, or
17764 # (2) before a word containing "conftest.", or (3) at the end.
17765 # Note that $ac_compile itself does not contain backslashes and begins
17766 # with a dollar sign (not a hyphen), so the echo should work correctly.
17767 lt_compile
=`echo "$ac_compile" | $SED \
17768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17770 -e 's:$: $lt_compiler_flag:'`
17771 (eval echo "\"\$as_me:17771: $lt_compile\"" >&5)
17772 (eval "$lt_compile" 2>out
/conftest.err
)
17774 cat out
/conftest.err
>&5
17775 echo "$as_me:17775: \$? = $ac_status" >&5
17776 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17778 # The compiler can only warn and ignore the option if not recognized
17779 # So say no if there are warnings
17780 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17781 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17782 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17783 lt_cv_prog_compiler_c_o_F77
=yes
17788 # SGI C++ compiler will create directory out/ii_files/ for
17789 # template instantiation
17790 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17791 $rm out
/* && rmdir out
17797 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17798 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17801 hard_links
="nottested"
17802 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
17803 # do not overwrite the value of need_locks provided by the user
17804 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17805 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17808 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17810 ln conftest.a conftest.b
2>&5 || hard_links
=no
17811 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17812 { echo "$as_me:$LINENO: result: $hard_links" >&5
17813 echo "${ECHO_T}$hard_links" >&6; }
17814 if test "$hard_links" = no
; then
17815 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17816 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17823 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17824 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17827 allow_undefined_flag_F77
=
17828 enable_shared_with_static_runtimes_F77
=no
17830 archive_expsym_cmds_F77
=
17831 old_archive_From_new_cmds_F77
=
17832 old_archive_from_expsyms_cmds_F77
=
17833 export_dynamic_flag_spec_F77
=
17834 whole_archive_flag_spec_F77
=
17835 thread_safe_flag_spec_F77
=
17836 hardcode_libdir_flag_spec_F77
=
17837 hardcode_libdir_flag_spec_ld_F77
=
17838 hardcode_libdir_separator_F77
=
17839 hardcode_direct_F77
=no
17840 hardcode_minus_L_F77
=no
17841 hardcode_shlibpath_var_F77
=unsupported
17842 link_all_deplibs_F77
=unknown
17843 hardcode_automatic_F77
=no
17845 module_expsym_cmds_F77
=
17846 always_export_symbols_F77
=no
17847 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17848 # include_expsyms should be a list of space-separated symbols to be *always*
17849 # included in the symbol list
17850 include_expsyms_F77
=
17851 # exclude_expsyms can be an extended regexp of symbols to exclude
17852 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17853 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17854 # as well as any symbol that contains `d'.
17855 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17856 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17857 # platforms (ab)use it in PIC code, but their linkers get confused if
17858 # the symbol is explicitly referenced. Since portable code cannot
17859 # rely on this symbol name, it's probably fine to never include it in
17860 # preloaded symbol tables.
17861 # Exclude shared library initialization/finalization symbols.
17862 extract_expsyms_cmds
=
17863 # Just being paranoid about ensuring that cc_basename is set.
17864 for cc_temp
in $compiler""; do
17866 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17867 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17872 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17875 cygwin
* | mingw
* | pw32
*)
17876 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17877 # When not using gcc, we currently assume that we are using
17878 # Microsoft Visual C++.
17879 if test "$GCC" != yes; then
17884 # we just hope/assume this is gcc and not c89 (= MSVC++)
17893 if test "$with_gnu_ld" = yes; then
17894 # If archive_cmds runs LD, not CC, wlarc should be empty
17897 # Set some defaults for GNU ld with shared library support. These
17898 # are reset later if shared libraries are not supported. Putting them
17899 # here allows them to be overridden if necessary.
17900 runpath_var
=LD_RUN_PATH
17901 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
17902 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
17903 # ancient GNU ld didn't support --whole-archive et. al.
17904 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17905 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17907 whole_archive_flag_spec_F77
=
17909 supports_anon_versioning
=no
17910 case `$LD -v 2>/dev/null` in
17911 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17912 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17913 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17914 *\
2.11.
*) ;; # other 2.11 versions
17915 *) supports_anon_versioning
=yes ;;
17918 # See if GNU ld supports shared libraries.
17921 # On AIX/PPC, the GNU linker is very broken
17922 if test "$host_cpu" != ia64
; then
17926 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17927 *** to be unable to reliably create shared libraries on AIX.
17928 *** Therefore, libtool is disabling shared libraries support. If you
17929 *** really care for shared libraries, you may want to modify your PATH
17930 *** so that a non-GNU linker is found, and then restart.
17937 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)'
17938 hardcode_libdir_flag_spec_F77
='-L$libdir'
17939 hardcode_minus_L_F77
=yes
17941 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17942 # that the semantics of dynamic libraries on AmigaOS, at least up
17943 # to version 4, is to share data among multiple programs linked
17944 # with the same dynamic library. Since this doesn't match the
17945 # behavior of shared libraries on other platforms, we can't use
17951 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17952 allow_undefined_flag_F77
=unsupported
17953 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17954 # support --undefined. This deserves some investigation. FIXME
17955 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17961 cygwin
* | mingw
* | pw32
*)
17962 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17963 # as there is no search path for DLLs.
17964 hardcode_libdir_flag_spec_F77
='-L$libdir'
17965 allow_undefined_flag_F77
=unsupported
17966 always_export_symbols_F77
=no
17967 enable_shared_with_static_runtimes_F77
=yes
17968 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17970 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17971 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17972 # If the export-symbols file already is a .def file (1st line
17973 # is EXPORTS), use it as is; otherwise, prepend...
17974 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17975 cp $export_symbols $output_objdir/$soname.def;
17977 echo EXPORTS > $output_objdir/$soname.def;
17978 cat $export_symbols >> $output_objdir/$soname.def;
17980 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17987 hardcode_direct_F77
=no
17988 hardcode_shlibpath_var_F77
=no
17989 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17990 export_dynamic_flag_spec_F77
='${wl}-E'
17991 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17992 # Instead, shared libraries are loaded at an image base (0x10000000 by
17993 # default) and relocated if they conflict, which is a slow very memory
17994 # consuming and fragmenting process. To avoid this, we pick a random,
17995 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17996 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17997 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'
17998 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'
18001 gnu
* | linux
* | k
*bsd
*-gnu)
18002 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18004 case $cc_basename,$host_cpu in
18005 pgcc
*) # Portland Group C compiler
18006 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'
18007 tmp_addflag
=' $pic_flag'
18009 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18010 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'
18011 tmp_addflag
=' $pic_flag -Mnomain' ;;
18012 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18013 tmp_addflag
=' -i_dynamic' ;;
18014 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18015 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18016 ifc
* | ifort
*) # Intel Fortran compiler
18017 tmp_addflag
=' -nofor_main' ;;
18019 case `$CC -V 2>&1 | sed 5q` in
18020 *Sun\ C
*) # Sun C 5.9
18021 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'
18022 tmp_sharedflag
='-G' ;;
18023 *Sun\ F
*) # Sun Fortran 8.3
18024 tmp_sharedflag
='-G' ;;
18026 tmp_sharedflag
='-shared' ;;
18028 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18030 if test $supports_anon_versioning = yes; then
18031 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
18032 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18033 $echo "local: *; };" >> $output_objdir/$libname.ver~
18034 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18036 link_all_deplibs_F77
=no
18042 netbsd
* | netbsdelf
*-gnu)
18043 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18044 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18047 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18048 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18053 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18058 *** create shared libraries on Solaris systems. Therefore, libtool
18059 *** is disabling shared libraries support. We urge you to upgrade GNU
18060 *** binutils to release 2.9.1 or newer. Another option is to modify
18061 *** your PATH or compiler configuration so that the native linker is
18062 *** used, and then restart.
18065 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18066 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18067 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18073 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18074 case `$LD -v 2>&1` in
18075 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18080 *** reliably create shared libraries on SCO systems. Therefore, libtool
18081 *** is disabling shared libraries support. We urge you to upgrade GNU
18082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18083 *** your PATH or compiler configuration so that the native linker is
18084 *** used, and then restart.
18089 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18090 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18091 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18092 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18101 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18103 hardcode_direct_F77
=yes
18104 hardcode_shlibpath_var_F77
=no
18108 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18109 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18110 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18117 if test "$ld_shlibs_F77" = no
; then
18119 hardcode_libdir_flag_spec_F77
=
18120 export_dynamic_flag_spec_F77
=
18121 whole_archive_flag_spec_F77
=
18124 # PORTME fill in a description of your system's linker (not GNU ld)
18127 allow_undefined_flag_F77
=unsupported
18128 always_export_symbols_F77
=yes
18129 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'
18130 # Note: this linker hardcodes the directories in LIBPATH if there
18131 # are no directories specified by -L.
18132 hardcode_minus_L_F77
=yes
18133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18134 # Neither direct hardcoding nor static linking is supported with a
18136 hardcode_direct_F77
=unsupported
18141 if test "$host_cpu" = ia64
; then
18142 # On IA64, the linker does run time linking by default, so we don't
18143 # have to do anything special.
18144 aix_use_runtimelinking
=no
18145 exp_sym_flag
='-Bexport'
18148 # If we're using GNU nm, then we don't want the "-C" option.
18149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18150 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18151 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'
18153 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'
18155 aix_use_runtimelinking
=no
18157 # Test if we are trying to use run time linking or normal
18158 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18159 # need to do runtime linking.
18160 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18161 for ld_flag
in $LDFLAGS; do
18162 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18163 aix_use_runtimelinking
=yes
18170 exp_sym_flag
='-bexport'
18171 no_entry_flag
='-bnoentry'
18174 # When large executables or shared objects are built, AIX ld can
18175 # have problems creating the table of contents. If linking a library
18176 # or program results in "error TOC overflow" add -mminimal-toc to
18177 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18178 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18180 archive_cmds_F77
=''
18181 hardcode_direct_F77
=yes
18182 hardcode_libdir_separator_F77
=':'
18183 link_all_deplibs_F77
=yes
18185 if test "$GCC" = yes; then
18186 case $host_os in aix4.
[012]|aix4.
[012].
*)
18187 # We only want to do this on AIX 4.2 and lower, the check
18188 # below for broken collect2 doesn't work under 4.3+
18189 collect2name
=`${CC} -print-prog-name=collect2`
18190 if test -f "$collect2name" && \
18191 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18193 # We have reworked collect2
18196 # We have old collect2
18197 hardcode_direct_F77
=unsupported
18198 # It fails to find uninstalled libraries when the uninstalled
18199 # path is not listed in the libpath. Setting hardcode_minus_L
18200 # to unsupported forces relinking
18201 hardcode_minus_L_F77
=yes
18202 hardcode_libdir_flag_spec_F77
='-L$libdir'
18203 hardcode_libdir_separator_F77
=
18207 shared_flag
='-shared'
18208 if test "$aix_use_runtimelinking" = yes; then
18209 shared_flag
="$shared_flag "'${wl}-G'
18213 if test "$host_cpu" = ia64
; then
18214 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18215 # chokes on -Wl,-G. The following line is correct:
18218 if test "$aix_use_runtimelinking" = yes; then
18219 shared_flag
='${wl}-G'
18221 shared_flag
='${wl}-bM:SRE'
18226 # It seems that -bexpall does not export symbols beginning with
18227 # underscore (_), so it is better to generate a list of symbols to export.
18228 always_export_symbols_F77
=yes
18229 if test "$aix_use_runtimelinking" = yes; then
18230 # Warning - without using the other runtime loading flags (-brtl),
18231 # -berok will link without error, but may produce a broken library.
18232 allow_undefined_flag_F77
='-berok'
18233 # Determine the default libpath from the value encoded in an empty executable.
18234 cat >conftest.
$ac_ext <<_ACEOF
18239 rm -f conftest.
$ac_objext conftest
$ac_exeext
18240 if { (ac_try
="$ac_link"
18241 case "(($ac_try" in
18242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18243 *) ac_try_echo=$ac_try;;
18245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18246 (eval "$ac_link") 2>conftest.er1
18248 grep -v '^ *+' conftest.er1 >conftest.err
18250 cat conftest.err >&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } && {
18253 test -z "$ac_f77_werror_flag" ||
18254 test ! -s conftest.err
18255 } && test -s conftest$ac_exeext &&
18256 $as_test_x conftest$ac_exeext; then
18258 lt_aix_libpath_sed='
18259 /Import File Strings/,/^$/ {
18265 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18266 # Check for a 64-bit object if we didn't find anything.
18267 if test -z "$aix_libpath"; then
18268 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18278 conftest$ac_exeext conftest.$ac_ext
18279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18281 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18282 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"
18284 if test "$host_cpu" = ia64; then
18285 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
18286 allow_undefined_flag_F77="-z nodefs"
18287 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"
18289 # Determine the default libpath from the value encoded in an empty executable.
18290 cat >conftest.$ac_ext <<_ACEOF
18295 rm -f conftest.$ac_objext conftest$ac_exeext
18296 if { (ac_try="$ac_link"
18297 case "(($ac_try" in
18298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18299 *) ac_try_echo
=$ac_try;;
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_link") 2>conftest.er1
18304 grep -v '^ *+' conftest.er1
>conftest.err
18306 cat conftest.err
>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } && {
18309 test -z "$ac_f77_werror_flag" ||
18310 test ! -s conftest.err
18311 } && test -s conftest
$ac_exeext &&
18312 $as_test_x conftest
$ac_exeext; then
18314 lt_aix_libpath_sed
='
18315 /Import File Strings/,/^$/ {
18321 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18322 # Check for a 64-bit object if we didn't find anything.
18323 if test -z "$aix_libpath"; then
18324 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.
$ac_ext >&5
18333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18334 conftest
$ac_exeext conftest.
$ac_ext
18335 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18337 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
18338 # Warning - without using the other run time loading flags,
18339 # -berok will link without error, but may produce a broken library.
18340 no_undefined_flag_F77
=' ${wl}-bernotok'
18341 allow_undefined_flag_F77
=' ${wl}-berok'
18342 # Exported symbols can be pulled into shared objects from archives
18343 whole_archive_flag_spec_F77
='$convenience'
18344 archive_cmds_need_lc_F77
=yes
18345 # This is similar to how AIX traditionally builds its shared libraries.
18346 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'
18352 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)'
18353 hardcode_libdir_flag_spec_F77
='-L$libdir'
18354 hardcode_minus_L_F77
=yes
18355 # see comment about different semantics on the GNU ld section
18360 export_dynamic_flag_spec_F77
=-rdynamic
18363 cygwin
* | mingw
* | pw32
*)
18364 # When not using gcc, we currently assume that we are using
18365 # Microsoft Visual C++.
18366 # hardcode_libdir_flag_spec is actually meaningless, as there is
18367 # no search path for DLLs.
18368 hardcode_libdir_flag_spec_F77
=' '
18369 allow_undefined_flag_F77
=unsupported
18370 # Tell ltmain to make .lib files, not .a files.
18372 # Tell ltmain to make .dll files, not .so files.
18374 # FIXME: Setting linknames here is a bad hack.
18375 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18376 # The linker will automatically build a .lib file if we build a DLL.
18377 old_archive_From_new_cmds_F77
='true'
18378 # FIXME: Should let the user specify the lib program.
18379 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18380 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
18381 enable_shared_with_static_runtimes_F77
=yes
18384 darwin
* | rhapsody
*)
18386 rhapsody
* | darwin1.
[012])
18387 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
18390 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18391 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18393 case ${MACOSX_DEPLOYMENT_TARGET} in
18395 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18398 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
18404 archive_cmds_need_lc_F77
=no
18405 hardcode_direct_F77
=no
18406 hardcode_automatic_F77
=yes
18407 hardcode_shlibpath_var_F77
=unsupported
18408 whole_archive_flag_spec_F77
=''
18409 link_all_deplibs_F77
=yes
18410 if test "$GCC" = yes ; then
18411 output_verbose_link_cmd
='echo'
18412 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}"
18413 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18414 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}"
18415 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}"
18417 case $cc_basename in
18419 output_verbose_link_cmd
='echo'
18420 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18421 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18422 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18423 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}'
18424 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}'
18434 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18435 hardcode_libdir_flag_spec_F77
='-L$libdir'
18436 hardcode_shlibpath_var_F77
=no
18443 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18444 # support. Future versions do this automatically, but an explicit c++rt0.o
18445 # does not break anything, and helps significantly (at the cost of a little
18448 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18449 hardcode_libdir_flag_spec_F77
='-R$libdir'
18450 hardcode_direct_F77
=yes
18451 hardcode_shlibpath_var_F77
=no
18454 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18456 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18457 hardcode_direct_F77
=yes
18458 hardcode_minus_L_F77
=yes
18459 hardcode_shlibpath_var_F77
=no
18462 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18463 freebsd
* | dragonfly
*)
18464 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18465 hardcode_libdir_flag_spec_F77
='-R$libdir'
18466 hardcode_direct_F77
=yes
18467 hardcode_shlibpath_var_F77
=no
18471 if test "$GCC" = yes; then
18472 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'
18474 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'
18476 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18477 hardcode_libdir_separator_F77
=:
18478 hardcode_direct_F77
=yes
18480 # hardcode_minus_L: Not really in the search PATH,
18481 # but as the default location of the library.
18482 hardcode_minus_L_F77
=yes
18483 export_dynamic_flag_spec_F77
='${wl}-E'
18487 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18488 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18490 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18492 if test "$with_gnu_ld" = no
; then
18493 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18494 hardcode_libdir_separator_F77
=:
18496 hardcode_direct_F77
=yes
18497 export_dynamic_flag_spec_F77
='${wl}-E'
18499 # hardcode_minus_L: Not really in the search PATH,
18500 # but as the default location of the library.
18501 hardcode_minus_L_F77
=yes
18506 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18509 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18512 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18515 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18521 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18524 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18527 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18531 if test "$with_gnu_ld" = no
; then
18532 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18533 hardcode_libdir_separator_F77
=:
18537 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
18538 hardcode_direct_F77
=no
18539 hardcode_shlibpath_var_F77
=no
18542 hardcode_direct_F77
=yes
18543 export_dynamic_flag_spec_F77
='${wl}-E'
18545 # hardcode_minus_L: Not really in the search PATH,
18546 # but as the default location of the library.
18547 hardcode_minus_L_F77
=yes
18553 irix5
* | irix6
* | nonstopux
*)
18554 if test "$GCC" = yes; then
18555 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'
18557 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'
18558 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
18560 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18561 hardcode_libdir_separator_F77
=:
18562 link_all_deplibs_F77
=yes
18565 netbsd
* | netbsdelf
*-gnu)
18566 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18567 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18569 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18571 hardcode_libdir_flag_spec_F77
='-R$libdir'
18572 hardcode_direct_F77
=yes
18573 hardcode_shlibpath_var_F77
=no
18577 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18578 hardcode_direct_F77
=yes
18579 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18580 hardcode_libdir_separator_F77
=:
18581 hardcode_shlibpath_var_F77
=no
18585 if test -f /usr
/libexec
/ld.so
; then
18586 hardcode_direct_F77
=yes
18587 hardcode_shlibpath_var_F77
=no
18588 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18589 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18590 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18591 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
18592 export_dynamic_flag_spec_F77
='${wl}-E'
18595 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18596 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18597 hardcode_libdir_flag_spec_F77
='-R$libdir'
18600 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18601 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
18611 hardcode_libdir_flag_spec_F77
='-L$libdir'
18612 hardcode_minus_L_F77
=yes
18613 allow_undefined_flag_F77
=unsupported
18614 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'
18615 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18619 if test "$GCC" = yes; then
18620 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
18621 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'
18623 allow_undefined_flag_F77
=' -expect_unresolved \*'
18624 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'
18626 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18627 hardcode_libdir_separator_F77
=:
18630 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18631 if test "$GCC" = yes; then
18632 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
18633 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'
18634 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18636 allow_undefined_flag_F77
=' -expect_unresolved \*'
18637 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'
18638 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~
18639 $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'
18641 # Both c and cxx compiler support -rpath directly
18642 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
18644 hardcode_libdir_separator_F77
=:
18648 no_undefined_flag_F77
=' -z text'
18649 if test "$GCC" = yes; then
18651 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18652 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18653 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18656 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18657 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18658 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18660 hardcode_libdir_flag_spec_F77
='-R$libdir'
18661 hardcode_shlibpath_var_F77
=no
18663 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18665 # The compiler driver will combine and reorder linker options,
18666 # but understands `-z linker_flag'. GCC discards it without `$wl',
18667 # but is careful enough not to reorder.
18668 # Supported since Solaris 2.6 (maybe 2.5.1?)
18669 if test "$GCC" = yes; then
18670 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18672 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
18676 link_all_deplibs_F77
=yes
18680 if test "x$host_vendor" = xsequent
; then
18681 # Use $CC to link under sequent, because it throws in some extra .o
18682 # files that make .init and .fini sections work.
18683 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18685 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18687 hardcode_libdir_flag_spec_F77
='-L$libdir'
18688 hardcode_direct_F77
=yes
18689 hardcode_minus_L_F77
=yes
18690 hardcode_shlibpath_var_F77
=no
18694 case $host_vendor in
18696 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18697 hardcode_direct_F77
=yes # is this really true???
18700 ## LD is ld it makes a PLAMLIB
18701 ## CC just makes a GrossModule.
18702 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18703 reload_cmds_F77
='$CC -r -o $output$reload_objs'
18704 hardcode_direct_F77
=no
18707 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18708 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
18711 runpath_var
='LD_RUN_PATH'
18712 hardcode_shlibpath_var_F77
=no
18716 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18717 hardcode_shlibpath_var_F77
=no
18718 export_dynamic_flag_spec_F77
='-Bexport'
18722 if test -d /usr
/nec
; then
18723 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18724 hardcode_shlibpath_var_F77
=no
18725 runpath_var
=LD_RUN_PATH
18726 hardcode_runpath_var
=yes
18731 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18732 no_undefined_flag_F77
='${wl}-z,text'
18733 archive_cmds_need_lc_F77
=no
18734 hardcode_shlibpath_var_F77
=no
18735 runpath_var
='LD_RUN_PATH'
18737 if test "$GCC" = yes; then
18738 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18739 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18741 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18742 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18746 sysv5
* | sco3.2v5
* | sco5v6
*)
18747 # Note: We can NOT use -z defs as we might desire, because we do not
18748 # link with -lc, and that would cause any symbols used from libc to
18749 # always be unresolved, which means just about no library would
18750 # ever link correctly. If we're not using GNU ld we use -z text
18751 # though, which does catch some bad symbols but isn't as heavy-handed
18753 no_undefined_flag_F77
='${wl}-z,text'
18754 allow_undefined_flag_F77
='${wl}-z,nodefs'
18755 archive_cmds_need_lc_F77
=no
18756 hardcode_shlibpath_var_F77
=no
18757 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18758 hardcode_libdir_separator_F77
=':'
18759 link_all_deplibs_F77
=yes
18760 export_dynamic_flag_spec_F77
='${wl}-Bexport'
18761 runpath_var
='LD_RUN_PATH'
18763 if test "$GCC" = yes; then
18764 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18765 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18767 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18768 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18773 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18774 hardcode_libdir_flag_spec_F77
='-L$libdir'
18775 hardcode_shlibpath_var_F77
=no
18784 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18785 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
18786 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
18789 # Do we need to explicitly link libc?
18791 case "x$archive_cmds_need_lc_F77" in
18793 # Assume -lc should be added
18794 archive_cmds_need_lc_F77
=yes
18796 if test "$enable_shared" = yes && test "$GCC" = yes; then
18797 case $archive_cmds_F77 in
18799 # FIXME: we may have to deal with multi-command sequences.
18802 # Test whether the compiler implicitly links with -lc since on some
18803 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18804 # to ld, don't add -lc before -lgcc.
18805 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18806 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18808 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18811 (eval $ac_compile) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } 2>conftest.err
; then
18817 libobjs
=conftest.
$ac_objext
18819 wl
=$lt_prog_compiler_wl_F77
18820 pic_flag
=$lt_prog_compiler_pic_F77
18826 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
18827 allow_undefined_flag_F77
=
18828 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18829 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }
18834 archive_cmds_need_lc_F77
=no
18836 archive_cmds_need_lc_F77
=yes
18838 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
18840 cat conftest.err
1>&5
18843 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18844 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18851 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18852 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18853 library_names_spec
=
18854 libname_spec
='lib$name'
18858 postuninstall_cmds
=
18862 shlibpath_overrides_runpath
=unknown
18864 dynamic_linker
="$host_os ld.so"
18865 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18867 need_lib_prefix
=unknown
18868 hardcode_into_libs
=no
18870 # when you set need_version to no, make sure it does not cause -set_version
18871 # flags to be left without arguments
18872 need_version
=unknown
18877 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18878 shlibpath_var
=LIBPATH
18880 # AIX 3 has no versioning support, so we append a major version to the name.
18881 soname_spec
='${libname}${release}${shared_ext}$major'
18888 hardcode_into_libs
=yes
18889 if test "$host_cpu" = ia64
; then
18890 # AIX 5 supports IA64
18891 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18892 shlibpath_var
=LD_LIBRARY_PATH
18894 # With GCC up to 2.95.x, collect2 would create an import file
18895 # for dependence libraries. The import file would start with
18896 # the line `#! .'. This would cause the generated library to
18897 # depend on `.', always an invalid library. This was fixed in
18898 # development snapshots of GCC prior to 3.0.
18900 aix4 | aix4.
[01] | aix4.
[01].
*)
18901 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18903 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18906 can_build_shared
=no
18910 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18911 # soname into executable. Probably we can add versioning support to
18912 # collect2, so additional links can be useful in future.
18913 if test "$aix_use_runtimelinking" = yes; then
18914 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18915 # instead of lib<name>.a to let people know that these are not
18916 # typical AIX shared libraries.
18917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18919 # We preserve .a as extension for shared libraries through AIX4.2
18920 # and later when we are not doing run time linking.
18921 library_names_spec
='${libname}${release}.a $libname.a'
18922 soname_spec
='${libname}${release}${shared_ext}$major'
18924 shlibpath_var
=LIBPATH
18929 library_names_spec
='$libname.ixlibrary $libname.a'
18930 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18931 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'
18935 library_names_spec
='${libname}${shared_ext}'
18936 dynamic_linker
="$host_os ld.so"
18937 shlibpath_var
=LIBRARY_PATH
18943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18944 soname_spec
='${libname}${release}${shared_ext}$major'
18945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18946 shlibpath_var
=LD_LIBRARY_PATH
18947 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18948 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18949 # the default ld.so.conf also contains /usr/contrib/lib and
18950 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18951 # libtool to hard-code these into programs
18954 cygwin
* | mingw
* | pw32
*)
18955 version_type
=windows
18960 case $GCC,$host_os in
18961 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18962 library_names_spec
='$libname.dll.a'
18963 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18964 postinstall_cmds
='base_file=`basename \${file}`~
18965 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18966 dldir=$destdir/`dirname \$dlpath`~
18967 test -d \$dldir || mkdir -p \$dldir~
18968 $install_prog $dir/$dlname \$dldir/$dlname~
18969 chmod a+x \$dldir/$dlname'
18970 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18971 dlpath=$dir/\$dldll~
18973 shlibpath_overrides_runpath
=yes
18977 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18978 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18979 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18982 # MinGW DLLs use traditional 'lib' prefix
18983 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18984 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18985 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18986 # It is most probably a Windows format PATH printed by
18987 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18988 # path with ; separators, and with drive letters. We can handle the
18989 # drive letters (cygwin fileutils understands them), so leave them,
18990 # especially as we might pass files found there to a mingw objdump,
18991 # which wouldn't understand a cygwinified path. Ahh.
18992 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18994 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18998 # pw32 DLLs use 'pw' prefix rather than 'lib'
18999 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19005 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19008 dynamic_linker
='Win32 ld.exe'
19009 # FIXME: first we should search . and the directory the executable is in
19013 darwin
* | rhapsody
*)
19014 dynamic_linker
="$host_os dyld"
19015 version_type
=darwin
19018 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19019 soname_spec
='${libname}${release}${major}$shared_ext'
19020 shlibpath_overrides_runpath
=yes
19021 shlibpath_var
=DYLD_LIBRARY_PATH
19022 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19024 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19032 soname_spec
='${libname}${release}${shared_ext}$major'
19033 shlibpath_var
=LD_LIBRARY_PATH
19040 freebsd
* | dragonfly
*)
19041 # DragonFly does not have aout. When/if they implement a new
19042 # versioning mechanism, adjust this.
19043 if test -x /usr
/bin
/objformat
; then
19044 objformat
=`/usr/bin/objformat`
19047 freebsd
[123]*) objformat
=aout
;;
19048 *) objformat
=elf
;;
19051 version_type
=freebsd-
$objformat
19052 case $version_type in
19054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19059 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19063 shlibpath_var
=LD_LIBRARY_PATH
19066 shlibpath_overrides_runpath
=yes
19068 freebsd3.
[01]* | freebsdelf3.
[01]*)
19069 shlibpath_overrides_runpath
=yes
19070 hardcode_into_libs
=yes
19072 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19073 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19074 shlibpath_overrides_runpath
=no
19075 hardcode_into_libs
=yes
19077 *) # from 4.6 on, and DragonFly
19078 shlibpath_overrides_runpath
=yes
19079 hardcode_into_libs
=yes
19088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19089 soname_spec
='${libname}${release}${shared_ext}$major'
19090 shlibpath_var
=LD_LIBRARY_PATH
19091 hardcode_into_libs
=yes
19094 hpux9
* | hpux10
* | hpux11
*)
19095 # Give a soname corresponding to the major version so that dld.sl refuses to
19096 # link against other versions.
19103 hardcode_into_libs
=yes
19104 dynamic_linker
="$host_os dld.so"
19105 shlibpath_var
=LD_LIBRARY_PATH
19106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19108 soname_spec
='${libname}${release}${shared_ext}$major'
19109 if test "X$HPUX_IA64_MODE" = X32
; then
19110 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19112 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19114 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19118 hardcode_into_libs
=yes
19119 dynamic_linker
="$host_os dld.sl"
19120 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19121 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19123 soname_spec
='${libname}${release}${shared_ext}$major'
19124 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19125 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19129 dynamic_linker
="$host_os dld.sl"
19130 shlibpath_var
=SHLIB_PATH
19131 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19133 soname_spec
='${libname}${release}${shared_ext}$major'
19136 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19137 postinstall_cmds
='chmod 555 $lib'
19144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19145 soname_spec
='${libname}${release}${shared_ext}$major'
19146 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19147 shlibpath_var
=LD_LIBRARY_PATH
19148 shlibpath_overrides_runpath
=no
19149 hardcode_into_libs
=yes
19152 irix5
* | irix6
* | nonstopux
*)
19154 nonstopux
*) version_type
=nonstopux
;;
19156 if test "$lt_cv_prog_gnu_ld" = yes; then
19164 soname_spec
='${libname}${release}${shared_ext}$major'
19165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19167 irix5
* | nonstopux
*)
19168 libsuff
= shlibsuff
=
19171 case $LD in # libtool.m4 will add one of these switches to LD
19172 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19173 libsuff
= shlibsuff
= libmagic
=32-bit;;
19174 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19175 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19176 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19177 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19178 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19182 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19183 shlibpath_overrides_runpath
=no
19184 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19185 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19186 hardcode_into_libs
=yes
19189 # No shared lib support for Linux oldld, aout, or coff.
19190 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19194 # This must be Linux ELF.
19195 linux
* | k
*bsd
*-gnu)
19199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19200 soname_spec
='${libname}${release}${shared_ext}$major'
19201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19202 shlibpath_var
=LD_LIBRARY_PATH
19203 shlibpath_overrides_runpath
=no
19204 # This implies no fast_install, which is unacceptable.
19205 # Some rework will be needed to allow for fast_install
19206 # before this can be enabled.
19207 hardcode_into_libs
=yes
19209 # Append ld.so.conf contents to the search path
19210 if test -f /etc
/ld.so.conf
; then
19211 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' ' '`
19212 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19215 # We used to test for /lib/ld.so.1 and disable shared libraries on
19216 # powerpc, because MkLinux only supported shared libraries with the
19217 # GNU dynamic linker. Since this was broken with cross compilers,
19218 # most powerpc-linux boxes support dynamic linking these days and
19219 # people can always --disable-shared, the test was removed, and we
19220 # assume the GNU/Linux dynamic linker is in use.
19221 dynamic_linker
='GNU/Linux ld.so'
19228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19229 soname_spec
='${libname}${release}${shared_ext}$major'
19230 shlibpath_var
=LD_LIBRARY_PATH
19231 shlibpath_overrides_runpath
=no
19232 hardcode_into_libs
=yes
19233 dynamic_linker
='NetBSD ld.elf_so'
19240 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19242 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19243 dynamic_linker
='NetBSD (a.out) ld.so'
19245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19246 soname_spec
='${libname}${release}${shared_ext}$major'
19247 dynamic_linker
='NetBSD ld.elf_so'
19249 shlibpath_var
=LD_LIBRARY_PATH
19250 shlibpath_overrides_runpath
=yes
19251 hardcode_into_libs
=yes
19256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19257 shlibpath_var
=LD_LIBRARY_PATH
19258 shlibpath_overrides_runpath
=yes
19265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19266 soname_spec
='${libname}${release}${shared_ext}$major'
19267 shlibpath_var
=LD_LIBRARY_PATH
19268 shlibpath_overrides_runpath
=yes
19273 sys_lib_dlsearch_path_spec
="/usr/lib"
19275 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19277 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19278 *) need_version
=no
;;
19280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19282 shlibpath_var
=LD_LIBRARY_PATH
19283 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19285 openbsd2.
[89] | openbsd2.
[89].
*)
19286 shlibpath_overrides_runpath
=no
19289 shlibpath_overrides_runpath
=yes
19293 shlibpath_overrides_runpath
=yes
19298 libname_spec
='$name'
19301 library_names_spec
='$libname${shared_ext} $libname.a'
19302 dynamic_linker
='OS/2 ld.exe'
19303 shlibpath_var
=LIBPATH
19306 osf3
* | osf4
* | osf5
*)
19310 soname_spec
='${libname}${release}${shared_ext}$major'
19311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19312 shlibpath_var
=LD_LIBRARY_PATH
19313 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19314 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19326 soname_spec
='${libname}${release}${shared_ext}$major'
19327 shlibpath_var
=LD_LIBRARY_PATH
19328 shlibpath_overrides_runpath
=yes
19329 hardcode_into_libs
=yes
19330 # ldd complains unless libraries are executable
19331 postinstall_cmds
='chmod +x $lib'
19336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19337 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19338 shlibpath_var
=LD_LIBRARY_PATH
19339 shlibpath_overrides_runpath
=yes
19340 if test "$with_gnu_ld" = yes; then
19348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19349 soname_spec
='${libname}${release}${shared_ext}$major'
19350 shlibpath_var
=LD_LIBRARY_PATH
19351 case $host_vendor in
19353 shlibpath_overrides_runpath
=no
19355 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19356 runpath_var
=LD_RUN_PATH
19364 shlibpath_overrides_runpath
=no
19365 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19371 if test -d /usr
/nec
;then
19373 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19374 soname_spec
='$libname${shared_ext}.$major'
19375 shlibpath_var
=LD_LIBRARY_PATH
19379 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19380 version_type
=freebsd-elf
19383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19384 soname_spec
='${libname}${release}${shared_ext}$major'
19385 shlibpath_var
=LD_LIBRARY_PATH
19386 hardcode_into_libs
=yes
19387 if test "$with_gnu_ld" = yes; then
19388 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19389 shlibpath_overrides_runpath
=no
19391 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19392 shlibpath_overrides_runpath
=yes
19395 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19399 sys_lib_dlsearch_path_spec
='/usr/lib'
19404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19405 soname_spec
='${libname}${release}${shared_ext}$major'
19406 shlibpath_var
=LD_LIBRARY_PATH
19413 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19414 echo "${ECHO_T}$dynamic_linker" >&6; }
19415 test "$dynamic_linker" = no
&& can_build_shared
=no
19417 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19423 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19424 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19430 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19432 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19433 if test "$GCC" = yes; then
19434 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19437 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19438 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19439 hardcode_action_F77
=
19440 if test -n "$hardcode_libdir_flag_spec_F77" || \
19441 test -n "$runpath_var_F77" || \
19442 test "X$hardcode_automatic_F77" = "Xyes" ; then
19444 # We can hardcode non-existant directories.
19445 if test "$hardcode_direct_F77" != no
&&
19446 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19447 # have to relink, otherwise we might link with an installed library
19448 # when we should be linking with a yet-to-be-installed one
19449 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
19450 test "$hardcode_minus_L_F77" != no
; then
19451 # Linking always hardcodes the temporary library directory.
19452 hardcode_action_F77
=relink
19454 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19455 hardcode_action_F77
=immediate
19458 # We cannot hardcode anything, or else we can only hardcode existing
19460 hardcode_action_F77
=unsupported
19462 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
19463 echo "${ECHO_T}$hardcode_action_F77" >&6; }
19465 if test "$hardcode_action_F77" = relink
; then
19466 # Fast installation is not supported
19467 enable_fast_install
=no
19468 elif test "$shlibpath_overrides_runpath" = yes ||
19469 test "$enable_shared" = no
; then
19470 # Fast installation is not necessary
19471 enable_fast_install
=needless
19475 # The else clause should only fire when bootstrapping the
19476 # libtool distribution, otherwise you forgot to ship ltmain.sh
19477 # with your package, and you will get complaints that there are
19478 # no rules to generate ltmain.sh.
19479 if test -f "$ltmain"; then
19480 # See if we are running on zsh, and set the options which allow our commands through
19481 # without removal of \ escapes.
19482 if test -n "${ZSH_VERSION+set}" ; then
19483 setopt NO_GLOB_SUBST
19485 # Now quote all the things that may contain metacharacters while being
19486 # careful not to overquote the AC_SUBSTed values. We take copies of the
19487 # variables and quote the copies for generation of the libtool script.
19488 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19490 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19491 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19492 deplibs_check_method reload_flag reload_cmds need_locks \
19493 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19494 lt_cv_sys_global_symbol_to_c_name_address \
19495 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19496 old_postinstall_cmds old_postuninstall_cmds \
19500 lt_prog_compiler_wl_F77 \
19501 lt_prog_compiler_pic_F77 \
19502 lt_prog_compiler_static_F77 \
19503 lt_prog_compiler_no_builtin_flag_F77 \
19504 export_dynamic_flag_spec_F77 \
19505 thread_safe_flag_spec_F77 \
19506 whole_archive_flag_spec_F77 \
19507 enable_shared_with_static_runtimes_F77 \
19508 old_archive_cmds_F77 \
19509 old_archive_from_new_cmds_F77 \
19510 predep_objects_F77 \
19511 postdep_objects_F77 \
19514 compiler_lib_search_path_F77 \
19515 compiler_lib_search_dirs_F77 \
19517 archive_expsym_cmds_F77 \
19518 postinstall_cmds_F77 \
19519 postuninstall_cmds_F77 \
19520 old_archive_from_expsyms_cmds_F77 \
19521 allow_undefined_flag_F77 \
19522 no_undefined_flag_F77 \
19523 export_symbols_cmds_F77 \
19524 hardcode_libdir_flag_spec_F77 \
19525 hardcode_libdir_flag_spec_ld_F77 \
19526 hardcode_libdir_separator_F77 \
19527 hardcode_automatic_F77 \
19529 module_expsym_cmds_F77 \
19530 lt_cv_prog_compiler_c_o_F77 \
19531 fix_srcfile_path_F77 \
19532 exclude_expsyms_F77 \
19533 include_expsyms_F77
; do
19536 old_archive_cmds_F77 | \
19537 old_archive_from_new_cmds_F77 | \
19538 archive_cmds_F77 | \
19539 archive_expsym_cmds_F77 | \
19540 module_cmds_F77 | \
19541 module_expsym_cmds_F77 | \
19542 old_archive_from_expsyms_cmds_F77 | \
19543 export_symbols_cmds_F77 | \
19544 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19545 postinstall_cmds | postuninstall_cmds | \
19546 old_postinstall_cmds | old_postuninstall_cmds | \
19547 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19548 # Double-quote double-evaled strings.
19549 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19552 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19558 *'\$0 --fallback-echo"')
19559 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19565 cat <<__EOF__ >> "$cfgfile"
19566 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19568 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19570 # Shell to use when invoking shell scripts.
19573 # Whether or not to build shared libraries.
19574 build_libtool_libs=$enable_shared
19576 # Whether or not to build static libraries.
19577 build_old_libs=$enable_static
19579 # Whether or not to add -lc for building shared libraries.
19580 build_libtool_need_lc=$archive_cmds_need_lc_F77
19582 # Whether or not to disallow shared libs when runtime libs are static
19583 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
19585 # Whether or not to optimize for fast installation.
19586 fast_install=$enable_fast_install
19589 host_alias=$host_alias
19593 # The build system.
19594 build_alias=$build_alias
19598 # An echo program that does not interpret backslashes.
19603 AR_FLAGS=$lt_AR_FLAGS
19608 # LTCC compiler flags.
19609 LTCFLAGS=$lt_LTCFLAGS
19611 # A language-specific compiler.
19612 CC=$lt_compiler_F77
19614 # Is the compiler the GNU C compiler?
19620 # The linker used to build libraries.
19623 # Whether we need hard or soft links.
19626 # A BSD-compatible nm program.
19629 # A symbol stripping program
19632 # Used to examine libraries when file_magic_cmd begins "file"
19633 MAGIC_CMD=$MAGIC_CMD
19635 # Used on cygwin: DLL creation program.
19638 # Used on cygwin: object dumper.
19641 # Used on cygwin: assembler.
19644 # The name of the directory that contains temporary libtool files.
19647 # How to create reloadable object files.
19648 reload_flag=$lt_reload_flag
19649 reload_cmds=$lt_reload_cmds
19651 # How to pass a linker flag through the compiler.
19652 wl=$lt_lt_prog_compiler_wl_F77
19654 # Object file suffix (normally "o").
19655 objext="$ac_objext"
19657 # Old archive suffix (normally "a").
19660 # Shared library suffix (normally ".so").
19661 shrext_cmds='$shrext_cmds'
19663 # Executable file suffix (normally "").
19666 # Additional compiler flags for building library objects.
19667 pic_flag=$lt_lt_prog_compiler_pic_F77
19670 # What is the maximum length of a command?
19671 max_cmd_len=$lt_cv_sys_max_cmd_len
19673 # Does compiler simultaneously support -c and -o options?
19674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
19676 # Must we lock files when doing compilation?
19677 need_locks=$lt_need_locks
19679 # Do we need the lib prefix for modules?
19680 need_lib_prefix=$need_lib_prefix
19682 # Do we need a version for libraries?
19683 need_version=$need_version
19685 # Whether dlopen is supported.
19686 dlopen_support=$enable_dlopen
19688 # Whether dlopen of programs is supported.
19689 dlopen_self=$enable_dlopen_self
19691 # Whether dlopen of statically linked programs is supported.
19692 dlopen_self_static=$enable_dlopen_self_static
19694 # Compiler flag to prevent dynamic linking.
19695 link_static_flag=$lt_lt_prog_compiler_static_F77
19697 # Compiler flag to turn off builtin functions.
19698 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19700 # Compiler flag to allow reflexive dlopens.
19701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19703 # Compiler flag to generate shared objects directly from archives.
19704 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19706 # Compiler flag to generate thread-safe objects.
19707 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
19709 # Library versioning type.
19710 version_type=$version_type
19712 # Format of library name prefix.
19713 libname_spec=$lt_libname_spec
19715 # List of archive names. First name is the real one, the rest are links.
19716 # The last name is the one that the linker finds with -lNAME.
19717 library_names_spec=$lt_library_names_spec
19719 # The coded name of the library, if different from the real name.
19720 soname_spec=$lt_soname_spec
19722 # Commands used to build and install an old-style archive.
19724 old_archive_cmds=$lt_old_archive_cmds_F77
19725 old_postinstall_cmds=$lt_old_postinstall_cmds
19726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19728 # Create an old-style archive from a shared archive.
19729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19731 # Create a temporary old-style archive to link instead of a shared archive.
19732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19734 # Commands used to build and install a shared archive.
19735 archive_cmds=$lt_archive_cmds_F77
19736 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19737 postinstall_cmds=$lt_postinstall_cmds
19738 postuninstall_cmds=$lt_postuninstall_cmds
19740 # Commands used to build a loadable module (assumed same as above if empty)
19741 module_cmds=$lt_module_cmds_F77
19742 module_expsym_cmds=$lt_module_expsym_cmds_F77
19744 # Commands to strip libraries.
19745 old_striplib=$lt_old_striplib
19746 striplib=$lt_striplib
19748 # Dependencies to place before the objects being linked to create a
19750 predep_objects=$lt_predep_objects_F77
19752 # Dependencies to place after the objects being linked to create a
19754 postdep_objects=$lt_postdep_objects_F77
19756 # Dependencies to place before the objects being linked to create a
19758 predeps=$lt_predeps_F77
19760 # Dependencies to place after the objects being linked to create a
19762 postdeps=$lt_postdeps_F77
19764 # The directories searched by this compiler when creating a shared
19766 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
19768 # The library search path used internally by the compiler when linking
19769 # a shared library.
19770 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
19772 # Method to check whether dependent libraries are shared objects.
19773 deplibs_check_method=$lt_deplibs_check_method
19775 # Command to use when deplibs_check_method == file_magic.
19776 file_magic_cmd=$lt_file_magic_cmd
19778 # Flag that allows shared libraries with undefined symbols to be built.
19779 allow_undefined_flag=$lt_allow_undefined_flag_F77
19781 # Flag that forces no undefined symbols.
19782 no_undefined_flag=$lt_no_undefined_flag_F77
19784 # Commands used to finish a libtool library installation in a directory.
19785 finish_cmds=$lt_finish_cmds
19787 # Same as above, but a single script fragment to be evaled but not shown.
19788 finish_eval=$lt_finish_eval
19790 # Take the output of nm and produce a listing of raw symbols and C names.
19791 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19793 # Transform the output of nm in a proper C declaration
19794 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19796 # Transform the output of nm in a C name address pair
19797 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19799 # This is the shared library runtime path variable.
19800 runpath_var=$runpath_var
19802 # This is the shared library path variable.
19803 shlibpath_var=$shlibpath_var
19805 # Is shlibpath searched before the hard-coded library search path?
19806 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19808 # How to hardcode a shared library path into an executable.
19809 hardcode_action=$hardcode_action_F77
19811 # Whether we should hardcode library paths into libraries.
19812 hardcode_into_libs=$hardcode_into_libs
19814 # Flag to hardcode \$libdir into a binary during linking.
19815 # This must work even if \$libdir does not exist.
19816 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19818 # If ld is used when linking, flag to hardcode \$libdir into
19819 # a binary during linking. This must work even if \$libdir does
19821 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
19823 # Whether we need a single -rpath flag with a separated argument.
19824 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19826 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19827 # resulting binary.
19828 hardcode_direct=$hardcode_direct_F77
19830 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19831 # resulting binary.
19832 hardcode_minus_L=$hardcode_minus_L_F77
19834 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19835 # the resulting binary.
19836 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19838 # Set to yes if building a shared library automatically hardcodes DIR into the library
19839 # and all subsequent libraries and executables linked against it.
19840 hardcode_automatic=$hardcode_automatic_F77
19842 # Variables whose values should be saved in libtool wrapper scripts and
19843 # restored at relink time.
19844 variables_saved_for_relink="$variables_saved_for_relink"
19846 # Whether libtool must link a program against all its dependency libraries.
19847 link_all_deplibs=$link_all_deplibs_F77
19849 # Compile-time system search path for libraries
19850 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19852 # Run-time system search path for libraries
19853 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19855 # Fix the shell variable \$srcfile for the compiler.
19856 fix_srcfile_path=$lt_fix_srcfile_path
19858 # Set to yes if exported symbols are required.
19859 always_export_symbols=$always_export_symbols_F77
19861 # The commands to list exported symbols.
19862 export_symbols_cmds=$lt_export_symbols_cmds_F77
19864 # The commands to extract the exported symbol list from a shared archive.
19865 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19867 # Symbols that should not be listed in the preloaded symbols.
19868 exclude_expsyms=$lt_exclude_expsyms_F77
19870 # Symbols that must always be exported.
19871 include_expsyms=$lt_include_expsyms_F77
19873 # ### END LIBTOOL TAG CONFIG: $tagname
19879 # If there is no Makefile yet, we rely on a make rule to execute
19880 # `config.status --recheck' to rerun these tests and create the
19881 # libtool script then.
19882 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19883 if test -f "$ltmain_in"; then
19884 test -f Makefile
&& make "$ltmain"
19890 ac_cpp
='$CPP $CPPFLAGS'
19891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19903 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19906 # Source file extension for Java test sources.
19909 # Object file extension for compiled Java test sources.
19913 # Code to be used in simple compile tests
19914 lt_simple_compile_test_code
="class foo {}"
19916 # Code to be used in simple link tests
19917 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
19919 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19921 # If no C compiler was specified, use CC.
19924 # If no C compiler flags were specified, use CFLAGS.
19925 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19927 # Allow CC to be a program name with arguments.
19931 # save warnings/boilerplate of simple test code
19932 ac_outfile
=conftest.
$ac_objext
19933 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19934 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19935 _lt_compiler_boilerplate
=`cat conftest.err`
19938 ac_outfile
=conftest.
$ac_objext
19939 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19940 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19941 _lt_linker_boilerplate
=`cat conftest.err`
19945 # Allow CC to be a program name with arguments.
19950 for cc_temp
in $compiler""; do
19952 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19953 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19958 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19961 # GCJ did not exist at the time GCC didn't implicitly link libc in.
19962 archive_cmds_need_lc_GCJ
=no
19964 old_archive_cmds_GCJ
=$old_archive_cmds
19967 lt_prog_compiler_no_builtin_flag_GCJ
=
19969 if test "$GCC" = yes; then
19970 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
19973 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19974 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19975 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 lt_cv_prog_compiler_rtti_exceptions
=no
19979 ac_outfile
=conftest.
$ac_objext
19980 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19981 lt_compiler_flag
="-fno-rtti -fno-exceptions"
19982 # Insert the option either (1) after the last *FLAGS variable, or
19983 # (2) before a word containing "conftest.", or (3) at the end.
19984 # Note that $ac_compile itself does not contain backslashes and begins
19985 # with a dollar sign (not a hyphen), so the echo should work correctly.
19986 # The option is referenced via a variable to avoid confusing sed.
19987 lt_compile
=`echo "$ac_compile" | $SED \
19988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19990 -e 's:$: $lt_compiler_flag:'`
19991 (eval echo "\"\$as_me:19991: $lt_compile\"" >&5)
19992 (eval "$lt_compile" 2>conftest.err
)
19994 cat conftest.err
>&5
19995 echo "$as_me:19995: \$? = $ac_status" >&5
19996 if (exit $ac_status) && test -s "$ac_outfile"; then
19997 # The compiler can only warn and ignore the option if not recognized
19998 # So say no if there are warnings other than the usual output.
19999 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
20000 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20001 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
20002 lt_cv_prog_compiler_rtti_exceptions
=yes
20008 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20009 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20011 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
20012 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
20019 lt_prog_compiler_wl_GCJ
=
20020 lt_prog_compiler_pic_GCJ
=
20021 lt_prog_compiler_static_GCJ
=
20023 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20026 if test "$GCC" = yes; then
20027 lt_prog_compiler_wl_GCJ
='-Wl,'
20028 lt_prog_compiler_static_GCJ
='-static'
20032 # All AIX code is PIC.
20033 if test "$host_cpu" = ia64
; then
20034 # AIX 5 now supports IA64 processor
20035 lt_prog_compiler_static_GCJ
='-Bstatic'
20040 # FIXME: we need at least 68020 code to build shared libraries, but
20041 # adding the `-m68020' flag to GCC prevents building anything better,
20043 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
20046 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
20047 # PIC is the default for these OSes.
20050 mingw
* | cygwin
* | pw32
* | os2
*)
20051 # This hack is so that the source file can tell whether it is being
20052 # built for inclusion in a dll (and should export symbols for example).
20053 # Although the cygwin gcc ignores -fPIC, still need this for old-style
20054 # (--disable-auto-import) libraries
20058 darwin
* | rhapsody
*)
20059 # PIC is the default on this platform
20060 # Common symbols not allowed in MH_DYLIB files
20061 lt_prog_compiler_pic_GCJ
='-fno-common'
20065 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20066 # Instead, we relocate shared libraries at runtime.
20070 # Just because we use GCC doesn't mean we suddenly get shared libraries
20071 # on systems that don't support them.
20072 lt_prog_compiler_can_build_shared_GCJ
=no
20077 if test -d /usr
/nec
; then
20078 lt_prog_compiler_pic_GCJ
=-Kconform_pic
20083 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20084 # not for PA HP-UX.
20090 lt_prog_compiler_pic_GCJ
='-fPIC'
20096 lt_prog_compiler_pic_GCJ
='-fPIC'
20100 # PORTME Check for flag to pass linker flags through the system compiler.
20103 lt_prog_compiler_wl_GCJ
='-Wl,'
20104 if test "$host_cpu" = ia64
; then
20105 # AIX 5 now supports IA64 processor
20106 lt_prog_compiler_static_GCJ
='-Bstatic'
20108 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
20112 # PIC is the default on this platform
20113 # Common symbols not allowed in MH_DYLIB files
20114 case $cc_basename in
20116 lt_prog_compiler_pic_GCJ
='-qnocommon'
20117 lt_prog_compiler_wl_GCJ
='-Wl,'
20122 mingw
* | cygwin
* | pw32
* | os2
*)
20123 # This hack is so that the source file can tell whether it is being
20124 # built for inclusion in a dll (and should export symbols for example).
20128 hpux9
* | hpux10
* | hpux11
*)
20129 lt_prog_compiler_wl_GCJ
='-Wl,'
20130 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20131 # not for PA HP-UX.
20137 lt_prog_compiler_pic_GCJ
='+Z'
20140 # Is there a better lt_prog_compiler_static that works with the bundled CC?
20141 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
20144 irix5
* | irix6
* | nonstopux
*)
20145 lt_prog_compiler_wl_GCJ
='-Wl,'
20146 # PIC (with -KPIC) is the default.
20147 lt_prog_compiler_static_GCJ
='-non_shared'
20151 lt_prog_compiler_pic_GCJ
='-KPIC'
20152 lt_prog_compiler_static_GCJ
='-Bstatic'
20155 linux
* | k
*bsd
*-gnu)
20156 case $cc_basename in
20158 lt_prog_compiler_wl_GCJ
='-Wl,'
20159 lt_prog_compiler_pic_GCJ
='-KPIC'
20160 lt_prog_compiler_static_GCJ
='-static'
20162 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
20163 # Portland Group compilers (*not* the Pentium gcc compiler,
20164 # which looks to be a dead project)
20165 lt_prog_compiler_wl_GCJ
='-Wl,'
20166 lt_prog_compiler_pic_GCJ
='-fpic'
20167 lt_prog_compiler_static_GCJ
='-Bstatic'
20170 lt_prog_compiler_wl_GCJ
='-Wl,'
20171 # All Alpha code is PIC.
20172 lt_prog_compiler_static_GCJ
='-non_shared'
20175 case `$CC -V 2>&1 | sed 5q` in
20178 lt_prog_compiler_pic_GCJ
='-KPIC'
20179 lt_prog_compiler_static_GCJ
='-Bstatic'
20180 lt_prog_compiler_wl_GCJ
='-Wl,'
20183 # Sun Fortran 8.3 passes all unrecognized flags to the linker
20184 lt_prog_compiler_pic_GCJ
='-KPIC'
20185 lt_prog_compiler_static_GCJ
='-Bstatic'
20186 lt_prog_compiler_wl_GCJ
=''
20193 osf3
* | osf4
* | osf5
*)
20194 lt_prog_compiler_wl_GCJ
='-Wl,'
20195 # All OSF/1 code is PIC.
20196 lt_prog_compiler_static_GCJ
='-non_shared'
20200 lt_prog_compiler_static_GCJ
='-non_shared'
20204 lt_prog_compiler_pic_GCJ
='-KPIC'
20205 lt_prog_compiler_static_GCJ
='-Bstatic'
20206 case $cc_basename in
20207 f77
* | f90
* | f95
*)
20208 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
20210 lt_prog_compiler_wl_GCJ
='-Wl,';;
20215 lt_prog_compiler_wl_GCJ
='-Qoption ld '
20216 lt_prog_compiler_pic_GCJ
='-PIC'
20217 lt_prog_compiler_static_GCJ
='-Bstatic'
20220 sysv4 | sysv4.2uw2
* | sysv4.3
*)
20221 lt_prog_compiler_wl_GCJ
='-Wl,'
20222 lt_prog_compiler_pic_GCJ
='-KPIC'
20223 lt_prog_compiler_static_GCJ
='-Bstatic'
20227 if test -d /usr
/nec
;then
20228 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
20229 lt_prog_compiler_static_GCJ
='-Bstatic'
20233 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
20234 lt_prog_compiler_wl_GCJ
='-Wl,'
20235 lt_prog_compiler_pic_GCJ
='-KPIC'
20236 lt_prog_compiler_static_GCJ
='-Bstatic'
20240 lt_prog_compiler_wl_GCJ
='-Wl,'
20241 lt_prog_compiler_can_build_shared_GCJ
=no
20245 lt_prog_compiler_pic_GCJ
='-pic'
20246 lt_prog_compiler_static_GCJ
='-Bstatic'
20250 lt_prog_compiler_can_build_shared_GCJ
=no
20255 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
20256 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
20259 # Check to make sure the PIC flag actually works.
20261 if test -n "$lt_prog_compiler_pic_GCJ"; then
20263 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
20264 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
20265 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 lt_cv_prog_compiler_pic_works_GCJ
=no
20269 ac_outfile
=conftest.
$ac_objext
20270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20271 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
20272 # Insert the option either (1) after the last *FLAGS variable, or
20273 # (2) before a word containing "conftest.", or (3) at the end.
20274 # Note that $ac_compile itself does not contain backslashes and begins
20275 # with a dollar sign (not a hyphen), so the echo should work correctly.
20276 # The option is referenced via a variable to avoid confusing sed.
20277 lt_compile
=`echo "$ac_compile" | $SED \
20278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20280 -e 's:$: $lt_compiler_flag:'`
20281 (eval echo "\"\$as_me:20281: $lt_compile\"" >&5)
20282 (eval "$lt_compile" 2>conftest.err
)
20284 cat conftest.err
>&5
20285 echo "$as_me:20285: \$? = $ac_status" >&5
20286 if (exit $ac_status) && test -s "$ac_outfile"; then
20287 # The compiler can only warn and ignore the option if not recognized
20288 # So say no if there are warnings other than the usual output.
20289 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
20290 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20291 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
20292 lt_cv_prog_compiler_pic_works_GCJ
=yes
20298 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
20299 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
20301 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
20302 case $lt_prog_compiler_pic_GCJ in
20304 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
20307 lt_prog_compiler_pic_GCJ
=
20308 lt_prog_compiler_can_build_shared_GCJ
=no
20313 # For platforms which do not support PIC, -DPIC is meaningless:
20315 lt_prog_compiler_pic_GCJ
=
20318 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
20323 # Check to make sure the static flag actually works.
20325 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
20326 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20327 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20328 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
20329 echo $ECHO_N "(cached) $ECHO_C" >&6
20331 lt_cv_prog_compiler_static_works_GCJ
=no
20332 save_LDFLAGS
="$LDFLAGS"
20333 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
20334 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
20335 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
20336 # The linker can only warn and ignore the option if not recognized
20337 # So say no if there are warnings
20338 if test -s conftest.err
; then
20339 # Append any errors to the config.log.
20340 cat conftest.err
1>&5
20341 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
20342 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20343 if diff conftest.exp conftest.er2
>/dev
/null
; then
20344 lt_cv_prog_compiler_static_works_GCJ
=yes
20347 lt_cv_prog_compiler_static_works_GCJ
=yes
20351 LDFLAGS
="$save_LDFLAGS"
20354 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
20355 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
20357 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
20360 lt_prog_compiler_static_GCJ
=
20364 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20365 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20366 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
20367 echo $ECHO_N "(cached) $ECHO_C" >&6
20369 lt_cv_prog_compiler_c_o_GCJ
=no
20370 $rm -r conftest
2>/dev
/null
20374 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20376 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20377 # Insert the option either (1) after the last *FLAGS variable, or
20378 # (2) before a word containing "conftest.", or (3) at the end.
20379 # Note that $ac_compile itself does not contain backslashes and begins
20380 # with a dollar sign (not a hyphen), so the echo should work correctly.
20381 lt_compile
=`echo "$ac_compile" | $SED \
20382 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20383 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20384 -e 's:$: $lt_compiler_flag:'`
20385 (eval echo "\"\$as_me:20385: $lt_compile\"" >&5)
20386 (eval "$lt_compile" 2>out
/conftest.err
)
20388 cat out
/conftest.err
>&5
20389 echo "$as_me:20389: \$? = $ac_status" >&5
20390 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20392 # The compiler can only warn and ignore the option if not recognized
20393 # So say no if there are warnings
20394 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20395 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20396 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20397 lt_cv_prog_compiler_c_o_GCJ
=yes
20402 # SGI C++ compiler will create directory out/ii_files/ for
20403 # template instantiation
20404 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
20405 $rm out
/* && rmdir out
20411 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
20412 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
20415 hard_links
="nottested"
20416 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
20417 # do not overwrite the value of need_locks provided by the user
20418 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20419 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20422 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20424 ln conftest.a conftest.b
2>&5 || hard_links
=no
20425 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20426 { echo "$as_me:$LINENO: result: $hard_links" >&5
20427 echo "${ECHO_T}$hard_links" >&6; }
20428 if test "$hard_links" = no
; then
20429 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20430 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20437 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20441 allow_undefined_flag_GCJ
=
20442 enable_shared_with_static_runtimes_GCJ
=no
20444 archive_expsym_cmds_GCJ
=
20445 old_archive_From_new_cmds_GCJ
=
20446 old_archive_from_expsyms_cmds_GCJ
=
20447 export_dynamic_flag_spec_GCJ
=
20448 whole_archive_flag_spec_GCJ
=
20449 thread_safe_flag_spec_GCJ
=
20450 hardcode_libdir_flag_spec_GCJ
=
20451 hardcode_libdir_flag_spec_ld_GCJ
=
20452 hardcode_libdir_separator_GCJ
=
20453 hardcode_direct_GCJ
=no
20454 hardcode_minus_L_GCJ
=no
20455 hardcode_shlibpath_var_GCJ
=unsupported
20456 link_all_deplibs_GCJ
=unknown
20457 hardcode_automatic_GCJ
=no
20459 module_expsym_cmds_GCJ
=
20460 always_export_symbols_GCJ
=no
20461 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20462 # include_expsyms should be a list of space-separated symbols to be *always*
20463 # included in the symbol list
20464 include_expsyms_GCJ
=
20465 # exclude_expsyms can be an extended regexp of symbols to exclude
20466 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20467 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20468 # as well as any symbol that contains `d'.
20469 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20470 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20471 # platforms (ab)use it in PIC code, but their linkers get confused if
20472 # the symbol is explicitly referenced. Since portable code cannot
20473 # rely on this symbol name, it's probably fine to never include it in
20474 # preloaded symbol tables.
20475 # Exclude shared library initialization/finalization symbols.
20476 extract_expsyms_cmds
=
20477 # Just being paranoid about ensuring that cc_basename is set.
20478 for cc_temp
in $compiler""; do
20480 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20481 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20486 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20489 cygwin
* | mingw
* | pw32
*)
20490 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20491 # When not using gcc, we currently assume that we are using
20492 # Microsoft Visual C++.
20493 if test "$GCC" != yes; then
20498 # we just hope/assume this is gcc and not c89 (= MSVC++)
20507 if test "$with_gnu_ld" = yes; then
20508 # If archive_cmds runs LD, not CC, wlarc should be empty
20511 # Set some defaults for GNU ld with shared library support. These
20512 # are reset later if shared libraries are not supported. Putting them
20513 # here allows them to be overridden if necessary.
20514 runpath_var
=LD_RUN_PATH
20515 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
20516 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
20517 # ancient GNU ld didn't support --whole-archive et. al.
20518 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
20519 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20521 whole_archive_flag_spec_GCJ
=
20523 supports_anon_versioning
=no
20524 case `$LD -v 2>/dev/null` in
20525 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
20526 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
20527 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
20528 *\
2.11.
*) ;; # other 2.11 versions
20529 *) supports_anon_versioning
=yes ;;
20532 # See if GNU ld supports shared libraries.
20535 # On AIX/PPC, the GNU linker is very broken
20536 if test "$host_cpu" != ia64
; then
20540 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20541 *** to be unable to reliably create shared libraries on AIX.
20542 *** Therefore, libtool is disabling shared libraries support. If you
20543 *** really care for shared libraries, you may want to modify your PATH
20544 *** so that a non-GNU linker is found, and then restart.
20551 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)'
20552 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20553 hardcode_minus_L_GCJ
=yes
20555 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20556 # that the semantics of dynamic libraries on AmigaOS, at least up
20557 # to version 4, is to share data among multiple programs linked
20558 # with the same dynamic library. Since this doesn't match the
20559 # behavior of shared libraries on other platforms, we can't use
20565 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20566 allow_undefined_flag_GCJ
=unsupported
20567 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20568 # support --undefined. This deserves some investigation. FIXME
20569 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20575 cygwin
* | mingw
* | pw32
*)
20576 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
20577 # as there is no search path for DLLs.
20578 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20579 allow_undefined_flag_GCJ
=unsupported
20580 always_export_symbols_GCJ
=no
20581 enable_shared_with_static_runtimes_GCJ
=yes
20582 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
20584 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
20585 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20586 # If the export-symbols file already is a .def file (1st line
20587 # is EXPORTS), use it as is; otherwise, prepend...
20588 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20589 cp $export_symbols $output_objdir/$soname.def;
20591 echo EXPORTS > $output_objdir/$soname.def;
20592 cat $export_symbols >> $output_objdir/$soname.def;
20594 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20601 hardcode_direct_GCJ
=no
20602 hardcode_shlibpath_var_GCJ
=no
20603 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
20604 export_dynamic_flag_spec_GCJ
='${wl}-E'
20605 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20606 # Instead, shared libraries are loaded at an image base (0x10000000 by
20607 # default) and relocated if they conflict, which is a slow very memory
20608 # consuming and fragmenting process. To avoid this, we pick a random,
20609 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20610 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20611 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'
20612 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'
20615 gnu
* | linux
* | k
*bsd
*-gnu)
20616 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20618 case $cc_basename,$host_cpu in
20619 pgcc
*) # Portland Group C compiler
20620 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'
20621 tmp_addflag
=' $pic_flag'
20623 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
20624 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'
20625 tmp_addflag
=' $pic_flag -Mnomain' ;;
20626 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
20627 tmp_addflag
=' -i_dynamic' ;;
20628 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
20629 tmp_addflag
=' -i_dynamic -nofor_main' ;;
20630 ifc
* | ifort
*) # Intel Fortran compiler
20631 tmp_addflag
=' -nofor_main' ;;
20633 case `$CC -V 2>&1 | sed 5q` in
20634 *Sun\ C
*) # Sun C 5.9
20635 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'
20636 tmp_sharedflag
='-G' ;;
20637 *Sun\ F
*) # Sun Fortran 8.3
20638 tmp_sharedflag
='-G' ;;
20640 tmp_sharedflag
='-shared' ;;
20642 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20644 if test $supports_anon_versioning = yes; then
20645 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
20646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20647 $echo "local: *; };" >> $output_objdir/$libname.ver~
20648 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20650 link_all_deplibs_GCJ
=no
20656 netbsd
* | netbsdelf
*-gnu)
20657 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20658 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20661 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20662 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20667 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
20671 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20672 *** create shared libraries on Solaris systems. Therefore, libtool
20673 *** is disabling shared libraries support. We urge you to upgrade GNU
20674 *** binutils to release 2.9.1 or newer. Another option is to modify
20675 *** your PATH or compiler configuration so that the native linker is
20676 *** used, and then restart.
20679 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20680 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20681 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20687 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
20688 case `$LD -v 2>&1` in
20689 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
20693 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
20694 *** reliably create shared libraries on SCO systems. Therefore, libtool
20695 *** is disabling shared libraries support. We urge you to upgrade GNU
20696 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
20697 *** your PATH or compiler configuration so that the native linker is
20698 *** used, and then restart.
20703 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20704 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
20705 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
20706 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
20715 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20717 hardcode_direct_GCJ
=yes
20718 hardcode_shlibpath_var_GCJ
=no
20722 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20723 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20724 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20731 if test "$ld_shlibs_GCJ" = no
; then
20733 hardcode_libdir_flag_spec_GCJ
=
20734 export_dynamic_flag_spec_GCJ
=
20735 whole_archive_flag_spec_GCJ
=
20738 # PORTME fill in a description of your system's linker (not GNU ld)
20741 allow_undefined_flag_GCJ
=unsupported
20742 always_export_symbols_GCJ
=yes
20743 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'
20744 # Note: this linker hardcodes the directories in LIBPATH if there
20745 # are no directories specified by -L.
20746 hardcode_minus_L_GCJ
=yes
20747 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
20748 # Neither direct hardcoding nor static linking is supported with a
20750 hardcode_direct_GCJ
=unsupported
20755 if test "$host_cpu" = ia64
; then
20756 # On IA64, the linker does run time linking by default, so we don't
20757 # have to do anything special.
20758 aix_use_runtimelinking
=no
20759 exp_sym_flag
='-Bexport'
20762 # If we're using GNU nm, then we don't want the "-C" option.
20763 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20764 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
20765 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'
20767 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'
20769 aix_use_runtimelinking
=no
20771 # Test if we are trying to use run time linking or normal
20772 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20773 # need to do runtime linking.
20774 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
20775 for ld_flag
in $LDFLAGS; do
20776 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
20777 aix_use_runtimelinking
=yes
20784 exp_sym_flag
='-bexport'
20785 no_entry_flag
='-bnoentry'
20788 # When large executables or shared objects are built, AIX ld can
20789 # have problems creating the table of contents. If linking a library
20790 # or program results in "error TOC overflow" add -mminimal-toc to
20791 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20792 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20794 archive_cmds_GCJ
=''
20795 hardcode_direct_GCJ
=yes
20796 hardcode_libdir_separator_GCJ
=':'
20797 link_all_deplibs_GCJ
=yes
20799 if test "$GCC" = yes; then
20800 case $host_os in aix4.
[012]|aix4.
[012].
*)
20801 # We only want to do this on AIX 4.2 and lower, the check
20802 # below for broken collect2 doesn't work under 4.3+
20803 collect2name
=`${CC} -print-prog-name=collect2`
20804 if test -f "$collect2name" && \
20805 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
20807 # We have reworked collect2
20810 # We have old collect2
20811 hardcode_direct_GCJ
=unsupported
20812 # It fails to find uninstalled libraries when the uninstalled
20813 # path is not listed in the libpath. Setting hardcode_minus_L
20814 # to unsupported forces relinking
20815 hardcode_minus_L_GCJ
=yes
20816 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20817 hardcode_libdir_separator_GCJ
=
20821 shared_flag
='-shared'
20822 if test "$aix_use_runtimelinking" = yes; then
20823 shared_flag
="$shared_flag "'${wl}-G'
20827 if test "$host_cpu" = ia64
; then
20828 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20829 # chokes on -Wl,-G. The following line is correct:
20832 if test "$aix_use_runtimelinking" = yes; then
20833 shared_flag
='${wl}-G'
20835 shared_flag
='${wl}-bM:SRE'
20840 # It seems that -bexpall does not export symbols beginning with
20841 # underscore (_), so it is better to generate a list of symbols to export.
20842 always_export_symbols_GCJ
=yes
20843 if test "$aix_use_runtimelinking" = yes; then
20844 # Warning - without using the other runtime loading flags (-brtl),
20845 # -berok will link without error, but may produce a broken library.
20846 allow_undefined_flag_GCJ
='-berok'
20847 # Determine the default libpath from the value encoded in an empty executable.
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20863 rm -f conftest.
$ac_objext conftest
$ac_exeext
20864 if { (ac_try
="$ac_link"
20865 case "(($ac_try" in
20866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_link") 2>conftest.er1
20872 grep -v '^ *+' conftest.er1 >conftest.err
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err
20879 } && test -s conftest$ac_exeext &&
20880 $as_test_x conftest$ac_exeext; then
20882 lt_aix_libpath_sed='
20883 /Import File Strings/,/^$/ {
20889 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
20890 # Check for a 64-bit object if we didn't find anything.
20891 if test -z "$aix_libpath"; then
20892 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20902 conftest$ac_exeext conftest.$ac_ext
20903 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20905 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20906 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"
20908 if test "$host_cpu" = ia64; then
20909 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
20910 allow_undefined_flag_GCJ="-z nodefs"
20911 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"
20913 # Determine the default libpath from the value encoded in an empty executable.
20914 cat >conftest.$ac_ext <<_ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20929 rm -f conftest.$ac_objext conftest$ac_exeext
20930 if { (ac_try="$ac_link"
20931 case "(($ac_try" in
20932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20933 *) ac_try_echo
=$ac_try;;
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_link") 2>conftest.er1
20938 grep -v '^ *+' conftest.er1
>conftest.err
20940 cat conftest.err
>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } && {
20943 test -z "$ac_c_werror_flag" ||
20944 test ! -s conftest.err
20945 } && test -s conftest
$ac_exeext &&
20946 $as_test_x conftest
$ac_exeext; then
20948 lt_aix_libpath_sed
='
20949 /Import File Strings/,/^$/ {
20955 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20956 # Check for a 64-bit object if we didn't find anything.
20957 if test -z "$aix_libpath"; then
20958 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20968 conftest
$ac_exeext conftest.
$ac_ext
20969 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
20971 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
20972 # Warning - without using the other run time loading flags,
20973 # -berok will link without error, but may produce a broken library.
20974 no_undefined_flag_GCJ
=' ${wl}-bernotok'
20975 allow_undefined_flag_GCJ
=' ${wl}-berok'
20976 # Exported symbols can be pulled into shared objects from archives
20977 whole_archive_flag_spec_GCJ
='$convenience'
20978 archive_cmds_need_lc_GCJ
=yes
20979 # This is similar to how AIX traditionally builds its shared libraries.
20980 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'
20986 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)'
20987 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20988 hardcode_minus_L_GCJ
=yes
20989 # see comment about different semantics on the GNU ld section
20994 export_dynamic_flag_spec_GCJ
=-rdynamic
20997 cygwin
* | mingw
* | pw32
*)
20998 # When not using gcc, we currently assume that we are using
20999 # Microsoft Visual C++.
21000 # hardcode_libdir_flag_spec is actually meaningless, as there is
21001 # no search path for DLLs.
21002 hardcode_libdir_flag_spec_GCJ
=' '
21003 allow_undefined_flag_GCJ
=unsupported
21004 # Tell ltmain to make .lib files, not .a files.
21006 # Tell ltmain to make .dll files, not .so files.
21008 # FIXME: Setting linknames here is a bad hack.
21009 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21010 # The linker will automatically build a .lib file if we build a DLL.
21011 old_archive_From_new_cmds_GCJ
='true'
21012 # FIXME: Should let the user specify the lib program.
21013 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
21014 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
21015 enable_shared_with_static_runtimes_GCJ
=yes
21018 darwin
* | rhapsody
*)
21020 rhapsody
* | darwin1.
[012])
21021 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
21024 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21025 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21027 case ${MACOSX_DEPLOYMENT_TARGET} in
21029 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21032 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
21038 archive_cmds_need_lc_GCJ
=no
21039 hardcode_direct_GCJ
=no
21040 hardcode_automatic_GCJ
=yes
21041 hardcode_shlibpath_var_GCJ
=unsupported
21042 whole_archive_flag_spec_GCJ
=''
21043 link_all_deplibs_GCJ
=yes
21044 if test "$GCC" = yes ; then
21045 output_verbose_link_cmd
='echo'
21046 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}"
21047 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21048 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}"
21049 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}"
21051 case $cc_basename in
21053 output_verbose_link_cmd
='echo'
21054 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
21055 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21056 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21057 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}'
21058 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}'
21068 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21069 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21070 hardcode_shlibpath_var_GCJ
=no
21077 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21078 # support. Future versions do this automatically, but an explicit c++rt0.o
21079 # does not break anything, and helps significantly (at the cost of a little
21082 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21083 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21084 hardcode_direct_GCJ
=yes
21085 hardcode_shlibpath_var_GCJ
=no
21088 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21090 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21091 hardcode_direct_GCJ
=yes
21092 hardcode_minus_L_GCJ
=yes
21093 hardcode_shlibpath_var_GCJ
=no
21096 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21097 freebsd
* | dragonfly
*)
21098 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21099 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21100 hardcode_direct_GCJ
=yes
21101 hardcode_shlibpath_var_GCJ
=no
21105 if test "$GCC" = yes; then
21106 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'
21108 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'
21110 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21111 hardcode_libdir_separator_GCJ
=:
21112 hardcode_direct_GCJ
=yes
21114 # hardcode_minus_L: Not really in the search PATH,
21115 # but as the default location of the library.
21116 hardcode_minus_L_GCJ
=yes
21117 export_dynamic_flag_spec_GCJ
='${wl}-E'
21121 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
21122 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21124 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21126 if test "$with_gnu_ld" = no
; then
21127 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21128 hardcode_libdir_separator_GCJ
=:
21130 hardcode_direct_GCJ
=yes
21131 export_dynamic_flag_spec_GCJ
='${wl}-E'
21133 # hardcode_minus_L: Not really in the search PATH,
21134 # but as the default location of the library.
21135 hardcode_minus_L_GCJ
=yes
21140 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
21143 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21146 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21149 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21155 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21158 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21161 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21165 if test "$with_gnu_ld" = no
; then
21166 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
21167 hardcode_libdir_separator_GCJ
=:
21171 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
21172 hardcode_direct_GCJ
=no
21173 hardcode_shlibpath_var_GCJ
=no
21176 hardcode_direct_GCJ
=yes
21177 export_dynamic_flag_spec_GCJ
='${wl}-E'
21179 # hardcode_minus_L: Not really in the search PATH,
21180 # but as the default location of the library.
21181 hardcode_minus_L_GCJ
=yes
21187 irix5
* | irix6
* | nonstopux
*)
21188 if test "$GCC" = yes; then
21189 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'
21191 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'
21192 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
21194 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21195 hardcode_libdir_separator_GCJ
=:
21196 link_all_deplibs_GCJ
=yes
21199 netbsd
* | netbsdelf
*-gnu)
21200 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21201 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21203 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21205 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21206 hardcode_direct_GCJ
=yes
21207 hardcode_shlibpath_var_GCJ
=no
21211 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21212 hardcode_direct_GCJ
=yes
21213 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21214 hardcode_libdir_separator_GCJ
=:
21215 hardcode_shlibpath_var_GCJ
=no
21219 if test -f /usr
/libexec
/ld.so
; then
21220 hardcode_direct_GCJ
=yes
21221 hardcode_shlibpath_var_GCJ
=no
21222 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21223 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21224 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21225 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
21226 export_dynamic_flag_spec_GCJ
='${wl}-E'
21229 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
21230 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21231 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21234 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21235 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
21245 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21246 hardcode_minus_L_GCJ
=yes
21247 allow_undefined_flag_GCJ
=unsupported
21248 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'
21249 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21253 if test "$GCC" = yes; then
21254 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
21255 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'
21257 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
21258 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'
21260 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21261 hardcode_libdir_separator_GCJ
=:
21264 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
21265 if test "$GCC" = yes; then
21266 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
21267 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'
21268 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
21270 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
21271 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'
21272 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~
21273 $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'
21275 # Both c and cxx compiler support -rpath directly
21276 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
21278 hardcode_libdir_separator_GCJ
=:
21282 no_undefined_flag_GCJ
=' -z text'
21283 if test "$GCC" = yes; then
21285 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21286 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21287 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
21290 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21291 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21292 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21294 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
21295 hardcode_shlibpath_var_GCJ
=no
21297 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
21299 # The compiler driver will combine and reorder linker options,
21300 # but understands `-z linker_flag'. GCC discards it without `$wl',
21301 # but is careful enough not to reorder.
21302 # Supported since Solaris 2.6 (maybe 2.5.1?)
21303 if test "$GCC" = yes; then
21304 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21306 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
21310 link_all_deplibs_GCJ
=yes
21314 if test "x$host_vendor" = xsequent
; then
21315 # Use $CC to link under sequent, because it throws in some extra .o
21316 # files that make .init and .fini sections work.
21317 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21319 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21321 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21322 hardcode_direct_GCJ
=yes
21323 hardcode_minus_L_GCJ
=yes
21324 hardcode_shlibpath_var_GCJ
=no
21328 case $host_vendor in
21330 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21331 hardcode_direct_GCJ
=yes # is this really true???
21334 ## LD is ld it makes a PLAMLIB
21335 ## CC just makes a GrossModule.
21336 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21337 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
21338 hardcode_direct_GCJ
=no
21341 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21342 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
21345 runpath_var
='LD_RUN_PATH'
21346 hardcode_shlibpath_var_GCJ
=no
21350 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21351 hardcode_shlibpath_var_GCJ
=no
21352 export_dynamic_flag_spec_GCJ
='-Bexport'
21356 if test -d /usr
/nec
; then
21357 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21358 hardcode_shlibpath_var_GCJ
=no
21359 runpath_var
=LD_RUN_PATH
21360 hardcode_runpath_var
=yes
21365 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
21366 no_undefined_flag_GCJ
='${wl}-z,text'
21367 archive_cmds_need_lc_GCJ
=no
21368 hardcode_shlibpath_var_GCJ
=no
21369 runpath_var
='LD_RUN_PATH'
21371 if test "$GCC" = yes; then
21372 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21373 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21375 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21376 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21380 sysv5
* | sco3.2v5
* | sco5v6
*)
21381 # Note: We can NOT use -z defs as we might desire, because we do not
21382 # link with -lc, and that would cause any symbols used from libc to
21383 # always be unresolved, which means just about no library would
21384 # ever link correctly. If we're not using GNU ld we use -z text
21385 # though, which does catch some bad symbols but isn't as heavy-handed
21387 no_undefined_flag_GCJ
='${wl}-z,text'
21388 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
21389 archive_cmds_need_lc_GCJ
=no
21390 hardcode_shlibpath_var_GCJ
=no
21391 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21392 hardcode_libdir_separator_GCJ
=':'
21393 link_all_deplibs_GCJ
=yes
21394 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
21395 runpath_var
='LD_RUN_PATH'
21397 if test "$GCC" = yes; then
21398 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21399 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21401 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21402 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21407 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21408 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21409 hardcode_shlibpath_var_GCJ
=no
21418 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
21419 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
21420 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
21423 # Do we need to explicitly link libc?
21425 case "x$archive_cmds_need_lc_GCJ" in
21427 # Assume -lc should be added
21428 archive_cmds_need_lc_GCJ
=yes
21430 if test "$enable_shared" = yes && test "$GCC" = yes; then
21431 case $archive_cmds_GCJ in
21433 # FIXME: we may have to deal with multi-command sequences.
21436 # Test whether the compiler implicitly links with -lc since on some
21437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21438 # to ld, don't add -lc before -lgcc.
21439 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21440 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
21442 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21445 (eval $ac_compile) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } 2>conftest.err
; then
21451 libobjs
=conftest.
$ac_objext
21453 wl
=$lt_prog_compiler_wl_GCJ
21454 pic_flag
=$lt_prog_compiler_pic_GCJ
21460 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
21461 allow_undefined_flag_GCJ
=
21462 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21463 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }
21468 archive_cmds_need_lc_GCJ
=no
21470 archive_cmds_need_lc_GCJ
=yes
21472 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
21474 cat conftest.err
1>&5
21477 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
21478 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
21485 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21486 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
21487 library_names_spec
=
21488 libname_spec
='lib$name'
21492 postuninstall_cmds
=
21496 shlibpath_overrides_runpath
=unknown
21498 dynamic_linker
="$host_os ld.so"
21499 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
21501 need_lib_prefix
=unknown
21502 hardcode_into_libs
=no
21504 # when you set need_version to no, make sure it does not cause -set_version
21505 # flags to be left without arguments
21506 need_version
=unknown
21511 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
21512 shlibpath_var
=LIBPATH
21514 # AIX 3 has no versioning support, so we append a major version to the name.
21515 soname_spec
='${libname}${release}${shared_ext}$major'
21522 hardcode_into_libs
=yes
21523 if test "$host_cpu" = ia64
; then
21524 # AIX 5 supports IA64
21525 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21526 shlibpath_var
=LD_LIBRARY_PATH
21528 # With GCC up to 2.95.x, collect2 would create an import file
21529 # for dependence libraries. The import file would start with
21530 # the line `#! .'. This would cause the generated library to
21531 # depend on `.', always an invalid library. This was fixed in
21532 # development snapshots of GCC prior to 3.0.
21534 aix4 | aix4.
[01] | aix4.
[01].
*)
21535 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21537 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
21540 can_build_shared
=no
21544 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21545 # soname into executable. Probably we can add versioning support to
21546 # collect2, so additional links can be useful in future.
21547 if test "$aix_use_runtimelinking" = yes; then
21548 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21549 # instead of lib<name>.a to let people know that these are not
21550 # typical AIX shared libraries.
21551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21553 # We preserve .a as extension for shared libraries through AIX4.2
21554 # and later when we are not doing run time linking.
21555 library_names_spec
='${libname}${release}.a $libname.a'
21556 soname_spec
='${libname}${release}${shared_ext}$major'
21558 shlibpath_var
=LIBPATH
21563 library_names_spec
='$libname.ixlibrary $libname.a'
21564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21565 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'
21569 library_names_spec
='${libname}${shared_ext}'
21570 dynamic_linker
="$host_os ld.so"
21571 shlibpath_var
=LIBRARY_PATH
21577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21578 soname_spec
='${libname}${release}${shared_ext}$major'
21579 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
21580 shlibpath_var
=LD_LIBRARY_PATH
21581 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21582 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
21583 # the default ld.so.conf also contains /usr/contrib/lib and
21584 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21585 # libtool to hard-code these into programs
21588 cygwin
* | mingw
* | pw32
*)
21589 version_type
=windows
21594 case $GCC,$host_os in
21595 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
21596 library_names_spec
='$libname.dll.a'
21597 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21598 postinstall_cmds
='base_file=`basename \${file}`~
21599 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21600 dldir=$destdir/`dirname \$dlpath`~
21601 test -d \$dldir || mkdir -p \$dldir~
21602 $install_prog $dir/$dlname \$dldir/$dlname~
21603 chmod a+x \$dldir/$dlname'
21604 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21605 dlpath=$dir/\$dldll~
21607 shlibpath_overrides_runpath
=yes
21611 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21612 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21613 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
21616 # MinGW DLLs use traditional 'lib' prefix
21617 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21618 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21619 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
21620 # It is most probably a Windows format PATH printed by
21621 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21622 # path with ; separators, and with drive letters. We can handle the
21623 # drive letters (cygwin fileutils understands them), so leave them,
21624 # especially as we might pass files found there to a mingw objdump,
21625 # which wouldn't understand a cygwinified path. Ahh.
21626 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21628 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21632 # pw32 DLLs use 'pw' prefix rather than 'lib'
21633 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21639 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21642 dynamic_linker
='Win32 ld.exe'
21643 # FIXME: first we should search . and the directory the executable is in
21647 darwin
* | rhapsody
*)
21648 dynamic_linker
="$host_os dyld"
21649 version_type
=darwin
21652 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21653 soname_spec
='${libname}${release}${major}$shared_ext'
21654 shlibpath_overrides_runpath
=yes
21655 shlibpath_var
=DYLD_LIBRARY_PATH
21656 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
21658 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
21665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21666 soname_spec
='${libname}${release}${shared_ext}$major'
21667 shlibpath_var
=LD_LIBRARY_PATH
21674 freebsd
* | dragonfly
*)
21675 # DragonFly does not have aout. When/if they implement a new
21676 # versioning mechanism, adjust this.
21677 if test -x /usr
/bin
/objformat
; then
21678 objformat
=`/usr/bin/objformat`
21681 freebsd
[123]*) objformat
=aout
;;
21682 *) objformat
=elf
;;
21685 version_type
=freebsd-
$objformat
21686 case $version_type in
21688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21693 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21697 shlibpath_var
=LD_LIBRARY_PATH
21700 shlibpath_overrides_runpath
=yes
21702 freebsd3.
[01]* | freebsdelf3.
[01]*)
21703 shlibpath_overrides_runpath
=yes
21704 hardcode_into_libs
=yes
21706 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
21707 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
21708 shlibpath_overrides_runpath
=no
21709 hardcode_into_libs
=yes
21711 *) # from 4.6 on, and DragonFly
21712 shlibpath_overrides_runpath
=yes
21713 hardcode_into_libs
=yes
21722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21723 soname_spec
='${libname}${release}${shared_ext}$major'
21724 shlibpath_var
=LD_LIBRARY_PATH
21725 hardcode_into_libs
=yes
21728 hpux9
* | hpux10
* | hpux11
*)
21729 # Give a soname corresponding to the major version so that dld.sl refuses to
21730 # link against other versions.
21737 hardcode_into_libs
=yes
21738 dynamic_linker
="$host_os dld.so"
21739 shlibpath_var
=LD_LIBRARY_PATH
21740 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
21741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21742 soname_spec
='${libname}${release}${shared_ext}$major'
21743 if test "X$HPUX_IA64_MODE" = X32
; then
21744 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21746 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
21748 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
21752 hardcode_into_libs
=yes
21753 dynamic_linker
="$host_os dld.sl"
21754 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
21755 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
21756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21757 soname_spec
='${libname}${release}${shared_ext}$major'
21758 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21759 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
21763 dynamic_linker
="$host_os dld.sl"
21764 shlibpath_var
=SHLIB_PATH
21765 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
21766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21767 soname_spec
='${libname}${release}${shared_ext}$major'
21770 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21771 postinstall_cmds
='chmod 555 $lib'
21778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21779 soname_spec
='${libname}${release}${shared_ext}$major'
21780 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
21781 shlibpath_var
=LD_LIBRARY_PATH
21782 shlibpath_overrides_runpath
=no
21783 hardcode_into_libs
=yes
21786 irix5
* | irix6
* | nonstopux
*)
21788 nonstopux
*) version_type
=nonstopux
;;
21790 if test "$lt_cv_prog_gnu_ld" = yes; then
21798 soname_spec
='${libname}${release}${shared_ext}$major'
21799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21801 irix5
* | nonstopux
*)
21802 libsuff
= shlibsuff
=
21805 case $LD in # libtool.m4 will add one of these switches to LD
21806 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
21807 libsuff
= shlibsuff
= libmagic
=32-bit;;
21808 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
21809 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
21810 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
21811 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
21812 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
21816 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
21817 shlibpath_overrides_runpath
=no
21818 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21819 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
21820 hardcode_into_libs
=yes
21823 # No shared lib support for Linux oldld, aout, or coff.
21824 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
21828 # This must be Linux ELF.
21829 linux
* | k
*bsd
*-gnu)
21833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21834 soname_spec
='${libname}${release}${shared_ext}$major'
21835 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21836 shlibpath_var
=LD_LIBRARY_PATH
21837 shlibpath_overrides_runpath
=no
21838 # This implies no fast_install, which is unacceptable.
21839 # Some rework will be needed to allow for fast_install
21840 # before this can be enabled.
21841 hardcode_into_libs
=yes
21843 # Append ld.so.conf contents to the search path
21844 if test -f /etc
/ld.so.conf
; then
21845 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' ' '`
21846 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
21849 # We used to test for /lib/ld.so.1 and disable shared libraries on
21850 # powerpc, because MkLinux only supported shared libraries with the
21851 # GNU dynamic linker. Since this was broken with cross compilers,
21852 # most powerpc-linux boxes support dynamic linking these days and
21853 # people can always --disable-shared, the test was removed, and we
21854 # assume the GNU/Linux dynamic linker is in use.
21855 dynamic_linker
='GNU/Linux ld.so'
21862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21863 soname_spec
='${libname}${release}${shared_ext}$major'
21864 shlibpath_var
=LD_LIBRARY_PATH
21865 shlibpath_overrides_runpath
=no
21866 hardcode_into_libs
=yes
21867 dynamic_linker
='NetBSD ld.elf_so'
21874 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21877 dynamic_linker
='NetBSD (a.out) ld.so'
21879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21880 soname_spec
='${libname}${release}${shared_ext}$major'
21881 dynamic_linker
='NetBSD ld.elf_so'
21883 shlibpath_var
=LD_LIBRARY_PATH
21884 shlibpath_overrides_runpath
=yes
21885 hardcode_into_libs
=yes
21890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21891 shlibpath_var
=LD_LIBRARY_PATH
21892 shlibpath_overrides_runpath
=yes
21899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21900 soname_spec
='${libname}${release}${shared_ext}$major'
21901 shlibpath_var
=LD_LIBRARY_PATH
21902 shlibpath_overrides_runpath
=yes
21907 sys_lib_dlsearch_path_spec
="/usr/lib"
21909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21911 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
21912 *) need_version
=no
;;
21914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21916 shlibpath_var
=LD_LIBRARY_PATH
21917 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21919 openbsd2.
[89] | openbsd2.
[89].
*)
21920 shlibpath_overrides_runpath
=no
21923 shlibpath_overrides_runpath
=yes
21927 shlibpath_overrides_runpath
=yes
21932 libname_spec
='$name'
21935 library_names_spec
='$libname${shared_ext} $libname.a'
21936 dynamic_linker
='OS/2 ld.exe'
21937 shlibpath_var
=LIBPATH
21940 osf3
* | osf4
* | osf5
*)
21944 soname_spec
='${libname}${release}${shared_ext}$major'
21945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21946 shlibpath_var
=LD_LIBRARY_PATH
21947 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21948 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
21959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21960 soname_spec
='${libname}${release}${shared_ext}$major'
21961 shlibpath_var
=LD_LIBRARY_PATH
21962 shlibpath_overrides_runpath
=yes
21963 hardcode_into_libs
=yes
21964 # ldd complains unless libraries are executable
21965 postinstall_cmds
='chmod +x $lib'
21970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21971 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21972 shlibpath_var
=LD_LIBRARY_PATH
21973 shlibpath_overrides_runpath
=yes
21974 if test "$with_gnu_ld" = yes; then
21982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21983 soname_spec
='${libname}${release}${shared_ext}$major'
21984 shlibpath_var
=LD_LIBRARY_PATH
21985 case $host_vendor in
21987 shlibpath_overrides_runpath
=no
21989 export_dynamic_flag_spec
='${wl}-Blargedynsym'
21990 runpath_var
=LD_RUN_PATH
21998 shlibpath_overrides_runpath
=no
21999 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22005 if test -d /usr
/nec
;then
22007 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22008 soname_spec
='$libname${shared_ext}.$major'
22009 shlibpath_var
=LD_LIBRARY_PATH
22013 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
22014 version_type
=freebsd-elf
22017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22018 soname_spec
='${libname}${release}${shared_ext}$major'
22019 shlibpath_var
=LD_LIBRARY_PATH
22020 hardcode_into_libs
=yes
22021 if test "$with_gnu_ld" = yes; then
22022 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22023 shlibpath_overrides_runpath
=no
22025 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
22026 shlibpath_overrides_runpath
=yes
22029 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
22033 sys_lib_dlsearch_path_spec
='/usr/lib'
22038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22039 soname_spec
='${libname}${release}${shared_ext}$major'
22040 shlibpath_var
=LD_LIBRARY_PATH
22047 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22048 echo "${ECHO_T}$dynamic_linker" >&6; }
22049 test "$dynamic_linker" = no
&& can_build_shared
=no
22051 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
22057 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
22058 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
22064 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
22066 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22067 if test "$GCC" = yes; then
22068 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22071 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22072 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22073 hardcode_action_GCJ
=
22074 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
22075 test -n "$runpath_var_GCJ" || \
22076 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
22078 # We can hardcode non-existant directories.
22079 if test "$hardcode_direct_GCJ" != no
&&
22080 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22081 # have to relink, otherwise we might link with an installed library
22082 # when we should be linking with a yet-to-be-installed one
22083 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
22084 test "$hardcode_minus_L_GCJ" != no
; then
22085 # Linking always hardcodes the temporary library directory.
22086 hardcode_action_GCJ
=relink
22088 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22089 hardcode_action_GCJ
=immediate
22092 # We cannot hardcode anything, or else we can only hardcode existing
22094 hardcode_action_GCJ
=unsupported
22096 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
22097 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
22099 if test "$hardcode_action_GCJ" = relink
; then
22100 # Fast installation is not supported
22101 enable_fast_install
=no
22102 elif test "$shlibpath_overrides_runpath" = yes ||
22103 test "$enable_shared" = no
; then
22104 # Fast installation is not necessary
22105 enable_fast_install
=needless
22109 # The else clause should only fire when bootstrapping the
22110 # libtool distribution, otherwise you forgot to ship ltmain.sh
22111 # with your package, and you will get complaints that there are
22112 # no rules to generate ltmain.sh.
22113 if test -f "$ltmain"; then
22114 # See if we are running on zsh, and set the options which allow our commands through
22115 # without removal of \ escapes.
22116 if test -n "${ZSH_VERSION+set}" ; then
22117 setopt NO_GLOB_SUBST
22119 # Now quote all the things that may contain metacharacters while being
22120 # careful not to overquote the AC_SUBSTed values. We take copies of the
22121 # variables and quote the copies for generation of the libtool script.
22122 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22124 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22125 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22126 deplibs_check_method reload_flag reload_cmds need_locks \
22127 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22128 lt_cv_sys_global_symbol_to_c_name_address \
22129 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22130 old_postinstall_cmds old_postuninstall_cmds \
22134 lt_prog_compiler_wl_GCJ \
22135 lt_prog_compiler_pic_GCJ \
22136 lt_prog_compiler_static_GCJ \
22137 lt_prog_compiler_no_builtin_flag_GCJ \
22138 export_dynamic_flag_spec_GCJ \
22139 thread_safe_flag_spec_GCJ \
22140 whole_archive_flag_spec_GCJ \
22141 enable_shared_with_static_runtimes_GCJ \
22142 old_archive_cmds_GCJ \
22143 old_archive_from_new_cmds_GCJ \
22144 predep_objects_GCJ \
22145 postdep_objects_GCJ \
22148 compiler_lib_search_path_GCJ \
22149 compiler_lib_search_dirs_GCJ \
22151 archive_expsym_cmds_GCJ \
22152 postinstall_cmds_GCJ \
22153 postuninstall_cmds_GCJ \
22154 old_archive_from_expsyms_cmds_GCJ \
22155 allow_undefined_flag_GCJ \
22156 no_undefined_flag_GCJ \
22157 export_symbols_cmds_GCJ \
22158 hardcode_libdir_flag_spec_GCJ \
22159 hardcode_libdir_flag_spec_ld_GCJ \
22160 hardcode_libdir_separator_GCJ \
22161 hardcode_automatic_GCJ \
22163 module_expsym_cmds_GCJ \
22164 lt_cv_prog_compiler_c_o_GCJ \
22165 fix_srcfile_path_GCJ \
22166 exclude_expsyms_GCJ \
22167 include_expsyms_GCJ
; do
22170 old_archive_cmds_GCJ | \
22171 old_archive_from_new_cmds_GCJ | \
22172 archive_cmds_GCJ | \
22173 archive_expsym_cmds_GCJ | \
22174 module_cmds_GCJ | \
22175 module_expsym_cmds_GCJ | \
22176 old_archive_from_expsyms_cmds_GCJ | \
22177 export_symbols_cmds_GCJ | \
22178 extract_expsyms_cmds | reload_cmds | finish_cmds | \
22179 postinstall_cmds | postuninstall_cmds | \
22180 old_postinstall_cmds | old_postuninstall_cmds | \
22181 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
22182 # Double-quote double-evaled strings.
22183 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22186 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22192 *'\$0 --fallback-echo"')
22193 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22199 cat <<__EOF__ >> "$cfgfile"
22200 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22204 # Shell to use when invoking shell scripts.
22207 # Whether or not to build shared libraries.
22208 build_libtool_libs=$enable_shared
22210 # Whether or not to build static libraries.
22211 build_old_libs=$enable_static
22213 # Whether or not to add -lc for building shared libraries.
22214 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
22216 # Whether or not to disallow shared libs when runtime libs are static
22217 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
22219 # Whether or not to optimize for fast installation.
22220 fast_install=$enable_fast_install
22223 host_alias=$host_alias
22227 # The build system.
22228 build_alias=$build_alias
22232 # An echo program that does not interpret backslashes.
22237 AR_FLAGS=$lt_AR_FLAGS
22242 # LTCC compiler flags.
22243 LTCFLAGS=$lt_LTCFLAGS
22245 # A language-specific compiler.
22246 CC=$lt_compiler_GCJ
22248 # Is the compiler the GNU C compiler?
22254 # The linker used to build libraries.
22257 # Whether we need hard or soft links.
22260 # A BSD-compatible nm program.
22263 # A symbol stripping program
22266 # Used to examine libraries when file_magic_cmd begins "file"
22267 MAGIC_CMD=$MAGIC_CMD
22269 # Used on cygwin: DLL creation program.
22272 # Used on cygwin: object dumper.
22275 # Used on cygwin: assembler.
22278 # The name of the directory that contains temporary libtool files.
22281 # How to create reloadable object files.
22282 reload_flag=$lt_reload_flag
22283 reload_cmds=$lt_reload_cmds
22285 # How to pass a linker flag through the compiler.
22286 wl=$lt_lt_prog_compiler_wl_GCJ
22288 # Object file suffix (normally "o").
22289 objext="$ac_objext"
22291 # Old archive suffix (normally "a").
22294 # Shared library suffix (normally ".so").
22295 shrext_cmds='$shrext_cmds'
22297 # Executable file suffix (normally "").
22300 # Additional compiler flags for building library objects.
22301 pic_flag=$lt_lt_prog_compiler_pic_GCJ
22304 # What is the maximum length of a command?
22305 max_cmd_len=$lt_cv_sys_max_cmd_len
22307 # Does compiler simultaneously support -c and -o options?
22308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
22310 # Must we lock files when doing compilation?
22311 need_locks=$lt_need_locks
22313 # Do we need the lib prefix for modules?
22314 need_lib_prefix=$need_lib_prefix
22316 # Do we need a version for libraries?
22317 need_version=$need_version
22319 # Whether dlopen is supported.
22320 dlopen_support=$enable_dlopen
22322 # Whether dlopen of programs is supported.
22323 dlopen_self=$enable_dlopen_self
22325 # Whether dlopen of statically linked programs is supported.
22326 dlopen_self_static=$enable_dlopen_self_static
22328 # Compiler flag to prevent dynamic linking.
22329 link_static_flag=$lt_lt_prog_compiler_static_GCJ
22331 # Compiler flag to turn off builtin functions.
22332 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
22334 # Compiler flag to allow reflexive dlopens.
22335 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
22337 # Compiler flag to generate shared objects directly from archives.
22338 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
22340 # Compiler flag to generate thread-safe objects.
22341 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
22343 # Library versioning type.
22344 version_type=$version_type
22346 # Format of library name prefix.
22347 libname_spec=$lt_libname_spec
22349 # List of archive names. First name is the real one, the rest are links.
22350 # The last name is the one that the linker finds with -lNAME.
22351 library_names_spec=$lt_library_names_spec
22353 # The coded name of the library, if different from the real name.
22354 soname_spec=$lt_soname_spec
22356 # Commands used to build and install an old-style archive.
22358 old_archive_cmds=$lt_old_archive_cmds_GCJ
22359 old_postinstall_cmds=$lt_old_postinstall_cmds
22360 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22362 # Create an old-style archive from a shared archive.
22363 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
22365 # Create a temporary old-style archive to link instead of a shared archive.
22366 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
22368 # Commands used to build and install a shared archive.
22369 archive_cmds=$lt_archive_cmds_GCJ
22370 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
22371 postinstall_cmds=$lt_postinstall_cmds
22372 postuninstall_cmds=$lt_postuninstall_cmds
22374 # Commands used to build a loadable module (assumed same as above if empty)
22375 module_cmds=$lt_module_cmds_GCJ
22376 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
22378 # Commands to strip libraries.
22379 old_striplib=$lt_old_striplib
22380 striplib=$lt_striplib
22382 # Dependencies to place before the objects being linked to create a
22384 predep_objects=$lt_predep_objects_GCJ
22386 # Dependencies to place after the objects being linked to create a
22388 postdep_objects=$lt_postdep_objects_GCJ
22390 # Dependencies to place before the objects being linked to create a
22392 predeps=$lt_predeps_GCJ
22394 # Dependencies to place after the objects being linked to create a
22396 postdeps=$lt_postdeps_GCJ
22398 # The directories searched by this compiler when creating a shared
22400 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
22402 # The library search path used internally by the compiler when linking
22403 # a shared library.
22404 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
22406 # Method to check whether dependent libraries are shared objects.
22407 deplibs_check_method=$lt_deplibs_check_method
22409 # Command to use when deplibs_check_method == file_magic.
22410 file_magic_cmd=$lt_file_magic_cmd
22412 # Flag that allows shared libraries with undefined symbols to be built.
22413 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
22415 # Flag that forces no undefined symbols.
22416 no_undefined_flag=$lt_no_undefined_flag_GCJ
22418 # Commands used to finish a libtool library installation in a directory.
22419 finish_cmds=$lt_finish_cmds
22421 # Same as above, but a single script fragment to be evaled but not shown.
22422 finish_eval=$lt_finish_eval
22424 # Take the output of nm and produce a listing of raw symbols and C names.
22425 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22427 # Transform the output of nm in a proper C declaration
22428 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22430 # Transform the output of nm in a C name address pair
22431 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22433 # This is the shared library runtime path variable.
22434 runpath_var=$runpath_var
22436 # This is the shared library path variable.
22437 shlibpath_var=$shlibpath_var
22439 # Is shlibpath searched before the hard-coded library search path?
22440 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22442 # How to hardcode a shared library path into an executable.
22443 hardcode_action=$hardcode_action_GCJ
22445 # Whether we should hardcode library paths into libraries.
22446 hardcode_into_libs=$hardcode_into_libs
22448 # Flag to hardcode \$libdir into a binary during linking.
22449 # This must work even if \$libdir does not exist.
22450 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22452 # If ld is used when linking, flag to hardcode \$libdir into
22453 # a binary during linking. This must work even if \$libdir does
22455 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22457 # Whether we need a single -rpath flag with a separated argument.
22458 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22460 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22461 # resulting binary.
22462 hardcode_direct=$hardcode_direct_GCJ
22464 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22465 # resulting binary.
22466 hardcode_minus_L=$hardcode_minus_L_GCJ
22468 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22469 # the resulting binary.
22470 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22472 # Set to yes if building a shared library automatically hardcodes DIR into the library
22473 # and all subsequent libraries and executables linked against it.
22474 hardcode_automatic=$hardcode_automatic_GCJ
22476 # Variables whose values should be saved in libtool wrapper scripts and
22477 # restored at relink time.
22478 variables_saved_for_relink="$variables_saved_for_relink"
22480 # Whether libtool must link a program against all its dependency libraries.
22481 link_all_deplibs=$link_all_deplibs_GCJ
22483 # Compile-time system search path for libraries
22484 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22486 # Run-time system search path for libraries
22487 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22489 # Fix the shell variable \$srcfile for the compiler.
22490 fix_srcfile_path=$lt_fix_srcfile_path
22492 # Set to yes if exported symbols are required.
22493 always_export_symbols=$always_export_symbols_GCJ
22495 # The commands to list exported symbols.
22496 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22498 # The commands to extract the exported symbol list from a shared archive.
22499 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22501 # Symbols that should not be listed in the preloaded symbols.
22502 exclude_expsyms=$lt_exclude_expsyms_GCJ
22504 # Symbols that must always be exported.
22505 include_expsyms=$lt_include_expsyms_GCJ
22507 # ### END LIBTOOL TAG CONFIG: $tagname
22513 # If there is no Makefile yet, we rely on a make rule to execute
22514 # `config.status --recheck' to rerun these tests and create the
22515 # libtool script then.
22516 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22517 if test -f "$ltmain_in"; then
22518 test -f Makefile
&& make "$ltmain"
22524 ac_cpp
='$CPP $CPPFLAGS'
22525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22539 # Source file extension for RC test sources.
22542 # Object file extension for compiled RC test sources.
22546 # Code to be used in simple compile tests
22547 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
22549 # Code to be used in simple link tests
22550 lt_simple_link_test_code
="$lt_simple_compile_test_code"
22552 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22554 # If no C compiler was specified, use CC.
22557 # If no C compiler flags were specified, use CFLAGS.
22558 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
22560 # Allow CC to be a program name with arguments.
22564 # save warnings/boilerplate of simple test code
22565 ac_outfile
=conftest.
$ac_objext
22566 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
22567 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
22568 _lt_compiler_boilerplate
=`cat conftest.err`
22571 ac_outfile
=conftest.
$ac_objext
22572 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
22573 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
22574 _lt_linker_boilerplate
=`cat conftest.err`
22578 # Allow CC to be a program name with arguments.
22583 for cc_temp
in $compiler""; do
22585 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
22586 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
22591 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22593 lt_cv_prog_compiler_c_o_RC
=yes
22595 # The else clause should only fire when bootstrapping the
22596 # libtool distribution, otherwise you forgot to ship ltmain.sh
22597 # with your package, and you will get complaints that there are
22598 # no rules to generate ltmain.sh.
22599 if test -f "$ltmain"; then
22600 # See if we are running on zsh, and set the options which allow our commands through
22601 # without removal of \ escapes.
22602 if test -n "${ZSH_VERSION+set}" ; then
22603 setopt NO_GLOB_SUBST
22605 # Now quote all the things that may contain metacharacters while being
22606 # careful not to overquote the AC_SUBSTed values. We take copies of the
22607 # variables and quote the copies for generation of the libtool script.
22608 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22610 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22611 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22612 deplibs_check_method reload_flag reload_cmds need_locks \
22613 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22614 lt_cv_sys_global_symbol_to_c_name_address \
22615 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22616 old_postinstall_cmds old_postuninstall_cmds \
22620 lt_prog_compiler_wl_RC \
22621 lt_prog_compiler_pic_RC \
22622 lt_prog_compiler_static_RC \
22623 lt_prog_compiler_no_builtin_flag_RC \
22624 export_dynamic_flag_spec_RC \
22625 thread_safe_flag_spec_RC \
22626 whole_archive_flag_spec_RC \
22627 enable_shared_with_static_runtimes_RC \
22628 old_archive_cmds_RC \
22629 old_archive_from_new_cmds_RC \
22630 predep_objects_RC \
22631 postdep_objects_RC \
22634 compiler_lib_search_path_RC \
22635 compiler_lib_search_dirs_RC \
22637 archive_expsym_cmds_RC \
22638 postinstall_cmds_RC \
22639 postuninstall_cmds_RC \
22640 old_archive_from_expsyms_cmds_RC \
22641 allow_undefined_flag_RC \
22642 no_undefined_flag_RC \
22643 export_symbols_cmds_RC \
22644 hardcode_libdir_flag_spec_RC \
22645 hardcode_libdir_flag_spec_ld_RC \
22646 hardcode_libdir_separator_RC \
22647 hardcode_automatic_RC \
22649 module_expsym_cmds_RC \
22650 lt_cv_prog_compiler_c_o_RC \
22651 fix_srcfile_path_RC \
22652 exclude_expsyms_RC \
22653 include_expsyms_RC
; do
22656 old_archive_cmds_RC | \
22657 old_archive_from_new_cmds_RC | \
22658 archive_cmds_RC | \
22659 archive_expsym_cmds_RC | \
22661 module_expsym_cmds_RC | \
22662 old_archive_from_expsyms_cmds_RC | \
22663 export_symbols_cmds_RC | \
22664 extract_expsyms_cmds | reload_cmds | finish_cmds | \
22665 postinstall_cmds | postuninstall_cmds | \
22666 old_postinstall_cmds | old_postuninstall_cmds | \
22667 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
22668 # Double-quote double-evaled strings.
22669 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22672 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22678 *'\$0 --fallback-echo"')
22679 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22685 cat <<__EOF__ >> "$cfgfile"
22686 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22688 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22690 # Shell to use when invoking shell scripts.
22693 # Whether or not to build shared libraries.
22694 build_libtool_libs=$enable_shared
22696 # Whether or not to build static libraries.
22697 build_old_libs=$enable_static
22699 # Whether or not to add -lc for building shared libraries.
22700 build_libtool_need_lc=$archive_cmds_need_lc_RC
22702 # Whether or not to disallow shared libs when runtime libs are static
22703 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22705 # Whether or not to optimize for fast installation.
22706 fast_install=$enable_fast_install
22709 host_alias=$host_alias
22713 # The build system.
22714 build_alias=$build_alias
22718 # An echo program that does not interpret backslashes.
22723 AR_FLAGS=$lt_AR_FLAGS
22728 # LTCC compiler flags.
22729 LTCFLAGS=$lt_LTCFLAGS
22731 # A language-specific compiler.
22734 # Is the compiler the GNU C compiler?
22740 # The linker used to build libraries.
22743 # Whether we need hard or soft links.
22746 # A BSD-compatible nm program.
22749 # A symbol stripping program
22752 # Used to examine libraries when file_magic_cmd begins "file"
22753 MAGIC_CMD=$MAGIC_CMD
22755 # Used on cygwin: DLL creation program.
22758 # Used on cygwin: object dumper.
22761 # Used on cygwin: assembler.
22764 # The name of the directory that contains temporary libtool files.
22767 # How to create reloadable object files.
22768 reload_flag=$lt_reload_flag
22769 reload_cmds=$lt_reload_cmds
22771 # How to pass a linker flag through the compiler.
22772 wl=$lt_lt_prog_compiler_wl_RC
22774 # Object file suffix (normally "o").
22775 objext="$ac_objext"
22777 # Old archive suffix (normally "a").
22780 # Shared library suffix (normally ".so").
22781 shrext_cmds='$shrext_cmds'
22783 # Executable file suffix (normally "").
22786 # Additional compiler flags for building library objects.
22787 pic_flag=$lt_lt_prog_compiler_pic_RC
22790 # What is the maximum length of a command?
22791 max_cmd_len=$lt_cv_sys_max_cmd_len
22793 # Does compiler simultaneously support -c and -o options?
22794 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22796 # Must we lock files when doing compilation?
22797 need_locks=$lt_need_locks
22799 # Do we need the lib prefix for modules?
22800 need_lib_prefix=$need_lib_prefix
22802 # Do we need a version for libraries?
22803 need_version=$need_version
22805 # Whether dlopen is supported.
22806 dlopen_support=$enable_dlopen
22808 # Whether dlopen of programs is supported.
22809 dlopen_self=$enable_dlopen_self
22811 # Whether dlopen of statically linked programs is supported.
22812 dlopen_self_static=$enable_dlopen_self_static
22814 # Compiler flag to prevent dynamic linking.
22815 link_static_flag=$lt_lt_prog_compiler_static_RC
22817 # Compiler flag to turn off builtin functions.
22818 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22820 # Compiler flag to allow reflexive dlopens.
22821 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22823 # Compiler flag to generate shared objects directly from archives.
22824 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22826 # Compiler flag to generate thread-safe objects.
22827 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22829 # Library versioning type.
22830 version_type=$version_type
22832 # Format of library name prefix.
22833 libname_spec=$lt_libname_spec
22835 # List of archive names. First name is the real one, the rest are links.
22836 # The last name is the one that the linker finds with -lNAME.
22837 library_names_spec=$lt_library_names_spec
22839 # The coded name of the library, if different from the real name.
22840 soname_spec=$lt_soname_spec
22842 # Commands used to build and install an old-style archive.
22844 old_archive_cmds=$lt_old_archive_cmds_RC
22845 old_postinstall_cmds=$lt_old_postinstall_cmds
22846 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22848 # Create an old-style archive from a shared archive.
22849 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22851 # Create a temporary old-style archive to link instead of a shared archive.
22852 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22854 # Commands used to build and install a shared archive.
22855 archive_cmds=$lt_archive_cmds_RC
22856 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22857 postinstall_cmds=$lt_postinstall_cmds
22858 postuninstall_cmds=$lt_postuninstall_cmds
22860 # Commands used to build a loadable module (assumed same as above if empty)
22861 module_cmds=$lt_module_cmds_RC
22862 module_expsym_cmds=$lt_module_expsym_cmds_RC
22864 # Commands to strip libraries.
22865 old_striplib=$lt_old_striplib
22866 striplib=$lt_striplib
22868 # Dependencies to place before the objects being linked to create a
22870 predep_objects=$lt_predep_objects_RC
22872 # Dependencies to place after the objects being linked to create a
22874 postdep_objects=$lt_postdep_objects_RC
22876 # Dependencies to place before the objects being linked to create a
22878 predeps=$lt_predeps_RC
22880 # Dependencies to place after the objects being linked to create a
22882 postdeps=$lt_postdeps_RC
22884 # The directories searched by this compiler when creating a shared
22886 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
22888 # The library search path used internally by the compiler when linking
22889 # a shared library.
22890 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22892 # Method to check whether dependent libraries are shared objects.
22893 deplibs_check_method=$lt_deplibs_check_method
22895 # Command to use when deplibs_check_method == file_magic.
22896 file_magic_cmd=$lt_file_magic_cmd
22898 # Flag that allows shared libraries with undefined symbols to be built.
22899 allow_undefined_flag=$lt_allow_undefined_flag_RC
22901 # Flag that forces no undefined symbols.
22902 no_undefined_flag=$lt_no_undefined_flag_RC
22904 # Commands used to finish a libtool library installation in a directory.
22905 finish_cmds=$lt_finish_cmds
22907 # Same as above, but a single script fragment to be evaled but not shown.
22908 finish_eval=$lt_finish_eval
22910 # Take the output of nm and produce a listing of raw symbols and C names.
22911 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22913 # Transform the output of nm in a proper C declaration
22914 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22916 # Transform the output of nm in a C name address pair
22917 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22919 # This is the shared library runtime path variable.
22920 runpath_var=$runpath_var
22922 # This is the shared library path variable.
22923 shlibpath_var=$shlibpath_var
22925 # Is shlibpath searched before the hard-coded library search path?
22926 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22928 # How to hardcode a shared library path into an executable.
22929 hardcode_action=$hardcode_action_RC
22931 # Whether we should hardcode library paths into libraries.
22932 hardcode_into_libs=$hardcode_into_libs
22934 # Flag to hardcode \$libdir into a binary during linking.
22935 # This must work even if \$libdir does not exist.
22936 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22938 # If ld is used when linking, flag to hardcode \$libdir into
22939 # a binary during linking. This must work even if \$libdir does
22941 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22943 # Whether we need a single -rpath flag with a separated argument.
22944 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22946 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22947 # resulting binary.
22948 hardcode_direct=$hardcode_direct_RC
22950 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22951 # resulting binary.
22952 hardcode_minus_L=$hardcode_minus_L_RC
22954 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22955 # the resulting binary.
22956 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22958 # Set to yes if building a shared library automatically hardcodes DIR into the library
22959 # and all subsequent libraries and executables linked against it.
22960 hardcode_automatic=$hardcode_automatic_RC
22962 # Variables whose values should be saved in libtool wrapper scripts and
22963 # restored at relink time.
22964 variables_saved_for_relink="$variables_saved_for_relink"
22966 # Whether libtool must link a program against all its dependency libraries.
22967 link_all_deplibs=$link_all_deplibs_RC
22969 # Compile-time system search path for libraries
22970 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22972 # Run-time system search path for libraries
22973 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22975 # Fix the shell variable \$srcfile for the compiler.
22976 fix_srcfile_path=$lt_fix_srcfile_path
22978 # Set to yes if exported symbols are required.
22979 always_export_symbols=$always_export_symbols_RC
22981 # The commands to list exported symbols.
22982 export_symbols_cmds=$lt_export_symbols_cmds_RC
22984 # The commands to extract the exported symbol list from a shared archive.
22985 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22987 # Symbols that should not be listed in the preloaded symbols.
22988 exclude_expsyms=$lt_exclude_expsyms_RC
22990 # Symbols that must always be exported.
22991 include_expsyms=$lt_include_expsyms_RC
22993 # ### END LIBTOOL TAG CONFIG: $tagname
22999 # If there is no Makefile yet, we rely on a make rule to execute
23000 # `config.status --recheck' to rerun these tests and create the
23001 # libtool script then.
23002 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23003 if test -f "$ltmain_in"; then
23004 test -f Makefile
&& make "$ltmain"
23010 ac_cpp
='$CPP $CPPFLAGS'
23011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23020 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
23021 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
23022 { (exit 1); exit 1; }; }
23026 # Append the new tag name to the list of available tags.
23027 if test -n "$tagname" ; then
23028 available_tags
="$available_tags $tagname"
23034 # Now substitute the updated list of available tags.
23035 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
23036 mv "${ofile}T" "$ofile"
23040 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
23041 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
23042 { (exit 1); exit 1; }; }
23048 # This can be used to rebuild libtool when needed
23049 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
23051 # Always use our own libtool.
23052 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
23054 # Prevent multiple expansion
23076 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
23077 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
23078 if test "${ac_cv_path_SED+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
23082 for ac_i
in 1 2 3 4 5 6 7; do
23083 ac_script
="$ac_script$as_nl$ac_script"
23085 echo "$ac_script" |
sed 99q
>conftest.
sed
23086 $as_unset ac_script || ac_script
=
23087 # Extract the first word of "sed gsed" to use in msg output
23088 if test -z "$SED"; then
23089 set dummy
sed gsed
; ac_prog_name
=$2
23090 if test "${ac_cv_path_SED+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23093 ac_path_SED_found
=false
23094 # Loop through the user's path and test for each of PROGNAME-LIST
23095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23096 for as_dir
in $PATH
23099 test -z "$as_dir" && as_dir
=.
23100 for ac_prog
in sed gsed
; do
23101 for ac_exec_ext
in '' $ac_executable_extensions; do
23102 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
23103 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
23104 # Check for GNU ac_path_SED and select it if it is found.
23105 # Check for GNU $ac_path_SED
23106 case `"$ac_path_SED" --version 2>&1` in
23108 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
23111 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
23114 cat "conftest.in" "conftest.in" >"conftest.tmp"
23115 mv "conftest.tmp" "conftest.in"
23116 cp "conftest.in" "conftest.nl"
23117 echo '' >> "conftest.nl"
23118 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
23119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
23120 ac_count
=`expr $ac_count + 1`
23121 if test $ac_count -gt ${ac_path_SED_max-0}; then
23122 # Best one so far, save it but keep looking for a better one
23123 ac_cv_path_SED
="$ac_path_SED"
23124 ac_path_SED_max
=$ac_count
23126 # 10*(2^10) chars as input seems more than enough
23127 test $ac_count -gt 10 && break
23129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
23133 $ac_path_SED_found && break 3
23143 SED
="$ac_cv_path_SED"
23144 if test -z "$SED"; then
23145 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
23146 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
23147 { (exit 1); exit 1; }; }
23151 ac_cv_path_SED
=$SED
23155 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
23156 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
23157 SED
="$ac_cv_path_SED"
23165 flag
=`echo "-fvisibility=hidden" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
23167 { echo "$as_me:$LINENO: checking whether the C compiler accepts the -fvisibility=hidden flag" >&5
23168 echo $ECHO_N "checking whether the C compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
23169 if { as_var
=ax_cv_c_check_flag_
$flag; eval "test \"\${$as_var+set}\" = set"; }; then
23170 echo $ECHO_N "(cached) $ECHO_C" >&6
23175 ac_cpp
='$CPP $CPPFLAGS'
23176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23181 save_CFLAGS
="$CFLAGS"
23182 CFLAGS
="$CFLAGS -fvisibility=hidden"
23183 cat >conftest.
$ac_ext <<_ACEOF
23187 cat confdefs.h
>>conftest.
$ac_ext
23188 cat >>conftest.
$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23200 rm -f conftest.
$ac_objext
23201 if { (ac_try
="$ac_compile"
23202 case "(($ac_try" in
23203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23204 *) ac_try_echo=$ac_try;;
23206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23207 (eval "$ac_compile") 2>conftest.er1
23209 grep -v '^ *+' conftest.er1 >conftest.err
23211 cat conftest.err >&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); } && {
23214 test -z "$ac_c_werror_flag" ||
23215 test ! -s conftest.err
23216 } && test -s conftest.$ac_objext; then
23218 eval "ax_cv_c_check_flag_$flag=yes"
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23225 eval "ax_cv_c_check_flag_$flag=no"
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 CFLAGS="$save_CFLAGS"
23234 ac_cpp='$CPP $CPPFLAGS'
23235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242 ac_res=`eval echo '${'ax_cv_c_check_flag_$flag'}'`
23243 { echo "$as_me:$LINENO: result: $ac_res" >&5
23244 echo "${ECHO_T}$ac_res" >&6; }
23246 if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then
23249 HAVE_C_GCCVISIBILITY=1
23254 HAVE_C_GCCVISIBILITY=0
23264 flag=`echo "-fvisibility=hidden" |
$SED 'y% .=/+-(){}<>:*,%_______________%'`
23266 { echo "$as_me:$LINENO: checking whether the C++ compiler accepts the -fvisibility=hidden flag" >&5
23267 echo $ECHO_N "checking whether the C++ compiler accepts the -fvisibility=hidden flag... $ECHO_C" >&6; }
23268 if { as_var=ax_cv_cxx_check_flag_$flag; eval "test \"\${$as_var+set}\" = set"; }; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23274 ac_cpp='$CXXCPP $CPPFLAGS'
23275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23280 save_CXXFLAGS="$CXXFLAGS"
23281 CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
23282 cat >conftest.$ac_ext <<_ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23299 rm -f conftest.$ac_objext
23300 if { (ac_try="$ac_compile"
23301 case "(($ac_try" in
23302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23303 *) ac_try_echo
=$ac_try;;
23305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23306 (eval "$ac_compile") 2>conftest.er1
23308 grep -v '^ *+' conftest.er1
>conftest.err
23310 cat conftest.err
>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } && {
23313 test -z "$ac_cxx_werror_flag" ||
23314 test ! -s conftest.err
23315 } && test -s conftest.
$ac_objext; then
23317 eval "ax_cv_cxx_check_flag_$flag=yes"
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.
$ac_ext >&5
23324 eval "ax_cv_cxx_check_flag_$flag=no"
23328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23330 CXXFLAGS
="$save_CXXFLAGS"
23333 ac_cpp
='$CPP $CPPFLAGS'
23334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23341 ac_res
=`eval echo '${'ax_cv_cxx_check_flag_$flag'}'`
23342 { echo "$as_me:$LINENO: result: $ac_res" >&5
23343 echo "${ECHO_T}$ac_res" >&6; }
23345 if eval "test \"`echo '$ax_cv_cxx_check_flag_'$flag`\" = yes"; then
23348 HAVE_CXX_GCCVISIBILITY
=1
23353 HAVE_CXX_GCCVISIBILITY
=0
23358 if test "$HAVE_C_GCCVISIBILITY" = "1" -a "$HAVE_CXX_GCCVISIBILITY" = "1"; then
23359 WITH_GCCVISIBILITY_TRUE
=
23360 WITH_GCCVISIBILITY_FALSE
='#'
23362 WITH_GCCVISIBILITY_TRUE
='#'
23363 WITH_GCCVISIBILITY_FALSE
=
23368 ac_cpp
='$CXXCPP $CPPFLAGS'
23369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23375 # Checks for libraries.
23378 # libtar and libz don't have pkg-config files on many systems.
23379 # libz we can assume, but libtar we need to test for
23381 # Check whether --with-libtar was given.
23382 if test "${with_libtar+set}" = set; then
23383 withval
=$with_libtar; LIBTAR_CFLAGS
="-I$with_libtar/include"
23384 LIBTAR_LIBS
="-L$with_libtar/lib -ltar"
23386 echo "Guessing libtar location... may not compile...";
23388 LIBTAR_LIBS
="-ltar"
23394 { echo "$as_me:$LINENO: checking for tar_open in -ltar" >&5
23395 echo $ECHO_N "checking for tar_open in -ltar... $ECHO_C" >&6; }
23396 if test "${ac_cv_lib_tar_tar_open+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 ac_check_lib_save_LIBS
=$LIBS
23400 LIBS
="-ltar $LIBTAR_CFLAGS $LIBTAR_LIBS $LIBS"
23401 cat >conftest.
$ac_ext <<_ACEOF
23404 cat confdefs.h
>>conftest.
$ac_ext
23405 cat >>conftest.
$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23408 /* Override any GCC internal prototype to avoid an error.
23409 Use char because int might match the return type of a GCC
23410 builtin and then its argument prototype would still apply. */
23418 return tar_open ();
23423 rm -f conftest.
$ac_objext conftest
$ac_exeext
23424 if { (ac_try
="$ac_link"
23425 case "(($ac_try" in
23426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23427 *) ac_try_echo=$ac_try;;
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_link") 2>conftest.er1
23432 grep -v '^ *+' conftest.er1 >conftest.err
23434 cat conftest.err >&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } && {
23437 test -z "$ac_cxx_werror_flag" ||
23438 test ! -s conftest.err
23439 } && test -s conftest$ac_exeext &&
23440 $as_test_x conftest$ac_exeext; then
23441 ac_cv_lib_tar_tar_open=yes
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.$ac_ext >&5
23446 ac_cv_lib_tar_tar_open=no
23449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23450 conftest$ac_exeext conftest.$ac_ext
23451 LIBS=$ac_check_lib_save_LIBS
23453 { echo "$as_me:$LINENO: result: $ac_cv_lib_tar_tar_open" >&5
23454 echo "${ECHO_T}$ac_cv_lib_tar_tar_open" >&6; }
23455 if test $ac_cv_lib_tar_tar_open = yes; then
23457 { echo "$as_me:$LINENO: Found libtar, enabling libbarrybackup" >&5
23458 echo "$as_me: Found libtar, enabling libbarrybackup" >&6;}
23461 { echo "$as_me:$LINENO: Libtar NOT found, disabling libbarrybackup" >&5
23462 echo "$as_me: Libtar NOT found, disabling libbarrybackup" >&6;}
23467 # Check whether --with-libz was given.
23468 if test "${with_libz+set}" = set; then
23469 withval=$with_libz; LIBZ_CFLAGS="-I$with_libtar/include"
23470 LIBZ_LIBS="-L$with_libtar/lib -ltar"
23472 echo "Guessing zlib location... may not compile...";
23480 if test "$LIBTAR_FOUND" = "1"; then
23482 WITH_BACKUP_FALSE='#'
23484 WITH_BACKUP_TRUE='#'
23489 # generates LIBUSB_CFLAGS and LIBUSB_LIBS for us
23492 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23493 if test -n "$ac_tool_prefix"; then
23494 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23495 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
23497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23498 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23499 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 case $PKG_CONFIG in
23503 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23507 for as_dir in $PATH
23510 test -z "$as_dir" && as_dir=.
23511 for ac_exec_ext in '' $ac_executable_extensions; do
23512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23513 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23524 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23525 if test -n "$PKG_CONFIG"; then
23526 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23527 echo "${ECHO_T}$PKG_CONFIG" >&6; }
23529 { echo "$as_me:$LINENO: result: no" >&5
23530 echo "${ECHO_T}no" >&6; }
23535 if test -z "$ac_cv_path_PKG_CONFIG"; then
23536 ac_pt_PKG_CONFIG=$PKG_CONFIG
23537 # Extract the first word of "pkg-config", so it can be a program name with args.
23538 set dummy pkg-config; ac_word=$2
23539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
23540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23541 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23542 echo $ECHO_N "(cached) $ECHO_C" >&6
23544 case $ac_pt_PKG_CONFIG in
23546 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23550 for as_dir in $PATH
23553 test -z "$as_dir" && as_dir=.
23554 for ac_exec_ext in '' $ac_executable_extensions; do
23555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23556 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23567 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23568 if test -n "$ac_pt_PKG_CONFIG"; then
23569 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23570 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23572 { echo "$as_me:$LINENO: result: no" >&5
23573 echo "${ECHO_T}no" >&6; }
23576 if test "x$ac_pt_PKG_CONFIG" = x; then
23579 case $cross_compiling:$ac_tool_warned in
23581 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23582 whose name does not start with the host triplet. If you think this
23583 configuration is useful to you, please write to autoconf@gnu.org." >&5
23584 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23585 whose name does not start with the host triplet. If you think this
23586 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23587 ac_tool_warned=yes ;;
23589 PKG_CONFIG=$ac_pt_PKG_CONFIG
23592 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23596 if test -n "$PKG_CONFIG"; then
23597 _pkg_min_version=0.9.0
23598 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23599 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23600 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23601 { echo "$as_me:$LINENO: result: yes" >&5
23602 echo "${ECHO_T}yes" >&6; }
23604 { echo "$as_me:$LINENO: result: no" >&5
23605 echo "${ECHO_T}no" >&6; }
23612 { echo "$as_me:$LINENO: checking for LIBUSB" >&5
23613 echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6; }
23615 if test -n "$PKG_CONFIG"; then
23616 if test -n "$LIBUSB_CFLAGS"; then
23617 pkg_cv_LIBUSB_CFLAGS="$LIBUSB_CFLAGS"
23619 if test -n "$PKG_CONFIG" && \
23620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
23621 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; then
23625 pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev
/null
`
23633 if test -n "$PKG_CONFIG"; then
23634 if test -n "$LIBUSB_LIBS"; then
23635 pkg_cv_LIBUSB_LIBS="$LIBUSB_LIBS"
23637 if test -n "$PKG_CONFIG" && \
23638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
23639 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; then
23643 pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb" 2>/dev
/null
`
23654 if test $pkg_failed = yes; then
23656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23657 _pkg_short_errors_supported=yes
23659 _pkg_short_errors_supported=no
23661 if test $_pkg_short_errors_supported = yes; then
23662 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
23664 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
23666 # Put the nasty error message in config.log where it belongs
23667 echo "$LIBUSB_PKG_ERRORS" >&5
23669 { echo "$as_me:$LINENO: result: no" >&5
23670 echo "${ECHO_T}no" >&6; }
23671 echo "ERROR: Libusb not found automatically... build may fail if you don't specify --with-libusb";LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-lusb"
23672 elif test $pkg_failed = untried; then
23673 echo "ERROR: Libusb not found automatically... build may fail if you don't specify --with-libusb";LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-lusb"
23675 LIBUSB_CFLAGS=$pkg_cv_LIBUSB_CFLAGS
23676 LIBUSB_LIBS=$pkg_cv_LIBUSB_LIBS
23677 { echo "$as_me:$LINENO: result: yes" >&5
23678 echo "${ECHO_T}yes" >&6; }
23683 # Check whether --with-libusb was given.
23684 if test "${with_libusb+set}" = set; then
23685 withval=$with_libusb; LIBUSB_CFLAGS="-I$with_libusb/include"
23686 LIBUSB_LIBS="-L$with_libusb/lib -lusb"
23691 # Boost library configuration
23693 # Ok, the requirements:
23695 # - let the user enable/disable Boost support from configure
23696 # - default to disabled
23697 # - if enabled, and not available, error
23699 # - let user specify include path, and lib path, separately,
23700 # since some Boost installations have an additional boost-1.34.1
23701 # style directory in them
23702 # - default to using no path overrides, assuming everything
23703 # that is needed is in default distro locations
23705 # - let user specify the name of the serialization library, since
23706 # the name of the library can change whether you're building
23707 # from source or not
23708 # - default to searching for boost_serialization or
23709 # boost_serialization-mt, and error if not found
23713 # --enable-boost Handles enable/disable
23714 # --with-boost-include=path Override the include path
23715 # --with-boost-lib=path Override the lib path
23716 # --with-boost-serialization=name Override the name of serialization
23717 # library to link with
23720 # Check whether --enable-boost was given.
23721 if test "${enable_boost+set}" = set; then
23722 enableval=$enable_boost;
23723 if test x"$enableval" = "xno" ; then
23735 # Check whether --with-boost-include was given.
23736 if test "${with_boost_include+set}" = set; then
23737 withval=$with_boost_include; BOOST_INC_PATH="-I$withval"
23744 # Check whether --with-boost-lib was given.
23745 if test "${with_boost_lib+set}" = set; then
23746 withval=$with_boost_lib; BOOST_LIB_PATH="-L$withval"
23753 # Check whether --with-boost-serialization was given.
23754 if test "${with_boost_serialization+set}" = set; then
23755 withval=$with_boost_serialization; boost_serialization_name=$withval
23757 boost_serialization_name="boost_serialization"
23761 { echo "$as_me:$LINENO: using BOOST library... $BOOST_ENABLED" >&5
23762 echo "$as_me: using BOOST library... $BOOST_ENABLED" >&6;}
23763 if test x"$BOOST_INC_PATH$BOOST_LIB_PATH" != x ; then
23764 { echo "$as_me:$LINENO: BOOST include options: $BOOST_INC_PATH" >&5
23765 echo "$as_me: BOOST include options: $BOOST_INC_PATH" >&6;}
23766 { echo "$as_me:$LINENO: BOOST library options: $BOOST_LIB_PATH" >&5
23767 echo "$as_me: BOOST library options: $BOOST_LIB_PATH" >&6;}
23770 if test x"$BOOST_ENABLED" = "xyes" ; then
23771 # Only $BOOST_LIB_PATH is given for this check, since no
23772 # headers are included in the autoconf main() test snippet.
23773 as_ac_Lib=`echo "ac_cv_lib_$boost_serialization_name''_main" |
$as_tr_sh`
23774 { echo "$as_me:$LINENO: checking for main in -l$boost_serialization_name" >&5
23775 echo $ECHO_N "checking for main in -l$boost_serialization_name... $ECHO_C" >&6; }
23776 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
23777 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 ac_check_lib_save_LIBS=$LIBS
23780 LIBS="-l$boost_serialization_name $BOOST_LIB_PATH $LIBS"
23781 cat >conftest.$ac_ext <<_ACEOF
23784 cat confdefs.h >>conftest.$ac_ext
23785 cat >>conftest.$ac_ext <<_ACEOF
23786 /* end confdefs.h. */
23797 rm -f conftest.$ac_objext conftest$ac_exeext
23798 if { (ac_try="$ac_link"
23799 case "(($ac_try" in
23800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23801 *) ac_try_echo
=$ac_try;;
23803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23804 (eval "$ac_link") 2>conftest.er1
23806 grep -v '^ *+' conftest.er1
>conftest.err
23808 cat conftest.err
>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); } && {
23811 test -z "$ac_cxx_werror_flag" ||
23812 test ! -s conftest.err
23813 } && test -s conftest
$ac_exeext &&
23814 $as_test_x conftest
$ac_exeext; then
23815 eval "$as_ac_Lib=yes"
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.
$ac_ext >&5
23820 eval "$as_ac_Lib=no"
23823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23824 conftest
$ac_exeext conftest.
$ac_ext
23825 LIBS
=$ac_check_lib_save_LIBS
23827 ac_res
=`eval echo '${'$as_ac_Lib'}'`
23828 { echo "$as_me:$LINENO: result: $ac_res" >&5
23829 echo "${ECHO_T}$ac_res" >&6; }
23830 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
23831 BOOST_LDADD
="-l$boost_serialization_name"
23834 { echo "$as_me:$LINENO: checking for main in -lboost_serialization-mt" >&5
23835 echo $ECHO_N "checking for main in -lboost_serialization-mt... $ECHO_C" >&6; }
23836 if test "${ac_cv_lib_boost_serialization_mt_main+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 ac_check_lib_save_LIBS
=$LIBS
23840 LIBS
="-lboost_serialization-mt $BOOST_LIB_PATH
23842 cat >conftest.
$ac_ext <<_ACEOF
23845 cat confdefs.h
>>conftest.
$ac_ext
23846 cat >>conftest.
$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23858 rm -f conftest.
$ac_objext conftest
$ac_exeext
23859 if { (ac_try
="$ac_link"
23860 case "(($ac_try" in
23861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_link") 2>conftest.er1
23867 grep -v '^ *+' conftest.er1 >conftest.err
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_cxx_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest$ac_exeext &&
23875 $as_test_x conftest$ac_exeext; then
23876 ac_cv_lib_boost_serialization_mt_main=yes
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23881 ac_cv_lib_boost_serialization_mt_main=no
23884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23885 conftest$ac_exeext conftest.$ac_ext
23886 LIBS=$ac_check_lib_save_LIBS
23888 { echo "$as_me:$LINENO: result: $ac_cv_lib_boost_serialization_mt_main" >&5
23889 echo "${ECHO_T}$ac_cv_lib_boost_serialization_mt_main" >&6; }
23890 if test $ac_cv_lib_boost_serialization_mt_main = yes; then
23891 BOOST_LDADD="-lboost_serialization-mt"
23893 { { echo "$as_me:$LINENO: error: boost_serialization not found" >&5
23894 echo "$as_me: error: boost_serialization not found" >&2;}
23895 { (exit 1); exit 1; }; }
23902 if test x"$BOOST_LDADD" != x ; then
23903 { echo "$as_me:$LINENO: BOOST library name: $BOOST_LDADD" >&5
23904 echo "$as_me: BOOST library name: $BOOST_LDADD" >&6;}
23906 { { echo "$as_me:$LINENO: error: boost_serialization library not found" >&5
23907 echo "$as_me: error: boost_serialization library not found" >&2;}
23908 { (exit 1); exit 1; }; }
23915 if test "$BOOST_ENABLED" = "yes"; then
23917 WITH_BOOST_FALSE='#'
23919 WITH_BOOST_TRUE='#'
23925 #PKG_CHECK_MODULES([OPENSSL], [openssl])
23929 { echo "$as_me:$LINENO: checking for FUSE" >&5
23930 echo $ECHO_N "checking for FUSE... $ECHO_C" >&6; }
23932 if test -n "$PKG_CONFIG"; then
23933 if test -n "$FUSE_CFLAGS"; then
23934 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
23936 if test -n "$PKG_CONFIG" && \
23937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.5\"") >&5
23938 ($PKG_CONFIG --exists --print-errors "fuse >= 2.5") 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; then
23942 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.5" 2>/dev
/null
`
23950 if test -n "$PKG_CONFIG"; then
23951 if test -n "$FUSE_LIBS"; then
23952 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
23954 if test -n "$PKG_CONFIG" && \
23955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.5\"") >&5
23956 ($PKG_CONFIG --exists --print-errors "fuse >= 2.5") 2>&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; then
23960 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse >= 2.5" 2>/dev
/null
`
23971 if test $pkg_failed = yes; then
23973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23974 _pkg_short_errors_supported=yes
23976 _pkg_short_errors_supported=no
23978 if test $_pkg_short_errors_supported = yes; then
23979 FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse >= 2.5"`
23981 FUSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse >= 2.5"`
23983 # Put the nasty error message in config.log where it belongs
23984 echo "$FUSE_PKG_ERRORS" >&5
23986 { echo "$as_me:$LINENO: result: no" >&5
23987 echo "${ECHO_T}no" >&6; }
23988 echo "FUSE library not found, skipping fuse module."; FUSE_FOUND=0
23990 elif test $pkg_failed = untried; then
23991 echo "FUSE library not found, skipping fuse module."; FUSE_FOUND=0
23994 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
23995 FUSE_LIBS=$pkg_cv_FUSE_LIBS
23996 { echo "$as_me:$LINENO: result: yes" >&5
23997 echo "${ECHO_T}yes" >&6; }
24003 { echo "$as_me:$LINENO: checking for GLIB2" >&5
24004 echo $ECHO_N "checking for GLIB2... $ECHO_C" >&6; }
24006 if test -n "$PKG_CONFIG"; then
24007 if test -n "$GLIB2_CFLAGS"; then
24008 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
24010 if test -n "$PKG_CONFIG" && \
24011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
24012 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; then
24016 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev
/null
`
24024 if test -n "$PKG_CONFIG"; then
24025 if test -n "$GLIB2_LIBS"; then
24026 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
24028 if test -n "$PKG_CONFIG" && \
24029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
24030 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); }; then
24034 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev
/null
`
24045 if test $pkg_failed = yes; then
24047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24048 _pkg_short_errors_supported=yes
24050 _pkg_short_errors_supported=no
24052 if test $_pkg_short_errors_supported = yes; then
24053 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
24055 GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
24057 # Put the nasty error message in config.log where it belongs
24058 echo "$GLIB2_PKG_ERRORS" >&5
24060 { echo "$as_me:$LINENO: result: no" >&5
24061 echo "${ECHO_T}no" >&6; }
24062 echo "GLIB 2.0 not found, skipping sync library."; GLIB2_FOUND=0
24064 elif test $pkg_failed = untried; then
24065 echo "GLIB 2.0 not found, skipping sync library."; GLIB2_FOUND=0
24068 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
24069 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
24070 { echo "$as_me:$LINENO: result: yes" >&5
24071 echo "${ECHO_T}yes" >&6; }
24075 pkgconfigdir=${libdir}/pkgconfig
24081 if test "$FUSE_FOUND" = "1"; then
24083 WITH_FUSE_FALSE='#'
24089 if test "$GLIB2_FOUND" = "1"; then
24091 WITH_SYNC_FALSE='#'
24098 #AC_CHECK_LIB([IOKit], [main])
24099 #AC_CHECK_LIB([libusb], [libusb_init])
24101 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
24102 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
24103 if test "${ac_cv_lib_pthread_main+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 ac_check_lib_save_LIBS=$LIBS
24107 LIBS="-lpthread $LIBS"
24108 cat >conftest.$ac_ext <<_ACEOF
24111 cat confdefs.h >>conftest.$ac_ext
24112 cat >>conftest.$ac_ext <<_ACEOF
24113 /* end confdefs.h. */
24124 rm -f conftest.$ac_objext conftest$ac_exeext
24125 if { (ac_try="$ac_link"
24126 case "(($ac_try" in
24127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24128 *) ac_try_echo
=$ac_try;;
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_link") 2>conftest.er1
24133 grep -v '^ *+' conftest.er1
>conftest.err
24135 cat conftest.err
>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest
$ac_exeext &&
24141 $as_test_x conftest
$ac_exeext; then
24142 ac_cv_lib_pthread_main
=yes
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.
$ac_ext >&5
24147 ac_cv_lib_pthread_main
=no
24150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24151 conftest
$ac_exeext conftest.
$ac_ext
24152 LIBS
=$ac_check_lib_save_LIBS
24154 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
24155 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
24156 if test $ac_cv_lib_pthread_main = yes; then
24157 cat >>confdefs.h
<<_ACEOF
24158 #define HAVE_LIBPTHREAD 1
24161 LIBS
="-lpthread $LIBS"
24167 # Check whether --with-zlib was given.
24168 if test "${with_zlib+set}" = set; then
24169 withval
=$with_zlib; force_zlib
=$withval
24175 { echo "$as_me:$LINENO: checking for crc32 in -lz" >&5
24176 echo $ECHO_N "checking for crc32 in -lz... $ECHO_C" >&6; }
24177 if test "${ac_cv_lib_z_crc32+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 ac_check_lib_save_LIBS
=$LIBS
24182 cat >conftest.
$ac_ext <<_ACEOF
24185 cat confdefs.h
>>conftest.
$ac_ext
24186 cat >>conftest.
$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24189 /* Override any GCC internal prototype to avoid an error.
24190 Use char because int might match the return type of a GCC
24191 builtin and then its argument prototype would still apply. */
24204 rm -f conftest.
$ac_objext conftest
$ac_exeext
24205 if { (ac_try
="$ac_link"
24206 case "(($ac_try" in
24207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_link") 2>conftest.er1
24213 grep -v '^ *+' conftest.er1 >conftest.err
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_cxx_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest$ac_exeext &&
24221 $as_test_x conftest$ac_exeext; then
24222 ac_cv_lib_z_crc32=yes
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24227 ac_cv_lib_z_crc32=no
24230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24231 conftest$ac_exeext conftest.$ac_ext
24232 LIBS=$ac_check_lib_save_LIBS
24234 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_crc32" >&5
24235 echo "${ECHO_T}$ac_cv_lib_z_crc32" >&6; }
24236 if test $ac_cv_lib_z_crc32 = yes; then
24239 cat >>confdefs.h <<\_ACEOF
24240 #define HAVE_ZLIB 1
24248 echo "*****************************************************************"
24249 echo "WARNING: zlib not found... packed .cod files will fail crc checks"
24250 echo "*****************************************************************"
24253 if test "x$force_zlib" != xno ; then
24254 { { echo "$as_me:$LINENO: error: --with-zlib specified, but zlib not found
24255 See \`config.log
' for more details." >&5
24256 echo "$as_me: error: --with-zlib specified, but zlib not found
24257 See \`config.log' for more details.
" >&2;}
24258 { (exit 1); exit 1; }; }
24267 { echo "$as_me:$LINENO: checking
for LIBXMLXX
" >&5
24268 echo $ECHO_N "checking
for LIBXMLXX...
$ECHO_C" >&6; }
24270 if test -n "$PKG_CONFIG"; then
24271 if test -n "$LIBXMLXX_CFLAGS"; then
24272 pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
24274 if test -n "$PKG_CONFIG" && \
24275 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libxml
++-2.6
\"") >&5
24276 ($PKG_CONFIG --exists --print-errors "libxml
++-2.6
") 2>&5
24278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24279 (exit $ac_status); }; then
24280 pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "libxml
++-2.6
" 2>/dev/null`
24288 if test -n "$PKG_CONFIG"; then
24289 if test -n "$LIBXMLXX_LIBS"; then
24290 pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
24292 if test -n "$PKG_CONFIG" && \
24293 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libxml
++-2.6
\"") >&5
24294 ($PKG_CONFIG --exists --print-errors "libxml
++-2.6
") 2>&5
24296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24297 (exit $ac_status); }; then
24298 pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "libxml
++-2.6
" 2>/dev/null`
24309 if test $pkg_failed = yes; then
24311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24312 _pkg_short_errors_supported=yes
24314 _pkg_short_errors_supported=no
24316 if test $_pkg_short_errors_supported = yes; then
24317 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml
++-2.6
"`
24319 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml
++-2.6
"`
24321 # Put the nasty error message in config.log where it belongs
24322 echo "$LIBXMLXX_PKG_ERRORS" >&5
24324 { echo "$as_me:$LINENO: result
: no
" >&5
24325 echo "${ECHO_T}no
" >&6; }
24327 echo "*****************************************************************"
24328 echo "WARNING
: libxml
++ not found... ALX parser not included
"
24329 echo "*****************************************************************"
24333 elif test $pkg_failed = untried; then
24335 echo "*****************************************************************"
24336 echo "WARNING
: libxml
++ not found... ALX parser not included
"
24337 echo "*****************************************************************"
24342 LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
24343 LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
24344 { echo "$as_me:$LINENO: result
: yes" >&5
24345 echo "${ECHO_T}yes" >&6; }
24349 if test "$LIBXMLXX_FOUND" = "1"; then
24364 am_save_CPPFLAGS="$CPPFLAGS"
24366 for element in $INCICONV; do
24368 for x in $CPPFLAGS; do
24370 acl_save_prefix="$prefix"
24371 prefix="$acl_final_prefix"
24372 acl_save_exec_prefix="$exec_prefix"
24373 exec_prefix="$acl_final_exec_prefix"
24375 exec_prefix="$acl_save_exec_prefix"
24376 prefix="$acl_save_prefix"
24378 if test "X
$x" = "X
$element"; then
24383 if test -z "$haveit"; then
24384 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
24389 { echo "$as_me:$LINENO: checking
for iconv" >&5
24390 echo $ECHO_N "checking
for iconv...
$ECHO_C" >&6; }
24391 if test "${am_cv_func_iconv+set}" = set; then
24392 echo $ECHO_N "(cached
) $ECHO_C" >&6
24395 am_cv_func_iconv="no
, consider installing GNU libiconv
"
24397 cat >conftest.$ac_ext <<_ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403 #include <stdlib.h>
24408 iconv_t cd = iconv_open("","");
24409 iconv(cd,NULL,NULL,NULL,NULL);
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (ac_try="$ac_link"
24417 case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_link") 2>conftest.er1
24424 grep -v '^ *+' conftest.er1 >conftest.err
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_cxx_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest$ac_exeext &&
24432 $as_test_x conftest$ac_exeext; then
24433 am_cv_func_iconv=yes
24435 echo "$as_me: failed program was
:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24442 conftest$ac_exeext conftest.$ac_ext
24443 if test "$am_cv_func_iconv" != yes; then
24444 am_save_LIBS="$LIBS"
24445 LIBS="$LIBS $LIBICONV"
24446 cat >conftest.$ac_ext <<_ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 #include <stdlib.h>
24457 iconv_t cd = iconv_open("","");
24458 iconv(cd,NULL,NULL,NULL,NULL);
24464 rm -f conftest.$ac_objext conftest$ac_exeext
24465 if { (ac_try="$ac_link"
24466 case "(($ac_try" in
24467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24468 *) ac_try_echo=$ac_try;;
24470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24471 (eval "$ac_link") 2>conftest.er1
24473 grep -v '^ *+' conftest.er1 >conftest.err
24475 cat conftest.err >&5
24476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24477 (exit $ac_status); } && {
24478 test -z "$ac_cxx_werror_flag" ||
24479 test ! -s conftest.err
24480 } && test -s conftest$ac_exeext &&
24481 $as_test_x conftest$ac_exeext; then
24482 am_cv_lib_iconv=yes
24483 am_cv_func_iconv=yes
24485 echo "$as_me: failed program was
:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24492 conftest$ac_exeext conftest.$ac_ext
24493 LIBS="$am_save_LIBS"
24497 { echo "$as_me:$LINENO: result
: $am_cv_func_iconv" >&5
24498 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
24499 if test "$am_cv_func_iconv" = yes; then
24500 { echo "$as_me:$LINENO: checking
for working
iconv" >&5
24501 echo $ECHO_N "checking
for working
iconv...
$ECHO_C" >&6; }
24502 if test "${am_cv_func_iconv_works+set}" = set; then
24503 echo $ECHO_N "(cached
) $ECHO_C" >&6
24506 am_save_LIBS="$LIBS"
24507 if test $am_cv_lib_iconv = yes; then
24508 LIBS="$LIBS $LIBICONV"
24510 if test "$cross_compiling" = yes; then
24512 aix* | hpux*) am_cv_func_iconv_works="guessing no
" ;;
24513 *) am_cv_func_iconv_works="guessing
yes" ;;
24516 cat >conftest.$ac_ext <<_ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24524 #include <string.h>
24527 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
24530 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1
", "UTF-8
");
24531 if (cd_utf8_to_88591 != (iconv_t)(-1))
24533 static const char input[] = "\342\202\254"; /* EURO SIGN */
24535 const char *inptr = input;
24536 size_t inbytesleft = strlen (input);
24537 char *outptr = buf;
24538 size_t outbytesleft = sizeof (buf);
24539 size_t res = iconv (cd_utf8_to_88591,
24540 (char **) &inptr, &inbytesleft,
24541 &outptr, &outbytesleft);
24546 #if 0 /* This bug could be worked around by the caller. */
24547 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
24549 iconv_t cd_88591_to_utf8 = iconv_open ("utf8
", "iso88591
");
24550 if (cd_88591_to_utf8 != (iconv_t)(-1))
24552 static const char input[] = "\304rger mit b
\366sen B
\374bchen ohne Augenma
\337";
24554 const char *inptr = input;
24555 size_t inbytesleft = strlen (input);
24556 char *outptr = buf;
24557 size_t outbytesleft = sizeof (buf);
24558 size_t res = iconv (cd_88591_to_utf8,
24559 (char **) &inptr, &inbytesleft,
24560 &outptr, &outbytesleft);
24566 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
24568 if (/* Try standardized names. */
24569 iconv_open ("UTF-8
", "EUC-JP
") == (iconv_t)(-1)
24570 /* Try IRIX, OSF/1 names. */
24571 && iconv_open ("UTF-8
", "eucJP
") == (iconv_t)(-1)
24572 /* Try AIX names. */
24573 && iconv_open ("UTF-8
", "IBM-eucJP
") == (iconv_t)(-1)
24574 /* Try HP-UX names. */
24575 && iconv_open ("utf8
", "eucJP
") == (iconv_t)(-1))
24580 rm -f conftest$ac_exeext
24581 if { (ac_try="$ac_link"
24582 case "(($ac_try" in
24583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24584 *) ac_try_echo=$ac_try;;
24586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24587 (eval "$ac_link") 2>&5
24589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24591 { (case "(($ac_try" in
24592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24593 *) ac_try_echo=$ac_try;;
24595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24596 (eval "$ac_try") 2>&5
24598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24599 (exit $ac_status); }; }; then
24600 am_cv_func_iconv_works=yes
24602 echo "$as_me: program exited with status
$ac_status" >&5
24603 echo "$as_me: failed program was
:" >&5
24604 sed 's/^/| /' conftest.$ac_ext >&5
24606 ( exit $ac_status )
24607 am_cv_func_iconv_works=no
24609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24613 LIBS="$am_save_LIBS"
24616 { echo "$as_me:$LINENO: result
: $am_cv_func_iconv_works" >&5
24617 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
24618 case "$am_cv_func_iconv_works" in
24619 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
24620 *) am_func_iconv=yes ;;
24623 am_func_iconv=no am_cv_lib_iconv=no
24625 if test "$am_func_iconv" = yes; then
24627 cat >>confdefs.h <<\_ACEOF
24628 #define HAVE_ICONV 1
24632 if test "$am_cv_lib_iconv" = yes; then
24633 { echo "$as_me:$LINENO: checking how to link with libiconv
" >&5
24634 echo $ECHO_N "checking how to link with libiconv...
$ECHO_C" >&6; }
24635 { echo "$as_me:$LINENO: result
: $LIBICONV" >&5
24636 echo "${ECHO_T}$LIBICONV" >&6; }
24638 CPPFLAGS="$am_save_CPPFLAGS"
24645 if test "$am_cv_func_iconv" = yes; then
24646 { echo "$as_me:$LINENO: checking
for iconv declaration
" >&5
24647 echo $ECHO_N "checking
for iconv declaration...
$ECHO_C" >&6; }
24648 if test "${am_cv_proto_iconv+set}" = set; then
24649 echo $ECHO_N "(cached
) $ECHO_C" >&6
24652 cat >conftest.$ac_ext <<_ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24659 #include <stdlib.h>
24665 #if defined(__STDC__) || defined(__cplusplus)
24666 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24688 grep -v '^ *+' conftest.er1 >conftest.err
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 am_cv_proto_iconv_arg1=""
24698 echo "$as_me: failed program was
:" >&5
24699 sed 's/^/| /' conftest.$ac_ext >&5
24701 am_cv_proto_iconv_arg1="const
"
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705 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
);"
24708 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24709 { echo "$as_me:$LINENO: result
: $
{ac_t
:-
24710 }$am_cv_proto_iconv" >&5
24711 echo "${ECHO_T}$
{ac_t
:-
24712 }$am_cv_proto_iconv" >&6; }
24714 cat >>confdefs.h <<_ACEOF
24715 #define ICONV_CONST $am_cv_proto_iconv_arg1
24723 # Checks for header files.
24730 ac_header_dirent=no
24731 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
24732 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
24733 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
24734 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
24735 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24736 echo $ECHO_N "(cached
) $ECHO_C" >&6
24738 cat >conftest.$ac_ext <<_ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744 #include <sys/types.h>
24756 rm -f conftest.$ac_objext
24757 if { (ac_try="$ac_compile"
24758 case "(($ac_try" in
24759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24760 *) ac_try_echo=$ac_try;;
24762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24763 (eval "$ac_compile") 2>conftest.er1
24765 grep -v '^ *+' conftest.er1 >conftest.err
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24769 (exit $ac_status); } && {
24770 test -z "$ac_cxx_werror_flag" ||
24771 test ! -s conftest.err
24772 } && test -s conftest.$ac_objext; then
24773 eval "$as_ac_Header=yes"
24775 echo "$as_me: failed program was
:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24778 eval "$as_ac_Header=no
"
24781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 ac_res=`eval echo '${'$as_ac_Header'}'`
24784 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24785 echo "${ECHO_T}$ac_res" >&6; }
24786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24787 cat >>confdefs.h <<_ACEOF
24788 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
24791 ac_header_dirent=$ac_hdr; break
24795 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24796 if test $ac_header_dirent = dirent.h; then
24797 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
24798 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
24799 if test "${ac_cv_search_opendir+set}" = set; then
24800 echo $ECHO_N "(cached
) $ECHO_C" >&6
24802 ac_func_search_save_LIBS=$LIBS
24803 cat >conftest.$ac_ext <<_ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24810 /* Override any GCC internal prototype to avoid an error.
24811 Use char because int might match the return type of a GCC
24812 builtin and then its argument prototype would still apply. */
24825 for ac_lib in '' dir; do
24826 if test -z "$ac_lib"; then
24827 ac_res="none required
"
24830 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24832 rm -f conftest.$ac_objext conftest$ac_exeext
24833 if { (ac_try="$ac_link"
24834 case "(($ac_try" in
24835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24836 *) ac_try_echo=$ac_try;;
24838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24839 (eval "$ac_link") 2>conftest.er1
24841 grep -v '^ *+' conftest.er1 >conftest.err
24843 cat conftest.err >&5
24844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24845 (exit $ac_status); } && {
24846 test -z "$ac_cxx_werror_flag" ||
24847 test ! -s conftest.err
24848 } && test -s conftest$ac_exeext &&
24849 $as_test_x conftest$ac_exeext; then
24850 ac_cv_search_opendir=$ac_res
24852 echo "$as_me: failed program was
:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24860 if test "${ac_cv_search_opendir+set}" = set; then
24864 if test "${ac_cv_search_opendir+set}" = set; then
24867 ac_cv_search_opendir=no
24869 rm conftest.$ac_ext
24870 LIBS=$ac_func_search_save_LIBS
24872 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
24873 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
24874 ac_res=$ac_cv_search_opendir
24875 if test "$ac_res" != no; then
24876 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
24881 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
24882 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
24883 if test "${ac_cv_search_opendir+set}" = set; then
24884 echo $ECHO_N "(cached
) $ECHO_C" >&6
24886 ac_func_search_save_LIBS=$LIBS
24887 cat >conftest.$ac_ext <<_ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24894 /* Override any GCC internal prototype to avoid an error.
24895 Use char because int might match the return type of a GCC
24896 builtin and then its argument prototype would still apply. */
24909 for ac_lib in '' x; do
24910 if test -z "$ac_lib"; then
24911 ac_res="none required
"
24914 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24916 rm -f conftest.$ac_objext conftest$ac_exeext
24917 if { (ac_try="$ac_link"
24918 case "(($ac_try" in
24919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24920 *) ac_try_echo=$ac_try;;
24922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24923 (eval "$ac_link") 2>conftest.er1
24925 grep -v '^ *+' conftest.er1 >conftest.err
24927 cat conftest.err >&5
24928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24929 (exit $ac_status); } && {
24930 test -z "$ac_cxx_werror_flag" ||
24931 test ! -s conftest.err
24932 } && test -s conftest$ac_exeext &&
24933 $as_test_x conftest$ac_exeext; then
24934 ac_cv_search_opendir=$ac_res
24936 echo "$as_me: failed program was
:" >&5
24937 sed 's/^/| /' conftest.$ac_ext >&5
24942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24944 if test "${ac_cv_search_opendir+set}" = set; then
24948 if test "${ac_cv_search_opendir+set}" = set; then
24951 ac_cv_search_opendir=no
24953 rm conftest.$ac_ext
24954 LIBS=$ac_func_search_save_LIBS
24956 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
24957 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
24958 ac_res=$ac_cv_search_opendir
24959 if test "$ac_res" != no; then
24960 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
24967 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
24968 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
24969 if test "${ac_cv_header_stdc+set}" = set; then
24970 echo $ECHO_N "(cached
) $ECHO_C" >&6
24972 cat >conftest.$ac_ext <<_ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978 #include <stdlib.h>
24979 #include <stdarg.h>
24980 #include <string.h>
24991 rm -f conftest.$ac_objext
24992 if { (ac_try="$ac_compile"
24993 case "(($ac_try" in
24994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24995 *) ac_try_echo=$ac_try;;
24997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24998 (eval "$ac_compile") 2>conftest.er1
25000 grep -v '^ *+' conftest.er1 >conftest.err
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25004 (exit $ac_status); } && {
25005 test -z "$ac_cxx_werror_flag" ||
25006 test ! -s conftest.err
25007 } && test -s conftest.$ac_objext; then
25008 ac_cv_header_stdc=yes
25010 echo "$as_me: failed program was
:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25013 ac_cv_header_stdc=no
25016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25018 if test $ac_cv_header_stdc = yes; then
25019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
25020 cat >conftest.$ac_ext <<_ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25026 #include <string.h>
25029 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
25030 $EGREP "memchr
" >/dev/null 2>&1; then
25033 ac_cv_header_stdc=no
25039 if test $ac_cv_header_stdc = yes; then
25040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
25041 cat >conftest.$ac_ext <<_ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047 #include <stdlib.h>
25050 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
25051 $EGREP "free
" >/dev/null 2>&1; then
25054 ac_cv_header_stdc=no
25060 if test $ac_cv_header_stdc = yes; then
25061 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
25062 if test "$cross_compiling" = yes; then
25065 cat >conftest.$ac_ext <<_ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25072 #include <stdlib.h>
25073 #if ((' ' & 0x0FF) == 0x020)
25074 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
25075 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
25077 # define ISLOWER(c) \
25078 (('a' <= (c) && (c) <= 'i') \
25079 || ('j' <= (c) && (c) <= 'r') \
25080 || ('s' <= (c) && (c) <= 'z'))
25081 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
25084 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
25089 for (i = 0; i < 256; i++)
25090 if (XOR (islower (i), ISLOWER (i))
25091 || toupper (i) != TOUPPER (i))
25096 rm -f conftest$ac_exeext
25097 if { (ac_try="$ac_link"
25098 case "(($ac_try" in
25099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100 *) ac_try_echo=$ac_try;;
25102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25103 (eval "$ac_link") 2>&5
25105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25107 { (case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_try") 2>&5
25114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25115 (exit $ac_status); }; }; then
25118 echo "$as_me: program exited with status
$ac_status" >&5
25119 echo "$as_me: failed program was
:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25122 ( exit $ac_status )
25123 ac_cv_header_stdc=no
25125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25131 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
25132 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
25133 if test $ac_cv_header_stdc = yes; then
25135 cat >>confdefs.h <<\_ACEOF
25136 #define STDC_HEADERS 1
25144 for ac_header in assert.h stdint.h time.h
25146 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25147 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25148 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25149 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25150 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25151 echo $ECHO_N "(cached
) $ECHO_C" >&6
25153 ac_res=`eval echo '${'$as_ac_Header'}'`
25154 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25155 echo "${ECHO_T}$ac_res" >&6; }
25157 # Is the header compilable?
25158 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
25159 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
25160 cat >conftest.$ac_ext <<_ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 $ac_includes_default
25167 #include <$ac_header>
25169 rm -f conftest.$ac_objext
25170 if { (ac_try="$ac_compile"
25171 case "(($ac_try" in
25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25173 *) ac_try_echo=$ac_try;;
25175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25176 (eval "$ac_compile") 2>conftest.er1
25178 grep -v '^ *+' conftest.er1 >conftest.err
25180 cat conftest.err >&5
25181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25182 (exit $ac_status); } && {
25183 test -z "$ac_cxx_werror_flag" ||
25184 test ! -s conftest.err
25185 } && test -s conftest.$ac_objext; then
25186 ac_header_compiler=yes
25188 echo "$as_me: failed program was
:" >&5
25189 sed 's/^/| /' conftest.$ac_ext >&5
25191 ac_header_compiler=no
25194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25195 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25196 echo "${ECHO_T}$ac_header_compiler" >&6; }
25198 # Is the header present?
25199 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25200 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25201 cat >conftest.$ac_ext <<_ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 #include <$ac_header>
25209 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25210 case "(($ac_try" in
25211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25212 *) ac_try_echo=$ac_try;;
25214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25215 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25217 grep -v '^ *+' conftest.er1 >conftest.err
25219 cat conftest.err >&5
25220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25221 (exit $ac_status); } >/dev/null && {
25222 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25223 test ! -s conftest.err
25225 ac_header_preproc=yes
25227 echo "$as_me: failed program was
:" >&5
25228 sed 's/^/| /' conftest.$ac_ext >&5
25230 ac_header_preproc=no
25233 rm -f conftest.err conftest.$ac_ext
25234 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25235 echo "${ECHO_T}$ac_header_preproc" >&6; }
25237 # So? What about this header?
25238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25240 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25241 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25242 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25244 ac_header_preproc=yes
25247 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25248 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25249 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25250 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25251 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25252 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25253 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25254 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25255 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25257 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25258 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25260 ## ------------------------------------------------ ##
25261 ## Report this to barry-devel@lists.sourceforge.net ##
25262 ## ------------------------------------------------ ##
25264 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25267 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25268 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25269 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25270 echo $ECHO_N "(cached
) $ECHO_C" >&6
25272 eval "$as_ac_Header=\
$ac_header_preproc"
25274 ac_res=`eval echo '${'$as_ac_Header'}'`
25275 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25276 echo "${ECHO_T}$ac_res" >&6; }
25279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25280 cat >>confdefs.h <<_ACEOF
25281 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25290 # Checks for typedefs, structures, and compiler characteristics.
25293 { echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
25294 echo $ECHO_N "checking whether
time.h and sys
/time.h may both be included...
$ECHO_C" >&6; }
25295 if test "${ac_cv_header_time+set}" = set; then
25296 echo $ECHO_N "(cached
) $ECHO_C" >&6
25298 cat >conftest.$ac_ext <<_ACEOF
25301 cat confdefs.h >>conftest.$ac_ext
25302 cat >>conftest.$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25304 #include <sys/types.h>
25305 #include <sys/time.h>
25311 if ((struct tm *) 0)
25317 rm -f conftest.$ac_objext
25318 if { (ac_try="$ac_compile"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_compile") 2>conftest.er1
25326 grep -v '^ *+' conftest.er1 >conftest.err
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_cxx_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest.$ac_objext; then
25334 ac_cv_header_time=yes
25336 echo "$as_me: failed program was
:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25339 ac_cv_header_time=no
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25344 { echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
25345 echo "${ECHO_T}$ac_cv_header_time" >&6; }
25346 if test $ac_cv_header_time = yes; then
25348 cat >>confdefs.h <<\_ACEOF
25349 #define TIME_WITH_SYS_TIME 1
25354 { echo "$as_me:$LINENO: checking whether struct tm is
in sys
/time.h or
time.h
" >&5
25355 echo $ECHO_N "checking whether struct tm is
in sys
/time.h or
time.h...
$ECHO_C" >&6; }
25356 if test "${ac_cv_struct_tm+set}" = set; then
25357 echo $ECHO_N "(cached
) $ECHO_C" >&6
25359 cat >conftest.$ac_ext <<_ACEOF
25362 cat confdefs.h >>conftest.$ac_ext
25363 cat >>conftest.$ac_ext <<_ACEOF
25364 /* end confdefs.h. */
25365 #include <sys/types.h>
25372 int *p = &tm.tm_sec;
25378 rm -f conftest.$ac_objext
25379 if { (ac_try="$ac_compile"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_compile") 2>conftest.er1
25387 grep -v '^ *+' conftest.er1 >conftest.err
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_cxx_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest.$ac_objext; then
25395 ac_cv_struct_tm=time.h
25397 echo "$as_me: failed program was
:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25400 ac_cv_struct_tm=sys/time.h
25403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 { echo "$as_me:$LINENO: result
: $ac_cv_struct_tm" >&5
25406 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
25407 if test $ac_cv_struct_tm = sys/time.h; then
25409 cat >>confdefs.h <<\_ACEOF
25410 #define TM_IN_SYS_TIME 1
25417 # Checks for library functions.
25420 # checks that are buggy and need a C compiler only
25422 ac_cpp='$CPP $CPPFLAGS'
25423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25427 # AC_FUNC_STRNLEN changes linker options for us, and depends on a src/strnlen.c
25428 { echo "$as_me:$LINENO: checking
for working strnlen
" >&5
25429 echo $ECHO_N "checking
for working strnlen...
$ECHO_C" >&6; }
25430 if test "${ac_cv_func_strnlen_working+set}" = set; then
25431 echo $ECHO_N "(cached
) $ECHO_C" >&6
25433 if test "$cross_compiling" = yes; then
25434 ac_cv_func_strnlen_working=no
25436 cat >conftest.$ac_ext <<_ACEOF
25439 cat confdefs.h >>conftest.$ac_ext
25440 cat >>conftest.$ac_ext <<_ACEOF
25441 /* end confdefs.h. */
25442 $ac_includes_default
25448 #define S_LEN (sizeof S - 1)
25450 /* At least one implementation is buggy: that of AIX 4.3 would
25451 give strnlen (S, 1) == 3. */
25454 for (i = 0; i < S_LEN + 1; ++i)
25456 int expected = i <= S_LEN ? i : S_LEN;
25457 if (strnlen (S, i) != expected)
25466 rm -f conftest$ac_exeext
25467 if { (ac_try="$ac_link"
25468 case "(($ac_try" in
25469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25470 *) ac_try_echo=$ac_try;;
25472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25473 (eval "$ac_link") 2>&5
25475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25477 { (case "(($ac_try" in
25478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25479 *) ac_try_echo=$ac_try;;
25481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25482 (eval "$ac_try") 2>&5
25484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25485 (exit $ac_status); }; }; then
25486 ac_cv_func_strnlen_working=yes
25488 echo "$as_me: program exited with status
$ac_status" >&5
25489 echo "$as_me: failed program was
:" >&5
25490 sed 's/^/| /' conftest.$ac_ext >&5
25492 ( exit $ac_status )
25493 ac_cv_func_strnlen_working=no
25495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25500 { echo "$as_me:$LINENO: result
: $ac_cv_func_strnlen_working" >&5
25501 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
25502 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
25503 *" strnlen.
$ac_objext "* ) ;;
25504 *) LIBOBJS="$LIBOBJS strnlen.
$ac_objext"
25509 if test $ac_cv_func_strnlen_working = yes ; then
25511 cat >>confdefs.h <<\_ACEOF
25512 #define HAVE_WORKING_STRNLEN 1
25516 if test $ac_cv_func_strnlen_working = no ; then
25518 cat >>confdefs.h <<\_ACEOF
25519 #define HAVE_WORKING_STRNLEN 0
25524 # checks that work with C++
25526 ac_cpp='$CXXCPP $CPPFLAGS'
25527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25531 { echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
25532 echo $ECHO_N "checking whether closedir returns void...
$ECHO_C" >&6; }
25533 if test "${ac_cv_func_closedir_void+set}" = set; then
25534 echo $ECHO_N "(cached
) $ECHO_C" >&6
25536 if test "$cross_compiling" = yes; then
25537 ac_cv_func_closedir_void=yes
25539 cat >conftest.$ac_ext <<_ACEOF
25542 cat confdefs.h >>conftest.$ac_ext
25543 cat >>conftest.$ac_ext <<_ACEOF
25544 /* end confdefs.h. */
25545 $ac_includes_default
25546 #include <$ac_header_dirent>
25547 #ifndef __cplusplus
25554 return closedir (opendir (".
")) != 0;
25559 rm -f conftest$ac_exeext
25560 if { (ac_try="$ac_link"
25561 case "(($ac_try" in
25562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25563 *) ac_try_echo=$ac_try;;
25565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25566 (eval "$ac_link") 2>&5
25568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25570 { (case "(($ac_try" in
25571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25572 *) ac_try_echo=$ac_try;;
25574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25575 (eval "$ac_try") 2>&5
25577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25578 (exit $ac_status); }; }; then
25579 ac_cv_func_closedir_void=no
25581 echo "$as_me: program exited with status
$ac_status" >&5
25582 echo "$as_me: failed program was
:" >&5
25583 sed 's/^/| /' conftest.$ac_ext >&5
25585 ( exit $ac_status )
25586 ac_cv_func_closedir_void=yes
25588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25593 { echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
25594 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
25595 if test $ac_cv_func_closedir_void = yes; then
25597 cat >>confdefs.h <<\_ACEOF
25598 #define CLOSEDIR_VOID 1
25603 if test $ac_cv_c_compiler_gnu = yes; then
25604 { echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
25605 echo $ECHO_N "checking whether
$CC needs
-traditional...
$ECHO_C" >&6; }
25606 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
25607 echo $ECHO_N "(cached
) $ECHO_C" >&6
25609 ac_pattern="Autoconf.
*'x'"
25610 cat >conftest.$ac_ext <<_ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25619 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
25620 $EGREP "$ac_pattern" >/dev/null 2>&1; then
25621 ac_cv_prog_gcc_traditional=yes
25623 ac_cv_prog_gcc_traditional=no
25628 if test $ac_cv_prog_gcc_traditional = no; then
25629 cat >conftest.$ac_ext <<_ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 #include <termio.h>
25638 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
25639 $EGREP "$ac_pattern" >/dev/null 2>&1; then
25640 ac_cv_prog_gcc_traditional=yes
25646 { echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
25647 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
25648 if test $ac_cv_prog_gcc_traditional = yes; then
25649 CC="$CC -traditional"
25658 for ac_header in sys/select.h sys/socket.h
25660 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25661 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25662 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25663 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25664 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25665 echo $ECHO_N "(cached
) $ECHO_C" >&6
25667 ac_res=`eval echo '${'$as_ac_Header'}'`
25668 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25669 echo "${ECHO_T}$ac_res" >&6; }
25671 # Is the header compilable?
25672 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
25673 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
25674 cat >conftest.$ac_ext <<_ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 $ac_includes_default
25681 #include <$ac_header>
25683 rm -f conftest.$ac_objext
25684 if { (ac_try="$ac_compile"
25685 case "(($ac_try" in
25686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25687 *) ac_try_echo=$ac_try;;
25689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25690 (eval "$ac_compile") 2>conftest.er1
25692 grep -v '^ *+' conftest.er1 >conftest.err
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25696 (exit $ac_status); } && {
25697 test -z "$ac_cxx_werror_flag" ||
25698 test ! -s conftest.err
25699 } && test -s conftest.$ac_objext; then
25700 ac_header_compiler=yes
25702 echo "$as_me: failed program was
:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25705 ac_header_compiler=no
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25710 echo "${ECHO_T}$ac_header_compiler" >&6; }
25712 # Is the header present?
25713 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25714 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25715 cat >conftest.$ac_ext <<_ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 #include <$ac_header>
25723 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25724 case "(($ac_try" in
25725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25726 *) ac_try_echo=$ac_try;;
25728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25729 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25731 grep -v '^ *+' conftest.er1 >conftest.err
25733 cat conftest.err >&5
25734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25735 (exit $ac_status); } >/dev/null && {
25736 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25737 test ! -s conftest.err
25739 ac_header_preproc=yes
25741 echo "$as_me: failed program was
:" >&5
25742 sed 's/^/| /' conftest.$ac_ext >&5
25744 ac_header_preproc=no
25747 rm -f conftest.err conftest.$ac_ext
25748 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25749 echo "${ECHO_T}$ac_header_preproc" >&6; }
25751 # So? What about this header?
25752 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25754 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25755 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25756 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25758 ac_header_preproc=yes
25761 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25762 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25763 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25764 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25765 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25766 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25767 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25768 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25769 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25771 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25772 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25774 ## ------------------------------------------------ ##
25775 ## Report this to barry-devel@lists.sourceforge.net ##
25776 ## ------------------------------------------------ ##
25778 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25781 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25782 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25783 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached
) $ECHO_C" >&6
25786 eval "$as_ac_Header=\
$ac_header_preproc"
25788 ac_res=`eval echo '${'$as_ac_Header'}'`
25789 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25790 echo "${ECHO_T}$ac_res" >&6; }
25793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25794 cat >>confdefs.h <<_ACEOF
25795 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25802 { echo "$as_me:$LINENO: checking types of arguments
for select" >&5
25803 echo $ECHO_N "checking types of arguments
for select...
$ECHO_C" >&6; }
25804 if test "${ac_cv_func_select_args+set}" = set; then
25805 echo $ECHO_N "(cached
) $ECHO_C" >&6
25807 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
25808 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
25809 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
25810 cat >conftest.$ac_ext <<_ACEOF
25813 cat confdefs.h >>conftest.$ac_ext
25814 cat >>conftest.$ac_ext <<_ACEOF
25815 /* end confdefs.h. */
25816 $ac_includes_default
25817 #ifdef HAVE_SYS_SELECT_H
25818 # include <sys/select.h>
25820 #ifdef HAVE_SYS_SOCKET_H
25821 # include <sys/socket.h>
25827 extern int select ($ac_arg1,
25828 $ac_arg234, $ac_arg234, $ac_arg234,
25834 rm -f conftest.$ac_objext
25835 if { (ac_try="$ac_compile"
25836 case "(($ac_try" in
25837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25838 *) ac_try_echo=$ac_try;;
25840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25841 (eval "$ac_compile") 2>conftest.er1
25843 grep -v '^ *+' conftest.er1 >conftest.err
25845 cat conftest.err >&5
25846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25847 (exit $ac_status); } && {
25848 test -z "$ac_cxx_werror_flag" ||
25849 test ! -s conftest.err
25850 } && test -s conftest.$ac_objext; then
25851 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
25853 echo "$as_me: failed program was
:" >&5
25854 sed 's/^/| /' conftest.$ac_ext >&5
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25863 # Provide a safe default value.
25864 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
25867 { echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
25868 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
25869 ac_save_IFS=$IFS; IFS=','
25870 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
25874 cat >>confdefs.h <<_ACEOF
25875 #define SELECT_TYPE_ARG1 $1
25879 cat >>confdefs.h <<_ACEOF
25880 #define SELECT_TYPE_ARG234 ($2)
25884 cat >>confdefs.h <<_ACEOF
25885 #define SELECT_TYPE_ARG5 ($3)
25901 for ac_func in bzero gettimeofday memset select strcasecmp strchr strerror strtol strtoul
25903 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
25904 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
25905 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
25906 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
25907 echo $ECHO_N "(cached
) $ECHO_C" >&6
25909 cat >conftest.$ac_ext <<_ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25917 #define $ac_func innocuous_$ac_func
25919 /* System header to define __stub macros and hopefully few prototypes,
25920 which can conflict with char $ac_func (); below.
25921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25922 <limits.h> exists even on freestanding compilers. */
25925 # include <limits.h>
25927 # include <assert.h>
25932 /* Override any GCC internal prototype to avoid an error.
25933 Use char because int might match the return type of a GCC
25934 builtin and then its argument prototype would still apply. */
25939 /* The GNU C library defines this for functions which it implements
25940 to always fail with ENOSYS. Some functions are actually named
25941 something starting with __ and the normal name is an alias. */
25942 #if defined __stub_$ac_func || defined __stub___$ac_func
25949 return $ac_func ();
25954 rm -f conftest.$ac_objext conftest$ac_exeext
25955 if { (ac_try="$ac_link"
25956 case "(($ac_try" in
25957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25958 *) ac_try_echo=$ac_try;;
25960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25961 (eval "$ac_link") 2>conftest.er1
25963 grep -v '^ *+' conftest.er1 >conftest.err
25965 cat conftest.err >&5
25966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25967 (exit $ac_status); } && {
25968 test -z "$ac_cxx_werror_flag" ||
25969 test ! -s conftest.err
25970 } && test -s conftest$ac_exeext &&
25971 $as_test_x conftest$ac_exeext; then
25972 eval "$as_ac_var=yes"
25974 echo "$as_me: failed program was
:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25977 eval "$as_ac_var=no
"
25980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25981 conftest$ac_exeext conftest.$ac_ext
25983 ac_res=`eval echo '${'$as_ac_var'}'`
25984 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987 cat >>confdefs.h <<_ACEOF
25988 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
25994 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian
" >&5
25995 echo $ECHO_N "checking whether byte ordering is bigendian...
$ECHO_C" >&6; }
25996 if test "${ac_cv_c_bigendian+set}" = set; then
25997 echo $ECHO_N "(cached
) $ECHO_C" >&6
25999 # See if sys/param.h defines the BYTE_ORDER macro.
26000 cat >conftest.$ac_ext <<_ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <sys/types.h>
26007 #include <sys/param.h>
26012 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
26013 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
26014 bogus endian macros
26021 rm -f conftest.$ac_objext
26022 if { (ac_try="$ac_compile"
26023 case "(($ac_try" in
26024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26025 *) ac_try_echo=$ac_try;;
26027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26028 (eval "$ac_compile") 2>conftest.er1
26030 grep -v '^ *+' conftest.er1 >conftest.err
26032 cat conftest.err >&5
26033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26034 (exit $ac_status); } && {
26035 test -z "$ac_cxx_werror_flag" ||
26036 test ! -s conftest.err
26037 } && test -s conftest.$ac_objext; then
26038 # It does; now see whether it defined to BIG_ENDIAN or not.
26039 cat >conftest.$ac_ext <<_ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045 #include <sys/types.h>
26046 #include <sys/param.h>
26051 #if BYTE_ORDER != BIG_ENDIAN
26059 rm -f conftest.$ac_objext
26060 if { (ac_try="$ac_compile"
26061 case "(($ac_try" in
26062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26063 *) ac_try_echo=$ac_try;;
26065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26066 (eval "$ac_compile") 2>conftest.er1
26068 grep -v '^ *+' conftest.er1 >conftest.err
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26072 (exit $ac_status); } && {
26073 test -z "$ac_cxx_werror_flag" ||
26074 test ! -s conftest.err
26075 } && test -s conftest.$ac_objext; then
26076 ac_cv_c_bigendian=yes
26078 echo "$as_me: failed program was
:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26081 ac_cv_c_bigendian=no
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26086 echo "$as_me: failed program was
:" >&5
26087 sed 's/^/| /' conftest.$ac_ext >&5
26089 # It does not; compile a test program.
26090 if test "$cross_compiling" = yes; then
26091 # try to guess the endianness by grepping values into an object file
26092 ac_cv_c_bigendian=unknown
26093 cat >conftest.$ac_ext <<_ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26100 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26101 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26102 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26103 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26104 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26108 _ascii (); _ebcdic ();
26113 rm -f conftest.$ac_objext
26114 if { (ac_try="$ac_compile"
26115 case "(($ac_try" in
26116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26117 *) ac_try_echo=$ac_try;;
26119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26120 (eval "$ac_compile") 2>conftest.er1
26122 grep -v '^ *+' conftest.er1 >conftest.err
26124 cat conftest.err >&5
26125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26126 (exit $ac_status); } && {
26127 test -z "$ac_cxx_werror_flag" ||
26128 test ! -s conftest.err
26129 } && test -s conftest.$ac_objext; then
26130 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
26131 ac_cv_c_bigendian=yes
26133 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
26134 if test "$ac_cv_c_bigendian" = unknown; then
26135 ac_cv_c_bigendian=no
26137 # finding both strings is unlikely to happen, but who knows?
26138 ac_cv_c_bigendian=unknown
26142 echo "$as_me: failed program was
:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26150 cat >conftest.$ac_ext <<_ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26156 $ac_includes_default
26161 /* Are we little or big endian? From Harbison&Steele. */
26165 char c[sizeof (long int)];
26168 return u.c[sizeof (long int) - 1] == 1;
26174 rm -f conftest$ac_exeext
26175 if { (ac_try="$ac_link"
26176 case "(($ac_try" in
26177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26178 *) ac_try_echo=$ac_try;;
26180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26181 (eval "$ac_link") 2>&5
26183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26185 { (case "(($ac_try" in
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26187 *) ac_try_echo=$ac_try;;
26189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26190 (eval "$ac_try") 2>&5
26192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26193 (exit $ac_status); }; }; then
26194 ac_cv_c_bigendian=no
26196 echo "$as_me: program exited with status
$ac_status" >&5
26197 echo "$as_me: failed program was
:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26200 ( exit $ac_status )
26201 ac_cv_c_bigendian=yes
26203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26211 { echo "$as_me:$LINENO: result
: $ac_cv_c_bigendian" >&5
26212 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26213 case $ac_cv_c_bigendian in
26216 cat >>confdefs.h <<\_ACEOF
26217 #define WORDS_BIGENDIAN 1
26223 { { echo "$as_me:$LINENO: error
: unknown endianness
26224 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&5
26225 echo "$as_me: error
: unknown endianness
26226 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&2;}
26227 { (exit 1); exit 1; }; } ;;
26231 ac_config_files="$ac_config_files Makefile po
/Makefile.
in src
/Makefile tools
/Makefile examples
/Makefile man
/Makefile libbarry-0.pc libbarrydp-0.pc libbarryjdwp-0.pc libbarrysync-0.pc libbarrybackup-0.pc libbarryalx-0.pc
"
26237 # Check whether --enable-gui was given.
26238 if test "${enable_gui+set}" = set; then
26239 enableval=$enable_gui;
26242 # Check whether --enable-opensync-plugin was given.
26243 if test "${enable_opensync_plugin+set}" = set; then
26244 enableval=$enable_opensync_plugin;
26247 # Check whether --enable-opensync-plugin-4x was given.
26248 if test "${enable_opensync_plugin_4x+set}" = set; then
26249 enableval=$enable_opensync_plugin_4x;
26253 # make sure that the environment is setup before anything else
26254 if test "$enable_gui" = yes || test "$enable_opensync_plugin" = yes || test "$enable_opensync_plugin_4x" = yes; then
26255 export TREE_BUILD_CXXFLAGS="-I`pwd`"
26256 export TREE_BUILD_LDFLAGS="-L`pwd`/src
"
26257 export PKG_CONFIG_PATH="`pwd`:$PKG_CONFIG_PATH"
26260 # conditionally enable the subdirectory packages
26261 if test "$enable_gui" = yes; then
26262 subdirs="$subdirs gui
"
26265 if test "$enable_opensync_plugin" = yes; then
26266 subdirs="$subdirs opensync-plugin
"
26269 if test "$enable_opensync_plugin_4x" = yes; then
26270 subdirs="$subdirs opensync-plugin-0.4x
"
26275 # Generate the scripts!
26277 cat >confcache <<\_ACEOF
26278 # This file is a shell script that caches the results of configure
26279 # tests run on this system so they can be shared between configure
26280 # scripts and configure runs, see configure's option --config-cache.
26281 # It is not useful on other systems. If it contains results you don't
26282 # want to keep, you may remove or edit it.
26284 # config.status only pays attention to the cache file if you give it
26285 # the --recheck option to rerun configure.
26287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26289 # following values.
26293 # The following way of writing the cache mishandles newlines in values,
26294 # but we know of no workaround that is simple, portable, and efficient.
26295 # So, we kill variables containing newlines.
26296 # Ultrix sh set writes to stderr and can't be redirected directly,
26297 # and sets the high bit in the cache file unless we assign to the vars.
26299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26300 eval ac_val=\$$ac_var
26304 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
26305 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
26308 _ | IFS | as_nl) ;; #(
26309 *) $as_unset $ac_var ;;
26315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26316 *${as_nl}ac_space=\ *)
26317 # `set' does not quote correctly, so add quotes (double-quote
26318 # substitution turns \\\\ into \\, and sed turns \\ into \).
26321 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
26324 # `set' quotes correctly as required by POSIX, so do not add quotes.
26325 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
26334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26339 if test -w "$cache_file"; then
26340 test "x
$cache_file" != "x
/dev
/null
" &&
26341 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
26342 echo "$as_me: updating cache
$cache_file" >&6;}
26343 cat confcache >$cache_file
26345 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
26346 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
26351 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
26352 # Let make expand exec_prefix.
26353 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
26355 DEFS=-DHAVE_CONFIG_H
26359 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
26360 # 1. Remove the extension, and $U if already installed.
26361 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26362 ac_i=`echo "$ac_i" | sed "$ac_script"`
26363 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26364 # will be set to the directory where LIBOBJS objects are built.
26365 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
26366 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
26368 LIBOBJS=$ac_libobjs
26370 LTLIBOBJS=$ac_ltlibobjs
26373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26374 { { echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
26375 Usually this means the macro was only invoked conditionally.
" >&5
26376 echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
26377 Usually this means the macro was only invoked conditionally.
" >&2;}
26378 { (exit 1); exit 1; }; }
26380 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26381 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
26382 Usually this means the macro was only invoked conditionally.
" >&5
26383 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
26384 Usually this means the macro was only invoked conditionally.
" >&2;}
26385 { (exit 1); exit 1; }; }
26387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26388 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
26389 Usually this means the macro was only invoked conditionally.
" >&5
26390 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
26391 Usually this means the macro was only invoked conditionally.
" >&2;}
26392 { (exit 1); exit 1; }; }
26394 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26395 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
26396 Usually this means the macro was only invoked conditionally.
" >&5
26397 echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
26398 Usually this means the macro was only invoked conditionally.
" >&2;}
26399 { (exit 1); exit 1; }; }
26401 if test -z "${WITH_GCCVISIBILITY_TRUE}" && test -z "${WITH_GCCVISIBILITY_FALSE}"; then
26402 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_GCCVISIBILITY
\" was never defined.
26403 Usually this means the macro was only invoked conditionally.
" >&5
26404 echo "$as_me: error
: conditional
\"WITH_GCCVISIBILITY
\" was never defined.
26405 Usually this means the macro was only invoked conditionally.
" >&2;}
26406 { (exit 1); exit 1; }; }
26408 if test -z "${WITH_BACKUP_TRUE}" && test -z "${WITH_BACKUP_FALSE}"; then
26409 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_BACKUP
\" was never defined.
26410 Usually this means the macro was only invoked conditionally.
" >&5
26411 echo "$as_me: error
: conditional
\"WITH_BACKUP
\" was never defined.
26412 Usually this means the macro was only invoked conditionally.
" >&2;}
26413 { (exit 1); exit 1; }; }
26415 if test -z "${WITH_BOOST_TRUE}" && test -z "${WITH_BOOST_FALSE}"; then
26416 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_BOOST
\" was never defined.
26417 Usually this means the macro was only invoked conditionally.
" >&5
26418 echo "$as_me: error
: conditional
\"WITH_BOOST
\" was never defined.
26419 Usually this means the macro was only invoked conditionally.
" >&2;}
26420 { (exit 1); exit 1; }; }
26422 if test -z "${WITH_FUSE_TRUE}" && test -z "${WITH_FUSE_FALSE}"; then
26423 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_FUSE
\" was never defined.
26424 Usually this means the macro was only invoked conditionally.
" >&5
26425 echo "$as_me: error
: conditional
\"WITH_FUSE
\" was never defined.
26426 Usually this means the macro was only invoked conditionally.
" >&2;}
26427 { (exit 1); exit 1; }; }
26429 if test -z "${WITH_SYNC_TRUE}" && test -z "${WITH_SYNC_FALSE}"; then
26430 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_SYNC
\" was never defined.
26431 Usually this means the macro was only invoked conditionally.
" >&5
26432 echo "$as_me: error
: conditional
\"WITH_SYNC
\" was never defined.
26433 Usually this means the macro was only invoked conditionally.
" >&2;}
26434 { (exit 1); exit 1; }; }
26436 if test -z "${WITH_ALX_TRUE}" && test -z "${WITH_ALX_FALSE}"; then
26437 { { echo "$as_me:$LINENO: error
: conditional
\"WITH_ALX
\" was never defined.
26438 Usually this means the macro was only invoked conditionally.
" >&5
26439 echo "$as_me: error
: conditional
\"WITH_ALX
\" was never defined.
26440 Usually this means the macro was only invoked conditionally.
" >&2;}
26441 { (exit 1); exit 1; }; }
26444 : ${CONFIG_STATUS=./config.status}
26445 ac_clean_files_save=$ac_clean_files
26446 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26447 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
26448 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
26449 cat >$CONFIG_STATUS <<_ACEOF
26451 # Generated by $as_me.
26452 # Run this file to recreate the current configuration.
26453 # Compiler output produced by configure, useful for debugging
26454 # configure, is in config.log if it exists.
26457 ac_cs_recheck=false
26459 SHELL=\${CONFIG_SHELL-$SHELL}
26462 cat >>$CONFIG_STATUS <<\_ACEOF
26463 ## --------------------- ##
26464 ## M4sh Initialization. ##
26465 ## --------------------- ##
26467 # Be more Bourne compatible
26468 DUALCASE=1; export DUALCASE # for MKS sh
26469 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26472 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26473 # is contrary to our usage. Disable this feature.
26474 alias -g '${1+"$@"}'='"$@
"'
26475 setopt NO_GLOB_SUBST
26477 case `(set -o) 2>/dev/null` in
26478 *posix*) set -o posix ;;
26487 # Avoid depending upon Character Ranges.
26488 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26489 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26490 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26491 as_cr_digits='0123456789'
26492 as_cr_alnum=$as_cr_Letters$as_cr_digits
26494 # The user is always right.
26495 if test "${PATH_SEPARATOR+set}" != set; then
26496 echo "#! /bin/sh" >conf$$.sh
26497 echo "exit 0" >>conf$$.sh
26499 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26507 # Support unset when possible.
26508 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
26516 # We need space, tab and new line, in precisely that order. Quoting is
26517 # there to prevent editors from complaining about space-tab.
26518 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26519 # splitting by setting IFS to empty value.)
26524 # Find who we are. Look in the path if we contain no directory separator.
26526 *[\\/]* ) as_myself
=$0 ;;
26527 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26528 for as_dir
in $PATH
26531 test -z "$as_dir" && as_dir
=.
26532 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
26538 # We did not find ourselves, most probably we were run as `sh COMMAND'
26539 # in which case we are not to be found in the path.
26540 if test "x$as_myself" = x
; then
26543 if test ! -f "$as_myself"; then
26544 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26545 { (exit 1); exit 1; }
26548 # Work around bugs in pre-3.0 UWIN ksh.
26549 for as_var
in ENV MAIL MAILPATH
26550 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26558 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26559 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26560 LC_TELEPHONE LC_TIME
26562 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26563 eval $as_var=C
; export $as_var
26565 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26569 # Required to use basename.
26570 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26571 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26577 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26578 as_basename
=basename
26584 # Name of the executable.
26585 as_me
=`$as_basename -- "$0" ||
26586 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26587 X"$0" : 'X\(//\)$' \| \
26588 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26590 sed '/^.*\/\([^/][^/]*\)\/*$/{
26609 as_lineno_1
=$LINENO
26610 as_lineno_2
=$LINENO
26611 test "x$as_lineno_1" != "x$as_lineno_2" &&
26612 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
26614 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26615 # uniformly replaced by the line number. The first 'sed' inserts a
26616 # line-number line after each line using $LINENO; the second 'sed'
26617 # does the real work. The second script uses 'N' to pair each
26618 # line-number line with the line containing $LINENO, and appends
26619 # trailing '-' during substitution so that $LINENO is not a special
26620 # case at line end.
26621 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26622 # scripts with optimization help from Paolo Bonzini. Blame Lee
26623 # E. McMahon (1931-1989) for sed's syntax. :-)
26635 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26638 ' >$as_me.lineno
&&
26639 chmod +x
"$as_me.lineno" ||
26640 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26641 { (exit 1); exit 1; }; }
26643 # Don't try to exec as it changes $[0], causing all sort of problems
26644 # (the dirname of $[0] is not the place where we might find the
26645 # original and so on. Autoconf is especially sensitive to this).
26646 .
"./$as_me.lineno"
26647 # Exit status is that of the last command.
26652 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26658 ECHO_C
= ECHO_N
= ECHO_T
=
26659 case `echo -n x` in
26661 case `echo 'x\c'` in
26662 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26669 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26670 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26676 rm -f conf$$ conf$$.exe conf$$.
file
26677 if test -d conf$$.dir
; then
26678 rm -f conf$$.dir
/conf$$.
file
26684 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26686 # ... but there are two gotchas:
26687 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26688 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26689 # In both cases, we have to default to `cp -p'.
26690 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26692 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26697 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26698 rmdir conf$$.dir
2>/dev
/null
26700 if mkdir
-p .
2>/dev
/null
; then
26703 test -d .
/-p && rmdir .
/-p
26707 if test -x / >/dev
/null
2>&1; then
26708 as_test_x
='test -x'
26710 if ls -dL / >/dev
/null
2>&1; then
26717 if test -d "$1"; then
26723 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26724 ???[sx]*):;;*)false;;esac;fi
26728 as_executable_p
=$as_test_x
26730 # Sed expression to map a string onto a valid CPP name.
26731 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26733 # Sed expression to map a string onto a valid variable name.
26734 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26739 # Save the log message, to keep $[0] and so on meaningful, and to
26740 # report actual input values of CONFIG_FILES etc. instead of their
26741 # values after options handling.
26743 This file was extended by barry $as_me 0.17.0, which was
26744 generated by GNU Autoconf 2.61. Invocation command line was
26746 CONFIG_FILES = $CONFIG_FILES
26747 CONFIG_HEADERS = $CONFIG_HEADERS
26748 CONFIG_LINKS = $CONFIG_LINKS
26749 CONFIG_COMMANDS = $CONFIG_COMMANDS
26752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26757 cat >>$CONFIG_STATUS <<_ACEOF
26758 # Files that config.status was made for.
26759 config_files="$ac_config_files"
26760 config_headers="$ac_config_headers"
26761 config_commands="$ac_config_commands"
26765 cat >>$CONFIG_STATUS <<\_ACEOF
26767 \`$as_me' instantiates files from templates according to the
26768 current configuration.
26770 Usage: $0 [OPTIONS] [FILE]...
26772 -h, --help print this help, then exit
26773 -V, --version print version number and configuration settings, then exit
26774 -q, --quiet do not print progress messages
26775 -d, --debug don't remove temporary files
26776 --recheck update $as_me by reconfiguring in the same conditions
26777 --file=FILE[:TEMPLATE]
26778 instantiate the configuration file FILE
26779 --header=FILE[:TEMPLATE]
26780 instantiate the configuration header FILE
26782 Configuration files:
26785 Configuration headers:
26788 Configuration commands:
26791 Report bugs to <bug-autoconf@gnu.org>."
26794 cat >>$CONFIG_STATUS <<_ACEOF
26796 barry config.status 0.17.0
26797 configured by $0, generated by GNU Autoconf 2.61,
26798 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26800 Copyright (C) 2006 Free Software Foundation, Inc.
26801 This config.status script is free software; the Free Software Foundation
26802 gives unlimited permission to copy, distribute and modify it."
26810 cat >>$CONFIG_STATUS <<\_ACEOF
26811 # If no file are specified by the user, then we need to provide default
26812 # value. By we need to know if files were specified by the user.
26818 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26819 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26830 # Handling of the options.
26831 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26833 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26834 echo "$ac_cs_version"; exit ;;
26835 --debug |
--debu |
--deb |
--de |
--d |
-d )
26837 --file |
--fil |
--fi |
--f )
26839 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26840 ac_need_defaults
=false
;;
26841 --header |
--heade |
--head |
--hea )
26843 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26844 ac_need_defaults
=false
;;
26846 # Conflict between --help and --header
26847 { echo "$as_me: error: ambiguous option: $1
26848 Try \`$0 --help' for more information." >&2
26849 { (exit 1); exit 1; }; };;
26850 --help |
--hel |
-h )
26851 echo "$ac_cs_usage"; exit ;;
26852 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26853 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26856 # This is an error.
26857 -*) { echo "$as_me: error: unrecognized option: $1
26858 Try \`$0 --help' for more information." >&2
26859 { (exit 1); exit 1; }; } ;;
26861 *) ac_config_targets
="$ac_config_targets $1"
26862 ac_need_defaults
=false
;;
26868 ac_configure_extra_args
=
26870 if $ac_cs_silent; then
26872 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26876 cat >>$CONFIG_STATUS <<_ACEOF
26877 if \$ac_cs_recheck; then
26878 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26879 CONFIG_SHELL=$SHELL
26880 export CONFIG_SHELL
26881 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26885 cat >>$CONFIG_STATUS <<\_ACEOF
26889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26890 ## Running $as_me. ##
26896 cat >>$CONFIG_STATUS <<_ACEOF
26900 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26901 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26902 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26903 # from automake < 1.5.
26904 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26905 # Capture the value of LINGUAS because we need it to compute CATALOGS.
26906 LINGUAS="${LINGUAS-%UNSET%}"
26911 cat >>$CONFIG_STATUS <<\_ACEOF
26913 # Handling of arguments.
26914 for ac_config_target
in $ac_config_targets
26916 case $ac_config_target in
26917 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.h.in" ;;
26918 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26919 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
26920 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26921 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
26922 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
26923 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
26924 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
26925 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
26926 "libbarry-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarry-0.pc" ;;
26927 "libbarrydp-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarrydp-0.pc" ;;
26928 "libbarryjdwp-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarryjdwp-0.pc" ;;
26929 "libbarrysync-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarrysync-0.pc" ;;
26930 "libbarrybackup-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarrybackup-0.pc" ;;
26931 "libbarryalx-0.pc") CONFIG_FILES
="$CONFIG_FILES libbarryalx-0.pc" ;;
26933 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26934 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26935 { (exit 1); exit 1; }; };;
26940 # If the user did not use the arguments to specify the items to instantiate,
26941 # then the envvar interface is used. Set only those that are not.
26942 # We use the long form for the default assignment because of an extremely
26943 # bizarre bug on SunOS 4.1.3.
26944 if $ac_need_defaults; then
26945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26950 # Have a temporary directory for convenience. Make it in the build tree
26951 # simply because there is no reason against having it here, and in addition,
26952 # creating and moving files from /tmp can sometimes cause problems.
26953 # Hook for its removal unless debugging.
26954 # Note that there is a small window in which the directory will not be cleaned:
26955 # after its creation but before its name has been assigned to `$tmp'.
26959 trap 'exit_status=$?
26960 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26962 trap '{ (exit 1); exit 1; }' 1 2 13 15
26964 # Create a (secure) tmp directory for tmp files.
26967 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26968 test -n "$tmp" && test -d "$tmp"
26971 tmp
=.
/conf$$
-$RANDOM
26972 (umask 077 && mkdir
"$tmp")
26975 echo "$me: cannot create a temporary directory in ." >&2
26976 { (exit 1); exit 1; }
26980 # Set up the sed scripts for CONFIG_FILES section.
26983 # No need to generate the scripts if there are no CONFIG_FILES.
26984 # This happens for instance when ./config.status config.h
26985 if test -n "$CONFIG_FILES"; then
26992 for ac_last_try
in false false false false false
:; do
26993 cat >conf$
$subs.
sed <<_ACEOF
26994 SHELL!$SHELL$ac_delim
26995 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26996 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26997 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26998 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26999 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27000 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27001 exec_prefix!$exec_prefix$ac_delim
27002 prefix!$prefix$ac_delim
27003 program_transform_name!$program_transform_name$ac_delim
27004 bindir!$bindir$ac_delim
27005 sbindir!$sbindir$ac_delim
27006 libexecdir!$libexecdir$ac_delim
27007 datarootdir!$datarootdir$ac_delim
27008 datadir!$datadir$ac_delim
27009 sysconfdir!$sysconfdir$ac_delim
27010 sharedstatedir!$sharedstatedir$ac_delim
27011 localstatedir!$localstatedir$ac_delim
27012 includedir!$includedir$ac_delim
27013 oldincludedir!$oldincludedir$ac_delim
27014 docdir!$docdir$ac_delim
27015 infodir!$infodir$ac_delim
27016 htmldir!$htmldir$ac_delim
27017 dvidir!$dvidir$ac_delim
27018 pdfdir!$pdfdir$ac_delim
27019 psdir!$psdir$ac_delim
27020 libdir!$libdir$ac_delim
27021 localedir!$localedir$ac_delim
27022 mandir!$mandir$ac_delim
27023 DEFS!$DEFS$ac_delim
27024 ECHO_C!$ECHO_C$ac_delim
27025 ECHO_N!$ECHO_N$ac_delim
27026 ECHO_T!$ECHO_T$ac_delim
27027 LIBS!$LIBS$ac_delim
27028 build_alias!$build_alias$ac_delim
27029 host_alias!$host_alias$ac_delim
27030 target_alias!$target_alias$ac_delim
27031 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27032 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27033 INSTALL_DATA!$INSTALL_DATA$ac_delim
27034 am__isrc!$am__isrc$ac_delim
27035 CYGPATH_W!$CYGPATH_W$ac_delim
27036 PACKAGE!$PACKAGE$ac_delim
27037 VERSION!$VERSION$ac_delim
27038 ACLOCAL!$ACLOCAL$ac_delim
27039 AUTOCONF!$AUTOCONF$ac_delim
27040 AUTOMAKE!$AUTOMAKE$ac_delim
27041 AUTOHEADER!$AUTOHEADER$ac_delim
27042 MAKEINFO!$MAKEINFO$ac_delim
27043 install_sh!$install_sh$ac_delim
27044 STRIP!$STRIP$ac_delim
27045 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
27046 mkdir_p!$mkdir_p$ac_delim
27048 SET_MAKE!$SET_MAKE$ac_delim
27049 am__leading_dot!$am__leading_dot$ac_delim
27050 AMTAR!$AMTAR$ac_delim
27051 am__tar!$am__tar$ac_delim
27052 am__untar!$am__untar$ac_delim
27054 CFLAGS!$CFLAGS$ac_delim
27055 LDFLAGS!$LDFLAGS$ac_delim
27056 CPPFLAGS!$CPPFLAGS$ac_delim
27057 ac_ct_CC!$ac_ct_CC$ac_delim
27058 EXEEXT!$EXEEXT$ac_delim
27059 OBJEXT!$OBJEXT$ac_delim
27060 DEPDIR!$DEPDIR$ac_delim
27061 am__include!$am__include$ac_delim
27062 am__quote!$am__quote$ac_delim
27063 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
27064 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
27065 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
27066 CCDEPMODE!$CCDEPMODE$ac_delim
27067 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
27068 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
27070 GREP!$GREP$ac_delim
27071 EGREP!$EGREP$ac_delim
27072 USE_NLS!$USE_NLS$ac_delim
27073 GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
27074 MSGFMT!$MSGFMT$ac_delim
27075 GMSGFMT!$GMSGFMT$ac_delim
27076 MSGFMT_015!$MSGFMT_015$ac_delim
27077 GMSGFMT_015!$GMSGFMT_015$ac_delim
27078 XGETTEXT!$XGETTEXT$ac_delim
27079 XGETTEXT_015!$XGETTEXT_015$ac_delim
27080 MSGMERGE!$MSGMERGE$ac_delim
27081 XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
27082 build!$build$ac_delim
27083 build_cpu!$build_cpu$ac_delim
27084 build_vendor!$build_vendor$ac_delim
27085 build_os!$build_os$ac_delim
27086 host!$host$ac_delim
27087 host_cpu!$host_cpu$ac_delim
27088 host_vendor!$host_vendor$ac_delim
27089 host_os!$host_os$ac_delim
27090 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
27093 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27095 elif $ac_last_try; then
27096 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27097 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27098 { (exit 1); exit 1; }; }
27100 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
27104 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27105 if test -n "$ac_eof"; then
27106 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
27107 ac_eof
=`expr $ac_eof + 1`
27110 cat >>$CONFIG_STATUS <<_ACEOF
27111 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27112 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27115 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27116 s/^/s,@/; s/!/@,|#_!!_#|/
27119 s/'"$ac_delim"'$/,g/; t
27121 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27122 ' >>$CONFIG_STATUS <conf$
$subs.
sed
27123 rm -f conf$
$subs.
sed
27124 cat >>$CONFIG_STATUS <<_ACEOF
27130 for ac_last_try
in false false false false false
:; do
27131 cat >conf$
$subs.
sed <<_ACEOF
27132 LIBICONV!$LIBICONV$ac_delim
27133 LTLIBICONV!$LTLIBICONV$ac_delim
27134 INTLLIBS!$INTLLIBS$ac_delim
27135 LIBINTL!$LIBINTL$ac_delim
27136 LTLIBINTL!$LTLIBINTL$ac_delim
27137 POSUB!$POSUB$ac_delim
27139 CXXFLAGS!$CXXFLAGS$ac_delim
27140 ac_ct_CXX!$ac_ct_CXX$ac_delim
27141 CXXDEPMODE!$CXXDEPMODE$ac_delim
27142 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27143 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27145 LN_S!$LN_S$ac_delim
27146 ECHO!$ECHO$ac_delim
27148 RANLIB!$RANLIB$ac_delim
27149 DSYMUTIL!$DSYMUTIL$ac_delim
27150 NMEDIT!$NMEDIT$ac_delim
27151 CXXCPP!$CXXCPP$ac_delim
27153 FFLAGS!$FFLAGS$ac_delim
27154 ac_ct_F77!$ac_ct_F77$ac_delim
27155 LIBTOOL!$LIBTOOL$ac_delim
27156 WITH_GCCVISIBILITY_TRUE!$WITH_GCCVISIBILITY_TRUE$ac_delim
27157 WITH_GCCVISIBILITY_FALSE!$WITH_GCCVISIBILITY_FALSE$ac_delim
27158 LIBTAR_CFLAGS!$LIBTAR_CFLAGS$ac_delim
27159 LIBTAR_LIBS!$LIBTAR_LIBS$ac_delim
27160 LIBZ_CFLAGS!$LIBZ_CFLAGS$ac_delim
27161 LIBZ_LIBS!$LIBZ_LIBS$ac_delim
27162 WITH_BACKUP_TRUE!$WITH_BACKUP_TRUE$ac_delim
27163 WITH_BACKUP_FALSE!$WITH_BACKUP_FALSE$ac_delim
27164 PKG_CONFIG!$PKG_CONFIG$ac_delim
27165 LIBUSB_CFLAGS!$LIBUSB_CFLAGS$ac_delim
27166 LIBUSB_LIBS!$LIBUSB_LIBS$ac_delim
27167 BOOST_LIB_PATH!$BOOST_LIB_PATH$ac_delim
27168 BOOST_INC_PATH!$BOOST_INC_PATH$ac_delim
27169 BOOST_LDADD!$BOOST_LDADD$ac_delim
27170 WITH_BOOST_TRUE!$WITH_BOOST_TRUE$ac_delim
27171 WITH_BOOST_FALSE!$WITH_BOOST_FALSE$ac_delim
27172 FUSE_CFLAGS!$FUSE_CFLAGS$ac_delim
27173 FUSE_LIBS!$FUSE_LIBS$ac_delim
27174 GLIB2_CFLAGS!$GLIB2_CFLAGS$ac_delim
27175 GLIB2_LIBS!$GLIB2_LIBS$ac_delim
27176 pkgconfigdir!$pkgconfigdir$ac_delim
27177 WITH_FUSE_TRUE!$WITH_FUSE_TRUE$ac_delim
27178 WITH_FUSE_FALSE!$WITH_FUSE_FALSE$ac_delim
27179 WITH_SYNC_TRUE!$WITH_SYNC_TRUE$ac_delim
27180 WITH_SYNC_FALSE!$WITH_SYNC_FALSE$ac_delim
27181 ZLIB_LIBS!$ZLIB_LIBS$ac_delim
27182 LIBXMLXX_CFLAGS!$LIBXMLXX_CFLAGS$ac_delim
27183 LIBXMLXX_LIBS!$LIBXMLXX_LIBS$ac_delim
27184 WITH_ALX_TRUE!$WITH_ALX_TRUE$ac_delim
27185 WITH_ALX_FALSE!$WITH_ALX_FALSE$ac_delim
27186 LIBOBJS!$LIBOBJS$ac_delim
27187 subdirs!$subdirs$ac_delim
27188 LTLIBOBJS!$LTLIBOBJS$ac_delim
27191 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
27193 elif $ac_last_try; then
27194 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27195 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27196 { (exit 1); exit 1; }; }
27198 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
27202 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27203 if test -n "$ac_eof"; then
27204 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
27205 ac_eof
=`expr $ac_eof + 1`
27208 cat >>$CONFIG_STATUS <<_ACEOF
27209 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27213 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27214 s/^/s,@/; s/!/@,|#_!!_#|/
27217 s/'"$ac_delim"'$/,g/; t
27219 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27220 ' >>$CONFIG_STATUS <conf$
$subs.
sed
27221 rm -f conf$
$subs.
sed
27222 cat >>$CONFIG_STATUS <<_ACEOF
27229 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27230 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27231 # trailing colons and then remove the whole line if VPATH becomes empty
27232 # (actually we leave an empty line to preserve line numbers).
27233 if test "x$srcdir" = x.
; then
27234 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27235 s/:*\$(srcdir):*/:/
27236 s/:*\${srcdir}:*/:/
27238 s/^\([^=]*=[ ]*\):*/\1/
27244 cat >>$CONFIG_STATUS <<\_ACEOF
27245 fi # test -n "$CONFIG_FILES"
27248 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
27251 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27253 case $ac_mode$ac_tag in
27255 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27256 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27257 { (exit 1); exit 1; }; };;
27258 :[FH
]-) ac_tag
=-:-;;
27259 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27276 -) ac_f
="$tmp/stdin";;
27277 *) # Look for the file first in the build tree, then in the source tree
27278 # (if the path is not absolute). The absolute path cannot be DOS-style,
27279 # because $ac_f cannot contain `:'.
27283 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27285 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27286 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27287 { (exit 1); exit 1; }; };;
27289 ac_file_inputs
="$ac_file_inputs $ac_f"
27292 # Let's still pretend it is `configure' which instantiates (i.e., don't
27293 # use $as_me), people would be surprised to read:
27294 # /* config.h. Generated by config.status. */
27295 configure_input
="Generated from "`IFS=:
27296 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27297 if test x
"$ac_file" != x-
; then
27298 configure_input
="$ac_file. $configure_input"
27299 { echo "$as_me:$LINENO: creating $ac_file" >&5
27300 echo "$as_me: creating $ac_file" >&6;}
27304 *:-:* |
*:-) cat >"$tmp/stdin";;
27309 ac_dir
=`$as_dirname -- "$ac_file" ||
27310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27311 X"$ac_file" : 'X\(//\)[^/]' \| \
27312 X"$ac_file" : 'X\(//\)$' \| \
27313 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27319 /^X\(\/\/\)[^/].*/{
27334 -*) as_dir
=.
/$as_dir;;
27336 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27340 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27341 *) as_qdir
=$as_dir;;
27343 as_dirs
="'$as_qdir' $as_dirs"
27344 as_dir
=`$as_dirname -- "$as_dir" ||
27345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27346 X"$as_dir" : 'X\(//\)[^/]' \| \
27347 X"$as_dir" : 'X\(//\)$' \| \
27348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27354 /^X\(\/\/\)[^/].*/{
27367 test -d "$as_dir" && break
27369 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27370 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27371 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27372 { (exit 1); exit 1; }; }; }
27376 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27378 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27379 # A ".." for each directory in $ac_dir_suffix.
27380 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27381 case $ac_top_builddir_sub in
27382 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27383 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27386 ac_abs_top_builddir
=$ac_pwd
27387 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27388 # for backward compatibility:
27389 ac_top_builddir
=$ac_top_build_prefix
27392 .
) # We are building in place.
27394 ac_top_srcdir
=$ac_top_builddir_sub
27395 ac_abs_top_srcdir
=$ac_pwd ;;
27396 [\\/]* | ?
:[\\/]* ) # Absolute name.
27397 ac_srcdir
=$srcdir$ac_dir_suffix;
27398 ac_top_srcdir
=$srcdir
27399 ac_abs_top_srcdir
=$srcdir ;;
27400 *) # Relative name.
27401 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27402 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27403 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27405 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27415 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27416 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27418 ac_MKDIR_P
=$MKDIR_P
27420 [\\/$
]* | ?
:[\\/]* ) ;;
27421 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27425 cat >>$CONFIG_STATUS <<\_ACEOF
27426 # If the template does not know about datarootdir, expand it.
27427 # FIXME: This hack should be removed a few years after 2.60.
27428 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27430 case `sed -n '/datarootdir/ {
27439 ' $ac_file_inputs` in
27440 *datarootdir
*) ac_datarootdir_seen
=yes;;
27441 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27442 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27443 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27445 cat >>$CONFIG_STATUS <<_ACEOF
27446 ac_datarootdir_hack='
27447 s&@datadir@&$datadir&g
27448 s&@docdir@&$docdir&g
27449 s&@infodir@&$infodir&g
27450 s&@localedir@&$localedir&g
27451 s&@mandir@&$mandir&g
27452 s&\\\${datarootdir}&$datarootdir&g' ;;
27456 # Neutralize VPATH when `$srcdir' = `.'.
27457 # Shell code in configure.ac might set extrasub.
27458 # FIXME: do we really want to maintain this feature?
27459 cat >>$CONFIG_STATUS <<_ACEOF
27463 cat >>$CONFIG_STATUS <<\_ACEOF
27465 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27466 s
&@configure_input@
&$configure_input&;t t
27467 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27468 s
&@srcdir@
&$ac_srcdir&;t t
27469 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27470 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27471 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27472 s
&@builddir@
&$ac_builddir&;t t
27473 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27474 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27475 s
&@INSTALL@
&$ac_INSTALL&;t t
27476 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27477 $ac_datarootdir_hack
27478 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
27480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27481 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27482 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27483 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27484 which seems to be undefined. Please make sure it is defined." >&5
27485 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27486 which seems to be undefined. Please make sure it is defined." >&2;}
27490 -) cat "$tmp/out"; rm -f "$tmp/out";;
27491 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27500 # Transform confdefs.h into a sed script `conftest.defines', that
27501 # substitutes the proper values into config.h.in to produce config.h.
27502 rm -f conftest.defines conftest.
tail
27503 # First, append a space to every undef/define line, to ease matching.
27504 echo 's/$/ /' >conftest.defines
27505 # Then, protect against being on the right side of a sed subst, or in
27506 # an unquoted here document, in config.status. If some macros were
27507 # called several times there might be several #defines for the same
27508 # symbol, which is useless. But do not sort them, since the last
27509 # AC_DEFINE must be honored.
27510 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
27511 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27512 # NAME is the cpp macro being defined, VALUE is the value it is being given.
27513 # PARAMS is the parameter list in the macro definition--in most cases, it's
27514 # just an empty string.
27515 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27516 ac_dB
='\\)[ (].*,\\1define\\2'
27524 s/^[ ]*#[ ]*define[ ][ ]*//
27529 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27530 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27531 ' >>conftest.defines
27533 # Remove the space that was appended to ease matching.
27534 # Then replace #undef with comments. This is necessary, for
27535 # example, in the case of _POSIX_SOURCE, which is predefined and required
27536 # on some systems where configure will not decide to define it.
27537 # (The regexp can be short, since the line contains either #define or #undef.)
27539 s,^[ #]*u.*,/* & */,' >>conftest.defines
27541 # Break up conftest.defines:
27542 ac_max_sed_lines
=50
27544 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27545 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27546 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27548 ac_in
='$ac_file_inputs'
27549 ac_out
='"$tmp/out1"'
27550 ac_nxt
='"$tmp/out2"'
27554 # Write a here document:
27555 cat >>$CONFIG_STATUS <<_ACEOF
27556 # First, check the format of the line:
27557 cat >"\$tmp/defines.sed" <<\\CEOF
27558 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27559 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27563 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
27565 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27566 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
27567 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
27568 grep . conftest.
tail >/dev
/null ||
break
27569 rm -f conftest.defines
27570 mv conftest.
tail conftest.defines
27572 rm -f conftest.defines conftest.
tail
27574 echo "ac_result=$ac_in" >>$CONFIG_STATUS
27575 cat >>$CONFIG_STATUS <<\_ACEOF
27576 if test x
"$ac_file" != x-
; then
27577 echo "/* $configure_input */" >"$tmp/config.h"
27578 cat "$ac_result" >>"$tmp/config.h"
27579 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
27580 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27581 echo "$as_me: $ac_file is unchanged" >&6;}
27584 mv "$tmp/config.h" $ac_file
27587 echo "/* $configure_input */"
27591 # Compute $ac_file's index in $config_headers.
27594 for _am_header
in $config_headers :; do
27595 case $_am_header in
27596 $_am_arg |
$_am_arg:* )
27599 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27602 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27603 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27604 X"$_am_arg" : 'X\(//\)[^/]' \| \
27605 X"$_am_arg" : 'X\(//\)$' \| \
27606 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27612 /^X\(\/\/\)[^/].*/{
27624 s/.*/./; q'`/stamp-h
$_am_stamp_count
27627 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27628 echo "$as_me: executing $ac_file commands" >&6;}
27633 case $ac_file$ac_mode in
27634 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27635 # Strip MF so we end up with the name of the file.
27636 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27637 # Check whether this is an Automake generated Makefile or not.
27638 # We used to match only the files named `Makefile.in', but
27639 # some people rename them; so instead we look at the file content.
27640 # Grep'ing the first line is not enough: some people post-process
27641 # each Makefile.in and add a new line on top of each file to say so.
27642 # Grep'ing the whole file is not good either: AIX grep has a line
27643 # limit of 2048, but all sed's we know have understand at least 4000.
27644 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27645 dirpart
=`$as_dirname -- "$mf" ||
27646 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27647 X"$mf" : 'X\(//\)[^/]' \| \
27648 X"$mf" : 'X\(//\)$' \| \
27649 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27655 /^X\(\/\/\)[^/].*/{
27671 # Extract the definition of DEPDIR, am__include, and am__quote
27672 # from the Makefile without running `make'.
27673 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27674 test -z "$DEPDIR" && continue
27675 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27676 test -z "am__include" && continue
27677 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27678 # When using ansi2knr, U may be empty or an underscore; expand it
27679 U
=`sed -n 's/^U = //p' < "$mf"`
27680 # Find all dependency output files, they are included files with
27681 # $(DEPDIR) in their names. We invoke sed twice because it is the
27682 # simplest approach to changing $(DEPDIR) to its actual value in the
27684 for file in `sed -n "
27685 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27686 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27687 # Make sure the directory exists.
27688 test -f "$dirpart/$file" && continue
27689 fdir
=`$as_dirname -- "$file" ||
27690 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27691 X"$file" : 'X\(//\)[^/]' \| \
27692 X"$file" : 'X\(//\)$' \| \
27693 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27699 /^X\(\/\/\)[^/].*/{
27712 { as_dir
=$dirpart/$fdir
27714 -*) as_dir
=.
/$as_dir;;
27716 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27720 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27721 *) as_qdir
=$as_dir;;
27723 as_dirs
="'$as_qdir' $as_dirs"
27724 as_dir
=`$as_dirname -- "$as_dir" ||
27725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27726 X"$as_dir" : 'X\(//\)[^/]' \| \
27727 X"$as_dir" : 'X\(//\)$' \| \
27728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27734 /^X\(\/\/\)[^/].*/{
27747 test -d "$as_dir" && break
27749 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27750 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27751 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27752 { (exit 1); exit 1; }; }; }
27753 # echo "creating $dirpart/$file"
27754 echo '# dummy' > "$dirpart/$file"
27758 "po-directories":C
)
27759 for ac_file
in $CONFIG_FILES; do
27760 # Support "outfile[:infile[:infile...]]"
27762 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
27764 # PO directories have a Makefile.in generated from Makefile.in.in.
27765 case "$ac_file" in */Makefile.
in)
27766 # Adjust a relative srcdir.
27767 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
27768 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
27769 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
27770 # In autoconf-2.13 it is called $ac_given_srcdir.
27771 # In autoconf-2.50 it is called $srcdir.
27772 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
27773 case "$ac_given_srcdir" in
27774 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
27775 /*) top_srcdir
="$ac_given_srcdir" ;;
27776 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
27778 # Treat a directory as a PO directory if and only if it has a
27779 # POTFILES.in file. This allows packages to have multiple PO
27780 # directories under different names or in different locations.
27781 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
27782 rm -f "$ac_dir/POTFILES"
27783 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
27784 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
27785 POMAKEFILEDEPS
="POTFILES.in"
27786 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
27787 # on $ac_dir but don't depend on user-specified configuration
27789 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
27790 # The LINGUAS file contains the set of available languages.
27791 if test -n "$OBSOLETE_ALL_LINGUAS"; then
27792 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
27794 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
27795 # Hide the ALL_LINGUAS assigment from automake < 1.5.
27796 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
27797 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
27799 # The set of available languages was given in configure.in.
27800 # Hide the ALL_LINGUAS assigment from automake < 1.5.
27801 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
27804 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
27805 # Compute UPDATEPOFILES
27806 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
27807 # Compute DUMMYPOFILES
27808 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
27810 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
27811 case "$ac_given_srcdir" in
27813 *) srcdirpre
='$(srcdir)/' ;;
27819 for lang
in $ALL_LINGUAS; do
27820 POFILES
="$POFILES $srcdirpre$lang.po"
27821 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
27822 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
27823 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
27825 # CATALOGS depends on both $ac_dir and the user's LINGUAS
27826 # environment variable.
27828 if test -n "$ALL_LINGUAS"; then
27829 for presentlang
in $ALL_LINGUAS; do
27831 if test "%UNSET%" != "$LINGUAS"; then
27832 desiredlanguages
="$LINGUAS"
27834 desiredlanguages
="$ALL_LINGUAS"
27836 for desiredlang
in $desiredlanguages; do
27837 # Use the presentlang catalog if desiredlang is
27838 # a. equal to presentlang, or
27839 # b. a variant of presentlang (because in this case,
27840 # presentlang can be used as a fallback for messages
27841 # which are not translated in the desiredlang catalog).
27842 case "$desiredlang" in
27843 "$presentlang"*) useit
=yes;;
27846 if test $useit = yes; then
27847 INST_LINGUAS
="$INST_LINGUAS $presentlang"
27852 if test -n "$INST_LINGUAS"; then
27853 for lang
in $INST_LINGUAS; do
27854 CATALOGS
="$CATALOGS $lang.gmo"
27857 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
27858 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
27859 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
27860 if test -f "$f"; then
27862 *.orig |
*.bak |
*~
) ;;
27863 *) cat "$f" >> "$ac_dir/Makefile" ;;
27876 { (exit 0); exit 0; }
27878 chmod +x
$CONFIG_STATUS
27879 ac_clean_files
=$ac_clean_files_save
27882 # configure is writing to config.log, and then calls config.status.
27883 # config.status does its own redirection, appending to config.log.
27884 # Unfortunately, on DOS this fails, as config.log is still kept open
27885 # by configure, so config.status won't be able to write to it; its
27886 # output is simply discarded. So we exec the FD to /dev/null,
27887 # effectively closing config.log, so it can be properly (re)opened and
27888 # appended to by config.status. When coming back to configure, we
27889 # need to make the FD available again.
27890 if test "$no_create" != yes; then
27892 ac_config_status_args
=
27893 test "$silent" = yes &&
27894 ac_config_status_args
="$ac_config_status_args --quiet"
27896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27899 # would make configure fail if this is the last instruction.
27900 $ac_cs_success ||
{ (exit 1); exit 1; }
27904 # CONFIG_SUBDIRS section.
27906 if test "$no_recursion" != yes; then
27908 # Remove --cache-file and --srcdir arguments so they do not pile up.
27909 ac_sub_configure_args
=
27911 eval "set x $ac_configure_args"
27915 if test -n "$ac_prev"; then
27920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27922 ac_prev
=cache_file
;;
27923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27927 --config-cache |
-C)
27929 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27931 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27933 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27935 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27939 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27941 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
27945 # Always prepend --prefix to ensure using the same prefix
27946 # in subdir configurations.
27947 ac_arg
="--prefix=$prefix"
27949 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27951 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27954 if test "$silent" = yes; then
27955 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27959 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27961 # Do not complain, so a configure script can configure whichever
27962 # parts of a large source tree are present.
27963 test -d "$srcdir/$ac_dir" ||
continue
27965 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27966 echo "$as_me:$LINENO: $ac_msg" >&5
27970 -*) as_dir
=.
/$as_dir;;
27972 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27976 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27977 *) as_qdir
=$as_dir;;
27979 as_dirs
="'$as_qdir' $as_dirs"
27980 as_dir
=`$as_dirname -- "$as_dir" ||
27981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27982 X"$as_dir" : 'X\(//\)[^/]' \| \
27983 X"$as_dir" : 'X\(//\)$' \| \
27984 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27990 /^X\(\/\/\)[^/].*/{
28003 test -d "$as_dir" && break
28005 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
28006 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28007 echo "$as_me: error: cannot create directory $as_dir" >&2;}
28008 { (exit 1); exit 1; }; }; }
28012 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28014 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28015 # A ".." for each directory in $ac_dir_suffix.
28016 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
28017 case $ac_top_builddir_sub in
28018 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28019 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28022 ac_abs_top_builddir
=$ac_pwd
28023 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28024 # for backward compatibility:
28025 ac_top_builddir
=$ac_top_build_prefix
28028 .
) # We are building in place.
28030 ac_top_srcdir
=$ac_top_builddir_sub
28031 ac_abs_top_srcdir
=$ac_pwd ;;
28032 [\\/]* | ?
:[\\/]* ) # Absolute name.
28033 ac_srcdir
=$srcdir$ac_dir_suffix;
28034 ac_top_srcdir
=$srcdir
28035 ac_abs_top_srcdir
=$srcdir ;;
28036 *) # Relative name.
28037 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28038 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28039 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28041 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28046 # Check for guested configure; otherwise get Cygnus style configure.
28047 if test -f "$ac_srcdir/configure.gnu"; then
28048 ac_sub_configure
=$ac_srcdir/configure.gnu
28049 elif test -f "$ac_srcdir/configure"; then
28050 ac_sub_configure
=$ac_srcdir/configure
28051 elif test -f "$ac_srcdir/configure.in"; then
28052 # This should be Cygnus configure.
28053 ac_sub_configure
=$ac_aux_dir/configure
28055 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
28056 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28060 # The recursion is here.
28061 if test -n "$ac_sub_configure"; then
28062 # Make the cache file name correct relative to the subdirectory.
28063 case $cache_file in
28064 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28065 *) # Relative name.
28066 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28069 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
28070 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28071 # The eval makes quoting arguments work.
28072 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28073 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28074 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
28075 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
28076 { (exit 1); exit 1; }; }