2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for barry-backup 0.17.
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.
729 PACKAGE_NAME
='barry-backup'
730 PACKAGE_TARNAME
='barry-backup'
731 PACKAGE_VERSION
='0.17'
732 PACKAGE_STRING
='barry-backup 0.17'
733 PACKAGE_BUGREPORT
='barry-devel@lists.sourceforge.net'
735 ac_unique_file
="src/main.cc"
737 # Factoring default headers for most tests.
738 ac_includes_default
="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
784 program_transform_name
826 INSTALL_STRIP_PROGRAM
835 GETTEXT_MACRO_VERSION
843 XGETTEXT_EXTRA_OPTIONS
909 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 # The variables have the same names as the options, with
937 # dashes changed to underlines.
945 program_transform_name
=s
,x
,x
,
953 # Installation directory options.
954 # These are left unexpanded so users can "make install exec_prefix=/foo"
955 # and all the variables that are supposed to be based on exec_prefix
956 # by default will actually change.
957 # Use braces instead of parens because sh, perl, etc. also accept them.
958 # (The list follows the same order as the GNU Coding Standards.)
959 bindir
='${exec_prefix}/bin'
960 sbindir
='${exec_prefix}/sbin'
961 libexecdir
='${exec_prefix}/libexec'
962 datarootdir
='${prefix}/share'
963 datadir
='${datarootdir}'
964 sysconfdir
='${prefix}/etc'
965 sharedstatedir
='${prefix}/com'
966 localstatedir
='${prefix}/var'
967 includedir
='${prefix}/include'
968 oldincludedir
='/usr/include'
969 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
970 infodir
='${datarootdir}/info'
975 libdir
='${exec_prefix}/lib'
976 localedir
='${datarootdir}/locale'
977 mandir
='${datarootdir}/man'
983 # If the previous option needs an argument, assign it.
984 if test -n "$ac_prev"; then
985 eval $ac_prev=\
$ac_option
991 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
995 # Accept the important Cygnus configure options, so we can diagnose typos.
997 case $ac_dashdash$ac_option in
1001 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1003 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1004 bindir
=$ac_optarg ;;
1006 -build |
--build |
--buil |
--bui |
--bu)
1007 ac_prev
=build_alias
;;
1008 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1009 build_alias
=$ac_optarg ;;
1011 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1012 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1013 ac_prev
=cache_file
;;
1014 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1015 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1016 cache_file
=$ac_optarg ;;
1018 --config-cache |
-C)
1019 cache_file
=config.cache
;;
1021 -datadir |
--datadir |
--datadi |
--datad)
1023 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1024 datadir
=$ac_optarg ;;
1026 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1027 |
--dataroo |
--dataro |
--datar)
1028 ac_prev
=datarootdir
;;
1029 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1030 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1031 datarootdir
=$ac_optarg ;;
1033 -disable-* |
--disable-*)
1034 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1037 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1040 eval enable_
$ac_feature=no
;;
1042 -docdir |
--docdir |
--docdi |
--doc |
--do)
1044 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1045 docdir
=$ac_optarg ;;
1047 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1049 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1050 dvidir
=$ac_optarg ;;
1052 -enable-* |
--enable-*)
1053 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1056 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1059 eval enable_
$ac_feature=\
$ac_optarg ;;
1061 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1062 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1063 |
--exec |
--exe |
--ex)
1064 ac_prev
=exec_prefix
;;
1065 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1066 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1067 |
--exec=* |
--exe=* |
--ex=*)
1068 exec_prefix
=$ac_optarg ;;
1070 -gas |
--gas |
--ga |
--g)
1071 # Obsolete; use --with-gas.
1074 -help |
--help |
--hel |
--he |
-h)
1075 ac_init_help
=long
;;
1076 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1077 ac_init_help
=recursive
;;
1078 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1079 ac_init_help
=short
;;
1081 -host |
--host |
--hos |
--ho)
1082 ac_prev
=host_alias
;;
1083 -host=* |
--host=* |
--hos=* |
--ho=*)
1084 host_alias
=$ac_optarg ;;
1086 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1088 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1090 htmldir
=$ac_optarg ;;
1092 -includedir |
--includedir |
--includedi |
--included |
--include \
1093 |
--includ |
--inclu |
--incl |
--inc)
1094 ac_prev
=includedir
;;
1095 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1096 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1097 includedir
=$ac_optarg ;;
1099 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1101 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1102 infodir
=$ac_optarg ;;
1104 -libdir |
--libdir |
--libdi |
--libd)
1106 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1107 libdir
=$ac_optarg ;;
1109 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1110 |
--libexe |
--libex |
--libe)
1111 ac_prev
=libexecdir
;;
1112 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1113 |
--libexe=* |
--libex=* |
--libe=*)
1114 libexecdir
=$ac_optarg ;;
1116 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1117 ac_prev
=localedir
;;
1118 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1119 localedir
=$ac_optarg ;;
1121 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1122 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1123 ac_prev
=localstatedir
;;
1124 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1125 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1126 localstatedir
=$ac_optarg ;;
1128 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1130 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1131 mandir
=$ac_optarg ;;
1133 -nfp |
--nfp |
--nf)
1134 # Obsolete; use --without-fp.
1137 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1138 |
--no-cr |
--no-c |
-n)
1141 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1142 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1145 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1146 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1147 |
--oldin |
--oldi |
--old |
--ol |
--o)
1148 ac_prev
=oldincludedir
;;
1149 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1150 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1151 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1152 oldincludedir
=$ac_optarg ;;
1154 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1156 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1157 prefix
=$ac_optarg ;;
1159 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1160 |
--program-pre |
--program-pr |
--program-p)
1161 ac_prev
=program_prefix
;;
1162 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1163 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1164 program_prefix
=$ac_optarg ;;
1166 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1167 |
--program-suf |
--program-su |
--program-s)
1168 ac_prev
=program_suffix
;;
1169 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1170 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1171 program_suffix
=$ac_optarg ;;
1173 -program-transform-name |
--program-transform-name \
1174 |
--program-transform-nam |
--program-transform-na \
1175 |
--program-transform-n |
--program-transform- \
1176 |
--program-transform |
--program-transfor \
1177 |
--program-transfo |
--program-transf \
1178 |
--program-trans |
--program-tran \
1179 |
--progr-tra |
--program-tr |
--program-t)
1180 ac_prev
=program_transform_name
;;
1181 -program-transform-name=* |
--program-transform-name=* \
1182 |
--program-transform-nam=* |
--program-transform-na=* \
1183 |
--program-transform-n=* |
--program-transform-=* \
1184 |
--program-transform=* |
--program-transfor=* \
1185 |
--program-transfo=* |
--program-transf=* \
1186 |
--program-trans=* |
--program-tran=* \
1187 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1188 program_transform_name
=$ac_optarg ;;
1190 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1192 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1193 pdfdir
=$ac_optarg ;;
1195 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1197 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1201 |
-silent |
--silent |
--silen |
--sile |
--sil)
1204 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1206 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1208 sbindir
=$ac_optarg ;;
1210 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1211 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1212 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1214 ac_prev
=sharedstatedir
;;
1215 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1216 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1217 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1219 sharedstatedir
=$ac_optarg ;;
1221 -site |
--site |
--sit)
1223 -site=* |
--site=* |
--sit=*)
1226 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1228 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1229 srcdir
=$ac_optarg ;;
1231 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1232 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1233 ac_prev
=sysconfdir
;;
1234 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1235 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1236 sysconfdir
=$ac_optarg ;;
1238 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1239 ac_prev
=target_alias
;;
1240 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1241 target_alias
=$ac_optarg ;;
1243 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1246 -version |
--version |
--versio |
--versi |
--vers |
-V)
1247 ac_init_version
=: ;;
1250 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 { echo "$as_me: error: invalid package name: $ac_package" >&2
1254 { (exit 1); exit 1; }; }
1255 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1256 eval with_
$ac_package=\
$ac_optarg ;;
1258 -without-* |
--without-*)
1259 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1262 { echo "$as_me: error: invalid package name: $ac_package" >&2
1263 { (exit 1); exit 1; }; }
1264 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1265 eval with_
$ac_package=no
;;
1268 # Obsolete; use --with-x.
1271 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1272 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1273 ac_prev
=x_includes
;;
1274 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1275 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1276 x_includes
=$ac_optarg ;;
1278 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1279 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1280 ac_prev
=x_libraries
;;
1281 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1282 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1283 x_libraries
=$ac_optarg ;;
1285 -*) { echo "$as_me: error: unrecognized option: $ac_option
1286 Try \`$0 --help' for more information." >&2
1287 { (exit 1); exit 1; }; }
1291 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1294 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1295 { (exit 1); exit 1; }; }
1296 eval $ac_envvar=\
$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1303 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1310 if test -n "$ac_prev"; then
1311 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1312 { echo "$as_me: error: missing argument to $ac_option" >&2
1313 { (exit 1); exit 1; }; }
1316 # Be sure to have absolute directory names.
1317 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val
=\$
$ac_var
1324 [\\/$
]* | ?
:[\\/]* ) continue;;
1325 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1327 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1328 { (exit 1); exit 1; }; }
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1343 If a cross compiler is detected then cross compile mode will be used." >&2
1344 elif test "x$build_alias" != "x$host_alias"; then
1350 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1352 test "$silent" = yes && exec 6>/dev
/null
1355 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1356 ac_ls_di
=`ls -di .` &&
1357 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1358 { echo "$as_me: error: Working directory cannot be determined" >&2
1359 { (exit 1); exit 1; }; }
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 { echo "$as_me: error: pwd does not report name of working directory" >&2
1362 { (exit 1); exit 1; }; }
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted
=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir
=`$as_dirname -- "$0" ||
1370 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$0" : 'X\(//\)[^/]' \| \
1372 X"$0" : 'X\(//\)$' \| \
1373 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1397 ac_srcdir_defaulted
=no
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1401 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1402 { (exit 1); exit 1; }; }
1404 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1407 { (exit 1); exit 1; }; }
1409 # When building in place, set srcdir=.
1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1417 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1419 for ac_var
in $ac_precious_vars; do
1420 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1421 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1422 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1423 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1427 # Report the --help message.
1429 if test "$ac_init_help" = "long"; then
1430 # Omit some internal or obsolete options to make the list less imposing.
1431 # This message is too long to be a string in the A/UX 3.1 sh.
1433 \`configure' configures barry-backup 0.17 to adapt to many kinds of systems.
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE. See below for descriptions of some of the useful variables.
1440 Defaults for the options are specified in brackets.
1443 -h, --help display this help and exit
1444 --help=short display options specific to this package
1445 --help=recursive display the short help of all the included packages
1446 -V, --version display version information and exit
1447 -q, --quiet, --silent do not print \`checking...' messages
1448 --cache-file=FILE cache test results in FILE [disabled]
1449 -C, --config-cache alias for \`--cache-file=config.cache'
1450 -n, --no-create do not create output files
1451 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1453 Installation directories:
1454 --prefix=PREFIX install architecture-independent files in PREFIX
1455 [$ac_default_prefix]
1456 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1464 For better control, use the options below.
1466 Fine tuning of the installation directories:
1467 --bindir=DIR user executables [EPREFIX/bin]
1468 --sbindir=DIR system admin executables [EPREFIX/sbin]
1469 --libexecdir=DIR program executables [EPREFIX/libexec]
1470 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1471 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1472 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1473 --libdir=DIR object code libraries [EPREFIX/lib]
1474 --includedir=DIR C header files [PREFIX/include]
1475 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1476 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1477 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1478 --infodir=DIR info documentation [DATAROOTDIR/info]
1479 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1480 --mandir=DIR man documentation [DATAROOTDIR/man]
1481 --docdir=DIR documentation root [DATAROOTDIR/doc/barry-backup]
1482 --htmldir=DIR html documentation [DOCDIR]
1483 --dvidir=DIR dvi documentation [DOCDIR]
1484 --pdfdir=DIR pdf documentation [DOCDIR]
1485 --psdir=DIR ps documentation [DOCDIR]
1491 --program-prefix=PREFIX prepend PREFIX to installed program names
1492 --program-suffix=SUFFIX append SUFFIX to installed program names
1493 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1496 --build=BUILD configure
for building on BUILD
[guessed
]
1497 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1501 if test -n "$ac_init_help"; then
1502 case $ac_init_help in
1503 short | recursive
) echo "Configuration of barry-backup 0.17:";;
1508 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1509 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1510 --disable-nls do not use Native Language Support
1511 --disable-dependency-tracking speeds up one-time build
1512 --enable-dependency-tracking do not reject slow dependency extractors
1513 --disable-rpath do not hardcode runtime library paths
1514 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1515 --enable-static[=PKGS
] build static libraries
[default
=yes]
1516 --enable-fast-install[=PKGS
]
1517 optimize
for fast installation
[default
=yes]
1518 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1521 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1522 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1523 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1524 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1525 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1526 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1527 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1528 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1529 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1531 --with-tags[=TAGS
] include additional configurations
[automatic
]
1533 Some influential environment variables
:
1534 CC C compiler
command
1535 CFLAGS C compiler flags
1536 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1537 nonstandard directory
<lib dir
>
1538 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1539 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1540 you have headers
in a nonstandard directory
<include dir
>
1541 CXX C
++ compiler
command
1542 CXXFLAGS C
++ compiler flags
1544 CXXCPP C
++ preprocessor
1545 F77 Fortran
77 compiler
command
1546 FFLAGS Fortran
77 compiler flags
1547 PKG_CONFIG path to pkg-config utility
1549 C compiler flags
for BARRY
, overriding pkg-config
1550 BARRY_LIBS linker flags
for BARRY
, overriding pkg-config
1552 C compiler flags
for BARRYBACKUP
, overriding pkg-config
1554 linker flags
for BARRYBACKUP
, overriding pkg-config
1556 C compiler flags
for GTKMM
, overriding pkg-config
1557 GTKMM_LIBS linker flags
for GTKMM
, overriding pkg-config
1559 Use these variables to override the choices made by
`configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1562 Report bugs to <barry-devel@lists.sourceforge.net>.
1567 if test "$ac_init_help" = "recursive"; then
1568 # If there are subdirs, report their specific --help.
1569 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1570 test -d "$ac_dir" || continue
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1590 .) # We are building in place.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1614 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1623 barry-backup configure 0.17
1624 generated by GNU Autoconf 2.61
1626 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1627 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1628 This configure script is free software; the Free Software Foundation
1629 gives unlimited permission to copy, distribute and modify it.
1633 cat >config.log <<_ACEOF
1634 This file contains any messages produced by compilers while
1635 running configure, to aid debugging if configure makes a mistake.
1637 It was created by barry-backup $as_me 0.17, which was
1638 generated by GNU Autoconf 2.61. Invocation command line was
1650 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1651 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1652 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1653 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1654 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1656 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1657 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1659 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1660 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1661 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1662 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1663 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1664 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1665 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 echo "PATH: $as_dir"
1690 # Keep a trace of the command line.
1691 # Strip out --no-create and --no-recursion so they do not pile up.
1692 # Strip out --silent because we don't want to record it for future runs.
1693 # Also quote any args containing shell meta-characters.
1694 # Make two passes to allow for proper duplicate-argument suppression.
1698 ac_must_keep_next=false
1704 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1705 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1706 | -silent | --silent | --silen | --sile | --sil)
1709 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1712 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1714 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1715 if test $ac_must_keep_next = true; then
1716 ac_must_keep_next=false # Got value, back to normal.
1719 *=* | --config-cache | -C | -disable-* | --disable-* \
1720 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1721 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1722 | -with-* | --with-* | -without-* | --without-* | --x)
1723 case "$ac_configure_args0 " in
1724 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1727 -* ) ac_must_keep_next=true ;;
1730 ac_configure_args="$ac_configure_args '$ac_arg'"
1735 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1736 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1738 # When interrupted or exit'd, cleanup temporary files, and complete
1739 # config.log. We remove comments because anyway the quotes in there
1740 # would cause problems or look ugly.
1741 # WARNING: Use '\'' to represent an apostrophe within the trap.
1742 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1743 trap 'exit_status=$?
1744 # Save into config.log some information that might help in debugging.
1749 ## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##
1754 # The following way of writing the cache mishandles newlines in values,
1756 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1757 eval ac_val=\$$ac_var
1761 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1762 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1765 _ | IFS | as_nl) ;; #(
1766 *) $as_unset $ac_var ;;
1771 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1786 ## ----------------- ##
1787 ## Output variables. ##
1788 ## ----------------- ##
1791 for ac_var in $ac_subst_vars
1793 eval ac_val=\$$ac_var
1795 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1797 echo "$ac_var='\''$ac_val'\''"
1801 if test -n "$ac_subst_files"; then
1803 ## ------------------- ##
1804 ## File substitutions. ##
1805 ## ------------------- ##
1808 for ac_var in $ac_subst_files
1810 eval ac_val=\$$ac_var
1812 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814 echo "$ac_var='\''$ac_val'\''"
1819 if test -s confdefs.h; then
1829 test "$ac_signal" != 0 &&
1830 echo "$as_me: caught signal $ac_signal"
1831 echo "$as_me: exit $exit_status"
1833 rm -f core *.core core.conftest.* &&
1834 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1837 for ac_signal in 1 2 13 15; do
1838 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1842 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1843 rm -f -r conftest* confdefs.h
1845 # Predefined preprocessor variables.
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_NAME "$PACKAGE_NAME"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_STRING "$PACKAGE_STRING"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1872 # Let the site file select an alternate cache file if it wants to.
1873 # Prefer explicitly selected file to automatically selected ones.
1874 if test -n "$CONFIG_SITE"; then
1875 set x "$CONFIG_SITE"
1876 elif test "x$prefix" != xNONE; then
1877 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1879 set x "$ac_default_prefix/share/config.site" \
1880 "$ac_default_prefix/etc/config.site"
1885 if test -r "$ac_site_file"; then
1886 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1887 echo "$as_me: loading site script $ac_site_file" >&6;}
1888 sed 's/^/| /' "$ac_site_file" >&5
1893 if test -r "$cache_file"; then
1894 # Some versions of bash will fail to source /dev/null (special
1895 # files actually), so we avoid doing that.
1896 if test -f "$cache_file"; then
1897 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1898 echo "$as_me: loading cache $cache_file" >&6;}
1900 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1901 *) . "./$cache_file";;
1905 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1906 echo "$as_me: creating cache $cache_file" >&6;}
1910 gt_needs="$gt_needs "
1911 ac_header_list="$ac_header_list sys/time.h"
1912 ac_header_list="$ac_header_list unistd.h"
1913 ac_func_list="$ac_func_list alarm"
1914 # Check that the precious variables saved in the cache have kept the same
1916 ac_cache_corrupted=false
1917 for ac_var in $ac_precious_vars; do
1918 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1919 eval ac_new_set=\$ac_env_${ac_var}_set
1920 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1921 eval ac_new_val=\$ac_env_${ac_var}_value
1922 case $ac_old_set,$ac_new_set in
1924 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1925 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1926 ac_cache_corrupted=: ;;
1928 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1929 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1933 if test "x$ac_old_val" != "x$ac_new_val"; then
1934 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1935 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1936 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1937 echo "$as_me: former value
: $ac_old_val" >&2;}
1938 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1939 echo "$as_me: current value
: $ac_new_val" >&2;}
1940 ac_cache_corrupted=:
1943 # Pass precious variables to config.status.
1944 if test "$ac_new_set" = set; then
1946 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1947 *) ac_arg=$ac_var=$ac_new_val ;;
1949 case " $ac_configure_args " in
1950 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1951 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1955 if $ac_cache_corrupted; then
1956 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1957 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1958 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1959 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1960 { (exit 1); exit 1; }; }
1988 ac_cpp='$CPP $CPPFLAGS'
1989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1994 #AM_CONFIG_HEADER(config.h)
1996 ac_config_headers="$ac_config_headers config.h:config.h.in"
1999 for ac_dir in . "$srcdir"/.; do
2000 if test -f "$ac_dir/install-sh"; then
2002 ac_install_sh="$ac_aux_dir/install-sh -c"
2004 elif test -f "$ac_dir/install.sh"; then
2006 ac_install_sh="$ac_aux_dir/install.sh -c"
2008 elif test -f "$ac_dir/shtool"; then
2010 ac_install_sh="$ac_aux_dir/shtool install -c"
2014 if test -z "$ac_aux_dir"; then
2015 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
2016 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
2017 { (exit 1); exit 1; }; }
2020 # These three variables are undocumented and unsupported,
2021 # and are intended to be withdrawn in a future Autoconf release.
2022 # They can cause serious problems if a builder's source tree is in a directory
2023 # whose full name contains unusual characters.
2024 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2025 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2026 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2030 am__api_version='1.10'
2032 # Find a good install program. We prefer a C program (faster),
2033 # so one script is as good as another. But avoid the broken or
2034 # incompatible versions:
2035 # SysV /etc/install, /usr/sbin/install
2036 # SunOS /usr/etc/install
2037 # IRIX /sbin/install
2039 # AmigaOS /C/install, which installs bootblocks on floppy discs
2040 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2041 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2042 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2043 # OS/2's system install, which has a completely different semantic
2044 # ./install, which can be erroneously created by make from ./install.sh.
2045 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2046 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2047 if test -z "$INSTALL"; then
2048 if test "${ac_cv_path_install+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 # Account for people who put trailing slashes in PATH elements.
2058 ./ | .// | /cC/* | \
2059 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2060 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2063 # OSF1 and SCO ODT 3.0 have their own names for install.
2064 # Don't use installbsd from OSF since it installs stuff as root
2066 for ac_prog in ginstall scoinst install; do
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2069 if test $ac_prog = install &&
2070 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2071 # AIX install. It has an incompatible calling convention.
2073 elif test $ac_prog = install &&
2074 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2075 # program-specific install script used by HP pwplus--don't use.
2078 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2091 if test "${ac_cv_path_install+set}" = set; then
2092 INSTALL=$ac_cv_path_install
2094 # As a last resort, use the slow shell script. Don't cache a
2095 # value for INSTALL within a source directory, because that will
2096 # break other packages using the cache if that directory is
2097 # removed, or if the value is a relative name.
2098 INSTALL=$ac_install_sh
2101 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2102 echo "${ECHO_T}$INSTALL" >&6; }
2104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105 # It thinks the first close brace ends the variable substitution.
2106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2110 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2112 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2113 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2116 echo timestamp > conftest.file
2117 # Do `set' in a subshell so we don't clobber the current shell
's
2118 # arguments. Must try -L first in case configure is actually a
2119 # symlink; some systems play weird games with the mod time of symlinks
2120 # (eg FreeBSD returns the mod time of the symlink's containing
2123 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2124 if test "$*" = "X"; then
2126 set X
`ls -t $srcdir/configure conftest.file`
2129 if test "$*" != "X $srcdir/configure conftest.file" \
2130 && test "$*" != "X conftest.file $srcdir/configure"; then
2132 # If neither matched, then we have a broken ls. This can happen
2133 # if, for instance, CONFIG_SHELL is bash and it inherits a
2134 # broken ls alias from the environment. This has actually
2135 # happened. Such a system could not be considered "sane".
2136 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2137 alias in your environment" >&5
2138 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2139 alias in your environment" >&2;}
2140 { (exit 1); exit 1; }; }
2143 test "$2" = conftest.
file
2149 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2150 Check your system clock" >&5
2151 echo "$as_me: error: newly created file is older than distributed files!
2152 Check your system clock" >&2;}
2153 { (exit 1); exit 1; }; }
2155 { echo "$as_me:$LINENO: result: yes" >&5
2156 echo "${ECHO_T}yes" >&6; }
2157 test "$program_prefix" != NONE
&&
2158 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2159 # Use a double $ so make ignores it.
2160 test "$program_suffix" != NONE
&&
2161 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2162 # Double any \ or $. echo might interpret backslashes.
2163 # By default was `s,x,x', remove it if useless.
2164 cat <<\_ACEOF
>conftest.
sed
2165 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2167 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2170 # expand $ac_aux_dir to an absolute path
2171 am_aux_dir
=`cd $ac_aux_dir && pwd`
2173 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2174 # Use eval to expand $SHELL
2175 if eval "$MISSING --run true"; then
2176 am_missing_run
="$MISSING --run "
2179 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2180 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2183 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2184 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2185 if test -z "$MKDIR_P"; then
2186 if test "${ac_cv_path_mkdir+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2193 test -z "$as_dir" && as_dir
=.
2194 for ac_prog
in mkdir gmkdir
; do
2195 for ac_exec_ext
in '' $ac_executable_extensions; do
2196 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2197 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2198 'mkdir (GNU coreutils) '* | \
2199 'mkdir (coreutils) '* | \
2200 'mkdir (fileutils) '4.1*)
2201 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2211 if test "${ac_cv_path_mkdir+set}" = set; then
2212 MKDIR_P
="$ac_cv_path_mkdir -p"
2214 # As a last resort, use the slow shell script. Don't cache a
2215 # value for MKDIR_P within a source directory, because that will
2216 # break other packages using the cache if that directory is
2217 # removed, or if the value is a relative name.
2218 test -d .
/--version && rmdir .
/--version
2219 MKDIR_P
="$ac_install_sh -d"
2222 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2223 echo "${ECHO_T}$MKDIR_P" >&6; }
2227 [\\/$
]* | ?
:[\\/]*) ;;
2228 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2231 for ac_prog
in gawk mawk nawk
awk
2233 # Extract the first word of "$ac_prog", so it can be a program name with args.
2234 set dummy
$ac_prog; ac_word
=$2
2235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237 if test "${ac_cv_prog_AWK+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 if test -n "$AWK"; then
2241 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir
=.
2248 for ac_exec_ext
in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_AWK
="$ac_prog"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 if test -n "$AWK"; then
2262 { echo "$as_me:$LINENO: result: $AWK" >&5
2263 echo "${ECHO_T}$AWK" >&6; }
2265 { echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6; }
2270 test -n "$AWK" && break
2273 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2274 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2275 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2276 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 cat >conftest.
make <<\_ACEOF
2282 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2284 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2285 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2287 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2289 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2293 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2294 { echo "$as_me:$LINENO: result: yes" >&5
2295 echo "${ECHO_T}yes" >&6; }
2298 { echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6; }
2300 SET_MAKE
="MAKE=${MAKE-make}"
2303 rm -rf .tst
2>/dev
/null
2304 mkdir .tst
2>/dev
/null
2305 if test -d .tst
; then
2310 rmdir .tst
2>/dev
/null
2312 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2313 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2314 # is not polluted with repeated "-I."
2315 am__isrc
=' -I$(srcdir)'
2316 # test to see if srcdir already configured
2317 if test -f $srcdir/config.status
; then
2318 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2319 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2320 { (exit 1); exit 1; }; }
2324 # test whether we have cygpath
2325 if test -z "$CYGPATH_W"; then
2326 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2327 CYGPATH_W
='cygpath -w'
2334 # Define the identity of the package.
2335 PACKAGE
='barry-backup'
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE "$PACKAGE"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define VERSION "$VERSION"
2348 # Some tools Automake needs.
2350 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2353 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2356 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2359 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2362 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2364 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2366 # Installed binaries are usually stripped using `strip' when the user
2367 # run `make install-strip'. However `strip' might not be the right
2368 # tool to use in cross-compilation environments, therefore Automake
2369 # will honor the `STRIP' environment variable to overrule this program.
2370 if test "$cross_compiling" != no
; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2373 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_STRIP+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 if test -n "$STRIP"; then
2380 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 STRIP
=$ac_cv_prog_STRIP
2400 if test -n "$STRIP"; then
2401 { echo "$as_me:$LINENO: result: $STRIP" >&5
2402 echo "${ECHO_T}$STRIP" >&6; }
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2410 if test -z "$ac_cv_prog_STRIP"; then
2412 # Extract the first word of "strip", so it can be a program name with args.
2413 set dummy strip
; ac_word
=$2
2414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 if test -n "$ac_ct_STRIP"; then
2420 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir
=.
2427 for ac_exec_ext
in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_ac_ct_STRIP
="strip"
2430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2440 if test -n "$ac_ct_STRIP"; then
2441 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2442 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2448 if test "x$ac_ct_STRIP" = x
; then
2451 case $cross_compiling:$ac_tool_warned in
2453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2454 whose name does not start with the host triplet. If you think this
2455 configuration is useful to you, please write to autoconf@gnu.org." >&5
2456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2457 whose name does not start with the host triplet. If you think this
2458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2459 ac_tool_warned
=yes ;;
2464 STRIP
="$ac_cv_prog_STRIP"
2468 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2470 # We need awk for the "check" target. The system "awk" is bad on
2472 # Always define AMTAR for backward compatibility.
2474 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2476 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2484 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2485 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
2486 # Check whether --enable-nls was given.
2487 if test "${enable_nls+set}" = set; then
2488 enableval
=$enable_nls; USE_NLS
=$enableval
2493 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
2494 echo "${ECHO_T}$USE_NLS" >&6; }
2499 GETTEXT_MACRO_VERSION
=0.17
2504 # Prepare PATH_SEPARATOR.
2505 # The user is always right.
2506 if test "${PATH_SEPARATOR+set}" != set; then
2507 echo "#! /bin/sh" >conf$$.sh
2508 echo "exit 0" >>conf$$.sh
2510 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2518 # Find out how to test for executable files. Don't use a zero-byte file,
2519 # as systems may use methods other than mode bits to determine executability.
2520 cat >conf$$.
file <<_ASEOF
2524 chmod +x conf$$.
file
2525 if test -x conf$$.
file >/dev
/null
2>&1; then
2526 ac_executable_p
="test -x"
2528 ac_executable_p
="test -f"
2532 # Extract the first word of "msgfmt", so it can be a program name with args.
2533 set dummy msgfmt
; ac_word
=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_path_MSGFMT+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
2544 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2545 for ac_dir
in $PATH; do
2547 test -z "$ac_dir" && ac_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2550 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2551 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
2552 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2553 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
2560 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
2564 MSGFMT
="$ac_cv_path_MSGFMT"
2565 if test "$MSGFMT" != ":"; then
2566 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
2567 echo "${ECHO_T}$MSGFMT" >&6; }
2569 { echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6; }
2573 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2574 set dummy gmsgfmt
; ac_word
=$2
2575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2577 if test "${ac_cv_path_GMSGFMT+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
2593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
2604 GMSGFMT
=$ac_cv_path_GMSGFMT
2605 if test -n "$GMSGFMT"; then
2606 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2607 echo "${ECHO_T}$GMSGFMT" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2616 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
2617 *) MSGFMT_015
=$MSGFMT ;;
2620 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2621 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
2622 *) GMSGFMT_015
=$GMSGFMT ;;
2627 # Prepare PATH_SEPARATOR.
2628 # The user is always right.
2629 if test "${PATH_SEPARATOR+set}" != set; then
2630 echo "#! /bin/sh" >conf$$.sh
2631 echo "exit 0" >>conf$$.sh
2633 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2641 # Find out how to test for executable files. Don't use a zero-byte file,
2642 # as systems may use methods other than mode bits to determine executability.
2643 cat >conf$$.
file <<_ASEOF
2647 chmod +x conf$$.
file
2648 if test -x conf$$.
file >/dev
/null
2>&1; then
2649 ac_executable_p
="test -x"
2651 ac_executable_p
="test -f"
2655 # Extract the first word of "xgettext", so it can be a program name with args.
2656 set dummy xgettext
; ac_word
=$2
2657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2659 if test "${ac_cv_path_XGETTEXT+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
2667 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2668 for ac_dir
in $PATH; do
2670 test -z "$ac_dir" && ac_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2673 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2674 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
2675 (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
2676 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
2683 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
2687 XGETTEXT
="$ac_cv_path_XGETTEXT"
2688 if test "$XGETTEXT" != ":"; then
2689 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2690 echo "${ECHO_T}$XGETTEXT" >&6; }
2692 { echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6; }
2698 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2699 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
2700 *) XGETTEXT_015
=$XGETTEXT ;;
2705 # Prepare PATH_SEPARATOR.
2706 # The user is always right.
2707 if test "${PATH_SEPARATOR+set}" != set; then
2708 echo "#! /bin/sh" >conf$$.sh
2709 echo "exit 0" >>conf$$.sh
2711 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2719 # Find out how to test for executable files. Don't use a zero-byte file,
2720 # as systems may use methods other than mode bits to determine executability.
2721 cat >conf$$.
file <<_ASEOF
2725 chmod +x conf$$.
file
2726 if test -x conf$$.
file >/dev
/null
2>&1; then
2727 ac_executable_p
="test -x"
2729 ac_executable_p
="test -f"
2733 # Extract the first word of "msgmerge", so it can be a program name with args.
2734 set dummy msgmerge
; ac_word
=$2
2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
2745 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2746 for ac_dir
in $PATH; do
2748 test -z "$ac_dir" && ac_dir
=.
2749 for ac_exec_ext
in '' $ac_executable_extensions; do
2750 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2751 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2752 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
2753 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
2760 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
2764 MSGMERGE
="$ac_cv_path_MSGMERGE"
2765 if test "$MSGMERGE" != ":"; then
2766 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2767 echo "${ECHO_T}$MSGMERGE" >&6; }
2769 { echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6; }
2774 test -n "$localedir" || localedir
='${datadir}/locale'
2777 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
2780 ac_config_commands
="$ac_config_commands po-directories"
2784 if test "X$prefix" = "XNONE"; then
2785 acl_final_prefix
="$ac_default_prefix"
2787 acl_final_prefix
="$prefix"
2789 if test "X$exec_prefix" = "XNONE"; then
2790 acl_final_exec_prefix
='${prefix}'
2792 acl_final_exec_prefix
="$exec_prefix"
2794 acl_save_prefix
="$prefix"
2795 prefix
="$acl_final_prefix"
2796 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
2797 prefix
="$acl_save_prefix"
2799 DEPDIR
="${am__leading_dot}deps"
2801 ac_config_commands
="$ac_config_commands depfiles"
2804 am_make
=${MAKE-make}
2805 cat > confinc
<< 'END'
2810 # If we don't find an include directive, just comment out the code.
2811 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2812 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2816 # First try GNU make style include.
2817 echo "include confinc" > confmf
2818 # We grep out `Entering directory' and `Leaving directory'
2819 # messages which can occur if `w' ends up in MAKEFLAGS.
2820 # In particular we don't look at `^make:' because GNU make might
2821 # be invoked under some other name (usually "gmake"), in which
2822 # case it prints its new name instead of `make'.
2823 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2828 # Now try BSD make style include.
2829 if test "$am__include" = "#"; then
2830 echo '.include "confinc"' > confmf
2831 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2832 am__include
=.include
2839 { echo "$as_me:$LINENO: result: $_am_result" >&5
2840 echo "${ECHO_T}$_am_result" >&6; }
2841 rm -f confinc confmf
2843 # Check whether --enable-dependency-tracking was given.
2844 if test "${enable_dependency_tracking+set}" = set; then
2845 enableval
=$enable_dependency_tracking;
2848 if test "x$enable_dependency_tracking" != xno
; then
2849 am_depcomp
="$ac_aux_dir/depcomp"
2852 if test "x$enable_dependency_tracking" != xno; then
2862 ac_cpp
='$CPP $CPPFLAGS'
2863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2868 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2871 if test "${ac_cv_prog_CC+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 if test -n "$CC"; then
2875 ac_cv_prog_CC
="$CC" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test -n "$CC"; then
2896 { echo "$as_me:$LINENO: result: $CC" >&5
2897 echo "${ECHO_T}$CC" >&6; }
2899 { echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6; }
2905 if test -z "$ac_cv_prog_CC"; then
2907 # Extract the first word of "gcc", so it can be a program name with args.
2908 set dummy gcc
; ac_word
=$2
2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 if test -n "$ac_ct_CC"; then
2915 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_ac_ct_CC
="gcc"
2925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2935 if test -n "$ac_ct_CC"; then
2936 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2937 echo "${ECHO_T}$ac_ct_CC" >&6; }
2939 { echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6; }
2943 if test "x$ac_ct_CC" = x
; then
2946 case $cross_compiling:$ac_tool_warned in
2948 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2949 whose name does not start with the host triplet. If you think this
2950 configuration is useful to you, please write to autoconf@gnu.org." >&5
2951 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2952 whose name does not start with the host triplet. If you think this
2953 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2954 ac_tool_warned
=yes ;;
2962 if test -z "$CC"; then
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2965 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2968 if test "${ac_cv_prog_CC+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC
="$CC" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 if test -n "$CC"; then
2993 { echo "$as_me:$LINENO: result: $CC" >&5
2994 echo "${ECHO_T}$CC" >&6; }
2996 { echo "$as_me:$LINENO: result: no" >&5
2997 echo "${ECHO_T}no" >&6; }
3003 if test -z "$CC"; then
3004 # Extract the first word of "cc", so it can be a program name with args.
3005 set dummy cc
; ac_word
=$2
3006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3008 if test "${ac_cv_prog_CC+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 if test -n "$CC"; then
3012 ac_cv_prog_CC
="$CC" # Let the user override the test.
3015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir
=.
3020 for ac_exec_ext
in '' $ac_executable_extensions; do
3021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3022 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3023 ac_prog_rejected
=yes
3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test $ac_prog_rejected = yes; then
3035 # We found a bogon in the path, so make sure we never use it.
3036 set dummy
$ac_cv_prog_CC
3038 if test $# != 0; then
3039 # We chose a different compiler from the bogus one.
3040 # However, it has the same basename, so the bogon will be chosen
3041 # first if we set CC to just the basename; use the full file name.
3043 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3049 if test -n "$CC"; then
3050 { echo "$as_me:$LINENO: result: $CC" >&5
3051 echo "${ECHO_T}$CC" >&6; }
3053 { echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6; }
3059 if test -z "$CC"; then
3060 if test -n "$ac_tool_prefix"; then
3061 for ac_prog
in cl.exe
3063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3064 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3067 if test "${ac_cv_prog_CC+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC
="$CC" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test -n "$CC"; then
3092 { echo "$as_me:$LINENO: result: $CC" >&5
3093 echo "${ECHO_T}$CC" >&6; }
3095 { echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6; }
3100 test -n "$CC" && break
3103 if test -z "$CC"; then
3105 for ac_prog
in cl.exe
3107 # Extract the first word of "$ac_prog", so it can be a program name with args.
3108 set dummy
$ac_prog; ac_word
=$2
3109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 if test -n "$ac_ct_CC"; then
3115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir
=.
3122 for ac_exec_ext
in '' $ac_executable_extensions; do
3123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124 ac_cv_prog_ac_ct_CC
="$ac_prog"
3125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3135 if test -n "$ac_ct_CC"; then
3136 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3137 echo "${ECHO_T}$ac_ct_CC" >&6; }
3139 { echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6; }
3144 test -n "$ac_ct_CC" && break
3147 if test "x$ac_ct_CC" = x
; then
3150 case $cross_compiling:$ac_tool_warned in
3152 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3153 whose name does not start with the host triplet. If you think this
3154 configuration is useful to you, please write to autoconf@gnu.org." >&5
3155 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3156 whose name does not start with the host triplet. If you think this
3157 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3158 ac_tool_warned
=yes ;;
3167 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3168 See \`config.log' for more details." >&5
3169 echo "$as_me: error: no acceptable C compiler found in \$PATH
3170 See \`config.log' for more details." >&2;}
3171 { (exit 1); exit 1; }; }
3173 # Provide some information about the compiler.
3174 echo "$as_me:$LINENO: checking for C compiler version" >&5
3175 ac_compiler
=`set X $ac_compile; echo $2`
3176 { (ac_try
="$ac_compiler --version >&5"
3178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3182 (eval "$ac_compiler --version >&5") 2>&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }
3186 { (ac_try="$ac_compiler -v >&5"
3188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3189 *) ac_try_echo
=$ac_try;;
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_compiler -v >&5") 2>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }
3196 { (ac_try
="$ac_compiler -V >&5"
3198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compiler -V >&5") 2>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }
3207 cat >conftest.$ac_ext <<_ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3222 ac_clean_files_save=$ac_clean_files
3223 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3224 # Try to create an executable without -o first, disregard a.out.
3225 # It will help us diagnose broken compilers, and finding out an intuition
3227 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3228 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3229 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3231 # List of possible output files, starting from the most likely.
3232 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3233 # only as a last resort. b.out is created by i960 compilers.
3234 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3236 # The IRIX 6 linker writes into existing files which may not be
3237 # executable, retaining their permissions. Remove them first so a
3238 # subsequent execution test works.
3240 for ac_file in $ac_files
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3244 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3249 if { (ac_try="$ac_link_default"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3255 (eval "$ac_link_default") 2>&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; then
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3264 for ac_file
in $ac_files ''
3266 test -f "$ac_file" ||
continue
3268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3271 # We found the default executable, but exeext='' is most
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3277 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3289 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3295 { echo "$as_me:$LINENO: result: $ac_file" >&5
3296 echo "${ECHO_T}$ac_file" >&6; }
3297 if test -z "$ac_file"; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3301 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3302 See \`config.log' for more details." >&5
3303 echo "$as_me: error: C compiler cannot create executables
3304 See \`config.log' for more details." >&2;}
3305 { (exit 77); exit 77; }; }
3308 ac_exeext
=$ac_cv_exeext
3310 # Check that the compiler produces executables we can run. If not, either
3311 # the compiler is broken, or we cross compile.
3312 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3313 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3314 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3315 # If not cross compiling, check that we can run a simple program.
3316 if test "$cross_compiling" != yes; then
3317 if { ac_try
='./$ac_file'
3318 { (case "(($ac_try" in
3319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3323 (eval "$ac_try") 2>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3329 if test "$cross_compiling" = maybe; then
3332 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3333 If you meant to cross compile, use \`--host'.
3334 See \`config.log' for more details.
" >&5
3335 echo "$as_me: error
: cannot run C compiled programs.
3336 If you meant to cross compile
, use \
`--host'.
3337 See \`config.log
' for more details." >&2;}
3338 { (exit 1); exit 1; }; }
3342 { echo "$as_me:$LINENO: result: yes" >&5
3343 echo "${ECHO_T}yes" >&6; }
3345 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3346 ac_clean_files=$ac_clean_files_save
3347 # Check that the compiler produces executables we can run. If not, either
3348 # the compiler is broken, or we cross compile.
3349 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3350 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3351 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3352 echo "${ECHO_T}$cross_compiling" >&6; }
3354 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3355 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3356 if { (ac_try="$ac_link"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_link") 2>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; then
3366 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3367 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3368 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3370 for ac_file
in conftest.exe conftest conftest.
*; do
3371 test -f "$ac_file" ||
continue
3373 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3374 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3380 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3381 See \`config.log' for more details." >&5
3382 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details." >&2;}
3384 { (exit 1); exit 1; }; }
3387 rm -f conftest
$ac_cv_exeext
3388 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3389 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3391 rm -f conftest.
$ac_ext
3392 EXEEXT
=$ac_cv_exeext
3394 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3395 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3396 if test "${ac_cv_objext+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 cat >conftest.
$ac_ext <<_ACEOF
3402 cat confdefs.h
>>conftest.
$ac_ext
3403 cat >>conftest.
$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3414 rm -f conftest.o conftest.obj
3415 if { (ac_try
="$ac_compile"
3417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_compile") 2>&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; then
3425 for ac_file in conftest.o conftest.obj conftest.*; do
3426 test -f "$ac_file" || continue;
3428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3429 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.$ac_ext >&5
3437 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3438 See \`config.log
' for more details." >&5
3439 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3440 See \`config.log' for more details.
" >&2;}
3441 { (exit 1); exit 1; }; }
3444 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3446 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3447 echo "${ECHO_T}$ac_cv_objext" >&6; }
3448 OBJEXT=$ac_cv_objext
3450 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3451 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3452 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3453 echo $ECHO_N "(cached
) $ECHO_C" >&6
3455 cat >conftest.$ac_ext <<_ACEOF
3458 cat confdefs.h >>conftest.$ac_ext
3459 cat >>conftest.$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_c_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 echo "$as_me: failed program was
:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3502 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3504 GCC=`test $ac_compiler_gnu = yes && echo yes`
3505 ac_test_CFLAGS=${CFLAGS+set}
3506 ac_save_CFLAGS=$CFLAGS
3507 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3508 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3509 if test "${ac_cv_prog_cc_g+set}" = set; then
3510 echo $ECHO_N "(cached
) $ECHO_C" >&6
3512 ac_save_c_werror_flag=$ac_c_werror_flag
3513 ac_c_werror_flag=yes
3516 cat >conftest.$ac_ext <<_ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3531 rm -f conftest.$ac_objext
3532 if { (ac_try="$ac_compile"
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_compile") 2>conftest.er1
3540 grep -v '^ *+' conftest.er1 >conftest.err
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3544 (exit $ac_status); } && {
3545 test -z "$ac_c_werror_flag" ||
3546 test ! -s conftest.err
3547 } && test -s conftest.$ac_objext; then
3550 echo "$as_me: failed program was
:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3554 cat >conftest.$ac_ext <<_ACEOF
3557 cat confdefs.h >>conftest.$ac_ext
3558 cat >>conftest.$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3569 rm -f conftest.$ac_objext
3570 if { (ac_try="$ac_compile"
3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573 *) ac_try_echo=$ac_try;;
3575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3576 (eval "$ac_compile") 2>conftest.er1
3578 grep -v '^ *+' conftest.er1 >conftest.err
3580 cat conftest.err >&5
3581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3582 (exit $ac_status); } && {
3583 test -z "$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3585 } && test -s conftest.$ac_objext; then
3588 echo "$as_me: failed program was
:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 ac_c_werror_flag=$ac_save_c_werror_flag
3593 cat >conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3608 rm -f conftest.$ac_objext
3609 if { (ac_try="$ac_compile"
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3615 (eval "$ac_compile") 2>conftest.er1
3617 grep -v '^ *+' conftest.er1 >conftest.err
3619 cat conftest.err >&5
3620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3621 (exit $ac_status); } && {
3622 test -z "$ac_c_werror_flag" ||
3623 test ! -s conftest.err
3624 } && test -s conftest.$ac_objext; then
3627 echo "$as_me: failed program was
:" >&5
3628 sed 's/^/| /' conftest.$ac_ext >&5
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 ac_c_werror_flag=$ac_save_c_werror_flag
3642 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3643 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3644 if test "$ac_test_CFLAGS" = set; then
3645 CFLAGS=$ac_save_CFLAGS
3646 elif test $ac_cv_prog_cc_g = yes; then
3647 if test "$GCC" = yes; then
3653 if test "$GCC" = yes; then
3659 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3660 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3661 if test "${ac_cv_prog_cc_c89+set}" = set; then
3662 echo $ECHO_N "(cached
) $ECHO_C" >&6
3664 ac_cv_prog_cc_c89=no
3666 cat >conftest.$ac_ext <<_ACEOF
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3674 #include <sys/types.h>
3675 #include <sys/stat.h>
3676 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3677 struct buf { int x; };
3678 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3679 static char *e (p, i)
3685 static char *f (char * (*g) (char **, int), char **p, ...)
3690 s = g (p, va_arg (v,int));
3695 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3696 function prototypes and stuff, but not '\xHH' hex character constants.
3697 These don't provoke an error unfortunately, instead are silently treated
3698 as 'x'. The following induces an error, until -std is added to get
3699 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3700 array size at least. It's necessary to write '\x00'==0 to get something
3701 that's true only with -std. */
3702 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3704 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3705 inside strings and character constants. */
3707 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3709 int test (int i, double x);
3710 struct s1 {int (*f) (int a);};
3711 struct s2 {int (*f) (double a);};
3712 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3718 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3723 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3724 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3726 CC="$ac_save_CC $ac_arg"
3727 rm -f conftest.$ac_objext
3728 if { (ac_try="$ac_compile"
3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731 *) ac_try_echo=$ac_try;;
3733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3734 (eval "$ac_compile") 2>conftest.er1
3736 grep -v '^ *+' conftest.er1 >conftest.err
3738 cat conftest.err >&5
3739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3740 (exit $ac_status); } && {
3741 test -z "$ac_c_werror_flag" ||
3742 test ! -s conftest.err
3743 } && test -s conftest.$ac_objext; then
3744 ac_cv_prog_cc_c89=$ac_arg
3746 echo "$as_me: failed program was
:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5
3752 rm -f core conftest.err conftest.$ac_objext
3753 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3755 rm -f conftest.$ac_ext
3760 case "x
$ac_cv_prog_cc_c89" in
3762 { echo "$as_me:$LINENO: result
: none needed
" >&5
3763 echo "${ECHO_T}none needed
" >&6; } ;;
3765 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3766 echo "${ECHO_T}unsupported
" >&6; } ;;
3768 CC="$CC $ac_cv_prog_cc_c89"
3769 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3770 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3775 ac_cpp='$CPP $CPPFLAGS'
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3780 depcc="$CC" am_compiler_list=
3782 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3783 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3785 echo $ECHO_N "(cached
) $ECHO_C" >&6
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788 # We make a subdir and do the tests there. Otherwise we can end up
3789 # making bogus files that we don't know about and never remove. For
3790 # instance it was reported that on HP-UX the gcc test will end up
3791 # making a dummy file named `D' -- because `-MD' means `put the output
3794 # Copy depcomp to subdir because otherwise we won't find it if we're
3795 # using a relative directory.
3796 cp "$am_depcomp" conftest.dir
3798 # We will build objects and dependencies in a subdirectory because
3799 # it helps to detect inapplicable dependency modes. For instance
3800 # both Tru64's cc and ICC support -MD to output dependencies as a
3801 # side effect of compilation, but ICC will put the dependencies in
3802 # the current directory while Tru64 will put them in the object
3806 am_cv_CC_dependencies_compiler_type=none
3807 if test "$am_compiler_list" = ""; then
3808 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810 for depmode in $am_compiler_list; do
3811 # Setup a source with many dependencies, because some compilers
3812 # like to wrap large dependency lists on column 80 (with \), and
3813 # we should not choose a depcomp mode which is confused by this.
3815 # We need to recreate these files for each test, as the compiler may
3816 # overwrite some of them when testing with obscure command lines.
3817 # This happens at least with the AIX C compiler.
3819 for i in 1 2 3 4 5 6; do
3820 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3822 # Solaris 8's {/usr,}/bin/sh.
3823 touch sub/conftst$i.h
3825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3829 # after this tag, mechanisms are not by side-effect, so they'll
3830 # only be used when explicitly requested
3831 if test "x
$enable_dependency_tracking" = xyes; then
3839 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3840 # mode. It turns out that the SunPro C++ compiler does not properly
3841 # handle `-M -o', and we need to detect this.
3842 if depmode=$depmode \
3843 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3844 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3845 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3846 >/dev/null 2>conftest.err &&
3847 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3848 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3849 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3850 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3851 # icc doesn't choke on unknown options, it will just issue warnings
3852 # or remarks (even with -Werror). So we grep stderr for any message
3853 # that says an option was ignored or not supported.
3854 # When given -MP, icc 7.0 and 7.1 complain thusly:
3855 # icc: Command line warning: ignoring option '-M'; no argument required
3856 # The diagnosis changed in icc 8.0:
3857 # icc: Command line remark: option '-MP' not supported
3858 if (grep 'ignoring option' conftest.err ||
3859 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3860 am_cv_CC_dependencies_compiler_type=$depmode
3869 am_cv_CC_dependencies_compiler_type=none
3873 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3874 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3875 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3878 test "x
$enable_dependency_tracking" != xno \
3879 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3881 am__fastdepCC_FALSE='#'
3883 am__fastdepCC_TRUE='#'
3884 am__fastdepCC_FALSE=
3888 # Make sure we can run config.sub.
3889 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
3890 { { echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
3891 echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
3892 { (exit 1); exit 1; }; }
3894 { echo "$as_me:$LINENO: checking build system
type" >&5
3895 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6; }
3896 if test "${ac_cv_build+set}" = set; then
3897 echo $ECHO_N "(cached
) $ECHO_C" >&6
3899 ac_build_alias=$build_alias
3900 test "x
$ac_build_alias" = x &&
3901 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
3902 test "x
$ac_build_alias" = x &&
3903 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
3904 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
3905 { (exit 1); exit 1; }; }
3906 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
3907 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
3908 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
3909 { (exit 1); exit 1; }; }
3912 { echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
3913 echo "${ECHO_T}$ac_cv_build" >&6; }
3914 case $ac_cv_build in
3916 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
3917 echo "$as_me: error
: invalid value of canonical build
" >&2;}
3918 { (exit 1); exit 1; }; };;
3921 ac_save_IFS=$IFS; IFS='-'
3927 # Remember, the first character of IFS is used to create $*,
3928 # except with old shells:
3931 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3934 { echo "$as_me:$LINENO: checking
host system
type" >&5
3935 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6; }
3936 if test "${ac_cv_host+set}" = set; then
3937 echo $ECHO_N "(cached
) $ECHO_C" >&6
3939 if test "x
$host_alias" = x; then
3940 ac_cv_host=$ac_cv_build
3942 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
3943 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
3944 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
3945 { (exit 1); exit 1; }; }
3949 { echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
3950 echo "${ECHO_T}$ac_cv_host" >&6; }
3953 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
3954 echo "$as_me: error
: invalid value of canonical
host" >&2;}
3955 { (exit 1); exit 1; }; };;
3958 ac_save_IFS=$IFS; IFS='-'
3964 # Remember, the first character of IFS is used to create $*,
3965 # except with old shells:
3968 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3972 # Check whether --with-gnu-ld was given.
3973 if test "${with_gnu_ld+set}" = set; then
3974 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3979 # Prepare PATH_SEPARATOR.
3980 # The user is always right.
3981 if test "${PATH_SEPARATOR+set}" != set; then
3982 echo "#! /bin/sh" >conf$$.sh
3983 echo "exit 0" >>conf$$.sh
3985 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3993 if test "$GCC" = yes; then
3994 # Check if gcc -print-prog-name=ld gives a path.
3995 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3996 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
3999 # gcc leaves a trailing carriage return which upsets mingw
4000 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4002 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4005 # Accept absolute paths.
4006 [\\/]* |
[A-Za-z
]:[\\/]*)
4007 re_direlt
='/[^/][^/]*/\.\./'
4008 # Canonicalize the path of ld
4009 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4010 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4011 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4013 test -z "$LD" && LD
="$ac_prog"
4016 # If it fails, then pretend we aren't using GCC.
4020 # If it is relative, then search for the first ld in PATH.
4024 elif test "$with_gnu_ld" = yes; then
4025 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4026 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4028 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4029 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4031 if test "${acl_cv_path_LD+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 if test -z "$LD"; then
4035 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4036 for ac_dir
in $PATH; do
4037 test -z "$ac_dir" && ac_dir
=.
4038 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4039 acl_cv_path_LD
="$ac_dir/$ac_prog"
4040 # Check to see if the program is GNU ld. I'd rather use --version,
4041 # but apparently some GNU ld's only accept -v.
4042 # Break only if it was the GNU/non-GNU ld that we prefer.
4043 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4044 *GNU
* |
*'with BFD'*)
4045 test "$with_gnu_ld" != no
&& break ;;
4047 test "$with_gnu_ld" != yes && break ;;
4053 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
4057 LD
="$acl_cv_path_LD"
4058 if test -n "$LD"; then
4059 { echo "$as_me:$LINENO: result: $LD" >&5
4060 echo "${ECHO_T}$LD" >&6; }
4062 { echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6; }
4065 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4066 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4067 { (exit 1); exit 1; }; }
4068 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4069 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4070 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4074 case `$LD -v 2>&1 </dev/null` in
4075 *GNU
* |
*'with BFD'*)
4076 acl_cv_prog_gnu_ld
=yes ;;
4078 acl_cv_prog_gnu_ld
=no
;;
4081 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4082 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
4083 with_gnu_ld
=$acl_cv_prog_gnu_ld
4088 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
4089 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
4090 if test "${acl_cv_rpath+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
4095 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4101 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
4102 echo "${ECHO_T}$acl_cv_rpath" >&6; }
4104 acl_libext
="$acl_cv_libext"
4105 acl_shlibext
="$acl_cv_shlibext"
4106 acl_libname_spec
="$acl_cv_libname_spec"
4107 acl_library_names_spec
="$acl_cv_library_names_spec"
4108 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
4109 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
4110 acl_hardcode_direct
="$acl_cv_hardcode_direct"
4111 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
4112 # Check whether --enable-rpath was given.
4113 if test "${enable_rpath+set}" = set; then
4114 enableval
=$enable_rpath; :
4122 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4123 if test -n "$searchpath"; then
4124 acl_save_IFS
="${IFS= }"; IFS
=":"
4125 for searchdir
in $searchpath; do
4126 if test -d "$searchdir"; then
4127 case "$searchdir" in
4128 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
4129 *) searchdir
=`cd "$searchdir" && pwd`
4130 case "$searchdir" in
4131 */lib64
) acl_libdirstem
=lib64
;;
4149 acl_save_prefix
="$prefix"
4150 prefix
="$acl_final_prefix"
4151 acl_save_exec_prefix
="$exec_prefix"
4152 exec_prefix
="$acl_final_exec_prefix"
4154 eval additional_includedir
=\"$includedir\"
4155 eval additional_libdir
=\"$libdir\"
4157 exec_prefix
="$acl_save_exec_prefix"
4158 prefix
="$acl_save_prefix"
4161 # Check whether --with-libiconv-prefix was given.
4162 if test "${with_libiconv_prefix+set}" = set; then
4163 withval
=$with_libiconv_prefix;
4164 if test "X$withval" = "Xno"; then
4167 if test "X$withval" = "X"; then
4169 acl_save_prefix
="$prefix"
4170 prefix
="$acl_final_prefix"
4171 acl_save_exec_prefix
="$exec_prefix"
4172 exec_prefix
="$acl_final_exec_prefix"
4174 eval additional_includedir
=\"$includedir\"
4175 eval additional_libdir
=\"$libdir\"
4177 exec_prefix
="$acl_save_exec_prefix"
4178 prefix
="$acl_save_prefix"
4181 additional_includedir
="$withval/include"
4182 additional_libdir
="$withval/$acl_libdirstem"
4194 names_already_handled
=
4195 names_next_round
='iconv '
4196 while test -n "$names_next_round"; do
4197 names_this_round
="$names_next_round"
4199 for name
in $names_this_round; do
4201 for n
in $names_already_handled; do
4202 if test "$n" = "$name"; then
4207 if test -z "$already_handled"; then
4208 names_already_handled
="$names_already_handled $name"
4209 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4210 eval value
=\"\
$HAVE_LIB$uppername\"
4211 if test -n "$value"; then
4212 if test "$value" = yes; then
4213 eval value
=\"\
$LIB$uppername\"
4214 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
4215 eval value
=\"\
$LTLIB$uppername\"
4216 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
4225 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
4226 if test -n "$acl_shlibext"; then
4227 shrext
=".$acl_shlibext" # typically: shrext=.so
4231 if test $use_additional = yes; then
4232 dir
="$additional_libdir"
4233 if test -n "$acl_shlibext"; then
4234 if test -f "$dir/$libname$shrext"; then
4236 found_so
="$dir/$libname$shrext"
4238 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4239 ver
=`(cd "$dir" && \
4240 for f in "$libname$shrext".*; do echo "$f"; done \
4241 | sed -e "s,^$libname$shrext\\\\.,," \
4242 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4243 | sed 1q ) 2>/dev/null`
4244 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4246 found_so
="$dir/$libname$shrext.$ver"
4249 eval library_names
=\"$acl_library_names_spec\"
4250 for f
in $library_names; do
4251 if test -f "$dir/$f"; then
4260 if test "X$found_dir" = "X"; then
4261 if test -f "$dir/$libname.$acl_libext"; then
4263 found_a
="$dir/$libname.$acl_libext"
4266 if test "X$found_dir" != "X"; then
4267 if test -f "$dir/$libname.la"; then
4268 found_la
="$dir/$libname.la"
4272 if test "X$found_dir" = "X"; then
4273 for x
in $LDFLAGS $LTLIBICONV; do
4275 acl_save_prefix
="$prefix"
4276 prefix
="$acl_final_prefix"
4277 acl_save_exec_prefix
="$exec_prefix"
4278 exec_prefix
="$acl_final_exec_prefix"
4280 exec_prefix
="$acl_save_exec_prefix"
4281 prefix
="$acl_save_prefix"
4285 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4286 if test -n "$acl_shlibext"; then
4287 if test -f "$dir/$libname$shrext"; then
4289 found_so
="$dir/$libname$shrext"
4291 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4292 ver
=`(cd "$dir" && \
4293 for f in "$libname$shrext".*; do echo "$f"; done \
4294 | sed -e "s,^$libname$shrext\\\\.,," \
4295 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4296 | sed 1q ) 2>/dev/null`
4297 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4299 found_so
="$dir/$libname$shrext.$ver"
4302 eval library_names
=\"$acl_library_names_spec\"
4303 for f
in $library_names; do
4304 if test -f "$dir/$f"; then
4313 if test "X$found_dir" = "X"; then
4314 if test -f "$dir/$libname.$acl_libext"; then
4316 found_a
="$dir/$libname.$acl_libext"
4319 if test "X$found_dir" != "X"; then
4320 if test -f "$dir/$libname.la"; then
4321 found_la
="$dir/$libname.la"
4326 if test "X$found_dir" != "X"; then
4331 if test "X$found_dir" != "X"; then
4332 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4333 if test "X$found_so" != "X"; then
4334 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4335 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4338 for x
in $ltrpathdirs; do
4339 if test "X$x" = "X$found_dir"; then
4344 if test -z "$haveit"; then
4345 ltrpathdirs
="$ltrpathdirs $found_dir"
4347 if test "$acl_hardcode_direct" = yes; then
4348 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4350 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
4351 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4353 for x
in $rpathdirs; do
4354 if test "X$x" = "X$found_dir"; then
4359 if test -z "$haveit"; then
4360 rpathdirs
="$rpathdirs $found_dir"
4364 for x
in $LDFLAGS $LIBICONV; do
4366 acl_save_prefix
="$prefix"
4367 prefix
="$acl_final_prefix"
4368 acl_save_exec_prefix
="$exec_prefix"
4369 exec_prefix
="$acl_final_exec_prefix"
4371 exec_prefix
="$acl_save_exec_prefix"
4372 prefix
="$acl_save_prefix"
4374 if test "X$x" = "X-L$found_dir"; then
4379 if test -z "$haveit"; then
4380 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4382 if test "$acl_hardcode_minus_L" != no
; then
4383 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4385 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
4391 if test "X$found_a" != "X"; then
4392 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
4394 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4397 additional_includedir
=
4398 case "$found_dir" in
4399 */$acl_libdirstem |
*/$acl_libdirstem/)
4400 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4401 LIBICONV_PREFIX
="$basedir"
4402 additional_includedir
="$basedir/include"
4405 if test "X$additional_includedir" != "X"; then
4406 if test "X$additional_includedir" != "X/usr/include"; then
4408 if test "X$additional_includedir" = "X/usr/local/include"; then
4409 if test -n "$GCC"; then
4411 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
4415 if test -z "$haveit"; then
4416 for x
in $CPPFLAGS $INCICONV; do
4418 acl_save_prefix
="$prefix"
4419 prefix
="$acl_final_prefix"
4420 acl_save_exec_prefix
="$exec_prefix"
4421 exec_prefix
="$acl_final_exec_prefix"
4423 exec_prefix
="$acl_save_exec_prefix"
4424 prefix
="$acl_save_prefix"
4426 if test "X$x" = "X-I$additional_includedir"; then
4431 if test -z "$haveit"; then
4432 if test -d "$additional_includedir"; then
4433 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4439 if test -n "$found_la"; then
4440 save_libdir
="$libdir"
4442 */* |
*\\*) .
"$found_la" ;;
4443 *) .
"./$found_la" ;;
4445 libdir
="$save_libdir"
4446 for dep
in $dependency_libs; do
4449 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
4450 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4452 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4453 if test -n "$GCC"; then
4455 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
4459 if test -z "$haveit"; then
4461 for x
in $LDFLAGS $LIBICONV; do
4463 acl_save_prefix
="$prefix"
4464 prefix
="$acl_final_prefix"
4465 acl_save_exec_prefix
="$exec_prefix"
4466 exec_prefix
="$acl_final_exec_prefix"
4468 exec_prefix
="$acl_save_exec_prefix"
4469 prefix
="$acl_save_prefix"
4471 if test "X$x" = "X-L$additional_libdir"; then
4476 if test -z "$haveit"; then
4477 if test -d "$additional_libdir"; then
4478 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4482 for x
in $LDFLAGS $LTLIBICONV; do
4484 acl_save_prefix
="$prefix"
4485 prefix
="$acl_final_prefix"
4486 acl_save_exec_prefix
="$exec_prefix"
4487 exec_prefix
="$acl_final_exec_prefix"
4489 exec_prefix
="$acl_save_exec_prefix"
4490 prefix
="$acl_save_prefix"
4492 if test "X$x" = "X-L$additional_libdir"; then
4497 if test -z "$haveit"; then
4498 if test -d "$additional_libdir"; then
4499 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4506 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
4507 if test "$enable_rpath" != no
; then
4509 for x
in $rpathdirs; do
4510 if test "X$x" = "X$dir"; then
4515 if test -z "$haveit"; then
4516 rpathdirs
="$rpathdirs $dir"
4519 for x
in $ltrpathdirs; do
4520 if test "X$x" = "X$dir"; then
4525 if test -z "$haveit"; then
4526 ltrpathdirs
="$ltrpathdirs $dir"
4531 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4534 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4537 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
4538 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4544 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
4545 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4551 if test "X$rpathdirs" != "X"; then
4552 if test -n "$acl_hardcode_libdir_separator"; then
4554 for found_dir
in $rpathdirs; do
4555 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
4557 acl_save_libdir
="$libdir"
4559 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
4560 libdir
="$acl_save_libdir"
4561 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4563 for found_dir
in $rpathdirs; do
4564 acl_save_libdir
="$libdir"
4566 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
4567 libdir
="$acl_save_libdir"
4568 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4572 if test "X$ltrpathdirs" != "X"; then
4573 for found_dir
in $ltrpathdirs; do
4574 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4603 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
4604 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
4605 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 gt_save_LIBS
="$LIBS"
4609 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 #include <CoreFoundation/CFPreferences.h>
4620 CFPreferencesCopyAppValue(NULL, NULL)
4625 rm -f conftest.
$ac_objext conftest
$ac_exeext
4626 if { (ac_try
="$ac_link"
4628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4629 *) ac_try_echo=$ac_try;;
4631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4632 (eval "$ac_link") 2>conftest.er1
4634 grep -v '^ *+' conftest.er1 >conftest.err
4636 cat conftest.err >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } && {
4639 test -z "$ac_c_werror_flag" ||
4640 test ! -s conftest.err
4641 } && test -s conftest$ac_exeext &&
4642 $as_test_x conftest$ac_exeext; then
4643 gt_cv_func_CFPreferencesCopyAppValue=yes
4645 echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.$ac_ext >&5
4648 gt_cv_func_CFPreferencesCopyAppValue=no
4651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4652 conftest$ac_exeext conftest.$ac_ext
4653 LIBS="$gt_save_LIBS"
4655 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
4656 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
4657 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
4659 cat >>confdefs.h <<\_ACEOF
4660 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4664 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
4665 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
4666 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 gt_save_LIBS="$LIBS"
4670 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4671 cat >conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 #include <CoreFoundation/CFLocale.h>
4681 CFLocaleCopyCurrent();
4686 rm -f conftest.$ac_objext conftest$ac_exeext
4687 if { (ac_try="$ac_link"
4689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4690 *) ac_try_echo
=$ac_try;;
4692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693 (eval "$ac_link") 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } && {
4700 test -z "$ac_c_werror_flag" ||
4701 test ! -s conftest.err
4702 } && test -s conftest
$ac_exeext &&
4703 $as_test_x conftest
$ac_exeext; then
4704 gt_cv_func_CFLocaleCopyCurrent
=yes
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4709 gt_cv_func_CFLocaleCopyCurrent
=no
4712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4713 conftest
$ac_exeext conftest.
$ac_ext
4714 LIBS
="$gt_save_LIBS"
4716 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
4717 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
4718 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4720 cat >>confdefs.h
<<\_ACEOF
4721 #define HAVE_CFLOCALECOPYCURRENT 1
4726 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4727 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
4739 case " $gt_needs " in
4740 *" need-formatstring-macros "*) gt_api_version
=3 ;;
4741 *" need-ngettext "*) gt_api_version
=2 ;;
4742 *) gt_api_version
=1 ;;
4744 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
4745 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
4747 if test "$USE_NLS" = "yes"; then
4748 gt_use_preinstalled_gnugettext
=no
4751 if test $gt_api_version -ge 3; then
4752 gt_revision_test_code
='
4753 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
4754 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
4756 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
4759 gt_revision_test_code
=
4761 if test $gt_api_version -ge 2; then
4762 gt_expression_test_code
=' + * ngettext ("", "", 0)'
4764 gt_expression_test_code
=
4767 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4768 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
4769 if { as_var
=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 cat >conftest.
$ac_ext <<_ACEOF
4775 cat confdefs.h
>>conftest.
$ac_ext
4776 cat >>conftest.
$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 #include <libintl.h>
4779 $gt_revision_test_code
4780 extern int _nl_msg_cat_cntr;
4781 extern int *_nl_domain_bindings;
4785 bindtextdomain ("", "");
4786 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
4791 rm -f conftest.
$ac_objext conftest
$ac_exeext
4792 if { (ac_try
="$ac_link"
4794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4795 *) ac_try_echo=$ac_try;;
4797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4798 (eval "$ac_link") 2>conftest.er1
4800 grep -v '^ *+' conftest.er1 >conftest.err
4802 cat conftest.err >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } && {
4805 test -z "$ac_c_werror_flag" ||
4806 test ! -s conftest.err
4807 } && test -s conftest$ac_exeext &&
4808 $as_test_x conftest$ac_exeext; then
4809 eval "$gt_func_gnugettext_libc=yes"
4811 echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.$ac_ext >&5
4814 eval "$gt_func_gnugettext_libc=no"
4817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4818 conftest$ac_exeext conftest.$ac_ext
4820 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
4821 { echo "$as_me:$LINENO: result: $ac_res" >&5
4822 echo "${ECHO_T}$ac_res" >&6; }
4824 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
4830 am_save_CPPFLAGS="$CPPFLAGS"
4832 for element in $INCICONV; do
4834 for x in $CPPFLAGS; do
4836 acl_save_prefix="$prefix"
4837 prefix="$acl_final_prefix"
4838 acl_save_exec_prefix="$exec_prefix"
4839 exec_prefix="$acl_final_exec_prefix"
4841 exec_prefix="$acl_save_exec_prefix"
4842 prefix="$acl_save_prefix"
4844 if test "X$x" = "X$element"; then
4849 if test -z "$haveit"; then
4850 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4855 { echo "$as_me:$LINENO: checking for iconv" >&5
4856 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
4857 if test "${am_cv_func_iconv+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4861 am_cv_func_iconv="no, consider installing GNU libiconv"
4863 cat >conftest.$ac_ext <<_ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4874 iconv_t cd = iconv_open("","");
4875 iconv(cd,NULL,NULL,NULL,NULL);
4881 rm -f conftest.$ac_objext conftest$ac_exeext
4882 if { (ac_try="$ac_link"
4884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4885 *) ac_try_echo
=$ac_try;;
4887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4888 (eval "$ac_link") 2>conftest.er1
4890 grep -v '^ *+' conftest.er1
>conftest.err
4892 cat conftest.err
>&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); } && {
4895 test -z "$ac_c_werror_flag" ||
4896 test ! -s conftest.err
4897 } && test -s conftest
$ac_exeext &&
4898 $as_test_x conftest
$ac_exeext; then
4899 am_cv_func_iconv
=yes
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4908 conftest
$ac_exeext conftest.
$ac_ext
4909 if test "$am_cv_func_iconv" != yes; then
4910 am_save_LIBS
="$LIBS"
4911 LIBS
="$LIBS $LIBICONV"
4912 cat >conftest.
$ac_ext <<_ACEOF
4915 cat confdefs.h
>>conftest.
$ac_ext
4916 cat >>conftest.
$ac_ext <<_ACEOF
4917 /* end confdefs.h. */
4923 iconv_t cd = iconv_open("","");
4924 iconv(cd,NULL,NULL,NULL,NULL);
4930 rm -f conftest.
$ac_objext conftest
$ac_exeext
4931 if { (ac_try
="$ac_link"
4933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_link") 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest$ac_exeext &&
4947 $as_test_x conftest$ac_exeext; then
4949 am_cv_func_iconv=yes
4951 echo "$as_me: failed program was:" >&5
4952 sed 's/^/| /' conftest.$ac_ext >&5
4957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4958 conftest$ac_exeext conftest.$ac_ext
4959 LIBS="$am_save_LIBS"
4963 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4964 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
4965 if test "$am_cv_func_iconv" = yes; then
4966 { echo "$as_me:$LINENO: checking for working iconv" >&5
4967 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
4968 if test "${am_cv_func_iconv_works+set}" = set; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 am_save_LIBS="$LIBS"
4973 if test $am_cv_lib_iconv = yes; then
4974 LIBS="$LIBS $LIBICONV"
4976 if test "$cross_compiling" = yes; then
4978 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
4979 *) am_cv_func_iconv_works="guessing yes" ;;
4982 cat >conftest.$ac_ext <<_ACEOF
4985 cat confdefs.h >>conftest.$ac_ext
4986 cat >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4993 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
4996 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
4997 if (cd_utf8_to_88591 != (iconv_t)(-1))
4999 static const char input[] = "\342\202\254"; /* EURO SIGN */
5001 const char *inptr = input;
5002 size_t inbytesleft = strlen (input);
5004 size_t outbytesleft = sizeof (buf);
5005 size_t res = iconv (cd_utf8_to_88591,
5006 (char **) &inptr, &inbytesleft,
5007 &outptr, &outbytesleft);
5012 #if 0 /* This bug could be worked around by the caller. */
5013 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5015 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5016 if (cd_88591_to_utf8 != (iconv_t)(-1))
5018 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5020 const char *inptr = input;
5021 size_t inbytesleft = strlen (input);
5023 size_t outbytesleft = sizeof (buf);
5024 size_t res = iconv (cd_88591_to_utf8,
5025 (char **) &inptr, &inbytesleft,
5026 &outptr, &outbytesleft);
5032 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5034 if (/* Try standardized names. */
5035 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5036 /* Try IRIX, OSF/1 names. */
5037 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5038 /* Try AIX names. */
5039 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5040 /* Try HP-UX names. */
5041 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5046 rm -f conftest$ac_exeext
5047 if { (ac_try="$ac_link"
5049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5050 *) ac_try_echo
=$ac_try;;
5052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5053 (eval "$ac_link") 2>&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5057 { (case "(($ac_try" in
5058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_try") 2>&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then
5066 am_cv_func_iconv_works=yes
5068 echo "$as_me: program exited with status $ac_status" >&5
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5073 am_cv_func_iconv_works=no
5075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5079 LIBS="$am_save_LIBS"
5082 { echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
5083 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
5084 case "$am_cv_func_iconv_works" in
5085 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5086 *) am_func_iconv=yes ;;
5089 am_func_iconv=no am_cv_lib_iconv=no
5091 if test "$am_func_iconv" = yes; then
5093 cat >>confdefs.h <<\_ACEOF
5094 #define HAVE_ICONV 1
5098 if test "$am_cv_lib_iconv" = yes; then
5099 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5100 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
5101 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
5102 echo "${ECHO_T}$LIBICONV" >&6; }
5104 CPPFLAGS="$am_save_CPPFLAGS"
5118 acl_save_prefix="$prefix"
5119 prefix="$acl_final_prefix"
5120 acl_save_exec_prefix="$exec_prefix"
5121 exec_prefix="$acl_final_exec_prefix"
5123 eval additional_includedir=\"$includedir\"
5124 eval additional_libdir=\"$libdir\"
5126 exec_prefix="$acl_save_exec_prefix"
5127 prefix="$acl_save_prefix"
5130 # Check whether --with-libintl-prefix was given.
5131 if test "${with_libintl_prefix+set}" = set; then
5132 withval=$with_libintl_prefix;
5133 if test "X$withval" = "Xno"; then
5136 if test "X$withval" = "X"; then
5138 acl_save_prefix="$prefix"
5139 prefix="$acl_final_prefix"
5140 acl_save_exec_prefix="$exec_prefix"
5141 exec_prefix="$acl_final_exec_prefix"
5143 eval additional_includedir=\"$includedir\"
5144 eval additional_libdir=\"$libdir\"
5146 exec_prefix="$acl_save_exec_prefix"
5147 prefix="$acl_save_prefix"
5150 additional_includedir="$withval/include"
5151 additional_libdir="$withval/$acl_libdirstem"
5163 names_already_handled=
5164 names_next_round='intl '
5165 while test -n "$names_next_round"; do
5166 names_this_round="$names_next_round"
5168 for name in $names_this_round; do
5170 for n in $names_already_handled; do
5171 if test "$n" = "$name"; then
5176 if test -z "$already_handled"; then
5177 names_already_handled="$names_already_handled $name"
5178 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5179 eval value=\"\$HAVE_LIB$uppername\"
5180 if test -n "$value"; then
5181 if test "$value" = yes; then
5182 eval value=\"\$LIB$uppername\"
5183 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5184 eval value=\"\$LTLIB$uppername\"
5185 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5194 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5195 if test -n "$acl_shlibext"; then
5196 shrext=".$acl_shlibext" # typically: shrext=.so
5200 if test $use_additional = yes; then
5201 dir="$additional_libdir"
5202 if test -n "$acl_shlibext"; then
5203 if test -f "$dir/$libname$shrext"; then
5205 found_so="$dir/$libname$shrext"
5207 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5208 ver=`(cd "$dir" && \
5209 for f
in "$libname$shrext".
*; do echo "$f"; done \
5210 |
sed -e "s,^$libname$shrext\\\\.,," \
5211 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5212 |
sed 1q
) 2>/dev
/null
`
5213 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5215 found_so="$dir/$libname$shrext.$ver"
5218 eval library_names=\"$acl_library_names_spec\"
5219 for f in $library_names; do
5220 if test -f "$dir/$f"; then
5229 if test "X$found_dir" = "X"; then
5230 if test -f "$dir/$libname.$acl_libext"; then
5232 found_a="$dir/$libname.$acl_libext"
5235 if test "X$found_dir" != "X"; then
5236 if test -f "$dir/$libname.la"; then
5237 found_la="$dir/$libname.la"
5241 if test "X$found_dir" = "X"; then
5242 for x in $LDFLAGS $LTLIBINTL; do
5244 acl_save_prefix="$prefix"
5245 prefix="$acl_final_prefix"
5246 acl_save_exec_prefix="$exec_prefix"
5247 exec_prefix="$acl_final_exec_prefix"
5249 exec_prefix="$acl_save_exec_prefix"
5250 prefix="$acl_save_prefix"
5254 dir=`echo "X$x" |
sed -e 's/^X-L//'`
5255 if test -n "$acl_shlibext"; then
5256 if test -f "$dir/$libname$shrext"; then
5258 found_so="$dir/$libname$shrext"
5260 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5261 ver=`(cd "$dir" && \
5262 for f
in "$libname$shrext".
*; do echo "$f"; done \
5263 |
sed -e "s,^$libname$shrext\\\\.,," \
5264 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5265 |
sed 1q
) 2>/dev
/null
`
5266 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5268 found_so="$dir/$libname$shrext.$ver"
5271 eval library_names=\"$acl_library_names_spec\"
5272 for f in $library_names; do
5273 if test -f "$dir/$f"; then
5282 if test "X$found_dir" = "X"; then
5283 if test -f "$dir/$libname.$acl_libext"; then
5285 found_a="$dir/$libname.$acl_libext"
5288 if test "X$found_dir" != "X"; then
5289 if test -f "$dir/$libname.la"; then
5290 found_la="$dir/$libname.la"
5295 if test "X$found_dir" != "X"; then
5300 if test "X$found_dir" != "X"; then
5301 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5302 if test "X$found_so" != "X"; then
5303 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5304 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5307 for x in $ltrpathdirs; do
5308 if test "X$x" = "X$found_dir"; then
5313 if test -z "$haveit"; then
5314 ltrpathdirs="$ltrpathdirs $found_dir"
5316 if test "$acl_hardcode_direct" = yes; then
5317 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5319 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5320 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5322 for x in $rpathdirs; do
5323 if test "X$x" = "X$found_dir"; then
5328 if test -z "$haveit"; then
5329 rpathdirs="$rpathdirs $found_dir"
5333 for x in $LDFLAGS $LIBINTL; do
5335 acl_save_prefix="$prefix"
5336 prefix="$acl_final_prefix"
5337 acl_save_exec_prefix="$exec_prefix"
5338 exec_prefix="$acl_final_exec_prefix"
5340 exec_prefix="$acl_save_exec_prefix"
5341 prefix="$acl_save_prefix"
5343 if test "X$x" = "X-L$found_dir"; then
5348 if test -z "$haveit"; then
5349 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5351 if test "$acl_hardcode_minus_L" != no; then
5352 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5354 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5360 if test "X$found_a" != "X"; then
5361 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5363 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5366 additional_includedir=
5367 case "$found_dir" in
5368 */$acl_libdirstem | */$acl_libdirstem/)
5369 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5370 LIBINTL_PREFIX="$basedir"
5371 additional_includedir="$basedir/include"
5374 if test "X$additional_includedir" != "X"; then
5375 if test "X$additional_includedir" != "X/usr/include"; then
5377 if test "X$additional_includedir" = "X/usr/local/include"; then
5378 if test -n "$GCC"; then
5380 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5384 if test -z "$haveit"; then
5385 for x in $CPPFLAGS $INCINTL; do
5387 acl_save_prefix="$prefix"
5388 prefix="$acl_final_prefix"
5389 acl_save_exec_prefix="$exec_prefix"
5390 exec_prefix="$acl_final_exec_prefix"
5392 exec_prefix="$acl_save_exec_prefix"
5393 prefix="$acl_save_prefix"
5395 if test "X$x" = "X-I$additional_includedir"; then
5400 if test -z "$haveit"; then
5401 if test -d "$additional_includedir"; then
5402 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5408 if test -n "$found_la"; then
5409 save_libdir="$libdir"
5411 */* | *\\*) . "$found_la" ;;
5412 *) . "./$found_la" ;;
5414 libdir="$save_libdir"
5415 for dep in $dependency_libs; do
5418 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
5419 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5421 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5422 if test -n "$GCC"; then
5424 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5428 if test -z "$haveit"; then
5430 for x in $LDFLAGS $LIBINTL; do
5432 acl_save_prefix="$prefix"
5433 prefix="$acl_final_prefix"
5434 acl_save_exec_prefix="$exec_prefix"
5435 exec_prefix="$acl_final_exec_prefix"
5437 exec_prefix="$acl_save_exec_prefix"
5438 prefix="$acl_save_prefix"
5440 if test "X$x" = "X-L$additional_libdir"; then
5445 if test -z "$haveit"; then
5446 if test -d "$additional_libdir"; then
5447 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5451 for x in $LDFLAGS $LTLIBINTL; do
5453 acl_save_prefix="$prefix"
5454 prefix="$acl_final_prefix"
5455 acl_save_exec_prefix="$exec_prefix"
5456 exec_prefix="$acl_final_exec_prefix"
5458 exec_prefix="$acl_save_exec_prefix"
5459 prefix="$acl_save_prefix"
5461 if test "X$x" = "X-L$additional_libdir"; then
5466 if test -z "$haveit"; then
5467 if test -d "$additional_libdir"; then
5468 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5475 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
5476 if test "$enable_rpath" != no; then
5478 for x in $rpathdirs; do
5479 if test "X$x" = "X$dir"; then
5484 if test -z "$haveit"; then
5485 rpathdirs="$rpathdirs $dir"
5488 for x in $ltrpathdirs; do
5489 if test "X$x" = "X$dir"; then
5494 if test -z "$haveit"; then
5495 ltrpathdirs="$ltrpathdirs $dir"
5500 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
5503 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5506 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5507 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5513 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5514 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5520 if test "X$rpathdirs" != "X"; then
5521 if test -n "$acl_hardcode_libdir_separator"; then
5523 for found_dir in $rpathdirs; do
5524 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5526 acl_save_libdir="$libdir"
5528 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5529 libdir="$acl_save_libdir"
5530 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5532 for found_dir in $rpathdirs; do
5533 acl_save_libdir="$libdir"
5535 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5536 libdir="$acl_save_libdir"
5537 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5541 if test "X$ltrpathdirs" != "X"; then
5542 for found_dir in $ltrpathdirs; do
5543 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5547 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
5548 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
5549 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 gt_save_CPPFLAGS="$CPPFLAGS"
5553 CPPFLAGS="$CPPFLAGS $INCINTL"
5554 gt_save_LIBS="$LIBS"
5555 LIBS="$LIBS $LIBINTL"
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 <libintl.h>
5563 $gt_revision_test_code
5564 extern int _nl_msg_cat_cntr;
5569 const char *_nl_expand_alias (const char *);
5573 bindtextdomain ("", "");
5574 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5579 rm -f conftest.$ac_objext conftest$ac_exeext
5580 if { (ac_try="$ac_link"
5582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5583 *) ac_try_echo
=$ac_try;;
5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5586 (eval "$ac_link") 2>conftest.er1
5588 grep -v '^ *+' conftest.er1
>conftest.err
5590 cat conftest.err
>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && {
5593 test -z "$ac_c_werror_flag" ||
5594 test ! -s conftest.err
5595 } && test -s conftest
$ac_exeext &&
5596 $as_test_x conftest
$ac_exeext; then
5597 eval "$gt_func_gnugettext_libintl=yes"
5599 echo "$as_me: failed program was:" >&5
5600 sed 's/^/| /' conftest.
$ac_ext >&5
5602 eval "$gt_func_gnugettext_libintl=no"
5605 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5606 conftest
$ac_exeext conftest.
$ac_ext
5607 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
5608 LIBS
="$LIBS $LIBICONV"
5609 cat >conftest.
$ac_ext <<_ACEOF
5612 cat confdefs.h
>>conftest.
$ac_ext
5613 cat >>conftest.
$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 #include <libintl.h>
5616 $gt_revision_test_code
5617 extern int _nl_msg_cat_cntr;
5622 const char *_nl_expand_alias (const char *);
5626 bindtextdomain ("", "");
5627 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
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 LIBINTL="$LIBINTL $LIBICONV"
5651 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5652 eval "$gt_func_gnugettext_libintl=yes"
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5662 conftest$ac_exeext conftest.$ac_ext
5664 CPPFLAGS="$gt_save_CPPFLAGS"
5665 LIBS="$gt_save_LIBS"
5667 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
5668 { echo "$as_me:$LINENO: result: $ac_res" >&5
5669 echo "${ECHO_T}$ac_res" >&6; }
5672 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
5673 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
5674 && test "$PACKAGE" != gettext-runtime \
5675 && test "$PACKAGE" != gettext-tools; }; then
5676 gt_use_preinstalled_gnugettext=yes
5685 if test -n "$INTL_MACOSX_LIBS"; then
5686 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5687 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5688 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
5689 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
5693 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5694 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5696 cat >>confdefs.h <<\_ACEOF
5697 #define ENABLE_NLS 1
5705 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
5706 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
5707 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
5708 echo "${ECHO_T}$USE_NLS" >&6; }
5709 if test "$USE_NLS" = "yes"; then
5710 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
5711 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
5712 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5713 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
5714 gt_source="external libintl"
5719 gt_source="included intl directory"
5721 { echo "$as_me:$LINENO: result: $gt_source" >&5
5722 echo "${ECHO_T}$gt_source" >&6; }
5725 if test "$USE_NLS" = "yes"; then
5727 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5728 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
5729 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
5730 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
5731 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
5732 echo "${ECHO_T}$LIBINTL" >&6; }
5734 for element in $INCINTL; do
5736 for x in $CPPFLAGS; do
5738 acl_save_prefix="$prefix"
5739 prefix="$acl_final_prefix"
5740 acl_save_exec_prefix="$exec_prefix"
5741 exec_prefix="$acl_final_exec_prefix"
5743 exec_prefix="$acl_save_exec_prefix"
5744 prefix="$acl_save_prefix"
5746 if test "X$x" = "X$element"; then
5751 if test -z "$haveit"; then
5752 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5759 cat >>confdefs.h <<\_ACEOF
5760 #define HAVE_GETTEXT 1
5764 cat >>confdefs.h <<\_ACEOF
5765 #define HAVE_DCGETTEXT 1
5784 # Checks for programs.
5786 ac_cpp='$CPP $CPPFLAGS'
5787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5790 if test -n "$ac_tool_prefix"; then
5791 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5792 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_CC+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -n "$CC"; then
5799 ac_cv_prog_CC="$CC" # Let the user override the test.
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 if test -n "$CC"; then
5820 { echo "$as_me:$LINENO: result: $CC" >&5
5821 echo "${ECHO_T}$CC" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5829 if test -z "$ac_cv_prog_CC"; then
5831 # Extract the first word of "gcc", so it can be a program name with args.
5832 set dummy gcc; ac_word=$2
5833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5835 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 if test -n "$ac_ct_CC"; then
5839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_ac_ct_CC="gcc"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5859 if test -n "$ac_ct_CC"; then
5860 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5861 echo "${ECHO_T}$ac_ct_CC" >&6; }
5863 { echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6; }
5867 if test "x$ac_ct_CC" = x; then
5870 case $cross_compiling:$ac_tool_warned in
5872 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5873 whose name does not start with the host triplet. If you think this
5874 configuration is useful to you, please write to autoconf@gnu.org." >&5
5875 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5876 whose name does not start with the host triplet. If you think this
5877 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5878 ac_tool_warned=yes ;;
5886 if test -z "$CC"; then
5887 if test -n "$ac_tool_prefix"; then
5888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5889 set dummy ${ac_tool_prefix}cc; ac_word=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_prog_CC+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 if test -n "$CC"; then
5896 ac_cv_prog_CC="$CC" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_CC="${ac_tool_prefix}cc"
5906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 if test -n "$CC"; then
5917 { echo "$as_me:$LINENO: result: $CC" >&5
5918 echo "${ECHO_T}$CC" >&6; }
5920 { echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6; }
5927 if test -z "$CC"; then
5928 # Extract the first word of "cc", so it can be a program name with args.
5929 set dummy cc; ac_word=$2
5930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5932 if test "${ac_cv_prog_CC+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5935 if test -n "$CC"; then
5936 ac_cv_prog_CC="$CC" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5947 ac_prog_rejected=yes
5951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 if test $ac_prog_rejected = yes; then
5959 # We found a bogon in the path, so make sure we never use it.
5960 set dummy $ac_cv_prog_CC
5962 if test $# != 0; then
5963 # We chose a different compiler from the bogus one.
5964 # However, it has the same basename, so the bogon will be chosen
5965 # first if we set CC to just the basename; use the full file name.
5967 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5973 if test -n "$CC"; then
5974 { echo "$as_me:$LINENO: result: $CC" >&5
5975 echo "${ECHO_T}$CC" >&6; }
5977 { echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6; }
5983 if test -z "$CC"; then
5984 if test -n "$ac_tool_prefix"; then
5985 for ac_prog in cl.exe
5987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5991 if test "${ac_cv_prog_CC+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 if test -n "$CC"; then
5995 ac_cv_prog_CC="$CC" # Let the user override the test.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 if test -n "$CC"; then
6016 { echo "$as_me:$LINENO: result: $CC" >&5
6017 echo "${ECHO_T}$CC" >&6; }
6019 { echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6; }
6024 test -n "$CC" && break
6027 if test -z "$CC"; then
6029 for ac_prog in cl.exe
6031 # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 if test -n "$ac_ct_CC"; then
6039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_CC="$ac_prog"
6049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6059 if test -n "$ac_ct_CC"; then
6060 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6061 echo "${ECHO_T}$ac_ct_CC" >&6; }
6063 { echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6; }
6068 test -n "$ac_ct_CC" && break
6071 if test "x$ac_ct_CC" = x; then
6074 case $cross_compiling:$ac_tool_warned in
6076 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6077 whose name does not start with the host triplet. If you think this
6078 configuration is useful to you, please write to autoconf@gnu.org." >&5
6079 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6080 whose name does not start with the host triplet. If you think this
6081 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6082 ac_tool_warned=yes ;;
6091 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6092 See \`config.log
' for more details." >&5
6093 echo "$as_me: error: no acceptable C compiler found in \$PATH
6094 See \`config.log' for more details.
" >&2;}
6095 { (exit 1); exit 1; }; }
6097 # Provide some information about the compiler.
6098 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
6099 ac_compiler=`set X $ac_compile; echo $2`
6100 { (ac_try="$ac_compiler --version >&5"
6102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103 *) ac_try_echo=$ac_try;;
6105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6106 (eval "$ac_compiler --version >&5") 2>&5
6108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6109 (exit $ac_status); }
6110 { (ac_try="$ac_compiler -v >&5"
6112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6113 *) ac_try_echo=$ac_try;;
6115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6116 (eval "$ac_compiler -v >&5") 2>&5
6118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6119 (exit $ac_status); }
6120 { (ac_try="$ac_compiler -V >&5"
6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123 *) ac_try_echo=$ac_try;;
6125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6126 (eval "$ac_compiler -V >&5") 2>&5
6128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6129 (exit $ac_status); }
6131 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
6132 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
6133 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6134 echo $ECHO_N "(cached
) $ECHO_C" >&6
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6154 rm -f conftest.$ac_objext
6155 if { (ac_try="$ac_compile"
6157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_compile") 2>conftest.er1
6163 grep -v '^ *+' conftest.er1 >conftest.err
6165 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6167 (exit $ac_status); } && {
6168 test -z "$ac_c_werror_flag" ||
6169 test ! -s conftest.err
6170 } && test -s conftest.$ac_objext; then
6173 echo "$as_me: failed program was
:" >&5
6174 sed 's/^/| /' conftest.$ac_ext >&5
6179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6183 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
6184 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6185 GCC=`test $ac_compiler_gnu = yes && echo yes`
6186 ac_test_CFLAGS=${CFLAGS+set}
6187 ac_save_CFLAGS=$CFLAGS
6188 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
6189 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
6190 if test "${ac_cv_prog_cc_g+set}" = set; then
6191 echo $ECHO_N "(cached
) $ECHO_C" >&6
6193 ac_save_c_werror_flag=$ac_c_werror_flag
6194 ac_c_werror_flag=yes
6197 cat >conftest.$ac_ext <<_ACEOF
6200 cat confdefs.h >>conftest.$ac_ext
6201 cat >>conftest.$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6212 rm -f conftest.$ac_objext
6213 if { (ac_try="$ac_compile"
6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6216 *) ac_try_echo=$ac_try;;
6218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6219 (eval "$ac_compile") 2>conftest.er1
6221 grep -v '^ *+' conftest.er1 >conftest.err
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6225 (exit $ac_status); } && {
6226 test -z "$ac_c_werror_flag" ||
6227 test ! -s conftest.err
6228 } && test -s conftest.$ac_objext; then
6231 echo "$as_me: failed program was
:" >&5
6232 sed 's/^/| /' conftest.$ac_ext >&5
6235 cat >conftest.$ac_ext <<_ACEOF
6238 cat confdefs.h >>conftest.$ac_ext
6239 cat >>conftest.$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6250 rm -f conftest.$ac_objext
6251 if { (ac_try="$ac_compile"
6253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6254 *) ac_try_echo=$ac_try;;
6256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6257 (eval "$ac_compile") 2>conftest.er1
6259 grep -v '^ *+' conftest.er1 >conftest.err
6261 cat conftest.err >&5
6262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6263 (exit $ac_status); } && {
6264 test -z "$ac_c_werror_flag" ||
6265 test ! -s conftest.err
6266 } && test -s conftest.$ac_objext; then
6269 echo "$as_me: failed program was
:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6272 ac_c_werror_flag=$ac_save_c_werror_flag
6274 cat >conftest.$ac_ext <<_ACEOF
6277 cat confdefs.h >>conftest.$ac_ext
6278 cat >>conftest.$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6289 rm -f conftest.$ac_objext
6290 if { (ac_try="$ac_compile"
6292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6293 *) ac_try_echo=$ac_try;;
6295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6296 (eval "$ac_compile") 2>conftest.er1
6298 grep -v '^ *+' conftest.er1 >conftest.err
6300 cat conftest.err >&5
6301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6302 (exit $ac_status); } && {
6303 test -z "$ac_c_werror_flag" ||
6304 test ! -s conftest.err
6305 } && test -s conftest.$ac_objext; then
6308 echo "$as_me: failed program was
:" >&5
6309 sed 's/^/| /' conftest.$ac_ext >&5
6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 ac_c_werror_flag=$ac_save_c_werror_flag
6323 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
6324 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6325 if test "$ac_test_CFLAGS" = set; then
6326 CFLAGS=$ac_save_CFLAGS
6327 elif test $ac_cv_prog_cc_g = yes; then
6328 if test "$GCC" = yes; then
6334 if test "$GCC" = yes; then
6340 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
6341 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
6342 if test "${ac_cv_prog_cc_c89+set}" = set; then
6343 echo $ECHO_N "(cached
) $ECHO_C" >&6
6345 ac_cv_prog_cc_c89=no
6347 cat >conftest.$ac_ext <<_ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6355 #include <sys/types.h>
6356 #include <sys/stat.h>
6357 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6358 struct buf { int x; };
6359 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6360 static char *e (p, i)
6366 static char *f (char * (*g) (char **, int), char **p, ...)
6371 s = g (p, va_arg (v,int));
6376 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6377 function prototypes and stuff, but not '\xHH' hex character constants.
6378 These don't provoke an error unfortunately, instead are silently treated
6379 as 'x'. The following induces an error, until -std is added to get
6380 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6381 array size at least. It's necessary to write '\x00'==0 to get something
6382 that's true only with -std. */
6383 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6385 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6386 inside strings and character constants. */
6388 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6390 int test (int i, double x);
6391 struct s1 {int (*f) (int a);};
6392 struct s2 {int (*f) (double a);};
6393 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6399 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6404 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6405 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6407 CC="$ac_save_CC $ac_arg"
6408 rm -f conftest.$ac_objext
6409 if { (ac_try="$ac_compile"
6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6412 *) ac_try_echo=$ac_try;;
6414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6415 (eval "$ac_compile") 2>conftest.er1
6417 grep -v '^ *+' conftest.er1 >conftest.err
6419 cat conftest.err >&5
6420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6421 (exit $ac_status); } && {
6422 test -z "$ac_c_werror_flag" ||
6423 test ! -s conftest.err
6424 } && test -s conftest.$ac_objext; then
6425 ac_cv_prog_cc_c89=$ac_arg
6427 echo "$as_me: failed program was
:" >&5
6428 sed 's/^/| /' conftest.$ac_ext >&5
6433 rm -f core conftest.err conftest.$ac_objext
6434 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
6436 rm -f conftest.$ac_ext
6441 case "x
$ac_cv_prog_cc_c89" in
6443 { echo "$as_me:$LINENO: result
: none needed
" >&5
6444 echo "${ECHO_T}none needed
" >&6; } ;;
6446 { echo "$as_me:$LINENO: result
: unsupported
" >&5
6447 echo "${ECHO_T}unsupported
" >&6; } ;;
6449 CC="$CC $ac_cv_prog_cc_c89"
6450 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
6451 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6456 ac_cpp='$CPP $CPPFLAGS'
6457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461 depcc="$CC" am_compiler_list=
6463 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
6464 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
6465 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6466 echo $ECHO_N "(cached
) $ECHO_C" >&6
6468 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6469 # We make a subdir and do the tests there. Otherwise we can end up
6470 # making bogus files that we don't know about and never remove. For
6471 # instance it was reported that on HP-UX the gcc test will end up
6472 # making a dummy file named `D' -- because `-MD' means `put the output
6475 # Copy depcomp to subdir because otherwise we won't find it if we're
6476 # using a relative directory.
6477 cp "$am_depcomp" conftest.dir
6479 # We will build objects and dependencies in a subdirectory because
6480 # it helps to detect inapplicable dependency modes. For instance
6481 # both Tru64's cc and ICC support -MD to output dependencies as a
6482 # side effect of compilation, but ICC will put the dependencies in
6483 # the current directory while Tru64 will put them in the object
6487 am_cv_CC_dependencies_compiler_type=none
6488 if test "$am_compiler_list" = ""; then
6489 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6491 for depmode in $am_compiler_list; do
6492 # Setup a source with many dependencies, because some compilers
6493 # like to wrap large dependency lists on column 80 (with \), and
6494 # we should not choose a depcomp mode which is confused by this.
6496 # We need to recreate these files for each test, as the compiler may
6497 # overwrite some of them when testing with obscure command lines.
6498 # This happens at least with the AIX C compiler.
6500 for i in 1 2 3 4 5 6; do
6501 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
6502 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6503 # Solaris 8's {/usr,}/bin/sh.
6504 touch sub/conftst$i.h
6506 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6510 # after this tag, mechanisms are not by side-effect, so they'll
6511 # only be used when explicitly requested
6512 if test "x
$enable_dependency_tracking" = xyes; then
6520 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
6521 # mode. It turns out that the SunPro C++ compiler does not properly
6522 # handle `-M -o', and we need to detect this.
6523 if depmode=$depmode \
6524 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6525 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6526 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6527 >/dev/null 2>conftest.err &&
6528 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6529 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6530 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6531 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6532 # icc doesn't choke on unknown options, it will just issue warnings
6533 # or remarks (even with -Werror). So we grep stderr for any message
6534 # that says an option was ignored or not supported.
6535 # When given -MP, icc 7.0 and 7.1 complain thusly:
6536 # icc: Command line warning: ignoring option '-M'; no argument required
6537 # The diagnosis changed in icc 8.0:
6538 # icc: Command line remark: option '-MP' not supported
6539 if (grep 'ignoring option' conftest.err ||
6540 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6541 am_cv_CC_dependencies_compiler_type=$depmode
6550 am_cv_CC_dependencies_compiler_type=none
6554 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
6555 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6556 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6559 test "x
$enable_dependency_tracking" != xno \
6560 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6562 am__fastdepCC_FALSE='#'
6564 am__fastdepCC_TRUE='#'
6565 am__fastdepCC_FALSE=
6570 ac_cpp='$CXXCPP $CPPFLAGS'
6571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6574 if test -z "$CXX"; then
6575 if test -n "$CCC"; then
6578 if test -n "$ac_tool_prefix"; then
6579 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6583 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6584 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6585 if test "${ac_cv_prog_CXX+set}" = set; then
6586 echo $ECHO_N "(cached
) $ECHO_C" >&6
6588 if test -n "$CXX"; then
6589 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6598 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6599 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 if test -n "$CXX"; then
6610 { echo "$as_me:$LINENO: result
: $CXX" >&5
6611 echo "${ECHO_T}$CXX" >&6; }
6613 { echo "$as_me:$LINENO: result
: no
" >&5
6614 echo "${ECHO_T}no
" >&6; }
6618 test -n "$CXX" && break
6621 if test -z "$CXX"; then
6623 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy $ac_prog; ac_word=$2
6627 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6628 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6629 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6630 echo $ECHO_N "(cached
) $ECHO_C" >&6
6632 if test -n "$ac_ct_CXX"; then
6633 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_ac_ct_CXX="$ac_prog"
6643 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6652 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6653 if test -n "$ac_ct_CXX"; then
6654 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
6655 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6657 { echo "$as_me:$LINENO: result
: no
" >&5
6658 echo "${ECHO_T}no
" >&6; }
6662 test -n "$ac_ct_CXX" && break
6665 if test "x
$ac_ct_CXX" = x; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
6671 whose name does not start with the
host triplet. If you think this
6672 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
6673 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
6674 whose name does not start with the
host triplet. If you think this
6675 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
6676 ac_tool_warned=yes ;;
6684 # Provide some information about the compiler.
6685 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
6686 ac_compiler=`set X $ac_compile; echo $2`
6687 { (ac_try="$ac_compiler --version >&5"
6689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6690 *) ac_try_echo=$ac_try;;
6692 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6693 (eval "$ac_compiler --version >&5") 2>&5
6695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6696 (exit $ac_status); }
6697 { (ac_try="$ac_compiler -v >&5"
6699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6700 *) ac_try_echo=$ac_try;;
6702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6703 (eval "$ac_compiler -v >&5") 2>&5
6705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6706 (exit $ac_status); }
6707 { (ac_try="$ac_compiler -V >&5"
6709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6710 *) ac_try_echo=$ac_try;;
6712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6713 (eval "$ac_compiler -V >&5") 2>&5
6715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6716 (exit $ac_status); }
6718 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
6719 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
6720 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6721 echo $ECHO_N "(cached
) $ECHO_C" >&6
6723 cat >conftest.$ac_ext <<_ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6741 rm -f conftest.$ac_objext
6742 if { (ac_try="$ac_compile"
6744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6745 *) ac_try_echo=$ac_try;;
6747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6748 (eval "$ac_compile") 2>conftest.er1
6750 grep -v '^ *+' conftest.er1 >conftest.err
6752 cat conftest.err >&5
6753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6754 (exit $ac_status); } && {
6755 test -z "$ac_cxx_werror_flag" ||
6756 test ! -s conftest.err
6757 } && test -s conftest.$ac_objext; then
6760 echo "$as_me: failed program was
:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6767 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6770 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
6771 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6772 GXX=`test $ac_compiler_gnu = yes && echo yes`
6773 ac_test_CXXFLAGS=${CXXFLAGS+set}
6774 ac_save_CXXFLAGS=$CXXFLAGS
6775 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
6776 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
6777 if test "${ac_cv_prog_cxx_g+set}" = set; then
6778 echo $ECHO_N "(cached
) $ECHO_C" >&6
6780 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6781 ac_cxx_werror_flag=yes
6784 cat >conftest.$ac_ext <<_ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6799 rm -f conftest.$ac_objext
6800 if { (ac_try="$ac_compile"
6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6803 *) ac_try_echo=$ac_try;;
6805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6806 (eval "$ac_compile") 2>conftest.er1
6808 grep -v '^ *+' conftest.er1 >conftest.err
6810 cat conftest.err >&5
6811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6812 (exit $ac_status); } && {
6813 test -z "$ac_cxx_werror_flag" ||
6814 test ! -s conftest.err
6815 } && test -s conftest.$ac_objext; then
6816 ac_cv_prog_cxx_g=yes
6818 echo "$as_me: failed program was
:" >&5
6819 sed 's/^/| /' conftest.$ac_ext >&5
6822 cat >conftest.$ac_ext <<_ACEOF
6825 cat confdefs.h >>conftest.$ac_ext
6826 cat >>conftest.$ac_ext <<_ACEOF
6827 /* end confdefs.h. */
6837 rm -f conftest.$ac_objext
6838 if { (ac_try="$ac_compile"
6840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6841 *) ac_try_echo=$ac_try;;
6843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6844 (eval "$ac_compile") 2>conftest.er1
6846 grep -v '^ *+' conftest.er1 >conftest.err
6848 cat conftest.err >&5
6849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6850 (exit $ac_status); } && {
6851 test -z "$ac_cxx_werror_flag" ||
6852 test ! -s conftest.err
6853 } && test -s conftest.$ac_objext; then
6856 echo "$as_me: failed program was
:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6859 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6861 cat >conftest.$ac_ext <<_ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6876 rm -f conftest.$ac_objext
6877 if { (ac_try="$ac_compile"
6879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_compile") 2>conftest.er1
6885 grep -v '^ *+' conftest.er1 >conftest.err
6887 cat conftest.err >&5
6888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6889 (exit $ac_status); } && {
6890 test -z "$ac_cxx_werror_flag" ||
6891 test ! -s conftest.err
6892 } && test -s conftest.$ac_objext; then
6893 ac_cv_prog_cxx_g=yes
6895 echo "$as_me: failed program was
:" >&5
6896 sed 's/^/| /' conftest.$ac_ext >&5
6901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6910 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
6911 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6912 if test "$ac_test_CXXFLAGS" = set; then
6913 CXXFLAGS=$ac_save_CXXFLAGS
6914 elif test $ac_cv_prog_cxx_g = yes; then
6915 if test "$GXX" = yes; then
6921 if test "$GXX" = yes; then
6928 ac_cpp='$CPP $CPPFLAGS'
6929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6933 depcc="$CXX" am_compiler_list=
6935 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
6936 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
6937 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6938 echo $ECHO_N "(cached
) $ECHO_C" >&6
6940 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6941 # We make a subdir and do the tests there. Otherwise we can end up
6942 # making bogus files that we don't know about and never remove. For
6943 # instance it was reported that on HP-UX the gcc test will end up
6944 # making a dummy file named `D' -- because `-MD' means `put the output
6947 # Copy depcomp to subdir because otherwise we won't find it if we're
6948 # using a relative directory.
6949 cp "$am_depcomp" conftest.dir
6951 # We will build objects and dependencies in a subdirectory because
6952 # it helps to detect inapplicable dependency modes. For instance
6953 # both Tru64's cc and ICC support -MD to output dependencies as a
6954 # side effect of compilation, but ICC will put the dependencies in
6955 # the current directory while Tru64 will put them in the object
6959 am_cv_CXX_dependencies_compiler_type=none
6960 if test "$am_compiler_list" = ""; then
6961 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6963 for depmode in $am_compiler_list; do
6964 # Setup a source with many dependencies, because some compilers
6965 # like to wrap large dependency lists on column 80 (with \), and
6966 # we should not choose a depcomp mode which is confused by this.
6968 # We need to recreate these files for each test, as the compiler may
6969 # overwrite some of them when testing with obscure command lines.
6970 # This happens at least with the AIX C compiler.
6972 for i in 1 2 3 4 5 6; do
6973 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
6974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6975 # Solaris 8's {/usr,}/bin/sh.
6976 touch sub/conftst$i.h
6978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6982 # after this tag, mechanisms are not by side-effect, so they'll
6983 # only be used when explicitly requested
6984 if test "x
$enable_dependency_tracking" = xyes; then
6992 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
6993 # mode. It turns out that the SunPro C++ compiler does not properly
6994 # handle `-M -o', and we need to detect this.
6995 if depmode=$depmode \
6996 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6997 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6998 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6999 >/dev/null 2>conftest.err &&
7000 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7001 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7002 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7003 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7004 # icc doesn't choke on unknown options, it will just issue warnings
7005 # or remarks (even with -Werror). So we grep stderr for any message
7006 # that says an option was ignored or not supported.
7007 # When given -MP, icc 7.0 and 7.1 complain thusly:
7008 # icc: Command line warning: ignoring option '-M'; no argument required
7009 # The diagnosis changed in icc 8.0:
7010 # icc: Command line remark: option '-MP' not supported
7011 if (grep 'ignoring option' conftest.err ||
7012 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7013 am_cv_CXX_dependencies_compiler_type=$depmode
7022 am_cv_CXX_dependencies_compiler_type=none
7026 { echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
7027 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7028 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7031 test "x
$enable_dependency_tracking" != xno \
7032 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7033 am__fastdepCXX_TRUE=
7034 am__fastdepCXX_FALSE='#'
7036 am__fastdepCXX_TRUE='#'
7037 am__fastdepCXX_FALSE=
7041 { echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
7042 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6; }
7043 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7044 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7045 echo $ECHO_N "(cached
) $ECHO_C" >&6
7047 cat >conftest.make <<\_ACEOF
7050 @echo '@@@%%%=$(MAKE)=@@@%%%'
7052 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
7053 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7055 eval ac_cv_prog_make_${ac_make}_set=yes;;
7057 eval ac_cv_prog_make_${ac_make}_set=no;;
7061 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7062 { echo "$as_me:$LINENO: result
: yes" >&5
7063 echo "${ECHO_T}yes" >&6; }
7066 { echo "$as_me:$LINENO: result
: no
" >&5
7067 echo "${ECHO_T}no
" >&6; }
7068 SET_MAKE="MAKE
=${MAKE-make}"
7071 # Check whether --enable-shared was given.
7072 if test "${enable_shared+set}" = set; then
7073 enableval=$enable_shared; p=${PACKAGE-default}
7075 yes) enable_shared=yes ;;
7076 no) enable_shared=no ;;
7079 # Look at the argument we got. We use all the common list separators.
7080 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7081 for pkg in $enableval; do
7083 if test "X
$pkg" = "X
$p"; then
7095 # Check whether --enable-static was given.
7096 if test "${enable_static+set}" = set; then
7097 enableval=$enable_static; p=${PACKAGE-default}
7099 yes) enable_static=yes ;;
7100 no) enable_static=no ;;
7103 # Look at the argument we got. We use all the common list separators.
7104 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7105 for pkg in $enableval; do
7107 if test "X
$pkg" = "X
$p"; then
7119 # Check whether --enable-fast-install was given.
7120 if test "${enable_fast_install+set}" = set; then
7121 enableval=$enable_fast_install; p=${PACKAGE-default}
7123 yes) enable_fast_install=yes ;;
7124 no) enable_fast_install=no ;;
7126 enable_fast_install=no
7127 # Look at the argument we got. We use all the common list separators.
7128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7129 for pkg in $enableval; do
7131 if test "X
$pkg" = "X
$p"; then
7132 enable_fast_install=yes
7139 enable_fast_install=yes
7143 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
7144 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
7145 if test "${lt_cv_path_SED+set}" = set; then
7146 echo $ECHO_N "(cached
) $ECHO_C" >&6
7148 # Loop through the user's path and test for sed and gsed.
7149 # Then use that list of sed's as ones to test for truncation.
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir=.
7155 for lt_ac_prog in sed gsed; do
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
7158 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7166 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
7167 # along with /bin/sed that truncates output.
7168 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7169 test ! -f $lt_ac_sed && continue
7170 cat /dev/null > conftest.in
7172 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7173 # Check for GNU sed and select it if it is found.
7174 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7175 lt_cv_path_SED=$lt_ac_sed
7179 cat conftest.in conftest.in >conftest.tmp
7180 mv conftest.tmp conftest.in
7181 cp conftest.in conftest.nl
7183 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7184 cmp -s conftest.out conftest.nl || break
7185 # 10000 chars as input seems more than enough
7186 test $lt_ac_count -gt 10 && break
7187 lt_ac_count=`expr $lt_ac_count + 1`
7188 if test $lt_ac_count -gt $lt_ac_max; then
7189 lt_ac_max=$lt_ac_count
7190 lt_cv_path_SED=$lt_ac_sed
7199 { echo "$as_me:$LINENO: result
: $SED" >&5
7200 echo "${ECHO_T}$SED" >&6; }
7202 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
7203 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
7204 if test "${ac_cv_path_GREP+set}" = set; then
7205 echo $ECHO_N "(cached
) $ECHO_C" >&6
7207 # Extract the first word of "grep ggrep
" to use in msg output
7208 if test -z "$GREP"; then
7209 set dummy grep ggrep; ac_prog_name=$2
7210 if test "${ac_cv_path_GREP+set}" = set; then
7211 echo $ECHO_N "(cached
) $ECHO_C" >&6
7213 ac_path_GREP_found=false
7214 # Loop through the user's path and test for each of PROGNAME-LIST
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7219 test -z "$as_dir" && as_dir=.
7220 for ac_prog in grep ggrep; do
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7223 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7224 # Check for GNU ac_path_GREP and select it if it is found.
7225 # Check for GNU $ac_path_GREP
7226 case `"$ac_path_GREP" --version 2>&1` in
7228 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7231 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
7234 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
7235 mv "conftest.tmp
" "conftest.
in"
7236 cp "conftest.
in" "conftest.
nl"
7237 echo 'GREP' >> "conftest.
nl"
7238 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
7239 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
7240 ac_count=`expr $ac_count + 1`
7241 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7242 # Best one so far, save it but keep looking for a better one
7243 ac_cv_path_GREP="$ac_path_GREP"
7244 ac_path_GREP_max=$ac_count
7246 # 10*(2^10) chars as input seems more than enough
7247 test $ac_count -gt 10 && break
7249 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7253 $ac_path_GREP_found && break 3
7263 GREP="$ac_cv_path_GREP"
7264 if test -z "$GREP"; then
7265 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
7266 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
7267 { (exit 1); exit 1; }; }
7271 ac_cv_path_GREP=$GREP
7276 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
7277 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7278 GREP="$ac_cv_path_GREP"
7281 { echo "$as_me:$LINENO: checking
for egrep" >&5
7282 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
7283 if test "${ac_cv_path_EGREP+set}" = set; then
7284 echo $ECHO_N "(cached
) $ECHO_C" >&6
7286 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7287 then ac_cv_path_EGREP="$GREP -E"
7289 # Extract the first word of "egrep" to use in msg output
7290 if test -z "$EGREP"; then
7291 set dummy egrep; ac_prog_name=$2
7292 if test "${ac_cv_path_EGREP+set}" = set; then
7293 echo $ECHO_N "(cached
) $ECHO_C" >&6
7295 ac_path_EGREP_found=false
7296 # Loop through the user's path and test for each of PROGNAME-LIST
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7301 test -z "$as_dir" && as_dir=.
7302 for ac_prog in egrep; do
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7305 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7306 # Check for GNU ac_path_EGREP and select it if it is found.
7307 # Check for GNU $ac_path_EGREP
7308 case `"$ac_path_EGREP" --version 2>&1` in
7310 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7313 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
7316 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
7317 mv "conftest.tmp
" "conftest.
in"
7318 cp "conftest.
in" "conftest.
nl"
7319 echo 'EGREP' >> "conftest.
nl"
7320 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
7321 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
7322 ac_count=`expr $ac_count + 1`
7323 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7324 # Best one so far, save it but keep looking for a better one
7325 ac_cv_path_EGREP="$ac_path_EGREP"
7326 ac_path_EGREP_max=$ac_count
7328 # 10*(2^10) chars as input seems more than enough
7329 test $ac_count -gt 10 && break
7331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7335 $ac_path_EGREP_found && break 3
7345 EGREP="$ac_cv_path_EGREP"
7346 if test -z "$EGREP"; then
7347 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
7348 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
7349 { (exit 1); exit 1; }; }
7353 ac_cv_path_EGREP=$EGREP
7359 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
7360 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7361 EGREP="$ac_cv_path_EGREP"
7365 # Check whether --with-gnu-ld was given.
7366 if test "${with_gnu_ld+set}" = set; then
7367 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7373 if test "$GCC" = yes; then
7374 # Check if gcc -print-prog-name=ld gives a path.
7375 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
7376 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
7379 # gcc leaves a trailing carriage return which upsets mingw
7380 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7382 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7385 # Accept absolute paths.
7387 re_direlt='/[^/][^/]*/\.\./'
7388 # Canonicalize the pathname of ld
7389 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7390 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7391 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
7393 test -z "$LD" && LD="$ac_prog"
7396 # If it fails, then pretend we aren't using GCC.
7400 # If it is relative, then search for the first ld in PATH.
7404 elif test "$with_gnu_ld" = yes; then
7405 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
7406 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
7408 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
7409 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
7411 if test "${lt_cv_path_LD+set}" = set; then
7412 echo $ECHO_N "(cached
) $ECHO_C" >&6
7414 if test -z "$LD"; then
7415 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7416 for ac_dir in $PATH; do
7418 test -z "$ac_dir" && ac_dir=.
7419 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7420 lt_cv_path_LD="$ac_dir/$ac_prog"
7421 # Check to see if the program is GNU ld. I'd rather use --version,
7422 # but apparently some variants of GNU ld only accept -v.
7423 # Break only if it was the GNU/non-GNU ld that we prefer.
7424 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7425 *GNU* | *'with BFD'*)
7426 test "$with_gnu_ld" != no && break
7429 test "$with_gnu_ld" != yes && break
7436 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7441 if test -n "$LD"; then
7442 { echo "$as_me:$LINENO: result
: $LD" >&5
7443 echo "${ECHO_T}$LD" >&6; }
7445 { echo "$as_me:$LINENO: result
: no
" >&5
7446 echo "${ECHO_T}no
" >&6; }
7448 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
7449 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
7450 { (exit 1); exit 1; }; }
7451 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
7452 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
7453 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7454 echo $ECHO_N "(cached
) $ECHO_C" >&6
7456 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7457 case `$LD -v 2>&1 </dev/null` in
7458 *GNU* | *'with BFD'*)
7459 lt_cv_prog_gnu_ld=yes
7462 lt_cv_prog_gnu_ld=no
7466 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
7467 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7468 with_gnu_ld=$lt_cv_prog_gnu_ld
7471 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
7472 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
7473 if test "${lt_cv_ld_reload_flag+set}" = set; then
7474 echo $ECHO_N "(cached
) $ECHO_C" >&6
7476 lt_cv_ld_reload_flag='-r'
7478 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
7479 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7480 reload_flag=$lt_cv_ld_reload_flag
7481 case $reload_flag in
7483 *) reload_flag=" $reload_flag" ;;
7485 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7488 if test "$GCC" = yes; then
7489 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7491 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7496 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
7497 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
7498 if test "${lt_cv_path_NM+set}" = set; then
7499 echo $ECHO_N "(cached
) $ECHO_C" >&6
7501 if test -n "$NM"; then
7502 # Let the user override the test.
7505 lt_nm_to_check="${ac_tool_prefix}nm
"
7506 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7507 lt_nm_to_check="$lt_nm_to_check nm
"
7509 for lt_tmp_nm in $lt_nm_to_check; do
7510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7511 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7513 test -z "$ac_dir" && ac_dir=.
7514 tmp_nm="$ac_dir/$lt_tmp_nm"
7515 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7516 # Check to see if the nm accepts a BSD-compat flag.
7517 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7518 # nm: unknown option "B
" ignored
7519 # Tru64's nm complains that /dev/null is an invalid object file
7520 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7521 */dev/null* | *'Invalid file or object type'*)
7522 lt_cv_path_NM="$tmp_nm -B"
7526 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7528 lt_cv_path_NM="$tmp_nm -p"
7532 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7533 continue # so that we can try to find one that supports BSD flags
7542 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7545 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
7546 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7549 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
7550 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
7552 if test "$LN_S" = "ln -s"; then
7553 { echo "$as_me:$LINENO: result
: yes" >&5
7554 echo "${ECHO_T}yes" >&6; }
7556 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
7557 echo "${ECHO_T}no
, using
$LN_S" >&6; }
7560 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
7561 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
7562 if test "${lt_cv_deplibs_check_method+set}" = set; then
7563 echo $ECHO_N "(cached
) $ECHO_C" >&6
7565 lt_cv_file_magic_cmd='$MAGIC_CMD'
7566 lt_cv_file_magic_test_file=
7567 lt_cv_deplibs_check_method='unknown'
7568 # Need to set the preceding variable on all platforms that support
7569 # interlibrary dependencies.
7570 # 'none' -- dependencies not supported.
7571 # `unknown' -- same as none, but documents that we really don't know.
7572 # 'pass_all' -- all dependencies passed with no checks.
7573 # 'test_compile' -- check by making test program.
7574 # 'file_magic [[regex]]' -- check by looking for files in library path
7575 # which responds to the $file_magic_cmd with a given extended regex.
7576 # If you have `file' or equivalent on your system and you're not sure
7577 # whether `pass_all' will *always* work, you probably want this one.
7581 lt_cv_deplibs_check_method=pass_all
7585 lt_cv_deplibs_check_method=pass_all
7589 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7590 lt_cv_file_magic_cmd='/usr/bin/file -L'
7591 lt_cv_file_magic_test_file=/shlib/libc.so
7595 # func_win32_libid is a shell function defined in ltmain.sh
7596 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7597 lt_cv_file_magic_cmd='func_win32_libid'
7601 # Base MSYS/MinGW do not provide the 'file' command needed by
7602 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7603 # unless we find 'file', for example because we are cross-compiling.
7604 if ( file / ) >/dev/null 2>&1; then
7605 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7606 lt_cv_file_magic_cmd='func_win32_libid'
7608 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7609 lt_cv_file_magic_cmd='$OBJDUMP -f'
7613 darwin* | rhapsody*)
7614 lt_cv_deplibs_check_method=pass_all
7617 freebsd* | dragonfly*)
7618 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7621 # Not sure whether the presence of OpenBSD here was a mistake.
7622 # Let's accept both of them until this is cleared up.
7623 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7624 lt_cv_file_magic_cmd=/usr/bin/file
7625 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7629 lt_cv_deplibs_check_method=pass_all
7634 lt_cv_deplibs_check_method=pass_all
7637 hpux10.20* | hpux11*)
7638 lt_cv_file_magic_cmd=/usr/bin/file
7641 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7642 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7645 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]'
7646 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7649 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7650 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7656 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7657 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7660 irix5* | irix6* | nonstopux*)
7662 *-32|*"-32 ") libmagic=32-bit;;
7663 *-n32|*"-n32 ") libmagic=N32;;
7664 *-64|*"-64 ") libmagic=64-bit;;
7665 *) libmagic=never-match;;
7667 lt_cv_deplibs_check_method=pass_all
7670 # This must be Linux ELF.
7671 linux* | k*bsd*-gnu)
7672 lt_cv_deplibs_check_method=pass_all
7675 netbsd* | netbsdelf*-gnu)
7676 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7677 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7684 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7685 lt_cv_file_magic_cmd=/usr/bin/file
7686 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7690 lt_cv_deplibs_check_method=unknown
7694 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7697 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7701 osf3* | osf4* | osf5*)
7702 lt_cv_deplibs_check_method=pass_all
7706 lt_cv_deplibs_check_method=pass_all
7710 lt_cv_deplibs_check_method=pass_all
7714 case $host_vendor in
7716 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]'
7717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7720 lt_cv_deplibs_check_method=pass_all
7723 lt_cv_file_magic_cmd='/bin/file'
7724 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7727 lt_cv_file_magic_cmd='/bin/file'
7728 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7729 lt_cv_file_magic_test_file=/lib/libc.so
7732 lt_cv_deplibs_check_method=pass_all
7735 lt_cv_deplibs_check_method=pass_all
7740 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7741 lt_cv_deplibs_check_method=pass_all
7746 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
7747 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7748 file_magic_cmd=$lt_cv_file_magic_cmd
7749 deplibs_check_method=$lt_cv_deplibs_check_method
7750 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7755 # If no C compiler was specified, use CC.
7758 # If no C compiler flags were specified, use CFLAGS.
7759 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7761 # Allow CC to be a program name with arguments.
7764 # Check whether --enable-libtool-lock was given.
7765 if test "${enable_libtool_lock+set}" = set; then
7766 enableval=$enable_libtool_lock;
7769 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7771 # Some flags need to be propagated to the compiler or linker for good
7775 # Find out which ABI we are using.
7776 echo 'int i;' > conftest.$ac_ext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7778 (eval $ac_compile) 2>&5
7780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7781 (exit $ac_status); }; then
7782 case `/usr/bin/file conftest.$ac_objext` in
7794 # Find out which ABI we are using.
7795 echo '#line 7795 "configure
"' > conftest.$ac_ext
7796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7797 (eval $ac_compile) 2>&5
7799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7800 (exit $ac_status); }; then
7801 if test "$lt_cv_prog_gnu_ld" = yes; then
7802 case `/usr/bin/file conftest.$ac_objext` in
7804 LD="${LD-ld} -melf32bsmip"
7807 LD="${LD-ld} -melf32bmipn32"
7810 LD="${LD-ld} -melf64bmip"
7814 case `/usr/bin/file conftest.$ac_objext` in
7830 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7831 s390*-*linux*|sparc*-*linux*)
7832 # Find out which ABI we are using.
7833 echo 'int i;' > conftest.$ac_ext
7834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7835 (eval $ac_compile) 2>&5
7837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7838 (exit $ac_status); }; then
7839 case `/usr/bin/file conftest.o` in
7842 x86_64-*kfreebsd*-gnu)
7843 LD="${LD-ld} -m elf_i386_fbsd
"
7846 LD="${LD-ld} -m elf_i386
"
7848 ppc64-*linux*|powerpc64-*linux*)
7849 LD="${LD-ld} -m elf32ppclinux
"
7852 LD="${LD-ld} -m elf_s390
"
7855 LD="${LD-ld} -m elf32_sparc
"
7861 x86_64-*kfreebsd*-gnu)
7862 LD="${LD-ld} -m elf_x86_64_fbsd
"
7865 LD="${LD-ld} -m elf_x86_64
"
7867 ppc*-*linux*|powerpc*-*linux*)
7868 LD="${LD-ld} -m elf64ppc
"
7871 LD="${LD-ld} -m elf64_s390
"
7874 LD="${LD-ld} -m elf64_sparc
"
7884 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7885 SAVE_CFLAGS="$CFLAGS"
7886 CFLAGS="$CFLAGS -belf"
7887 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7888 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
7889 if test "${lt_cv_cc_needs_belf+set}" = set; then
7890 echo $ECHO_N "(cached
) $ECHO_C" >&6
7893 ac_cpp='$CPP $CPPFLAGS'
7894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7898 cat >conftest.$ac_ext <<_ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7913 rm -f conftest.$ac_objext conftest$ac_exeext
7914 if { (ac_try="$ac_link"
7916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7917 *) ac_try_echo=$ac_try;;
7919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7920 (eval "$ac_link") 2>conftest.er1
7922 grep -v '^ *+' conftest.er1 >conftest.err
7924 cat conftest.err >&5
7925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7926 (exit $ac_status); } && {
7927 test -z "$ac_c_werror_flag" ||
7928 test ! -s conftest.err
7929 } && test -s conftest$ac_exeext &&
7930 $as_test_x conftest$ac_exeext; then
7931 lt_cv_cc_needs_belf=yes
7933 echo "$as_me: failed program was
:" >&5
7934 sed 's/^/| /' conftest.$ac_ext >&5
7936 lt_cv_cc_needs_belf=no
7939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7940 conftest$ac_exeext conftest.$ac_ext
7942 ac_cpp='$CPP $CPPFLAGS'
7943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7948 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7949 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7950 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7951 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7952 CFLAGS="$SAVE_CFLAGS"
7956 # Find out which ABI we are using.
7957 echo 'int i;' > conftest.$ac_ext
7958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7959 (eval $ac_compile) 2>&5
7961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7962 (exit $ac_status); }; then
7963 case `/usr/bin/file conftest.o` in
7965 case $lt_cv_prog_gnu_ld in
7966 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7968 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7982 need_locks="$enable_libtool_lock"
7986 ac_cpp='$CPP $CPPFLAGS'
7987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7990 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7991 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
7992 # On Suns, sometimes $CPP names a directory.
7993 if test -n "$CPP" && test -d "$CPP"; then
7996 if test -z "$CPP"; then
7997 if test "${ac_cv_prog_CPP+set}" = set; then
7998 echo $ECHO_N "(cached
) $ECHO_C" >&6
8000 # Double quotes because CPP needs to be expanded
8001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8004 for ac_c_preproc_warn_flag in '' yes
8006 # Use a header file that comes with gcc, so configuring glibc
8007 # with a fresh cross-compiler works.
8008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8009 # <limits.h> exists even on freestanding compilers.
8010 # On the NeXT, cc -E runs the code through the compiler's parser,
8011 # not just through cpp. "Syntax error
" is here to catch this case.
8012 cat >conftest.$ac_ext <<_ACEOF
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8019 # include <limits.h>
8021 # include <assert.h>
8025 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8028 *) ac_try_echo=$ac_try;;
8030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8031 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8033 grep -v '^ *+' conftest.er1 >conftest.err
8035 cat conftest.err >&5
8036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8037 (exit $ac_status); } >/dev/null && {
8038 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8039 test ! -s conftest.err
8043 echo "$as_me: failed program was
:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8046 # Broken: fails on valid input.
8050 rm -f conftest.err conftest.$ac_ext
8052 # OK, works on sane cases. Now check whether nonexistent headers
8053 # can be detected and how.
8054 cat >conftest.$ac_ext <<_ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 #include <ac_nonexistent.h>
8062 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8070 grep -v '^ *+' conftest.er1 >conftest.err
8072 cat conftest.err >&5
8073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8074 (exit $ac_status); } >/dev/null && {
8075 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8076 test ! -s conftest.err
8078 # Broken: success on invalid input.
8081 echo "$as_me: failed program was
:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8084 # Passes both tests.
8089 rm -f conftest.err conftest.$ac_ext
8092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8093 rm -f conftest.err conftest.$ac_ext
8094 if $ac_preproc_ok; then
8106 { echo "$as_me:$LINENO: result
: $CPP" >&5
8107 echo "${ECHO_T}$CPP" >&6; }
8109 for ac_c_preproc_warn_flag in '' yes
8111 # Use a header file that comes with gcc, so configuring glibc
8112 # with a fresh cross-compiler works.
8113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8114 # <limits.h> exists even on freestanding compilers.
8115 # On the NeXT, cc -E runs the code through the compiler's parser,
8116 # not just through cpp. "Syntax error
" is here to catch this case.
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8124 # include <limits.h>
8126 # include <assert.h>
8130 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133 *) ac_try_echo=$ac_try;;
8135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8136 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8138 grep -v '^ *+' conftest.er1 >conftest.err
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8142 (exit $ac_status); } >/dev/null && {
8143 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8144 test ! -s conftest.err
8148 echo "$as_me: failed program was
:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 # Broken: fails on valid input.
8155 rm -f conftest.err conftest.$ac_ext
8157 # OK, works on sane cases. Now check whether nonexistent headers
8158 # can be detected and how.
8159 cat >conftest.$ac_ext <<_ACEOF
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8165 #include <ac_nonexistent.h>
8167 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8170 *) ac_try_echo=$ac_try;;
8172 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8173 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8175 grep -v '^ *+' conftest.er1 >conftest.err
8177 cat conftest.err >&5
8178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8179 (exit $ac_status); } >/dev/null && {
8180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8181 test ! -s conftest.err
8183 # Broken: success on invalid input.
8186 echo "$as_me: failed program was
:" >&5
8187 sed 's/^/| /' conftest.$ac_ext >&5
8189 # Passes both tests.
8194 rm -f conftest.err conftest.$ac_ext
8197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8198 rm -f conftest.err conftest.$ac_ext
8199 if $ac_preproc_ok; then
8202 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
8203 See \
`config.log' for more details." >&5
8204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8205 See \`config.log
' for more details." >&2;}
8206 { (exit 1); exit 1; }; }
8210 ac_cpp='$CPP $CPPFLAGS'
8211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
8212 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
8213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8216 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8217 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8218 if test "${ac_cv_header_stdc+set}" = set; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 cat >conftest.$ac_ext <<_ACEOF
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8240 rm -f conftest.$ac_objext
8241 if { (ac_try="$ac_compile"
8243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;;
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_compile") 2>conftest.er1
8249 grep -v '^
*+' conftest.er1 >conftest.err
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest.$ac_objext; then
8257 ac_cv_header_stdc=yes
8259 echo "$as_me: failed program was:" >&5
8260 sed 's
/^
/|
/' conftest.$ac_ext >&5
8262 ac_cv_header_stdc=no
8265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8267 if test $ac_cv_header_stdc = yes; then
8268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8269 cat >conftest.$ac_ext <<_ACEOF
8272 cat confdefs.h >>conftest.$ac_ext
8273 cat >>conftest.$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8279 $EGREP "memchr" >/dev/null 2>&1; then
8282 ac_cv_header_stdc=no
8288 if test $ac_cv_header_stdc = yes; then
8289 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8290 cat >conftest.$ac_ext <<_ACEOF
8293 cat confdefs.h >>conftest.$ac_ext
8294 cat >>conftest.$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8300 $EGREP "free" >/dev/null 2>&1; then
8303 ac_cv_header_stdc=no
8309 if test $ac_cv_header_stdc = yes; then
8310 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8311 if test "$cross_compiling" = yes; then
8314 cat >conftest.$ac_ext <<_ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8322 #if ((' ' & 0x0FF) == 0x020)
8323 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
8324 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
8326 # define ISLOWER(c) \
8327 (('a
' <= (c) && (c) <= 'i
') \
8328 || ('j
' <= (c) && (c) <= 'r
') \
8329 || ('s
' <= (c) && (c) <= 'z
'))
8330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8338 for (i = 0; i < 256; i++)
8339 if (XOR (islower (i), ISLOWER (i))
8340 || toupper (i) != TOUPPER (i))
8345 rm -f conftest$ac_exeext
8346 if { (ac_try="$ac_link"
8348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8349 *) ac_try_echo=$ac_try;;
8351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8352 (eval "$ac_link") 2>&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8356 { (case "(($ac_try" in
8357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8358 *) ac_try_echo=$ac_try;;
8360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8361 (eval "$ac_try") 2>&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
8367 echo "$as_me: program exited with status $ac_status" >&5
8368 echo "$as_me: failed program was:" >&5
8369 sed 's
/^
/|
/' conftest.$ac_ext >&5
8372 ac_cv_header_stdc=no
8374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8380 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8381 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8382 if test $ac_cv_header_stdc = yes; then
8384 cat >>confdefs.h <<\_ACEOF
8385 #define STDC_HEADERS 1
8390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8401 inttypes.h stdint.h unistd.h
8403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 cat >conftest.$ac_ext <<_ACEOF
8412 cat confdefs.h >>conftest.$ac_ext
8413 cat >>conftest.$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8415 $ac_includes_default
8417 #include <$ac_header>
8419 rm -f conftest.$ac_objext
8420 if { (ac_try="$ac_compile"
8422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8423 *) ac_try_echo=$ac_try;;
8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8426 (eval "$ac_compile") 2>conftest.er1
8428 grep -v '^
*+' conftest.er1 >conftest.err
8430 cat conftest.err >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } && {
8433 test -z "$ac_c_werror_flag" ||
8434 test ! -s conftest.err
8435 } && test -s conftest.$ac_objext; then
8436 eval "$as_ac_Header=yes"
8438 echo "$as_me: failed program was:" >&5
8439 sed 's
/^
/|
/' conftest.$ac_ext >&5
8441 eval "$as_ac_Header=no"
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 ac_res=`eval echo '${'$as_ac_Header'}'`
8447 { echo "$as_me:$LINENO: result: $ac_res" >&5
8448 echo "${ECHO_T}$ac_res" >&6; }
8449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8450 cat >>confdefs.h <<_ACEOF
8451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8460 for ac_header in dlfcn.h
8462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8464 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 ac_res=`eval echo '${'$as_ac_Header'}'`
8470 { echo "$as_me:$LINENO: result: $ac_res" >&5
8471 echo "${ECHO_T}$ac_res" >&6; }
8473 # Is the header compilable?
8474 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8476 cat >conftest.$ac_ext <<_ACEOF
8479 cat confdefs.h >>conftest.$ac_ext
8480 cat >>conftest.$ac_ext <<_ACEOF
8481 /* end confdefs.h. */
8482 $ac_includes_default
8483 #include <$ac_header>
8485 rm -f conftest.$ac_objext
8486 if { (ac_try="$ac_compile"
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 (eval "$ac_compile") 2>conftest.er1
8494 grep -v '^
*+' conftest.er1 >conftest.err
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } && {
8499 test -z "$ac_c_werror_flag" ||
8500 test ! -s conftest.err
8501 } && test -s conftest.$ac_objext; then
8502 ac_header_compiler=yes
8504 echo "$as_me: failed program was:" >&5
8505 sed 's
/^
/|
/' conftest.$ac_ext >&5
8507 ac_header_compiler=no
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8512 echo "${ECHO_T}$ac_header_compiler" >&6; }
8514 # Is the header present?
8515 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8517 cat >conftest.$ac_ext <<_ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 #include <$ac_header>
8525 if { (ac_try="$ac_cpp conftest.$ac_ext"
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8528 *) ac_try_echo=$ac_try;;
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8533 grep -v '^
*+' conftest.er1 >conftest.err
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } >/dev/null && {
8538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8539 test ! -s conftest.err
8541 ac_header_preproc=yes
8543 echo "$as_me: failed program was:" >&5
8544 sed 's
/^
/|
/' conftest.$ac_ext >&5
8546 ac_header_preproc=no
8549 rm -f conftest.err conftest.$ac_ext
8550 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8551 echo "${ECHO_T}$ac_header_preproc" >&6; }
8553 # So? What about this header?
8554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
8559 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
8560 ac_header_preproc=yes
8563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
8572 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
8573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8576 ## ------------------------------------------------ ##
8577 ## Report this to barry-devel@lists.sourceforge.net ##
8578 ## ------------------------------------------------ ##
8580 ) | sed "s/^/$as_me: WARNING: /" >&2
8583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 eval "$as_ac_Header=\$ac_header_preproc"
8590 ac_res=`eval echo '${'$as_ac_Header'}'`
8591 { echo "$as_me:$LINENO: result: $ac_res" >&5
8592 echo "${ECHO_T}$ac_res" >&6; }
8595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8596 cat >>confdefs.h <<_ACEOF
8597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8606 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8607 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8608 (test "X$CXX" != "Xg++"))) ; then
8610 ac_cpp='$CXXCPP $CPPFLAGS'
8611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
8612 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8614 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8615 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8616 if test -z "$CXXCPP"; then
8617 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 # Double quotes because CXXCPP needs to be expanded
8621 for CXXCPP in "$CXX -E" "/lib/cpp"
8624 for ac_cxx_preproc_warn_flag in '' yes
8626 # Use a header file that comes with gcc, so configuring glibc
8627 # with a fresh cross-compiler works.
8628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8629 # <limits.h> exists even on freestanding compilers.
8630 # On the NeXT, cc -E runs the code through the compiler's parser
,
8631 # not just through cpp. "Syntax error" is here to catch this case.
8632 cat >conftest.
$ac_ext <<_ACEOF
8635 cat confdefs.h
>>conftest.
$ac_ext
8636 cat >>conftest.
$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8639 # include <limits.h>
8641 # include <assert.h>
8645 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1 >conftest.err
8655 cat conftest.err >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } >/dev/null && {
8658 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8659 test ! -s conftest.err
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 # Broken: fails on valid input.
8670 rm -f conftest.err conftest.$ac_ext
8672 # OK, works on sane cases. Now check whether nonexistent headers
8673 # can be detected and how.
8674 cat >conftest.$ac_ext <<_ACEOF
8677 cat confdefs.h >>conftest.$ac_ext
8678 cat >>conftest.$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 #include <ac_nonexistent.h>
8682 if { (ac_try="$ac_cpp conftest.$ac_ext"
8684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8685 *) ac_try_echo
=$ac_try;;
8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8690 grep -v '^ *+' conftest.er1
>conftest.err
8692 cat conftest.err
>&5
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); } >/dev
/null
&& {
8695 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8696 test ! -s conftest.err
8698 # Broken: success on invalid input.
8701 echo "$as_me: failed program was:" >&5
8702 sed 's/^/| /' conftest.
$ac_ext >&5
8704 # Passes both tests.
8709 rm -f conftest.err conftest.
$ac_ext
8712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8713 rm -f conftest.err conftest.
$ac_ext
8714 if $ac_preproc_ok; then
8719 ac_cv_prog_CXXCPP
=$CXXCPP
8722 CXXCPP
=$ac_cv_prog_CXXCPP
8724 ac_cv_prog_CXXCPP
=$CXXCPP
8726 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
8727 echo "${ECHO_T}$CXXCPP" >&6; }
8729 for ac_cxx_preproc_warn_flag
in '' yes
8731 # Use a header file that comes with gcc, so configuring glibc
8732 # with a fresh cross-compiler works.
8733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8734 # <limits.h> exists even on freestanding compilers.
8735 # On the NeXT, cc -E runs the code through the compiler's parser,
8736 # not just through cpp. "Syntax error" is here to catch this case.
8737 cat >conftest.
$ac_ext <<_ACEOF
8740 cat confdefs.h
>>conftest.
$ac_ext
8741 cat >>conftest.
$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8744 # include <limits.h>
8746 # include <assert.h>
8750 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8753 *) ac_try_echo=$ac_try;;
8755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8758 grep -v '^ *+' conftest.er1 >conftest.err
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev/null && {
8763 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8764 test ! -s conftest.err
8768 echo "$as_me: failed program was:" >&5
8769 sed 's/^/| /' conftest.$ac_ext >&5
8771 # Broken: fails on valid input.
8775 rm -f conftest.err conftest.$ac_ext
8777 # OK, works on sane cases. Now check whether nonexistent headers
8778 # can be detected and how.
8779 cat >conftest.$ac_ext <<_ACEOF
8782 cat confdefs.h >>conftest.$ac_ext
8783 cat >>conftest.$ac_ext <<_ACEOF
8784 /* end confdefs.h. */
8785 #include <ac_nonexistent.h>
8787 if { (ac_try="$ac_cpp conftest.$ac_ext"
8789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8790 *) ac_try_echo
=$ac_try;;
8792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8795 grep -v '^ *+' conftest.er1
>conftest.err
8797 cat conftest.err
>&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); } >/dev
/null
&& {
8800 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8801 test ! -s conftest.err
8803 # Broken: success on invalid input.
8806 echo "$as_me: failed program was:" >&5
8807 sed 's/^/| /' conftest.
$ac_ext >&5
8809 # Passes both tests.
8814 rm -f conftest.err conftest.
$ac_ext
8817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8818 rm -f conftest.err conftest.
$ac_ext
8819 if $ac_preproc_ok; then
8822 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8823 See \`config.log' for more details." >&5
8824 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8825 See \`config.log' for more details." >&2;}
8826 { (exit 1); exit 1; }; }
8830 ac_cpp
='$CXXCPP $CPPFLAGS'
8831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8839 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8840 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8841 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
8842 if test -n "$ac_tool_prefix"; then
8843 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
8845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8849 if test "${ac_cv_prog_F77+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 if test -n "$F77"; then
8853 ac_cv_prog_F77
="$F77" # Let the user override the test.
8855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir
=.
8860 for ac_exec_ext
in '' $ac_executable_extensions; do
8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
8863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8873 if test -n "$F77"; then
8874 { echo "$as_me:$LINENO: result: $F77" >&5
8875 echo "${ECHO_T}$F77" >&6; }
8877 { echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6; }
8882 test -n "$F77" && break
8885 if test -z "$F77"; then
8887 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
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy
$ac_prog; ac_word
=$2
8891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8893 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 if test -n "$ac_ct_F77"; then
8897 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
8899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir
=.
8904 for ac_exec_ext
in '' $ac_executable_extensions; do
8905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906 ac_cv_prog_ac_ct_F77
="$ac_prog"
8907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
8917 if test -n "$ac_ct_F77"; then
8918 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8919 echo "${ECHO_T}$ac_ct_F77" >&6; }
8921 { echo "$as_me:$LINENO: result: no" >&5
8922 echo "${ECHO_T}no" >&6; }
8926 test -n "$ac_ct_F77" && break
8929 if test "x$ac_ct_F77" = x
; then
8932 case $cross_compiling:$ac_tool_warned in
8934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8935 whose name does not start with the host triplet. If you think this
8936 configuration is useful to you, please write to autoconf@gnu.org." >&5
8937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8938 whose name does not start with the host triplet. If you think this
8939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8940 ac_tool_warned
=yes ;;
8947 # Provide some information about the compiler.
8948 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8949 ac_compiler
=`set X $ac_compile; echo $2`
8950 { (ac_try
="$ac_compiler --version >&5"
8952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_compiler --version >&5") 2>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }
8960 { (ac_try="$ac_compiler -v >&5"
8962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8963 *) ac_try_echo
=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_compiler -v >&5") 2>&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }
8970 { (ac_try
="$ac_compiler -V >&5"
8972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8973 *) ac_try_echo=$ac_try;;
8975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976 (eval "$ac_compiler -V >&5") 2>&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }
8982 # If we don't use `.F
' as extension, the preprocessor is not run on the
8983 # input file. (Note that this only needs to work for GNU compilers.)
8986 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8987 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8988 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 cat >conftest.$ac_ext <<_ACEOF
8999 rm -f conftest.$ac_objext
9000 if { (ac_try="$ac_compile"
9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_compile") 2>conftest.er1
9008 grep -v '^
*+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_f77_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest.$ac_objext; then
9018 echo "$as_me: failed program was:" >&5
9019 sed 's
/^
/|
/' conftest.$ac_ext >&5
9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9025 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9028 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9029 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9031 ac_test_FFLAGS=${FFLAGS+set}
9032 ac_save_FFLAGS=$FFLAGS
9034 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9035 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9036 if test "${ac_cv_prog_f77_g+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 cat >conftest.$ac_ext <<_ACEOF
9045 rm -f conftest.$ac_objext
9046 if { (ac_try="$ac_compile"
9048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9049 *) ac_try_echo=$ac_try;;
9051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9052 (eval "$ac_compile") 2>conftest.er1
9054 grep -v '^
*+' conftest.er1 >conftest.err
9056 cat conftest.err >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); } && {
9059 test -z "$ac_f77_werror_flag" ||
9060 test ! -s conftest.err
9061 } && test -s conftest.$ac_objext; then
9062 ac_cv_prog_f77_g=yes
9064 echo "$as_me: failed program was:" >&5
9065 sed 's
/^
/|
/' conftest.$ac_ext >&5
9070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9073 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9074 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9075 if test "$ac_test_FFLAGS" = set; then
9076 FFLAGS=$ac_save_FFLAGS
9077 elif test $ac_cv_prog_f77_g = yes; then
9078 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9084 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9091 G77=`test $ac_compiler_gnu = yes && echo yes`
9093 ac_cpp='$CPP $CPPFLAGS'
9094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9095 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9100 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
9101 # find the maximum length of command line arguments
9102 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9103 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9104 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 # On DJGPP, this test can blow up pretty badly due to problems in libc
9113 # (any single argument exceeding 2000 bytes causes a buffer overrun
9114 # during glob expansion). Even if it were fixed, the result of this
9115 # check would be larger than it should be.
9116 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
9120 # Under GNU Hurd, this test is not required because there is
9121 # no limit to the length of command line arguments.
9122 # Libtool will interpret -1 as no limit whatsoever
9123 lt_cv_sys_max_cmd_len
=-1;
9127 # On Win9x/ME, this test blows up -- it succeeds, but takes
9128 # about 5 minutes as the teststring grows exponentially.
9129 # Worse, since 9x/ME are not pre-emptively multitasking,
9130 # you end up with a "frozen" computer, even though with patience
9131 # the test eventually succeeds (with a max line length of 256k).
9132 # Instead, let's just punt: use the minimum linelength reported by
9133 # all of the supported platforms: 8192 (on NT/2K/XP).
9134 lt_cv_sys_max_cmd_len
=8192;
9138 # On AmigaOS with pdksh, this test takes hours, literally.
9139 # So we just punt and use a minimum line length of 8192.
9140 lt_cv_sys_max_cmd_len
=8192;
9143 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
9144 # This has been around since 386BSD, at least. Likely further.
9145 if test -x /sbin
/sysctl
; then
9146 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
9147 elif test -x /usr
/sbin
/sysctl
; then
9148 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
9150 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
9152 # And add a safety zone
9153 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9154 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9158 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9159 lt_cv_sys_max_cmd_len
=196608
9163 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9164 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9165 # nice to cause kernel panics so lets avoid the loop below.
9166 # First set a reasonable default.
9167 lt_cv_sys_max_cmd_len
=16384
9169 if test -x /sbin
/sysconfig
; then
9170 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9171 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
9176 lt_cv_sys_max_cmd_len
=102400
9178 sysv5
* | sco5v6
* | sysv4.2uw2
*)
9179 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9180 if test -n "$kargmax"; then
9181 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
9183 lt_cv_sys_max_cmd_len
=32768
9187 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
9188 if test -n "$lt_cv_sys_max_cmd_len"; then
9189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9190 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9192 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
9193 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
9194 = "XX$teststring") >/dev
/null
2>&1 &&
9195 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
9196 lt_cv_sys_max_cmd_len
=$new_result &&
9197 test $i != 17 # 1/2 MB should be enough
9200 teststring
=$teststring$teststring
9203 # Add a significant safety factor because C++ compilers can tack on massive
9204 # amounts of additional arguments before passing them to the linker.
9205 # It appears as though 1/2 is a usable value.
9206 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
9213 if test -n $lt_cv_sys_max_cmd_len ; then
9214 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9215 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9217 { echo "$as_me:$LINENO: result: none" >&5
9218 echo "${ECHO_T}none" >&6; }
9225 # Check for command to grab the raw symbol name followed by C symbol from nm.
9226 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9227 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9228 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9229 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 # These are sane defaults that work on at least a few old systems.
9233 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9235 # Character class describing NM global symbol codes.
9236 symcode
='[BCDEGRST]'
9238 # Regexp to match symbols that can be accessed directly from C.
9239 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
9241 # Transform an extracted symbol line into a proper C declaration
9242 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9244 # Transform an extracted symbol line into symbol name and symbol address
9245 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'"
9247 # Define system-specific variables.
9252 cygwin
* | mingw
* | pw32
*)
9253 symcode
='[ABCDGISTW]'
9255 hpux
*) # Its linker distinguishes data from code symbols
9256 if test "$host_cpu" = ia64
; then
9257 symcode
='[ABCDEGRST]'
9259 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9260 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'"
9262 linux
* | k
*bsd
*-gnu)
9263 if test "$host_cpu" = ia64
; then
9264 symcode
='[ABCDGIRSTW]'
9265 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9266 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'"
9270 symcode
='[BCDEGRST]'
9273 symcode
='[BCDEGQRST]'
9284 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9292 # Handle CRLF in mingw tool chain
9296 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9300 # If we're using GNU nm, then use its standard symbol codes.
9301 case `$NM -V 2>&1` in
9302 *GNU
* |
*'with BFD'*)
9303 symcode
='[ABCDGIRSTW]' ;;
9306 # Try without a prefix undercore, then with it.
9307 for ac_symprfx
in "" "_"; do
9309 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9310 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9312 # Write the raw and C identifiers.
9313 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9315 # Check to see that the pipe works correctly.
9319 cat > conftest.
$ac_ext <<EOF
9324 void nm_test_func(){}
9328 int main(){nm_test_var='a';nm_test_func();return(0);}
9331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9332 (eval $ac_compile) 2>&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; then
9336 # Now try to grab the symbols.
9338 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9339 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } && test -s "$nlist"; then
9343 # Try sorting and uniquifying the output.
9344 if sort "$nlist" |
uniq > "$nlist"T
; then
9345 mv -f "$nlist"T
"$nlist"
9350 # Make sure that we snagged all the symbols we need.
9351 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
9352 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
9353 cat <<EOF > conftest.$ac_ext
9359 # Now generate the symbol file.
9360 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9362 cat <<EOF >> conftest.$ac_ext
9363 #if defined (__STDC__) && __STDC__
9364 # define lt_ptr_t void *
9366 # define lt_ptr_t char *
9370 /* The mapping between symbol names and symbols. */
9375 lt_preloaded_symbols[] =
9378 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
9379 cat <<\EOF
>> conftest.
$ac_ext
9387 # Now try linking the two files.
9388 mv conftest.
$ac_objext conftstm.
$ac_objext
9389 lt_save_LIBS
="$LIBS"
9390 lt_save_CFLAGS
="$CFLAGS"
9391 LIBS
="conftstm.$ac_objext"
9392 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9394 (eval $ac_link) 2>&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
9400 LIBS
="$lt_save_LIBS"
9401 CFLAGS
="$lt_save_CFLAGS"
9403 echo "cannot find nm_test_func in $nlist" >&5
9406 echo "cannot find nm_test_var in $nlist" >&5
9409 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9412 echo "$progname: failed program was:" >&5
9413 cat conftest.
$ac_ext >&5
9415 rm -rf conftest
* conftst
*
9417 # Do not use the global_symbol_pipe unless it works.
9418 if test "$pipe_works" = yes; then
9421 lt_cv_sys_global_symbol_pipe
=
9427 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9428 lt_cv_sys_global_symbol_to_cdecl
=
9430 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9431 { echo "$as_me:$LINENO: result: failed" >&5
9432 echo "${ECHO_T}failed" >&6; }
9434 { echo "$as_me:$LINENO: result: ok" >&5
9435 echo "${ECHO_T}ok" >&6; }
9438 { echo "$as_me:$LINENO: checking for objdir" >&5
9439 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9440 if test "${lt_cv_objdir+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 rm -f .libs
2>/dev
/null
9444 mkdir .libs
2>/dev
/null
9445 if test -d .libs
; then
9448 # MS-DOS does not allow filenames that begin with a dot.
9451 rmdir .libs
2>/dev
/null
9453 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9454 echo "${ECHO_T}$lt_cv_objdir" >&6; }
9455 objdir
=$lt_cv_objdir
9463 # AIX sometimes has problems with the GCC collect2 program. For some
9464 # reason, if we set the COLLECT_NAMES environment variable, the problems
9465 # vanish in a puff of smoke.
9466 if test "X${COLLECT_NAMES+set}" != Xset
; then
9468 export COLLECT_NAMES
9473 # Sed substitution that helps us do robust quoting. It backslashifies
9474 # metacharacters that are still active within double-quoted strings.
9475 Xsed
='sed -e 1s/^X//'
9476 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
9478 # Same as above, but do not quote variable references.
9479 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
9481 # Sed substitution to delay expansion of an escaped shell variable in a
9482 # double_quote_subst'ed string.
9483 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
9485 # Sed substitution to avoid accidental globbing in evaled expressions
9486 no_glob_subst
='s/\*/\\\*/g'
9492 default_ofile
=libtool
9493 can_build_shared
=yes
9495 # All known linkers require a `.a' archive for static linking (except MSVC,
9496 # which needs '.lib').
9498 ltmain
="$ac_aux_dir/ltmain.sh"
9499 ofile
="$default_ofile"
9500 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9502 if test -n "$ac_tool_prefix"; then
9503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9504 set dummy
${ac_tool_prefix}ar; ac_word
=$2
9505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9507 if test "${ac_cv_prog_AR+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 if test -n "$AR"; then
9511 ac_cv_prog_AR
="$AR" # Let the user override the test.
9513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9517 test -z "$as_dir" && as_dir
=.
9518 for ac_exec_ext
in '' $ac_executable_extensions; do
9519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9520 ac_cv_prog_AR
="${ac_tool_prefix}ar"
9521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9531 if test -n "$AR"; then
9532 { echo "$as_me:$LINENO: result: $AR" >&5
9533 echo "${ECHO_T}$AR" >&6; }
9535 { echo "$as_me:$LINENO: result: no" >&5
9536 echo "${ECHO_T}no" >&6; }
9541 if test -z "$ac_cv_prog_AR"; then
9543 # Extract the first word of "ar", so it can be a program name with args.
9544 set dummy
ar; ac_word
=$2
9545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 if test -n "$ac_ct_AR"; then
9551 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
9553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9557 test -z "$as_dir" && as_dir
=.
9558 for ac_exec_ext
in '' $ac_executable_extensions; do
9559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9560 ac_cv_prog_ac_ct_AR
="ar"
9561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9570 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
9571 if test -n "$ac_ct_AR"; then
9572 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9573 echo "${ECHO_T}$ac_ct_AR" >&6; }
9575 { echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6; }
9579 if test "x$ac_ct_AR" = x
; then
9582 case $cross_compiling:$ac_tool_warned in
9584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9585 whose name does not start with the host triplet. If you think this
9586 configuration is useful to you, please write to autoconf@gnu.org." >&5
9587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9588 whose name does not start with the host triplet. If you think this
9589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9590 ac_tool_warned
=yes ;;
9598 if test -n "$ac_tool_prefix"; then
9599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9600 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
9601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9603 if test "${ac_cv_prog_RANLIB+set}" = set; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9606 if test -n "$RANLIB"; then
9607 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir
=.
9614 for ac_exec_ext
in '' $ac_executable_extensions; do
9615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
9617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9626 RANLIB
=$ac_cv_prog_RANLIB
9627 if test -n "$RANLIB"; then
9628 { echo "$as_me:$LINENO: result: $RANLIB" >&5
9629 echo "${ECHO_T}$RANLIB" >&6; }
9631 { echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6; }
9637 if test -z "$ac_cv_prog_RANLIB"; then
9638 ac_ct_RANLIB
=$RANLIB
9639 # Extract the first word of "ranlib", so it can be a program name with args.
9640 set dummy ranlib
; ac_word
=$2
9641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9643 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 if test -n "$ac_ct_RANLIB"; then
9647 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
9649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9653 test -z "$as_dir" && as_dir
=.
9654 for ac_exec_ext
in '' $ac_executable_extensions; do
9655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9656 ac_cv_prog_ac_ct_RANLIB
="ranlib"
9657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9666 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
9667 if test -n "$ac_ct_RANLIB"; then
9668 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9669 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9671 { echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6; }
9675 if test "x$ac_ct_RANLIB" = x
; then
9678 case $cross_compiling:$ac_tool_warned in
9680 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9681 whose name does not start with the host triplet. If you think this
9682 configuration is useful to you, please write to autoconf@gnu.org." >&5
9683 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9684 whose name does not start with the host triplet. If you think this
9685 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9686 ac_tool_warned
=yes ;;
9688 RANLIB
=$ac_ct_RANLIB
9691 RANLIB
="$ac_cv_prog_RANLIB"
9694 if test -n "$ac_tool_prefix"; then
9695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9696 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
9697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9699 if test "${ac_cv_prog_STRIP+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9702 if test -n "$STRIP"; then
9703 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9709 test -z "$as_dir" && as_dir
=.
9710 for ac_exec_ext
in '' $ac_executable_extensions; do
9711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9712 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
9713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9722 STRIP
=$ac_cv_prog_STRIP
9723 if test -n "$STRIP"; then
9724 { echo "$as_me:$LINENO: result: $STRIP" >&5
9725 echo "${ECHO_T}$STRIP" >&6; }
9727 { echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6; }
9733 if test -z "$ac_cv_prog_STRIP"; then
9735 # Extract the first word of "strip", so it can be a program name with args.
9736 set dummy strip
; ac_word
=$2
9737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 if test -n "$ac_ct_STRIP"; then
9743 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
9745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir
=.
9750 for ac_exec_ext
in '' $ac_executable_extensions; do
9751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9752 ac_cv_prog_ac_ct_STRIP
="strip"
9753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9762 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
9763 if test -n "$ac_ct_STRIP"; then
9764 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9765 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9767 { echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6; }
9771 if test "x$ac_ct_STRIP" = x
; then
9774 case $cross_compiling:$ac_tool_warned in
9776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9777 whose name does not start with the host triplet. If you think this
9778 configuration is useful to you, please write to autoconf@gnu.org." >&5
9779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9780 whose name does not start with the host triplet. If you think this
9781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9782 ac_tool_warned
=yes ;;
9787 STRIP
="$ac_cv_prog_STRIP"
9792 old_CFLAGS
="$CFLAGS"
9794 # Set sane defaults for various variables
9795 test -z "$AR" && AR
=ar
9796 test -z "$AR_FLAGS" && AR_FLAGS
=cru
9797 test -z "$AS" && AS
=as
9798 test -z "$CC" && CC
=cc
9799 test -z "$LTCC" && LTCC
=$CC
9800 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9801 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9802 test -z "$LD" && LD
=ld
9803 test -z "$LN_S" && LN_S
="ln -s"
9804 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9805 test -z "$NM" && NM
=nm
9806 test -z "$SED" && SED
=sed
9807 test -z "$OBJDUMP" && OBJDUMP
=objdump
9808 test -z "$RANLIB" && RANLIB
=:
9809 test -z "$STRIP" && STRIP
=:
9810 test -z "$ac_objext" && ac_objext
=o
9812 # Determine commands to create old-style static archives.
9813 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
9814 old_postinstall_cmds
='chmod 644 $oldlib'
9815 old_postuninstall_cmds
=
9817 if test -n "$RANLIB"; then
9820 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9823 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
9826 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
9829 for cc_temp
in $compiler""; do
9831 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9832 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9837 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9840 # Only perform the check for file, if the check method requires it
9841 case $deplibs_check_method in
9843 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9844 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9845 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9846 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9851 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9854 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9855 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9856 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9857 for ac_dir
in $ac_dummy; do
9859 test -z "$ac_dir" && ac_dir
=.
9860 if test -f $ac_dir/${ac_tool_prefix}file; then
9861 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9862 if test -n "$file_magic_test_file"; then
9863 case $deplibs_check_method in
9865 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9866 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9867 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9868 $EGREP "$file_magic_regex" > /dev
/null
; then
9873 *** Warning: the command libtool uses to detect shared libraries,
9874 *** $file_magic_cmd, produces output that libtool cannot recognize.
9875 *** The result is that libtool may fail to recognize shared libraries
9876 *** as such. This will affect the creation of libtool libraries that
9877 *** depend on shared libraries, but programs linked with such libtool
9878 *** libraries will work regardless of this problem. Nevertheless, you
9879 *** may want to report the problem to your system manager and/or to
9880 *** bug-libtool@gnu.org
9890 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9895 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9896 if test -n "$MAGIC_CMD"; then
9897 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9898 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9900 { echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6; }
9904 if test -z "$lt_cv_path_MAGIC_CMD"; then
9905 if test -n "$ac_tool_prefix"; then
9906 { echo "$as_me:$LINENO: checking for file" >&5
9907 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9908 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9916 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9917 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9918 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9919 for ac_dir
in $ac_dummy; do
9921 test -z "$ac_dir" && ac_dir
=.
9922 if test -f $ac_dir/file; then
9923 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9924 if test -n "$file_magic_test_file"; then
9925 case $deplibs_check_method in
9927 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9928 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9929 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9930 $EGREP "$file_magic_regex" > /dev
/null
; then
9935 *** Warning: the command libtool uses to detect shared libraries,
9936 *** $file_magic_cmd, produces output that libtool cannot recognize.
9937 *** The result is that libtool may fail to recognize shared libraries
9938 *** as such. This will affect the creation of libtool libraries that
9939 *** depend on shared libraries, but programs linked with such libtool
9940 *** libraries will work regardless of this problem. Nevertheless, you
9941 *** may want to report the problem to your system manager and/or to
9942 *** bug-libtool@gnu.org
9952 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9957 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9958 if test -n "$MAGIC_CMD"; then
9959 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9960 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9962 { echo "$as_me:$LINENO: result: no" >&5
9963 echo "${ECHO_T}no" >&6; }
9977 rhapsody
* | darwin
*)
9978 if test -n "$ac_tool_prefix"; then
9979 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9980 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9983 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 if test -n "$DSYMUTIL"; then
9987 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir
=.
9994 for ac_exec_ext
in '' $ac_executable_extensions; do
9995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9996 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
10007 if test -n "$DSYMUTIL"; then
10008 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
10009 echo "${ECHO_T}$DSYMUTIL" >&6; }
10011 { echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6; }
10017 if test -z "$ac_cv_prog_DSYMUTIL"; then
10018 ac_ct_DSYMUTIL
=$DSYMUTIL
10019 # Extract the first word of "dsymutil", so it can be a program name with args.
10020 set dummy dsymutil
; ac_word
=$2
10021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10023 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 if test -n "$ac_ct_DSYMUTIL"; then
10027 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
10029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10030 for as_dir
in $PATH
10033 test -z "$as_dir" && as_dir
=.
10034 for ac_exec_ext
in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
10037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10046 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
10047 if test -n "$ac_ct_DSYMUTIL"; then
10048 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
10049 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
10051 { echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6; }
10055 if test "x$ac_ct_DSYMUTIL" = x
; then
10058 case $cross_compiling:$ac_tool_warned in
10060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10061 whose name does not start with the host triplet. If you think this
10062 configuration is useful to you, please write to autoconf@gnu.org." >&5
10063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10064 whose name does not start with the host triplet. If you think this
10065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10066 ac_tool_warned
=yes ;;
10068 DSYMUTIL
=$ac_ct_DSYMUTIL
10071 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
10074 if test -n "$ac_tool_prefix"; then
10075 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10076 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
10077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10079 if test "${ac_cv_prog_NMEDIT+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 if test -n "$NMEDIT"; then
10083 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
10085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10086 for as_dir
in $PATH
10089 test -z "$as_dir" && as_dir
=.
10090 for ac_exec_ext
in '' $ac_executable_extensions; do
10091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10092 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
10093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 NMEDIT
=$ac_cv_prog_NMEDIT
10103 if test -n "$NMEDIT"; then
10104 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
10105 echo "${ECHO_T}$NMEDIT" >&6; }
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10113 if test -z "$ac_cv_prog_NMEDIT"; then
10114 ac_ct_NMEDIT
=$NMEDIT
10115 # Extract the first word of "nmedit", so it can be a program name with args.
10116 set dummy nmedit
; ac_word
=$2
10117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10119 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 if test -n "$ac_ct_NMEDIT"; then
10123 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
10125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10126 for as_dir
in $PATH
10129 test -z "$as_dir" && as_dir
=.
10130 for ac_exec_ext
in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
10133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
10143 if test -n "$ac_ct_NMEDIT"; then
10144 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
10145 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
10147 { echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6; }
10151 if test "x$ac_ct_NMEDIT" = x
; then
10154 case $cross_compiling:$ac_tool_warned in
10156 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10157 whose name does not start with the host triplet. If you think this
10158 configuration is useful to you, please write to autoconf@gnu.org." >&5
10159 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10160 whose name does not start with the host triplet. If you think this
10161 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10162 ac_tool_warned
=yes ;;
10164 NMEDIT
=$ac_ct_NMEDIT
10167 NMEDIT
="$ac_cv_prog_NMEDIT"
10171 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10172 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
10173 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 lt_cv_apple_cc_single_mod
=no
10177 if test -z "${LT_MULTI_MODULE}"; then
10178 # By default we will add the -single_module flag. You can override
10179 # by either setting the environment variable LT_MULTI_MODULE
10180 # non-empty at configure time, or by adding -multi_module to the
10182 echo "int foo(void){return 1;}" > conftest.c
10183 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10184 -dynamiclib ${wl}-single_module conftest.c
10185 if test -f libconftest.dylib
; then
10186 lt_cv_apple_cc_single_mod
=yes
10187 rm -rf libconftest.dylib
*
10192 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10193 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
10194 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10195 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
10196 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 lt_cv_ld_exported_symbols_list
=no
10200 save_LDFLAGS
=$LDFLAGS
10201 echo "_main" > conftest.sym
10202 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10203 cat >conftest.
$ac_ext <<_ACEOF
10206 cat confdefs.h
>>conftest.
$ac_ext
10207 cat >>conftest.
$ac_ext <<_ACEOF
10208 /* end confdefs.h. */
10218 rm -f conftest.
$ac_objext conftest
$ac_exeext
10219 if { (ac_try
="$ac_link"
10220 case "(($ac_try" in
10221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10222 *) ac_try_echo=$ac_try;;
10224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10225 (eval "$ac_link") 2>conftest.er1
10227 grep -v '^ *+' conftest.er1 >conftest.err
10229 cat conftest.err >&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); } && {
10232 test -z "$ac_c_werror_flag" ||
10233 test ! -s conftest.err
10234 } && test -s conftest$ac_exeext &&
10235 $as_test_x conftest$ac_exeext; then
10236 lt_cv_ld_exported_symbols_list=yes
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10241 lt_cv_ld_exported_symbols_list=no
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LDFLAGS="$save_LDFLAGS"
10249 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
10250 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
10252 rhapsody* | darwin1.[0123])
10253 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10255 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10257 # if running on 10.5 or later, the deployment target defaults
10258 # to the OS version, if on x86, and 10.4, the deployment
10259 # target defaults to 10.4. Don't you love it?
10260 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10261 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10262 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10264 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10266 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10270 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10271 _lt_dar_single_mod='$single_module'
10273 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10274 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10276 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
10278 if test "$DSYMUTIL" != ":"; then
10279 _lt_dsymutil="~$DSYMUTIL \$lib || :"
10288 enable_win32_dll=no
10290 # Check whether --enable-libtool-lock was given.
10291 if test "${enable_libtool_lock+set}" = set; then
10292 enableval=$enable_libtool_lock;
10295 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10298 # Check whether --with-pic was given.
10299 if test "${with_pic+set}" = set; then
10300 withval=$with_pic; pic_mode="$withval"
10305 test -z "$pic_mode" && pic_mode=default
10307 # Use C for the default configuration in the libtool script
10311 ac_cpp='$CPP $CPPFLAGS'
10312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10317 # Source file extension for C test sources.
10320 # Object file extension for compiled C test sources.
10324 # Code to be used in simple compile tests
10325 lt_simple_compile_test_code="int some_variable = 0;"
10327 # Code to be used in simple link tests
10328 lt_simple_link_test_code='int main(){return(0);}'
10331 # If no C compiler was specified, use CC.
10334 # If no C compiler flags were specified, use CFLAGS.
10335 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10337 # Allow CC to be a program name with arguments.
10341 # save warnings/boilerplate of simple test code
10342 ac_outfile=conftest.$ac_objext
10343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10345 _lt_compiler_boilerplate=`cat conftest.err
`
10348 ac_outfile=conftest.$ac_objext
10349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10351 _lt_linker_boilerplate=`cat conftest.err
`
10356 lt_prog_compiler_no_builtin_flag=
10358 if test "$GCC" = yes; then
10359 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10362 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10363 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10364 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 lt_cv_prog_compiler_rtti_exceptions=no
10368 ac_outfile=conftest.$ac_objext
10369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10370 lt_compiler_flag="-fno-rtti -fno-exceptions"
10371 # Insert the option either (1) after the last *FLAGS variable, or
10372 # (2) before a word containing "conftest.", or (3) at the end.
10373 # Note that $ac_compile itself does not contain backslashes and begins
10374 # with a dollar sign (not a hyphen), so the echo should work correctly.
10375 # The option is referenced via a variable to avoid confusing sed.
10376 lt_compile=`echo "$ac_compile" |
$SED \
10377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10379 -e 's:$: $lt_compiler_flag:'`
10380 (eval echo "\"\$as_me:10380: $lt_compile\"" >&5)
10381 (eval "$lt_compile" 2>conftest.err)
10383 cat conftest.err >&5
10384 echo "$as_me:10384: \$? = $ac_status" >&5
10385 if (exit $ac_status) && test -s "$ac_outfile"; then
10386 # The compiler can only warn and ignore the option if not recognized
10387 # So say no if there are warnings other than the usual output.
10388 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10389 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10390 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10391 lt_cv_prog_compiler_rtti_exceptions=yes
10397 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10398 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10400 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10401 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10408 lt_prog_compiler_wl=
10409 lt_prog_compiler_pic=
10410 lt_prog_compiler_static=
10412 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10413 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10415 if test "$GCC" = yes; then
10416 lt_prog_compiler_wl='-Wl,'
10417 lt_prog_compiler_static='-static'
10421 # All AIX code is PIC.
10422 if test "$host_cpu" = ia64; then
10423 # AIX 5 now supports IA64 processor
10424 lt_prog_compiler_static='-Bstatic'
10429 # FIXME: we need at least 68020 code to build shared libraries, but
10430 # adding the `-m68020' flag to GCC prevents building anything better,
10432 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10435 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10436 # PIC is the default for these OSes.
10439 mingw
* | cygwin
* | pw32
* | os2
*)
10440 # This hack is so that the source file can tell whether it is being
10441 # built for inclusion in a dll (and should export symbols for example).
10442 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10443 # (--disable-auto-import) libraries
10444 lt_prog_compiler_pic
='-DDLL_EXPORT'
10447 darwin
* | rhapsody
*)
10448 # PIC is the default on this platform
10449 # Common symbols not allowed in MH_DYLIB files
10450 lt_prog_compiler_pic
='-fno-common'
10454 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10455 # Instead, we relocate shared libraries at runtime.
10459 # Just because we use GCC doesn't mean we suddenly get shared libraries
10460 # on systems that don't support them.
10461 lt_prog_compiler_can_build_shared
=no
10466 if test -d /usr
/nec
; then
10467 lt_prog_compiler_pic
=-Kconform_pic
10472 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10473 # not for PA HP-UX.
10479 lt_prog_compiler_pic
='-fPIC'
10485 lt_prog_compiler_pic
='-fPIC'
10489 # PORTME Check for flag to pass linker flags through the system compiler.
10492 lt_prog_compiler_wl
='-Wl,'
10493 if test "$host_cpu" = ia64
; then
10494 # AIX 5 now supports IA64 processor
10495 lt_prog_compiler_static
='-Bstatic'
10497 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10501 # PIC is the default on this platform
10502 # Common symbols not allowed in MH_DYLIB files
10503 case $cc_basename in
10505 lt_prog_compiler_pic
='-qnocommon'
10506 lt_prog_compiler_wl
='-Wl,'
10511 mingw
* | cygwin
* | pw32
* | os2
*)
10512 # This hack is so that the source file can tell whether it is being
10513 # built for inclusion in a dll (and should export symbols for example).
10514 lt_prog_compiler_pic
='-DDLL_EXPORT'
10517 hpux9
* | hpux10
* | hpux11
*)
10518 lt_prog_compiler_wl
='-Wl,'
10519 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10520 # not for PA HP-UX.
10526 lt_prog_compiler_pic
='+Z'
10529 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10530 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10533 irix5
* | irix6
* | nonstopux
*)
10534 lt_prog_compiler_wl
='-Wl,'
10535 # PIC (with -KPIC) is the default.
10536 lt_prog_compiler_static
='-non_shared'
10540 lt_prog_compiler_pic
='-KPIC'
10541 lt_prog_compiler_static
='-Bstatic'
10544 linux
* | k
*bsd
*-gnu)
10545 case $cc_basename in
10547 lt_prog_compiler_wl
='-Wl,'
10548 lt_prog_compiler_pic
='-KPIC'
10549 lt_prog_compiler_static
='-static'
10551 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10552 # Portland Group compilers (*not* the Pentium gcc compiler,
10553 # which looks to be a dead project)
10554 lt_prog_compiler_wl
='-Wl,'
10555 lt_prog_compiler_pic
='-fpic'
10556 lt_prog_compiler_static
='-Bstatic'
10559 lt_prog_compiler_wl
='-Wl,'
10560 # All Alpha code is PIC.
10561 lt_prog_compiler_static
='-non_shared'
10564 case `$CC -V 2>&1 | sed 5q` in
10567 lt_prog_compiler_pic
='-KPIC'
10568 lt_prog_compiler_static
='-Bstatic'
10569 lt_prog_compiler_wl
='-Wl,'
10572 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10573 lt_prog_compiler_pic
='-KPIC'
10574 lt_prog_compiler_static
='-Bstatic'
10575 lt_prog_compiler_wl
=''
10582 osf3
* | osf4
* | osf5
*)
10583 lt_prog_compiler_wl
='-Wl,'
10584 # All OSF/1 code is PIC.
10585 lt_prog_compiler_static
='-non_shared'
10589 lt_prog_compiler_static
='-non_shared'
10593 lt_prog_compiler_pic
='-KPIC'
10594 lt_prog_compiler_static
='-Bstatic'
10595 case $cc_basename in
10596 f77
* | f90
* | f95
*)
10597 lt_prog_compiler_wl
='-Qoption ld ';;
10599 lt_prog_compiler_wl
='-Wl,';;
10604 lt_prog_compiler_wl
='-Qoption ld '
10605 lt_prog_compiler_pic
='-PIC'
10606 lt_prog_compiler_static
='-Bstatic'
10609 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10610 lt_prog_compiler_wl
='-Wl,'
10611 lt_prog_compiler_pic
='-KPIC'
10612 lt_prog_compiler_static
='-Bstatic'
10616 if test -d /usr
/nec
;then
10617 lt_prog_compiler_pic
='-Kconform_pic'
10618 lt_prog_compiler_static
='-Bstatic'
10622 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10623 lt_prog_compiler_wl
='-Wl,'
10624 lt_prog_compiler_pic
='-KPIC'
10625 lt_prog_compiler_static
='-Bstatic'
10629 lt_prog_compiler_wl
='-Wl,'
10630 lt_prog_compiler_can_build_shared
=no
10634 lt_prog_compiler_pic
='-pic'
10635 lt_prog_compiler_static
='-Bstatic'
10639 lt_prog_compiler_can_build_shared
=no
10644 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10645 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10648 # Check to make sure the PIC flag actually works.
10650 if test -n "$lt_prog_compiler_pic"; then
10652 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10653 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10654 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 lt_cv_prog_compiler_pic_works
=no
10658 ac_outfile
=conftest.
$ac_objext
10659 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10660 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10661 # Insert the option either (1) after the last *FLAGS variable, or
10662 # (2) before a word containing "conftest.", or (3) at the end.
10663 # Note that $ac_compile itself does not contain backslashes and begins
10664 # with a dollar sign (not a hyphen), so the echo should work correctly.
10665 # The option is referenced via a variable to avoid confusing sed.
10666 lt_compile
=`echo "$ac_compile" | $SED \
10667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10669 -e 's:$: $lt_compiler_flag:'`
10670 (eval echo "\"\$as_me:10670: $lt_compile\"" >&5)
10671 (eval "$lt_compile" 2>conftest.err
)
10673 cat conftest.err
>&5
10674 echo "$as_me:10674: \$? = $ac_status" >&5
10675 if (exit $ac_status) && test -s "$ac_outfile"; then
10676 # The compiler can only warn and ignore the option if not recognized
10677 # So say no if there are warnings other than the usual output.
10678 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10679 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10680 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10681 lt_cv_prog_compiler_pic_works
=yes
10687 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10688 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
10690 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10691 case $lt_prog_compiler_pic in
10693 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10696 lt_prog_compiler_pic
=
10697 lt_prog_compiler_can_build_shared
=no
10702 # For platforms which do not support PIC, -DPIC is meaningless:
10704 lt_prog_compiler_pic
=
10707 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10712 # Check to make sure the static flag actually works.
10714 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10715 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10716 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10717 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 lt_cv_prog_compiler_static_works
=no
10721 save_LDFLAGS
="$LDFLAGS"
10722 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10723 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10724 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10725 # The linker can only warn and ignore the option if not recognized
10726 # So say no if there are warnings
10727 if test -s conftest.err
; then
10728 # Append any errors to the config.log.
10729 cat conftest.err
1>&5
10730 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
10731 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10732 if diff conftest.exp conftest.er2
>/dev
/null
; then
10733 lt_cv_prog_compiler_static_works
=yes
10736 lt_cv_prog_compiler_static_works
=yes
10740 LDFLAGS
="$save_LDFLAGS"
10743 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10744 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
10746 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10749 lt_prog_compiler_static
=
10753 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10755 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10756 echo $ECHO_N "(cached) $ECHO_C" >&6
10758 lt_cv_prog_compiler_c_o
=no
10759 $rm -r conftest
2>/dev
/null
10763 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10765 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10766 # Insert the option either (1) after the last *FLAGS variable, or
10767 # (2) before a word containing "conftest.", or (3) at the end.
10768 # Note that $ac_compile itself does not contain backslashes and begins
10769 # with a dollar sign (not a hyphen), so the echo should work correctly.
10770 lt_compile
=`echo "$ac_compile" | $SED \
10771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10773 -e 's:$: $lt_compiler_flag:'`
10774 (eval echo "\"\$as_me:10774: $lt_compile\"" >&5)
10775 (eval "$lt_compile" 2>out
/conftest.err
)
10777 cat out
/conftest.err
>&5
10778 echo "$as_me:10778: \$? = $ac_status" >&5
10779 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10781 # The compiler can only warn and ignore the option if not recognized
10782 # So say no if there are warnings
10783 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10784 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10785 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10786 lt_cv_prog_compiler_c_o
=yes
10791 # SGI C++ compiler will create directory out/ii_files/ for
10792 # template instantiation
10793 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
10794 $rm out
/* && rmdir out
10800 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10804 hard_links
="nottested"
10805 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10806 # do not overwrite the value of need_locks provided by the user
10807 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10808 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10811 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10813 ln conftest.a conftest.b
2>&5 || hard_links
=no
10814 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10815 { echo "$as_me:$LINENO: result: $hard_links" >&5
10816 echo "${ECHO_T}$hard_links" >&6; }
10817 if test "$hard_links" = no
; then
10818 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10819 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10826 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10827 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10830 allow_undefined_flag
=
10831 enable_shared_with_static_runtimes
=no
10833 archive_expsym_cmds
=
10834 old_archive_From_new_cmds
=
10835 old_archive_from_expsyms_cmds
=
10836 export_dynamic_flag_spec
=
10837 whole_archive_flag_spec
=
10838 thread_safe_flag_spec
=
10839 hardcode_libdir_flag_spec
=
10840 hardcode_libdir_flag_spec_ld
=
10841 hardcode_libdir_separator
=
10843 hardcode_minus_L
=no
10844 hardcode_shlibpath_var
=unsupported
10845 link_all_deplibs
=unknown
10846 hardcode_automatic
=no
10848 module_expsym_cmds
=
10849 always_export_symbols
=no
10850 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10851 # include_expsyms should be a list of space-separated symbols to be *always*
10852 # included in the symbol list
10854 # exclude_expsyms can be an extended regexp of symbols to exclude
10855 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10856 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10857 # as well as any symbol that contains `d'.
10858 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10859 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10860 # platforms (ab)use it in PIC code, but their linkers get confused if
10861 # the symbol is explicitly referenced. Since portable code cannot
10862 # rely on this symbol name, it's probably fine to never include it in
10863 # preloaded symbol tables.
10864 # Exclude shared library initialization/finalization symbols.
10865 extract_expsyms_cmds
=
10866 # Just being paranoid about ensuring that cc_basename is set.
10867 for cc_temp
in $compiler""; do
10869 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10870 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10875 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10878 cygwin
* | mingw
* | pw32
*)
10879 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10880 # When not using gcc, we currently assume that we are using
10881 # Microsoft Visual C++.
10882 if test "$GCC" != yes; then
10887 # we just hope/assume this is gcc and not c89 (= MSVC++)
10896 if test "$with_gnu_ld" = yes; then
10897 # If archive_cmds runs LD, not CC, wlarc should be empty
10900 # Set some defaults for GNU ld with shared library support. These
10901 # are reset later if shared libraries are not supported. Putting them
10902 # here allows them to be overridden if necessary.
10903 runpath_var
=LD_RUN_PATH
10904 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
10905 export_dynamic_flag_spec
='${wl}--export-dynamic'
10906 # ancient GNU ld didn't support --whole-archive et. al.
10907 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
10908 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10910 whole_archive_flag_spec
=
10912 supports_anon_versioning
=no
10913 case `$LD -v 2>/dev/null` in
10914 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10915 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10916 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10917 *\
2.11.
*) ;; # other 2.11 versions
10918 *) supports_anon_versioning
=yes ;;
10921 # See if GNU ld supports shared libraries.
10924 # On AIX/PPC, the GNU linker is very broken
10925 if test "$host_cpu" != ia64
; then
10929 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10930 *** to be unable to reliably create shared libraries on AIX.
10931 *** Therefore, libtool is disabling shared libraries support. If you
10932 *** really care for shared libraries, you may want to modify your PATH
10933 *** so that a non-GNU linker is found, and then restart.
10940 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)'
10941 hardcode_libdir_flag_spec
='-L$libdir'
10942 hardcode_minus_L
=yes
10944 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10945 # that the semantics of dynamic libraries on AmigaOS, at least up
10946 # to version 4, is to share data among multiple programs linked
10947 # with the same dynamic library. Since this doesn't match the
10948 # behavior of shared libraries on other platforms, we can't use
10954 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10955 allow_undefined_flag
=unsupported
10956 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10957 # support --undefined. This deserves some investigation. FIXME
10958 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10964 cygwin
* | mingw
* | pw32
*)
10965 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10966 # as there is no search path for DLLs.
10967 hardcode_libdir_flag_spec
='-L$libdir'
10968 allow_undefined_flag
=unsupported
10969 always_export_symbols
=no
10970 enable_shared_with_static_runtimes
=yes
10971 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10973 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10974 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10975 # If the export-symbols file already is a .def file (1st line
10976 # is EXPORTS), use it as is; otherwise, prepend...
10977 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10978 cp $export_symbols $output_objdir/$soname.def;
10980 echo EXPORTS > $output_objdir/$soname.def;
10981 cat $export_symbols >> $output_objdir/$soname.def;
10983 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10991 hardcode_shlibpath_var
=no
10992 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10993 export_dynamic_flag_spec
='${wl}-E'
10994 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10995 # Instead, shared libraries are loaded at an image base (0x10000000 by
10996 # default) and relocated if they conflict, which is a slow very memory
10997 # consuming and fragmenting process. To avoid this, we pick a random,
10998 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10999 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11000 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11001 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'
11004 gnu
* | linux
* | k
*bsd
*-gnu)
11005 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11007 case $cc_basename,$host_cpu in
11008 pgcc
*) # Portland Group C compiler
11009 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'
11010 tmp_addflag
=' $pic_flag'
11012 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11013 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'
11014 tmp_addflag
=' $pic_flag -Mnomain' ;;
11015 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11016 tmp_addflag
=' -i_dynamic' ;;
11017 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11018 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11019 ifc
* | ifort
*) # Intel Fortran compiler
11020 tmp_addflag
=' -nofor_main' ;;
11022 case `$CC -V 2>&1 | sed 5q` in
11023 *Sun\ C
*) # Sun C 5.9
11024 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'
11025 tmp_sharedflag
='-G' ;;
11026 *Sun\ F
*) # Sun Fortran 8.3
11027 tmp_sharedflag
='-G' ;;
11029 tmp_sharedflag
='-shared' ;;
11031 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11033 if test $supports_anon_versioning = yes; then
11034 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
11035 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11036 $echo "local: *; };" >> $output_objdir/$libname.ver~
11037 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11039 link_all_deplibs
=no
11045 netbsd
* | netbsdelf
*-gnu)
11046 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11047 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11050 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11051 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11056 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
11060 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11061 *** create shared libraries on Solaris systems. Therefore, libtool
11062 *** is disabling shared libraries support. We urge you to upgrade GNU
11063 *** binutils to release 2.9.1 or newer. Another option is to modify
11064 *** your PATH or compiler configuration so that the native linker is
11065 *** used, and then restart.
11068 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11069 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11070 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11076 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11077 case `$LD -v 2>&1` in
11078 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11082 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11083 *** reliably create shared libraries on SCO systems. Therefore, libtool
11084 *** is disabling shared libraries support. We urge you to upgrade GNU
11085 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11086 *** your PATH or compiler configuration so that the native linker is
11087 *** used, and then restart.
11092 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11093 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
11094 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
11095 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
11104 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11106 hardcode_direct
=yes
11107 hardcode_shlibpath_var
=no
11111 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11112 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11113 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11120 if test "$ld_shlibs" = no
; then
11122 hardcode_libdir_flag_spec
=
11123 export_dynamic_flag_spec
=
11124 whole_archive_flag_spec
=
11127 # PORTME fill in a description of your system's linker (not GNU ld)
11130 allow_undefined_flag
=unsupported
11131 always_export_symbols
=yes
11132 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'
11133 # Note: this linker hardcodes the directories in LIBPATH if there
11134 # are no directories specified by -L.
11135 hardcode_minus_L
=yes
11136 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11137 # Neither direct hardcoding nor static linking is supported with a
11139 hardcode_direct
=unsupported
11144 if test "$host_cpu" = ia64
; then
11145 # On IA64, the linker does run time linking by default, so we don't
11146 # have to do anything special.
11147 aix_use_runtimelinking
=no
11148 exp_sym_flag
='-Bexport'
11151 # If we're using GNU nm, then we don't want the "-C" option.
11152 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11153 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11154 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'
11156 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'
11158 aix_use_runtimelinking
=no
11160 # Test if we are trying to use run time linking or normal
11161 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11162 # need to do runtime linking.
11163 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11164 for ld_flag
in $LDFLAGS; do
11165 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11166 aix_use_runtimelinking
=yes
11173 exp_sym_flag
='-bexport'
11174 no_entry_flag
='-bnoentry'
11177 # When large executables or shared objects are built, AIX ld can
11178 # have problems creating the table of contents. If linking a library
11179 # or program results in "error TOC overflow" add -mminimal-toc to
11180 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11181 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11184 hardcode_direct
=yes
11185 hardcode_libdir_separator
=':'
11186 link_all_deplibs
=yes
11188 if test "$GCC" = yes; then
11189 case $host_os in aix4.
[012]|aix4.
[012].
*)
11190 # We only want to do this on AIX 4.2 and lower, the check
11191 # below for broken collect2 doesn't work under 4.3+
11192 collect2name
=`${CC} -print-prog-name=collect2`
11193 if test -f "$collect2name" && \
11194 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
11196 # We have reworked collect2
11199 # We have old collect2
11200 hardcode_direct
=unsupported
11201 # It fails to find uninstalled libraries when the uninstalled
11202 # path is not listed in the libpath. Setting hardcode_minus_L
11203 # to unsupported forces relinking
11204 hardcode_minus_L
=yes
11205 hardcode_libdir_flag_spec
='-L$libdir'
11206 hardcode_libdir_separator
=
11210 shared_flag
='-shared'
11211 if test "$aix_use_runtimelinking" = yes; then
11212 shared_flag
="$shared_flag "'${wl}-G'
11216 if test "$host_cpu" = ia64
; then
11217 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11218 # chokes on -Wl,-G. The following line is correct:
11221 if test "$aix_use_runtimelinking" = yes; then
11222 shared_flag
='${wl}-G'
11224 shared_flag
='${wl}-bM:SRE'
11229 # It seems that -bexpall does not export symbols beginning with
11230 # underscore (_), so it is better to generate a list of symbols to export.
11231 always_export_symbols
=yes
11232 if test "$aix_use_runtimelinking" = yes; then
11233 # Warning - without using the other runtime loading flags (-brtl),
11234 # -berok will link without error, but may produce a broken library.
11235 allow_undefined_flag
='-berok'
11236 # Determine the default libpath from the value encoded in an empty executable.
11237 cat >conftest.
$ac_ext <<_ACEOF
11240 cat confdefs.h
>>conftest.
$ac_ext
11241 cat >>conftest.
$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11252 rm -f conftest.
$ac_objext conftest
$ac_exeext
11253 if { (ac_try
="$ac_link"
11254 case "(($ac_try" in
11255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11256 *) ac_try_echo=$ac_try;;
11258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11259 (eval "$ac_link") 2>conftest.er1
11261 grep -v '^ *+' conftest.er1 >conftest.err
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } && {
11266 test -z "$ac_c_werror_flag" ||
11267 test ! -s conftest.err
11268 } && test -s conftest$ac_exeext &&
11269 $as_test_x conftest$ac_exeext; then
11271 lt_aix_libpath_sed='
11272 /Import File Strings/,/^$/ {
11278 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11279 # Check for a 64-bit object if we didn't find anything.
11280 if test -z "$aix_libpath"; then
11281 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11291 conftest$ac_exeext conftest.$ac_ext
11292 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11294 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11295 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"
11297 if test "$host_cpu" = ia64; then
11298 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11299 allow_undefined_flag="-z nodefs"
11300 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"
11302 # Determine the default libpath from the value encoded in an empty executable.
11303 cat >conftest.$ac_ext <<_ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11318 rm -f conftest.$ac_objext conftest$ac_exeext
11319 if { (ac_try="$ac_link"
11320 case "(($ac_try" in
11321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11322 *) ac_try_echo
=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_link") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1
>conftest.err
11329 cat conftest.err
>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } && {
11332 test -z "$ac_c_werror_flag" ||
11333 test ! -s conftest.err
11334 } && test -s conftest
$ac_exeext &&
11335 $as_test_x conftest
$ac_exeext; then
11337 lt_aix_libpath_sed
='
11338 /Import File Strings/,/^$/ {
11344 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11345 # Check for a 64-bit object if we didn't find anything.
11346 if test -z "$aix_libpath"; then
11347 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.
$ac_ext >&5
11356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11357 conftest
$ac_exeext conftest.
$ac_ext
11358 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11360 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11361 # Warning - without using the other run time loading flags,
11362 # -berok will link without error, but may produce a broken library.
11363 no_undefined_flag
=' ${wl}-bernotok'
11364 allow_undefined_flag
=' ${wl}-berok'
11365 # Exported symbols can be pulled into shared objects from archives
11366 whole_archive_flag_spec
='$convenience'
11367 archive_cmds_need_lc
=yes
11368 # This is similar to how AIX traditionally builds its shared libraries.
11369 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'
11375 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)'
11376 hardcode_libdir_flag_spec
='-L$libdir'
11377 hardcode_minus_L
=yes
11378 # see comment about different semantics on the GNU ld section
11383 export_dynamic_flag_spec
=-rdynamic
11386 cygwin
* | mingw
* | pw32
*)
11387 # When not using gcc, we currently assume that we are using
11388 # Microsoft Visual C++.
11389 # hardcode_libdir_flag_spec is actually meaningless, as there is
11390 # no search path for DLLs.
11391 hardcode_libdir_flag_spec
=' '
11392 allow_undefined_flag
=unsupported
11393 # Tell ltmain to make .lib files, not .a files.
11395 # Tell ltmain to make .dll files, not .so files.
11397 # FIXME: Setting linknames here is a bad hack.
11398 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11399 # The linker will automatically build a .lib file if we build a DLL.
11400 old_archive_From_new_cmds
='true'
11401 # FIXME: Should let the user specify the lib program.
11402 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11403 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11404 enable_shared_with_static_runtimes
=yes
11407 darwin
* | rhapsody
*)
11409 rhapsody
* | darwin1.
[012])
11410 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
11413 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11414 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11416 case ${MACOSX_DEPLOYMENT_TARGET} in
11418 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11421 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
11427 archive_cmds_need_lc
=no
11429 hardcode_automatic
=yes
11430 hardcode_shlibpath_var
=unsupported
11431 whole_archive_flag_spec
=''
11432 link_all_deplibs
=yes
11433 if test "$GCC" = yes ; then
11434 output_verbose_link_cmd
='echo'
11435 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11436 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11437 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}"
11438 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}"
11440 case $cc_basename in
11442 output_verbose_link_cmd
='echo'
11443 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11444 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11445 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11446 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}'
11447 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}'
11457 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11458 hardcode_libdir_flag_spec
='-L$libdir'
11459 hardcode_shlibpath_var
=no
11466 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11467 # support. Future versions do this automatically, but an explicit c++rt0.o
11468 # does not break anything, and helps significantly (at the cost of a little
11471 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11472 hardcode_libdir_flag_spec
='-R$libdir'
11473 hardcode_direct
=yes
11474 hardcode_shlibpath_var
=no
11477 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11479 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11480 hardcode_direct
=yes
11481 hardcode_minus_L
=yes
11482 hardcode_shlibpath_var
=no
11485 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11486 freebsd
* | dragonfly
*)
11487 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11488 hardcode_libdir_flag_spec
='-R$libdir'
11489 hardcode_direct
=yes
11490 hardcode_shlibpath_var
=no
11494 if test "$GCC" = yes; then
11495 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'
11497 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'
11499 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11500 hardcode_libdir_separator
=:
11501 hardcode_direct
=yes
11503 # hardcode_minus_L: Not really in the search PATH,
11504 # but as the default location of the library.
11505 hardcode_minus_L
=yes
11506 export_dynamic_flag_spec
='${wl}-E'
11510 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11511 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11513 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11515 if test "$with_gnu_ld" = no
; then
11516 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11517 hardcode_libdir_separator
=:
11519 hardcode_direct
=yes
11520 export_dynamic_flag_spec
='${wl}-E'
11522 # hardcode_minus_L: Not really in the search PATH,
11523 # but as the default location of the library.
11524 hardcode_minus_L
=yes
11529 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11532 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11535 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11538 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11544 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11547 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11550 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11554 if test "$with_gnu_ld" = no
; then
11555 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11556 hardcode_libdir_separator
=:
11560 hardcode_libdir_flag_spec_ld
='+b $libdir'
11562 hardcode_shlibpath_var
=no
11565 hardcode_direct
=yes
11566 export_dynamic_flag_spec
='${wl}-E'
11568 # hardcode_minus_L: Not really in the search PATH,
11569 # but as the default location of the library.
11570 hardcode_minus_L
=yes
11576 irix5
* | irix6
* | nonstopux
*)
11577 if test "$GCC" = yes; then
11578 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'
11580 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'
11581 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11583 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11584 hardcode_libdir_separator
=:
11585 link_all_deplibs
=yes
11588 netbsd
* | netbsdelf
*-gnu)
11589 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11590 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11592 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11594 hardcode_libdir_flag_spec
='-R$libdir'
11595 hardcode_direct
=yes
11596 hardcode_shlibpath_var
=no
11600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11601 hardcode_direct
=yes
11602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11603 hardcode_libdir_separator
=:
11604 hardcode_shlibpath_var
=no
11608 if test -f /usr
/libexec
/ld.so
; then
11609 hardcode_direct
=yes
11610 hardcode_shlibpath_var
=no
11611 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11612 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11613 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11614 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11615 export_dynamic_flag_spec
='${wl}-E'
11618 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11619 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11620 hardcode_libdir_flag_spec
='-R$libdir'
11623 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11624 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11634 hardcode_libdir_flag_spec
='-L$libdir'
11635 hardcode_minus_L
=yes
11636 allow_undefined_flag
=unsupported
11637 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'
11638 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11642 if test "$GCC" = yes; then
11643 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11644 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'
11646 allow_undefined_flag
=' -expect_unresolved \*'
11647 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'
11649 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11650 hardcode_libdir_separator
=:
11653 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11654 if test "$GCC" = yes; then
11655 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11656 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'
11657 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11659 allow_undefined_flag
=' -expect_unresolved \*'
11660 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'
11661 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11662 $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'
11664 # Both c and cxx compiler support -rpath directly
11665 hardcode_libdir_flag_spec
='-rpath $libdir'
11667 hardcode_libdir_separator
=:
11671 no_undefined_flag
=' -z text'
11672 if test "$GCC" = yes; then
11674 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11675 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11676 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11679 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11680 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11681 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11683 hardcode_libdir_flag_spec
='-R$libdir'
11684 hardcode_shlibpath_var
=no
11686 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11688 # The compiler driver will combine and reorder linker options,
11689 # but understands `-z linker_flag'. GCC discards it without `$wl',
11690 # but is careful enough not to reorder.
11691 # Supported since Solaris 2.6 (maybe 2.5.1?)
11692 if test "$GCC" = yes; then
11693 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11695 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11699 link_all_deplibs
=yes
11703 if test "x$host_vendor" = xsequent
; then
11704 # Use $CC to link under sequent, because it throws in some extra .o
11705 # files that make .init and .fini sections work.
11706 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11708 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11710 hardcode_libdir_flag_spec
='-L$libdir'
11711 hardcode_direct
=yes
11712 hardcode_minus_L
=yes
11713 hardcode_shlibpath_var
=no
11717 case $host_vendor in
11719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11720 hardcode_direct
=yes # is this really true???
11723 ## LD is ld it makes a PLAMLIB
11724 ## CC just makes a GrossModule.
11725 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11726 reload_cmds
='$CC -r -o $output$reload_objs'
11730 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11731 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11734 runpath_var
='LD_RUN_PATH'
11735 hardcode_shlibpath_var
=no
11739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11740 hardcode_shlibpath_var
=no
11741 export_dynamic_flag_spec
='-Bexport'
11745 if test -d /usr
/nec
; then
11746 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11747 hardcode_shlibpath_var
=no
11748 runpath_var
=LD_RUN_PATH
11749 hardcode_runpath_var
=yes
11754 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11755 no_undefined_flag
='${wl}-z,text'
11756 archive_cmds_need_lc
=no
11757 hardcode_shlibpath_var
=no
11758 runpath_var
='LD_RUN_PATH'
11760 if test "$GCC" = yes; then
11761 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11762 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11764 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11765 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11769 sysv5
* | sco3.2v5
* | sco5v6
*)
11770 # Note: We can NOT use -z defs as we might desire, because we do not
11771 # link with -lc, and that would cause any symbols used from libc to
11772 # always be unresolved, which means just about no library would
11773 # ever link correctly. If we're not using GNU ld we use -z text
11774 # though, which does catch some bad symbols but isn't as heavy-handed
11776 no_undefined_flag
='${wl}-z,text'
11777 allow_undefined_flag
='${wl}-z,nodefs'
11778 archive_cmds_need_lc
=no
11779 hardcode_shlibpath_var
=no
11780 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11781 hardcode_libdir_separator
=':'
11782 link_all_deplibs
=yes
11783 export_dynamic_flag_spec
='${wl}-Bexport'
11784 runpath_var
='LD_RUN_PATH'
11786 if test "$GCC" = yes; then
11787 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11788 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11790 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11791 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11797 hardcode_libdir_flag_spec
='-L$libdir'
11798 hardcode_shlibpath_var
=no
11807 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11808 echo "${ECHO_T}$ld_shlibs" >&6; }
11809 test "$ld_shlibs" = no
&& can_build_shared
=no
11812 # Do we need to explicitly link libc?
11814 case "x$archive_cmds_need_lc" in
11816 # Assume -lc should be added
11817 archive_cmds_need_lc
=yes
11819 if test "$enable_shared" = yes && test "$GCC" = yes; then
11820 case $archive_cmds in
11822 # FIXME: we may have to deal with multi-command sequences.
11825 # Test whether the compiler implicitly links with -lc since on some
11826 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11827 # to ld, don't add -lc before -lgcc.
11828 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11829 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11831 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11834 (eval $ac_compile) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); } 2>conftest.err
; then
11840 libobjs
=conftest.
$ac_objext
11842 wl
=$lt_prog_compiler_wl
11843 pic_flag
=$lt_prog_compiler_pic
11849 lt_save_allow_undefined_flag
=$allow_undefined_flag
11850 allow_undefined_flag
=
11851 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11852 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }
11857 archive_cmds_need_lc
=no
11859 archive_cmds_need_lc
=yes
11861 allow_undefined_flag
=$lt_save_allow_undefined_flag
11863 cat conftest.err
1>&5
11866 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11867 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11874 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11875 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11876 library_names_spec
=
11877 libname_spec
='lib$name'
11881 postuninstall_cmds
=
11885 shlibpath_overrides_runpath
=unknown
11887 dynamic_linker
="$host_os ld.so"
11888 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11890 if test "$GCC" = yes; then
11892 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11893 *) lt_awk_arg
="/^libraries:/" ;;
11895 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11896 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
11897 # if the path contains ";" then we assume it to be the separator
11898 # otherwise default to the standard path separator (i.e. ":") - it is
11899 # assumed that no part of a normal pathname contains ";" but that should
11900 # okay in the real world where ";" in dirpaths is itself problematic.
11901 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11903 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11905 # Ok, now we have the path, separated by spaces, we can step through it
11906 # and add multilib dir if necessary.
11907 lt_tmp_lt_search_path_spec
=
11908 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11909 for lt_sys_path
in $lt_search_path_spec; do
11910 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11911 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11913 test -d "$lt_sys_path" && \
11914 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11917 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
11918 BEGIN {RS=" "; FS="/|\n";} {
11921 for (lt_i = NF; lt_i > 0; lt_i--) {
11922 if ($lt_i != "" && $lt_i != ".") {
11923 if ($lt_i == "..") {
11926 if (lt_count == 0) {
11927 lt_foo="/" $lt_i lt_foo;
11934 if (lt_foo != "") { lt_freq[lt_foo]++; }
11935 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11937 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
11939 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11941 need_lib_prefix
=unknown
11942 hardcode_into_libs
=no
11944 # when you set need_version to no, make sure it does not cause -set_version
11945 # flags to be left without arguments
11946 need_version
=unknown
11951 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11952 shlibpath_var
=LIBPATH
11954 # AIX 3 has no versioning support, so we append a major version to the name.
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11962 hardcode_into_libs
=yes
11963 if test "$host_cpu" = ia64
; then
11964 # AIX 5 supports IA64
11965 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11966 shlibpath_var
=LD_LIBRARY_PATH
11968 # With GCC up to 2.95.x, collect2 would create an import file
11969 # for dependence libraries. The import file would start with
11970 # the line `#! .'. This would cause the generated library to
11971 # depend on `.', always an invalid library. This was fixed in
11972 # development snapshots of GCC prior to 3.0.
11974 aix4 | aix4.
[01] | aix4.
[01].
*)
11975 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11977 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11980 can_build_shared
=no
11984 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11985 # soname into executable. Probably we can add versioning support to
11986 # collect2, so additional links can be useful in future.
11987 if test "$aix_use_runtimelinking" = yes; then
11988 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11989 # instead of lib<name>.a to let people know that these are not
11990 # typical AIX shared libraries.
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 # We preserve .a as extension for shared libraries through AIX4.2
11994 # and later when we are not doing run time linking.
11995 library_names_spec
='${libname}${release}.a $libname.a'
11996 soname_spec
='${libname}${release}${shared_ext}$major'
11998 shlibpath_var
=LIBPATH
12003 library_names_spec
='$libname.ixlibrary $libname.a'
12004 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12005 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'
12009 library_names_spec
='${libname}${shared_ext}'
12010 dynamic_linker
="$host_os ld.so"
12011 shlibpath_var
=LIBRARY_PATH
12017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12018 soname_spec
='${libname}${release}${shared_ext}$major'
12019 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12020 shlibpath_var
=LD_LIBRARY_PATH
12021 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12022 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12023 # the default ld.so.conf also contains /usr/contrib/lib and
12024 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12025 # libtool to hard-code these into programs
12028 cygwin
* | mingw
* | pw32
*)
12029 version_type
=windows
12034 case $GCC,$host_os in
12035 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12036 library_names_spec
='$libname.dll.a'
12037 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12038 postinstall_cmds
='base_file=`basename \${file}`~
12039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12040 dldir=$destdir/`dirname \$dlpath`~
12041 test -d \$dldir || mkdir -p \$dldir~
12042 $install_prog $dir/$dlname \$dldir/$dlname~
12043 chmod a+x \$dldir/$dlname'
12044 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12045 dlpath=$dir/\$dldll~
12047 shlibpath_overrides_runpath
=yes
12051 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12052 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12053 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12056 # MinGW DLLs use traditional 'lib' prefix
12057 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12058 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12059 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12060 # It is most probably a Windows format PATH printed by
12061 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12062 # path with ; separators, and with drive letters. We can handle the
12063 # drive letters (cygwin fileutils understands them), so leave them,
12064 # especially as we might pass files found there to a mingw objdump,
12065 # which wouldn't understand a cygwinified path. Ahh.
12066 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12068 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12072 # pw32 DLLs use 'pw' prefix rather than 'lib'
12073 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12079 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12082 dynamic_linker
='Win32 ld.exe'
12083 # FIXME: first we should search . and the directory the executable is in
12087 darwin
* | rhapsody
*)
12088 dynamic_linker
="$host_os dyld"
12089 version_type
=darwin
12092 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12093 soname_spec
='${libname}${release}${major}$shared_ext'
12094 shlibpath_overrides_runpath
=yes
12095 shlibpath_var
=DYLD_LIBRARY_PATH
12096 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12098 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12099 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12107 soname_spec
='${libname}${release}${shared_ext}$major'
12108 shlibpath_var
=LD_LIBRARY_PATH
12115 freebsd
* | dragonfly
*)
12116 # DragonFly does not have aout. When/if they implement a new
12117 # versioning mechanism, adjust this.
12118 if test -x /usr
/bin
/objformat
; then
12119 objformat
=`/usr/bin/objformat`
12122 freebsd
[123]*) objformat
=aout
;;
12123 *) objformat
=elf
;;
12126 version_type
=freebsd-
$objformat
12127 case $version_type in
12129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12134 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12138 shlibpath_var
=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath
=yes
12143 freebsd3.
[01]* | freebsdelf3.
[01]*)
12144 shlibpath_overrides_runpath
=yes
12145 hardcode_into_libs
=yes
12147 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12148 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12149 shlibpath_overrides_runpath
=no
12150 hardcode_into_libs
=yes
12152 *) # from 4.6 on, and DragonFly
12153 shlibpath_overrides_runpath
=yes
12154 hardcode_into_libs
=yes
12163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12164 soname_spec
='${libname}${release}${shared_ext}$major'
12165 shlibpath_var
=LD_LIBRARY_PATH
12166 hardcode_into_libs
=yes
12169 hpux9
* | hpux10
* | hpux11
*)
12170 # Give a soname corresponding to the major version so that dld.sl refuses to
12171 # link against other versions.
12178 hardcode_into_libs
=yes
12179 dynamic_linker
="$host_os dld.so"
12180 shlibpath_var
=LD_LIBRARY_PATH
12181 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12183 soname_spec
='${libname}${release}${shared_ext}$major'
12184 if test "X$HPUX_IA64_MODE" = X32
; then
12185 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12187 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12189 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12193 hardcode_into_libs
=yes
12194 dynamic_linker
="$host_os dld.sl"
12195 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12196 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12198 soname_spec
='${libname}${release}${shared_ext}$major'
12199 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12200 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12204 dynamic_linker
="$host_os dld.sl"
12205 shlibpath_var
=SHLIB_PATH
12206 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 soname_spec
='${libname}${release}${shared_ext}$major'
12211 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12212 postinstall_cmds
='chmod 555 $lib'
12219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12220 soname_spec
='${libname}${release}${shared_ext}$major'
12221 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12222 shlibpath_var
=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath
=no
12224 hardcode_into_libs
=yes
12227 irix5
* | irix6
* | nonstopux
*)
12229 nonstopux
*) version_type
=nonstopux
;;
12231 if test "$lt_cv_prog_gnu_ld" = yes; then
12239 soname_spec
='${libname}${release}${shared_ext}$major'
12240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12242 irix5
* | nonstopux
*)
12243 libsuff
= shlibsuff
=
12246 case $LD in # libtool.m4 will add one of these switches to LD
12247 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12248 libsuff
= shlibsuff
= libmagic
=32-bit;;
12249 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12250 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12251 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12252 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12253 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12257 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12258 shlibpath_overrides_runpath
=no
12259 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12260 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12261 hardcode_into_libs
=yes
12264 # No shared lib support for Linux oldld, aout, or coff.
12265 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12269 # This must be Linux ELF.
12270 linux
* | k
*bsd
*-gnu)
12274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12275 soname_spec
='${libname}${release}${shared_ext}$major'
12276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12277 shlibpath_var
=LD_LIBRARY_PATH
12278 shlibpath_overrides_runpath
=no
12279 # This implies no fast_install, which is unacceptable.
12280 # Some rework will be needed to allow for fast_install
12281 # before this can be enabled.
12282 hardcode_into_libs
=yes
12284 # Append ld.so.conf contents to the search path
12285 if test -f /etc
/ld.so.conf
; then
12286 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' ' '`
12287 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12290 # We used to test for /lib/ld.so.1 and disable shared libraries on
12291 # powerpc, because MkLinux only supported shared libraries with the
12292 # GNU dynamic linker. Since this was broken with cross compilers,
12293 # most powerpc-linux boxes support dynamic linking these days and
12294 # people can always --disable-shared, the test was removed, and we
12295 # assume the GNU/Linux dynamic linker is in use.
12296 dynamic_linker
='GNU/Linux ld.so'
12303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12304 soname_spec
='${libname}${release}${shared_ext}$major'
12305 shlibpath_var
=LD_LIBRARY_PATH
12306 shlibpath_overrides_runpath
=no
12307 hardcode_into_libs
=yes
12308 dynamic_linker
='NetBSD ld.elf_so'
12315 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12317 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12318 dynamic_linker
='NetBSD (a.out) ld.so'
12320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12321 soname_spec
='${libname}${release}${shared_ext}$major'
12322 dynamic_linker
='NetBSD ld.elf_so'
12324 shlibpath_var
=LD_LIBRARY_PATH
12325 shlibpath_overrides_runpath
=yes
12326 hardcode_into_libs
=yes
12331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 shlibpath_overrides_runpath
=yes
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341 soname_spec
='${libname}${release}${shared_ext}$major'
12342 shlibpath_var
=LD_LIBRARY_PATH
12343 shlibpath_overrides_runpath
=yes
12348 sys_lib_dlsearch_path_spec
="/usr/lib"
12350 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12352 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12353 *) need_version
=no
;;
12355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12356 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12357 shlibpath_var
=LD_LIBRARY_PATH
12358 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12360 openbsd2.
[89] | openbsd2.
[89].
*)
12361 shlibpath_overrides_runpath
=no
12364 shlibpath_overrides_runpath
=yes
12368 shlibpath_overrides_runpath
=yes
12373 libname_spec
='$name'
12376 library_names_spec
='$libname${shared_ext} $libname.a'
12377 dynamic_linker
='OS/2 ld.exe'
12378 shlibpath_var
=LIBPATH
12381 osf3
* | osf4
* | osf5
*)
12385 soname_spec
='${libname}${release}${shared_ext}$major'
12386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12387 shlibpath_var
=LD_LIBRARY_PATH
12388 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12389 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12401 soname_spec
='${libname}${release}${shared_ext}$major'
12402 shlibpath_var
=LD_LIBRARY_PATH
12403 shlibpath_overrides_runpath
=yes
12404 hardcode_into_libs
=yes
12405 # ldd complains unless libraries are executable
12406 postinstall_cmds
='chmod +x $lib'
12411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12412 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12413 shlibpath_var
=LD_LIBRARY_PATH
12414 shlibpath_overrides_runpath
=yes
12415 if test "$with_gnu_ld" = yes; then
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 case $host_vendor in
12428 shlibpath_overrides_runpath
=no
12430 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12431 runpath_var
=LD_RUN_PATH
12439 shlibpath_overrides_runpath
=no
12440 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12446 if test -d /usr
/nec
;then
12448 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12449 soname_spec
='$libname${shared_ext}.$major'
12450 shlibpath_var
=LD_LIBRARY_PATH
12454 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12455 version_type
=freebsd-elf
12458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12459 soname_spec
='${libname}${release}${shared_ext}$major'
12460 shlibpath_var
=LD_LIBRARY_PATH
12461 hardcode_into_libs
=yes
12462 if test "$with_gnu_ld" = yes; then
12463 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12464 shlibpath_overrides_runpath
=no
12466 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12467 shlibpath_overrides_runpath
=yes
12470 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12474 sys_lib_dlsearch_path_spec
='/usr/lib'
12479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12480 soname_spec
='${libname}${release}${shared_ext}$major'
12481 shlibpath_var
=LD_LIBRARY_PATH
12488 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12489 echo "${ECHO_T}$dynamic_linker" >&6; }
12490 test "$dynamic_linker" = no
&& can_build_shared
=no
12492 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
12498 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12499 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
12505 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12507 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12508 if test "$GCC" = yes; then
12509 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12512 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12513 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12515 if test -n "$hardcode_libdir_flag_spec" || \
12516 test -n "$runpath_var" || \
12517 test "X$hardcode_automatic" = "Xyes" ; then
12519 # We can hardcode non-existant directories.
12520 if test "$hardcode_direct" != no
&&
12521 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12522 # have to relink, otherwise we might link with an installed library
12523 # when we should be linking with a yet-to-be-installed one
12524 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12525 test "$hardcode_minus_L" != no
; then
12526 # Linking always hardcodes the temporary library directory.
12527 hardcode_action
=relink
12529 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12530 hardcode_action
=immediate
12533 # We cannot hardcode anything, or else we can only hardcode existing
12535 hardcode_action
=unsupported
12537 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
12538 echo "${ECHO_T}$hardcode_action" >&6; }
12540 if test "$hardcode_action" = relink
; then
12541 # Fast installation is not supported
12542 enable_fast_install
=no
12543 elif test "$shlibpath_overrides_runpath" = yes ||
12544 test "$enable_shared" = no
; then
12545 # Fast installation is not necessary
12546 enable_fast_install
=needless
12551 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12552 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12553 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12554 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12555 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12556 { echo "$as_me:$LINENO: result: yes" >&5
12557 echo "${ECHO_T}yes" >&6; }
12559 # FIXME - insert some real tests, host_os isn't really good enough
12562 if test -n "$STRIP" ; then
12563 striplib
="$STRIP -x"
12564 old_striplib
="$STRIP -S"
12565 { echo "$as_me:$LINENO: result: yes" >&5
12566 echo "${ECHO_T}yes" >&6; }
12568 { echo "$as_me:$LINENO: result: no" >&5
12569 echo "${ECHO_T}no" >&6; }
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12579 if test "x$enable_dlopen" != xyes
; then
12580 enable_dlopen
=unknown
12581 enable_dlopen_self
=unknown
12582 enable_dlopen_self_static
=unknown
12589 lt_cv_dlopen
="load_add_on"
12591 lt_cv_dlopen_self
=yes
12595 lt_cv_dlopen
="LoadLibrary"
12600 lt_cv_dlopen
="dlopen"
12605 # if libdl is installed we need to link against it
12606 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12607 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 ac_check_lib_save_LIBS
=$LIBS
12613 cat >conftest.
$ac_ext <<_ACEOF
12616 cat confdefs.h
>>conftest.
$ac_ext
12617 cat >>conftest.
$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12635 rm -f conftest.
$ac_objext conftest
$ac_exeext
12636 if { (ac_try
="$ac_link"
12637 case "(($ac_try" in
12638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12639 *) ac_try_echo=$ac_try;;
12641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12642 (eval "$ac_link") 2>conftest.er1
12644 grep -v '^ *+' conftest.er1 >conftest.err
12646 cat conftest.err >&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } && {
12649 test -z "$ac_c_werror_flag" ||
12650 test ! -s conftest.err
12651 } && test -s conftest$ac_exeext &&
12652 $as_test_x conftest$ac_exeext; then
12653 ac_cv_lib_dl_dlopen=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12658 ac_cv_lib_dl_dlopen=no
12661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_lib_save_LIBS
12665 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12666 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12667 if test $ac_cv_lib_dl_dlopen = yes; then
12668 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12671 lt_cv_dlopen="dyld"
12673 lt_cv_dlopen_self=yes
12680 { echo "$as_me:$LINENO: checking for shl_load" >&5
12681 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12682 if test "${ac_cv_func_shl_load+set}" = set; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 cat >conftest.$ac_ext <<_ACEOF
12688 cat confdefs.h >>conftest.$ac_ext
12689 cat >>conftest.$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12691 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12693 #define shl_load innocuous_shl_load
12695 /* System header to define __stub macros and hopefully few prototypes,
12696 which can conflict with char shl_load (); below.
12697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12698 <limits.h> exists even on freestanding compilers. */
12701 # include <limits.h>
12703 # include <assert.h>
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12715 /* The GNU C library defines this for functions which it implements
12716 to always fail with ENOSYS. Some functions are actually named
12717 something starting with __ and the normal name is an alias. */
12718 #if defined __stub_shl_load || defined __stub___shl_load
12725 return shl_load ();
12730 rm -f conftest.$ac_objext conftest$ac_exeext
12731 if { (ac_try="$ac_link"
12732 case "(($ac_try" in
12733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12734 *) ac_try_echo
=$ac_try;;
12736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12737 (eval "$ac_link") 2>conftest.er1
12739 grep -v '^ *+' conftest.er1
>conftest.err
12741 cat conftest.err
>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && {
12744 test -z "$ac_c_werror_flag" ||
12745 test ! -s conftest.err
12746 } && test -s conftest
$ac_exeext &&
12747 $as_test_x conftest
$ac_exeext; then
12748 ac_cv_func_shl_load
=yes
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12753 ac_cv_func_shl_load
=no
12756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12757 conftest
$ac_exeext conftest.
$ac_ext
12759 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12760 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12761 if test $ac_cv_func_shl_load = yes; then
12762 lt_cv_dlopen
="shl_load"
12764 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12765 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12766 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 ac_check_lib_save_LIBS
=$LIBS
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12788 return shl_load ();
12793 rm -f conftest.
$ac_objext conftest
$ac_exeext
12794 if { (ac_try
="$ac_link"
12795 case "(($ac_try" in
12796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_link") 2>conftest.er1
12802 grep -v '^ *+' conftest.er1 >conftest.err
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest$ac_exeext &&
12810 $as_test_x conftest$ac_exeext; then
12811 ac_cv_lib_dld_shl_load=yes
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 ac_cv_lib_dld_shl_load=no
12819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12824 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12825 if test $ac_cv_lib_dld_shl_load = yes; then
12826 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12828 { echo "$as_me:$LINENO: checking for dlopen" >&5
12829 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12830 if test "${ac_cv_func_dlopen+set}" = set; then
12831 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 cat >conftest.$ac_ext <<_ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12839 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12841 #define dlopen innocuous_dlopen
12843 /* System header to define __stub macros and hopefully few prototypes,
12844 which can conflict with char dlopen (); below.
12845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12846 <limits.h> exists even on freestanding compilers. */
12849 # include <limits.h>
12851 # include <assert.h>
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12863 /* The GNU C library defines this for functions which it implements
12864 to always fail with ENOSYS. Some functions are actually named
12865 something starting with __ and the normal name is an alias. */
12866 #if defined __stub_dlopen || defined __stub___dlopen
12878 rm -f conftest.$ac_objext conftest$ac_exeext
12879 if { (ac_try="$ac_link"
12880 case "(($ac_try" in
12881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12882 *) ac_try_echo
=$ac_try;;
12884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12885 (eval "$ac_link") 2>conftest.er1
12887 grep -v '^ *+' conftest.er1
>conftest.err
12889 cat conftest.err
>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } && {
12892 test -z "$ac_c_werror_flag" ||
12893 test ! -s conftest.err
12894 } && test -s conftest
$ac_exeext &&
12895 $as_test_x conftest
$ac_exeext; then
12896 ac_cv_func_dlopen
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 ac_cv_func_dlopen
=no
12904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12905 conftest
$ac_exeext conftest.
$ac_ext
12907 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12908 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12909 if test $ac_cv_func_dlopen = yes; then
12910 lt_cv_dlopen
="dlopen"
12912 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12913 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12914 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12915 echo $ECHO_N "(cached) $ECHO_C" >&6
12917 ac_check_lib_save_LIBS
=$LIBS
12919 cat >conftest.
$ac_ext <<_ACEOF
12922 cat confdefs.h
>>conftest.
$ac_ext
12923 cat >>conftest.
$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12926 /* Override any GCC internal prototype to avoid an error.
12927 Use char because int might match the return type of a GCC
12928 builtin and then its argument prototype would still apply. */
12941 rm -f conftest.
$ac_objext conftest
$ac_exeext
12942 if { (ac_try
="$ac_link"
12943 case "(($ac_try" in
12944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12945 *) ac_try_echo=$ac_try;;
12947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12948 (eval "$ac_link") 2>conftest.er1
12950 grep -v '^ *+' conftest.er1 >conftest.err
12952 cat conftest.err >&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } && {
12955 test -z "$ac_c_werror_flag" ||
12956 test ! -s conftest.err
12957 } && test -s conftest$ac_exeext &&
12958 $as_test_x conftest$ac_exeext; then
12959 ac_cv_lib_dl_dlopen=yes
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12964 ac_cv_lib_dl_dlopen=no
12967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_lib_save_LIBS
12971 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12973 if test $ac_cv_lib_dl_dlopen = yes; then
12974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12976 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12977 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12978 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lsvld $LIBS"
12983 cat >conftest.$ac_ext <<_ACEOF
12986 cat confdefs.h >>conftest.$ac_ext
12987 cat >>conftest.$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
13005 rm -f conftest.$ac_objext conftest$ac_exeext
13006 if { (ac_try="$ac_link"
13007 case "(($ac_try" in
13008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13009 *) ac_try_echo
=$ac_try;;
13011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13012 (eval "$ac_link") 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } && {
13019 test -z "$ac_c_werror_flag" ||
13020 test ! -s conftest.err
13021 } && test -s conftest
$ac_exeext &&
13022 $as_test_x conftest
$ac_exeext; then
13023 ac_cv_lib_svld_dlopen
=yes
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.
$ac_ext >&5
13028 ac_cv_lib_svld_dlopen
=no
13031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13032 conftest
$ac_exeext conftest.
$ac_ext
13033 LIBS
=$ac_check_lib_save_LIBS
13035 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13036 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13037 if test $ac_cv_lib_svld_dlopen = yes; then
13038 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13040 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13041 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13042 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 ac_check_lib_save_LIBS
=$LIBS
13047 cat >conftest.
$ac_ext <<_ACEOF
13050 cat confdefs.h
>>conftest.
$ac_ext
13051 cat >>conftest.
$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13064 return dld_link ();
13069 rm -f conftest.
$ac_objext conftest
$ac_exeext
13070 if { (ac_try
="$ac_link"
13071 case "(($ac_try" in
13072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13073 *) ac_try_echo=$ac_try;;
13075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13076 (eval "$ac_link") 2>conftest.er1
13078 grep -v '^ *+' conftest.er1 >conftest.err
13080 cat conftest.err >&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } && {
13083 test -z "$ac_c_werror_flag" ||
13084 test ! -s conftest.err
13085 } && test -s conftest$ac_exeext &&
13086 $as_test_x conftest$ac_exeext; then
13087 ac_cv_lib_dld_dld_link=yes
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13092 ac_cv_lib_dld_dld_link=no
13095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13096 conftest$ac_exeext conftest.$ac_ext
13097 LIBS=$ac_check_lib_save_LIBS
13099 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13100 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13101 if test $ac_cv_lib_dld_dld_link = yes; then
13102 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13123 if test "x$lt_cv_dlopen" != xno; then
13129 case $lt_cv_dlopen in
13131 save_CPPFLAGS="$CPPFLAGS"
13132 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13134 save_LDFLAGS="$LDFLAGS"
13135 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13138 LIBS="$lt_cv_dlopen_libs $LIBS"
13140 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13141 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13142 if test "${lt_cv_dlopen_self+set}" = set; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 if test "$cross_compiling" = yes; then :
13146 lt_cv_dlopen_self=cross
13148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13149 lt_status=$lt_dlunknown
13150 cat > conftest.$ac_ext <<EOF
13151 #line 13151 "configure"
13152 #include "confdefs.h"
13161 # define LT_DLGLOBAL RTLD_GLOBAL
13164 # define LT_DLGLOBAL DL_GLOBAL
13166 # define LT_DLGLOBAL 0
13170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13171 find out it does not work in some platform. */
13172 #ifndef LT_DLLAZY_OR_NOW
13174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13177 # define LT_DLLAZY_OR_NOW DL_LAZY
13180 # define LT_DLLAZY_OR_NOW RTLD_NOW
13183 # define LT_DLLAZY_OR_NOW DL_NOW
13185 # define LT_DLLAZY_OR_NOW 0
13193 extern "C" void exit (int);
13196 void fnord() { int i=42;}
13199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13200 int status = $lt_dlunknown;
13204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13205 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13206 /* dlclose (self); */
13214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13215 (eval $ac_link) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13219 (./conftest; exit; ) >&5 2>/dev/null
13221 case x$lt_status in
13222 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13223 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13224 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13227 # compilation failed
13228 lt_cv_dlopen_self=no
13235 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13236 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13238 if test "x$lt_cv_dlopen_self" = xyes; then
13239 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13240 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13241 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13242 if test "${lt_cv_dlopen_self_static+set}" = set; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 if test "$cross_compiling" = yes; then :
13246 lt_cv_dlopen_self_static=cross
13248 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13249 lt_status=$lt_dlunknown
13250 cat > conftest.$ac_ext <<EOF
13251 #line 13251 "configure"
13252 #include "confdefs.h"
13261 # define LT_DLGLOBAL RTLD_GLOBAL
13264 # define LT_DLGLOBAL DL_GLOBAL
13266 # define LT_DLGLOBAL 0
13270 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13271 find out it does not work in some platform. */
13272 #ifndef LT_DLLAZY_OR_NOW
13274 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13277 # define LT_DLLAZY_OR_NOW DL_LAZY
13280 # define LT_DLLAZY_OR_NOW RTLD_NOW
13283 # define LT_DLLAZY_OR_NOW DL_NOW
13285 # define LT_DLLAZY_OR_NOW 0
13293 extern "C" void exit (int);
13296 void fnord() { int i=42;}
13299 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13300 int status = $lt_dlunknown;
13304 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13305 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13306 /* dlclose (self); */
13314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13315 (eval $ac_link) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13319 (./conftest; exit; ) >&5 2>/dev/null
13321 case x$lt_status in
13322 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13323 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13324 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13327 # compilation failed
13328 lt_cv_dlopen_self_static=no
13335 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13336 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13339 CPPFLAGS="$save_CPPFLAGS"
13340 LDFLAGS="$save_LDFLAGS"
13345 case $lt_cv_dlopen_self in
13346 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13347 *) enable_dlopen_self=unknown ;;
13350 case $lt_cv_dlopen_self_static in
13351 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13352 *) enable_dlopen_self_static=unknown ;;
13357 # Report which library types will actually be built
13358 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13359 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13360 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13361 echo "${ECHO_T}$can_build_shared" >&6; }
13363 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13364 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13365 test "$can_build_shared" = "no" && enable_shared=no
13367 # On AIX, shared libraries and static libraries use the same namespace, and
13368 # are all built from PIC.
13371 test "$enable_shared" = yes && enable_static=no
13372 if test -n "$RANLIB"; then
13373 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13374 postinstall_cmds='$RANLIB $lib'
13379 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13380 test "$enable_shared" = yes && enable_static=no
13384 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13385 echo "${ECHO_T}$enable_shared" >&6; }
13387 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13388 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13389 # Make sure either enable_shared or enable_static is yes.
13390 test "$enable_shared" = yes || enable_static=yes
13391 { echo "$as_me:$LINENO: result: $enable_static" >&5
13392 echo "${ECHO_T}$enable_static" >&6; }
13394 # The else clause should only fire when bootstrapping the
13395 # libtool distribution, otherwise you forgot to ship ltmain.sh
13396 # with your package, and you will get complaints that there are
13397 # no rules to generate ltmain.sh.
13398 if test -f "$ltmain"; then
13399 # See if we are running on zsh, and set the options which allow our commands through
13400 # without removal of \ escapes.
13401 if test -n "${ZSH_VERSION+set}" ; then
13402 setopt NO_GLOB_SUBST
13404 # Now quote all the things that may contain metacharacters while being
13405 # careful not to overquote the AC_SUBSTed values. We take copies of the
13406 # variables and quote the copies for generation of the libtool script.
13407 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13409 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13410 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13411 deplibs_check_method reload_flag reload_cmds need_locks \
13412 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13413 lt_cv_sys_global_symbol_to_c_name_address \
13414 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13415 old_postinstall_cmds old_postuninstall_cmds \
13419 lt_prog_compiler_wl \
13420 lt_prog_compiler_pic \
13421 lt_prog_compiler_static \
13422 lt_prog_compiler_no_builtin_flag \
13423 export_dynamic_flag_spec \
13424 thread_safe_flag_spec \
13425 whole_archive_flag_spec \
13426 enable_shared_with_static_runtimes \
13428 old_archive_from_new_cmds \
13433 compiler_lib_search_path \
13434 compiler_lib_search_dirs \
13436 archive_expsym_cmds \
13438 postuninstall_cmds \
13439 old_archive_from_expsyms_cmds \
13440 allow_undefined_flag \
13441 no_undefined_flag \
13442 export_symbols_cmds \
13443 hardcode_libdir_flag_spec \
13444 hardcode_libdir_flag_spec_ld \
13445 hardcode_libdir_separator \
13446 hardcode_automatic \
13448 module_expsym_cmds \
13449 lt_cv_prog_compiler_c_o \
13452 include_expsyms; do
13455 old_archive_cmds | \
13456 old_archive_from_new_cmds | \
13458 archive_expsym_cmds | \
13460 module_expsym_cmds | \
13461 old_archive_from_expsyms_cmds | \
13462 export_symbols_cmds | \
13463 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13464 postinstall_cmds | postuninstall_cmds | \
13465 old_postinstall_cmds | old_postuninstall_cmds | \
13466 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13467 # Double-quote double-evaled strings.
13468 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13471 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13477 *'\$0 --fallback-echo"')
13478 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13482 cfgfile="${ofile}T"
13483 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13485 { echo "$as_me:$LINENO: creating $ofile" >&5
13486 echo "$as_me: creating $ofile" >&6;}
13488 cat <<__EOF__ >> "$cfgfile"
13491 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
13492 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
13496 # Free Software Foundation, Inc.
13498 # This file is part of GNU Libtool:
13499 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13501 # This program is free software; you can redistribute it and/or modify
13502 # it under the terms of the GNU General Public License as published by
13503 # the Free Software Foundation; either version 2 of the License, or
13504 # (at your option) any later version.
13506 # This program is distributed in the hope that it will be useful, but
13507 # WITHOUT ANY WARRANTY; without even the implied warranty of
13508 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13509 # General Public License for more details.
13511 # You should have received a copy of the GNU General Public License
13512 # along with this program; if not, write to the Free Software
13513 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13515 # As a special exception to the GNU General Public License, if you
13516 # distribute this file as part of a program that contains a
13517 # configuration script generated by Autoconf, you may include it under
13518 # the same distribution terms that you use for the rest of that program.
13520 # A sed program that does not truncate output.
13523 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13524 Xsed="$SED -e 1s/^X//"
13526 # The HP-UX ksh and POSIX shell print the target directory to stdout
13527 # if CDPATH is set.
13528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13530 # The names of the tagged configurations supported by this script.
13533 # ### BEGIN LIBTOOL CONFIG
13535 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13537 # Shell to use when invoking shell scripts.
13540 # Whether or not to build shared libraries.
13541 build_libtool_libs=$enable_shared
13543 # Whether or not to build static libraries.
13544 build_old_libs=$enable_static
13546 # Whether or not to add -lc for building shared libraries.
13547 build_libtool_need_lc=$archive_cmds_need_lc
13549 # Whether or not to disallow shared libs when runtime libs are static
13550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13552 # Whether or not to optimize for fast installation.
13553 fast_install=$enable_fast_install
13556 host_alias=$host_alias
13560 # The build system.
13561 build_alias=$build_alias
13565 # An echo program that does not interpret backslashes.
13570 AR_FLAGS=$lt_AR_FLAGS
13575 # LTCC compiler flags.
13576 LTCFLAGS=$lt_LTCFLAGS
13578 # A language-specific compiler.
13581 # Is the compiler the GNU C compiler?
13587 # The linker used to build libraries.
13590 # Whether we need hard or soft links.
13593 # A BSD-compatible nm program.
13596 # A symbol stripping program
13599 # Used to examine libraries when file_magic_cmd begins "file"
13600 MAGIC_CMD=$MAGIC_CMD
13602 # Used on cygwin: DLL creation program.
13605 # Used on cygwin: object dumper.
13608 # Used on cygwin: assembler.
13611 # The name of the directory that contains temporary libtool files.
13614 # How to create reloadable object files.
13615 reload_flag=$lt_reload_flag
13616 reload_cmds=$lt_reload_cmds
13618 # How to pass a linker flag through the compiler.
13619 wl=$lt_lt_prog_compiler_wl
13621 # Object file suffix (normally "o").
13622 objext="$ac_objext"
13624 # Old archive suffix (normally "a").
13627 # Shared library suffix (normally ".so").
13628 shrext_cmds='$shrext_cmds'
13630 # Executable file suffix (normally "").
13633 # Additional compiler flags for building library objects.
13634 pic_flag=$lt_lt_prog_compiler_pic
13637 # What is the maximum length of a command?
13638 max_cmd_len=$lt_cv_sys_max_cmd_len
13640 # Does compiler simultaneously support -c and -o options?
13641 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13643 # Must we lock files when doing compilation?
13644 need_locks=$lt_need_locks
13646 # Do we need the lib prefix for modules?
13647 need_lib_prefix=$need_lib_prefix
13649 # Do we need a version for libraries?
13650 need_version=$need_version
13652 # Whether dlopen is supported.
13653 dlopen_support=$enable_dlopen
13655 # Whether dlopen of programs is supported.
13656 dlopen_self=$enable_dlopen_self
13658 # Whether dlopen of statically linked programs is supported.
13659 dlopen_self_static=$enable_dlopen_self_static
13661 # Compiler flag to prevent dynamic linking.
13662 link_static_flag=$lt_lt_prog_compiler_static
13664 # Compiler flag to turn off builtin functions.
13665 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13667 # Compiler flag to allow reflexive dlopens.
13668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13670 # Compiler flag to generate shared objects directly from archives.
13671 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13673 # Compiler flag to generate thread-safe objects.
13674 thread_safe_flag_spec=$lt_thread_safe_flag_spec
13676 # Library versioning type.
13677 version_type=$version_type
13679 # Format of library name prefix.
13680 libname_spec=$lt_libname_spec
13682 # List of archive names. First name is the real one, the rest are links.
13683 # The last name is the one that the linker finds with -lNAME.
13684 library_names_spec=$lt_library_names_spec
13686 # The coded name of the library, if different from the real name.
13687 soname_spec=$lt_soname_spec
13689 # Commands used to build and install an old-style archive.
13691 old_archive_cmds=$lt_old_archive_cmds
13692 old_postinstall_cmds=$lt_old_postinstall_cmds
13693 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13695 # Create an old-style archive from a shared archive.
13696 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13698 # Create a temporary old-style archive to link instead of a shared archive.
13699 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13701 # Commands used to build and install a shared archive.
13702 archive_cmds=$lt_archive_cmds
13703 archive_expsym_cmds=$lt_archive_expsym_cmds
13704 postinstall_cmds=$lt_postinstall_cmds
13705 postuninstall_cmds=$lt_postuninstall_cmds
13707 # Commands used to build a loadable module (assumed same as above if empty)
13708 module_cmds=$lt_module_cmds
13709 module_expsym_cmds=$lt_module_expsym_cmds
13711 # Commands to strip libraries.
13712 old_striplib=$lt_old_striplib
13713 striplib=$lt_striplib
13715 # Dependencies to place before the objects being linked to create a
13717 predep_objects=$lt_predep_objects
13719 # Dependencies to place after the objects being linked to create a
13721 postdep_objects=$lt_postdep_objects
13723 # Dependencies to place before the objects being linked to create a
13725 predeps=$lt_predeps
13727 # Dependencies to place after the objects being linked to create a
13729 postdeps=$lt_postdeps
13731 # The directories searched by this compiler when creating a shared
13733 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
13735 # The library search path used internally by the compiler when linking
13736 # a shared library.
13737 compiler_lib_search_path=$lt_compiler_lib_search_path
13739 # Method to check whether dependent libraries are shared objects.
13740 deplibs_check_method=$lt_deplibs_check_method
13742 # Command to use when deplibs_check_method == file_magic.
13743 file_magic_cmd=$lt_file_magic_cmd
13745 # Flag that allows shared libraries with undefined symbols to be built.
13746 allow_undefined_flag=$lt_allow_undefined_flag
13748 # Flag that forces no undefined symbols.
13749 no_undefined_flag=$lt_no_undefined_flag
13751 # Commands used to finish a libtool library installation in a directory.
13752 finish_cmds=$lt_finish_cmds
13754 # Same as above, but a single script fragment to be evaled but not shown.
13755 finish_eval=$lt_finish_eval
13757 # Take the output of nm and produce a listing of raw symbols and C names.
13758 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13760 # Transform the output of nm in a proper C declaration
13761 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13763 # Transform the output of nm in a C name address pair
13764 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13766 # This is the shared library runtime path variable.
13767 runpath_var=$runpath_var
13769 # This is the shared library path variable.
13770 shlibpath_var=$shlibpath_var
13772 # Is shlibpath searched before the hard-coded library search path?
13773 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13775 # How to hardcode a shared library path into an executable.
13776 hardcode_action=$hardcode_action
13778 # Whether we should hardcode library paths into libraries.
13779 hardcode_into_libs=$hardcode_into_libs
13781 # Flag to hardcode \$libdir into a binary during linking.
13782 # This must work even if \$libdir does not exist.
13783 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13785 # If ld is used when linking, flag to hardcode \$libdir into
13786 # a binary during linking. This must work even if \$libdir does
13788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13790 # Whether we need a single -rpath flag with a separated argument.
13791 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13793 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13794 # resulting binary.
13795 hardcode_direct=$hardcode_direct
13797 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13798 # resulting binary.
13799 hardcode_minus_L=$hardcode_minus_L
13801 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13802 # the resulting binary.
13803 hardcode_shlibpath_var=$hardcode_shlibpath_var
13805 # Set to yes if building a shared library automatically hardcodes DIR into the library
13806 # and all subsequent libraries and executables linked against it.
13807 hardcode_automatic=$hardcode_automatic
13809 # Variables whose values should be saved in libtool wrapper scripts and
13810 # restored at relink time.
13811 variables_saved_for_relink="$variables_saved_for_relink"
13813 # Whether libtool must link a program against all its dependency libraries.
13814 link_all_deplibs=$link_all_deplibs
13816 # Compile-time system search path for libraries
13817 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13819 # Run-time system search path for libraries
13820 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13822 # Fix the shell variable \$srcfile for the compiler.
13823 fix_srcfile_path=$lt_fix_srcfile_path
13825 # Set to yes if exported symbols are required.
13826 always_export_symbols=$always_export_symbols
13828 # The commands to list exported symbols.
13829 export_symbols_cmds=$lt_export_symbols_cmds
13831 # The commands to extract the exported symbol list from a shared archive.
13832 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13834 # Symbols that should not be listed in the preloaded symbols.
13835 exclude_expsyms=$lt_exclude_expsyms
13837 # Symbols that must always be exported.
13838 include_expsyms=$lt_include_expsyms
13840 # ### END LIBTOOL CONFIG
13847 cat <<\EOF >> "$cfgfile"
13849 # AIX sometimes has problems with the GCC collect2 program. For some
13850 # reason, if we set the COLLECT_NAMES environment variable, the problems
13851 # vanish in a puff of smoke.
13852 if test "X${COLLECT_NAMES+set}" != Xset; then
13854 export COLLECT_NAMES
13860 # We use sed instead of cat because bash on DJGPP gets confused if
13861 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13862 # text mode, it properly converts lines to CR/LF. This bash problem
13863 # is reportedly fixed, but why not run on old versions too?
13864 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13866 mv -f "$cfgfile" "$ofile" || \
13867 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13871 # If there is no Makefile yet, we rely on a make rule to execute
13872 # `config.status
--recheck' to rerun these tests and create the
13873 # libtool script then.
13874 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
13875 if test -f "$ltmain_in"; then
13876 test -f Makefile && make "$ltmain"
13882 ac_cpp='$CPP $CPPFLAGS'
13883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13884 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13890 # Check whether --with-tags was given.
13891 if test "${with_tags+set}" = set; then
13892 withval=$with_tags; tagnames="$withval"
13896 if test -f "$ltmain" && test -n "$tagnames"; then
13897 if test ! -f "${ofile}"; then
13898 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
13899 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
13902 if test -z "$LTCC"; then
13903 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
13904 if test -z "$LTCC"; then
13905 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13906 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
13908 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
13909 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
13912 if test -z "$LTCFLAGS"; then
13913 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
13916 # Extract list of available tagged configurations in $ofile.
13917 # Note that this assumes the entire list is on one line.
13918 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13920 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13921 for tagname in $tagnames; do
13923 # Check whether tagname contains only valid characters
13924 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13926 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13927 echo "$as_me: error: invalid tag name: $tagname" >&2;}
13928 { (exit 1); exit 1; }; }
13932 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13934 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13935 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13936 { (exit 1); exit 1; }; }
13939 # Update the list of available tags.
13940 if test -n "$tagname"; then
13941 echo appending configuration tag \"$tagname\" to $ofile
13945 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13946 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
13947 (test "X$CXX" != "Xg++"))) ; then
13949 ac_cpp='$CXXCPP $CPPFLAGS'
13950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13957 archive_cmds_need_lc_CXX=no
13958 allow_undefined_flag_CXX=
13959 always_export_symbols_CXX=no
13960 archive_expsym_cmds_CXX=
13961 export_dynamic_flag_spec_CXX=
13962 hardcode_direct_CXX=no
13963 hardcode_libdir_flag_spec_CXX=
13964 hardcode_libdir_flag_spec_ld_CXX=
13965 hardcode_libdir_separator_CXX=
13966 hardcode_minus_L_CXX=no
13967 hardcode_shlibpath_var_CXX=unsupported
13968 hardcode_automatic_CXX=no
13970 module_expsym_cmds_CXX=
13971 link_all_deplibs_CXX=unknown
13972 old_archive_cmds_CXX=$old_archive_cmds
13973 no_undefined_flag_CXX=
13974 whole_archive_flag_spec_CXX=
13975 enable_shared_with_static_runtimes_CXX=no
13977 # Dependencies to place before and after the object being linked:
13978 predep_objects_CXX=
13979 postdep_objects_CXX=
13982 compiler_lib_search_path_CXX=
13983 compiler_lib_search_dirs_CXX=
13985 # Source file extension for C++ test sources.
13988 # Object file extension for compiled C++ test sources.
13992 # Code to be used in simple compile tests
13993 lt_simple_compile_test_code="int some_variable = 0;"
13995 # Code to be used in simple link tests
13996 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13998 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14000 # If no C compiler was specified, use CC.
14003 # If no C compiler flags were specified, use CFLAGS.
14004 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14006 # Allow CC to be a program name with arguments.
14010 # save warnings/boilerplate of simple test code
14011 ac_outfile=conftest.$ac_objext
14012 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14013 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14014 _lt_compiler_boilerplate=`cat conftest.err
`
14017 ac_outfile=conftest.$ac_objext
14018 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14019 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14020 _lt_linker_boilerplate=`cat conftest.err
`
14024 # Allow CC to be a program name with arguments.
14029 lt_save_with_gnu_ld=$with_gnu_ld
14030 lt_save_path_LD=$lt_cv_path_LD
14031 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14032 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14034 $as_unset lt_cv_prog_gnu_ld
14036 if test -n "${lt_cv_path_LDCXX+set}"; then
14037 lt_cv_path_LD=$lt_cv_path_LDCXX
14039 $as_unset lt_cv_path_LD
14041 test -z "${LDCXX+set}" || LD=$LDCXX
14045 for cc_temp in $compiler""; do
14047 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14048 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14053 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14056 # We don't want -fno-exception wen compiling C++ code, so set the
14057 # no_builtin_flag separately
14058 if test "$GXX" = yes; then
14059 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14061 lt_prog_compiler_no_builtin_flag_CXX=
14064 if test "$GXX" = yes; then
14065 # Set up default GNU C++ configuration
14068 # Check whether --with-gnu-ld was given.
14069 if test "${with_gnu_ld+set}" = set; then
14070 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14076 if test "$GCC" = yes; then
14077 # Check if gcc -print-prog-name=ld gives a path.
14078 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14079 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
14082 # gcc leaves a trailing carriage return which upsets mingw
14083 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
14085 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14088 # Accept absolute paths.
14090 re_direlt='/[^/][^/]*/\.\./'
14091 # Canonicalize the pathname of ld
14092 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
14093 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14094 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
14096 test -z "$LD" && LD="$ac_prog"
14099 # If it fails, then pretend we aren't using GCC.
14103 # If it is relative, then search for the first ld in PATH.
14104 with_gnu_ld=unknown
14107 elif test "$with_gnu_ld" = yes; then
14108 { echo "$as_me:$LINENO: checking for GNU ld" >&5
14109 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
14111 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14112 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
14114 if test "${lt_cv_path_LD+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 if test -z "$LD"; then
14118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14119 for ac_dir in $PATH; do
14121 test -z "$ac_dir" && ac_dir=.
14122 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14123 lt_cv_path_LD="$ac_dir/$ac_prog"
14124 # Check to see if the program is GNU ld. I'd rather use --version,
14125 # but apparently some variants of GNU ld only accept -v.
14126 # Break only if it was the GNU/non-GNU ld that we prefer.
14127 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
14128 *GNU* | *'with BFD'*)
14129 test "$with_gnu_ld" != no && break
14132 test "$with_gnu_ld" != yes && break
14139 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14143 LD="$lt_cv_path_LD"
14144 if test -n "$LD"; then
14145 { echo "$as_me:$LINENO: result: $LD" >&5
14146 echo "${ECHO_T}$LD" >&6; }
14148 { echo "$as_me:$LINENO: result: no" >&5
14149 echo "${ECHO_T}no" >&6; }
14151 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14152 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14153 { (exit 1); exit 1; }; }
14154 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14155 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
14156 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14160 case `$LD -v 2>&1 </dev
/null
` in
14161 *GNU* | *'with BFD'*)
14162 lt_cv_prog_gnu_ld=yes
14165 lt_cv_prog_gnu_ld=no
14169 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14170 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
14171 with_gnu_ld=$lt_cv_prog_gnu_ld
14175 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14176 # archiving commands below assume that GNU ld is being used.
14177 if test "$with_gnu_ld" = yes; then
14178 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14179 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'
14181 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14182 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14184 # If archive_cmds runs LD, not CC, wlarc should be empty
14185 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14186 # investigate it a little bit more. (MM)
14189 # ancient GNU ld didn't support --whole-archive et. al.
14190 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
14191 grep 'no-whole-archive' > /dev/null; then
14192 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14194 whole_archive_flag_spec_CXX=
14200 # A generic and very simple default shared library creation
14201 # command for GNU C++ for the case where it uses the native
14202 # linker, instead of GNU ld. If possible, this setting should
14203 # overridden to take advantage of the native linker features on
14204 # the platform it is being used on.
14205 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14208 # Commands to make compiler produce verbose output that lists
14209 # what "hidden" libraries, object files and flags are used when
14210 # linking a shared library.
14211 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14219 # PORTME: fill in a description of your system's C++ link characteristics
14220 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14221 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14225 # FIXME: insert proper C++ library support
14229 if test "$host_cpu" = ia64; then
14230 # On IA64, the linker does run time linking by default, so we don't
14231 # have to do anything special.
14232 aix_use_runtimelinking=no
14233 exp_sym_flag='-Bexport'
14236 aix_use_runtimelinking=no
14238 # Test if we are trying to use run time linking or normal
14239 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14240 # need to do runtime linking.
14241 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14242 for ld_flag in $LDFLAGS; do
14245 aix_use_runtimelinking=yes
14253 exp_sym_flag='-bexport'
14254 no_entry_flag='-bnoentry'
14257 # When large executables or shared objects are built, AIX ld can
14258 # have problems creating the table of contents. If linking a library
14259 # or program results in "error TOC overflow" add -mminimal-toc to
14260 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14261 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14263 archive_cmds_CXX=''
14264 hardcode_direct_CXX=yes
14265 hardcode_libdir_separator_CXX=':'
14266 link_all_deplibs_CXX=yes
14268 if test "$GXX" = yes; then
14269 case $host_os in aix4.[012]|aix4.[012].*)
14270 # We only want to do this on AIX 4.2 and lower, the check
14271 # below for broken collect2 doesn't work under 4.3+
14272 collect2name=`${CC} -print-prog-name=collect2
`
14273 if test -f "$collect2name" && \
14274 strings "$collect2name" | grep resolve_lib_name >/dev/null
14276 # We have reworked collect2
14279 # We have old collect2
14280 hardcode_direct_CXX=unsupported
14281 # It fails to find uninstalled libraries when the uninstalled
14282 # path is not listed in the libpath. Setting hardcode_minus_L
14283 # to unsupported forces relinking
14284 hardcode_minus_L_CXX=yes
14285 hardcode_libdir_flag_spec_CXX='-L$libdir'
14286 hardcode_libdir_separator_CXX=
14290 shared_flag='-shared'
14291 if test "$aix_use_runtimelinking" = yes; then
14292 shared_flag="$shared_flag "'${wl}-G'
14296 if test "$host_cpu" = ia64; then
14297 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14298 # chokes on -Wl,-G. The following line is correct:
14301 if test "$aix_use_runtimelinking" = yes; then
14302 shared_flag='${wl}-G'
14304 shared_flag='${wl}-bM:SRE'
14309 # It seems that -bexpall does not export symbols beginning with
14310 # underscore (_), so it is better to generate a list of symbols to export.
14311 always_export_symbols_CXX=yes
14312 if test "$aix_use_runtimelinking" = yes; then
14313 # Warning - without using the other runtime loading flags (-brtl),
14314 # -berok will link without error, but may produce a broken library.
14315 allow_undefined_flag_CXX='-berok'
14316 # Determine the default libpath from the value encoded in an empty executable.
14317 cat >conftest.$ac_ext <<_ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14332 rm -f conftest.$ac_objext conftest$ac_exeext
14333 if { (ac_try="$ac_link"
14334 case "(($ac_try" in
14335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14336 *) ac_try_echo
=$ac_try;;
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339 (eval "$ac_link") 2>conftest.er1
14341 grep -v '^ *+' conftest.er1
>conftest.err
14343 cat conftest.err
>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } && {
14346 test -z "$ac_cxx_werror_flag" ||
14347 test ! -s conftest.err
14348 } && test -s conftest
$ac_exeext &&
14349 $as_test_x conftest
$ac_exeext; then
14351 lt_aix_libpath_sed
='
14352 /Import File Strings/,/^$/ {
14358 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14359 # Check for a 64-bit object if we didn't find anything.
14360 if test -z "$aix_libpath"; then
14361 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.
$ac_ext >&5
14370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14371 conftest
$ac_exeext conftest.
$ac_ext
14372 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14374 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14376 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"
14378 if test "$host_cpu" = ia64
; then
14379 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14380 allow_undefined_flag_CXX
="-z nodefs"
14381 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"
14383 # Determine the default libpath from the value encoded in an empty executable.
14384 cat >conftest.
$ac_ext <<_ACEOF
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14399 rm -f conftest.
$ac_objext conftest
$ac_exeext
14400 if { (ac_try
="$ac_link"
14401 case "(($ac_try" in
14402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14403 *) ac_try_echo=$ac_try;;
14405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14406 (eval "$ac_link") 2>conftest.er1
14408 grep -v '^ *+' conftest.er1 >conftest.err
14410 cat conftest.err >&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); } && {
14413 test -z "$ac_cxx_werror_flag" ||
14414 test ! -s conftest.err
14415 } && test -s conftest$ac_exeext &&
14416 $as_test_x conftest$ac_exeext; then
14418 lt_aix_libpath_sed='
14419 /Import File Strings/,/^$/ {
14425 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14426 # Check for a 64-bit object if we didn't find anything.
14427 if test -z "$aix_libpath"; then
14428 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14431 echo "$as_me: failed program was:" >&5
14432 sed 's/^/| /' conftest.$ac_ext >&5
14437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14438 conftest$ac_exeext conftest.$ac_ext
14439 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14441 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14442 # Warning - without using the other run time loading flags,
14443 # -berok will link without error, but may produce a broken library.
14444 no_undefined_flag_CXX=' ${wl}-bernotok'
14445 allow_undefined_flag_CXX=' ${wl}-berok'
14446 # Exported symbols can be pulled into shared objects from archives
14447 whole_archive_flag_spec_CXX='$convenience'
14448 archive_cmds_need_lc_CXX=yes
14449 # This is similar to how AIX traditionally builds its shared libraries.
14450 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'
14456 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14457 allow_undefined_flag_CXX=unsupported
14458 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14459 # support --undefined. This deserves some investigation. FIXME
14460 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14467 case $cc_basename in
14469 # FIXME: insert proper C++ library support
14475 cygwin* | mingw* | pw32*)
14476 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14477 # as there is no search path for DLLs.
14478 hardcode_libdir_flag_spec_CXX='-L$libdir'
14479 allow_undefined_flag_CXX=unsupported
14480 always_export_symbols_CXX=no
14481 enable_shared_with_static_runtimes_CXX=yes
14483 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14484 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'
14485 # If the export-symbols file already is a .def file (1st line
14486 # is EXPORTS), use it as is; otherwise, prepend...
14487 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
14488 cp $export_symbols $output_objdir/$soname.def;
14490 echo EXPORTS > $output_objdir/$soname.def;
14491 cat $export_symbols >> $output_objdir/$soname.def;
14493 $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'
14498 darwin* | rhapsody*)
14499 archive_cmds_need_lc_CXX=no
14500 hardcode_direct_CXX=no
14501 hardcode_automatic_CXX=yes
14502 hardcode_shlibpath_var_CXX=unsupported
14503 whole_archive_flag_spec_CXX=''
14504 link_all_deplibs_CXX=yes
14505 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14506 if test "$GXX" = yes ; then
14507 output_verbose_link_cmd='echo'
14508 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}"
14509 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14510 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}"
14511 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}"
14512 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14513 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}"
14514 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}"
14517 case $cc_basename in
14519 output_verbose_link_cmd='echo'
14520 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'
14521 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14522 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14523 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}'
14524 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}'
14534 case $cc_basename in
14536 # FIXME: insert proper C++ library support
14540 # Green Hills C++ Compiler
14541 # FIXME: insert proper C++ library support
14545 # FIXME: insert proper C++ library support
14551 # C++ shared libraries reported to be fairly broken before switch to ELF
14555 archive_cmds_need_lc_CXX=no
14557 freebsd* | dragonfly*)
14558 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14565 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14566 hardcode_libdir_separator_CXX=:
14567 export_dynamic_flag_spec_CXX='${wl}-E'
14568 hardcode_direct_CXX=yes
14569 hardcode_minus_L_CXX=yes # Not in the search PATH,
14570 # but as the default
14571 # location of the library.
14573 case $cc_basename in
14575 # FIXME: insert proper C++ library support
14579 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'
14580 # Commands to make compiler produce verbose output that lists
14581 # what "hidden" libraries, object files and flags are used when
14582 # linking a shared library.
14584 # There doesn't appear to be a way to prevent this compiler from
14585 # explicitly linking system object files so we need to strip them
14586 # from the output so that they don't get included in the library
14588 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'
14591 if test "$GXX" = yes; then
14592 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'
14594 # FIXME: insert proper C++ library support
14601 if test $with_gnu_ld = no; then
14602 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14603 hardcode_libdir_separator_CXX=:
14608 export_dynamic_flag_spec_CXX='${wl}-E'
14614 hardcode_direct_CXX=no
14615 hardcode_shlibpath_var_CXX=no
14618 hardcode_direct_CXX=yes
14619 hardcode_minus_L_CXX=yes # Not in the search PATH,
14620 # but as the default
14621 # location of the library.
14625 case $cc_basename in
14627 # FIXME: insert proper C++ library support
14633 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14636 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14639 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14642 # Commands to make compiler produce verbose output that lists
14643 # what "hidden" libraries, object files and flags are used when
14644 # linking a shared library.
14646 # There doesn't appear to be a way to prevent this compiler from
14647 # explicitly linking system object files so we need to strip them
14648 # from the output so that they don't get included in the library
14650 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'
14653 if test "$GXX" = yes; then
14654 if test $with_gnu_ld = no; then
14657 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14660 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14663 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'
14668 # FIXME: insert proper C++ library support
14675 hardcode_direct_CXX=no
14676 hardcode_shlibpath_var_CXX=no
14677 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14678 export_dynamic_flag_spec_CXX='${wl}-E'
14679 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14680 # Instead, shared libraries are loaded at an image base (0x10000000 by
14681 # default) and relocated if they conflict, which is a slow very memory
14682 # consuming and fragmenting process. To avoid this, we pick a random,
14683 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14684 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14685 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'
14686 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'
14689 case $cc_basename in
14692 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'
14694 # Archives containing C++ object files must be created using
14695 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14696 # necessary to make sure instantiated templates are included
14698 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14701 if test "$GXX" = yes; then
14702 if test "$with_gnu_ld" = no; then
14703 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'
14705 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'
14708 link_all_deplibs_CXX=yes
14711 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14712 hardcode_libdir_separator_CXX=:
14714 linux* | k*bsd*-gnu)
14715 case $cc_basename in
14717 # Kuck and Associates, Inc. (KAI) C++ Compiler
14719 # KCC will only create a shared library if the output file
14720 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14721 # to its proper name (with version) after linking.
14722 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'
14723 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'
14724 # Commands to make compiler produce verbose output that lists
14725 # what "hidden" libraries, object files and flags are used when
14726 # linking a shared library.
14728 # There doesn't appear to be a way to prevent this compiler from
14729 # explicitly linking system object files so we need to strip them
14730 # from the output so that they don't get included in the library
14732 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'
14734 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
14735 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14737 # Archives containing C++ object files must be created using
14738 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14739 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14744 # version 8.0 and above of icpc choke on multiply defined symbols
14745 # if we add $predep_objects and $postdep_objects, however 7.1 and
14746 # earlier do not add the objects themselves.
14747 case `$CC -V 2>&1` in
14749 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14750 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'
14752 *) # Version 8.0 or newer
14755 ia64
*) tmp_idyn
=' -i_dynamic';;
14757 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758 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'
14761 archive_cmds_need_lc_CXX
=no
14762 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14763 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14764 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14767 # Portland Group C++ compiler
14768 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14769 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'
14771 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14772 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14773 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'
14777 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14778 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'
14780 runpath_var
=LD_RUN_PATH
14781 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14782 hardcode_libdir_separator_CXX
=:
14784 # Commands to make compiler produce verbose output that lists
14785 # what "hidden" libraries, object files and flags are used when
14786 # linking a shared library.
14788 # There doesn't appear to be a way to prevent this compiler from
14789 # explicitly linking system object files so we need to strip them
14790 # from the output so that they don't get included in the library
14792 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'
14795 case `$CC -V 2>&1 | sed 5q` in
14798 no_undefined_flag_CXX
=' -zdefs'
14799 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14800 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'
14801 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14802 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'
14804 # Not sure whether something based on
14805 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14807 output_verbose_link_cmd
='echo'
14809 # Archives containing C++ object files must be created using
14810 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14811 # necessary to make sure instantiated templates are included
14813 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14820 # FIXME: insert proper C++ library support
14824 # FIXME: insert proper C++ library support
14828 case $cc_basename in
14830 # FIXME: insert proper C++ library support
14834 # FIXME: insert proper C++ library support
14839 netbsd
* | netbsdelf
*-gnu)
14840 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14841 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14843 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14844 hardcode_direct_CXX
=yes
14845 hardcode_shlibpath_var_CXX
=no
14847 # Workaround some broken pre-1.5 toolchains
14848 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14851 # C++ shared libraries are fairly broken
14855 if test -f /usr
/libexec
/ld.so
; then
14856 hardcode_direct_CXX
=yes
14857 hardcode_shlibpath_var_CXX
=no
14858 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14860 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14861 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14862 export_dynamic_flag_spec_CXX
='${wl}-E'
14863 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14865 output_verbose_link_cmd
='echo'
14871 case $cc_basename in
14873 # Kuck and Associates, Inc. (KAI) C++ Compiler
14875 # KCC will only create a shared library if the output file
14876 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14877 # to its proper name (with version) after linking.
14878 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'
14880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14881 hardcode_libdir_separator_CXX
=:
14883 # Archives containing C++ object files must be created using
14884 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14885 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14889 # Rational C++ 2.4.1
14890 # FIXME: insert proper C++ library support
14894 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14895 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'
14897 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14898 hardcode_libdir_separator_CXX
=:
14900 # Commands to make compiler produce verbose output that lists
14901 # what "hidden" libraries, object files and flags are used when
14902 # linking a shared library.
14904 # There doesn't appear to be a way to prevent this compiler from
14905 # explicitly linking system object files so we need to strip them
14906 # from the output so that they don't get included in the library
14908 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'
14911 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14912 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14913 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'
14915 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14916 hardcode_libdir_separator_CXX
=:
14918 # Commands to make compiler produce verbose output that lists
14919 # what "hidden" libraries, object files and flags are used when
14920 # linking a shared library.
14921 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14924 # FIXME: insert proper C++ library support
14931 case $cc_basename in
14933 # Kuck and Associates, Inc. (KAI) C++ Compiler
14935 # KCC will only create a shared library if the output file
14936 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14937 # to its proper name (with version) after linking.
14938 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'
14940 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14941 hardcode_libdir_separator_CXX
=:
14943 # Archives containing C++ object files must be created using
14944 # the KAI C++ compiler.
14945 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
14948 # Rational C++ 2.4.1
14949 # FIXME: insert proper C++ library support
14953 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14954 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'
14955 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14956 echo "-hidden">> $lib.exp~
14957 $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~
14960 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14961 hardcode_libdir_separator_CXX
=:
14963 # Commands to make compiler produce verbose output that lists
14964 # what "hidden" libraries, object files and flags are used when
14965 # linking a shared library.
14967 # There doesn't appear to be a way to prevent this compiler from
14968 # explicitly linking system object files so we need to strip them
14969 # from the output so that they don't get included in the library
14971 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'
14974 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14975 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14976 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'
14978 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14979 hardcode_libdir_separator_CXX
=:
14981 # Commands to make compiler produce verbose output that lists
14982 # what "hidden" libraries, object files and flags are used when
14983 # linking a shared library.
14984 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14987 # FIXME: insert proper C++ library support
14994 # FIXME: insert proper C++ library support
14998 case $cc_basename in
15001 # FIXME: insert proper C++ library support
15006 # FIXME: insert proper C++ library support
15010 # FIXME: insert proper C++ library support
15016 case $cc_basename in
15018 # Sun C++ 4.2, 5.x and Centerline C++
15019 archive_cmds_need_lc_CXX
=yes
15020 no_undefined_flag_CXX
=' -zdefs'
15021 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15022 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15023 $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'
15025 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15026 hardcode_shlibpath_var_CXX
=no
15028 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15030 # The compiler driver will combine and reorder linker options,
15031 # but understands `-z linker_flag'.
15032 # Supported since Solaris 2.6 (maybe 2.5.1?)
15033 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
15036 link_all_deplibs_CXX
=yes
15038 output_verbose_link_cmd
='echo'
15040 # Archives containing C++ object files must be created using
15041 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15042 # necessary to make sure instantiated templates are included
15044 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15047 # Green Hills C++ Compiler
15048 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15050 # The C++ compiler must be used to create the archive.
15051 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15054 # GNU C++ compiler with Solaris linker
15055 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
15056 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
15057 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
15058 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15059 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15060 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15062 # Commands to make compiler produce verbose output that lists
15063 # what "hidden" libraries, object files and flags are used when
15064 # linking a shared library.
15065 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15067 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15069 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15070 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15071 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15073 # Commands to make compiler produce verbose output that lists
15074 # what "hidden" libraries, object files and flags are used when
15075 # linking a shared library.
15076 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15079 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
15081 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15083 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15090 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15091 no_undefined_flag_CXX
='${wl}-z,text'
15092 archive_cmds_need_lc_CXX
=no
15093 hardcode_shlibpath_var_CXX
=no
15094 runpath_var
='LD_RUN_PATH'
15096 case $cc_basename in
15098 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15099 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15102 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15103 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15107 sysv5
* | sco3.2v5
* | sco5v6
*)
15108 # Note: We can NOT use -z defs as we might desire, because we do not
15109 # link with -lc, and that would cause any symbols used from libc to
15110 # always be unresolved, which means just about no library would
15111 # ever link correctly. If we're not using GNU ld we use -z text
15112 # though, which does catch some bad symbols but isn't as heavy-handed
15114 # For security reasons, it is highly recommended that you always
15115 # use absolute paths for naming shared libraries, and exclude the
15116 # DT_RUNPATH tag from executables and libraries. But doing so
15117 # requires that you compile everything twice, which is a pain.
15118 # So that behaviour is only enabled if SCOABSPATH is set to a
15119 # non-empty value in the environment. Most likely only useful for
15120 # creating official distributions of packages.
15121 # This is a hack until libtool officially supports absolute path
15122 # names for shared libraries.
15123 no_undefined_flag_CXX
='${wl}-z,text'
15124 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15125 archive_cmds_need_lc_CXX
=no
15126 hardcode_shlibpath_var_CXX
=no
15127 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15128 hardcode_libdir_separator_CXX
=':'
15129 link_all_deplibs_CXX
=yes
15130 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15131 runpath_var
='LD_RUN_PATH'
15133 case $cc_basename in
15135 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15136 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15139 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15140 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15145 case $cc_basename in
15147 # NonStop-UX NCC 3.20
15148 # FIXME: insert proper C++ library support
15152 # FIXME: insert proper C++ library support
15158 # FIXME: insert proper C++ library support
15162 # FIXME: insert proper C++ library support
15166 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15167 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15168 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15173 cat > conftest.
$ac_ext <<EOF
15177 Foo (void) { a = 0; }
15183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15184 (eval $ac_compile) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; then
15188 # Parse the compiler output and extract the necessary
15189 # objects, libraries and library flags.
15191 # Sentinel used to keep track of whether or not we are before
15192 # the conftest object file.
15193 pre_test_object_deps_done
=no
15195 # The `*' in the case matches for architectures that use `case' in
15196 # $output_verbose_cmd can trigger glob expansion during the loop
15197 # eval without this substitution.
15198 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
15200 for p
in `eval $output_verbose_link_cmd`; do
15204 # Some compilers place space between "-{L,R}" and the path.
15205 # Remove the space.
15206 if test $p = "-L" \
15207 ||
test $p = "-R"; then
15214 if test "$pre_test_object_deps_done" = no
; then
15217 # Internal compiler library paths should come after those
15218 # provided the user. The postdeps already come after the
15219 # user supplied libs so there is no need to process them.
15220 if test -z "$compiler_lib_search_path_CXX"; then
15221 compiler_lib_search_path_CXX
="${prev}${p}"
15223 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15226 # The "-l" case would never come before the object being
15227 # linked, so don't bother handling this case.
15230 if test -z "$postdeps_CXX"; then
15231 postdeps_CXX
="${prev}${p}"
15233 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15239 # This assumes that the test object file only shows up
15240 # once in the compiler output.
15241 if test "$p" = "conftest.$objext"; then
15242 pre_test_object_deps_done
=yes
15246 if test "$pre_test_object_deps_done" = no
; then
15247 if test -z "$predep_objects_CXX"; then
15248 predep_objects_CXX
="$p"
15250 predep_objects_CXX
="$predep_objects_CXX $p"
15253 if test -z "$postdep_objects_CXX"; then
15254 postdep_objects_CXX
="$p"
15256 postdep_objects_CXX
="$postdep_objects_CXX $p"
15261 *) ;; # Ignore the rest.
15269 echo "libtool.m4: error: problem compiling CXX test program"
15272 $rm -f confest.
$objext
15274 compiler_lib_search_dirs_CXX
=
15275 if test -n "$compiler_lib_search_path_CXX"; then
15276 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15279 # PORTME: override above test on systems where it is broken
15282 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15283 # hack all around it, let's just trust "g++" to DTRT.
15284 predep_objects_CXX
=
15285 postdep_objects_CXX
=
15290 case `$CC -V 2>&1 | sed 5q` in
15294 # The more standards-conforming stlport4 library is
15295 # incompatible with the Cstd library. Avoid specifying
15296 # it if it's in CXXFLAGS. Ignore libCrun as
15297 # -library=stlport4 depends on it.
15298 case " $CXX $CXXFLAGS " in
15299 *" -library=stlport4 "*)
15300 solaris_use_stlport4
=yes
15303 if test "$solaris_use_stlport4" != yes; then
15304 postdeps_CXX
='-library=Cstd -library=Crun'
15311 case $cc_basename in
15313 # The more standards-conforming stlport4 library is
15314 # incompatible with the Cstd library. Avoid specifying
15315 # it if it's in CXXFLAGS. Ignore libCrun as
15316 # -library=stlport4 depends on it.
15317 case " $CXX $CXXFLAGS " in
15318 *" -library=stlport4 "*)
15319 solaris_use_stlport4
=yes
15323 # Adding this requires a known-good setup of shared libraries for
15324 # Sun compiler versions before 5.6, else PIC objects from an old
15325 # archive will be linked into the output, leading to subtle bugs.
15326 if test "$solaris_use_stlport4" != yes; then
15327 postdeps_CXX
='-library=Cstd -library=Crun'
15334 case " $postdeps_CXX " in
15335 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15338 lt_prog_compiler_wl_CXX
=
15339 lt_prog_compiler_pic_CXX
=
15340 lt_prog_compiler_static_CXX
=
15342 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15343 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15345 # C++ specific cases for pic, static, wl, etc.
15346 if test "$GXX" = yes; then
15347 lt_prog_compiler_wl_CXX
='-Wl,'
15348 lt_prog_compiler_static_CXX
='-static'
15352 # All AIX code is PIC.
15353 if test "$host_cpu" = ia64
; then
15354 # AIX 5 now supports IA64 processor
15355 lt_prog_compiler_static_CXX
='-Bstatic'
15359 # FIXME: we need at least 68020 code to build shared libraries, but
15360 # adding the `-m68020' flag to GCC prevents building anything better,
15362 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15364 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15365 # PIC is the default for these OSes.
15367 mingw
* | cygwin
* | os2
* | pw32
*)
15368 # This hack is so that the source file can tell whether it is being
15369 # built for inclusion in a dll (and should export symbols for example).
15370 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15371 # (--disable-auto-import) libraries
15372 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15374 darwin
* | rhapsody
*)
15375 # PIC is the default on this platform
15376 # Common symbols not allowed in MH_DYLIB files
15377 lt_prog_compiler_pic_CXX
='-fno-common'
15380 # DJGPP does not support shared libraries at all
15381 lt_prog_compiler_pic_CXX
=
15384 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15385 # Instead, we relocate shared libraries at runtime.
15388 if test -d /usr
/nec
; then
15389 lt_prog_compiler_pic_CXX
=-Kconform_pic
15393 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15394 # not for PA HP-UX.
15399 lt_prog_compiler_pic_CXX
='-fPIC'
15404 lt_prog_compiler_pic_CXX
='-fPIC'
15410 # All AIX code is PIC.
15411 if test "$host_cpu" = ia64
; then
15412 # AIX 5 now supports IA64 processor
15413 lt_prog_compiler_static_CXX
='-Bstatic'
15415 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15419 case $cc_basename in
15421 # Green Hills C++ Compiler
15422 # _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"
15427 # PIC is the default on this platform
15428 # Common symbols not allowed in MH_DYLIB files
15429 case $cc_basename in
15431 lt_prog_compiler_pic_CXX
='-qnocommon'
15432 lt_prog_compiler_wl_CXX
='-Wl,'
15437 case $cc_basename in
15439 lt_prog_compiler_pic_CXX
='-KPIC'
15442 # Green Hills C++ Compiler
15443 lt_prog_compiler_pic_CXX
='-pic'
15449 freebsd
* | dragonfly
*)
15450 # FreeBSD uses GNU C++
15452 hpux9
* | hpux10
* | hpux11
*)
15453 case $cc_basename in
15455 lt_prog_compiler_wl_CXX
='-Wl,'
15456 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15457 if test "$host_cpu" != ia64
; then
15458 lt_prog_compiler_pic_CXX
='+Z'
15462 lt_prog_compiler_wl_CXX
='-Wl,'
15463 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15469 lt_prog_compiler_pic_CXX
='+Z'
15478 # This is c89, which is MS Visual C++ (no shared libs)
15479 # Anyone wants to do a port?
15481 irix5
* | irix6
* | nonstopux
*)
15482 case $cc_basename in
15484 lt_prog_compiler_wl_CXX
='-Wl,'
15485 lt_prog_compiler_static_CXX
='-non_shared'
15486 # CC pic flag -KPIC is the default.
15492 linux
* | k
*bsd
*-gnu)
15493 case $cc_basename in
15496 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15497 lt_prog_compiler_pic_CXX
='-fPIC'
15501 lt_prog_compiler_wl_CXX
='-Wl,'
15502 lt_prog_compiler_pic_CXX
='-KPIC'
15503 lt_prog_compiler_static_CXX
='-static'
15506 # Portland Group C++ compiler.
15507 lt_prog_compiler_wl_CXX
='-Wl,'
15508 lt_prog_compiler_pic_CXX
='-fpic'
15509 lt_prog_compiler_static_CXX
='-Bstatic'
15513 # Make sure the PIC flag is empty. It appears that all Alpha
15514 # Linux and Compaq Tru64 Unix objects are PIC.
15515 lt_prog_compiler_pic_CXX
=
15516 lt_prog_compiler_static_CXX
='-non_shared'
15519 case `$CC -V 2>&1 | sed 5q` in
15522 lt_prog_compiler_pic_CXX
='-KPIC'
15523 lt_prog_compiler_static_CXX
='-Bstatic'
15524 lt_prog_compiler_wl_CXX
='-Qoption ld '
15535 case $cc_basename in
15537 lt_prog_compiler_pic_CXX
='-W c,exportall'
15543 netbsd
* | netbsdelf
*-gnu)
15545 osf3
* | osf4
* | osf5
*)
15546 case $cc_basename in
15548 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15551 # Rational C++ 2.4.1
15552 lt_prog_compiler_pic_CXX
='-pic'
15555 # Digital/Compaq C++
15556 lt_prog_compiler_wl_CXX
='-Wl,'
15557 # Make sure the PIC flag is empty. It appears that all Alpha
15558 # Linux and Compaq Tru64 Unix objects are PIC.
15559 lt_prog_compiler_pic_CXX
=
15560 lt_prog_compiler_static_CXX
='-non_shared'
15569 case $cc_basename in
15571 # Sun C++ 4.2, 5.x and Centerline C++
15572 lt_prog_compiler_pic_CXX
='-KPIC'
15573 lt_prog_compiler_static_CXX
='-Bstatic'
15574 lt_prog_compiler_wl_CXX
='-Qoption ld '
15577 # Green Hills C++ Compiler
15578 lt_prog_compiler_pic_CXX
='-PIC'
15585 case $cc_basename in
15588 lt_prog_compiler_pic_CXX
='-pic'
15589 lt_prog_compiler_static_CXX
='-Bstatic'
15593 lt_prog_compiler_pic_CXX
='-pic'
15600 case $cc_basename in
15602 # NonStop-UX NCC 3.20
15603 lt_prog_compiler_pic_CXX
='-KPIC'
15609 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15610 case $cc_basename in
15612 lt_prog_compiler_wl_CXX
='-Wl,'
15613 lt_prog_compiler_pic_CXX
='-KPIC'
15614 lt_prog_compiler_static_CXX
='-Bstatic'
15621 lt_prog_compiler_can_build_shared_CXX
=no
15626 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15627 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15630 # Check to make sure the PIC flag actually works.
15632 if test -n "$lt_prog_compiler_pic_CXX"; then
15634 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15635 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15636 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 lt_cv_prog_compiler_pic_works_CXX
=no
15640 ac_outfile
=conftest.
$ac_objext
15641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15642 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15643 # Insert the option either (1) after the last *FLAGS variable, or
15644 # (2) before a word containing "conftest.", or (3) at the end.
15645 # Note that $ac_compile itself does not contain backslashes and begins
15646 # with a dollar sign (not a hyphen), so the echo should work correctly.
15647 # The option is referenced via a variable to avoid confusing sed.
15648 lt_compile
=`echo "$ac_compile" | $SED \
15649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15651 -e 's:$: $lt_compiler_flag:'`
15652 (eval echo "\"\$as_me:15652: $lt_compile\"" >&5)
15653 (eval "$lt_compile" 2>conftest.err
)
15655 cat conftest.err
>&5
15656 echo "$as_me:15656: \$? = $ac_status" >&5
15657 if (exit $ac_status) && test -s "$ac_outfile"; then
15658 # The compiler can only warn and ignore the option if not recognized
15659 # So say no if there are warnings other than the usual output.
15660 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15661 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15662 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15663 lt_cv_prog_compiler_pic_works_CXX
=yes
15669 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15670 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15672 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15673 case $lt_prog_compiler_pic_CXX in
15675 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15678 lt_prog_compiler_pic_CXX
=
15679 lt_prog_compiler_can_build_shared_CXX
=no
15684 # For platforms which do not support PIC, -DPIC is meaningless:
15686 lt_prog_compiler_pic_CXX
=
15689 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15694 # Check to make sure the static flag actually works.
15696 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15697 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15698 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15699 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 lt_cv_prog_compiler_static_works_CXX
=no
15703 save_LDFLAGS
="$LDFLAGS"
15704 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15705 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15706 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15707 # The linker can only warn and ignore the option if not recognized
15708 # So say no if there are warnings
15709 if test -s conftest.err
; then
15710 # Append any errors to the config.log.
15711 cat conftest.err
1>&5
15712 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15713 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15714 if diff conftest.exp conftest.er2
>/dev
/null
; then
15715 lt_cv_prog_compiler_static_works_CXX
=yes
15718 lt_cv_prog_compiler_static_works_CXX
=yes
15722 LDFLAGS
="$save_LDFLAGS"
15725 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15726 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
15728 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15731 lt_prog_compiler_static_CXX
=
15735 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15736 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15737 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15740 lt_cv_prog_compiler_c_o_CXX
=no
15741 $rm -r conftest
2>/dev
/null
15745 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15747 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15748 # Insert the option either (1) after the last *FLAGS variable, or
15749 # (2) before a word containing "conftest.", or (3) at the end.
15750 # Note that $ac_compile itself does not contain backslashes and begins
15751 # with a dollar sign (not a hyphen), so the echo should work correctly.
15752 lt_compile
=`echo "$ac_compile" | $SED \
15753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15755 -e 's:$: $lt_compiler_flag:'`
15756 (eval echo "\"\$as_me:15756: $lt_compile\"" >&5)
15757 (eval "$lt_compile" 2>out
/conftest.err
)
15759 cat out
/conftest.err
>&5
15760 echo "$as_me:15760: \$? = $ac_status" >&5
15761 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15763 # The compiler can only warn and ignore the option if not recognized
15764 # So say no if there are warnings
15765 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15766 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15767 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15768 lt_cv_prog_compiler_c_o_CXX
=yes
15773 # SGI C++ compiler will create directory out/ii_files/ for
15774 # template instantiation
15775 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15776 $rm out
/* && rmdir out
15782 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15783 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15786 hard_links
="nottested"
15787 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15788 # do not overwrite the value of need_locks provided by the user
15789 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15790 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15793 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15795 ln conftest.a conftest.b
2>&5 || hard_links
=no
15796 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15797 { echo "$as_me:$LINENO: result: $hard_links" >&5
15798 echo "${ECHO_T}$hard_links" >&6; }
15799 if test "$hard_links" = no
; then
15800 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15801 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15808 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15809 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15811 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15814 # If we're using GNU nm, then we don't want the "-C" option.
15815 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15816 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15817 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'
15819 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'
15823 export_symbols_cmds_CXX
="$ltdll_cmds"
15826 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'
15828 linux
* | k
*bsd
*-gnu)
15829 link_all_deplibs_CXX
=no
15832 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15835 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15837 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15838 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15839 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15842 # Do we need to explicitly link libc?
15844 case "x$archive_cmds_need_lc_CXX" in
15846 # Assume -lc should be added
15847 archive_cmds_need_lc_CXX
=yes
15849 if test "$enable_shared" = yes && test "$GCC" = yes; then
15850 case $archive_cmds_CXX in
15852 # FIXME: we may have to deal with multi-command sequences.
15855 # Test whether the compiler implicitly links with -lc since on some
15856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15857 # to ld, don't add -lc before -lgcc.
15858 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15859 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15864 (eval $ac_compile) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } 2>conftest.err
; then
15870 libobjs
=conftest.
$ac_objext
15872 wl
=$lt_prog_compiler_wl_CXX
15873 pic_flag
=$lt_prog_compiler_pic_CXX
15879 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15880 allow_undefined_flag_CXX
=
15881 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15882 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }
15887 archive_cmds_need_lc_CXX
=no
15889 archive_cmds_need_lc_CXX
=yes
15891 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15893 cat conftest.err
1>&5
15896 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15897 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15904 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15905 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15906 library_names_spec
=
15907 libname_spec
='lib$name'
15911 postuninstall_cmds
=
15915 shlibpath_overrides_runpath
=unknown
15917 dynamic_linker
="$host_os ld.so"
15918 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15920 need_lib_prefix
=unknown
15921 hardcode_into_libs
=no
15923 # when you set need_version to no, make sure it does not cause -set_version
15924 # flags to be left without arguments
15925 need_version
=unknown
15930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15931 shlibpath_var
=LIBPATH
15933 # AIX 3 has no versioning support, so we append a major version to the name.
15934 soname_spec
='${libname}${release}${shared_ext}$major'
15941 hardcode_into_libs
=yes
15942 if test "$host_cpu" = ia64
; then
15943 # AIX 5 supports IA64
15944 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15945 shlibpath_var
=LD_LIBRARY_PATH
15947 # With GCC up to 2.95.x, collect2 would create an import file
15948 # for dependence libraries. The import file would start with
15949 # the line `#! .'. This would cause the generated library to
15950 # depend on `.', always an invalid library. This was fixed in
15951 # development snapshots of GCC prior to 3.0.
15953 aix4 | aix4.
[01] | aix4.
[01].
*)
15954 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15956 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15959 can_build_shared
=no
15963 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15964 # soname into executable. Probably we can add versioning support to
15965 # collect2, so additional links can be useful in future.
15966 if test "$aix_use_runtimelinking" = yes; then
15967 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15968 # instead of lib<name>.a to let people know that these are not
15969 # typical AIX shared libraries.
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 # We preserve .a as extension for shared libraries through AIX4.2
15973 # and later when we are not doing run time linking.
15974 library_names_spec
='${libname}${release}.a $libname.a'
15975 soname_spec
='${libname}${release}${shared_ext}$major'
15977 shlibpath_var
=LIBPATH
15982 library_names_spec
='$libname.ixlibrary $libname.a'
15983 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15984 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'
15988 library_names_spec
='${libname}${shared_ext}'
15989 dynamic_linker
="$host_os ld.so"
15990 shlibpath_var
=LIBRARY_PATH
15996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15997 soname_spec
='${libname}${release}${shared_ext}$major'
15998 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15999 shlibpath_var
=LD_LIBRARY_PATH
16000 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16001 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16002 # the default ld.so.conf also contains /usr/contrib/lib and
16003 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16004 # libtool to hard-code these into programs
16007 cygwin
* | mingw
* | pw32
*)
16008 version_type
=windows
16013 case $GCC,$host_os in
16014 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16015 library_names_spec
='$libname.dll.a'
16016 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16017 postinstall_cmds
='base_file=`basename \${file}`~
16018 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16019 dldir=$destdir/`dirname \$dlpath`~
16020 test -d \$dldir || mkdir -p \$dldir~
16021 $install_prog $dir/$dlname \$dldir/$dlname~
16022 chmod a+x \$dldir/$dlname'
16023 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16024 dlpath=$dir/\$dldll~
16026 shlibpath_overrides_runpath
=yes
16030 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16031 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16032 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16035 # MinGW DLLs use traditional 'lib' prefix
16036 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16037 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16038 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16039 # It is most probably a Windows format PATH printed by
16040 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16041 # path with ; separators, and with drive letters. We can handle the
16042 # drive letters (cygwin fileutils understands them), so leave them,
16043 # especially as we might pass files found there to a mingw objdump,
16044 # which wouldn't understand a cygwinified path. Ahh.
16045 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16047 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16051 # pw32 DLLs use 'pw' prefix rather than 'lib'
16052 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16058 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16061 dynamic_linker
='Win32 ld.exe'
16062 # FIXME: first we should search . and the directory the executable is in
16066 darwin
* | rhapsody
*)
16067 dynamic_linker
="$host_os dyld"
16068 version_type
=darwin
16071 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16072 soname_spec
='${libname}${release}${major}$shared_ext'
16073 shlibpath_overrides_runpath
=yes
16074 shlibpath_var
=DYLD_LIBRARY_PATH
16075 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16077 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16085 soname_spec
='${libname}${release}${shared_ext}$major'
16086 shlibpath_var
=LD_LIBRARY_PATH
16093 freebsd
* | dragonfly
*)
16094 # DragonFly does not have aout. When/if they implement a new
16095 # versioning mechanism, adjust this.
16096 if test -x /usr
/bin
/objformat
; then
16097 objformat
=`/usr/bin/objformat`
16100 freebsd
[123]*) objformat
=aout
;;
16101 *) objformat
=elf
;;
16104 version_type
=freebsd-
$objformat
16105 case $version_type in
16107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16112 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16116 shlibpath_var
=LD_LIBRARY_PATH
16119 shlibpath_overrides_runpath
=yes
16121 freebsd3.
[01]* | freebsdelf3.
[01]*)
16122 shlibpath_overrides_runpath
=yes
16123 hardcode_into_libs
=yes
16125 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16126 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16127 shlibpath_overrides_runpath
=no
16128 hardcode_into_libs
=yes
16130 *) # from 4.6 on, and DragonFly
16131 shlibpath_overrides_runpath
=yes
16132 hardcode_into_libs
=yes
16141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16142 soname_spec
='${libname}${release}${shared_ext}$major'
16143 shlibpath_var
=LD_LIBRARY_PATH
16144 hardcode_into_libs
=yes
16147 hpux9
* | hpux10
* | hpux11
*)
16148 # Give a soname corresponding to the major version so that dld.sl refuses to
16149 # link against other versions.
16156 hardcode_into_libs
=yes
16157 dynamic_linker
="$host_os dld.so"
16158 shlibpath_var
=LD_LIBRARY_PATH
16159 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16161 soname_spec
='${libname}${release}${shared_ext}$major'
16162 if test "X$HPUX_IA64_MODE" = X32
; then
16163 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16165 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16167 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16171 hardcode_into_libs
=yes
16172 dynamic_linker
="$host_os dld.sl"
16173 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176 soname_spec
='${libname}${release}${shared_ext}$major'
16177 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16178 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16182 dynamic_linker
="$host_os dld.sl"
16183 shlibpath_var
=SHLIB_PATH
16184 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16186 soname_spec
='${libname}${release}${shared_ext}$major'
16189 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16190 postinstall_cmds
='chmod 555 $lib'
16197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16198 soname_spec
='${libname}${release}${shared_ext}$major'
16199 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16200 shlibpath_var
=LD_LIBRARY_PATH
16201 shlibpath_overrides_runpath
=no
16202 hardcode_into_libs
=yes
16205 irix5
* | irix6
* | nonstopux
*)
16207 nonstopux
*) version_type
=nonstopux
;;
16209 if test "$lt_cv_prog_gnu_ld" = yes; then
16217 soname_spec
='${libname}${release}${shared_ext}$major'
16218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16220 irix5
* | nonstopux
*)
16221 libsuff
= shlibsuff
=
16224 case $LD in # libtool.m4 will add one of these switches to LD
16225 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16226 libsuff
= shlibsuff
= libmagic
=32-bit;;
16227 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16228 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16229 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16230 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16231 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16235 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16236 shlibpath_overrides_runpath
=no
16237 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16238 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16239 hardcode_into_libs
=yes
16242 # No shared lib support for Linux oldld, aout, or coff.
16243 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16247 # This must be Linux ELF.
16248 linux
* | k
*bsd
*-gnu)
16252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16253 soname_spec
='${libname}${release}${shared_ext}$major'
16254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16255 shlibpath_var
=LD_LIBRARY_PATH
16256 shlibpath_overrides_runpath
=no
16257 # This implies no fast_install, which is unacceptable.
16258 # Some rework will be needed to allow for fast_install
16259 # before this can be enabled.
16260 hardcode_into_libs
=yes
16262 # Append ld.so.conf contents to the search path
16263 if test -f /etc
/ld.so.conf
; then
16264 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' ' '`
16265 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16268 # We used to test for /lib/ld.so.1 and disable shared libraries on
16269 # powerpc, because MkLinux only supported shared libraries with the
16270 # GNU dynamic linker. Since this was broken with cross compilers,
16271 # most powerpc-linux boxes support dynamic linking these days and
16272 # people can always --disable-shared, the test was removed, and we
16273 # assume the GNU/Linux dynamic linker is in use.
16274 dynamic_linker
='GNU/Linux ld.so'
16281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16282 soname_spec
='${libname}${release}${shared_ext}$major'
16283 shlibpath_var
=LD_LIBRARY_PATH
16284 shlibpath_overrides_runpath
=no
16285 hardcode_into_libs
=yes
16286 dynamic_linker
='NetBSD ld.elf_so'
16293 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16295 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16296 dynamic_linker
='NetBSD (a.out) ld.so'
16298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16299 soname_spec
='${libname}${release}${shared_ext}$major'
16300 dynamic_linker
='NetBSD ld.elf_so'
16302 shlibpath_var
=LD_LIBRARY_PATH
16303 shlibpath_overrides_runpath
=yes
16304 hardcode_into_libs
=yes
16309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16310 shlibpath_var
=LD_LIBRARY_PATH
16311 shlibpath_overrides_runpath
=yes
16318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16319 soname_spec
='${libname}${release}${shared_ext}$major'
16320 shlibpath_var
=LD_LIBRARY_PATH
16321 shlibpath_overrides_runpath
=yes
16326 sys_lib_dlsearch_path_spec
="/usr/lib"
16328 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16330 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16331 *) need_version
=no
;;
16333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16334 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16335 shlibpath_var
=LD_LIBRARY_PATH
16336 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16338 openbsd2.
[89] | openbsd2.
[89].
*)
16339 shlibpath_overrides_runpath
=no
16342 shlibpath_overrides_runpath
=yes
16346 shlibpath_overrides_runpath
=yes
16351 libname_spec
='$name'
16354 library_names_spec
='$libname${shared_ext} $libname.a'
16355 dynamic_linker
='OS/2 ld.exe'
16356 shlibpath_var
=LIBPATH
16359 osf3
* | osf4
* | osf5
*)
16363 soname_spec
='${libname}${release}${shared_ext}$major'
16364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16365 shlibpath_var
=LD_LIBRARY_PATH
16366 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16367 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16379 soname_spec
='${libname}${release}${shared_ext}$major'
16380 shlibpath_var
=LD_LIBRARY_PATH
16381 shlibpath_overrides_runpath
=yes
16382 hardcode_into_libs
=yes
16383 # ldd complains unless libraries are executable
16384 postinstall_cmds
='chmod +x $lib'
16389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16390 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16391 shlibpath_var
=LD_LIBRARY_PATH
16392 shlibpath_overrides_runpath
=yes
16393 if test "$with_gnu_ld" = yes; then
16401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16402 soname_spec
='${libname}${release}${shared_ext}$major'
16403 shlibpath_var
=LD_LIBRARY_PATH
16404 case $host_vendor in
16406 shlibpath_overrides_runpath
=no
16408 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16409 runpath_var
=LD_RUN_PATH
16417 shlibpath_overrides_runpath
=no
16418 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16424 if test -d /usr
/nec
;then
16426 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16427 soname_spec
='$libname${shared_ext}.$major'
16428 shlibpath_var
=LD_LIBRARY_PATH
16432 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16433 version_type
=freebsd-elf
16436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16437 soname_spec
='${libname}${release}${shared_ext}$major'
16438 shlibpath_var
=LD_LIBRARY_PATH
16439 hardcode_into_libs
=yes
16440 if test "$with_gnu_ld" = yes; then
16441 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16442 shlibpath_overrides_runpath
=no
16444 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16445 shlibpath_overrides_runpath
=yes
16448 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16452 sys_lib_dlsearch_path_spec
='/usr/lib'
16457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16458 soname_spec
='${libname}${release}${shared_ext}$major'
16459 shlibpath_var
=LD_LIBRARY_PATH
16466 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16467 echo "${ECHO_T}$dynamic_linker" >&6; }
16468 test "$dynamic_linker" = no
&& can_build_shared
=no
16470 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16471 echo $ECHO_N "(cached) $ECHO_C" >&6
16473 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16476 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16477 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16483 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16485 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16486 if test "$GCC" = yes; then
16487 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16490 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16491 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16492 hardcode_action_CXX
=
16493 if test -n "$hardcode_libdir_flag_spec_CXX" || \
16494 test -n "$runpath_var_CXX" || \
16495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16497 # We can hardcode non-existant directories.
16498 if test "$hardcode_direct_CXX" != no
&&
16499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16500 # have to relink, otherwise we might link with an installed library
16501 # when we should be linking with a yet-to-be-installed one
16502 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16503 test "$hardcode_minus_L_CXX" != no
; then
16504 # Linking always hardcodes the temporary library directory.
16505 hardcode_action_CXX
=relink
16507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16508 hardcode_action_CXX
=immediate
16511 # We cannot hardcode anything, or else we can only hardcode existing
16513 hardcode_action_CXX
=unsupported
16515 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16516 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16518 if test "$hardcode_action_CXX" = relink
; then
16519 # Fast installation is not supported
16520 enable_fast_install
=no
16521 elif test "$shlibpath_overrides_runpath" = yes ||
16522 test "$enable_shared" = no
; then
16523 # Fast installation is not necessary
16524 enable_fast_install
=needless
16528 # The else clause should only fire when bootstrapping the
16529 # libtool distribution, otherwise you forgot to ship ltmain.sh
16530 # with your package, and you will get complaints that there are
16531 # no rules to generate ltmain.sh.
16532 if test -f "$ltmain"; then
16533 # See if we are running on zsh, and set the options which allow our commands through
16534 # without removal of \ escapes.
16535 if test -n "${ZSH_VERSION+set}" ; then
16536 setopt NO_GLOB_SUBST
16538 # Now quote all the things that may contain metacharacters while being
16539 # careful not to overquote the AC_SUBSTed values. We take copies of the
16540 # variables and quote the copies for generation of the libtool script.
16541 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16543 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16544 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16545 deplibs_check_method reload_flag reload_cmds need_locks \
16546 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16547 lt_cv_sys_global_symbol_to_c_name_address \
16548 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16549 old_postinstall_cmds old_postuninstall_cmds \
16553 lt_prog_compiler_wl_CXX \
16554 lt_prog_compiler_pic_CXX \
16555 lt_prog_compiler_static_CXX \
16556 lt_prog_compiler_no_builtin_flag_CXX \
16557 export_dynamic_flag_spec_CXX \
16558 thread_safe_flag_spec_CXX \
16559 whole_archive_flag_spec_CXX \
16560 enable_shared_with_static_runtimes_CXX \
16561 old_archive_cmds_CXX \
16562 old_archive_from_new_cmds_CXX \
16563 predep_objects_CXX \
16564 postdep_objects_CXX \
16567 compiler_lib_search_path_CXX \
16568 compiler_lib_search_dirs_CXX \
16570 archive_expsym_cmds_CXX \
16571 postinstall_cmds_CXX \
16572 postuninstall_cmds_CXX \
16573 old_archive_from_expsyms_cmds_CXX \
16574 allow_undefined_flag_CXX \
16575 no_undefined_flag_CXX \
16576 export_symbols_cmds_CXX \
16577 hardcode_libdir_flag_spec_CXX \
16578 hardcode_libdir_flag_spec_ld_CXX \
16579 hardcode_libdir_separator_CXX \
16580 hardcode_automatic_CXX \
16582 module_expsym_cmds_CXX \
16583 lt_cv_prog_compiler_c_o_CXX \
16584 fix_srcfile_path_CXX \
16585 exclude_expsyms_CXX \
16586 include_expsyms_CXX
; do
16589 old_archive_cmds_CXX | \
16590 old_archive_from_new_cmds_CXX | \
16591 archive_cmds_CXX | \
16592 archive_expsym_cmds_CXX | \
16593 module_cmds_CXX | \
16594 module_expsym_cmds_CXX | \
16595 old_archive_from_expsyms_cmds_CXX | \
16596 export_symbols_cmds_CXX | \
16597 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16598 postinstall_cmds | postuninstall_cmds | \
16599 old_postinstall_cmds | old_postuninstall_cmds | \
16600 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16601 # Double-quote double-evaled strings.
16602 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16605 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16611 *'\$0 --fallback-echo"')
16612 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16618 cat <<__EOF__ >> "$cfgfile"
16619 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16621 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16623 # Shell to use when invoking shell scripts.
16626 # Whether or not to build shared libraries.
16627 build_libtool_libs=$enable_shared
16629 # Whether or not to build static libraries.
16630 build_old_libs=$enable_static
16632 # Whether or not to add -lc for building shared libraries.
16633 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16635 # Whether or not to disallow shared libs when runtime libs are static
16636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16638 # Whether or not to optimize for fast installation.
16639 fast_install=$enable_fast_install
16642 host_alias=$host_alias
16646 # The build system.
16647 build_alias=$build_alias
16651 # An echo program that does not interpret backslashes.
16656 AR_FLAGS=$lt_AR_FLAGS
16661 # LTCC compiler flags.
16662 LTCFLAGS=$lt_LTCFLAGS
16664 # A language-specific compiler.
16665 CC=$lt_compiler_CXX
16667 # Is the compiler the GNU C compiler?
16673 # The linker used to build libraries.
16676 # Whether we need hard or soft links.
16679 # A BSD-compatible nm program.
16682 # A symbol stripping program
16685 # Used to examine libraries when file_magic_cmd begins "file"
16686 MAGIC_CMD=$MAGIC_CMD
16688 # Used on cygwin: DLL creation program.
16691 # Used on cygwin: object dumper.
16694 # Used on cygwin: assembler.
16697 # The name of the directory that contains temporary libtool files.
16700 # How to create reloadable object files.
16701 reload_flag=$lt_reload_flag
16702 reload_cmds=$lt_reload_cmds
16704 # How to pass a linker flag through the compiler.
16705 wl=$lt_lt_prog_compiler_wl_CXX
16707 # Object file suffix (normally "o").
16708 objext="$ac_objext"
16710 # Old archive suffix (normally "a").
16713 # Shared library suffix (normally ".so").
16714 shrext_cmds='$shrext_cmds'
16716 # Executable file suffix (normally "").
16719 # Additional compiler flags for building library objects.
16720 pic_flag=$lt_lt_prog_compiler_pic_CXX
16723 # What is the maximum length of a command?
16724 max_cmd_len=$lt_cv_sys_max_cmd_len
16726 # Does compiler simultaneously support -c and -o options?
16727 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16729 # Must we lock files when doing compilation?
16730 need_locks=$lt_need_locks
16732 # Do we need the lib prefix for modules?
16733 need_lib_prefix=$need_lib_prefix
16735 # Do we need a version for libraries?
16736 need_version=$need_version
16738 # Whether dlopen is supported.
16739 dlopen_support=$enable_dlopen
16741 # Whether dlopen of programs is supported.
16742 dlopen_self=$enable_dlopen_self
16744 # Whether dlopen of statically linked programs is supported.
16745 dlopen_self_static=$enable_dlopen_self_static
16747 # Compiler flag to prevent dynamic linking.
16748 link_static_flag=$lt_lt_prog_compiler_static_CXX
16750 # Compiler flag to turn off builtin functions.
16751 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16753 # Compiler flag to allow reflexive dlopens.
16754 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16756 # Compiler flag to generate shared objects directly from archives.
16757 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16759 # Compiler flag to generate thread-safe objects.
16760 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16762 # Library versioning type.
16763 version_type=$version_type
16765 # Format of library name prefix.
16766 libname_spec=$lt_libname_spec
16768 # List of archive names. First name is the real one, the rest are links.
16769 # The last name is the one that the linker finds with -lNAME.
16770 library_names_spec=$lt_library_names_spec
16772 # The coded name of the library, if different from the real name.
16773 soname_spec=$lt_soname_spec
16775 # Commands used to build and install an old-style archive.
16777 old_archive_cmds=$lt_old_archive_cmds_CXX
16778 old_postinstall_cmds=$lt_old_postinstall_cmds
16779 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16781 # Create an old-style archive from a shared archive.
16782 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16784 # Create a temporary old-style archive to link instead of a shared archive.
16785 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16787 # Commands used to build and install a shared archive.
16788 archive_cmds=$lt_archive_cmds_CXX
16789 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16790 postinstall_cmds=$lt_postinstall_cmds
16791 postuninstall_cmds=$lt_postuninstall_cmds
16793 # Commands used to build a loadable module (assumed same as above if empty)
16794 module_cmds=$lt_module_cmds_CXX
16795 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16797 # Commands to strip libraries.
16798 old_striplib=$lt_old_striplib
16799 striplib=$lt_striplib
16801 # Dependencies to place before the objects being linked to create a
16803 predep_objects=$lt_predep_objects_CXX
16805 # Dependencies to place after the objects being linked to create a
16807 postdep_objects=$lt_postdep_objects_CXX
16809 # Dependencies to place before the objects being linked to create a
16811 predeps=$lt_predeps_CXX
16813 # Dependencies to place after the objects being linked to create a
16815 postdeps=$lt_postdeps_CXX
16817 # The directories searched by this compiler when creating a shared
16819 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16821 # The library search path used internally by the compiler when linking
16822 # a shared library.
16823 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16825 # Method to check whether dependent libraries are shared objects.
16826 deplibs_check_method=$lt_deplibs_check_method
16828 # Command to use when deplibs_check_method == file_magic.
16829 file_magic_cmd=$lt_file_magic_cmd
16831 # Flag that allows shared libraries with undefined symbols to be built.
16832 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16834 # Flag that forces no undefined symbols.
16835 no_undefined_flag=$lt_no_undefined_flag_CXX
16837 # Commands used to finish a libtool library installation in a directory.
16838 finish_cmds=$lt_finish_cmds
16840 # Same as above, but a single script fragment to be evaled but not shown.
16841 finish_eval=$lt_finish_eval
16843 # Take the output of nm and produce a listing of raw symbols and C names.
16844 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16846 # Transform the output of nm in a proper C declaration
16847 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16849 # Transform the output of nm in a C name address pair
16850 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16852 # This is the shared library runtime path variable.
16853 runpath_var=$runpath_var
16855 # This is the shared library path variable.
16856 shlibpath_var=$shlibpath_var
16858 # Is shlibpath searched before the hard-coded library search path?
16859 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16861 # How to hardcode a shared library path into an executable.
16862 hardcode_action=$hardcode_action_CXX
16864 # Whether we should hardcode library paths into libraries.
16865 hardcode_into_libs=$hardcode_into_libs
16867 # Flag to hardcode \$libdir into a binary during linking.
16868 # This must work even if \$libdir does not exist.
16869 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16871 # If ld is used when linking, flag to hardcode \$libdir into
16872 # a binary during linking. This must work even if \$libdir does
16874 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16876 # Whether we need a single -rpath flag with a separated argument.
16877 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16879 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16880 # resulting binary.
16881 hardcode_direct=$hardcode_direct_CXX
16883 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16884 # resulting binary.
16885 hardcode_minus_L=$hardcode_minus_L_CXX
16887 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16888 # the resulting binary.
16889 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16891 # Set to yes if building a shared library automatically hardcodes DIR into the library
16892 # and all subsequent libraries and executables linked against it.
16893 hardcode_automatic=$hardcode_automatic_CXX
16895 # Variables whose values should be saved in libtool wrapper scripts and
16896 # restored at relink time.
16897 variables_saved_for_relink="$variables_saved_for_relink"
16899 # Whether libtool must link a program against all its dependency libraries.
16900 link_all_deplibs=$link_all_deplibs_CXX
16902 # Compile-time system search path for libraries
16903 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16905 # Run-time system search path for libraries
16906 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16908 # Fix the shell variable \$srcfile for the compiler.
16909 fix_srcfile_path=$lt_fix_srcfile_path
16911 # Set to yes if exported symbols are required.
16912 always_export_symbols=$always_export_symbols_CXX
16914 # The commands to list exported symbols.
16915 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16917 # The commands to extract the exported symbol list from a shared archive.
16918 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16920 # Symbols that should not be listed in the preloaded symbols.
16921 exclude_expsyms=$lt_exclude_expsyms_CXX
16923 # Symbols that must always be exported.
16924 include_expsyms=$lt_include_expsyms_CXX
16926 # ### END LIBTOOL TAG CONFIG: $tagname
16932 # If there is no Makefile yet, we rely on a make rule to execute
16933 # `config.status --recheck' to rerun these tests and create the
16934 # libtool script then.
16935 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16936 if test -f "$ltmain_in"; then
16937 test -f Makefile
&& make "$ltmain"
16943 ac_cpp
='$CPP $CPPFLAGS'
16944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16952 with_gnu_ldcxx
=$with_gnu_ld
16953 with_gnu_ld
=$lt_save_with_gnu_ld
16954 lt_cv_path_LDCXX
=$lt_cv_path_LD
16955 lt_cv_path_LD
=$lt_save_path_LD
16956 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16957 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16965 if test -n "$F77" && test "X$F77" != "Xno"; then
16968 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16969 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16970 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
16973 archive_cmds_need_lc_F77
=no
16974 allow_undefined_flag_F77
=
16975 always_export_symbols_F77
=no
16976 archive_expsym_cmds_F77
=
16977 export_dynamic_flag_spec_F77
=
16978 hardcode_direct_F77
=no
16979 hardcode_libdir_flag_spec_F77
=
16980 hardcode_libdir_flag_spec_ld_F77
=
16981 hardcode_libdir_separator_F77
=
16982 hardcode_minus_L_F77
=no
16983 hardcode_automatic_F77
=no
16985 module_expsym_cmds_F77
=
16986 link_all_deplibs_F77
=unknown
16987 old_archive_cmds_F77
=$old_archive_cmds
16988 no_undefined_flag_F77
=
16989 whole_archive_flag_spec_F77
=
16990 enable_shared_with_static_runtimes_F77
=no
16992 # Source file extension for f77 test sources.
16995 # Object file extension for compiled f77 test sources.
16999 # Code to be used in simple compile tests
17000 lt_simple_compile_test_code
="\
17006 # Code to be used in simple link tests
17007 lt_simple_link_test_code
="\
17012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17014 # If no C compiler was specified, use CC.
17017 # If no C compiler flags were specified, use CFLAGS.
17018 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17020 # Allow CC to be a program name with arguments.
17024 # save warnings/boilerplate of simple test code
17025 ac_outfile
=conftest.
$ac_objext
17026 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17027 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17028 _lt_compiler_boilerplate
=`cat conftest.err`
17031 ac_outfile
=conftest.
$ac_objext
17032 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17033 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17034 _lt_linker_boilerplate
=`cat conftest.err`
17038 # Allow CC to be a program name with arguments.
17043 for cc_temp
in $compiler""; do
17045 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17046 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17051 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17054 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17055 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17056 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17057 echo "${ECHO_T}$can_build_shared" >&6; }
17059 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17060 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17061 test "$can_build_shared" = "no" && enable_shared
=no
17063 # On AIX, shared libraries and static libraries use the same namespace, and
17064 # are all built from PIC.
17067 test "$enable_shared" = yes && enable_static
=no
17068 if test -n "$RANLIB"; then
17069 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
17070 postinstall_cmds
='$RANLIB $lib'
17074 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
17075 test "$enable_shared" = yes && enable_static
=no
17079 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17080 echo "${ECHO_T}$enable_shared" >&6; }
17082 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17083 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17084 # Make sure either enable_shared or enable_static is yes.
17085 test "$enable_shared" = yes || enable_static
=yes
17086 { echo "$as_me:$LINENO: result: $enable_static" >&5
17087 echo "${ECHO_T}$enable_static" >&6; }
17092 lt_prog_compiler_wl_F77
=
17093 lt_prog_compiler_pic_F77
=
17094 lt_prog_compiler_static_F77
=
17096 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17097 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17099 if test "$GCC" = yes; then
17100 lt_prog_compiler_wl_F77
='-Wl,'
17101 lt_prog_compiler_static_F77
='-static'
17105 # All AIX code is PIC.
17106 if test "$host_cpu" = ia64
; then
17107 # AIX 5 now supports IA64 processor
17108 lt_prog_compiler_static_F77
='-Bstatic'
17113 # FIXME: we need at least 68020 code to build shared libraries, but
17114 # adding the `-m68020' flag to GCC prevents building anything better,
17116 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
17119 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17120 # PIC is the default for these OSes.
17123 mingw
* | cygwin
* | pw32
* | os2
*)
17124 # This hack is so that the source file can tell whether it is being
17125 # built for inclusion in a dll (and should export symbols for example).
17126 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17127 # (--disable-auto-import) libraries
17128 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
17131 darwin
* | rhapsody
*)
17132 # PIC is the default on this platform
17133 # Common symbols not allowed in MH_DYLIB files
17134 lt_prog_compiler_pic_F77
='-fno-common'
17138 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17139 # Instead, we relocate shared libraries at runtime.
17143 # Just because we use GCC doesn't mean we suddenly get shared libraries
17144 # on systems that don't support them.
17145 lt_prog_compiler_can_build_shared_F77
=no
17150 if test -d /usr
/nec
; then
17151 lt_prog_compiler_pic_F77
=-Kconform_pic
17156 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17157 # not for PA HP-UX.
17163 lt_prog_compiler_pic_F77
='-fPIC'
17169 lt_prog_compiler_pic_F77
='-fPIC'
17173 # PORTME Check for flag to pass linker flags through the system compiler.
17176 lt_prog_compiler_wl_F77
='-Wl,'
17177 if test "$host_cpu" = ia64
; then
17178 # AIX 5 now supports IA64 processor
17179 lt_prog_compiler_static_F77
='-Bstatic'
17181 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
17185 # PIC is the default on this platform
17186 # Common symbols not allowed in MH_DYLIB files
17187 case $cc_basename in
17189 lt_prog_compiler_pic_F77
='-qnocommon'
17190 lt_prog_compiler_wl_F77
='-Wl,'
17195 mingw
* | cygwin
* | pw32
* | os2
*)
17196 # This hack is so that the source file can tell whether it is being
17197 # built for inclusion in a dll (and should export symbols for example).
17198 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
17201 hpux9
* | hpux10
* | hpux11
*)
17202 lt_prog_compiler_wl_F77
='-Wl,'
17203 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17204 # not for PA HP-UX.
17210 lt_prog_compiler_pic_F77
='+Z'
17213 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17214 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
17217 irix5
* | irix6
* | nonstopux
*)
17218 lt_prog_compiler_wl_F77
='-Wl,'
17219 # PIC (with -KPIC) is the default.
17220 lt_prog_compiler_static_F77
='-non_shared'
17224 lt_prog_compiler_pic_F77
='-KPIC'
17225 lt_prog_compiler_static_F77
='-Bstatic'
17228 linux
* | k
*bsd
*-gnu)
17229 case $cc_basename in
17231 lt_prog_compiler_wl_F77
='-Wl,'
17232 lt_prog_compiler_pic_F77
='-KPIC'
17233 lt_prog_compiler_static_F77
='-static'
17235 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17236 # Portland Group compilers (*not* the Pentium gcc compiler,
17237 # which looks to be a dead project)
17238 lt_prog_compiler_wl_F77
='-Wl,'
17239 lt_prog_compiler_pic_F77
='-fpic'
17240 lt_prog_compiler_static_F77
='-Bstatic'
17243 lt_prog_compiler_wl_F77
='-Wl,'
17244 # All Alpha code is PIC.
17245 lt_prog_compiler_static_F77
='-non_shared'
17248 case `$CC -V 2>&1 | sed 5q` in
17251 lt_prog_compiler_pic_F77
='-KPIC'
17252 lt_prog_compiler_static_F77
='-Bstatic'
17253 lt_prog_compiler_wl_F77
='-Wl,'
17256 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17257 lt_prog_compiler_pic_F77
='-KPIC'
17258 lt_prog_compiler_static_F77
='-Bstatic'
17259 lt_prog_compiler_wl_F77
=''
17266 osf3
* | osf4
* | osf5
*)
17267 lt_prog_compiler_wl_F77
='-Wl,'
17268 # All OSF/1 code is PIC.
17269 lt_prog_compiler_static_F77
='-non_shared'
17273 lt_prog_compiler_static_F77
='-non_shared'
17277 lt_prog_compiler_pic_F77
='-KPIC'
17278 lt_prog_compiler_static_F77
='-Bstatic'
17279 case $cc_basename in
17280 f77
* | f90
* | f95
*)
17281 lt_prog_compiler_wl_F77
='-Qoption ld ';;
17283 lt_prog_compiler_wl_F77
='-Wl,';;
17288 lt_prog_compiler_wl_F77
='-Qoption ld '
17289 lt_prog_compiler_pic_F77
='-PIC'
17290 lt_prog_compiler_static_F77
='-Bstatic'
17293 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17294 lt_prog_compiler_wl_F77
='-Wl,'
17295 lt_prog_compiler_pic_F77
='-KPIC'
17296 lt_prog_compiler_static_F77
='-Bstatic'
17300 if test -d /usr
/nec
;then
17301 lt_prog_compiler_pic_F77
='-Kconform_pic'
17302 lt_prog_compiler_static_F77
='-Bstatic'
17306 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17307 lt_prog_compiler_wl_F77
='-Wl,'
17308 lt_prog_compiler_pic_F77
='-KPIC'
17309 lt_prog_compiler_static_F77
='-Bstatic'
17313 lt_prog_compiler_wl_F77
='-Wl,'
17314 lt_prog_compiler_can_build_shared_F77
=no
17318 lt_prog_compiler_pic_F77
='-pic'
17319 lt_prog_compiler_static_F77
='-Bstatic'
17323 lt_prog_compiler_can_build_shared_F77
=no
17328 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17329 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17332 # Check to make sure the PIC flag actually works.
17334 if test -n "$lt_prog_compiler_pic_F77"; then
17336 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17337 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17338 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 lt_cv_prog_compiler_pic_works_F77
=no
17342 ac_outfile
=conftest.
$ac_objext
17343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17344 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
17345 # Insert the option either (1) after the last *FLAGS variable, or
17346 # (2) before a word containing "conftest.", or (3) at the end.
17347 # Note that $ac_compile itself does not contain backslashes and begins
17348 # with a dollar sign (not a hyphen), so the echo should work correctly.
17349 # The option is referenced via a variable to avoid confusing sed.
17350 lt_compile
=`echo "$ac_compile" | $SED \
17351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17353 -e 's:$: $lt_compiler_flag:'`
17354 (eval echo "\"\$as_me:17354: $lt_compile\"" >&5)
17355 (eval "$lt_compile" 2>conftest.err
)
17357 cat conftest.err
>&5
17358 echo "$as_me:17358: \$? = $ac_status" >&5
17359 if (exit $ac_status) && test -s "$ac_outfile"; then
17360 # The compiler can only warn and ignore the option if not recognized
17361 # So say no if there are warnings other than the usual output.
17362 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17363 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17364 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17365 lt_cv_prog_compiler_pic_works_F77
=yes
17371 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
17372 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
17374 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
17375 case $lt_prog_compiler_pic_F77 in
17377 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
17380 lt_prog_compiler_pic_F77
=
17381 lt_prog_compiler_can_build_shared_F77
=no
17386 # For platforms which do not support PIC, -DPIC is meaningless:
17388 lt_prog_compiler_pic_F77
=
17391 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
17396 # Check to make sure the static flag actually works.
17398 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
17399 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17400 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17401 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
17402 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 lt_cv_prog_compiler_static_works_F77
=no
17405 save_LDFLAGS
="$LDFLAGS"
17406 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17407 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17408 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17409 # The linker can only warn and ignore the option if not recognized
17410 # So say no if there are warnings
17411 if test -s conftest.err
; then
17412 # Append any errors to the config.log.
17413 cat conftest.err
1>&5
17414 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17416 if diff conftest.exp conftest.er2
>/dev
/null
; then
17417 lt_cv_prog_compiler_static_works_F77
=yes
17420 lt_cv_prog_compiler_static_works_F77
=yes
17424 LDFLAGS
="$save_LDFLAGS"
17427 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
17428 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
17430 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
17433 lt_prog_compiler_static_F77
=
17437 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17438 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17439 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 lt_cv_prog_compiler_c_o_F77
=no
17443 $rm -r conftest
2>/dev
/null
17447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17449 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17450 # Insert the option either (1) after the last *FLAGS variable, or
17451 # (2) before a word containing "conftest.", or (3) at the end.
17452 # Note that $ac_compile itself does not contain backslashes and begins
17453 # with a dollar sign (not a hyphen), so the echo should work correctly.
17454 lt_compile
=`echo "$ac_compile" | $SED \
17455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17457 -e 's:$: $lt_compiler_flag:'`
17458 (eval echo "\"\$as_me:17458: $lt_compile\"" >&5)
17459 (eval "$lt_compile" 2>out
/conftest.err
)
17461 cat out
/conftest.err
>&5
17462 echo "$as_me:17462: \$? = $ac_status" >&5
17463 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17465 # The compiler can only warn and ignore the option if not recognized
17466 # So say no if there are warnings
17467 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17468 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17469 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17470 lt_cv_prog_compiler_c_o_F77
=yes
17475 # SGI C++ compiler will create directory out/ii_files/ for
17476 # template instantiation
17477 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17478 $rm out
/* && rmdir out
17484 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17485 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17488 hard_links
="nottested"
17489 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
17490 # do not overwrite the value of need_locks provided by the user
17491 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17492 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17495 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17497 ln conftest.a conftest.b
2>&5 || hard_links
=no
17498 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17499 { echo "$as_me:$LINENO: result: $hard_links" >&5
17500 echo "${ECHO_T}$hard_links" >&6; }
17501 if test "$hard_links" = no
; then
17502 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17503 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17510 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17511 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17514 allow_undefined_flag_F77
=
17515 enable_shared_with_static_runtimes_F77
=no
17517 archive_expsym_cmds_F77
=
17518 old_archive_From_new_cmds_F77
=
17519 old_archive_from_expsyms_cmds_F77
=
17520 export_dynamic_flag_spec_F77
=
17521 whole_archive_flag_spec_F77
=
17522 thread_safe_flag_spec_F77
=
17523 hardcode_libdir_flag_spec_F77
=
17524 hardcode_libdir_flag_spec_ld_F77
=
17525 hardcode_libdir_separator_F77
=
17526 hardcode_direct_F77
=no
17527 hardcode_minus_L_F77
=no
17528 hardcode_shlibpath_var_F77
=unsupported
17529 link_all_deplibs_F77
=unknown
17530 hardcode_automatic_F77
=no
17532 module_expsym_cmds_F77
=
17533 always_export_symbols_F77
=no
17534 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17535 # include_expsyms should be a list of space-separated symbols to be *always*
17536 # included in the symbol list
17537 include_expsyms_F77
=
17538 # exclude_expsyms can be an extended regexp of symbols to exclude
17539 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17540 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17541 # as well as any symbol that contains `d'.
17542 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17543 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17544 # platforms (ab)use it in PIC code, but their linkers get confused if
17545 # the symbol is explicitly referenced. Since portable code cannot
17546 # rely on this symbol name, it's probably fine to never include it in
17547 # preloaded symbol tables.
17548 # Exclude shared library initialization/finalization symbols.
17549 extract_expsyms_cmds
=
17550 # Just being paranoid about ensuring that cc_basename is set.
17551 for cc_temp
in $compiler""; do
17553 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17554 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17559 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17562 cygwin
* | mingw
* | pw32
*)
17563 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17564 # When not using gcc, we currently assume that we are using
17565 # Microsoft Visual C++.
17566 if test "$GCC" != yes; then
17571 # we just hope/assume this is gcc and not c89 (= MSVC++)
17580 if test "$with_gnu_ld" = yes; then
17581 # If archive_cmds runs LD, not CC, wlarc should be empty
17584 # Set some defaults for GNU ld with shared library support. These
17585 # are reset later if shared libraries are not supported. Putting them
17586 # here allows them to be overridden if necessary.
17587 runpath_var
=LD_RUN_PATH
17588 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
17589 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
17590 # ancient GNU ld didn't support --whole-archive et. al.
17591 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17592 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17594 whole_archive_flag_spec_F77
=
17596 supports_anon_versioning
=no
17597 case `$LD -v 2>/dev/null` in
17598 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17599 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17600 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17601 *\
2.11.
*) ;; # other 2.11 versions
17602 *) supports_anon_versioning
=yes ;;
17605 # See if GNU ld supports shared libraries.
17608 # On AIX/PPC, the GNU linker is very broken
17609 if test "$host_cpu" != ia64
; then
17613 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17614 *** to be unable to reliably create shared libraries on AIX.
17615 *** Therefore, libtool is disabling shared libraries support. If you
17616 *** really care for shared libraries, you may want to modify your PATH
17617 *** so that a non-GNU linker is found, and then restart.
17624 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)'
17625 hardcode_libdir_flag_spec_F77
='-L$libdir'
17626 hardcode_minus_L_F77
=yes
17628 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17629 # that the semantics of dynamic libraries on AmigaOS, at least up
17630 # to version 4, is to share data among multiple programs linked
17631 # with the same dynamic library. Since this doesn't match the
17632 # behavior of shared libraries on other platforms, we can't use
17638 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17639 allow_undefined_flag_F77
=unsupported
17640 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17641 # support --undefined. This deserves some investigation. FIXME
17642 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17648 cygwin
* | mingw
* | pw32
*)
17649 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17650 # as there is no search path for DLLs.
17651 hardcode_libdir_flag_spec_F77
='-L$libdir'
17652 allow_undefined_flag_F77
=unsupported
17653 always_export_symbols_F77
=no
17654 enable_shared_with_static_runtimes_F77
=yes
17655 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17657 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17658 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17659 # If the export-symbols file already is a .def file (1st line
17660 # is EXPORTS), use it as is; otherwise, prepend...
17661 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17662 cp $export_symbols $output_objdir/$soname.def;
17664 echo EXPORTS > $output_objdir/$soname.def;
17665 cat $export_symbols >> $output_objdir/$soname.def;
17667 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17674 hardcode_direct_F77
=no
17675 hardcode_shlibpath_var_F77
=no
17676 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17677 export_dynamic_flag_spec_F77
='${wl}-E'
17678 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17679 # Instead, shared libraries are loaded at an image base (0x10000000 by
17680 # default) and relocated if they conflict, which is a slow very memory
17681 # consuming and fragmenting process. To avoid this, we pick a random,
17682 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17683 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17684 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'
17685 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'
17688 gnu
* | linux
* | k
*bsd
*-gnu)
17689 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17691 case $cc_basename,$host_cpu in
17692 pgcc
*) # Portland Group C compiler
17693 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'
17694 tmp_addflag
=' $pic_flag'
17696 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17697 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'
17698 tmp_addflag
=' $pic_flag -Mnomain' ;;
17699 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17700 tmp_addflag
=' -i_dynamic' ;;
17701 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17702 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17703 ifc
* | ifort
*) # Intel Fortran compiler
17704 tmp_addflag
=' -nofor_main' ;;
17706 case `$CC -V 2>&1 | sed 5q` in
17707 *Sun\ C
*) # Sun C 5.9
17708 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'
17709 tmp_sharedflag
='-G' ;;
17710 *Sun\ F
*) # Sun Fortran 8.3
17711 tmp_sharedflag
='-G' ;;
17713 tmp_sharedflag
='-shared' ;;
17715 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17717 if test $supports_anon_versioning = yes; then
17718 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
17719 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17720 $echo "local: *; };" >> $output_objdir/$libname.ver~
17721 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17723 link_all_deplibs_F77
=no
17729 netbsd
* | netbsdelf
*-gnu)
17730 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17731 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17734 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17735 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17740 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17744 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17745 *** create shared libraries on Solaris systems. Therefore, libtool
17746 *** is disabling shared libraries support. We urge you to upgrade GNU
17747 *** binutils to release 2.9.1 or newer. Another option is to modify
17748 *** your PATH or compiler configuration so that the native linker is
17749 *** used, and then restart.
17752 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17753 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17754 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17760 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17761 case `$LD -v 2>&1` in
17762 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17766 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17767 *** reliably create shared libraries on SCO systems. Therefore, libtool
17768 *** is disabling shared libraries support. We urge you to upgrade GNU
17769 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17770 *** your PATH or compiler configuration so that the native linker is
17771 *** used, and then restart.
17776 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17777 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17778 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17779 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17788 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17790 hardcode_direct_F77
=yes
17791 hardcode_shlibpath_var_F77
=no
17795 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17796 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17797 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17804 if test "$ld_shlibs_F77" = no
; then
17806 hardcode_libdir_flag_spec_F77
=
17807 export_dynamic_flag_spec_F77
=
17808 whole_archive_flag_spec_F77
=
17811 # PORTME fill in a description of your system's linker (not GNU ld)
17814 allow_undefined_flag_F77
=unsupported
17815 always_export_symbols_F77
=yes
17816 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'
17817 # Note: this linker hardcodes the directories in LIBPATH if there
17818 # are no directories specified by -L.
17819 hardcode_minus_L_F77
=yes
17820 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17821 # Neither direct hardcoding nor static linking is supported with a
17823 hardcode_direct_F77
=unsupported
17828 if test "$host_cpu" = ia64
; then
17829 # On IA64, the linker does run time linking by default, so we don't
17830 # have to do anything special.
17831 aix_use_runtimelinking
=no
17832 exp_sym_flag
='-Bexport'
17835 # If we're using GNU nm, then we don't want the "-C" option.
17836 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17837 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17838 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'
17840 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'
17842 aix_use_runtimelinking
=no
17844 # Test if we are trying to use run time linking or normal
17845 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17846 # need to do runtime linking.
17847 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17848 for ld_flag
in $LDFLAGS; do
17849 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17850 aix_use_runtimelinking
=yes
17857 exp_sym_flag
='-bexport'
17858 no_entry_flag
='-bnoentry'
17861 # When large executables or shared objects are built, AIX ld can
17862 # have problems creating the table of contents. If linking a library
17863 # or program results in "error TOC overflow" add -mminimal-toc to
17864 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17865 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17867 archive_cmds_F77
=''
17868 hardcode_direct_F77
=yes
17869 hardcode_libdir_separator_F77
=':'
17870 link_all_deplibs_F77
=yes
17872 if test "$GCC" = yes; then
17873 case $host_os in aix4.
[012]|aix4.
[012].
*)
17874 # We only want to do this on AIX 4.2 and lower, the check
17875 # below for broken collect2 doesn't work under 4.3+
17876 collect2name
=`${CC} -print-prog-name=collect2`
17877 if test -f "$collect2name" && \
17878 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17880 # We have reworked collect2
17883 # We have old collect2
17884 hardcode_direct_F77
=unsupported
17885 # It fails to find uninstalled libraries when the uninstalled
17886 # path is not listed in the libpath. Setting hardcode_minus_L
17887 # to unsupported forces relinking
17888 hardcode_minus_L_F77
=yes
17889 hardcode_libdir_flag_spec_F77
='-L$libdir'
17890 hardcode_libdir_separator_F77
=
17894 shared_flag
='-shared'
17895 if test "$aix_use_runtimelinking" = yes; then
17896 shared_flag
="$shared_flag "'${wl}-G'
17900 if test "$host_cpu" = ia64
; then
17901 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17902 # chokes on -Wl,-G. The following line is correct:
17905 if test "$aix_use_runtimelinking" = yes; then
17906 shared_flag
='${wl}-G'
17908 shared_flag
='${wl}-bM:SRE'
17913 # It seems that -bexpall does not export symbols beginning with
17914 # underscore (_), so it is better to generate a list of symbols to export.
17915 always_export_symbols_F77
=yes
17916 if test "$aix_use_runtimelinking" = yes; then
17917 # Warning - without using the other runtime loading flags (-brtl),
17918 # -berok will link without error, but may produce a broken library.
17919 allow_undefined_flag_F77
='-berok'
17920 # Determine the default libpath from the value encoded in an empty executable.
17921 cat >conftest.
$ac_ext <<_ACEOF
17926 rm -f conftest.
$ac_objext conftest
$ac_exeext
17927 if { (ac_try
="$ac_link"
17928 case "(($ac_try" in
17929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17930 *) ac_try_echo=$ac_try;;
17932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17933 (eval "$ac_link") 2>conftest.er1
17935 grep -v '^ *+' conftest.er1 >conftest.err
17937 cat conftest.err >&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); } && {
17940 test -z "$ac_f77_werror_flag" ||
17941 test ! -s conftest.err
17942 } && test -s conftest$ac_exeext &&
17943 $as_test_x conftest$ac_exeext; then
17945 lt_aix_libpath_sed='
17946 /Import File Strings/,/^$/ {
17952 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17953 # Check for a 64-bit object if we didn't find anything.
17954 if test -z "$aix_libpath"; then
17955 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17965 conftest$ac_exeext conftest.$ac_ext
17966 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17968 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17969 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"
17971 if test "$host_cpu" = ia64; then
17972 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17973 allow_undefined_flag_F77="-z nodefs"
17974 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"
17976 # Determine the default libpath from the value encoded in an empty executable.
17977 cat >conftest.$ac_ext <<_ACEOF
17982 rm -f conftest.$ac_objext conftest$ac_exeext
17983 if { (ac_try="$ac_link"
17984 case "(($ac_try" in
17985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17986 *) ac_try_echo
=$ac_try;;
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_link") 2>conftest.er1
17991 grep -v '^ *+' conftest.er1
>conftest.err
17993 cat conftest.err
>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_f77_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest
$ac_exeext &&
17999 $as_test_x conftest
$ac_exeext; then
18001 lt_aix_libpath_sed
='
18002 /Import File Strings/,/^$/ {
18008 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18009 # Check for a 64-bit object if we didn't find anything.
18010 if test -z "$aix_libpath"; then
18011 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18021 conftest
$ac_exeext conftest.
$ac_ext
18022 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18024 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
18025 # Warning - without using the other run time loading flags,
18026 # -berok will link without error, but may produce a broken library.
18027 no_undefined_flag_F77
=' ${wl}-bernotok'
18028 allow_undefined_flag_F77
=' ${wl}-berok'
18029 # Exported symbols can be pulled into shared objects from archives
18030 whole_archive_flag_spec_F77
='$convenience'
18031 archive_cmds_need_lc_F77
=yes
18032 # This is similar to how AIX traditionally builds its shared libraries.
18033 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'
18039 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)'
18040 hardcode_libdir_flag_spec_F77
='-L$libdir'
18041 hardcode_minus_L_F77
=yes
18042 # see comment about different semantics on the GNU ld section
18047 export_dynamic_flag_spec_F77
=-rdynamic
18050 cygwin
* | mingw
* | pw32
*)
18051 # When not using gcc, we currently assume that we are using
18052 # Microsoft Visual C++.
18053 # hardcode_libdir_flag_spec is actually meaningless, as there is
18054 # no search path for DLLs.
18055 hardcode_libdir_flag_spec_F77
=' '
18056 allow_undefined_flag_F77
=unsupported
18057 # Tell ltmain to make .lib files, not .a files.
18059 # Tell ltmain to make .dll files, not .so files.
18061 # FIXME: Setting linknames here is a bad hack.
18062 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18063 # The linker will automatically build a .lib file if we build a DLL.
18064 old_archive_From_new_cmds_F77
='true'
18065 # FIXME: Should let the user specify the lib program.
18066 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18067 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
18068 enable_shared_with_static_runtimes_F77
=yes
18071 darwin
* | rhapsody
*)
18073 rhapsody
* | darwin1.
[012])
18074 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
18077 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18078 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18080 case ${MACOSX_DEPLOYMENT_TARGET} in
18082 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18085 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
18091 archive_cmds_need_lc_F77
=no
18092 hardcode_direct_F77
=no
18093 hardcode_automatic_F77
=yes
18094 hardcode_shlibpath_var_F77
=unsupported
18095 whole_archive_flag_spec_F77
=''
18096 link_all_deplibs_F77
=yes
18097 if test "$GCC" = yes ; then
18098 output_verbose_link_cmd
='echo'
18099 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}"
18100 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18101 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}"
18102 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}"
18104 case $cc_basename in
18106 output_verbose_link_cmd
='echo'
18107 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18108 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18109 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18110 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}'
18111 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}'
18121 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18122 hardcode_libdir_flag_spec_F77
='-L$libdir'
18123 hardcode_shlibpath_var_F77
=no
18130 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18131 # support. Future versions do this automatically, but an explicit c++rt0.o
18132 # does not break anything, and helps significantly (at the cost of a little
18135 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18136 hardcode_libdir_flag_spec_F77
='-R$libdir'
18137 hardcode_direct_F77
=yes
18138 hardcode_shlibpath_var_F77
=no
18141 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18143 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18144 hardcode_direct_F77
=yes
18145 hardcode_minus_L_F77
=yes
18146 hardcode_shlibpath_var_F77
=no
18149 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18150 freebsd
* | dragonfly
*)
18151 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18152 hardcode_libdir_flag_spec_F77
='-R$libdir'
18153 hardcode_direct_F77
=yes
18154 hardcode_shlibpath_var_F77
=no
18158 if test "$GCC" = yes; then
18159 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'
18161 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'
18163 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18164 hardcode_libdir_separator_F77
=:
18165 hardcode_direct_F77
=yes
18167 # hardcode_minus_L: Not really in the search PATH,
18168 # but as the default location of the library.
18169 hardcode_minus_L_F77
=yes
18170 export_dynamic_flag_spec_F77
='${wl}-E'
18174 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18175 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18177 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18179 if test "$with_gnu_ld" = no
; then
18180 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18181 hardcode_libdir_separator_F77
=:
18183 hardcode_direct_F77
=yes
18184 export_dynamic_flag_spec_F77
='${wl}-E'
18186 # hardcode_minus_L: Not really in the search PATH,
18187 # but as the default location of the library.
18188 hardcode_minus_L_F77
=yes
18193 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18196 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18199 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18202 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18208 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18211 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18214 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18218 if test "$with_gnu_ld" = no
; then
18219 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
18220 hardcode_libdir_separator_F77
=:
18224 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
18225 hardcode_direct_F77
=no
18226 hardcode_shlibpath_var_F77
=no
18229 hardcode_direct_F77
=yes
18230 export_dynamic_flag_spec_F77
='${wl}-E'
18232 # hardcode_minus_L: Not really in the search PATH,
18233 # but as the default location of the library.
18234 hardcode_minus_L_F77
=yes
18240 irix5
* | irix6
* | nonstopux
*)
18241 if test "$GCC" = yes; then
18242 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'
18244 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'
18245 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
18247 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18248 hardcode_libdir_separator_F77
=:
18249 link_all_deplibs_F77
=yes
18252 netbsd
* | netbsdelf
*-gnu)
18253 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18254 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18256 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18258 hardcode_libdir_flag_spec_F77
='-R$libdir'
18259 hardcode_direct_F77
=yes
18260 hardcode_shlibpath_var_F77
=no
18264 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18265 hardcode_direct_F77
=yes
18266 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18267 hardcode_libdir_separator_F77
=:
18268 hardcode_shlibpath_var_F77
=no
18272 if test -f /usr
/libexec
/ld.so
; then
18273 hardcode_direct_F77
=yes
18274 hardcode_shlibpath_var_F77
=no
18275 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18276 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18277 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18278 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
18279 export_dynamic_flag_spec_F77
='${wl}-E'
18282 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18283 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18284 hardcode_libdir_flag_spec_F77
='-R$libdir'
18287 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18288 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
18298 hardcode_libdir_flag_spec_F77
='-L$libdir'
18299 hardcode_minus_L_F77
=yes
18300 allow_undefined_flag_F77
=unsupported
18301 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'
18302 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18306 if test "$GCC" = yes; then
18307 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
18308 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'
18310 allow_undefined_flag_F77
=' -expect_unresolved \*'
18311 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'
18313 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18314 hardcode_libdir_separator_F77
=:
18317 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18318 if test "$GCC" = yes; then
18319 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
18320 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'
18321 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
18323 allow_undefined_flag_F77
=' -expect_unresolved \*'
18324 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'
18325 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~
18326 $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'
18328 # Both c and cxx compiler support -rpath directly
18329 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
18331 hardcode_libdir_separator_F77
=:
18335 no_undefined_flag_F77
=' -z text'
18336 if test "$GCC" = yes; then
18338 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18339 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18340 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18343 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18344 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18345 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18347 hardcode_libdir_flag_spec_F77
='-R$libdir'
18348 hardcode_shlibpath_var_F77
=no
18350 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18352 # The compiler driver will combine and reorder linker options,
18353 # but understands `-z linker_flag'. GCC discards it without `$wl',
18354 # but is careful enough not to reorder.
18355 # Supported since Solaris 2.6 (maybe 2.5.1?)
18356 if test "$GCC" = yes; then
18357 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18359 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
18363 link_all_deplibs_F77
=yes
18367 if test "x$host_vendor" = xsequent
; then
18368 # Use $CC to link under sequent, because it throws in some extra .o
18369 # files that make .init and .fini sections work.
18370 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18372 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18374 hardcode_libdir_flag_spec_F77
='-L$libdir'
18375 hardcode_direct_F77
=yes
18376 hardcode_minus_L_F77
=yes
18377 hardcode_shlibpath_var_F77
=no
18381 case $host_vendor in
18383 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18384 hardcode_direct_F77
=yes # is this really true???
18387 ## LD is ld it makes a PLAMLIB
18388 ## CC just makes a GrossModule.
18389 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18390 reload_cmds_F77
='$CC -r -o $output$reload_objs'
18391 hardcode_direct_F77
=no
18394 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18395 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
18398 runpath_var
='LD_RUN_PATH'
18399 hardcode_shlibpath_var_F77
=no
18403 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18404 hardcode_shlibpath_var_F77
=no
18405 export_dynamic_flag_spec_F77
='-Bexport'
18409 if test -d /usr
/nec
; then
18410 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18411 hardcode_shlibpath_var_F77
=no
18412 runpath_var
=LD_RUN_PATH
18413 hardcode_runpath_var
=yes
18418 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18419 no_undefined_flag_F77
='${wl}-z,text'
18420 archive_cmds_need_lc_F77
=no
18421 hardcode_shlibpath_var_F77
=no
18422 runpath_var
='LD_RUN_PATH'
18424 if test "$GCC" = yes; then
18425 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18426 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18428 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18429 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18433 sysv5
* | sco3.2v5
* | sco5v6
*)
18434 # Note: We can NOT use -z defs as we might desire, because we do not
18435 # link with -lc, and that would cause any symbols used from libc to
18436 # always be unresolved, which means just about no library would
18437 # ever link correctly. If we're not using GNU ld we use -z text
18438 # though, which does catch some bad symbols but isn't as heavy-handed
18440 no_undefined_flag_F77
='${wl}-z,text'
18441 allow_undefined_flag_F77
='${wl}-z,nodefs'
18442 archive_cmds_need_lc_F77
=no
18443 hardcode_shlibpath_var_F77
=no
18444 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18445 hardcode_libdir_separator_F77
=':'
18446 link_all_deplibs_F77
=yes
18447 export_dynamic_flag_spec_F77
='${wl}-Bexport'
18448 runpath_var
='LD_RUN_PATH'
18450 if test "$GCC" = yes; then
18451 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18452 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18454 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18455 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18460 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18461 hardcode_libdir_flag_spec_F77
='-L$libdir'
18462 hardcode_shlibpath_var_F77
=no
18471 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18472 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
18473 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
18476 # Do we need to explicitly link libc?
18478 case "x$archive_cmds_need_lc_F77" in
18480 # Assume -lc should be added
18481 archive_cmds_need_lc_F77
=yes
18483 if test "$enable_shared" = yes && test "$GCC" = yes; then
18484 case $archive_cmds_F77 in
18486 # FIXME: we may have to deal with multi-command sequences.
18489 # Test whether the compiler implicitly links with -lc since on some
18490 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18491 # to ld, don't add -lc before -lgcc.
18492 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18493 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18498 (eval $ac_compile) 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } 2>conftest.err
; then
18504 libobjs
=conftest.
$ac_objext
18506 wl
=$lt_prog_compiler_wl_F77
18507 pic_flag
=$lt_prog_compiler_pic_F77
18513 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
18514 allow_undefined_flag_F77
=
18515 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18516 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }
18521 archive_cmds_need_lc_F77
=no
18523 archive_cmds_need_lc_F77
=yes
18525 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
18527 cat conftest.err
1>&5
18530 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18531 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18538 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18539 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18540 library_names_spec
=
18541 libname_spec
='lib$name'
18545 postuninstall_cmds
=
18549 shlibpath_overrides_runpath
=unknown
18551 dynamic_linker
="$host_os ld.so"
18552 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18554 need_lib_prefix
=unknown
18555 hardcode_into_libs
=no
18557 # when you set need_version to no, make sure it does not cause -set_version
18558 # flags to be left without arguments
18559 need_version
=unknown
18564 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18565 shlibpath_var
=LIBPATH
18567 # AIX 3 has no versioning support, so we append a major version to the name.
18568 soname_spec
='${libname}${release}${shared_ext}$major'
18575 hardcode_into_libs
=yes
18576 if test "$host_cpu" = ia64
; then
18577 # AIX 5 supports IA64
18578 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18579 shlibpath_var
=LD_LIBRARY_PATH
18581 # With GCC up to 2.95.x, collect2 would create an import file
18582 # for dependence libraries. The import file would start with
18583 # the line `#! .'. This would cause the generated library to
18584 # depend on `.', always an invalid library. This was fixed in
18585 # development snapshots of GCC prior to 3.0.
18587 aix4 | aix4.
[01] | aix4.
[01].
*)
18588 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18590 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18593 can_build_shared
=no
18597 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18598 # soname into executable. Probably we can add versioning support to
18599 # collect2, so additional links can be useful in future.
18600 if test "$aix_use_runtimelinking" = yes; then
18601 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18602 # instead of lib<name>.a to let people know that these are not
18603 # typical AIX shared libraries.
18604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18606 # We preserve .a as extension for shared libraries through AIX4.2
18607 # and later when we are not doing run time linking.
18608 library_names_spec
='${libname}${release}.a $libname.a'
18609 soname_spec
='${libname}${release}${shared_ext}$major'
18611 shlibpath_var
=LIBPATH
18616 library_names_spec
='$libname.ixlibrary $libname.a'
18617 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18618 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'
18622 library_names_spec
='${libname}${shared_ext}'
18623 dynamic_linker
="$host_os ld.so"
18624 shlibpath_var
=LIBRARY_PATH
18630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18631 soname_spec
='${libname}${release}${shared_ext}$major'
18632 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18633 shlibpath_var
=LD_LIBRARY_PATH
18634 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18635 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18636 # the default ld.so.conf also contains /usr/contrib/lib and
18637 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18638 # libtool to hard-code these into programs
18641 cygwin
* | mingw
* | pw32
*)
18642 version_type
=windows
18647 case $GCC,$host_os in
18648 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18649 library_names_spec
='$libname.dll.a'
18650 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18651 postinstall_cmds
='base_file=`basename \${file}`~
18652 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18653 dldir=$destdir/`dirname \$dlpath`~
18654 test -d \$dldir || mkdir -p \$dldir~
18655 $install_prog $dir/$dlname \$dldir/$dlname~
18656 chmod a+x \$dldir/$dlname'
18657 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18658 dlpath=$dir/\$dldll~
18660 shlibpath_overrides_runpath
=yes
18664 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18665 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18666 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18669 # MinGW DLLs use traditional 'lib' prefix
18670 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18671 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18672 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18673 # It is most probably a Windows format PATH printed by
18674 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18675 # path with ; separators, and with drive letters. We can handle the
18676 # drive letters (cygwin fileutils understands them), so leave them,
18677 # especially as we might pass files found there to a mingw objdump,
18678 # which wouldn't understand a cygwinified path. Ahh.
18679 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18681 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18685 # pw32 DLLs use 'pw' prefix rather than 'lib'
18686 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18692 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18695 dynamic_linker
='Win32 ld.exe'
18696 # FIXME: first we should search . and the directory the executable is in
18700 darwin
* | rhapsody
*)
18701 dynamic_linker
="$host_os dyld"
18702 version_type
=darwin
18705 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18706 soname_spec
='${libname}${release}${major}$shared_ext'
18707 shlibpath_overrides_runpath
=yes
18708 shlibpath_var
=DYLD_LIBRARY_PATH
18709 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18711 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18719 soname_spec
='${libname}${release}${shared_ext}$major'
18720 shlibpath_var
=LD_LIBRARY_PATH
18727 freebsd
* | dragonfly
*)
18728 # DragonFly does not have aout. When/if they implement a new
18729 # versioning mechanism, adjust this.
18730 if test -x /usr
/bin
/objformat
; then
18731 objformat
=`/usr/bin/objformat`
18734 freebsd
[123]*) objformat
=aout
;;
18735 *) objformat
=elf
;;
18738 version_type
=freebsd-
$objformat
18739 case $version_type in
18741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18746 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18750 shlibpath_var
=LD_LIBRARY_PATH
18753 shlibpath_overrides_runpath
=yes
18755 freebsd3.
[01]* | freebsdelf3.
[01]*)
18756 shlibpath_overrides_runpath
=yes
18757 hardcode_into_libs
=yes
18759 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18760 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18761 shlibpath_overrides_runpath
=no
18762 hardcode_into_libs
=yes
18764 *) # from 4.6 on, and DragonFly
18765 shlibpath_overrides_runpath
=yes
18766 hardcode_into_libs
=yes
18775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18776 soname_spec
='${libname}${release}${shared_ext}$major'
18777 shlibpath_var
=LD_LIBRARY_PATH
18778 hardcode_into_libs
=yes
18781 hpux9
* | hpux10
* | hpux11
*)
18782 # Give a soname corresponding to the major version so that dld.sl refuses to
18783 # link against other versions.
18790 hardcode_into_libs
=yes
18791 dynamic_linker
="$host_os dld.so"
18792 shlibpath_var
=LD_LIBRARY_PATH
18793 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18795 soname_spec
='${libname}${release}${shared_ext}$major'
18796 if test "X$HPUX_IA64_MODE" = X32
; then
18797 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18799 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18801 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18805 hardcode_into_libs
=yes
18806 dynamic_linker
="$host_os dld.sl"
18807 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18808 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810 soname_spec
='${libname}${release}${shared_ext}$major'
18811 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18812 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18816 dynamic_linker
="$host_os dld.sl"
18817 shlibpath_var
=SHLIB_PATH
18818 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18820 soname_spec
='${libname}${release}${shared_ext}$major'
18823 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18824 postinstall_cmds
='chmod 555 $lib'
18831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18832 soname_spec
='${libname}${release}${shared_ext}$major'
18833 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18834 shlibpath_var
=LD_LIBRARY_PATH
18835 shlibpath_overrides_runpath
=no
18836 hardcode_into_libs
=yes
18839 irix5
* | irix6
* | nonstopux
*)
18841 nonstopux
*) version_type
=nonstopux
;;
18843 if test "$lt_cv_prog_gnu_ld" = yes; then
18851 soname_spec
='${libname}${release}${shared_ext}$major'
18852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18854 irix5
* | nonstopux
*)
18855 libsuff
= shlibsuff
=
18858 case $LD in # libtool.m4 will add one of these switches to LD
18859 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18860 libsuff
= shlibsuff
= libmagic
=32-bit;;
18861 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18862 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18863 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18864 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18865 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18869 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18870 shlibpath_overrides_runpath
=no
18871 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18872 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18873 hardcode_into_libs
=yes
18876 # No shared lib support for Linux oldld, aout, or coff.
18877 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18881 # This must be Linux ELF.
18882 linux
* | k
*bsd
*-gnu)
18886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18887 soname_spec
='${libname}${release}${shared_ext}$major'
18888 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18889 shlibpath_var
=LD_LIBRARY_PATH
18890 shlibpath_overrides_runpath
=no
18891 # This implies no fast_install, which is unacceptable.
18892 # Some rework will be needed to allow for fast_install
18893 # before this can be enabled.
18894 hardcode_into_libs
=yes
18896 # Append ld.so.conf contents to the search path
18897 if test -f /etc
/ld.so.conf
; then
18898 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' ' '`
18899 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18902 # We used to test for /lib/ld.so.1 and disable shared libraries on
18903 # powerpc, because MkLinux only supported shared libraries with the
18904 # GNU dynamic linker. Since this was broken with cross compilers,
18905 # most powerpc-linux boxes support dynamic linking these days and
18906 # people can always --disable-shared, the test was removed, and we
18907 # assume the GNU/Linux dynamic linker is in use.
18908 dynamic_linker
='GNU/Linux ld.so'
18915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18916 soname_spec
='${libname}${release}${shared_ext}$major'
18917 shlibpath_var
=LD_LIBRARY_PATH
18918 shlibpath_overrides_runpath
=no
18919 hardcode_into_libs
=yes
18920 dynamic_linker
='NetBSD ld.elf_so'
18927 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18929 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18930 dynamic_linker
='NetBSD (a.out) ld.so'
18932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18933 soname_spec
='${libname}${release}${shared_ext}$major'
18934 dynamic_linker
='NetBSD ld.elf_so'
18936 shlibpath_var
=LD_LIBRARY_PATH
18937 shlibpath_overrides_runpath
=yes
18938 hardcode_into_libs
=yes
18943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18944 shlibpath_var
=LD_LIBRARY_PATH
18945 shlibpath_overrides_runpath
=yes
18952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18953 soname_spec
='${libname}${release}${shared_ext}$major'
18954 shlibpath_var
=LD_LIBRARY_PATH
18955 shlibpath_overrides_runpath
=yes
18960 sys_lib_dlsearch_path_spec
="/usr/lib"
18962 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18964 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18965 *) need_version
=no
;;
18967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18968 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18969 shlibpath_var
=LD_LIBRARY_PATH
18970 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18972 openbsd2.
[89] | openbsd2.
[89].
*)
18973 shlibpath_overrides_runpath
=no
18976 shlibpath_overrides_runpath
=yes
18980 shlibpath_overrides_runpath
=yes
18985 libname_spec
='$name'
18988 library_names_spec
='$libname${shared_ext} $libname.a'
18989 dynamic_linker
='OS/2 ld.exe'
18990 shlibpath_var
=LIBPATH
18993 osf3
* | osf4
* | osf5
*)
18997 soname_spec
='${libname}${release}${shared_ext}$major'
18998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18999 shlibpath_var
=LD_LIBRARY_PATH
19000 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19001 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19013 soname_spec
='${libname}${release}${shared_ext}$major'
19014 shlibpath_var
=LD_LIBRARY_PATH
19015 shlibpath_overrides_runpath
=yes
19016 hardcode_into_libs
=yes
19017 # ldd complains unless libraries are executable
19018 postinstall_cmds
='chmod +x $lib'
19023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19024 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19025 shlibpath_var
=LD_LIBRARY_PATH
19026 shlibpath_overrides_runpath
=yes
19027 if test "$with_gnu_ld" = yes; then
19035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19036 soname_spec
='${libname}${release}${shared_ext}$major'
19037 shlibpath_var
=LD_LIBRARY_PATH
19038 case $host_vendor in
19040 shlibpath_overrides_runpath
=no
19042 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19043 runpath_var
=LD_RUN_PATH
19051 shlibpath_overrides_runpath
=no
19052 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19058 if test -d /usr
/nec
;then
19060 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19061 soname_spec
='$libname${shared_ext}.$major'
19062 shlibpath_var
=LD_LIBRARY_PATH
19066 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19067 version_type
=freebsd-elf
19070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19071 soname_spec
='${libname}${release}${shared_ext}$major'
19072 shlibpath_var
=LD_LIBRARY_PATH
19073 hardcode_into_libs
=yes
19074 if test "$with_gnu_ld" = yes; then
19075 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19076 shlibpath_overrides_runpath
=no
19078 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19079 shlibpath_overrides_runpath
=yes
19082 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19086 sys_lib_dlsearch_path_spec
='/usr/lib'
19091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19092 soname_spec
='${libname}${release}${shared_ext}$major'
19093 shlibpath_var
=LD_LIBRARY_PATH
19100 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19101 echo "${ECHO_T}$dynamic_linker" >&6; }
19102 test "$dynamic_linker" = no
&& can_build_shared
=no
19104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19105 echo $ECHO_N "(cached) $ECHO_C" >&6
19107 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19110 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19111 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19117 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19119 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19120 if test "$GCC" = yes; then
19121 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19124 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19125 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19126 hardcode_action_F77
=
19127 if test -n "$hardcode_libdir_flag_spec_F77" || \
19128 test -n "$runpath_var_F77" || \
19129 test "X$hardcode_automatic_F77" = "Xyes" ; then
19131 # We can hardcode non-existant directories.
19132 if test "$hardcode_direct_F77" != no
&&
19133 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19134 # have to relink, otherwise we might link with an installed library
19135 # when we should be linking with a yet-to-be-installed one
19136 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
19137 test "$hardcode_minus_L_F77" != no
; then
19138 # Linking always hardcodes the temporary library directory.
19139 hardcode_action_F77
=relink
19141 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19142 hardcode_action_F77
=immediate
19145 # We cannot hardcode anything, or else we can only hardcode existing
19147 hardcode_action_F77
=unsupported
19149 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
19150 echo "${ECHO_T}$hardcode_action_F77" >&6; }
19152 if test "$hardcode_action_F77" = relink
; then
19153 # Fast installation is not supported
19154 enable_fast_install
=no
19155 elif test "$shlibpath_overrides_runpath" = yes ||
19156 test "$enable_shared" = no
; then
19157 # Fast installation is not necessary
19158 enable_fast_install
=needless
19162 # The else clause should only fire when bootstrapping the
19163 # libtool distribution, otherwise you forgot to ship ltmain.sh
19164 # with your package, and you will get complaints that there are
19165 # no rules to generate ltmain.sh.
19166 if test -f "$ltmain"; then
19167 # See if we are running on zsh, and set the options which allow our commands through
19168 # without removal of \ escapes.
19169 if test -n "${ZSH_VERSION+set}" ; then
19170 setopt NO_GLOB_SUBST
19172 # Now quote all the things that may contain metacharacters while being
19173 # careful not to overquote the AC_SUBSTed values. We take copies of the
19174 # variables and quote the copies for generation of the libtool script.
19175 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19177 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19178 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19179 deplibs_check_method reload_flag reload_cmds need_locks \
19180 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19181 lt_cv_sys_global_symbol_to_c_name_address \
19182 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19183 old_postinstall_cmds old_postuninstall_cmds \
19187 lt_prog_compiler_wl_F77 \
19188 lt_prog_compiler_pic_F77 \
19189 lt_prog_compiler_static_F77 \
19190 lt_prog_compiler_no_builtin_flag_F77 \
19191 export_dynamic_flag_spec_F77 \
19192 thread_safe_flag_spec_F77 \
19193 whole_archive_flag_spec_F77 \
19194 enable_shared_with_static_runtimes_F77 \
19195 old_archive_cmds_F77 \
19196 old_archive_from_new_cmds_F77 \
19197 predep_objects_F77 \
19198 postdep_objects_F77 \
19201 compiler_lib_search_path_F77 \
19202 compiler_lib_search_dirs_F77 \
19204 archive_expsym_cmds_F77 \
19205 postinstall_cmds_F77 \
19206 postuninstall_cmds_F77 \
19207 old_archive_from_expsyms_cmds_F77 \
19208 allow_undefined_flag_F77 \
19209 no_undefined_flag_F77 \
19210 export_symbols_cmds_F77 \
19211 hardcode_libdir_flag_spec_F77 \
19212 hardcode_libdir_flag_spec_ld_F77 \
19213 hardcode_libdir_separator_F77 \
19214 hardcode_automatic_F77 \
19216 module_expsym_cmds_F77 \
19217 lt_cv_prog_compiler_c_o_F77 \
19218 fix_srcfile_path_F77 \
19219 exclude_expsyms_F77 \
19220 include_expsyms_F77
; do
19223 old_archive_cmds_F77 | \
19224 old_archive_from_new_cmds_F77 | \
19225 archive_cmds_F77 | \
19226 archive_expsym_cmds_F77 | \
19227 module_cmds_F77 | \
19228 module_expsym_cmds_F77 | \
19229 old_archive_from_expsyms_cmds_F77 | \
19230 export_symbols_cmds_F77 | \
19231 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19232 postinstall_cmds | postuninstall_cmds | \
19233 old_postinstall_cmds | old_postuninstall_cmds | \
19234 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19235 # Double-quote double-evaled strings.
19236 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19239 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19245 *'\$0 --fallback-echo"')
19246 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19252 cat <<__EOF__ >> "$cfgfile"
19253 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19255 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19257 # Shell to use when invoking shell scripts.
19260 # Whether or not to build shared libraries.
19261 build_libtool_libs=$enable_shared
19263 # Whether or not to build static libraries.
19264 build_old_libs=$enable_static
19266 # Whether or not to add -lc for building shared libraries.
19267 build_libtool_need_lc=$archive_cmds_need_lc_F77
19269 # Whether or not to disallow shared libs when runtime libs are static
19270 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
19272 # Whether or not to optimize for fast installation.
19273 fast_install=$enable_fast_install
19276 host_alias=$host_alias
19280 # The build system.
19281 build_alias=$build_alias
19285 # An echo program that does not interpret backslashes.
19290 AR_FLAGS=$lt_AR_FLAGS
19295 # LTCC compiler flags.
19296 LTCFLAGS=$lt_LTCFLAGS
19298 # A language-specific compiler.
19299 CC=$lt_compiler_F77
19301 # Is the compiler the GNU C compiler?
19307 # The linker used to build libraries.
19310 # Whether we need hard or soft links.
19313 # A BSD-compatible nm program.
19316 # A symbol stripping program
19319 # Used to examine libraries when file_magic_cmd begins "file"
19320 MAGIC_CMD=$MAGIC_CMD
19322 # Used on cygwin: DLL creation program.
19325 # Used on cygwin: object dumper.
19328 # Used on cygwin: assembler.
19331 # The name of the directory that contains temporary libtool files.
19334 # How to create reloadable object files.
19335 reload_flag=$lt_reload_flag
19336 reload_cmds=$lt_reload_cmds
19338 # How to pass a linker flag through the compiler.
19339 wl=$lt_lt_prog_compiler_wl_F77
19341 # Object file suffix (normally "o").
19342 objext="$ac_objext"
19344 # Old archive suffix (normally "a").
19347 # Shared library suffix (normally ".so").
19348 shrext_cmds='$shrext_cmds'
19350 # Executable file suffix (normally "").
19353 # Additional compiler flags for building library objects.
19354 pic_flag=$lt_lt_prog_compiler_pic_F77
19357 # What is the maximum length of a command?
19358 max_cmd_len=$lt_cv_sys_max_cmd_len
19360 # Does compiler simultaneously support -c and -o options?
19361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
19363 # Must we lock files when doing compilation?
19364 need_locks=$lt_need_locks
19366 # Do we need the lib prefix for modules?
19367 need_lib_prefix=$need_lib_prefix
19369 # Do we need a version for libraries?
19370 need_version=$need_version
19372 # Whether dlopen is supported.
19373 dlopen_support=$enable_dlopen
19375 # Whether dlopen of programs is supported.
19376 dlopen_self=$enable_dlopen_self
19378 # Whether dlopen of statically linked programs is supported.
19379 dlopen_self_static=$enable_dlopen_self_static
19381 # Compiler flag to prevent dynamic linking.
19382 link_static_flag=$lt_lt_prog_compiler_static_F77
19384 # Compiler flag to turn off builtin functions.
19385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19387 # Compiler flag to allow reflexive dlopens.
19388 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19390 # Compiler flag to generate shared objects directly from archives.
19391 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19393 # Compiler flag to generate thread-safe objects.
19394 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
19396 # Library versioning type.
19397 version_type=$version_type
19399 # Format of library name prefix.
19400 libname_spec=$lt_libname_spec
19402 # List of archive names. First name is the real one, the rest are links.
19403 # The last name is the one that the linker finds with -lNAME.
19404 library_names_spec=$lt_library_names_spec
19406 # The coded name of the library, if different from the real name.
19407 soname_spec=$lt_soname_spec
19409 # Commands used to build and install an old-style archive.
19411 old_archive_cmds=$lt_old_archive_cmds_F77
19412 old_postinstall_cmds=$lt_old_postinstall_cmds
19413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19415 # Create an old-style archive from a shared archive.
19416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19418 # Create a temporary old-style archive to link instead of a shared archive.
19419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19421 # Commands used to build and install a shared archive.
19422 archive_cmds=$lt_archive_cmds_F77
19423 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19424 postinstall_cmds=$lt_postinstall_cmds
19425 postuninstall_cmds=$lt_postuninstall_cmds
19427 # Commands used to build a loadable module (assumed same as above if empty)
19428 module_cmds=$lt_module_cmds_F77
19429 module_expsym_cmds=$lt_module_expsym_cmds_F77
19431 # Commands to strip libraries.
19432 old_striplib=$lt_old_striplib
19433 striplib=$lt_striplib
19435 # Dependencies to place before the objects being linked to create a
19437 predep_objects=$lt_predep_objects_F77
19439 # Dependencies to place after the objects being linked to create a
19441 postdep_objects=$lt_postdep_objects_F77
19443 # Dependencies to place before the objects being linked to create a
19445 predeps=$lt_predeps_F77
19447 # Dependencies to place after the objects being linked to create a
19449 postdeps=$lt_postdeps_F77
19451 # The directories searched by this compiler when creating a shared
19453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
19455 # The library search path used internally by the compiler when linking
19456 # a shared library.
19457 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
19459 # Method to check whether dependent libraries are shared objects.
19460 deplibs_check_method=$lt_deplibs_check_method
19462 # Command to use when deplibs_check_method == file_magic.
19463 file_magic_cmd=$lt_file_magic_cmd
19465 # Flag that allows shared libraries with undefined symbols to be built.
19466 allow_undefined_flag=$lt_allow_undefined_flag_F77
19468 # Flag that forces no undefined symbols.
19469 no_undefined_flag=$lt_no_undefined_flag_F77
19471 # Commands used to finish a libtool library installation in a directory.
19472 finish_cmds=$lt_finish_cmds
19474 # Same as above, but a single script fragment to be evaled but not shown.
19475 finish_eval=$lt_finish_eval
19477 # Take the output of nm and produce a listing of raw symbols and C names.
19478 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19480 # Transform the output of nm in a proper C declaration
19481 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19483 # Transform the output of nm in a C name address pair
19484 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19486 # This is the shared library runtime path variable.
19487 runpath_var=$runpath_var
19489 # This is the shared library path variable.
19490 shlibpath_var=$shlibpath_var
19492 # Is shlibpath searched before the hard-coded library search path?
19493 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19495 # How to hardcode a shared library path into an executable.
19496 hardcode_action=$hardcode_action_F77
19498 # Whether we should hardcode library paths into libraries.
19499 hardcode_into_libs=$hardcode_into_libs
19501 # Flag to hardcode \$libdir into a binary during linking.
19502 # This must work even if \$libdir does not exist.
19503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19505 # If ld is used when linking, flag to hardcode \$libdir into
19506 # a binary during linking. This must work even if \$libdir does
19508 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
19510 # Whether we need a single -rpath flag with a separated argument.
19511 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19513 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19514 # resulting binary.
19515 hardcode_direct=$hardcode_direct_F77
19517 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19518 # resulting binary.
19519 hardcode_minus_L=$hardcode_minus_L_F77
19521 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19522 # the resulting binary.
19523 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19525 # Set to yes if building a shared library automatically hardcodes DIR into the library
19526 # and all subsequent libraries and executables linked against it.
19527 hardcode_automatic=$hardcode_automatic_F77
19529 # Variables whose values should be saved in libtool wrapper scripts and
19530 # restored at relink time.
19531 variables_saved_for_relink="$variables_saved_for_relink"
19533 # Whether libtool must link a program against all its dependency libraries.
19534 link_all_deplibs=$link_all_deplibs_F77
19536 # Compile-time system search path for libraries
19537 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19539 # Run-time system search path for libraries
19540 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19542 # Fix the shell variable \$srcfile for the compiler.
19543 fix_srcfile_path=$lt_fix_srcfile_path
19545 # Set to yes if exported symbols are required.
19546 always_export_symbols=$always_export_symbols_F77
19548 # The commands to list exported symbols.
19549 export_symbols_cmds=$lt_export_symbols_cmds_F77
19551 # The commands to extract the exported symbol list from a shared archive.
19552 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19554 # Symbols that should not be listed in the preloaded symbols.
19555 exclude_expsyms=$lt_exclude_expsyms_F77
19557 # Symbols that must always be exported.
19558 include_expsyms=$lt_include_expsyms_F77
19560 # ### END LIBTOOL TAG CONFIG: $tagname
19566 # If there is no Makefile yet, we rely on a make rule to execute
19567 # `config.status --recheck' to rerun these tests and create the
19568 # libtool script then.
19569 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19570 if test -f "$ltmain_in"; then
19571 test -f Makefile
&& make "$ltmain"
19577 ac_cpp
='$CPP $CPPFLAGS'
19578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19590 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19593 # Source file extension for Java test sources.
19596 # Object file extension for compiled Java test sources.
19600 # Code to be used in simple compile tests
19601 lt_simple_compile_test_code
="class foo {}"
19603 # Code to be used in simple link tests
19604 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
19606 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19608 # If no C compiler was specified, use CC.
19611 # If no C compiler flags were specified, use CFLAGS.
19612 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19614 # Allow CC to be a program name with arguments.
19618 # save warnings/boilerplate of simple test code
19619 ac_outfile
=conftest.
$ac_objext
19620 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19621 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19622 _lt_compiler_boilerplate
=`cat conftest.err`
19625 ac_outfile
=conftest.
$ac_objext
19626 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19627 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19628 _lt_linker_boilerplate
=`cat conftest.err`
19632 # Allow CC to be a program name with arguments.
19637 for cc_temp
in $compiler""; do
19639 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19640 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19645 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19648 # GCJ did not exist at the time GCC didn't implicitly link libc in.
19649 archive_cmds_need_lc_GCJ
=no
19651 old_archive_cmds_GCJ
=$old_archive_cmds
19654 lt_prog_compiler_no_builtin_flag_GCJ
=
19656 if test "$GCC" = yes; then
19657 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
19660 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19661 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19662 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 lt_cv_prog_compiler_rtti_exceptions
=no
19666 ac_outfile
=conftest.
$ac_objext
19667 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19668 lt_compiler_flag
="-fno-rtti -fno-exceptions"
19669 # Insert the option either (1) after the last *FLAGS variable, or
19670 # (2) before a word containing "conftest.", or (3) at the end.
19671 # Note that $ac_compile itself does not contain backslashes and begins
19672 # with a dollar sign (not a hyphen), so the echo should work correctly.
19673 # The option is referenced via a variable to avoid confusing sed.
19674 lt_compile
=`echo "$ac_compile" | $SED \
19675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19677 -e 's:$: $lt_compiler_flag:'`
19678 (eval echo "\"\$as_me:19678: $lt_compile\"" >&5)
19679 (eval "$lt_compile" 2>conftest.err
)
19681 cat conftest.err
>&5
19682 echo "$as_me:19682: \$? = $ac_status" >&5
19683 if (exit $ac_status) && test -s "$ac_outfile"; then
19684 # The compiler can only warn and ignore the option if not recognized
19685 # So say no if there are warnings other than the usual output.
19686 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19687 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19688 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19689 lt_cv_prog_compiler_rtti_exceptions
=yes
19695 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19696 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19698 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
19699 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19706 lt_prog_compiler_wl_GCJ
=
19707 lt_prog_compiler_pic_GCJ
=
19708 lt_prog_compiler_static_GCJ
=
19710 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19711 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19713 if test "$GCC" = yes; then
19714 lt_prog_compiler_wl_GCJ
='-Wl,'
19715 lt_prog_compiler_static_GCJ
='-static'
19719 # All AIX code is PIC.
19720 if test "$host_cpu" = ia64
; then
19721 # AIX 5 now supports IA64 processor
19722 lt_prog_compiler_static_GCJ
='-Bstatic'
19727 # FIXME: we need at least 68020 code to build shared libraries, but
19728 # adding the `-m68020' flag to GCC prevents building anything better,
19730 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
19733 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19734 # PIC is the default for these OSes.
19737 mingw
* | cygwin
* | pw32
* | os2
*)
19738 # This hack is so that the source file can tell whether it is being
19739 # built for inclusion in a dll (and should export symbols for example).
19740 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19741 # (--disable-auto-import) libraries
19745 darwin
* | rhapsody
*)
19746 # PIC is the default on this platform
19747 # Common symbols not allowed in MH_DYLIB files
19748 lt_prog_compiler_pic_GCJ
='-fno-common'
19752 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19753 # Instead, we relocate shared libraries at runtime.
19757 # Just because we use GCC doesn't mean we suddenly get shared libraries
19758 # on systems that don't support them.
19759 lt_prog_compiler_can_build_shared_GCJ
=no
19764 if test -d /usr
/nec
; then
19765 lt_prog_compiler_pic_GCJ
=-Kconform_pic
19770 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19771 # not for PA HP-UX.
19777 lt_prog_compiler_pic_GCJ
='-fPIC'
19783 lt_prog_compiler_pic_GCJ
='-fPIC'
19787 # PORTME Check for flag to pass linker flags through the system compiler.
19790 lt_prog_compiler_wl_GCJ
='-Wl,'
19791 if test "$host_cpu" = ia64
; then
19792 # AIX 5 now supports IA64 processor
19793 lt_prog_compiler_static_GCJ
='-Bstatic'
19795 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
19799 # PIC is the default on this platform
19800 # Common symbols not allowed in MH_DYLIB files
19801 case $cc_basename in
19803 lt_prog_compiler_pic_GCJ
='-qnocommon'
19804 lt_prog_compiler_wl_GCJ
='-Wl,'
19809 mingw
* | cygwin
* | pw32
* | os2
*)
19810 # This hack is so that the source file can tell whether it is being
19811 # built for inclusion in a dll (and should export symbols for example).
19815 hpux9
* | hpux10
* | hpux11
*)
19816 lt_prog_compiler_wl_GCJ
='-Wl,'
19817 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19818 # not for PA HP-UX.
19824 lt_prog_compiler_pic_GCJ
='+Z'
19827 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19828 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
19831 irix5
* | irix6
* | nonstopux
*)
19832 lt_prog_compiler_wl_GCJ
='-Wl,'
19833 # PIC (with -KPIC) is the default.
19834 lt_prog_compiler_static_GCJ
='-non_shared'
19838 lt_prog_compiler_pic_GCJ
='-KPIC'
19839 lt_prog_compiler_static_GCJ
='-Bstatic'
19842 linux
* | k
*bsd
*-gnu)
19843 case $cc_basename in
19845 lt_prog_compiler_wl_GCJ
='-Wl,'
19846 lt_prog_compiler_pic_GCJ
='-KPIC'
19847 lt_prog_compiler_static_GCJ
='-static'
19849 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
19850 # Portland Group compilers (*not* the Pentium gcc compiler,
19851 # which looks to be a dead project)
19852 lt_prog_compiler_wl_GCJ
='-Wl,'
19853 lt_prog_compiler_pic_GCJ
='-fpic'
19854 lt_prog_compiler_static_GCJ
='-Bstatic'
19857 lt_prog_compiler_wl_GCJ
='-Wl,'
19858 # All Alpha code is PIC.
19859 lt_prog_compiler_static_GCJ
='-non_shared'
19862 case `$CC -V 2>&1 | sed 5q` in
19865 lt_prog_compiler_pic_GCJ
='-KPIC'
19866 lt_prog_compiler_static_GCJ
='-Bstatic'
19867 lt_prog_compiler_wl_GCJ
='-Wl,'
19870 # Sun Fortran 8.3 passes all unrecognized flags to the linker
19871 lt_prog_compiler_pic_GCJ
='-KPIC'
19872 lt_prog_compiler_static_GCJ
='-Bstatic'
19873 lt_prog_compiler_wl_GCJ
=''
19880 osf3
* | osf4
* | osf5
*)
19881 lt_prog_compiler_wl_GCJ
='-Wl,'
19882 # All OSF/1 code is PIC.
19883 lt_prog_compiler_static_GCJ
='-non_shared'
19887 lt_prog_compiler_static_GCJ
='-non_shared'
19891 lt_prog_compiler_pic_GCJ
='-KPIC'
19892 lt_prog_compiler_static_GCJ
='-Bstatic'
19893 case $cc_basename in
19894 f77
* | f90
* | f95
*)
19895 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
19897 lt_prog_compiler_wl_GCJ
='-Wl,';;
19902 lt_prog_compiler_wl_GCJ
='-Qoption ld '
19903 lt_prog_compiler_pic_GCJ
='-PIC'
19904 lt_prog_compiler_static_GCJ
='-Bstatic'
19907 sysv4 | sysv4.2uw2
* | sysv4.3
*)
19908 lt_prog_compiler_wl_GCJ
='-Wl,'
19909 lt_prog_compiler_pic_GCJ
='-KPIC'
19910 lt_prog_compiler_static_GCJ
='-Bstatic'
19914 if test -d /usr
/nec
;then
19915 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
19916 lt_prog_compiler_static_GCJ
='-Bstatic'
19920 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19921 lt_prog_compiler_wl_GCJ
='-Wl,'
19922 lt_prog_compiler_pic_GCJ
='-KPIC'
19923 lt_prog_compiler_static_GCJ
='-Bstatic'
19927 lt_prog_compiler_wl_GCJ
='-Wl,'
19928 lt_prog_compiler_can_build_shared_GCJ
=no
19932 lt_prog_compiler_pic_GCJ
='-pic'
19933 lt_prog_compiler_static_GCJ
='-Bstatic'
19937 lt_prog_compiler_can_build_shared_GCJ
=no
19942 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19943 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19946 # Check to make sure the PIC flag actually works.
19948 if test -n "$lt_prog_compiler_pic_GCJ"; then
19950 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19951 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19952 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 lt_cv_prog_compiler_pic_works_GCJ
=no
19956 ac_outfile
=conftest.
$ac_objext
19957 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19958 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
19959 # Insert the option either (1) after the last *FLAGS variable, or
19960 # (2) before a word containing "conftest.", or (3) at the end.
19961 # Note that $ac_compile itself does not contain backslashes and begins
19962 # with a dollar sign (not a hyphen), so the echo should work correctly.
19963 # The option is referenced via a variable to avoid confusing sed.
19964 lt_compile
=`echo "$ac_compile" | $SED \
19965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19967 -e 's:$: $lt_compiler_flag:'`
19968 (eval echo "\"\$as_me:19968: $lt_compile\"" >&5)
19969 (eval "$lt_compile" 2>conftest.err
)
19971 cat conftest.err
>&5
19972 echo "$as_me:19972: \$? = $ac_status" >&5
19973 if (exit $ac_status) && test -s "$ac_outfile"; then
19974 # The compiler can only warn and ignore the option if not recognized
19975 # So say no if there are warnings other than the usual output.
19976 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19977 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19978 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19979 lt_cv_prog_compiler_pic_works_GCJ
=yes
19985 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
19986 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
19988 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
19989 case $lt_prog_compiler_pic_GCJ in
19991 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
19994 lt_prog_compiler_pic_GCJ
=
19995 lt_prog_compiler_can_build_shared_GCJ
=no
20000 # For platforms which do not support PIC, -DPIC is meaningless:
20002 lt_prog_compiler_pic_GCJ
=
20005 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
20010 # Check to make sure the static flag actually works.
20012 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
20013 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20014 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20015 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 lt_cv_prog_compiler_static_works_GCJ
=no
20019 save_LDFLAGS
="$LDFLAGS"
20020 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
20021 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
20022 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
20023 # The linker can only warn and ignore the option if not recognized
20024 # So say no if there are warnings
20025 if test -s conftest.err
; then
20026 # Append any errors to the config.log.
20027 cat conftest.err
1>&5
20028 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
20029 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20030 if diff conftest.exp conftest.er2
>/dev
/null
; then
20031 lt_cv_prog_compiler_static_works_GCJ
=yes
20034 lt_cv_prog_compiler_static_works_GCJ
=yes
20038 LDFLAGS
="$save_LDFLAGS"
20041 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
20042 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
20044 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
20047 lt_prog_compiler_static_GCJ
=
20051 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20052 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20053 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 lt_cv_prog_compiler_c_o_GCJ
=no
20057 $rm -r conftest
2>/dev
/null
20061 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20063 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20064 # Insert the option either (1) after the last *FLAGS variable, or
20065 # (2) before a word containing "conftest.", or (3) at the end.
20066 # Note that $ac_compile itself does not contain backslashes and begins
20067 # with a dollar sign (not a hyphen), so the echo should work correctly.
20068 lt_compile
=`echo "$ac_compile" | $SED \
20069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20071 -e 's:$: $lt_compiler_flag:'`
20072 (eval echo "\"\$as_me:20072: $lt_compile\"" >&5)
20073 (eval "$lt_compile" 2>out
/conftest.err
)
20075 cat out
/conftest.err
>&5
20076 echo "$as_me:20076: \$? = $ac_status" >&5
20077 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20079 # The compiler can only warn and ignore the option if not recognized
20080 # So say no if there are warnings
20081 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20082 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20083 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20084 lt_cv_prog_compiler_c_o_GCJ
=yes
20089 # SGI C++ compiler will create directory out/ii_files/ for
20090 # template instantiation
20091 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
20092 $rm out
/* && rmdir out
20098 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
20099 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
20102 hard_links
="nottested"
20103 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
20104 # do not overwrite the value of need_locks provided by the user
20105 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20106 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20109 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20111 ln conftest.a conftest.b
2>&5 || hard_links
=no
20112 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20113 { echo "$as_me:$LINENO: result: $hard_links" >&5
20114 echo "${ECHO_T}$hard_links" >&6; }
20115 if test "$hard_links" = no
; then
20116 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20117 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20124 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20125 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20128 allow_undefined_flag_GCJ
=
20129 enable_shared_with_static_runtimes_GCJ
=no
20131 archive_expsym_cmds_GCJ
=
20132 old_archive_From_new_cmds_GCJ
=
20133 old_archive_from_expsyms_cmds_GCJ
=
20134 export_dynamic_flag_spec_GCJ
=
20135 whole_archive_flag_spec_GCJ
=
20136 thread_safe_flag_spec_GCJ
=
20137 hardcode_libdir_flag_spec_GCJ
=
20138 hardcode_libdir_flag_spec_ld_GCJ
=
20139 hardcode_libdir_separator_GCJ
=
20140 hardcode_direct_GCJ
=no
20141 hardcode_minus_L_GCJ
=no
20142 hardcode_shlibpath_var_GCJ
=unsupported
20143 link_all_deplibs_GCJ
=unknown
20144 hardcode_automatic_GCJ
=no
20146 module_expsym_cmds_GCJ
=
20147 always_export_symbols_GCJ
=no
20148 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20149 # include_expsyms should be a list of space-separated symbols to be *always*
20150 # included in the symbol list
20151 include_expsyms_GCJ
=
20152 # exclude_expsyms can be an extended regexp of symbols to exclude
20153 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20154 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20155 # as well as any symbol that contains `d'.
20156 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20157 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20158 # platforms (ab)use it in PIC code, but their linkers get confused if
20159 # the symbol is explicitly referenced. Since portable code cannot
20160 # rely on this symbol name, it's probably fine to never include it in
20161 # preloaded symbol tables.
20162 # Exclude shared library initialization/finalization symbols.
20163 extract_expsyms_cmds
=
20164 # Just being paranoid about ensuring that cc_basename is set.
20165 for cc_temp
in $compiler""; do
20167 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20168 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20173 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20176 cygwin
* | mingw
* | pw32
*)
20177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20178 # When not using gcc, we currently assume that we are using
20179 # Microsoft Visual C++.
20180 if test "$GCC" != yes; then
20185 # we just hope/assume this is gcc and not c89 (= MSVC++)
20194 if test "$with_gnu_ld" = yes; then
20195 # If archive_cmds runs LD, not CC, wlarc should be empty
20198 # Set some defaults for GNU ld with shared library support. These
20199 # are reset later if shared libraries are not supported. Putting them
20200 # here allows them to be overridden if necessary.
20201 runpath_var
=LD_RUN_PATH
20202 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
20203 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
20204 # ancient GNU ld didn't support --whole-archive et. al.
20205 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
20206 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20208 whole_archive_flag_spec_GCJ
=
20210 supports_anon_versioning
=no
20211 case `$LD -v 2>/dev/null` in
20212 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
20213 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
20214 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
20215 *\
2.11.
*) ;; # other 2.11 versions
20216 *) supports_anon_versioning
=yes ;;
20219 # See if GNU ld supports shared libraries.
20222 # On AIX/PPC, the GNU linker is very broken
20223 if test "$host_cpu" != ia64
; then
20227 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
20228 *** to be unable to reliably create shared libraries on AIX.
20229 *** Therefore, libtool is disabling shared libraries support. If you
20230 *** really care for shared libraries, you may want to modify your PATH
20231 *** so that a non-GNU linker is found, and then restart.
20238 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)'
20239 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20240 hardcode_minus_L_GCJ
=yes
20242 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20243 # that the semantics of dynamic libraries on AmigaOS, at least up
20244 # to version 4, is to share data among multiple programs linked
20245 # with the same dynamic library. Since this doesn't match the
20246 # behavior of shared libraries on other platforms, we can't use
20252 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20253 allow_undefined_flag_GCJ
=unsupported
20254 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20255 # support --undefined. This deserves some investigation. FIXME
20256 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20262 cygwin
* | mingw
* | pw32
*)
20263 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
20264 # as there is no search path for DLLs.
20265 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20266 allow_undefined_flag_GCJ
=unsupported
20267 always_export_symbols_GCJ
=no
20268 enable_shared_with_static_runtimes_GCJ
=yes
20269 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
20271 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
20272 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20273 # If the export-symbols file already is a .def file (1st line
20274 # is EXPORTS), use it as is; otherwise, prepend...
20275 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20276 cp $export_symbols $output_objdir/$soname.def;
20278 echo EXPORTS > $output_objdir/$soname.def;
20279 cat $export_symbols >> $output_objdir/$soname.def;
20281 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20288 hardcode_direct_GCJ
=no
20289 hardcode_shlibpath_var_GCJ
=no
20290 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
20291 export_dynamic_flag_spec_GCJ
='${wl}-E'
20292 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20293 # Instead, shared libraries are loaded at an image base (0x10000000 by
20294 # default) and relocated if they conflict, which is a slow very memory
20295 # consuming and fragmenting process. To avoid this, we pick a random,
20296 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20297 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20298 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'
20299 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'
20302 gnu
* | linux
* | k
*bsd
*-gnu)
20303 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20305 case $cc_basename,$host_cpu in
20306 pgcc
*) # Portland Group C compiler
20307 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'
20308 tmp_addflag
=' $pic_flag'
20310 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
20311 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'
20312 tmp_addflag
=' $pic_flag -Mnomain' ;;
20313 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
20314 tmp_addflag
=' -i_dynamic' ;;
20315 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
20316 tmp_addflag
=' -i_dynamic -nofor_main' ;;
20317 ifc
* | ifort
*) # Intel Fortran compiler
20318 tmp_addflag
=' -nofor_main' ;;
20320 case `$CC -V 2>&1 | sed 5q` in
20321 *Sun\ C
*) # Sun C 5.9
20322 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'
20323 tmp_sharedflag
='-G' ;;
20324 *Sun\ F
*) # Sun Fortran 8.3
20325 tmp_sharedflag
='-G' ;;
20327 tmp_sharedflag
='-shared' ;;
20329 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20331 if test $supports_anon_versioning = yes; then
20332 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
20333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20334 $echo "local: *; };" >> $output_objdir/$libname.ver~
20335 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20337 link_all_deplibs_GCJ
=no
20343 netbsd
* | netbsdelf
*-gnu)
20344 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20345 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20348 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20349 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20354 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
20358 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20359 *** create shared libraries on Solaris systems. Therefore, libtool
20360 *** is disabling shared libraries support. We urge you to upgrade GNU
20361 *** binutils to release 2.9.1 or newer. Another option is to modify
20362 *** your PATH or compiler configuration so that the native linker is
20363 *** used, and then restart.
20366 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20367 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20368 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20374 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
20375 case `$LD -v 2>&1` in
20376 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
20380 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
20381 *** reliably create shared libraries on SCO systems. Therefore, libtool
20382 *** is disabling shared libraries support. We urge you to upgrade GNU
20383 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
20384 *** your PATH or compiler configuration so that the native linker is
20385 *** used, and then restart.
20390 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20391 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
20392 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
20393 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
20402 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20404 hardcode_direct_GCJ
=yes
20405 hardcode_shlibpath_var_GCJ
=no
20409 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
20410 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20411 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20418 if test "$ld_shlibs_GCJ" = no
; then
20420 hardcode_libdir_flag_spec_GCJ
=
20421 export_dynamic_flag_spec_GCJ
=
20422 whole_archive_flag_spec_GCJ
=
20425 # PORTME fill in a description of your system's linker (not GNU ld)
20428 allow_undefined_flag_GCJ
=unsupported
20429 always_export_symbols_GCJ
=yes
20430 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'
20431 # Note: this linker hardcodes the directories in LIBPATH if there
20432 # are no directories specified by -L.
20433 hardcode_minus_L_GCJ
=yes
20434 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
20435 # Neither direct hardcoding nor static linking is supported with a
20437 hardcode_direct_GCJ
=unsupported
20442 if test "$host_cpu" = ia64
; then
20443 # On IA64, the linker does run time linking by default, so we don't
20444 # have to do anything special.
20445 aix_use_runtimelinking
=no
20446 exp_sym_flag
='-Bexport'
20449 # If we're using GNU nm, then we don't want the "-C" option.
20450 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20451 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
20452 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'
20454 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'
20456 aix_use_runtimelinking
=no
20458 # Test if we are trying to use run time linking or normal
20459 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20460 # need to do runtime linking.
20461 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
20462 for ld_flag
in $LDFLAGS; do
20463 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
20464 aix_use_runtimelinking
=yes
20471 exp_sym_flag
='-bexport'
20472 no_entry_flag
='-bnoentry'
20475 # When large executables or shared objects are built, AIX ld can
20476 # have problems creating the table of contents. If linking a library
20477 # or program results in "error TOC overflow" add -mminimal-toc to
20478 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20479 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20481 archive_cmds_GCJ
=''
20482 hardcode_direct_GCJ
=yes
20483 hardcode_libdir_separator_GCJ
=':'
20484 link_all_deplibs_GCJ
=yes
20486 if test "$GCC" = yes; then
20487 case $host_os in aix4.
[012]|aix4.
[012].
*)
20488 # We only want to do this on AIX 4.2 and lower, the check
20489 # below for broken collect2 doesn't work under 4.3+
20490 collect2name
=`${CC} -print-prog-name=collect2`
20491 if test -f "$collect2name" && \
20492 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
20494 # We have reworked collect2
20497 # We have old collect2
20498 hardcode_direct_GCJ
=unsupported
20499 # It fails to find uninstalled libraries when the uninstalled
20500 # path is not listed in the libpath. Setting hardcode_minus_L
20501 # to unsupported forces relinking
20502 hardcode_minus_L_GCJ
=yes
20503 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20504 hardcode_libdir_separator_GCJ
=
20508 shared_flag
='-shared'
20509 if test "$aix_use_runtimelinking" = yes; then
20510 shared_flag
="$shared_flag "'${wl}-G'
20514 if test "$host_cpu" = ia64
; then
20515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20516 # chokes on -Wl,-G. The following line is correct:
20519 if test "$aix_use_runtimelinking" = yes; then
20520 shared_flag
='${wl}-G'
20522 shared_flag
='${wl}-bM:SRE'
20527 # It seems that -bexpall does not export symbols beginning with
20528 # underscore (_), so it is better to generate a list of symbols to export.
20529 always_export_symbols_GCJ
=yes
20530 if test "$aix_use_runtimelinking" = yes; then
20531 # Warning - without using the other runtime loading flags (-brtl),
20532 # -berok will link without error, but may produce a broken library.
20533 allow_undefined_flag_GCJ
='-berok'
20534 # Determine the default libpath from the value encoded in an empty executable.
20535 cat >conftest.
$ac_ext <<_ACEOF
20538 cat confdefs.h
>>conftest.
$ac_ext
20539 cat >>conftest.
$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20550 rm -f conftest.
$ac_objext conftest
$ac_exeext
20551 if { (ac_try
="$ac_link"
20552 case "(($ac_try" in
20553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_link") 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest$ac_exeext &&
20567 $as_test_x conftest$ac_exeext; then
20569 lt_aix_libpath_sed='
20570 /Import File Strings/,/^$/ {
20576 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
20577 # Check for a 64-bit object if we didn't find anything.
20578 if test -z "$aix_libpath"; then
20579 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20589 conftest$ac_exeext conftest.$ac_ext
20590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20592 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20593 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"
20595 if test "$host_cpu" = ia64; then
20596 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
20597 allow_undefined_flag_GCJ="-z nodefs"
20598 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"
20600 # Determine the default libpath from the value encoded in an empty executable.
20601 cat >conftest.$ac_ext <<_ACEOF
20604 cat confdefs.h >>conftest.$ac_ext
20605 cat >>conftest.$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20616 rm -f conftest.$ac_objext conftest$ac_exeext
20617 if { (ac_try="$ac_link"
20618 case "(($ac_try" in
20619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20620 *) ac_try_echo
=$ac_try;;
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_link") 2>conftest.er1
20625 grep -v '^ *+' conftest.er1
>conftest.err
20627 cat conftest.err
>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest
$ac_exeext &&
20633 $as_test_x conftest
$ac_exeext; then
20635 lt_aix_libpath_sed
='
20636 /Import File Strings/,/^$/ {
20642 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20643 # Check for a 64-bit object if we didn't find anything.
20644 if test -z "$aix_libpath"; then
20645 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20655 conftest
$ac_exeext conftest.
$ac_ext
20656 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
20658 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
20659 # Warning - without using the other run time loading flags,
20660 # -berok will link without error, but may produce a broken library.
20661 no_undefined_flag_GCJ
=' ${wl}-bernotok'
20662 allow_undefined_flag_GCJ
=' ${wl}-berok'
20663 # Exported symbols can be pulled into shared objects from archives
20664 whole_archive_flag_spec_GCJ
='$convenience'
20665 archive_cmds_need_lc_GCJ
=yes
20666 # This is similar to how AIX traditionally builds its shared libraries.
20667 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'
20673 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)'
20674 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20675 hardcode_minus_L_GCJ
=yes
20676 # see comment about different semantics on the GNU ld section
20681 export_dynamic_flag_spec_GCJ
=-rdynamic
20684 cygwin
* | mingw
* | pw32
*)
20685 # When not using gcc, we currently assume that we are using
20686 # Microsoft Visual C++.
20687 # hardcode_libdir_flag_spec is actually meaningless, as there is
20688 # no search path for DLLs.
20689 hardcode_libdir_flag_spec_GCJ
=' '
20690 allow_undefined_flag_GCJ
=unsupported
20691 # Tell ltmain to make .lib files, not .a files.
20693 # Tell ltmain to make .dll files, not .so files.
20695 # FIXME: Setting linknames here is a bad hack.
20696 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20697 # The linker will automatically build a .lib file if we build a DLL.
20698 old_archive_From_new_cmds_GCJ
='true'
20699 # FIXME: Should let the user specify the lib program.
20700 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
20701 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
20702 enable_shared_with_static_runtimes_GCJ
=yes
20705 darwin
* | rhapsody
*)
20707 rhapsody
* | darwin1.
[012])
20708 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
20711 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20712 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20714 case ${MACOSX_DEPLOYMENT_TARGET} in
20716 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20719 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
20725 archive_cmds_need_lc_GCJ
=no
20726 hardcode_direct_GCJ
=no
20727 hardcode_automatic_GCJ
=yes
20728 hardcode_shlibpath_var_GCJ
=unsupported
20729 whole_archive_flag_spec_GCJ
=''
20730 link_all_deplibs_GCJ
=yes
20731 if test "$GCC" = yes ; then
20732 output_verbose_link_cmd
='echo'
20733 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}"
20734 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20735 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}"
20736 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}"
20738 case $cc_basename in
20740 output_verbose_link_cmd
='echo'
20741 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
20742 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20743 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20744 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}'
20745 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}'
20755 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20756 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20757 hardcode_shlibpath_var_GCJ
=no
20764 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20765 # support. Future versions do this automatically, but an explicit c++rt0.o
20766 # does not break anything, and helps significantly (at the cost of a little
20769 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20770 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
20771 hardcode_direct_GCJ
=yes
20772 hardcode_shlibpath_var_GCJ
=no
20775 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20777 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20778 hardcode_direct_GCJ
=yes
20779 hardcode_minus_L_GCJ
=yes
20780 hardcode_shlibpath_var_GCJ
=no
20783 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20784 freebsd
* | dragonfly
*)
20785 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20786 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
20787 hardcode_direct_GCJ
=yes
20788 hardcode_shlibpath_var_GCJ
=no
20792 if test "$GCC" = yes; then
20793 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'
20795 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'
20797 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
20798 hardcode_libdir_separator_GCJ
=:
20799 hardcode_direct_GCJ
=yes
20801 # hardcode_minus_L: Not really in the search PATH,
20802 # but as the default location of the library.
20803 hardcode_minus_L_GCJ
=yes
20804 export_dynamic_flag_spec_GCJ
='${wl}-E'
20808 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
20809 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20811 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20813 if test "$with_gnu_ld" = no
; then
20814 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
20815 hardcode_libdir_separator_GCJ
=:
20817 hardcode_direct_GCJ
=yes
20818 export_dynamic_flag_spec_GCJ
='${wl}-E'
20820 # hardcode_minus_L: Not really in the search PATH,
20821 # but as the default location of the library.
20822 hardcode_minus_L_GCJ
=yes
20827 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
20830 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20833 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20836 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20842 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20845 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20848 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20852 if test "$with_gnu_ld" = no
; then
20853 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
20854 hardcode_libdir_separator_GCJ
=:
20858 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
20859 hardcode_direct_GCJ
=no
20860 hardcode_shlibpath_var_GCJ
=no
20863 hardcode_direct_GCJ
=yes
20864 export_dynamic_flag_spec_GCJ
='${wl}-E'
20866 # hardcode_minus_L: Not really in the search PATH,
20867 # but as the default location of the library.
20868 hardcode_minus_L_GCJ
=yes
20874 irix5
* | irix6
* | nonstopux
*)
20875 if test "$GCC" = yes; then
20876 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'
20878 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'
20879 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
20881 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
20882 hardcode_libdir_separator_GCJ
=:
20883 link_all_deplibs_GCJ
=yes
20886 netbsd
* | netbsdelf
*-gnu)
20887 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20888 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20890 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20892 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
20893 hardcode_direct_GCJ
=yes
20894 hardcode_shlibpath_var_GCJ
=no
20898 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20899 hardcode_direct_GCJ
=yes
20900 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
20901 hardcode_libdir_separator_GCJ
=:
20902 hardcode_shlibpath_var_GCJ
=no
20906 if test -f /usr
/libexec
/ld.so
; then
20907 hardcode_direct_GCJ
=yes
20908 hardcode_shlibpath_var_GCJ
=no
20909 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20910 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20911 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20912 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
20913 export_dynamic_flag_spec_GCJ
='${wl}-E'
20916 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
20917 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20918 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
20921 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20922 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
20932 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
20933 hardcode_minus_L_GCJ
=yes
20934 allow_undefined_flag_GCJ
=unsupported
20935 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'
20936 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20940 if test "$GCC" = yes; then
20941 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
20942 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'
20944 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
20945 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'
20947 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
20948 hardcode_libdir_separator_GCJ
=:
20951 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
20952 if test "$GCC" = yes; then
20953 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
20954 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'
20955 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
20957 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
20958 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'
20959 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~
20960 $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'
20962 # Both c and cxx compiler support -rpath directly
20963 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
20965 hardcode_libdir_separator_GCJ
=:
20969 no_undefined_flag_GCJ
=' -z text'
20970 if test "$GCC" = yes; then
20972 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20973 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20974 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20977 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20978 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20979 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20981 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
20982 hardcode_shlibpath_var_GCJ
=no
20984 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
20986 # The compiler driver will combine and reorder linker options,
20987 # but understands `-z linker_flag'. GCC discards it without `$wl',
20988 # but is careful enough not to reorder.
20989 # Supported since Solaris 2.6 (maybe 2.5.1?)
20990 if test "$GCC" = yes; then
20991 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20993 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
20997 link_all_deplibs_GCJ
=yes
21001 if test "x$host_vendor" = xsequent
; then
21002 # Use $CC to link under sequent, because it throws in some extra .o
21003 # files that make .init and .fini sections work.
21004 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21006 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21008 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21009 hardcode_direct_GCJ
=yes
21010 hardcode_minus_L_GCJ
=yes
21011 hardcode_shlibpath_var_GCJ
=no
21015 case $host_vendor in
21017 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21018 hardcode_direct_GCJ
=yes # is this really true???
21021 ## LD is ld it makes a PLAMLIB
21022 ## CC just makes a GrossModule.
21023 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21024 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
21025 hardcode_direct_GCJ
=no
21028 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21029 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
21032 runpath_var
='LD_RUN_PATH'
21033 hardcode_shlibpath_var_GCJ
=no
21037 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21038 hardcode_shlibpath_var_GCJ
=no
21039 export_dynamic_flag_spec_GCJ
='-Bexport'
21043 if test -d /usr
/nec
; then
21044 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21045 hardcode_shlibpath_var_GCJ
=no
21046 runpath_var
=LD_RUN_PATH
21047 hardcode_runpath_var
=yes
21052 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
21053 no_undefined_flag_GCJ
='${wl}-z,text'
21054 archive_cmds_need_lc_GCJ
=no
21055 hardcode_shlibpath_var_GCJ
=no
21056 runpath_var
='LD_RUN_PATH'
21058 if test "$GCC" = yes; then
21059 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21060 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21062 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21063 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21067 sysv5
* | sco3.2v5
* | sco5v6
*)
21068 # Note: We can NOT use -z defs as we might desire, because we do not
21069 # link with -lc, and that would cause any symbols used from libc to
21070 # always be unresolved, which means just about no library would
21071 # ever link correctly. If we're not using GNU ld we use -z text
21072 # though, which does catch some bad symbols but isn't as heavy-handed
21074 no_undefined_flag_GCJ
='${wl}-z,text'
21075 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
21076 archive_cmds_need_lc_GCJ
=no
21077 hardcode_shlibpath_var_GCJ
=no
21078 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21079 hardcode_libdir_separator_GCJ
=':'
21080 link_all_deplibs_GCJ
=yes
21081 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
21082 runpath_var
='LD_RUN_PATH'
21084 if test "$GCC" = yes; then
21085 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21086 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21088 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21089 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21094 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21095 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
21096 hardcode_shlibpath_var_GCJ
=no
21105 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
21106 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
21107 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
21110 # Do we need to explicitly link libc?
21112 case "x$archive_cmds_need_lc_GCJ" in
21114 # Assume -lc should be added
21115 archive_cmds_need_lc_GCJ
=yes
21117 if test "$enable_shared" = yes && test "$GCC" = yes; then
21118 case $archive_cmds_GCJ in
21120 # FIXME: we may have to deal with multi-command sequences.
21123 # Test whether the compiler implicitly links with -lc since on some
21124 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21125 # to ld, don't add -lc before -lgcc.
21126 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21127 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
21129 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } 2>conftest.err
; then
21138 libobjs
=conftest.
$ac_objext
21140 wl
=$lt_prog_compiler_wl_GCJ
21141 pic_flag
=$lt_prog_compiler_pic_GCJ
21147 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
21148 allow_undefined_flag_GCJ
=
21149 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21150 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }
21155 archive_cmds_need_lc_GCJ
=no
21157 archive_cmds_need_lc_GCJ
=yes
21159 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
21161 cat conftest.err
1>&5
21164 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
21165 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
21172 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21173 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
21174 library_names_spec
=
21175 libname_spec
='lib$name'
21179 postuninstall_cmds
=
21183 shlibpath_overrides_runpath
=unknown
21185 dynamic_linker
="$host_os ld.so"
21186 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
21188 need_lib_prefix
=unknown
21189 hardcode_into_libs
=no
21191 # when you set need_version to no, make sure it does not cause -set_version
21192 # flags to be left without arguments
21193 need_version
=unknown
21198 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
21199 shlibpath_var
=LIBPATH
21201 # AIX 3 has no versioning support, so we append a major version to the name.
21202 soname_spec
='${libname}${release}${shared_ext}$major'
21209 hardcode_into_libs
=yes
21210 if test "$host_cpu" = ia64
; then
21211 # AIX 5 supports IA64
21212 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21213 shlibpath_var
=LD_LIBRARY_PATH
21215 # With GCC up to 2.95.x, collect2 would create an import file
21216 # for dependence libraries. The import file would start with
21217 # the line `#! .'. This would cause the generated library to
21218 # depend on `.', always an invalid library. This was fixed in
21219 # development snapshots of GCC prior to 3.0.
21221 aix4 | aix4.
[01] | aix4.
[01].
*)
21222 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21224 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
21227 can_build_shared
=no
21231 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21232 # soname into executable. Probably we can add versioning support to
21233 # collect2, so additional links can be useful in future.
21234 if test "$aix_use_runtimelinking" = yes; then
21235 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21236 # instead of lib<name>.a to let people know that these are not
21237 # typical AIX shared libraries.
21238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21240 # We preserve .a as extension for shared libraries through AIX4.2
21241 # and later when we are not doing run time linking.
21242 library_names_spec
='${libname}${release}.a $libname.a'
21243 soname_spec
='${libname}${release}${shared_ext}$major'
21245 shlibpath_var
=LIBPATH
21250 library_names_spec
='$libname.ixlibrary $libname.a'
21251 # Create ${libname}_ixlibrary.a entries in /sys/libs.
21252 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'
21256 library_names_spec
='${libname}${shared_ext}'
21257 dynamic_linker
="$host_os ld.so"
21258 shlibpath_var
=LIBRARY_PATH
21264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21265 soname_spec
='${libname}${release}${shared_ext}$major'
21266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
21267 shlibpath_var
=LD_LIBRARY_PATH
21268 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21269 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
21270 # the default ld.so.conf also contains /usr/contrib/lib and
21271 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21272 # libtool to hard-code these into programs
21275 cygwin
* | mingw
* | pw32
*)
21276 version_type
=windows
21281 case $GCC,$host_os in
21282 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
21283 library_names_spec
='$libname.dll.a'
21284 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21285 postinstall_cmds
='base_file=`basename \${file}`~
21286 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21287 dldir=$destdir/`dirname \$dlpath`~
21288 test -d \$dldir || mkdir -p \$dldir~
21289 $install_prog $dir/$dlname \$dldir/$dlname~
21290 chmod a+x \$dldir/$dlname'
21291 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21292 dlpath=$dir/\$dldll~
21294 shlibpath_overrides_runpath
=yes
21298 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21299 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21300 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
21303 # MinGW DLLs use traditional 'lib' prefix
21304 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21305 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21306 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
21307 # It is most probably a Windows format PATH printed by
21308 # mingw gcc, but we are running on Cygwin. Gcc prints its search
21309 # path with ; separators, and with drive letters. We can handle the
21310 # drive letters (cygwin fileutils understands them), so leave them,
21311 # especially as we might pass files found there to a mingw objdump,
21312 # which wouldn't understand a cygwinified path. Ahh.
21313 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21315 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21319 # pw32 DLLs use 'pw' prefix rather than 'lib'
21320 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21326 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21329 dynamic_linker
='Win32 ld.exe'
21330 # FIXME: first we should search . and the directory the executable is in
21334 darwin
* | rhapsody
*)
21335 dynamic_linker
="$host_os dyld"
21336 version_type
=darwin
21339 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21340 soname_spec
='${libname}${release}${major}$shared_ext'
21341 shlibpath_overrides_runpath
=yes
21342 shlibpath_var
=DYLD_LIBRARY_PATH
21343 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
21345 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
21352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21353 soname_spec
='${libname}${release}${shared_ext}$major'
21354 shlibpath_var
=LD_LIBRARY_PATH
21361 freebsd
* | dragonfly
*)
21362 # DragonFly does not have aout. When/if they implement a new
21363 # versioning mechanism, adjust this.
21364 if test -x /usr
/bin
/objformat
; then
21365 objformat
=`/usr/bin/objformat`
21368 freebsd
[123]*) objformat
=aout
;;
21369 *) objformat
=elf
;;
21372 version_type
=freebsd-
$objformat
21373 case $version_type in
21375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21380 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21384 shlibpath_var
=LD_LIBRARY_PATH
21387 shlibpath_overrides_runpath
=yes
21389 freebsd3.
[01]* | freebsdelf3.
[01]*)
21390 shlibpath_overrides_runpath
=yes
21391 hardcode_into_libs
=yes
21393 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
21394 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
21395 shlibpath_overrides_runpath
=no
21396 hardcode_into_libs
=yes
21398 *) # from 4.6 on, and DragonFly
21399 shlibpath_overrides_runpath
=yes
21400 hardcode_into_libs
=yes
21409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21410 soname_spec
='${libname}${release}${shared_ext}$major'
21411 shlibpath_var
=LD_LIBRARY_PATH
21412 hardcode_into_libs
=yes
21415 hpux9
* | hpux10
* | hpux11
*)
21416 # Give a soname corresponding to the major version so that dld.sl refuses to
21417 # link against other versions.
21424 hardcode_into_libs
=yes
21425 dynamic_linker
="$host_os dld.so"
21426 shlibpath_var
=LD_LIBRARY_PATH
21427 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
21428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21429 soname_spec
='${libname}${release}${shared_ext}$major'
21430 if test "X$HPUX_IA64_MODE" = X32
; then
21431 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21433 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
21435 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
21439 hardcode_into_libs
=yes
21440 dynamic_linker
="$host_os dld.sl"
21441 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
21442 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
21443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21444 soname_spec
='${libname}${release}${shared_ext}$major'
21445 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21446 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
21450 dynamic_linker
="$host_os dld.sl"
21451 shlibpath_var
=SHLIB_PATH
21452 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
21453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21454 soname_spec
='${libname}${release}${shared_ext}$major'
21457 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21458 postinstall_cmds
='chmod 555 $lib'
21465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21466 soname_spec
='${libname}${release}${shared_ext}$major'
21467 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
21468 shlibpath_var
=LD_LIBRARY_PATH
21469 shlibpath_overrides_runpath
=no
21470 hardcode_into_libs
=yes
21473 irix5
* | irix6
* | nonstopux
*)
21475 nonstopux
*) version_type
=nonstopux
;;
21477 if test "$lt_cv_prog_gnu_ld" = yes; then
21485 soname_spec
='${libname}${release}${shared_ext}$major'
21486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21488 irix5
* | nonstopux
*)
21489 libsuff
= shlibsuff
=
21492 case $LD in # libtool.m4 will add one of these switches to LD
21493 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
21494 libsuff
= shlibsuff
= libmagic
=32-bit;;
21495 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
21496 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
21497 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
21498 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
21499 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
21503 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
21504 shlibpath_overrides_runpath
=no
21505 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21506 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
21507 hardcode_into_libs
=yes
21510 # No shared lib support for Linux oldld, aout, or coff.
21511 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
21515 # This must be Linux ELF.
21516 linux
* | k
*bsd
*-gnu)
21520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21521 soname_spec
='${libname}${release}${shared_ext}$major'
21522 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21523 shlibpath_var
=LD_LIBRARY_PATH
21524 shlibpath_overrides_runpath
=no
21525 # This implies no fast_install, which is unacceptable.
21526 # Some rework will be needed to allow for fast_install
21527 # before this can be enabled.
21528 hardcode_into_libs
=yes
21530 # Append ld.so.conf contents to the search path
21531 if test -f /etc
/ld.so.conf
; then
21532 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' ' '`
21533 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
21536 # We used to test for /lib/ld.so.1 and disable shared libraries on
21537 # powerpc, because MkLinux only supported shared libraries with the
21538 # GNU dynamic linker. Since this was broken with cross compilers,
21539 # most powerpc-linux boxes support dynamic linking these days and
21540 # people can always --disable-shared, the test was removed, and we
21541 # assume the GNU/Linux dynamic linker is in use.
21542 dynamic_linker
='GNU/Linux ld.so'
21549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21550 soname_spec
='${libname}${release}${shared_ext}$major'
21551 shlibpath_var
=LD_LIBRARY_PATH
21552 shlibpath_overrides_runpath
=no
21553 hardcode_into_libs
=yes
21554 dynamic_linker
='NetBSD ld.elf_so'
21561 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21564 dynamic_linker
='NetBSD (a.out) ld.so'
21566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21567 soname_spec
='${libname}${release}${shared_ext}$major'
21568 dynamic_linker
='NetBSD ld.elf_so'
21570 shlibpath_var
=LD_LIBRARY_PATH
21571 shlibpath_overrides_runpath
=yes
21572 hardcode_into_libs
=yes
21577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21578 shlibpath_var
=LD_LIBRARY_PATH
21579 shlibpath_overrides_runpath
=yes
21586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21587 soname_spec
='${libname}${release}${shared_ext}$major'
21588 shlibpath_var
=LD_LIBRARY_PATH
21589 shlibpath_overrides_runpath
=yes
21594 sys_lib_dlsearch_path_spec
="/usr/lib"
21596 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21598 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
21599 *) need_version
=no
;;
21601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21603 shlibpath_var
=LD_LIBRARY_PATH
21604 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21606 openbsd2.
[89] | openbsd2.
[89].
*)
21607 shlibpath_overrides_runpath
=no
21610 shlibpath_overrides_runpath
=yes
21614 shlibpath_overrides_runpath
=yes
21619 libname_spec
='$name'
21622 library_names_spec
='$libname${shared_ext} $libname.a'
21623 dynamic_linker
='OS/2 ld.exe'
21624 shlibpath_var
=LIBPATH
21627 osf3
* | osf4
* | osf5
*)
21631 soname_spec
='${libname}${release}${shared_ext}$major'
21632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21633 shlibpath_var
=LD_LIBRARY_PATH
21634 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21635 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
21646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21647 soname_spec
='${libname}${release}${shared_ext}$major'
21648 shlibpath_var
=LD_LIBRARY_PATH
21649 shlibpath_overrides_runpath
=yes
21650 hardcode_into_libs
=yes
21651 # ldd complains unless libraries are executable
21652 postinstall_cmds
='chmod +x $lib'
21657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21658 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21659 shlibpath_var
=LD_LIBRARY_PATH
21660 shlibpath_overrides_runpath
=yes
21661 if test "$with_gnu_ld" = yes; then
21669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21670 soname_spec
='${libname}${release}${shared_ext}$major'
21671 shlibpath_var
=LD_LIBRARY_PATH
21672 case $host_vendor in
21674 shlibpath_overrides_runpath
=no
21676 export_dynamic_flag_spec
='${wl}-Blargedynsym'
21677 runpath_var
=LD_RUN_PATH
21685 shlibpath_overrides_runpath
=no
21686 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
21692 if test -d /usr
/nec
;then
21694 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21695 soname_spec
='$libname${shared_ext}.$major'
21696 shlibpath_var
=LD_LIBRARY_PATH
21700 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
21701 version_type
=freebsd-elf
21704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21705 soname_spec
='${libname}${release}${shared_ext}$major'
21706 shlibpath_var
=LD_LIBRARY_PATH
21707 hardcode_into_libs
=yes
21708 if test "$with_gnu_ld" = yes; then
21709 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21710 shlibpath_overrides_runpath
=no
21712 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
21713 shlibpath_overrides_runpath
=yes
21716 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
21720 sys_lib_dlsearch_path_spec
='/usr/lib'
21725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21726 soname_spec
='${libname}${release}${shared_ext}$major'
21727 shlibpath_var
=LD_LIBRARY_PATH
21734 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21735 echo "${ECHO_T}$dynamic_linker" >&6; }
21736 test "$dynamic_linker" = no
&& can_build_shared
=no
21738 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
21744 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
21745 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
21751 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
21753 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
21754 if test "$GCC" = yes; then
21755 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21758 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21759 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21760 hardcode_action_GCJ
=
21761 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21762 test -n "$runpath_var_GCJ" || \
21763 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21765 # We can hardcode non-existant directories.
21766 if test "$hardcode_direct_GCJ" != no
&&
21767 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21768 # have to relink, otherwise we might link with an installed library
21769 # when we should be linking with a yet-to-be-installed one
21770 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21771 test "$hardcode_minus_L_GCJ" != no
; then
21772 # Linking always hardcodes the temporary library directory.
21773 hardcode_action_GCJ
=relink
21775 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21776 hardcode_action_GCJ
=immediate
21779 # We cannot hardcode anything, or else we can only hardcode existing
21781 hardcode_action_GCJ
=unsupported
21783 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21784 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21786 if test "$hardcode_action_GCJ" = relink
; then
21787 # Fast installation is not supported
21788 enable_fast_install
=no
21789 elif test "$shlibpath_overrides_runpath" = yes ||
21790 test "$enable_shared" = no
; then
21791 # Fast installation is not necessary
21792 enable_fast_install
=needless
21796 # The else clause should only fire when bootstrapping the
21797 # libtool distribution, otherwise you forgot to ship ltmain.sh
21798 # with your package, and you will get complaints that there are
21799 # no rules to generate ltmain.sh.
21800 if test -f "$ltmain"; then
21801 # See if we are running on zsh, and set the options which allow our commands through
21802 # without removal of \ escapes.
21803 if test -n "${ZSH_VERSION+set}" ; then
21804 setopt NO_GLOB_SUBST
21806 # Now quote all the things that may contain metacharacters while being
21807 # careful not to overquote the AC_SUBSTed values. We take copies of the
21808 # variables and quote the copies for generation of the libtool script.
21809 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21811 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21812 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21813 deplibs_check_method reload_flag reload_cmds need_locks \
21814 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21815 lt_cv_sys_global_symbol_to_c_name_address \
21816 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21817 old_postinstall_cmds old_postuninstall_cmds \
21821 lt_prog_compiler_wl_GCJ \
21822 lt_prog_compiler_pic_GCJ \
21823 lt_prog_compiler_static_GCJ \
21824 lt_prog_compiler_no_builtin_flag_GCJ \
21825 export_dynamic_flag_spec_GCJ \
21826 thread_safe_flag_spec_GCJ \
21827 whole_archive_flag_spec_GCJ \
21828 enable_shared_with_static_runtimes_GCJ \
21829 old_archive_cmds_GCJ \
21830 old_archive_from_new_cmds_GCJ \
21831 predep_objects_GCJ \
21832 postdep_objects_GCJ \
21835 compiler_lib_search_path_GCJ \
21836 compiler_lib_search_dirs_GCJ \
21838 archive_expsym_cmds_GCJ \
21839 postinstall_cmds_GCJ \
21840 postuninstall_cmds_GCJ \
21841 old_archive_from_expsyms_cmds_GCJ \
21842 allow_undefined_flag_GCJ \
21843 no_undefined_flag_GCJ \
21844 export_symbols_cmds_GCJ \
21845 hardcode_libdir_flag_spec_GCJ \
21846 hardcode_libdir_flag_spec_ld_GCJ \
21847 hardcode_libdir_separator_GCJ \
21848 hardcode_automatic_GCJ \
21850 module_expsym_cmds_GCJ \
21851 lt_cv_prog_compiler_c_o_GCJ \
21852 fix_srcfile_path_GCJ \
21853 exclude_expsyms_GCJ \
21854 include_expsyms_GCJ
; do
21857 old_archive_cmds_GCJ | \
21858 old_archive_from_new_cmds_GCJ | \
21859 archive_cmds_GCJ | \
21860 archive_expsym_cmds_GCJ | \
21861 module_cmds_GCJ | \
21862 module_expsym_cmds_GCJ | \
21863 old_archive_from_expsyms_cmds_GCJ | \
21864 export_symbols_cmds_GCJ | \
21865 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21866 postinstall_cmds | postuninstall_cmds | \
21867 old_postinstall_cmds | old_postuninstall_cmds | \
21868 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21869 # Double-quote double-evaled strings.
21870 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21873 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21879 *'\$0 --fallback-echo"')
21880 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21886 cat <<__EOF__ >> "$cfgfile"
21887 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21889 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21891 # Shell to use when invoking shell scripts.
21894 # Whether or not to build shared libraries.
21895 build_libtool_libs=$enable_shared
21897 # Whether or not to build static libraries.
21898 build_old_libs=$enable_static
21900 # Whether or not to add -lc for building shared libraries.
21901 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21903 # Whether or not to disallow shared libs when runtime libs are static
21904 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21906 # Whether or not to optimize for fast installation.
21907 fast_install=$enable_fast_install
21910 host_alias=$host_alias
21914 # The build system.
21915 build_alias=$build_alias
21919 # An echo program that does not interpret backslashes.
21924 AR_FLAGS=$lt_AR_FLAGS
21929 # LTCC compiler flags.
21930 LTCFLAGS=$lt_LTCFLAGS
21932 # A language-specific compiler.
21933 CC=$lt_compiler_GCJ
21935 # Is the compiler the GNU C compiler?
21941 # The linker used to build libraries.
21944 # Whether we need hard or soft links.
21947 # A BSD-compatible nm program.
21950 # A symbol stripping program
21953 # Used to examine libraries when file_magic_cmd begins "file"
21954 MAGIC_CMD=$MAGIC_CMD
21956 # Used on cygwin: DLL creation program.
21959 # Used on cygwin: object dumper.
21962 # Used on cygwin: assembler.
21965 # The name of the directory that contains temporary libtool files.
21968 # How to create reloadable object files.
21969 reload_flag=$lt_reload_flag
21970 reload_cmds=$lt_reload_cmds
21972 # How to pass a linker flag through the compiler.
21973 wl=$lt_lt_prog_compiler_wl_GCJ
21975 # Object file suffix (normally "o").
21976 objext="$ac_objext"
21978 # Old archive suffix (normally "a").
21981 # Shared library suffix (normally ".so").
21982 shrext_cmds='$shrext_cmds'
21984 # Executable file suffix (normally "").
21987 # Additional compiler flags for building library objects.
21988 pic_flag=$lt_lt_prog_compiler_pic_GCJ
21991 # What is the maximum length of a command?
21992 max_cmd_len=$lt_cv_sys_max_cmd_len
21994 # Does compiler simultaneously support -c and -o options?
21995 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21997 # Must we lock files when doing compilation?
21998 need_locks=$lt_need_locks
22000 # Do we need the lib prefix for modules?
22001 need_lib_prefix=$need_lib_prefix
22003 # Do we need a version for libraries?
22004 need_version=$need_version
22006 # Whether dlopen is supported.
22007 dlopen_support=$enable_dlopen
22009 # Whether dlopen of programs is supported.
22010 dlopen_self=$enable_dlopen_self
22012 # Whether dlopen of statically linked programs is supported.
22013 dlopen_self_static=$enable_dlopen_self_static
22015 # Compiler flag to prevent dynamic linking.
22016 link_static_flag=$lt_lt_prog_compiler_static_GCJ
22018 # Compiler flag to turn off builtin functions.
22019 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
22021 # Compiler flag to allow reflexive dlopens.
22022 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
22024 # Compiler flag to generate shared objects directly from archives.
22025 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
22027 # Compiler flag to generate thread-safe objects.
22028 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
22030 # Library versioning type.
22031 version_type=$version_type
22033 # Format of library name prefix.
22034 libname_spec=$lt_libname_spec
22036 # List of archive names. First name is the real one, the rest are links.
22037 # The last name is the one that the linker finds with -lNAME.
22038 library_names_spec=$lt_library_names_spec
22040 # The coded name of the library, if different from the real name.
22041 soname_spec=$lt_soname_spec
22043 # Commands used to build and install an old-style archive.
22045 old_archive_cmds=$lt_old_archive_cmds_GCJ
22046 old_postinstall_cmds=$lt_old_postinstall_cmds
22047 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22049 # Create an old-style archive from a shared archive.
22050 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
22052 # Create a temporary old-style archive to link instead of a shared archive.
22053 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
22055 # Commands used to build and install a shared archive.
22056 archive_cmds=$lt_archive_cmds_GCJ
22057 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
22058 postinstall_cmds=$lt_postinstall_cmds
22059 postuninstall_cmds=$lt_postuninstall_cmds
22061 # Commands used to build a loadable module (assumed same as above if empty)
22062 module_cmds=$lt_module_cmds_GCJ
22063 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
22065 # Commands to strip libraries.
22066 old_striplib=$lt_old_striplib
22067 striplib=$lt_striplib
22069 # Dependencies to place before the objects being linked to create a
22071 predep_objects=$lt_predep_objects_GCJ
22073 # Dependencies to place after the objects being linked to create a
22075 postdep_objects=$lt_postdep_objects_GCJ
22077 # Dependencies to place before the objects being linked to create a
22079 predeps=$lt_predeps_GCJ
22081 # Dependencies to place after the objects being linked to create a
22083 postdeps=$lt_postdeps_GCJ
22085 # The directories searched by this compiler when creating a shared
22087 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
22089 # The library search path used internally by the compiler when linking
22090 # a shared library.
22091 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
22093 # Method to check whether dependent libraries are shared objects.
22094 deplibs_check_method=$lt_deplibs_check_method
22096 # Command to use when deplibs_check_method == file_magic.
22097 file_magic_cmd=$lt_file_magic_cmd
22099 # Flag that allows shared libraries with undefined symbols to be built.
22100 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
22102 # Flag that forces no undefined symbols.
22103 no_undefined_flag=$lt_no_undefined_flag_GCJ
22105 # Commands used to finish a libtool library installation in a directory.
22106 finish_cmds=$lt_finish_cmds
22108 # Same as above, but a single script fragment to be evaled but not shown.
22109 finish_eval=$lt_finish_eval
22111 # Take the output of nm and produce a listing of raw symbols and C names.
22112 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22114 # Transform the output of nm in a proper C declaration
22115 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22117 # Transform the output of nm in a C name address pair
22118 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22120 # This is the shared library runtime path variable.
22121 runpath_var=$runpath_var
22123 # This is the shared library path variable.
22124 shlibpath_var=$shlibpath_var
22126 # Is shlibpath searched before the hard-coded library search path?
22127 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22129 # How to hardcode a shared library path into an executable.
22130 hardcode_action=$hardcode_action_GCJ
22132 # Whether we should hardcode library paths into libraries.
22133 hardcode_into_libs=$hardcode_into_libs
22135 # Flag to hardcode \$libdir into a binary during linking.
22136 # This must work even if \$libdir does not exist.
22137 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22139 # If ld is used when linking, flag to hardcode \$libdir into
22140 # a binary during linking. This must work even if \$libdir does
22142 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22144 # Whether we need a single -rpath flag with a separated argument.
22145 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22147 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22148 # resulting binary.
22149 hardcode_direct=$hardcode_direct_GCJ
22151 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22152 # resulting binary.
22153 hardcode_minus_L=$hardcode_minus_L_GCJ
22155 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22156 # the resulting binary.
22157 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22159 # Set to yes if building a shared library automatically hardcodes DIR into the library
22160 # and all subsequent libraries and executables linked against it.
22161 hardcode_automatic=$hardcode_automatic_GCJ
22163 # Variables whose values should be saved in libtool wrapper scripts and
22164 # restored at relink time.
22165 variables_saved_for_relink="$variables_saved_for_relink"
22167 # Whether libtool must link a program against all its dependency libraries.
22168 link_all_deplibs=$link_all_deplibs_GCJ
22170 # Compile-time system search path for libraries
22171 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22173 # Run-time system search path for libraries
22174 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22176 # Fix the shell variable \$srcfile for the compiler.
22177 fix_srcfile_path=$lt_fix_srcfile_path
22179 # Set to yes if exported symbols are required.
22180 always_export_symbols=$always_export_symbols_GCJ
22182 # The commands to list exported symbols.
22183 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22185 # The commands to extract the exported symbol list from a shared archive.
22186 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22188 # Symbols that should not be listed in the preloaded symbols.
22189 exclude_expsyms=$lt_exclude_expsyms_GCJ
22191 # Symbols that must always be exported.
22192 include_expsyms=$lt_include_expsyms_GCJ
22194 # ### END LIBTOOL TAG CONFIG: $tagname
22200 # If there is no Makefile yet, we rely on a make rule to execute
22201 # `config.status --recheck' to rerun these tests and create the
22202 # libtool script then.
22203 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22204 if test -f "$ltmain_in"; then
22205 test -f Makefile
&& make "$ltmain"
22211 ac_cpp
='$CPP $CPPFLAGS'
22212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22226 # Source file extension for RC test sources.
22229 # Object file extension for compiled RC test sources.
22233 # Code to be used in simple compile tests
22234 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
22236 # Code to be used in simple link tests
22237 lt_simple_link_test_code
="$lt_simple_compile_test_code"
22239 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22241 # If no C compiler was specified, use CC.
22244 # If no C compiler flags were specified, use CFLAGS.
22245 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
22247 # Allow CC to be a program name with arguments.
22251 # save warnings/boilerplate of simple test code
22252 ac_outfile
=conftest.
$ac_objext
22253 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
22254 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
22255 _lt_compiler_boilerplate
=`cat conftest.err`
22258 ac_outfile
=conftest.
$ac_objext
22259 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
22260 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
22261 _lt_linker_boilerplate
=`cat conftest.err`
22265 # Allow CC to be a program name with arguments.
22270 for cc_temp
in $compiler""; do
22272 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
22273 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
22278 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22280 lt_cv_prog_compiler_c_o_RC
=yes
22282 # The else clause should only fire when bootstrapping the
22283 # libtool distribution, otherwise you forgot to ship ltmain.sh
22284 # with your package, and you will get complaints that there are
22285 # no rules to generate ltmain.sh.
22286 if test -f "$ltmain"; then
22287 # See if we are running on zsh, and set the options which allow our commands through
22288 # without removal of \ escapes.
22289 if test -n "${ZSH_VERSION+set}" ; then
22290 setopt NO_GLOB_SUBST
22292 # Now quote all the things that may contain metacharacters while being
22293 # careful not to overquote the AC_SUBSTed values. We take copies of the
22294 # variables and quote the copies for generation of the libtool script.
22295 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22297 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22298 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22299 deplibs_check_method reload_flag reload_cmds need_locks \
22300 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22301 lt_cv_sys_global_symbol_to_c_name_address \
22302 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22303 old_postinstall_cmds old_postuninstall_cmds \
22307 lt_prog_compiler_wl_RC \
22308 lt_prog_compiler_pic_RC \
22309 lt_prog_compiler_static_RC \
22310 lt_prog_compiler_no_builtin_flag_RC \
22311 export_dynamic_flag_spec_RC \
22312 thread_safe_flag_spec_RC \
22313 whole_archive_flag_spec_RC \
22314 enable_shared_with_static_runtimes_RC \
22315 old_archive_cmds_RC \
22316 old_archive_from_new_cmds_RC \
22317 predep_objects_RC \
22318 postdep_objects_RC \
22321 compiler_lib_search_path_RC \
22322 compiler_lib_search_dirs_RC \
22324 archive_expsym_cmds_RC \
22325 postinstall_cmds_RC \
22326 postuninstall_cmds_RC \
22327 old_archive_from_expsyms_cmds_RC \
22328 allow_undefined_flag_RC \
22329 no_undefined_flag_RC \
22330 export_symbols_cmds_RC \
22331 hardcode_libdir_flag_spec_RC \
22332 hardcode_libdir_flag_spec_ld_RC \
22333 hardcode_libdir_separator_RC \
22334 hardcode_automatic_RC \
22336 module_expsym_cmds_RC \
22337 lt_cv_prog_compiler_c_o_RC \
22338 fix_srcfile_path_RC \
22339 exclude_expsyms_RC \
22340 include_expsyms_RC
; do
22343 old_archive_cmds_RC | \
22344 old_archive_from_new_cmds_RC | \
22345 archive_cmds_RC | \
22346 archive_expsym_cmds_RC | \
22348 module_expsym_cmds_RC | \
22349 old_archive_from_expsyms_cmds_RC | \
22350 export_symbols_cmds_RC | \
22351 extract_expsyms_cmds | reload_cmds | finish_cmds | \
22352 postinstall_cmds | postuninstall_cmds | \
22353 old_postinstall_cmds | old_postuninstall_cmds | \
22354 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
22355 # Double-quote double-evaled strings.
22356 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22359 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22365 *'\$0 --fallback-echo"')
22366 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22372 cat <<__EOF__ >> "$cfgfile"
22373 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
22375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22377 # Shell to use when invoking shell scripts.
22380 # Whether or not to build shared libraries.
22381 build_libtool_libs=$enable_shared
22383 # Whether or not to build static libraries.
22384 build_old_libs=$enable_static
22386 # Whether or not to add -lc for building shared libraries.
22387 build_libtool_need_lc=$archive_cmds_need_lc_RC
22389 # Whether or not to disallow shared libs when runtime libs are static
22390 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22392 # Whether or not to optimize for fast installation.
22393 fast_install=$enable_fast_install
22396 host_alias=$host_alias
22400 # The build system.
22401 build_alias=$build_alias
22405 # An echo program that does not interpret backslashes.
22410 AR_FLAGS=$lt_AR_FLAGS
22415 # LTCC compiler flags.
22416 LTCFLAGS=$lt_LTCFLAGS
22418 # A language-specific compiler.
22421 # Is the compiler the GNU C compiler?
22427 # The linker used to build libraries.
22430 # Whether we need hard or soft links.
22433 # A BSD-compatible nm program.
22436 # A symbol stripping program
22439 # Used to examine libraries when file_magic_cmd begins "file"
22440 MAGIC_CMD=$MAGIC_CMD
22442 # Used on cygwin: DLL creation program.
22445 # Used on cygwin: object dumper.
22448 # Used on cygwin: assembler.
22451 # The name of the directory that contains temporary libtool files.
22454 # How to create reloadable object files.
22455 reload_flag=$lt_reload_flag
22456 reload_cmds=$lt_reload_cmds
22458 # How to pass a linker flag through the compiler.
22459 wl=$lt_lt_prog_compiler_wl_RC
22461 # Object file suffix (normally "o").
22462 objext="$ac_objext"
22464 # Old archive suffix (normally "a").
22467 # Shared library suffix (normally ".so").
22468 shrext_cmds='$shrext_cmds'
22470 # Executable file suffix (normally "").
22473 # Additional compiler flags for building library objects.
22474 pic_flag=$lt_lt_prog_compiler_pic_RC
22477 # What is the maximum length of a command?
22478 max_cmd_len=$lt_cv_sys_max_cmd_len
22480 # Does compiler simultaneously support -c and -o options?
22481 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22483 # Must we lock files when doing compilation?
22484 need_locks=$lt_need_locks
22486 # Do we need the lib prefix for modules?
22487 need_lib_prefix=$need_lib_prefix
22489 # Do we need a version for libraries?
22490 need_version=$need_version
22492 # Whether dlopen is supported.
22493 dlopen_support=$enable_dlopen
22495 # Whether dlopen of programs is supported.
22496 dlopen_self=$enable_dlopen_self
22498 # Whether dlopen of statically linked programs is supported.
22499 dlopen_self_static=$enable_dlopen_self_static
22501 # Compiler flag to prevent dynamic linking.
22502 link_static_flag=$lt_lt_prog_compiler_static_RC
22504 # Compiler flag to turn off builtin functions.
22505 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22507 # Compiler flag to allow reflexive dlopens.
22508 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22510 # Compiler flag to generate shared objects directly from archives.
22511 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22513 # Compiler flag to generate thread-safe objects.
22514 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22516 # Library versioning type.
22517 version_type=$version_type
22519 # Format of library name prefix.
22520 libname_spec=$lt_libname_spec
22522 # List of archive names. First name is the real one, the rest are links.
22523 # The last name is the one that the linker finds with -lNAME.
22524 library_names_spec=$lt_library_names_spec
22526 # The coded name of the library, if different from the real name.
22527 soname_spec=$lt_soname_spec
22529 # Commands used to build and install an old-style archive.
22531 old_archive_cmds=$lt_old_archive_cmds_RC
22532 old_postinstall_cmds=$lt_old_postinstall_cmds
22533 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22535 # Create an old-style archive from a shared archive.
22536 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22538 # Create a temporary old-style archive to link instead of a shared archive.
22539 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22541 # Commands used to build and install a shared archive.
22542 archive_cmds=$lt_archive_cmds_RC
22543 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22544 postinstall_cmds=$lt_postinstall_cmds
22545 postuninstall_cmds=$lt_postuninstall_cmds
22547 # Commands used to build a loadable module (assumed same as above if empty)
22548 module_cmds=$lt_module_cmds_RC
22549 module_expsym_cmds=$lt_module_expsym_cmds_RC
22551 # Commands to strip libraries.
22552 old_striplib=$lt_old_striplib
22553 striplib=$lt_striplib
22555 # Dependencies to place before the objects being linked to create a
22557 predep_objects=$lt_predep_objects_RC
22559 # Dependencies to place after the objects being linked to create a
22561 postdep_objects=$lt_postdep_objects_RC
22563 # Dependencies to place before the objects being linked to create a
22565 predeps=$lt_predeps_RC
22567 # Dependencies to place after the objects being linked to create a
22569 postdeps=$lt_postdeps_RC
22571 # The directories searched by this compiler when creating a shared
22573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
22575 # The library search path used internally by the compiler when linking
22576 # a shared library.
22577 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22579 # Method to check whether dependent libraries are shared objects.
22580 deplibs_check_method=$lt_deplibs_check_method
22582 # Command to use when deplibs_check_method == file_magic.
22583 file_magic_cmd=$lt_file_magic_cmd
22585 # Flag that allows shared libraries with undefined symbols to be built.
22586 allow_undefined_flag=$lt_allow_undefined_flag_RC
22588 # Flag that forces no undefined symbols.
22589 no_undefined_flag=$lt_no_undefined_flag_RC
22591 # Commands used to finish a libtool library installation in a directory.
22592 finish_cmds=$lt_finish_cmds
22594 # Same as above, but a single script fragment to be evaled but not shown.
22595 finish_eval=$lt_finish_eval
22597 # Take the output of nm and produce a listing of raw symbols and C names.
22598 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22600 # Transform the output of nm in a proper C declaration
22601 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22603 # Transform the output of nm in a C name address pair
22604 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22606 # This is the shared library runtime path variable.
22607 runpath_var=$runpath_var
22609 # This is the shared library path variable.
22610 shlibpath_var=$shlibpath_var
22612 # Is shlibpath searched before the hard-coded library search path?
22613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22615 # How to hardcode a shared library path into an executable.
22616 hardcode_action=$hardcode_action_RC
22618 # Whether we should hardcode library paths into libraries.
22619 hardcode_into_libs=$hardcode_into_libs
22621 # Flag to hardcode \$libdir into a binary during linking.
22622 # This must work even if \$libdir does not exist.
22623 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22625 # If ld is used when linking, flag to hardcode \$libdir into
22626 # a binary during linking. This must work even if \$libdir does
22628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22630 # Whether we need a single -rpath flag with a separated argument.
22631 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22633 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22634 # resulting binary.
22635 hardcode_direct=$hardcode_direct_RC
22637 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22638 # resulting binary.
22639 hardcode_minus_L=$hardcode_minus_L_RC
22641 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22642 # the resulting binary.
22643 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22645 # Set to yes if building a shared library automatically hardcodes DIR into the library
22646 # and all subsequent libraries and executables linked against it.
22647 hardcode_automatic=$hardcode_automatic_RC
22649 # Variables whose values should be saved in libtool wrapper scripts and
22650 # restored at relink time.
22651 variables_saved_for_relink="$variables_saved_for_relink"
22653 # Whether libtool must link a program against all its dependency libraries.
22654 link_all_deplibs=$link_all_deplibs_RC
22656 # Compile-time system search path for libraries
22657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22659 # Run-time system search path for libraries
22660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22662 # Fix the shell variable \$srcfile for the compiler.
22663 fix_srcfile_path=$lt_fix_srcfile_path
22665 # Set to yes if exported symbols are required.
22666 always_export_symbols=$always_export_symbols_RC
22668 # The commands to list exported symbols.
22669 export_symbols_cmds=$lt_export_symbols_cmds_RC
22671 # The commands to extract the exported symbol list from a shared archive.
22672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22674 # Symbols that should not be listed in the preloaded symbols.
22675 exclude_expsyms=$lt_exclude_expsyms_RC
22677 # Symbols that must always be exported.
22678 include_expsyms=$lt_include_expsyms_RC
22680 # ### END LIBTOOL TAG CONFIG: $tagname
22686 # If there is no Makefile yet, we rely on a make rule to execute
22687 # `config.status --recheck' to rerun these tests and create the
22688 # libtool script then.
22689 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22690 if test -f "$ltmain_in"; then
22691 test -f Makefile
&& make "$ltmain"
22697 ac_cpp
='$CPP $CPPFLAGS'
22698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22707 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22708 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22709 { (exit 1); exit 1; }; }
22713 # Append the new tag name to the list of available tags.
22714 if test -n "$tagname" ; then
22715 available_tags
="$available_tags $tagname"
22721 # Now substitute the updated list of available tags.
22722 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22723 mv "${ofile}T" "$ofile"
22727 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22728 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22729 { (exit 1); exit 1; }; }
22735 # This can be used to rebuild libtool when needed
22736 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
22738 # Always use our own libtool.
22739 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
22741 # Prevent multiple expansion
22764 ac_cpp
='$CXXCPP $CPPFLAGS'
22765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22772 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22773 if test -n "$ac_tool_prefix"; then
22774 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22775 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
22776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22781 case $PKG_CONFIG in
22783 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22787 for as_dir
in $PATH
22790 test -z "$as_dir" && as_dir
=.
22791 for ac_exec_ext
in '' $ac_executable_extensions; do
22792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22793 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22804 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22805 if test -n "$PKG_CONFIG"; then
22806 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22807 echo "${ECHO_T}$PKG_CONFIG" >&6; }
22809 { echo "$as_me:$LINENO: result: no" >&5
22810 echo "${ECHO_T}no" >&6; }
22815 if test -z "$ac_cv_path_PKG_CONFIG"; then
22816 ac_pt_PKG_CONFIG
=$PKG_CONFIG
22817 # Extract the first word of "pkg-config", so it can be a program name with args.
22818 set dummy pkg-config
; ac_word
=$2
22819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22821 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22822 echo $ECHO_N "(cached) $ECHO_C" >&6
22824 case $ac_pt_PKG_CONFIG in
22826 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22830 for as_dir
in $PATH
22833 test -z "$as_dir" && as_dir
=.
22834 for ac_exec_ext
in '' $ac_executable_extensions; do
22835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22836 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22847 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
22848 if test -n "$ac_pt_PKG_CONFIG"; then
22849 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22850 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22852 { echo "$as_me:$LINENO: result: no" >&5
22853 echo "${ECHO_T}no" >&6; }
22856 if test "x$ac_pt_PKG_CONFIG" = x
; then
22859 case $cross_compiling:$ac_tool_warned in
22861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22862 whose name does not start with the host triplet. If you think this
22863 configuration is useful to you, please write to autoconf@gnu.org." >&5
22864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22865 whose name does not start with the host triplet. If you think this
22866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22867 ac_tool_warned
=yes ;;
22869 PKG_CONFIG
=$ac_pt_PKG_CONFIG
22872 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
22876 if test -n "$PKG_CONFIG"; then
22877 _pkg_min_version
=0.9.0
22878 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22879 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22880 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22881 { echo "$as_me:$LINENO: result: yes" >&5
22882 echo "${ECHO_T}yes" >&6; }
22884 { echo "$as_me:$LINENO: result: no" >&5
22885 echo "${ECHO_T}no" >&6; }
22892 { echo "$as_me:$LINENO: checking for BARRY" >&5
22893 echo $ECHO_N "checking for BARRY... $ECHO_C" >&6; }
22895 if test -n "$PKG_CONFIG"; then
22896 if test -n "$BARRY_CFLAGS"; then
22897 pkg_cv_BARRY_CFLAGS
="$BARRY_CFLAGS"
22899 if test -n "$PKG_CONFIG" && \
22900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0\"") >&5
22901 ($PKG_CONFIG --exists --print-errors "libbarry-0") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; then
22905 pkg_cv_BARRY_CFLAGS
=`$PKG_CONFIG --cflags "libbarry-0" 2>/dev/null`
22913 if test -n "$PKG_CONFIG"; then
22914 if test -n "$BARRY_LIBS"; then
22915 pkg_cv_BARRY_LIBS
="$BARRY_LIBS"
22917 if test -n "$PKG_CONFIG" && \
22918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0\"") >&5
22919 ($PKG_CONFIG --exists --print-errors "libbarry-0") 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; then
22923 pkg_cv_BARRY_LIBS
=`$PKG_CONFIG --libs "libbarry-0" 2>/dev/null`
22934 if test $pkg_failed = yes; then
22936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22937 _pkg_short_errors_supported
=yes
22939 _pkg_short_errors_supported
=no
22941 if test $_pkg_short_errors_supported = yes; then
22942 BARRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarry-0"`
22944 BARRY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarry-0"`
22946 # Put the nasty error message in config.log where it belongs
22947 echo "$BARRY_PKG_ERRORS" >&5
22949 { { echo "$as_me:$LINENO: error: Package requirements (libbarry-0) were not met:
22953 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22954 installed software in a non-standard prefix.
22956 Alternatively, you may set the environment variables BARRY_CFLAGS
22957 and BARRY_LIBS to avoid the need to call pkg-config.
22958 See the pkg-config man page for more details.
22960 echo "$as_me: error: Package requirements (libbarry-0) were not met:
22964 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22965 installed software in a non-standard prefix.
22967 Alternatively, you may set the environment variables BARRY_CFLAGS
22968 and BARRY_LIBS to avoid the need to call pkg-config.
22969 See the pkg-config man page for more details.
22971 { (exit 1); exit 1; }; }
22972 elif test $pkg_failed = untried
; then
22973 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22974 is in your PATH or set the PKG_CONFIG environment variable to the full
22975 path to pkg-config.
22977 Alternatively, you may set the environment variables BARRY_CFLAGS
22978 and BARRY_LIBS to avoid the need to call pkg-config.
22979 See the pkg-config man page for more details.
22981 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22982 See \`config.log' for more details." >&5
22983 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22984 is in your PATH or set the PKG_CONFIG environment variable to the full
22985 path to pkg-config.
22987 Alternatively, you may set the environment variables BARRY_CFLAGS
22988 and BARRY_LIBS to avoid the need to call pkg-config.
22989 See the pkg-config man page for more details.
22991 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22992 See \`config.log' for more details." >&2;}
22993 { (exit 1); exit 1; }; }
22995 BARRY_CFLAGS
=$pkg_cv_BARRY_CFLAGS
22996 BARRY_LIBS
=$pkg_cv_BARRY_LIBS
22997 { echo "$as_me:$LINENO: result: yes" >&5
22998 echo "${ECHO_T}yes" >&6; }
23003 { echo "$as_me:$LINENO: checking for BARRYBACKUP" >&5
23004 echo $ECHO_N "checking for BARRYBACKUP... $ECHO_C" >&6; }
23006 if test -n "$PKG_CONFIG"; then
23007 if test -n "$BARRYBACKUP_CFLAGS"; then
23008 pkg_cv_BARRYBACKUP_CFLAGS
="$BARRYBACKUP_CFLAGS"
23010 if test -n "$PKG_CONFIG" && \
23011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarrybackup-0\"") >&5
23012 ($PKG_CONFIG --exists --print-errors "libbarrybackup-0") 2>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; then
23016 pkg_cv_BARRYBACKUP_CFLAGS
=`$PKG_CONFIG --cflags "libbarrybackup-0" 2>/dev/null`
23024 if test -n "$PKG_CONFIG"; then
23025 if test -n "$BARRYBACKUP_LIBS"; then
23026 pkg_cv_BARRYBACKUP_LIBS
="$BARRYBACKUP_LIBS"
23028 if test -n "$PKG_CONFIG" && \
23029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarrybackup-0\"") >&5
23030 ($PKG_CONFIG --exists --print-errors "libbarrybackup-0") 2>&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; then
23034 pkg_cv_BARRYBACKUP_LIBS
=`$PKG_CONFIG --libs "libbarrybackup-0" 2>/dev/null`
23045 if test $pkg_failed = yes; then
23047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23048 _pkg_short_errors_supported
=yes
23050 _pkg_short_errors_supported
=no
23052 if test $_pkg_short_errors_supported = yes; then
23053 BARRYBACKUP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarrybackup-0"`
23055 BARRYBACKUP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarrybackup-0"`
23057 # Put the nasty error message in config.log where it belongs
23058 echo "$BARRYBACKUP_PKG_ERRORS" >&5
23060 { { echo "$as_me:$LINENO: error: Package requirements (libbarrybackup-0) were not met:
23062 $BARRYBACKUP_PKG_ERRORS
23064 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23065 installed software in a non-standard prefix.
23067 Alternatively, you may set the environment variables BARRYBACKUP_CFLAGS
23068 and BARRYBACKUP_LIBS to avoid the need to call pkg-config.
23069 See the pkg-config man page for more details.
23071 echo "$as_me: error: Package requirements (libbarrybackup-0) were not met:
23073 $BARRYBACKUP_PKG_ERRORS
23075 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23076 installed software in a non-standard prefix.
23078 Alternatively, you may set the environment variables BARRYBACKUP_CFLAGS
23079 and BARRYBACKUP_LIBS to avoid the need to call pkg-config.
23080 See the pkg-config man page for more details.
23082 { (exit 1); exit 1; }; }
23083 elif test $pkg_failed = untried
; then
23084 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23085 is in your PATH or set the PKG_CONFIG environment variable to the full
23086 path to pkg-config.
23088 Alternatively, you may set the environment variables BARRYBACKUP_CFLAGS
23089 and BARRYBACKUP_LIBS to avoid the need to call pkg-config.
23090 See the pkg-config man page for more details.
23092 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23093 See \`config.log' for more details." >&5
23094 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23095 is in your PATH or set the PKG_CONFIG environment variable to the full
23096 path to pkg-config.
23098 Alternatively, you may set the environment variables BARRYBACKUP_CFLAGS
23099 and BARRYBACKUP_LIBS to avoid the need to call pkg-config.
23100 See the pkg-config man page for more details.
23102 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23103 See \`config.log' for more details." >&2;}
23104 { (exit 1); exit 1; }; }
23106 BARRYBACKUP_CFLAGS
=$pkg_cv_BARRYBACKUP_CFLAGS
23107 BARRYBACKUP_LIBS
=$pkg_cv_BARRYBACKUP_LIBS
23108 { echo "$as_me:$LINENO: result: yes" >&5
23109 echo "${ECHO_T}yes" >&6; }
23114 { echo "$as_me:$LINENO: checking for GTKMM" >&5
23115 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
23117 if test -n "$PKG_CONFIG"; then
23118 if test -n "$GTKMM_CFLAGS"; then
23119 pkg_cv_GTKMM_CFLAGS
="$GTKMM_CFLAGS"
23121 if test -n "$PKG_CONFIG" && \
23122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 libglademm-2.4 gthread-2.0\"") >&5
23123 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0") 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; then
23127 pkg_cv_GTKMM_CFLAGS
=`$PKG_CONFIG --cflags "gtkmm-2.4 libglademm-2.4 gthread-2.0" 2>/dev/null`
23135 if test -n "$PKG_CONFIG"; then
23136 if test -n "$GTKMM_LIBS"; then
23137 pkg_cv_GTKMM_LIBS
="$GTKMM_LIBS"
23139 if test -n "$PKG_CONFIG" && \
23140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 libglademm-2.4 gthread-2.0\"") >&5
23141 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0") 2>&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; then
23145 pkg_cv_GTKMM_LIBS
=`$PKG_CONFIG --libs "gtkmm-2.4 libglademm-2.4 gthread-2.0" 2>/dev/null`
23156 if test $pkg_failed = yes; then
23158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23159 _pkg_short_errors_supported
=yes
23161 _pkg_short_errors_supported
=no
23163 if test $_pkg_short_errors_supported = yes; then
23164 GTKMM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0"`
23166 GTKMM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0"`
23168 # Put the nasty error message in config.log where it belongs
23169 echo "$GTKMM_PKG_ERRORS" >&5
23171 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 libglademm-2.4 gthread-2.0) were not met:
23175 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23176 installed software in a non-standard prefix.
23178 Alternatively, you may set the environment variables GTKMM_CFLAGS
23179 and GTKMM_LIBS to avoid the need to call pkg-config.
23180 See the pkg-config man page for more details.
23182 echo "$as_me: error: Package requirements (gtkmm-2.4 libglademm-2.4 gthread-2.0) were not met:
23186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23187 installed software in a non-standard prefix.
23189 Alternatively, you may set the environment variables GTKMM_CFLAGS
23190 and GTKMM_LIBS to avoid the need to call pkg-config.
23191 See the pkg-config man page for more details.
23193 { (exit 1); exit 1; }; }
23194 elif test $pkg_failed = untried
; then
23195 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23196 is in your PATH or set the PKG_CONFIG environment variable to the full
23197 path to pkg-config.
23199 Alternatively, you may set the environment variables GTKMM_CFLAGS
23200 and GTKMM_LIBS to avoid the need to call pkg-config.
23201 See the pkg-config man page for more details.
23203 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23204 See \`config.log' for more details." >&5
23205 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23206 is in your PATH or set the PKG_CONFIG environment variable to the full
23207 path to pkg-config.
23209 Alternatively, you may set the environment variables GTKMM_CFLAGS
23210 and GTKMM_LIBS to avoid the need to call pkg-config.
23211 See the pkg-config man page for more details.
23213 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23214 See \`config.log' for more details." >&2;}
23215 { (exit 1); exit 1; }; }
23217 GTKMM_CFLAGS
=$pkg_cv_GTKMM_CFLAGS
23218 GTKMM_LIBS
=$pkg_cv_GTKMM_LIBS
23219 { echo "$as_me:$LINENO: result: yes" >&5
23220 echo "${ECHO_T}yes" >&6; }
23224 # Carry the special tree build environment variables from parent configure,
23225 # just in case user is doing a complete tree build with --enable-gui
23229 # Setup gladedir, so src/Makefile.am can use it for the compile
23230 # and for the glade file installations. (glade_DATA)
23231 gladedir
="$datadir/barry/glade/"
23234 # Checks for libraries.
23235 #AC_CHECK_LIB([IOKit], [main])
23237 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
23238 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
23239 if test "${ac_cv_lib_pthread_main+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 ac_check_lib_save_LIBS
=$LIBS
23243 LIBS
="-lpthread $LIBS"
23244 cat >conftest.
$ac_ext <<_ACEOF
23247 cat confdefs.h
>>conftest.
$ac_ext
23248 cat >>conftest.
$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23260 rm -f conftest.
$ac_objext conftest
$ac_exeext
23261 if { (ac_try
="$ac_link"
23262 case "(($ac_try" in
23263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23264 *) ac_try_echo=$ac_try;;
23266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23267 (eval "$ac_link") 2>conftest.er1
23269 grep -v '^ *+' conftest.er1 >conftest.err
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } && {
23274 test -z "$ac_cxx_werror_flag" ||
23275 test ! -s conftest.err
23276 } && test -s conftest$ac_exeext &&
23277 $as_test_x conftest$ac_exeext; then
23278 ac_cv_lib_pthread_main=yes
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.$ac_ext >&5
23283 ac_cv_lib_pthread_main=no
23286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23287 conftest$ac_exeext conftest.$ac_ext
23288 LIBS=$ac_check_lib_save_LIBS
23290 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
23291 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
23292 if test $ac_cv_lib_pthread_main = yes; then
23293 cat >>confdefs.h <<_ACEOF
23294 #define HAVE_LIBPTHREAD 1
23297 LIBS="-lpthread $LIBS"
23301 #AC_CHECK_LIB([libusb], [libusb_init])
23303 # Checks for header files.
23309 ac_header_dirent=no
23310 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23311 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
23312 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
23313 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
23314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23317 cat >conftest.$ac_ext <<_ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 #include <sys/types.h>
23335 rm -f conftest.$ac_objext
23336 if { (ac_try="$ac_compile"
23337 case "(($ac_try" in
23338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23339 *) ac_try_echo
=$ac_try;;
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_compile") 2>conftest.er1
23344 grep -v '^ *+' conftest.er1
>conftest.err
23346 cat conftest.err
>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_cxx_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest.
$ac_objext; then
23352 eval "$as_ac_Header=yes"
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.
$ac_ext >&5
23357 eval "$as_ac_Header=no"
23360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23362 ac_res
=`eval echo '${'$as_ac_Header'}'`
23363 { echo "$as_me:$LINENO: result: $ac_res" >&5
23364 echo "${ECHO_T}$ac_res" >&6; }
23365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23366 cat >>confdefs.h
<<_ACEOF
23367 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
23370 ac_header_dirent
=$ac_hdr; break
23374 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
23375 if test $ac_header_dirent = dirent.h
; then
23376 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
23377 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
23378 if test "${ac_cv_search_opendir+set}" = set; then
23379 echo $ECHO_N "(cached) $ECHO_C" >&6
23381 ac_func_search_save_LIBS
=$LIBS
23382 cat >conftest.
$ac_ext <<_ACEOF
23385 cat confdefs.h
>>conftest.
$ac_ext
23386 cat >>conftest.
$ac_ext <<_ACEOF
23387 /* end confdefs.h. */
23389 /* Override any GCC internal prototype to avoid an error.
23390 Use char because int might match the return type of a GCC
23391 builtin and then its argument prototype would still apply. */
23404 for ac_lib
in '' dir
; do
23405 if test -z "$ac_lib"; then
23406 ac_res
="none required"
23409 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23411 rm -f conftest.
$ac_objext conftest
$ac_exeext
23412 if { (ac_try
="$ac_link"
23413 case "(($ac_try" in
23414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_link") 2>conftest.er1
23420 grep -v '^ *+' conftest.er1 >conftest.err
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } && {
23425 test -z "$ac_cxx_werror_flag" ||
23426 test ! -s conftest.err
23427 } && test -s conftest$ac_exeext &&
23428 $as_test_x conftest$ac_exeext; then
23429 ac_cv_search_opendir=$ac_res
23431 echo "$as_me: failed program was:" >&5
23432 sed 's/^/| /' conftest.$ac_ext >&5
23437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23439 if test "${ac_cv_search_opendir+set}" = set; then
23443 if test "${ac_cv_search_opendir+set}" = set; then
23446 ac_cv_search_opendir=no
23448 rm conftest.$ac_ext
23449 LIBS=$ac_func_search_save_LIBS
23451 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
23452 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
23453 ac_res=$ac_cv_search_opendir
23454 if test "$ac_res" != no; then
23455 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23460 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
23461 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
23462 if test "${ac_cv_search_opendir+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 ac_func_search_save_LIBS=$LIBS
23466 cat >conftest.$ac_ext <<_ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23473 /* Override any GCC internal prototype to avoid an error.
23474 Use char because int might match the return type of a GCC
23475 builtin and then its argument prototype would still apply. */
23488 for ac_lib in '' x; do
23489 if test -z "$ac_lib"; then
23490 ac_res="none required"
23493 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23495 rm -f conftest.$ac_objext conftest$ac_exeext
23496 if { (ac_try="$ac_link"
23497 case "(($ac_try" in
23498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23499 *) ac_try_echo
=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_link") 2>conftest.er1
23504 grep -v '^ *+' conftest.er1
>conftest.err
23506 cat conftest.err
>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_cxx_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest
$ac_exeext &&
23512 $as_test_x conftest
$ac_exeext; then
23513 ac_cv_search_opendir
=$ac_res
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.
$ac_ext >&5
23521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23523 if test "${ac_cv_search_opendir+set}" = set; then
23527 if test "${ac_cv_search_opendir+set}" = set; then
23530 ac_cv_search_opendir
=no
23532 rm conftest.
$ac_ext
23533 LIBS
=$ac_func_search_save_LIBS
23535 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
23536 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
23537 ac_res
=$ac_cv_search_opendir
23538 if test "$ac_res" != no
; then
23539 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23546 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
23547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
23548 if test "${ac_cv_header_stdc+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 cat >conftest.
$ac_ext <<_ACEOF
23554 cat confdefs.h
>>conftest.
$ac_ext
23555 cat >>conftest.
$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 #include <stdlib.h>
23558 #include <stdarg.h>
23559 #include <string.h>
23570 rm -f conftest.
$ac_objext
23571 if { (ac_try
="$ac_compile"
23572 case "(($ac_try" in
23573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_compile") 2>conftest.er1
23579 grep -v '^ *+' conftest.er1 >conftest.err
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } && {
23584 test -z "$ac_cxx_werror_flag" ||
23585 test ! -s conftest.err
23586 } && test -s conftest.$ac_objext; then
23587 ac_cv_header_stdc=yes
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.$ac_ext >&5
23592 ac_cv_header_stdc=no
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23597 if test $ac_cv_header_stdc = yes; then
23598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
23599 cat >conftest.$ac_ext <<_ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #include <string.h>
23608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23609 $EGREP "memchr" >/dev/null 2>&1; then
23612 ac_cv_header_stdc=no
23618 if test $ac_cv_header_stdc = yes; then
23619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
23620 cat >conftest.$ac_ext <<_ACEOF
23623 cat confdefs.h >>conftest.$ac_ext
23624 cat >>conftest.$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23626 #include <stdlib.h>
23629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23630 $EGREP "free" >/dev/null 2>&1; then
23633 ac_cv_header_stdc=no
23639 if test $ac_cv_header_stdc = yes; then
23640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
23641 if test "$cross_compiling" = yes; then
23644 cat >conftest.$ac_ext <<_ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23651 #include <stdlib.h>
23652 #if ((' ' & 0x0FF) == 0x020)
23653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
23654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
23656 # define ISLOWER(c) \
23657 (('a' <= (c) && (c) <= 'i') \
23658 || ('j' <= (c) && (c) <= 'r') \
23659 || ('s' <= (c) && (c) <= 'z'))
23660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
23663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
23668 for (i = 0; i < 256; i++)
23669 if (XOR (islower (i), ISLOWER (i))
23670 || toupper (i) != TOUPPER (i))
23675 rm -f conftest$ac_exeext
23676 if { (ac_try="$ac_link"
23677 case "(($ac_try" in
23678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23679 *) ac_try_echo
=$ac_try;;
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_link") 2>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23686 { (case "(($ac_try" in
23687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23688 *) ac_try_echo=$ac_try;;
23690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23691 (eval "$ac_try") 2>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); }; }; then
23697 echo "$as_me: program exited with status $ac_status" >&5
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23701 ( exit $ac_status )
23702 ac_cv_header_stdc=no
23704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23710 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
23711 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
23712 if test $ac_cv_header_stdc = yes; then
23714 cat >>confdefs.h <<\_ACEOF
23715 #define STDC_HEADERS 1
23723 for ac_header in assert.h stdint.h time.h
23725 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 ac_res=`eval echo '${'$as_ac_Header'}'`
23733 { echo "$as_me:$LINENO: result: $ac_res" >&5
23734 echo "${ECHO_T}$ac_res" >&6; }
23736 # Is the header compilable?
23737 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23739 cat >conftest.$ac_ext <<_ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 $ac_includes_default
23746 #include <$ac_header>
23748 rm -f conftest.$ac_objext
23749 if { (ac_try="$ac_compile"
23750 case "(($ac_try" in
23751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23752 *) ac_try_echo
=$ac_try;;
23754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23755 (eval "$ac_compile") 2>conftest.er1
23757 grep -v '^ *+' conftest.er1
>conftest.err
23759 cat conftest.err
>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); } && {
23762 test -z "$ac_cxx_werror_flag" ||
23763 test ! -s conftest.err
23764 } && test -s conftest.
$ac_objext; then
23765 ac_header_compiler
=yes
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.
$ac_ext >&5
23770 ac_header_compiler
=no
23773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23774 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23775 echo "${ECHO_T}$ac_header_compiler" >&6; }
23777 # Is the header present?
23778 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23780 cat >conftest.
$ac_ext <<_ACEOF
23783 cat confdefs.h
>>conftest.
$ac_ext
23784 cat >>conftest.
$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786 #include <$ac_header>
23788 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23789 case "(($ac_try" in
23790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23791 *) ac_try_echo=$ac_try;;
23793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23796 grep -v '^ *+' conftest.er1 >conftest.err
23798 cat conftest.err >&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } >/dev/null && {
23801 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23802 test ! -s conftest.err
23804 ac_header_preproc=yes
23806 echo "$as_me: failed program was:" >&5
23807 sed 's/^/| /' conftest.$ac_ext >&5
23809 ac_header_preproc=no
23812 rm -f conftest.err conftest.$ac_ext
23813 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23814 echo "${ECHO_T}$ac_header_preproc" >&6; }
23816 # So? What about this header?
23817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23823 ac_header_preproc=yes
23826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23839 ## ------------------------------------------------ ##
23840 ## Report this to barry-devel@lists.sourceforge.net ##
23841 ## ------------------------------------------------ ##
23843 ) | sed "s/^/$as_me: WARNING: /" >&2
23846 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 eval "$as_ac_Header=\$ac_header_preproc"
23853 ac_res=`eval echo '${'$as_ac_Header'}'`
23854 { echo "$as_me:$LINENO: result: $ac_res" >&5
23855 echo "${ECHO_T}$ac_res" >&6; }
23858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23859 cat >>confdefs.h <<_ACEOF
23860 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23868 # Checks for typedefs, structures, and compiler characteristics.
23870 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23871 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
23872 if test "${ac_cv_header_time+set}" = set; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 cat >conftest.$ac_ext <<_ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881 #include <sys/types.h>
23882 #include <sys/time.h>
23888 if ((struct tm *) 0)
23894 rm -f conftest.$ac_objext
23895 if { (ac_try="$ac_compile"
23896 case "(($ac_try" in
23897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23898 *) ac_try_echo
=$ac_try;;
23900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23901 (eval "$ac_compile") 2>conftest.er1
23903 grep -v '^ *+' conftest.er1
>conftest.err
23905 cat conftest.err
>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } && {
23908 test -z "$ac_cxx_werror_flag" ||
23909 test ! -s conftest.err
23910 } && test -s conftest.
$ac_objext; then
23911 ac_cv_header_time
=yes
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.
$ac_ext >&5
23916 ac_cv_header_time
=no
23919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23921 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23922 echo "${ECHO_T}$ac_cv_header_time" >&6; }
23923 if test $ac_cv_header_time = yes; then
23925 cat >>confdefs.h
<<\_ACEOF
23926 #define TIME_WITH_SYS_TIME 1
23931 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23932 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
23933 if test "${ac_cv_struct_tm+set}" = set; then
23934 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 cat >conftest.
$ac_ext <<_ACEOF
23939 cat confdefs.h
>>conftest.
$ac_ext
23940 cat >>conftest.
$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 #include <sys/types.h>
23949 int *p = &tm.tm_sec;
23955 rm -f conftest.
$ac_objext
23956 if { (ac_try
="$ac_compile"
23957 case "(($ac_try" in
23958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23959 *) ac_try_echo=$ac_try;;
23961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23962 (eval "$ac_compile") 2>conftest.er1
23964 grep -v '^ *+' conftest.er1 >conftest.err
23966 cat conftest.err >&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } && {
23969 test -z "$ac_cxx_werror_flag" ||
23970 test ! -s conftest.err
23971 } && test -s conftest.$ac_objext; then
23972 ac_cv_struct_tm=time.h
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23977 ac_cv_struct_tm=sys/time.h
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23983 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
23984 if test $ac_cv_struct_tm = sys/time.h; then
23986 cat >>confdefs.h <<\_ACEOF
23987 #define TM_IN_SYS_TIME 1
23993 # Checks for library functions.
23994 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
23995 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
23996 if test "${ac_cv_func_closedir_void+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 if test "$cross_compiling" = yes; then
24000 ac_cv_func_closedir_void=yes
24002 cat >conftest.$ac_ext <<_ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 $ac_includes_default
24009 #include <$ac_header_dirent>
24010 #ifndef __cplusplus
24017 return closedir (opendir (".")) != 0;
24022 rm -f conftest$ac_exeext
24023 if { (ac_try="$ac_link"
24024 case "(($ac_try" in
24025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24026 *) ac_try_echo
=$ac_try;;
24028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029 (eval "$ac_link") 2>&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24033 { (case "(($ac_try" in
24034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_try") 2>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; }; then
24042 ac_cv_func_closedir_void=no
24044 echo "$as_me: program exited with status $ac_status" >&5
24045 echo "$as_me: failed program was:" >&5
24046 sed 's/^/| /' conftest.$ac_ext >&5
24048 ( exit $ac_status )
24049 ac_cv_func_closedir_void=yes
24051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24056 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
24057 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
24058 if test $ac_cv_func_closedir_void = yes; then
24060 cat >>confdefs.h <<\_ACEOF
24061 #define CLOSEDIR_VOID 1
24066 if test $ac_cv_c_compiler_gnu = yes; then
24067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
24068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
24069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
24070 echo $ECHO_N "(cached) $ECHO_C" >&6
24072 ac_pattern="Autoconf.*'x'"
24073 cat >conftest.$ac_ext <<_ACEOF
24076 cat confdefs.h >>conftest.$ac_ext
24077 cat >>conftest.$ac_ext <<_ACEOF
24078 /* end confdefs.h. */
24082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24083 $EGREP "$ac_pattern" >/dev/null 2>&1; then
24084 ac_cv_prog_gcc_traditional=yes
24086 ac_cv_prog_gcc_traditional=no
24091 if test $ac_cv_prog_gcc_traditional = no; then
24092 cat >conftest.$ac_ext <<_ACEOF
24095 cat confdefs.h >>conftest.$ac_ext
24096 cat >>conftest.$ac_ext <<_ACEOF
24097 /* end confdefs.h. */
24098 #include <termio.h>
24101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
24103 ac_cv_prog_gcc_traditional=yes
24109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
24110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
24111 if test $ac_cv_prog_gcc_traditional = yes; then
24112 CC="$CC -traditional"
24117 for ac_header in stdlib.h
24119 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
24120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 ac_res=`eval echo '${'$as_ac_Header'}'`
24127 { echo "$as_me:$LINENO: result: $ac_res" >&5
24128 echo "${ECHO_T}$ac_res" >&6; }
24130 # Is the header compilable?
24131 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24133 cat >conftest.$ac_ext <<_ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 $ac_includes_default
24140 #include <$ac_header>
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24146 *) ac_try_echo
=$ac_try;;
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24151 grep -v '^ *+' conftest.er1
>conftest.err
24153 cat conftest.err
>&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.
$ac_objext; then
24159 ac_header_compiler
=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.
$ac_ext >&5
24164 ac_header_compiler
=no
24167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24168 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24169 echo "${ECHO_T}$ac_header_compiler" >&6; }
24171 # Is the header present?
24172 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24174 cat >conftest.
$ac_ext <<_ACEOF
24177 cat confdefs.h
>>conftest.
$ac_ext
24178 cat >>conftest.
$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180 #include <$ac_header>
24182 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24183 case "(($ac_try" in
24184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24185 *) ac_try_echo=$ac_try;;
24187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24190 grep -v '^ *+' conftest.er1 >conftest.err
24192 cat conftest.err >&5
24193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); } >/dev/null && {
24195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24196 test ! -s conftest.err
24198 ac_header_preproc=yes
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.$ac_ext >&5
24203 ac_header_preproc=no
24206 rm -f conftest.err conftest.$ac_ext
24207 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24208 echo "${ECHO_T}$ac_header_preproc" >&6; }
24210 # So? What about this header?
24211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24217 ac_header_preproc=yes
24220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24233 ## ------------------------------------------------ ##
24234 ## Report this to barry-devel@lists.sourceforge.net ##
24235 ## ------------------------------------------------ ##
24237 ) | sed "s/^/$as_me: WARNING: /" >&2
24240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 eval "$as_ac_Header=\$ac_header_preproc"
24247 ac_res=`eval echo '${'$as_ac_Header'}'`
24248 { echo "$as_me:$LINENO: result: $ac_res" >&5
24249 echo "${ECHO_T}$ac_res" >&6; }
24252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24253 cat >>confdefs.h <<_ACEOF
24254 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
24261 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
24262 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
24263 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 if test "$cross_compiling" = yes; then
24267 ac_cv_func_malloc_0_nonnull=no
24269 cat >conftest.$ac_ext <<_ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
24276 # include <stdlib.h>
24284 return ! malloc (0);
24289 rm -f conftest$ac_exeext
24290 if { (ac_try="$ac_link"
24291 case "(($ac_try" in
24292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24293 *) ac_try_echo
=$ac_try;;
24295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24296 (eval "$ac_link") 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24300 { (case "(($ac_try" in
24301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24302 *) ac_try_echo=$ac_try;;
24304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24305 (eval "$ac_try") 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; }; then
24309 ac_cv_func_malloc_0_nonnull=yes
24311 echo "$as_me: program exited with status $ac_status" >&5
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24315 ( exit $ac_status )
24316 ac_cv_func_malloc_0_nonnull=no
24318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24323 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
24324 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
24325 if test $ac_cv_func_malloc_0_nonnull = yes; then
24327 cat >>confdefs.h <<\_ACEOF
24328 #define HAVE_MALLOC 1
24332 cat >>confdefs.h <<\_ACEOF
24333 #define HAVE_MALLOC 0
24336 case " $LIBOBJS " in
24337 *" malloc.$ac_objext "* ) ;;
24338 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
24343 cat >>confdefs.h <<\_ACEOF
24344 #define malloc rpl_malloc
24355 for ac_header in $ac_header_list
24357 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
24358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 ac_res=`eval echo '${'$as_ac_Header'}'`
24365 { echo "$as_me:$LINENO: result: $ac_res" >&5
24366 echo "${ECHO_T}$ac_res" >&6; }
24368 # Is the header compilable?
24369 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24371 cat >conftest.$ac_ext <<_ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377 $ac_includes_default
24378 #include <$ac_header>
24380 rm -f conftest.$ac_objext
24381 if { (ac_try="$ac_compile"
24382 case "(($ac_try" in
24383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24384 *) ac_try_echo
=$ac_try;;
24386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24387 (eval "$ac_compile") 2>conftest.er1
24389 grep -v '^ *+' conftest.er1
>conftest.err
24391 cat conftest.err
>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } && {
24394 test -z "$ac_cxx_werror_flag" ||
24395 test ! -s conftest.err
24396 } && test -s conftest.
$ac_objext; then
24397 ac_header_compiler
=yes
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.
$ac_ext >&5
24402 ac_header_compiler
=no
24405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24406 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24407 echo "${ECHO_T}$ac_header_compiler" >&6; }
24409 # Is the header present?
24410 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24412 cat >conftest.
$ac_ext <<_ACEOF
24415 cat confdefs.h
>>conftest.
$ac_ext
24416 cat >>conftest.
$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 #include <$ac_header>
24420 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24421 case "(($ac_try" in
24422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24423 *) ac_try_echo=$ac_try;;
24425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24428 grep -v '^ *+' conftest.er1 >conftest.err
24430 cat conftest.err >&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); } >/dev/null && {
24433 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24434 test ! -s conftest.err
24436 ac_header_preproc=yes
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24441 ac_header_preproc=no
24444 rm -f conftest.err conftest.$ac_ext
24445 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24446 echo "${ECHO_T}$ac_header_preproc" >&6; }
24448 # So? What about this header?
24449 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24455 ac_header_preproc=yes
24458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24471 ## ------------------------------------------------ ##
24472 ## Report this to barry-devel@lists.sourceforge.net ##
24473 ## ------------------------------------------------ ##
24475 ) | sed "s/^/$as_me: WARNING: /" >&2
24478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 eval "$as_ac_Header=\$ac_header_preproc"
24485 ac_res=`eval echo '${'$as_ac_Header'}'`
24486 { echo "$as_me:$LINENO: result: $ac_res" >&5
24487 echo "${ECHO_T}$ac_res" >&6; }
24490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24491 cat >>confdefs.h <<_ACEOF
24492 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
24507 for ac_func in $ac_func_list
24509 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
24510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 cat >conftest.$ac_ext <<_ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24523 #define $ac_func innocuous_$ac_func
24525 /* System header to define __stub macros and hopefully few prototypes,
24526 which can conflict with char $ac_func (); below.
24527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24528 <limits.h> exists even on freestanding compilers. */
24531 # include <limits.h>
24533 # include <assert.h>
24538 /* Override any GCC internal prototype to avoid an error.
24539 Use char because int might match the return type of a GCC
24540 builtin and then its argument prototype would still apply. */
24545 /* The GNU C library defines this for functions which it implements
24546 to always fail with ENOSYS. Some functions are actually named
24547 something starting with __ and the normal name is an alias. */
24548 #if defined __stub_$ac_func || defined __stub___$ac_func
24555 return $ac_func ();
24560 rm -f conftest.$ac_objext conftest$ac_exeext
24561 if { (ac_try="$ac_link"
24562 case "(($ac_try" in
24563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24564 *) ac_try_echo
=$ac_try;;
24566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24567 (eval "$ac_link") 2>conftest.er1
24569 grep -v '^ *+' conftest.er1
>conftest.err
24571 cat conftest.err
>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } && {
24574 test -z "$ac_cxx_werror_flag" ||
24575 test ! -s conftest.err
24576 } && test -s conftest
$ac_exeext &&
24577 $as_test_x conftest
$ac_exeext; then
24578 eval "$as_ac_var=yes"
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.
$ac_ext >&5
24583 eval "$as_ac_var=no"
24586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24587 conftest
$ac_exeext conftest.
$ac_ext
24589 ac_res
=`eval echo '${'$as_ac_var'}'`
24590 { echo "$as_me:$LINENO: result: $ac_res" >&5
24591 echo "${ECHO_T}$ac_res" >&6; }
24592 if test `eval echo '${'$as_ac_var'}'` = yes; then
24593 cat >>confdefs.h
<<_ACEOF
24594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24616 { echo "$as_me:$LINENO: checking for working mktime" >&5
24617 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
24618 if test "${ac_cv_func_working_mktime+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 if test "$cross_compiling" = yes; then
24622 ac_cv_func_working_mktime
=no
24624 cat >conftest.
$ac_ext <<_ACEOF
24627 cat confdefs.h
>>conftest.
$ac_ext
24628 cat >>conftest.
$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630 /* Test program from Paul Eggert and Tony Leneis. */
24631 #ifdef TIME_WITH_SYS_TIME
24632 # include <sys/time.h>
24635 # ifdef HAVE_SYS_TIME_H
24636 # include <sys/time.h>
24642 #include <limits.h>
24643 #include <stdlib.h>
24645 #ifdef HAVE_UNISTD_H
24646 # include <unistd.h>
24650 # define alarm(X) /* empty */
24653 /* Work around redefinition to rpl_putenv by other config tests. */
24656 static time_t time_t_max;
24657 static time_t time_t_min;
24659 /* Values we'll use to set the TZ environment variable. */
24660 static char *tz_strings[] = {
24661 (char *) 0, "TZ=GMT0", "TZ=JST-9",
24662 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
24664 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
24666 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
24667 Based on a problem report from Andreas Jaeger. */
24669 spring_forward_gap ()
24671 /* glibc (up to about 1998-10-07) failed this test. */
24674 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
24675 instead of "TZ=America/Vancouver" in order to detect the bug even
24676 on systems that don't support the Olson extension, or don't have the
24677 full zoneinfo tables installed. */
24678 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
24687 return mktime (&tm) != (time_t) -1;
24695 return ! (lt = localtime (&now)) || mktime (lt) == now;
24702 return (mktime_test1 (now)
24703 && mktime_test1 ((time_t) (time_t_max - now))
24704 && mktime_test1 ((time_t) (time_t_min + now)));
24710 /* Based on code from Ariel Faigon. */
24720 return tm.tm_mon == 2 && tm.tm_mday == 31;
24729 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
24730 now = mktime (&tm);
24731 if (now != (time_t) -1)
24733 struct tm *lt = localtime (&now);
24735 && lt->tm_year == tm.tm_year
24736 && lt->tm_mon == tm.tm_mon
24737 && lt->tm_mday == tm.tm_mday
24738 && lt->tm_hour == tm.tm_hour
24739 && lt->tm_min == tm.tm_min
24740 && lt->tm_sec == tm.tm_sec
24741 && lt->tm_yday == tm.tm_yday
24742 && lt->tm_wday == tm.tm_wday
24743 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
24744 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
24753 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
24754 ignoring leap seconds. */
24755 unsigned long int answer = 2527315200UL;
24759 tm.tm_year = 2050 - 1900;
24762 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
24765 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
24766 instead of "TZ=America/Vancouver" in order to detect the bug even
24767 on systems that don't support the Olson extension, or don't have the
24768 full zoneinfo tables installed. */
24769 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
24773 /* Check that the result is either a failure, or close enough
24774 to the correct answer that we can assume the discrepancy is
24775 due to leap seconds. */
24776 return (t == (time_t) -1
24777 || (0 < t && answer - 120 <= t && t <= answer + 120));
24786 /* This test makes some buggy mktime implementations loop.
24787 Give up after 60 seconds; a mktime slower than that
24788 isn't worth using anyway. */
24793 t = (time_t_max << 1) + 1;
24794 if (t <= time_t_max)
24798 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
24800 delta = time_t_max / 997; /* a suitable prime number */
24801 for (i = 0; i < N_STRINGS; i++)
24804 putenv (tz_strings[i]);
24806 for (t = 0; t <= time_t_max - delta; t += delta)
24807 if (! mktime_test (t))
24809 if (! (mktime_test ((time_t) 1)
24810 && mktime_test ((time_t) (60 * 60))
24811 && mktime_test ((time_t) (60 * 60 * 24))))
24814 for (j = 1; ; j <<= 1)
24815 if (! bigtime_test (j))
24817 else if (INT_MAX / 2 < j)
24819 if (! bigtime_test (INT_MAX))
24822 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
24825 rm -f conftest
$ac_exeext
24826 if { (ac_try
="$ac_link"
24827 case "(($ac_try" in
24828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_link") 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24836 { (case "(($ac_try" in
24837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24838 *) ac_try_echo
=$ac_try;;
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_try") 2>&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; }; then
24845 ac_cv_func_working_mktime
=yes
24847 echo "$as_me: program exited with status $ac_status" >&5
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.
$ac_ext >&5
24851 ( exit $ac_status )
24852 ac_cv_func_working_mktime
=no
24854 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24859 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
24860 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
24861 if test $ac_cv_func_working_mktime = no
; then
24862 case " $LIBOBJS " in
24863 *" mktime.$ac_objext "* ) ;;
24864 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext"
24871 for ac_header
in stdlib.h
24873 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24874 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24877 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 ac_res
=`eval echo '${'$as_ac_Header'}'`
24881 { echo "$as_me:$LINENO: result: $ac_res" >&5
24882 echo "${ECHO_T}$ac_res" >&6; }
24884 # Is the header compilable?
24885 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24887 cat >conftest.
$ac_ext <<_ACEOF
24890 cat confdefs.h
>>conftest.
$ac_ext
24891 cat >>conftest.
$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 $ac_includes_default
24894 #include <$ac_header>
24896 rm -f conftest.
$ac_objext
24897 if { (ac_try
="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24905 grep -v '^ *+' conftest.er1 >conftest.err
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_cxx_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 ac_header_compiler=yes
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.$ac_ext >&5
24918 ac_header_compiler=no
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24923 echo "${ECHO_T}$ac_header_compiler" >&6; }
24925 # Is the header present?
24926 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24928 cat >conftest.$ac_ext <<_ACEOF
24931 cat confdefs.h >>conftest.$ac_ext
24932 cat >>conftest.$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #include <$ac_header>
24936 if { (ac_try="$ac_cpp conftest.$ac_ext"
24937 case "(($ac_try" in
24938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24939 *) ac_try_echo
=$ac_try;;
24941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24944 grep -v '^ *+' conftest.er1
>conftest.err
24946 cat conftest.err
>&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } >/dev
/null
&& {
24949 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24950 test ! -s conftest.err
24952 ac_header_preproc
=yes
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.
$ac_ext >&5
24957 ac_header_preproc
=no
24960 rm -f conftest.err conftest.
$ac_ext
24961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24962 echo "${ECHO_T}$ac_header_preproc" >&6; }
24964 # So? What about this header?
24965 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24971 ac_header_preproc
=yes
24974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24987 ## ------------------------------------------------ ##
24988 ## Report this to barry-devel@lists.sourceforge.net ##
24989 ## ------------------------------------------------ ##
24991 ) |
sed "s/^/$as_me: WARNING: /" >&2
24994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24996 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 eval "$as_ac_Header=\$ac_header_preproc"
25001 ac_res
=`eval echo '${'$as_ac_Header'}'`
25002 { echo "$as_me:$LINENO: result: $ac_res" >&5
25003 echo "${ECHO_T}$ac_res" >&6; }
25006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25007 cat >>confdefs.h
<<_ACEOF
25008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25015 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
25016 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
25017 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 if test "$cross_compiling" = yes; then
25021 ac_cv_func_realloc_0_nonnull
=no
25023 cat >conftest.
$ac_ext <<_ACEOF
25026 cat confdefs.h
>>conftest.
$ac_ext
25027 cat >>conftest.
$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25029 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
25030 # include <stdlib.h>
25038 return ! realloc (0, 0);
25043 rm -f conftest
$ac_exeext
25044 if { (ac_try
="$ac_link"
25045 case "(($ac_try" in
25046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25047 *) ac_try_echo=$ac_try;;
25049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25050 (eval "$ac_link") 2>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25054 { (case "(($ac_try" in
25055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25056 *) ac_try_echo
=$ac_try;;
25058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25059 (eval "$ac_try") 2>&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; }; then
25063 ac_cv_func_realloc_0_nonnull
=yes
25065 echo "$as_me: program exited with status $ac_status" >&5
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.
$ac_ext >&5
25069 ( exit $ac_status )
25070 ac_cv_func_realloc_0_nonnull
=no
25072 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25077 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
25078 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
25079 if test $ac_cv_func_realloc_0_nonnull = yes; then
25081 cat >>confdefs.h
<<\_ACEOF
25082 #define HAVE_REALLOC 1
25086 cat >>confdefs.h
<<\_ACEOF
25087 #define HAVE_REALLOC 0
25090 case " $LIBOBJS " in
25091 *" realloc.$ac_objext "* ) ;;
25092 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
25097 cat >>confdefs.h
<<\_ACEOF
25098 #define realloc rpl_realloc
25107 for ac_header
in sys
/select.h sys
/socket.h
25109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25110 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25113 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 ac_res
=`eval echo '${'$as_ac_Header'}'`
25117 { echo "$as_me:$LINENO: result: $ac_res" >&5
25118 echo "${ECHO_T}$ac_res" >&6; }
25120 # Is the header compilable?
25121 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25123 cat >conftest.
$ac_ext <<_ACEOF
25126 cat confdefs.h
>>conftest.
$ac_ext
25127 cat >>conftest.
$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129 $ac_includes_default
25130 #include <$ac_header>
25132 rm -f conftest.
$ac_objext
25133 if { (ac_try
="$ac_compile"
25134 case "(($ac_try" in
25135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25136 *) ac_try_echo=$ac_try;;
25138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25139 (eval "$ac_compile") 2>conftest.er1
25141 grep -v '^ *+' conftest.er1 >conftest.err
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } && {
25146 test -z "$ac_cxx_werror_flag" ||
25147 test ! -s conftest.err
25148 } && test -s conftest.$ac_objext; then
25149 ac_header_compiler=yes
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25154 ac_header_compiler=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25159 echo "${ECHO_T}$ac_header_compiler" >&6; }
25161 # Is the header present?
25162 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25164 cat >conftest.$ac_ext <<_ACEOF
25167 cat confdefs.h >>conftest.$ac_ext
25168 cat >>conftest.$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25170 #include <$ac_header>
25172 if { (ac_try="$ac_cpp conftest.$ac_ext"
25173 case "(($ac_try" in
25174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25175 *) ac_try_echo
=$ac_try;;
25177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25180 grep -v '^ *+' conftest.er1
>conftest.err
25182 cat conftest.err
>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } >/dev
/null
&& {
25185 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25186 test ! -s conftest.err
25188 ac_header_preproc
=yes
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.
$ac_ext >&5
25193 ac_header_preproc
=no
25196 rm -f conftest.err conftest.
$ac_ext
25197 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25198 echo "${ECHO_T}$ac_header_preproc" >&6; }
25200 # So? What about this header?
25201 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25207 ac_header_preproc
=yes
25210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25223 ## ------------------------------------------------ ##
25224 ## Report this to barry-devel@lists.sourceforge.net ##
25225 ## ------------------------------------------------ ##
25227 ) |
sed "s/^/$as_me: WARNING: /" >&2
25230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25232 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25233 echo $ECHO_N "(cached) $ECHO_C" >&6
25235 eval "$as_ac_Header=\$ac_header_preproc"
25237 ac_res
=`eval echo '${'$as_ac_Header'}'`
25238 { echo "$as_me:$LINENO: result: $ac_res" >&5
25239 echo "${ECHO_T}$ac_res" >&6; }
25242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25243 cat >>confdefs.h
<<_ACEOF
25244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25251 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
25252 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
25253 if test "${ac_cv_func_select_args+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
25257 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
25258 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
25259 cat >conftest.
$ac_ext <<_ACEOF
25262 cat confdefs.h
>>conftest.
$ac_ext
25263 cat >>conftest.
$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 $ac_includes_default
25266 #ifdef HAVE_SYS_SELECT_H
25267 # include <sys/select.h>
25269 #ifdef HAVE_SYS_SOCKET_H
25270 # include <sys/socket.h>
25276 extern int select ($ac_arg1,
25277 $ac_arg234, $ac_arg234, $ac_arg234,
25283 rm -f conftest.
$ac_objext
25284 if { (ac_try
="$ac_compile"
25285 case "(($ac_try" in
25286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25287 *) ac_try_echo=$ac_try;;
25289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25290 (eval "$ac_compile") 2>conftest.er1
25292 grep -v '^ *+' conftest.er1 >conftest.err
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } && {
25297 test -z "$ac_cxx_werror_flag" ||
25298 test ! -s conftest.err
25299 } && test -s conftest.$ac_objext; then
25300 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25312 # Provide a safe default value.
25313 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
25316 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
25317 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
25318 ac_save_IFS=$IFS; IFS=','
25319 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
25323 cat >>confdefs.h <<_ACEOF
25324 #define SELECT_TYPE_ARG1 $1
25328 cat >>confdefs.h <<_ACEOF
25329 #define SELECT_TYPE_ARG234 ($2)
25333 cat >>confdefs.h <<_ACEOF
25334 #define SELECT_TYPE_ARG5 ($3)
25339 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
25340 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
25341 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 rm -f conftest.sym conftest.file
25345 echo >conftest.file
25346 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
25347 if test "$cross_compiling" = yes; then
25348 ac_cv_func_lstat_dereferences_slashed_symlink=no
25350 cat >conftest.$ac_ext <<_ACEOF
25353 cat confdefs.h >>conftest.$ac_ext
25354 cat >>conftest.$ac_ext <<_ACEOF
25355 /* end confdefs.h. */
25356 $ac_includes_default
25361 /* Linux will dereference the symlink and fail.
25362 That is better in the sense that it means we will not
25363 have to compile and use the lstat wrapper. */
25364 return lstat ("conftest.sym/", &sbuf) == 0;
25369 rm -f conftest$ac_exeext
25370 if { (ac_try="$ac_link"
25371 case "(($ac_try" in
25372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25373 *) ac_try_echo
=$ac_try;;
25375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25376 (eval "$ac_link") 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; }; then
25389 ac_cv_func_lstat_dereferences_slashed_symlink=yes
25391 echo "$as_me: program exited with status $ac_status" >&5
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25395 ( exit $ac_status )
25396 ac_cv_func_lstat_dereferences_slashed_symlink=no
25398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25403 # If the `ln -s' command failed, then we probably don't even
25404 # have an lstat function.
25405 ac_cv_func_lstat_dereferences_slashed_symlink
=no
25407 rm -f conftest.sym conftest.
file
25410 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
25411 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
25413 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
25415 cat >>confdefs.h
<<_ACEOF
25416 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
25420 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
25421 case " $LIBOBJS " in
25422 *" lstat.$ac_objext "* ) ;;
25423 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
25429 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
25430 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
25431 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 if test "$cross_compiling" = yes; then
25435 ac_cv_func_stat_empty_string_bug
=yes
25437 cat >conftest.
$ac_ext <<_ACEOF
25440 cat confdefs.h
>>conftest.
$ac_ext
25441 cat >>conftest.
$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25443 $ac_includes_default
25448 return stat ("", &sbuf) == 0;
25453 rm -f conftest
$ac_exeext
25454 if { (ac_try
="$ac_link"
25455 case "(($ac_try" in
25456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25457 *) ac_try_echo=$ac_try;;
25459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25460 (eval "$ac_link") 2>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25464 { (case "(($ac_try" in
25465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25466 *) ac_try_echo
=$ac_try;;
25468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25469 (eval "$ac_try") 2>&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); }; }; then
25473 ac_cv_func_stat_empty_string_bug
=no
25475 echo "$as_me: program exited with status $ac_status" >&5
25476 echo "$as_me: failed program was:" >&5
25477 sed 's/^/| /' conftest.
$ac_ext >&5
25479 ( exit $ac_status )
25480 ac_cv_func_stat_empty_string_bug
=yes
25482 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25487 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
25488 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
25489 if test $ac_cv_func_stat_empty_string_bug = yes; then
25490 case " $LIBOBJS " in
25491 *" stat.$ac_objext "* ) ;;
25492 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
25497 cat >>confdefs.h
<<_ACEOF
25498 #define HAVE_STAT_EMPTY_STRING_BUG 1
25512 for ac_func
in bzero gettimeofday memset
select strcasecmp strchr strerror strtol strtoul
25514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25515 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25517 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 cat >conftest.
$ac_ext <<_ACEOF
25523 cat confdefs.h
>>conftest.
$ac_ext
25524 cat >>conftest.
$ac_ext <<_ACEOF
25525 /* end confdefs.h. */
25526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25528 #define $ac_func innocuous_$ac_func
25530 /* System header to define __stub macros and hopefully few prototypes,
25531 which can conflict with char $ac_func (); below.
25532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25533 <limits.h> exists even on freestanding compilers. */
25536 # include <limits.h>
25538 # include <assert.h>
25543 /* Override any GCC internal prototype to avoid an error.
25544 Use char because int might match the return type of a GCC
25545 builtin and then its argument prototype would still apply. */
25550 /* The GNU C library defines this for functions which it implements
25551 to always fail with ENOSYS. Some functions are actually named
25552 something starting with __ and the normal name is an alias. */
25553 #if defined __stub_$ac_func || defined __stub___$ac_func
25560 return $ac_func ();
25565 rm -f conftest.
$ac_objext conftest
$ac_exeext
25566 if { (ac_try
="$ac_link"
25567 case "(($ac_try" in
25568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_link") 2>conftest.er1
25574 grep -v '^ *+' conftest.er1 >conftest.err
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest$ac_exeext &&
25582 $as_test_x conftest$ac_exeext; then
25583 eval "$as_ac_var=yes"
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25588 eval "$as_ac_var=no"
25591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25592 conftest$ac_exeext conftest.$ac_ext
25594 ac_res=`eval echo '${'$as_ac_var'}'`
25595 { echo "$as_me:$LINENO: result: $ac_res" >&5
25596 echo "${ECHO_T}$ac_res" >&6; }
25597 if test `eval echo '${'$as_ac_var'}'` = yes; then
25598 cat >>confdefs.h <<_ACEOF
25599 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
25606 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile man/Makefile"
25608 cat >confcache <<\_ACEOF
25609 # This file is a shell script that caches the results of configure
25610 # tests run on this system so they can be shared between configure
25611 # scripts and configure runs, see configure's option --config-cache.
25612 # It is not useful on other systems. If it contains results you don't
25613 # want to keep, you may remove or edit it.
25615 # config.status only pays attention to the cache file if you give it
25616 # the --recheck option to rerun configure.
25618 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25620 # following values.
25624 # The following way of writing the cache mishandles newlines in values,
25625 # but we know of no workaround that is simple, portable, and efficient.
25626 # So, we kill variables containing newlines.
25627 # Ultrix sh set writes to stderr and can't be redirected directly,
25628 # and sets the high bit in the cache file unless we assign to the vars.
25630 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25631 eval ac_val
=\$
$ac_var
25635 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25636 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25639 _ | IFS | as_nl
) ;; #(
25640 *) $as_unset $ac_var ;;
25646 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25647 *${as_nl}ac_space
=\
*)
25648 # `set' does not quote correctly, so add quotes (double-quote
25649 # substitution turns \\\\ into \\, and sed turns \\ into \).
25652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25655 # `set' quotes correctly as required by POSIX, so do not add quotes.
25656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25669 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25670 if test -w "$cache_file"; then
25671 test "x$cache_file" != "x/dev/null" &&
25672 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25673 echo "$as_me: updating cache $cache_file" >&6;}
25674 cat confcache
>$cache_file
25676 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25677 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25682 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25683 # Let make expand exec_prefix.
25684 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25686 DEFS
=-DHAVE_CONFIG_H
25690 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25691 # 1. Remove the extension, and $U if already installed.
25692 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25693 ac_i
=`echo "$ac_i" | sed "$ac_script"`
25694 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25695 # will be set to the directory where LIBOBJS objects are built.
25696 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25697 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25699 LIBOBJS
=$ac_libobjs
25701 LTLIBOBJS
=$ac_ltlibobjs
25704 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25705 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25706 Usually this means the macro was only invoked conditionally." >&5
25707 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25708 Usually this means the macro was only invoked conditionally." >&2;}
25709 { (exit 1); exit 1; }; }
25711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25712 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25713 Usually this means the macro was only invoked conditionally." >&5
25714 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25715 Usually this means the macro was only invoked conditionally." >&2;}
25716 { (exit 1); exit 1; }; }
25718 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25719 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25720 Usually this means the macro was only invoked conditionally." >&5
25721 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25722 Usually this means the macro was only invoked conditionally." >&2;}
25723 { (exit 1); exit 1; }; }
25725 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25726 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25727 Usually this means the macro was only invoked conditionally." >&5
25728 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25729 Usually this means the macro was only invoked conditionally." >&2;}
25730 { (exit 1); exit 1; }; }
25733 : ${CONFIG_STATUS=./config.status}
25734 ac_clean_files_save
=$ac_clean_files
25735 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25736 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25737 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25738 cat >$CONFIG_STATUS <<_ACEOF
25740 # Generated by $as_me.
25741 # Run this file to recreate the current configuration.
25742 # Compiler output produced by configure, useful for debugging
25743 # configure, is in config.log if it exists.
25746 ac_cs_recheck=false
25748 SHELL=\${CONFIG_SHELL-$SHELL}
25751 cat >>$CONFIG_STATUS <<\_ACEOF
25752 ## --------------------- ##
25753 ## M4sh Initialization. ##
25754 ## --------------------- ##
25756 # Be more Bourne compatible
25757 DUALCASE
=1; export DUALCASE
# for MKS sh
25758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25761 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25762 # is contrary to our usage. Disable this feature.
25763 alias -g '${1+"$@"}'='"$@"'
25764 setopt NO_GLOB_SUBST
25766 case `(set -o) 2>/dev/null` in
25767 *posix
*) set -o posix
;;
25776 # Avoid depending upon Character Ranges.
25777 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25778 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25779 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25780 as_cr_digits
='0123456789'
25781 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25783 # The user is always right.
25784 if test "${PATH_SEPARATOR+set}" != set; then
25785 echo "#! /bin/sh" >conf$$.sh
25786 echo "exit 0" >>conf$$.sh
25788 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25796 # Support unset when possible.
25797 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
25805 # We need space, tab and new line, in precisely that order. Quoting is
25806 # there to prevent editors from complaining about space-tab.
25807 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25808 # splitting by setting IFS to empty value.)
25813 # Find who we are. Look in the path if we contain no directory separator.
25815 *[\\/]* ) as_myself
=$0 ;;
25816 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25817 for as_dir
in $PATH
25820 test -z "$as_dir" && as_dir
=.
25821 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25827 # We did not find ourselves, most probably we were run as `sh COMMAND'
25828 # in which case we are not to be found in the path.
25829 if test "x$as_myself" = x
; then
25832 if test ! -f "$as_myself"; then
25833 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25834 { (exit 1); exit 1; }
25837 # Work around bugs in pre-3.0 UWIN ksh.
25838 for as_var
in ENV MAIL MAILPATH
25839 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25847 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25848 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25849 LC_TELEPHONE LC_TIME
25851 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25852 eval $as_var=C
; export $as_var
25854 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25858 # Required to use basename.
25859 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25860 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25866 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25867 as_basename
=basename
25873 # Name of the executable.
25874 as_me
=`$as_basename -- "$0" ||
25875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25876 X"$0" : 'X\(//\)$' \| \
25877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25879 sed '/^.*\/\([^/][^/]*\)\/*$/{
25898 as_lineno_1
=$LINENO
25899 as_lineno_2
=$LINENO
25900 test "x$as_lineno_1" != "x$as_lineno_2" &&
25901 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
25903 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25904 # uniformly replaced by the line number. The first 'sed' inserts a
25905 # line-number line after each line using $LINENO; the second 'sed'
25906 # does the real work. The second script uses 'N' to pair each
25907 # line-number line with the line containing $LINENO, and appends
25908 # trailing '-' during substitution so that $LINENO is not a special
25909 # case at line end.
25910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25911 # scripts with optimization help from Paolo Bonzini. Blame Lee
25912 # E. McMahon (1931-1989) for sed's syntax. :-)
25924 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25927 ' >$as_me.lineno
&&
25928 chmod +x
"$as_me.lineno" ||
25929 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25930 { (exit 1); exit 1; }; }
25932 # Don't try to exec as it changes $[0], causing all sort of problems
25933 # (the dirname of $[0] is not the place where we might find the
25934 # original and so on. Autoconf is especially sensitive to this).
25935 .
"./$as_me.lineno"
25936 # Exit status is that of the last command.
25941 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25947 ECHO_C
= ECHO_N
= ECHO_T
=
25948 case `echo -n x` in
25950 case `echo 'x\c'` in
25951 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25958 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25959 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25965 rm -f conf$$ conf$$.exe conf$$.
file
25966 if test -d conf$$.dir
; then
25967 rm -f conf$$.dir
/conf$$.
file
25973 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25975 # ... but there are two gotchas:
25976 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25977 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25978 # In both cases, we have to default to `cp -p'.
25979 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25981 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25986 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25987 rmdir conf$$.dir
2>/dev
/null
25989 if mkdir
-p .
2>/dev
/null
; then
25992 test -d .
/-p && rmdir .
/-p
25996 if test -x / >/dev
/null
2>&1; then
25997 as_test_x
='test -x'
25999 if ls -dL / >/dev
/null
2>&1; then
26006 if test -d "$1"; then
26012 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26013 ???[sx]*):;;*)false;;esac;fi
26017 as_executable_p
=$as_test_x
26019 # Sed expression to map a string onto a valid CPP name.
26020 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26022 # Sed expression to map a string onto a valid variable name.
26023 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26028 # Save the log message, to keep $[0] and so on meaningful, and to
26029 # report actual input values of CONFIG_FILES etc. instead of their
26030 # values after options handling.
26032 This file was extended by barry-backup $as_me 0.17, which was
26033 generated by GNU Autoconf 2.61. Invocation command line was
26035 CONFIG_FILES = $CONFIG_FILES
26036 CONFIG_HEADERS = $CONFIG_HEADERS
26037 CONFIG_LINKS = $CONFIG_LINKS
26038 CONFIG_COMMANDS = $CONFIG_COMMANDS
26041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26046 cat >>$CONFIG_STATUS <<_ACEOF
26047 # Files that config.status was made for.
26048 config_files="$ac_config_files"
26049 config_headers="$ac_config_headers"
26050 config_commands="$ac_config_commands"
26054 cat >>$CONFIG_STATUS <<\_ACEOF
26056 \`$as_me' instantiates files from templates according to the
26057 current configuration.
26059 Usage: $0 [OPTIONS] [FILE]...
26061 -h, --help print this help, then exit
26062 -V, --version print version number and configuration settings, then exit
26063 -q, --quiet do not print progress messages
26064 -d, --debug don't remove temporary files
26065 --recheck update $as_me by reconfiguring in the same conditions
26066 --file=FILE[:TEMPLATE]
26067 instantiate the configuration file FILE
26068 --header=FILE[:TEMPLATE]
26069 instantiate the configuration header FILE
26071 Configuration files:
26074 Configuration headers:
26077 Configuration commands:
26080 Report bugs to <bug-autoconf@gnu.org>."
26083 cat >>$CONFIG_STATUS <<_ACEOF
26085 barry-backup config.status 0.17
26086 configured by $0, generated by GNU Autoconf 2.61,
26087 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26089 Copyright (C) 2006 Free Software Foundation, Inc.
26090 This config.status script is free software; the Free Software Foundation
26091 gives unlimited permission to copy, distribute and modify it."
26099 cat >>$CONFIG_STATUS <<\_ACEOF
26100 # If no file are specified by the user, then we need to provide default
26101 # value. By we need to know if files were specified by the user.
26107 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26108 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26119 # Handling of the options.
26120 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26122 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26123 echo "$ac_cs_version"; exit ;;
26124 --debug |
--debu |
--deb |
--de |
--d |
-d )
26126 --file |
--fil |
--fi |
--f )
26128 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26129 ac_need_defaults
=false
;;
26130 --header |
--heade |
--head |
--hea )
26132 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26133 ac_need_defaults
=false
;;
26135 # Conflict between --help and --header
26136 { echo "$as_me: error: ambiguous option: $1
26137 Try \`$0 --help' for more information." >&2
26138 { (exit 1); exit 1; }; };;
26139 --help |
--hel |
-h )
26140 echo "$ac_cs_usage"; exit ;;
26141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26142 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26145 # This is an error.
26146 -*) { echo "$as_me: error: unrecognized option: $1
26147 Try \`$0 --help' for more information." >&2
26148 { (exit 1); exit 1; }; } ;;
26150 *) ac_config_targets
="$ac_config_targets $1"
26151 ac_need_defaults
=false
;;
26157 ac_configure_extra_args
=
26159 if $ac_cs_silent; then
26161 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26165 cat >>$CONFIG_STATUS <<_ACEOF
26166 if \$ac_cs_recheck; then
26167 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26168 CONFIG_SHELL=$SHELL
26169 export CONFIG_SHELL
26170 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26174 cat >>$CONFIG_STATUS <<\_ACEOF
26178 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26179 ## Running $as_me. ##
26185 cat >>$CONFIG_STATUS <<_ACEOF
26189 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26190 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26191 # from automake < 1.5.
26192 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26193 # Capture the value of LINGUAS because we need it to compute CATALOGS.
26194 LINGUAS="${LINGUAS-%UNSET%}"
26196 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26200 cat >>$CONFIG_STATUS <<\_ACEOF
26202 # Handling of arguments.
26203 for ac_config_target
in $ac_config_targets
26205 case $ac_config_target in
26206 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.h.in" ;;
26207 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
26208 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26209 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26210 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
26211 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
26212 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
26214 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26215 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26216 { (exit 1); exit 1; }; };;
26221 # If the user did not use the arguments to specify the items to instantiate,
26222 # then the envvar interface is used. Set only those that are not.
26223 # We use the long form for the default assignment because of an extremely
26224 # bizarre bug on SunOS 4.1.3.
26225 if $ac_need_defaults; then
26226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26227 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26228 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26231 # Have a temporary directory for convenience. Make it in the build tree
26232 # simply because there is no reason against having it here, and in addition,
26233 # creating and moving files from /tmp can sometimes cause problems.
26234 # Hook for its removal unless debugging.
26235 # Note that there is a small window in which the directory will not be cleaned:
26236 # after its creation but before its name has been assigned to `$tmp'.
26240 trap 'exit_status=$?
26241 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26243 trap '{ (exit 1); exit 1; }' 1 2 13 15
26245 # Create a (secure) tmp directory for tmp files.
26248 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26249 test -n "$tmp" && test -d "$tmp"
26252 tmp
=.
/conf$$
-$RANDOM
26253 (umask 077 && mkdir
"$tmp")
26256 echo "$me: cannot create a temporary directory in ." >&2
26257 { (exit 1); exit 1; }
26261 # Set up the sed scripts for CONFIG_FILES section.
26264 # No need to generate the scripts if there are no CONFIG_FILES.
26265 # This happens for instance when ./config.status config.h
26266 if test -n "$CONFIG_FILES"; then
26273 for ac_last_try
in false false false false false
:; do
26274 cat >conf$
$subs.
sed <<_ACEOF
26275 SHELL!$SHELL$ac_delim
26276 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26277 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26278 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26279 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26280 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26281 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26282 exec_prefix!$exec_prefix$ac_delim
26283 prefix!$prefix$ac_delim
26284 program_transform_name!$program_transform_name$ac_delim
26285 bindir!$bindir$ac_delim
26286 sbindir!$sbindir$ac_delim
26287 libexecdir!$libexecdir$ac_delim
26288 datarootdir!$datarootdir$ac_delim
26289 datadir!$datadir$ac_delim
26290 sysconfdir!$sysconfdir$ac_delim
26291 sharedstatedir!$sharedstatedir$ac_delim
26292 localstatedir!$localstatedir$ac_delim
26293 includedir!$includedir$ac_delim
26294 oldincludedir!$oldincludedir$ac_delim
26295 docdir!$docdir$ac_delim
26296 infodir!$infodir$ac_delim
26297 htmldir!$htmldir$ac_delim
26298 dvidir!$dvidir$ac_delim
26299 pdfdir!$pdfdir$ac_delim
26300 psdir!$psdir$ac_delim
26301 libdir!$libdir$ac_delim
26302 localedir!$localedir$ac_delim
26303 mandir!$mandir$ac_delim
26304 DEFS!$DEFS$ac_delim
26305 ECHO_C!$ECHO_C$ac_delim
26306 ECHO_N!$ECHO_N$ac_delim
26307 ECHO_T!$ECHO_T$ac_delim
26308 LIBS!$LIBS$ac_delim
26309 build_alias!$build_alias$ac_delim
26310 host_alias!$host_alias$ac_delim
26311 target_alias!$target_alias$ac_delim
26312 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26313 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26314 INSTALL_DATA!$INSTALL_DATA$ac_delim
26315 am__isrc!$am__isrc$ac_delim
26316 CYGPATH_W!$CYGPATH_W$ac_delim
26317 PACKAGE!$PACKAGE$ac_delim
26318 VERSION!$VERSION$ac_delim
26319 ACLOCAL!$ACLOCAL$ac_delim
26320 AUTOCONF!$AUTOCONF$ac_delim
26321 AUTOMAKE!$AUTOMAKE$ac_delim
26322 AUTOHEADER!$AUTOHEADER$ac_delim
26323 MAKEINFO!$MAKEINFO$ac_delim
26324 install_sh!$install_sh$ac_delim
26325 STRIP!$STRIP$ac_delim
26326 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26327 mkdir_p!$mkdir_p$ac_delim
26329 SET_MAKE!$SET_MAKE$ac_delim
26330 am__leading_dot!$am__leading_dot$ac_delim
26331 AMTAR!$AMTAR$ac_delim
26332 am__tar!$am__tar$ac_delim
26333 am__untar!$am__untar$ac_delim
26334 USE_NLS!$USE_NLS$ac_delim
26335 GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
26336 MSGFMT!$MSGFMT$ac_delim
26337 GMSGFMT!$GMSGFMT$ac_delim
26338 MSGFMT_015!$MSGFMT_015$ac_delim
26339 GMSGFMT_015!$GMSGFMT_015$ac_delim
26340 XGETTEXT!$XGETTEXT$ac_delim
26341 XGETTEXT_015!$XGETTEXT_015$ac_delim
26342 MSGMERGE!$MSGMERGE$ac_delim
26343 XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
26345 CFLAGS!$CFLAGS$ac_delim
26346 LDFLAGS!$LDFLAGS$ac_delim
26347 CPPFLAGS!$CPPFLAGS$ac_delim
26348 ac_ct_CC!$ac_ct_CC$ac_delim
26349 EXEEXT!$EXEEXT$ac_delim
26350 OBJEXT!$OBJEXT$ac_delim
26351 DEPDIR!$DEPDIR$ac_delim
26352 am__include!$am__include$ac_delim
26353 am__quote!$am__quote$ac_delim
26354 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26355 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26356 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26357 CCDEPMODE!$CCDEPMODE$ac_delim
26358 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26359 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26360 build!$build$ac_delim
26361 build_cpu!$build_cpu$ac_delim
26362 build_vendor!$build_vendor$ac_delim
26363 build_os!$build_os$ac_delim
26364 host!$host$ac_delim
26365 host_cpu!$host_cpu$ac_delim
26366 host_vendor!$host_vendor$ac_delim
26367 host_os!$host_os$ac_delim
26368 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
26369 LIBICONV!$LIBICONV$ac_delim
26370 LTLIBICONV!$LTLIBICONV$ac_delim
26371 INTLLIBS!$INTLLIBS$ac_delim
26374 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26376 elif $ac_last_try; then
26377 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26378 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26379 { (exit 1); exit 1; }; }
26381 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26385 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26386 if test -n "$ac_eof"; then
26387 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26388 ac_eof
=`expr $ac_eof + 1`
26391 cat >>$CONFIG_STATUS <<_ACEOF
26392 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26396 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26397 s/^/s,@/; s/!/@,|#_!!_#|/
26400 s/'"$ac_delim"'$/,g/; t
26402 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26403 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26404 rm -f conf$
$subs.
sed
26405 cat >>$CONFIG_STATUS <<_ACEOF
26411 for ac_last_try
in false false false false false
:; do
26412 cat >conf$
$subs.
sed <<_ACEOF
26413 LIBINTL!$LIBINTL$ac_delim
26414 LTLIBINTL!$LTLIBINTL$ac_delim
26415 POSUB!$POSUB$ac_delim
26417 CXXFLAGS!$CXXFLAGS$ac_delim
26418 ac_ct_CXX!$ac_ct_CXX$ac_delim
26419 CXXDEPMODE!$CXXDEPMODE$ac_delim
26420 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26421 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26423 GREP!$GREP$ac_delim
26424 EGREP!$EGREP$ac_delim
26425 LN_S!$LN_S$ac_delim
26426 ECHO!$ECHO$ac_delim
26428 RANLIB!$RANLIB$ac_delim
26429 DSYMUTIL!$DSYMUTIL$ac_delim
26430 NMEDIT!$NMEDIT$ac_delim
26432 CXXCPP!$CXXCPP$ac_delim
26434 FFLAGS!$FFLAGS$ac_delim
26435 ac_ct_F77!$ac_ct_F77$ac_delim
26436 LIBTOOL!$LIBTOOL$ac_delim
26437 PKG_CONFIG!$PKG_CONFIG$ac_delim
26438 BARRY_CFLAGS!$BARRY_CFLAGS$ac_delim
26439 BARRY_LIBS!$BARRY_LIBS$ac_delim
26440 BARRYBACKUP_CFLAGS!$BARRYBACKUP_CFLAGS$ac_delim
26441 BARRYBACKUP_LIBS!$BARRYBACKUP_LIBS$ac_delim
26442 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
26443 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
26444 TREE_BUILD_CXXFLAGS!$TREE_BUILD_CXXFLAGS$ac_delim
26445 TREE_BUILD_LDFLAGS!$TREE_BUILD_LDFLAGS$ac_delim
26446 gladedir!$gladedir$ac_delim
26447 LIBOBJS!$LIBOBJS$ac_delim
26448 LTLIBOBJS!$LTLIBOBJS$ac_delim
26451 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
26453 elif $ac_last_try; then
26454 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26455 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26456 { (exit 1); exit 1; }; }
26458 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26462 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26463 if test -n "$ac_eof"; then
26464 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26465 ac_eof
=`expr $ac_eof + 1`
26468 cat >>$CONFIG_STATUS <<_ACEOF
26469 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26473 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26474 s/^/s,@/; s/!/@,|#_!!_#|/
26477 s/'"$ac_delim"'$/,g/; t
26479 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26480 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26481 rm -f conf$
$subs.
sed
26482 cat >>$CONFIG_STATUS <<_ACEOF
26489 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26490 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26491 # trailing colons and then remove the whole line if VPATH becomes empty
26492 # (actually we leave an empty line to preserve line numbers).
26493 if test "x$srcdir" = x.
; then
26494 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26495 s/:*\$(srcdir):*/:/
26496 s/:*\${srcdir}:*/:/
26498 s/^\([^=]*=[ ]*\):*/\1/
26504 cat >>$CONFIG_STATUS <<\_ACEOF
26505 fi # test -n "$CONFIG_FILES"
26508 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
26511 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26513 case $ac_mode$ac_tag in
26515 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26516 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26517 { (exit 1); exit 1; }; };;
26518 :[FH
]-) ac_tag
=-:-;;
26519 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26536 -) ac_f
="$tmp/stdin";;
26537 *) # Look for the file first in the build tree, then in the source tree
26538 # (if the path is not absolute). The absolute path cannot be DOS-style,
26539 # because $ac_f cannot contain `:'.
26543 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26545 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26546 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26547 { (exit 1); exit 1; }; };;
26549 ac_file_inputs
="$ac_file_inputs $ac_f"
26552 # Let's still pretend it is `configure' which instantiates (i.e., don't
26553 # use $as_me), people would be surprised to read:
26554 # /* config.h. Generated by config.status. */
26555 configure_input
="Generated from "`IFS=:
26556 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26557 if test x
"$ac_file" != x-
; then
26558 configure_input
="$ac_file. $configure_input"
26559 { echo "$as_me:$LINENO: creating $ac_file" >&5
26560 echo "$as_me: creating $ac_file" >&6;}
26564 *:-:* |
*:-) cat >"$tmp/stdin";;
26569 ac_dir
=`$as_dirname -- "$ac_file" ||
26570 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26571 X"$ac_file" : 'X\(//\)[^/]' \| \
26572 X"$ac_file" : 'X\(//\)$' \| \
26573 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26579 /^X\(\/\/\)[^/].*/{
26594 -*) as_dir
=.
/$as_dir;;
26596 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
26600 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26601 *) as_qdir
=$as_dir;;
26603 as_dirs
="'$as_qdir' $as_dirs"
26604 as_dir
=`$as_dirname -- "$as_dir" ||
26605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26606 X"$as_dir" : 'X\(//\)[^/]' \| \
26607 X"$as_dir" : 'X\(//\)$' \| \
26608 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26614 /^X\(\/\/\)[^/].*/{
26627 test -d "$as_dir" && break
26629 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26630 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26631 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26632 { (exit 1); exit 1; }; }; }
26636 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26638 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26639 # A ".." for each directory in $ac_dir_suffix.
26640 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26641 case $ac_top_builddir_sub in
26642 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26643 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26646 ac_abs_top_builddir
=$ac_pwd
26647 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26648 # for backward compatibility:
26649 ac_top_builddir
=$ac_top_build_prefix
26652 .
) # We are building in place.
26654 ac_top_srcdir
=$ac_top_builddir_sub
26655 ac_abs_top_srcdir
=$ac_pwd ;;
26656 [\\/]* | ?
:[\\/]* ) # Absolute name.
26657 ac_srcdir
=$srcdir$ac_dir_suffix;
26658 ac_top_srcdir
=$srcdir
26659 ac_abs_top_srcdir
=$srcdir ;;
26660 *) # Relative name.
26661 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26662 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26663 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26665 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26675 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26676 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26678 ac_MKDIR_P
=$MKDIR_P
26680 [\\/$
]* | ?
:[\\/]* ) ;;
26681 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26685 cat >>$CONFIG_STATUS <<\_ACEOF
26686 # If the template does not know about datarootdir, expand it.
26687 # FIXME: This hack should be removed a few years after 2.60.
26688 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26690 case `sed -n '/datarootdir/ {
26699 ' $ac_file_inputs` in
26700 *datarootdir
*) ac_datarootdir_seen
=yes;;
26701 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26702 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26703 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26705 cat >>$CONFIG_STATUS <<_ACEOF
26706 ac_datarootdir_hack='
26707 s&@datadir@&$datadir&g
26708 s&@docdir@&$docdir&g
26709 s&@infodir@&$infodir&g
26710 s&@localedir@&$localedir&g
26711 s&@mandir@&$mandir&g
26712 s&\\\${datarootdir}&$datarootdir&g' ;;
26716 # Neutralize VPATH when `$srcdir' = `.'.
26717 # Shell code in configure.ac might set extrasub.
26718 # FIXME: do we really want to maintain this feature?
26719 cat >>$CONFIG_STATUS <<_ACEOF
26723 cat >>$CONFIG_STATUS <<\_ACEOF
26725 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26726 s
&@configure_input@
&$configure_input&;t t
26727 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26728 s
&@srcdir@
&$ac_srcdir&;t t
26729 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26730 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26731 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26732 s
&@builddir@
&$ac_builddir&;t t
26733 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26734 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26735 s
&@INSTALL@
&$ac_INSTALL&;t t
26736 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26737 $ac_datarootdir_hack
26738 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
26740 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26741 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26742 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26743 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26744 which seems to be undefined. Please make sure it is defined." >&5
26745 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26746 which seems to be undefined. Please make sure it is defined." >&2;}
26750 -) cat "$tmp/out"; rm -f "$tmp/out";;
26751 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26760 # Transform confdefs.h into a sed script `conftest.defines', that
26761 # substitutes the proper values into config.h.in to produce config.h.
26762 rm -f conftest.defines conftest.
tail
26763 # First, append a space to every undef/define line, to ease matching.
26764 echo 's/$/ /' >conftest.defines
26765 # Then, protect against being on the right side of a sed subst, or in
26766 # an unquoted here document, in config.status. If some macros were
26767 # called several times there might be several #defines for the same
26768 # symbol, which is useless. But do not sort them, since the last
26769 # AC_DEFINE must be honored.
26770 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
26771 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
26772 # NAME is the cpp macro being defined, VALUE is the value it is being given.
26773 # PARAMS is the parameter list in the macro definition--in most cases, it's
26774 # just an empty string.
26775 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
26776 ac_dB
='\\)[ (].*,\\1define\\2'
26784 s/^[ ]*#[ ]*define[ ][ ]*//
26789 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
26790 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
26791 ' >>conftest.defines
26793 # Remove the space that was appended to ease matching.
26794 # Then replace #undef with comments. This is necessary, for
26795 # example, in the case of _POSIX_SOURCE, which is predefined and required
26796 # on some systems where configure will not decide to define it.
26797 # (The regexp can be short, since the line contains either #define or #undef.)
26799 s,^[ #]*u.*,/* & */,' >>conftest.defines
26801 # Break up conftest.defines:
26802 ac_max_sed_lines
=50
26804 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
26805 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
26806 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
26808 ac_in
='$ac_file_inputs'
26809 ac_out
='"$tmp/out1"'
26810 ac_nxt
='"$tmp/out2"'
26814 # Write a here document:
26815 cat >>$CONFIG_STATUS <<_ACEOF
26816 # First, check the format of the line:
26817 cat >"\$tmp/defines.sed" <<\\CEOF
26818 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
26819 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
26823 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
26825 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
26826 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
26827 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
26828 grep . conftest.
tail >/dev
/null ||
break
26829 rm -f conftest.defines
26830 mv conftest.
tail conftest.defines
26832 rm -f conftest.defines conftest.
tail
26834 echo "ac_result=$ac_in" >>$CONFIG_STATUS
26835 cat >>$CONFIG_STATUS <<\_ACEOF
26836 if test x
"$ac_file" != x-
; then
26837 echo "/* $configure_input */" >"$tmp/config.h"
26838 cat "$ac_result" >>"$tmp/config.h"
26839 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
26840 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26841 echo "$as_me: $ac_file is unchanged" >&6;}
26844 mv "$tmp/config.h" $ac_file
26847 echo "/* $configure_input */"
26851 # Compute $ac_file's index in $config_headers.
26854 for _am_header
in $config_headers :; do
26855 case $_am_header in
26856 $_am_arg |
$_am_arg:* )
26859 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26862 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26863 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26864 X"$_am_arg" : 'X\(//\)[^/]' \| \
26865 X"$_am_arg" : 'X\(//\)$' \| \
26866 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26872 /^X\(\/\/\)[^/].*/{
26884 s/.*/./; q'`/stamp-h
$_am_stamp_count
26887 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26888 echo "$as_me: executing $ac_file commands" >&6;}
26893 case $ac_file$ac_mode in
26894 "po-directories":C
)
26895 for ac_file
in $CONFIG_FILES; do
26896 # Support "outfile[:infile[:infile...]]"
26898 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
26900 # PO directories have a Makefile.in generated from Makefile.in.in.
26901 case "$ac_file" in */Makefile.
in)
26902 # Adjust a relative srcdir.
26903 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
26904 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
26905 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
26906 # In autoconf-2.13 it is called $ac_given_srcdir.
26907 # In autoconf-2.50 it is called $srcdir.
26908 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
26909 case "$ac_given_srcdir" in
26910 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
26911 /*) top_srcdir
="$ac_given_srcdir" ;;
26912 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
26914 # Treat a directory as a PO directory if and only if it has a
26915 # POTFILES.in file. This allows packages to have multiple PO
26916 # directories under different names or in different locations.
26917 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
26918 rm -f "$ac_dir/POTFILES"
26919 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
26920 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
26921 POMAKEFILEDEPS
="POTFILES.in"
26922 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
26923 # on $ac_dir but don't depend on user-specified configuration
26925 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
26926 # The LINGUAS file contains the set of available languages.
26927 if test -n "$OBSOLETE_ALL_LINGUAS"; then
26928 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
26930 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
26931 # Hide the ALL_LINGUAS assigment from automake < 1.5.
26932 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
26933 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
26935 # The set of available languages was given in configure.in.
26936 # Hide the ALL_LINGUAS assigment from automake < 1.5.
26937 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
26940 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
26941 # Compute UPDATEPOFILES
26942 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
26943 # Compute DUMMYPOFILES
26944 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
26946 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
26947 case "$ac_given_srcdir" in
26949 *) srcdirpre
='$(srcdir)/' ;;
26955 for lang
in $ALL_LINGUAS; do
26956 POFILES
="$POFILES $srcdirpre$lang.po"
26957 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
26958 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
26959 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
26961 # CATALOGS depends on both $ac_dir and the user's LINGUAS
26962 # environment variable.
26964 if test -n "$ALL_LINGUAS"; then
26965 for presentlang
in $ALL_LINGUAS; do
26967 if test "%UNSET%" != "$LINGUAS"; then
26968 desiredlanguages
="$LINGUAS"
26970 desiredlanguages
="$ALL_LINGUAS"
26972 for desiredlang
in $desiredlanguages; do
26973 # Use the presentlang catalog if desiredlang is
26974 # a. equal to presentlang, or
26975 # b. a variant of presentlang (because in this case,
26976 # presentlang can be used as a fallback for messages
26977 # which are not translated in the desiredlang catalog).
26978 case "$desiredlang" in
26979 "$presentlang"*) useit
=yes;;
26982 if test $useit = yes; then
26983 INST_LINGUAS
="$INST_LINGUAS $presentlang"
26988 if test -n "$INST_LINGUAS"; then
26989 for lang
in $INST_LINGUAS; do
26990 CATALOGS
="$CATALOGS $lang.gmo"
26993 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
26994 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"
26995 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
26996 if test -f "$f"; then
26998 *.orig |
*.bak |
*~
) ;;
26999 *) cat "$f" >> "$ac_dir/Makefile" ;;
27007 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27008 # Strip MF so we end up with the name of the file.
27009 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27010 # Check whether this is an Automake generated Makefile or not.
27011 # We used to match only the files named `Makefile.in', but
27012 # some people rename them; so instead we look at the file content.
27013 # Grep'ing the first line is not enough: some people post-process
27014 # each Makefile.in and add a new line on top of each file to say so.
27015 # Grep'ing the whole file is not good either: AIX grep has a line
27016 # limit of 2048, but all sed's we know have understand at least 4000.
27017 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27018 dirpart
=`$as_dirname -- "$mf" ||
27019 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27020 X"$mf" : 'X\(//\)[^/]' \| \
27021 X"$mf" : 'X\(//\)$' \| \
27022 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27028 /^X\(\/\/\)[^/].*/{
27044 # Extract the definition of DEPDIR, am__include, and am__quote
27045 # from the Makefile without running `make'.
27046 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27047 test -z "$DEPDIR" && continue
27048 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27049 test -z "am__include" && continue
27050 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27051 # When using ansi2knr, U may be empty or an underscore; expand it
27052 U
=`sed -n 's/^U = //p' < "$mf"`
27053 # Find all dependency output files, they are included files with
27054 # $(DEPDIR) in their names. We invoke sed twice because it is the
27055 # simplest approach to changing $(DEPDIR) to its actual value in the
27057 for file in `sed -n "
27058 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27059 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27060 # Make sure the directory exists.
27061 test -f "$dirpart/$file" && continue
27062 fdir
=`$as_dirname -- "$file" ||
27063 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27064 X"$file" : 'X\(//\)[^/]' \| \
27065 X"$file" : 'X\(//\)$' \| \
27066 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27072 /^X\(\/\/\)[^/].*/{
27085 { as_dir
=$dirpart/$fdir
27087 -*) as_dir
=.
/$as_dir;;
27089 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27093 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27094 *) as_qdir
=$as_dir;;
27096 as_dirs
="'$as_qdir' $as_dirs"
27097 as_dir
=`$as_dirname -- "$as_dir" ||
27098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27099 X"$as_dir" : 'X\(//\)[^/]' \| \
27100 X"$as_dir" : 'X\(//\)$' \| \
27101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27107 /^X\(\/\/\)[^/].*/{
27120 test -d "$as_dir" && break
27122 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27123 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27124 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27125 { (exit 1); exit 1; }; }; }
27126 # echo "creating $dirpart/$file"
27127 echo '# dummy' > "$dirpart/$file"
27136 { (exit 0); exit 0; }
27138 chmod +x
$CONFIG_STATUS
27139 ac_clean_files
=$ac_clean_files_save
27142 # configure is writing to config.log, and then calls config.status.
27143 # config.status does its own redirection, appending to config.log.
27144 # Unfortunately, on DOS this fails, as config.log is still kept open
27145 # by configure, so config.status won't be able to write to it; its
27146 # output is simply discarded. So we exec the FD to /dev/null,
27147 # effectively closing config.log, so it can be properly (re)opened and
27148 # appended to by config.status. When coming back to configure, we
27149 # need to make the FD available again.
27150 if test "$no_create" != yes; then
27152 ac_config_status_args
=
27153 test "$silent" = yes &&
27154 ac_config_status_args
="$ac_config_status_args --quiet"
27156 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27158 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27159 # would make configure fail if this is the last instruction.
27160 $ac_cs_success ||
{ (exit 1); exit 1; }