2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for barry-backup 0.1.
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.1'
732 PACKAGE_STRING
='barry-backup 0.1'
733 PACKAGE_BUGREPORT
='barry-devel@lists.sourceforge.net'
735 ac_unique_file
="src/main.cc"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
783 program_transform_name
824 INSTALL_STRIP_PROGRAM
889 ac_precious_vars
='build_alias
911 # Initialize some variables set by options.
913 ac_init_version
=false
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
923 program_transform_name
=s
,x
,x
,
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir
='${exec_prefix}/bin'
938 sbindir
='${exec_prefix}/sbin'
939 libexecdir
='${exec_prefix}/libexec'
940 datarootdir
='${prefix}/share'
941 datadir
='${datarootdir}'
942 sysconfdir
='${prefix}/etc'
943 sharedstatedir
='${prefix}/com'
944 localstatedir
='${prefix}/var'
945 includedir
='${prefix}/include'
946 oldincludedir
='/usr/include'
947 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
948 infodir
='${datarootdir}/info'
953 libdir
='${exec_prefix}/lib'
954 localedir
='${datarootdir}/locale'
955 mandir
='${datarootdir}/man'
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\
$ac_option
969 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1015 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1018 eval enable_
$ac_feature=no
;;
1020 -docdir |
--docdir |
--docdi |
--doc |
--do)
1022 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1023 docdir
=$ac_optarg ;;
1025 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1027 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1028 dvidir
=$ac_optarg ;;
1030 -enable-* |
--enable-*)
1031 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1034 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1037 eval enable_
$ac_feature=\
$ac_optarg ;;
1039 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1040 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1041 |
--exec |
--exe |
--ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1044 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1045 |
--exec=* |
--exe=* |
--ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas |
--gas |
--ga |
--g)
1049 # Obsolete; use --with-gas.
1052 -help |
--help |
--hel |
--he |
-h)
1053 ac_init_help
=long
;;
1054 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1057 ac_init_help
=short
;;
1059 -host |
--host |
--hos |
--ho)
1060 ac_prev
=host_alias
;;
1061 -host=* |
--host=* |
--hos=* |
--ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1066 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir |
--includedir |
--includedi |
--included |
--include \
1071 |
--includ |
--inclu |
--incl |
--inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1074 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1079 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir |
--libdir |
--libdi |
--libd)
1084 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1088 |
--libexe |
--libex |
--libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1091 |
--libexe=* |
--libex=* |
--libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1100 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1103 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1108 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp |
--nfp |
--nf)
1112 # Obsolete; use --without-fp.
1115 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1116 |
--no-cr |
--no-c |
-n)
1119 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1120 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1123 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1124 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1125 |
--oldin |
--oldi |
--old |
--ol |
--o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1128 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1129 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1134 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1138 |
--program-pre |
--program-pr |
--program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1141 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1145 |
--program-suf |
--program-su |
--program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1148 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name |
--program-transform-name \
1152 |
--program-transform-nam |
--program-transform-na \
1153 |
--program-transform-n |
--program-transform- \
1154 |
--program-transform |
--program-transfor \
1155 |
--program-transfo |
--program-transf \
1156 |
--program-trans |
--program-tran \
1157 |
--progr-tra |
--program-tr |
--program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* |
--program-transform-name=* \
1160 |
--program-transform-nam=* |
--program-transform-na=* \
1161 |
--program-transform-n=* |
--program-transform-=* \
1162 |
--program-transform=* |
--program-transfor=* \
1163 |
--program-transfo=* |
--program-transf=* \
1164 |
--program-trans=* |
--program-tran=* \
1165 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1170 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1175 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1179 |
-silent |
--silent |
--silen |
--sile |
--sil)
1182 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1184 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1189 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1190 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1194 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1195 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site |
--site |
--sit)
1201 -site=* |
--site=* |
--sit=*)
1204 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1206 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1210 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1213 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1217 ac_prev
=target_alias
;;
1218 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1224 -version |
--version |
--versio |
--versi |
--vers |
-V)
1225 ac_init_version
=: ;;
1228 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 { echo "$as_me: error: invalid package name: $ac_package" >&2
1232 { (exit 1); exit 1; }; }
1233 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1234 eval with_
$ac_package=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 { echo "$as_me: error: invalid package name: $ac_package" >&2
1241 { (exit 1); exit 1; }; }
1242 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1243 eval with_
$ac_package=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) { echo "$as_me: error: unrecognized option: $ac_option
1264 Try \`$0 --help' for more information." >&2
1265 { (exit 1); exit 1; }; }
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1272 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1273 { (exit 1); exit 1; }; }
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 { echo "$as_me: error: missing argument to $ac_option" >&2
1291 { (exit 1); exit 1; }; }
1294 # Be sure to have absolute directory names.
1295 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296 datadir sysconfdir sharedstatedir localstatedir includedir \
1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298 libdir localedir mandir
1300 eval ac_val
=\$
$ac_var
1302 [\\/$
]* | ?
:[\\/]* ) continue;;
1303 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1305 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1306 { (exit 1); exit 1; }; }
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1321 If a cross compiler is detected then cross compile mode will be used." >&2
1322 elif test "x$build_alias" != "x$host_alias"; then
1328 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1330 test "$silent" = yes && exec 6>/dev
/null
1333 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1334 ac_ls_di
=`ls -di .` &&
1335 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1336 { echo "$as_me: error: Working directory cannot be determined" >&2
1337 { (exit 1); exit 1; }; }
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 { echo "$as_me: error: pwd does not report name of working directory" >&2
1340 { (exit 1); exit 1; }; }
1343 # Find the source files, if location was not specified.
1344 if test -z "$srcdir"; then
1345 ac_srcdir_defaulted
=yes
1346 # Try the directory containing this script, then the parent directory.
1347 ac_confdir
=`$as_dirname -- "$0" ||
1348 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1349 X"$0" : 'X\(//\)[^/]' \| \
1350 X"$0" : 'X\(//\)$' \| \
1351 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1375 ac_srcdir_defaulted
=no
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1378 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1379 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1380 { (exit 1); exit 1; }; }
1382 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1385 { (exit 1); exit 1; }; }
1387 # When building in place, set srcdir=.
1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
1391 # Remove unnecessary trailing slashes from srcdir.
1392 # Double slashes in file names in object file debugging info
1393 # mess up M-x gdb in Emacs.
1395 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1397 for ac_var
in $ac_precious_vars; do
1398 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1399 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1400 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1401 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1405 # Report the --help message.
1407 if test "$ac_init_help" = "long"; then
1408 # Omit some internal or obsolete options to make the list less imposing.
1409 # This message is too long to be a string in the A/UX 3.1 sh.
1411 \`configure' configures barry-backup 0.1 to adapt to many kinds of systems.
1413 Usage: $0 [OPTION]... [VAR=VALUE]...
1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1416 VAR=VALUE. See below for descriptions of some of the useful variables.
1418 Defaults for the options are specified in brackets.
1421 -h, --help display this help and exit
1422 --help=short display options specific to this package
1423 --help=recursive display the short help of all the included packages
1424 -V, --version display version information and exit
1425 -q, --quiet, --silent do not print \`checking...' messages
1426 --cache-file=FILE cache test results in FILE [disabled]
1427 -C, --config-cache alias for \`--cache-file=config.cache'
1428 -n, --no-create do not create output files
1429 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1431 Installation directories:
1432 --prefix=PREFIX install architecture-independent files in PREFIX
1433 [$ac_default_prefix]
1434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1437 By default, \`make install' will install all the files in
1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1440 for instance \`--prefix=\$HOME'.
1442 For better control, use the options below.
1444 Fine tuning of the installation directories:
1445 --bindir=DIR user executables [EPREFIX/bin]
1446 --sbindir=DIR system admin executables [EPREFIX/sbin]
1447 --libexecdir=DIR program executables [EPREFIX/libexec]
1448 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1449 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1450 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1451 --libdir=DIR object code libraries [EPREFIX/lib]
1452 --includedir=DIR C header files [PREFIX/include]
1453 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1454 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1455 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1456 --infodir=DIR info documentation [DATAROOTDIR/info]
1457 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1458 --mandir=DIR man documentation [DATAROOTDIR/man]
1459 --docdir=DIR documentation root [DATAROOTDIR/doc/barry-backup]
1460 --htmldir=DIR html documentation [DOCDIR]
1461 --dvidir=DIR dvi documentation [DOCDIR]
1462 --pdfdir=DIR pdf documentation [DOCDIR]
1463 --psdir=DIR ps documentation [DOCDIR]
1469 --program-prefix=PREFIX prepend PREFIX to installed program names
1470 --program-suffix=SUFFIX append SUFFIX to installed program names
1471 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1474 --build=BUILD configure
for building on BUILD
[guessed
]
1475 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1479 if test -n "$ac_init_help"; then
1480 case $ac_init_help in
1481 short | recursive
) echo "Configuration of barry-backup 0.1:";;
1486 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1487 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1488 --disable-dependency-tracking speeds up one-time build
1489 --enable-dependency-tracking do not reject slow dependency extractors
1490 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1491 --enable-static[=PKGS
] build static libraries
[default
=yes]
1492 --enable-fast-install[=PKGS
]
1493 optimize
for fast installation
[default
=yes]
1494 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1497 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1498 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1499 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1500 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1502 --with-tags[=TAGS
] include additional configurations
[automatic
]
1503 --with-libtar=<path
> root path of libtar
install
1504 --with-zlib=<path
> root path of zlib
install
1506 Some influential environment variables
:
1507 CC C compiler
command
1508 CFLAGS C compiler flags
1509 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1510 nonstandard directory
<lib dir
>
1511 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1512 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1513 you have headers
in a nonstandard directory
<include dir
>
1514 CXX C
++ compiler
command
1515 CXXFLAGS C
++ compiler flags
1517 CXXCPP C
++ preprocessor
1518 F77 Fortran
77 compiler
command
1519 FFLAGS Fortran
77 compiler flags
1520 PKG_CONFIG path to pkg-config utility
1522 C compiler flags
for BARRY
, overriding pkg-config
1523 BARRY_LIBS linker flags
for BARRY
, overriding pkg-config
1525 C compiler flags
for GTKMM
, overriding pkg-config
1526 GTKMM_LIBS linker flags
for GTKMM
, overriding pkg-config
1528 Use these variables to override the choices made by
`configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to <barry-devel@lists.sourceforge.net>.
1536 if test "$ac_init_help" = "recursive"; then
1537 # If there are subdirs, report their specific --help.
1538 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1539 test -d "$ac_dir" || continue
1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1546 # A ".." for each directory in $ac_dir_suffix.
1547 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1548 case $ac_top_builddir_sub in
1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1553 ac_abs_top_builddir=$ac_pwd
1554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555 # for backward compatibility:
1556 ac_top_builddir=$ac_top_build_prefix
1559 .) # We are building in place.
1561 ac_top_srcdir=$ac_top_builddir_sub
1562 ac_abs_top_srcdir=$ac_pwd ;;
1563 [\\/]* | ?:[\\/]* ) # Absolute name.
1564 ac_srcdir=$srcdir$ac_dir_suffix;
1565 ac_top_srcdir=$srcdir
1566 ac_abs_top_srcdir=$srcdir ;;
1568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569 ac_top_srcdir=$ac_top_build_prefix$srcdir
1570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1574 cd "$ac_dir" || { ac_status=$?; continue; }
1575 # Check for guested configure.
1576 if test -f "$ac_srcdir/configure.gnu"; then
1578 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579 elif test -f "$ac_srcdir/configure"; then
1581 $SHELL "$ac_srcdir/configure" --help=recursive
1583 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1585 cd "$ac_pwd" || { ac_status=$?; break; }
1589 test -n "$ac_init_help" && exit $ac_status
1590 if $ac_init_version; then
1592 barry-backup configure 0.1
1593 generated by GNU Autoconf 2.61
1595 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1596 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1597 This configure script is free software; the Free Software Foundation
1598 gives unlimited permission to copy, distribute and modify it.
1602 cat >config.log <<_ACEOF
1603 This file contains any messages produced by compilers while
1604 running configure, to aid debugging if configure makes a mistake.
1606 It was created by barry-backup $as_me 0.1, which was
1607 generated by GNU Autoconf 2.61. Invocation command line was
1619 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1620 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1621 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1622 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1623 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1625 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1626 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1628 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1629 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1630 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1631 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1632 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1633 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1634 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642 test -z "$as_dir" && as_dir=.
1643 echo "PATH: $as_dir"
1659 # Keep a trace of the command line.
1660 # Strip out --no-create and --no-recursion so they do not pile up.
1661 # Strip out --silent because we don't want to record it for future runs.
1662 # Also quote any args containing shell meta-characters.
1663 # Make two passes to allow for proper duplicate-argument suppression.
1667 ac_must_keep_next=false
1673 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1675 | -silent | --silent | --silen | --sile | --sil)
1678 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1681 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1683 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1684 if test $ac_must_keep_next = true; then
1685 ac_must_keep_next=false # Got value, back to normal.
1688 *=* | --config-cache | -C | -disable-* | --disable-* \
1689 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1690 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1691 | -with-* | --with-* | -without-* | --without-* | --x)
1692 case "$ac_configure_args0 " in
1693 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1696 -* ) ac_must_keep_next=true ;;
1699 ac_configure_args="$ac_configure_args '$ac_arg'"
1704 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1705 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1707 # When interrupted or exit'd, cleanup temporary files, and complete
1708 # config.log. We remove comments because anyway the quotes in there
1709 # would cause problems or look ugly.
1710 # WARNING: Use '\'' to represent an apostrophe within the trap.
1711 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1712 trap 'exit_status=$?
1713 # Save into config.log some information that might help in debugging.
1718 ## ---------------- ##
1719 ## Cache variables. ##
1720 ## ---------------- ##
1723 # The following way of writing the cache mishandles newlines in values,
1725 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1726 eval ac_val=\$$ac_var
1730 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1731 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1734 _ | IFS | as_nl) ;; #(
1735 *) $as_unset $ac_var ;;
1740 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1741 *${as_nl}ac_space=\ *)
1743 "s/'\''/'\''\\\\'\'''\''/g;
1744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1755 ## ----------------- ##
1756 ## Output variables. ##
1757 ## ----------------- ##
1760 for ac_var in $ac_subst_vars
1762 eval ac_val=\$$ac_var
1764 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 echo "$ac_var='\''$ac_val'\''"
1770 if test -n "$ac_subst_files"; then
1772 ## ------------------- ##
1773 ## File substitutions. ##
1774 ## ------------------- ##
1777 for ac_var in $ac_subst_files
1779 eval ac_val=\$$ac_var
1781 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1783 echo "$ac_var='\''$ac_val'\''"
1788 if test -s confdefs.h; then
1798 test "$ac_signal" != 0 &&
1799 echo "$as_me: caught signal $ac_signal"
1800 echo "$as_me: exit $exit_status"
1802 rm -f core *.core core.conftest.* &&
1803 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1806 for ac_signal in 1 2 13 15; do
1807 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1811 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1812 rm -f -r conftest* confdefs.h
1814 # Predefined preprocessor variables.
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_NAME "$PACKAGE_NAME"
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1826 cat >>confdefs.h <<_ACEOF
1827 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1831 cat >>confdefs.h <<_ACEOF
1832 #define PACKAGE_STRING "$PACKAGE_STRING"
1836 cat >>confdefs.h <<_ACEOF
1837 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1841 # Let the site file select an alternate cache file if it wants to.
1842 # Prefer explicitly selected file to automatically selected ones.
1843 if test -n "$CONFIG_SITE"; then
1844 set x "$CONFIG_SITE"
1845 elif test "x$prefix" != xNONE; then
1846 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1848 set x "$ac_default_prefix/share/config.site" \
1849 "$ac_default_prefix/etc/config.site"
1854 if test -r "$ac_site_file"; then
1855 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1856 echo "$as_me: loading site script $ac_site_file" >&6;}
1857 sed 's/^/| /' "$ac_site_file" >&5
1862 if test -r "$cache_file"; then
1863 # Some versions of bash will fail to source /dev/null (special
1864 # files actually), so we avoid doing that.
1865 if test -f "$cache_file"; then
1866 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1867 echo "$as_me: loading cache $cache_file" >&6;}
1869 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1870 *) . "./$cache_file";;
1874 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1875 echo "$as_me: creating cache $cache_file" >&6;}
1879 ac_header_list="$ac_header_list sys/time.h"
1880 ac_header_list="$ac_header_list unistd.h"
1881 ac_func_list="$ac_func_list alarm"
1882 # Check that the precious variables saved in the cache have kept the same
1884 ac_cache_corrupted=false
1885 for ac_var in $ac_precious_vars; do
1886 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1887 eval ac_new_set=\$ac_env_${ac_var}_set
1888 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1889 eval ac_new_val=\$ac_env_${ac_var}_value
1890 case $ac_old_set,$ac_new_set in
1892 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1893 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1894 ac_cache_corrupted=: ;;
1896 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1897 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1898 ac_cache_corrupted=: ;;
1901 if test "x$ac_old_val" != "x$ac_new_val"; then
1902 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1903 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1904 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1905 echo "$as_me: former value
: $ac_old_val" >&2;}
1906 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1907 echo "$as_me: current value
: $ac_new_val" >&2;}
1908 ac_cache_corrupted=:
1911 # Pass precious variables to config.status.
1912 if test "$ac_new_set" = set; then
1914 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1915 *) ac_arg=$ac_var=$ac_new_val ;;
1917 case " $ac_configure_args " in
1918 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1919 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1923 if $ac_cache_corrupted; then
1924 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1925 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1926 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1927 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1928 { (exit 1); exit 1; }; }
1956 ac_cpp='$CPP $CPPFLAGS'
1957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1962 #AM_CONFIG_HEADER(config.h)
1964 ac_config_headers="$ac_config_headers config.h:config.h.in"
1966 am__api_version="1.9"
1968 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1969 if test -f "$ac_dir/install-sh"; then
1971 ac_install_sh="$ac_aux_dir/install-sh -c"
1973 elif test -f "$ac_dir/install.sh"; then
1975 ac_install_sh="$ac_aux_dir/install.sh -c"
1977 elif test -f "$ac_dir/shtool"; then
1979 ac_install_sh="$ac_aux_dir/shtool install -c"
1983 if test -z "$ac_aux_dir"; then
1984 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1985 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1986 { (exit 1); exit 1; }; }
1989 # These three variables are undocumented and unsupported,
1990 # and are intended to be withdrawn in a future Autoconf release.
1991 # They can cause serious problems if a builder's source tree is in a directory
1992 # whose full name contains unusual characters.
1993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1998 # Find a good install program. We prefer a C program (faster),
1999 # so one script is as good as another. But avoid the broken or
2000 # incompatible versions:
2001 # SysV /etc/install, /usr/sbin/install
2002 # SunOS /usr/etc/install
2003 # IRIX /sbin/install
2005 # AmigaOS /C/install, which installs bootblocks on floppy discs
2006 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2007 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2008 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2009 # OS/2's system install, which has a completely different semantic
2010 # ./install, which can be erroneously created by make from ./install.sh.
2011 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2012 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2013 if test -z "$INSTALL"; then
2014 if test "${ac_cv_path_install+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 # Account for people who put trailing slashes in PATH elements.
2024 ./ | .// | /cC/* | \
2025 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2026 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2029 # OSF1 and SCO ODT 3.0 have their own names for install.
2030 # Don't use installbsd from OSF since it installs stuff as root
2032 for ac_prog in ginstall scoinst install; do
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2035 if test $ac_prog = install &&
2036 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2037 # AIX install. It has an incompatible calling convention.
2039 elif test $ac_prog = install &&
2040 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2041 # program-specific install script used by HP pwplus--don't use.
2044 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2057 if test "${ac_cv_path_install+set}" = set; then
2058 INSTALL=$ac_cv_path_install
2060 # As a last resort, use the slow shell script. Don't cache a
2061 # value for INSTALL within a source directory, because that will
2062 # break other packages using the cache if that directory is
2063 # removed, or if the value is a relative name.
2064 INSTALL=$ac_install_sh
2067 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2068 echo "${ECHO_T}$INSTALL" >&6; }
2070 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2071 # It thinks the first close brace ends the variable substitution.
2072 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2074 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2076 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2078 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2079 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2082 echo timestamp > conftest.file
2083 # Do `set' in a subshell so we don't clobber the current shell
's
2084 # arguments. Must try -L first in case configure is actually a
2085 # symlink; some systems play weird games with the mod time of symlinks
2086 # (eg FreeBSD returns the mod time of the symlink's containing
2089 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2090 if test "$*" = "X"; then
2092 set X
`ls -t $srcdir/configure conftest.file`
2095 if test "$*" != "X $srcdir/configure conftest.file" \
2096 && test "$*" != "X conftest.file $srcdir/configure"; then
2098 # If neither matched, then we have a broken ls. This can happen
2099 # if, for instance, CONFIG_SHELL is bash and it inherits a
2100 # broken ls alias from the environment. This has actually
2101 # happened. Such a system could not be considered "sane".
2102 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&5
2104 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2105 alias in your environment" >&2;}
2106 { (exit 1); exit 1; }; }
2109 test "$2" = conftest.
file
2115 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116 Check your system clock" >&5
2117 echo "$as_me: error: newly created file is older than distributed files!
2118 Check your system clock" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: result: yes" >&5
2122 echo "${ECHO_T}yes" >&6; }
2123 test "$program_prefix" != NONE
&&
2124 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2125 # Use a double $ so make ignores it.
2126 test "$program_suffix" != NONE
&&
2127 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2128 # Double any \ or $. echo might interpret backslashes.
2129 # By default was `s,x,x', remove it if useless.
2130 cat <<\_ACEOF
>conftest.
sed
2131 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2133 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2136 # expand $ac_aux_dir to an absolute path
2137 am_aux_dir
=`cd $ac_aux_dir && pwd`
2139 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2140 # Use eval to expand $SHELL
2141 if eval "$MISSING --run true"; then
2142 am_missing_run
="$MISSING --run "
2145 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2146 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2149 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2150 # We used to keeping the `.' as first argument, in order to
2151 # allow $(mkdir_p) to be used without argument. As in
2152 # $(mkdir_p) $(somedir)
2153 # where $(somedir) is conditionally defined. However this is wrong
2155 # 1. if the package is installed by a user who cannot write `.'
2156 # make install will fail,
2157 # 2. the above comment should most certainly read
2158 # $(mkdir_p) $(DESTDIR)$(somedir)
2159 # so it does not work when $(somedir) is undefined and
2160 # $(DESTDIR) is not.
2161 # To support the latter case, we have to write
2162 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2163 # so the `.' trick is pointless.
2164 mkdir_p
='mkdir -p --'
2166 # On NextStep and OpenStep, the `mkdir' command does not
2167 # recognize any option. It will interpret all options as
2168 # directories to create, and then abort because `.' already
2170 for d
in .
/-p .
/--version;
2172 test -d $d && rmdir $d
2174 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2175 if test -f "$ac_aux_dir/mkinstalldirs"; then
2176 mkdir_p
='$(mkinstalldirs)'
2178 mkdir_p
='$(install_sh) -d'
2182 for ac_prog
in gawk mawk nawk
awk
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy
$ac_prog; ac_word
=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_AWK+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_AWK
="$ac_prog"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$AWK"; then
2213 { echo "$as_me:$LINENO: result: $AWK" >&5
2214 echo "${ECHO_T}$AWK" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2221 test -n "$AWK" && break
2224 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2226 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2227 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.
make <<\_ACEOF
2233 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2235 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2236 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2240 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2244 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6; }
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2251 SET_MAKE
="MAKE=${MAKE-make}"
2254 rm -rf .tst
2>/dev
/null
2255 mkdir .tst
2>/dev
/null
2256 if test -d .tst
; then
2261 rmdir .tst
2>/dev
/null
2263 # test to see if srcdir already configured
2264 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2265 test -f $srcdir/config.status
; then
2266 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2267 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2268 { (exit 1); exit 1; }; }
2271 # test whether we have cygpath
2272 if test -z "$CYGPATH_W"; then
2273 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2274 CYGPATH_W
='cygpath -w'
2281 # Define the identity of the package.
2282 PACKAGE
='barry-backup'
2286 cat >>confdefs.h
<<_ACEOF
2287 #define PACKAGE "$PACKAGE"
2291 cat >>confdefs.h
<<_ACEOF
2292 #define VERSION "$VERSION"
2295 # Some tools Automake needs.
2297 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2300 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2303 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2306 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2309 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2311 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2313 # Installed binaries are usually stripped using `strip' when the user
2314 # run `make install-strip'. However `strip' might not be the right
2315 # tool to use in cross-compilation environments, therefore Automake
2316 # will honor the `STRIP' environment variable to overrule this program.
2317 if test "$cross_compiling" != no
; then
2318 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2320 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2323 if test "${ac_cv_prog_STRIP+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$STRIP"; then
2327 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 for ac_exec_ext
in '' $ac_executable_extensions; do
2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 STRIP
=$ac_cv_prog_STRIP
2347 if test -n "$STRIP"; then
2348 { echo "$as_me:$LINENO: result: $STRIP" >&5
2349 echo "${ECHO_T}$STRIP" >&6; }
2351 { echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6; }
2357 if test -z "$ac_cv_prog_STRIP"; then
2359 # Extract the first word of "strip", so it can be a program name with args.
2360 set dummy strip
; ac_word
=$2
2361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2363 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$ac_ct_STRIP"; then
2367 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 ac_cv_prog_ac_ct_STRIP
="strip"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2387 if test -n "$ac_ct_STRIP"; then
2388 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2389 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2391 { echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6; }
2395 if test "x$ac_ct_STRIP" = x
; then
2398 case $cross_compiling:$ac_tool_warned in
2400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2401 whose name does not start with the host triplet. If you think this
2402 configuration is useful to you, please write to autoconf@gnu.org." >&5
2403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2404 whose name does not start with the host triplet. If you think this
2405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2406 ac_tool_warned
=yes ;;
2411 STRIP
="$ac_cv_prog_STRIP"
2415 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2417 # We need awk for the "check" target. The system "awk" is bad on
2419 # Always define AMTAR for backward compatibility.
2421 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2423 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2430 # Checks for programs.
2432 ac_cpp
='$CPP $CPPFLAGS'
2433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2436 if test -n "$ac_tool_prefix"; then
2437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2438 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2441 if test "${ac_cv_prog_CC+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$CC"; then
2445 ac_cv_prog_CC
="$CC" # Let the user override the test.
2447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir
=.
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 if test -n "$CC"; then
2466 { echo "$as_me:$LINENO: result: $CC" >&5
2467 echo "${ECHO_T}$CC" >&6; }
2469 { echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6; }
2475 if test -z "$ac_cv_prog_CC"; then
2477 # Extract the first word of "gcc", so it can be a program name with args.
2478 set dummy gcc
; ac_word
=$2
2479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_ac_ct_CC
="gcc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2505 if test -n "$ac_ct_CC"; then
2506 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2507 echo "${ECHO_T}$ac_ct_CC" >&6; }
2509 { echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6; }
2513 if test "x$ac_ct_CC" = x
; then
2516 case $cross_compiling:$ac_tool_warned in
2518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&5
2521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2522 whose name does not start with the host triplet. If you think this
2523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2524 ac_tool_warned
=yes ;;
2532 if test -z "$CC"; then
2533 if test -n "$ac_tool_prefix"; then
2534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2535 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2538 if test "${ac_cv_prog_CC+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 if test -n "$CC"; then
2542 ac_cv_prog_CC
="$CC" # Let the user override the test.
2544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2548 test -z "$as_dir" && as_dir
=.
2549 for ac_exec_ext
in '' $ac_executable_extensions; do
2550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2551 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 if test -n "$CC"; then
2563 { echo "$as_me:$LINENO: result: $CC" >&5
2564 echo "${ECHO_T}$CC" >&6; }
2566 { echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6; }
2573 if test -z "$CC"; then
2574 # Extract the first word of "cc", so it can be a program name with args.
2575 set dummy cc
; ac_word
=$2
2576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC
="$CC" # Let the user override the test.
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2593 ac_prog_rejected
=yes
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test $ac_prog_rejected = yes; then
2605 # We found a bogon in the path, so make sure we never use it.
2606 set dummy
$ac_cv_prog_CC
2608 if test $# != 0; then
2609 # We chose a different compiler from the bogus one.
2610 # However, it has the same basename, so the bogon will be chosen
2611 # first if we set CC to just the basename; use the full file name.
2613 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2619 if test -n "$CC"; then
2620 { echo "$as_me:$LINENO: result: $CC" >&5
2621 echo "${ECHO_T}$CC" >&6; }
2623 { echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6; }
2629 if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then
2631 for ac_prog
in cl.exe
2633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2634 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637 if test "${ac_cv_prog_CC+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$CC"; then
2641 ac_cv_prog_CC
="$CC" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 if test -n "$CC"; then
2662 { echo "$as_me:$LINENO: result: $CC" >&5
2663 echo "${ECHO_T}$CC" >&6; }
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2670 test -n "$CC" && break
2673 if test -z "$CC"; then
2675 for ac_prog
in cl.exe
2677 # Extract the first word of "$ac_prog", so it can be a program name with args.
2678 set dummy
$ac_prog; ac_word
=$2
2679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$ac_ct_CC"; then
2685 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_ac_ct_CC
="$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2705 if test -n "$ac_ct_CC"; then
2706 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2707 echo "${ECHO_T}$ac_ct_CC" >&6; }
2709 { echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6; }
2714 test -n "$ac_ct_CC" && break
2717 if test "x$ac_ct_CC" = x
; then
2720 case $cross_compiling:$ac_tool_warned in
2722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2723 whose name does not start with the host triplet. If you think this
2724 configuration is useful to you, please write to autoconf@gnu.org." >&5
2725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2726 whose name does not start with the host triplet. If you think this
2727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2728 ac_tool_warned
=yes ;;
2737 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: no acceptable C compiler found in \$PATH
2740 See \`config.log' for more details." >&2;}
2741 { (exit 1); exit 1; }; }
2743 # Provide some information about the compiler.
2744 echo "$as_me:$LINENO: checking for C compiler version" >&5
2745 ac_compiler
=`set X $ac_compile; echo $2`
2746 { (ac_try
="$ac_compiler --version >&5"
2748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_compiler --version >&5") 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }
2756 { (ac_try="$ac_compiler -v >&5"
2758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2759 *) ac_try_echo
=$ac_try;;
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762 (eval "$ac_compiler -v >&5") 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }
2766 { (ac_try
="$ac_compiler -V >&5"
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compiler -V >&5") 2>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2777 cat >conftest.$ac_ext <<_ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h. */
2792 ac_clean_files_save=$ac_clean_files
2793 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2794 # Try to create an executable without -o first, disregard a.out.
2795 # It will help us diagnose broken compilers, and finding out an intuition
2797 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2798 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2799 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2801 # List of possible output files, starting from the most likely.
2802 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2803 # only as a last resort. b.out is created by i960 compilers.
2804 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2806 # The IRIX 6 linker writes into existing files which may not be
2807 # executable, retaining their permissions. Remove them first so a
2808 # subsequent execution test works.
2810 for ac_file in $ac_files
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2814 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2819 if { (ac_try="$ac_link_default"
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_link_default") 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2831 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2832 # so that the user can short-circuit this test for compilers unknown to
2834 for ac_file
in $ac_files ''
2836 test -f "$ac_file" ||
continue
2838 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2841 # We found the default executable, but exeext='' is most
2845 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2847 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2849 # We set ac_cv_exeext here because the later test for it is not
2850 # safe: cross compilers may not add the suffix if given an `-o'
2851 # argument, so we may need to know it at that point already.
2852 # Even if this section looks crufty: it has the advantage of
2859 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2865 { echo "$as_me:$LINENO: result: $ac_file" >&5
2866 echo "${ECHO_T}$ac_file" >&6; }
2867 if test -z "$ac_file"; then
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.
$ac_ext >&5
2871 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2872 See \`config.log' for more details." >&5
2873 echo "$as_me: error: C compiler cannot create executables
2874 See \`config.log' for more details." >&2;}
2875 { (exit 77); exit 77; }; }
2878 ac_exeext
=$ac_cv_exeext
2880 # Check that the compiler produces executables we can run. If not, either
2881 # the compiler is broken, or we cross compile.
2882 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2883 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2884 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2885 # If not cross compiling, check that we can run a simple program.
2886 if test "$cross_compiling" != yes; then
2887 if { ac_try
='./$ac_file'
2888 { (case "(($ac_try" in
2889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_try") 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2899 if test "$cross_compiling" = maybe; then
2902 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2903 If you meant to cross compile, use \`--host'.
2904 See \`config.log' for more details.
" >&5
2905 echo "$as_me: error
: cannot run C compiled programs.
2906 If you meant to cross compile
, use \
`--host'.
2907 See \`config.log
' for more details." >&2;}
2908 { (exit 1); exit 1; }; }
2912 { echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6; }
2915 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2916 ac_clean_files=$ac_clean_files_save
2917 # Check that the compiler produces executables we can run. If not, either
2918 # the compiler is broken, or we cross compile.
2919 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2920 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2921 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2922 echo "${ECHO_T}$cross_compiling" >&6; }
2924 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2925 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2926 if { (ac_try="$ac_link"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_link") 2>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; then
2936 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2937 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2938 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2940 for ac_file
in conftest.exe conftest conftest.
*; do
2941 test -f "$ac_file" ||
continue
2943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2944 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2950 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2951 See \`config.log' for more details." >&5
2952 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2953 See \`config.log' for more details." >&2;}
2954 { (exit 1); exit 1; }; }
2957 rm -f conftest
$ac_cv_exeext
2958 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2959 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2961 rm -f conftest.
$ac_ext
2962 EXEEXT
=$ac_cv_exeext
2964 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2965 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2966 if test "${ac_cv_objext+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 cat >conftest.
$ac_ext <<_ACEOF
2972 cat confdefs.h
>>conftest.
$ac_ext
2973 cat >>conftest.
$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2984 rm -f conftest.o conftest.obj
2985 if { (ac_try
="$ac_compile"
2987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; then
2995 for ac_file in conftest.o conftest.obj conftest.*; do
2996 test -f "$ac_file" || continue;
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2999 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3008 See \`config.log
' for more details." >&5
3009 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3010 See \`config.log' for more details.
" >&2;}
3011 { (exit 1); exit 1; }; }
3014 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3016 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3017 echo "${ECHO_T}$ac_cv_objext" >&6; }
3018 OBJEXT=$ac_cv_objext
3020 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3021 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3022 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3023 echo $ECHO_N "(cached
) $ECHO_C" >&6
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3043 rm -f conftest.$ac_objext
3044 if { (ac_try="$ac_compile"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3050 (eval "$ac_compile") 2>conftest.er1
3052 grep -v '^ *+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3056 (exit $ac_status); } && {
3057 test -z "$ac_c_werror_flag" ||
3058 test ! -s conftest.err
3059 } && test -s conftest.$ac_objext; then
3062 echo "$as_me: failed program was
:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3072 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3073 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3074 GCC=`test $ac_compiler_gnu = yes && echo yes`
3075 ac_test_CFLAGS=${CFLAGS+set}
3076 ac_save_CFLAGS=$CFLAGS
3077 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3078 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_g+set}" = set; then
3080 echo $ECHO_N "(cached
) $ECHO_C" >&6
3082 ac_save_c_werror_flag=$ac_c_werror_flag
3083 ac_c_werror_flag=yes
3086 cat >conftest.$ac_ext <<_ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3101 rm -f conftest.$ac_objext
3102 if { (ac_try="$ac_compile"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compile") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3114 (exit $ac_status); } && {
3115 test -z "$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3117 } && test -s conftest.$ac_objext; then
3120 echo "$as_me: failed program was
:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3124 cat >conftest.$ac_ext <<_ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3139 rm -f conftest.$ac_objext
3140 if { (ac_try="$ac_compile"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compile") 2>conftest.er1
3148 grep -v '^ *+' conftest.er1 >conftest.err
3150 cat conftest.err >&5
3151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3152 (exit $ac_status); } && {
3153 test -z "$ac_c_werror_flag" ||
3154 test ! -s conftest.err
3155 } && test -s conftest.$ac_objext; then
3158 echo "$as_me: failed program was
:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_c_werror_flag=$ac_save_c_werror_flag
3163 cat >conftest.$ac_ext <<_ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3178 rm -f conftest.$ac_objext
3179 if { (ac_try="$ac_compile"
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3185 (eval "$ac_compile") 2>conftest.er1
3187 grep -v '^ *+' conftest.er1 >conftest.err
3189 cat conftest.err >&5
3190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3191 (exit $ac_status); } && {
3192 test -z "$ac_c_werror_flag" ||
3193 test ! -s conftest.err
3194 } && test -s conftest.$ac_objext; then
3197 echo "$as_me: failed program was
:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 ac_c_werror_flag=$ac_save_c_werror_flag
3212 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3214 if test "$ac_test_CFLAGS" = set; then
3215 CFLAGS=$ac_save_CFLAGS
3216 elif test $ac_cv_prog_cc_g = yes; then
3217 if test "$GCC" = yes; then
3223 if test "$GCC" = yes; then
3229 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3230 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3231 if test "${ac_cv_prog_cc_c89+set}" = set; then
3232 echo $ECHO_N "(cached
) $ECHO_C" >&6
3234 ac_cv_prog_cc_c89=no
3236 cat >conftest.$ac_ext <<_ACEOF
3239 cat confdefs.h >>conftest.$ac_ext
3240 cat >>conftest.$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3244 #include <sys/types.h>
3245 #include <sys/stat.h>
3246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3247 struct buf { int x; };
3248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3249 static char *e (p, i)
3255 static char *f (char * (*g) (char **, int), char **p, ...)
3260 s = g (p, va_arg (v,int));
3265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3266 function prototypes and stuff, but not '\xHH' hex character constants.
3267 These don't provoke an error unfortunately, instead are silently treated
3268 as 'x'. The following induces an error, until -std is added to get
3269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3270 array size at least. It's necessary to write '\x00'==0 to get something
3271 that's true only with -std. */
3272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3275 inside strings and character constants. */
3277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3279 int test (int i, double x);
3280 struct s1 {int (*f) (int a);};
3281 struct s2 {int (*f) (double a);};
3282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3288 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3294 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3296 CC="$ac_save_CC $ac_arg"
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compile") 2>conftest.er1
3306 grep -v '^ *+' conftest.er1 >conftest.err
3308 cat conftest.err >&5
3309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3310 (exit $ac_status); } && {
3311 test -z "$ac_c_werror_flag" ||
3312 test ! -s conftest.err
3313 } && test -s conftest.$ac_objext; then
3314 ac_cv_prog_cc_c89=$ac_arg
3316 echo "$as_me: failed program was
:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3322 rm -f core conftest.err conftest.$ac_objext
3323 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3325 rm -f conftest.$ac_ext
3330 case "x
$ac_cv_prog_cc_c89" in
3332 { echo "$as_me:$LINENO: result
: none needed
" >&5
3333 echo "${ECHO_T}none needed
" >&6; } ;;
3335 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3336 echo "${ECHO_T}unsupported
" >&6; } ;;
3338 CC="$CC $ac_cv_prog_cc_c89"
3339 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3340 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3345 ac_cpp='$CPP $CPPFLAGS'
3346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3349 DEPDIR="${am__leading_dot}deps
"
3351 ac_config_commands="$ac_config_commands depfiles
"
3354 am_make=${MAKE-make}
3355 cat > confinc << 'END'
3360 # If we don't find an include directive, just comment out the code.
3361 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3362 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3366 # First try GNU make style include.
3367 echo "include confinc" > confmf
3368 # We grep out `Entering directory' and `Leaving directory'
3369 # messages which can occur if `w' ends up in MAKEFLAGS.
3370 # In particular we don't look at `^make:' because GNU make might
3371 # be invoked under some other name (usually "gmake"), in which
3372 # case it prints its new name instead of `make'.
3373 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3378 # Now try BSD make style include.
3379 if test "$am__include" = "#"; then
3380 echo '.include "confinc"' > confmf
3381 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3382 am__include
=.include
3389 { echo "$as_me:$LINENO: result: $_am_result" >&5
3390 echo "${ECHO_T}$_am_result" >&6; }
3391 rm -f confinc confmf
3393 # Check whether --enable-dependency-tracking was given.
3394 if test "${enable_dependency_tracking+set}" = set; then
3395 enableval
=$enable_dependency_tracking;
3398 if test "x$enable_dependency_tracking" != xno
; then
3399 am_depcomp
="$ac_aux_dir/depcomp"
3404 if test "x$enable_dependency_tracking" != xno; then
3415 depcc
="$CC" am_compiler_list
=
3417 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3418 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3419 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3423 # We make a subdir and do the tests there. Otherwise we can end up
3424 # making bogus files that we don't know about and never remove. For
3425 # instance it was reported that on HP-UX the gcc test will end up
3426 # making a dummy file named `D' -- because `-MD' means `put the output
3429 # Copy depcomp to subdir because otherwise we won't find it if we're
3430 # using a relative directory.
3431 cp "$am_depcomp" conftest.dir
3433 # We will build objects and dependencies in a subdirectory because
3434 # it helps to detect inapplicable dependency modes. For instance
3435 # both Tru64's cc and ICC support -MD to output dependencies as a
3436 # side effect of compilation, but ICC will put the dependencies in
3437 # the current directory while Tru64 will put them in the object
3441 am_cv_CC_dependencies_compiler_type
=none
3442 if test "$am_compiler_list" = ""; then
3443 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3445 for depmode
in $am_compiler_list; do
3446 # Setup a source with many dependencies, because some compilers
3447 # like to wrap large dependency lists on column 80 (with \), and
3448 # we should not choose a depcomp mode which is confused by this.
3450 # We need to recreate these files for each test, as the compiler may
3451 # overwrite some of them when testing with obscure command lines.
3452 # This happens at least with the AIX C compiler.
3454 for i
in 1 2 3 4 5 6; do
3455 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3456 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3457 # Solaris 8's {/usr,}/bin/sh.
3458 touch sub
/conftst
$i.h
3460 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3464 # after this tag, mechanisms are not by side-effect, so they'll
3465 # only be used when explicitly requested
3466 if test "x$enable_dependency_tracking" = xyes
; then
3474 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3475 # mode. It turns out that the SunPro C++ compiler does not properly
3476 # handle `-M -o', and we need to detect this.
3477 if depmode
=$depmode \
3478 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3479 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3480 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3481 >/dev
/null
2>conftest.err
&&
3482 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3483 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3484 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3485 # icc doesn't choke on unknown options, it will just issue warnings
3486 # or remarks (even with -Werror). So we grep stderr for any message
3487 # that says an option was ignored or not supported.
3488 # When given -MP, icc 7.0 and 7.1 complain thusly:
3489 # icc: Command line warning: ignoring option '-M'; no argument required
3490 # The diagnosis changed in icc 8.0:
3491 # icc: Command line remark: option '-MP' not supported
3492 if (grep 'ignoring option' conftest.err ||
3493 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3494 am_cv_CC_dependencies_compiler_type
=$depmode
3503 am_cv_CC_dependencies_compiler_type
=none
3507 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3508 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3509 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3514 test "x$enable_dependency_tracking" != xno \
3515 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3517 am__fastdepCC_FALSE
='#'
3519 am__fastdepCC_TRUE
='#'
3520 am__fastdepCC_FALSE
=
3525 ac_cpp
='$CXXCPP $CPPFLAGS'
3526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3529 if test -z "$CXX"; then
3530 if test -n "$CCC"; then
3533 if test -n "$ac_tool_prefix"; then
3534 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3537 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540 if test "${ac_cv_prog_CXX+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$CXX"; then
3544 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CXX"; then
3565 { echo "$as_me:$LINENO: result: $CXX" >&5
3566 echo "${ECHO_T}$CXX" >&6; }
3568 { echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6; }
3573 test -n "$CXX" && break
3576 if test -z "$CXX"; then
3578 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy
$ac_prog; ac_word
=$2
3582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3584 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 if test -n "$ac_ct_CXX"; then
3588 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3608 if test -n "$ac_ct_CXX"; then
3609 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3610 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
3617 test -n "$ac_ct_CXX" && break
3620 if test "x$ac_ct_CXX" = x
; then
3623 case $cross_compiling:$ac_tool_warned in
3625 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3626 whose name does not start with the host triplet. If you think this
3627 configuration is useful to you, please write to autoconf@gnu.org." >&5
3628 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3629 whose name does not start with the host triplet. If you think this
3630 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3631 ac_tool_warned
=yes ;;
3639 # Provide some information about the compiler.
3640 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3641 ac_compiler
=`set X $ac_compile; echo $2`
3642 { (ac_try
="$ac_compiler --version >&5"
3644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3648 (eval "$ac_compiler --version >&5") 2>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }
3652 { (ac_try="$ac_compiler -v >&5"
3654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3655 *) ac_try_echo
=$ac_try;;
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_compiler -v >&5") 2>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); }
3662 { (ac_try
="$ac_compiler -V >&5"
3664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3668 (eval "$ac_compiler -V >&5") 2>&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }
3673 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3674 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3675 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 cat >conftest.$ac_ext <<_ACEOF
3681 cat confdefs.h >>conftest.$ac_ext
3682 cat >>conftest.$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3700 *) ac_try_echo
=$ac_try;;
3702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703 (eval "$ac_compile") 2>conftest.er1
3705 grep -v '^ *+' conftest.er1
>conftest.err
3707 cat conftest.err
>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } && {
3710 test -z "$ac_cxx_werror_flag" ||
3711 test ! -s conftest.err
3712 } && test -s conftest.
$ac_objext; then
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.
$ac_ext >&5
3721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3722 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3725 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3726 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3727 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3728 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3729 ac_save_CXXFLAGS
=$CXXFLAGS
3730 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3731 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3732 if test "${ac_cv_prog_cxx_g+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3736 ac_cxx_werror_flag
=yes
3739 cat >conftest.
$ac_ext <<_ACEOF
3742 cat confdefs.h
>>conftest.
$ac_ext
3743 cat >>conftest.
$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3754 rm -f conftest.
$ac_objext
3755 if { (ac_try
="$ac_compile"
3757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3761 (eval "$ac_compile") 2>conftest.er1
3763 grep -v '^ *+' conftest.er1 >conftest.err
3765 cat conftest.err >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } && {
3768 test -z "$ac_cxx_werror_flag" ||
3769 test ! -s conftest.err
3770 } && test -s conftest.$ac_objext; then
3771 ac_cv_prog_cxx_g=yes
3773 echo "$as_me: failed program was:" >&5
3774 sed 's/^/| /' conftest.$ac_ext >&5
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3792 rm -f conftest.$ac_objext
3793 if { (ac_try="$ac_compile"
3795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3796 *) ac_try_echo
=$ac_try;;
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_compile") 2>conftest.er1
3801 grep -v '^ *+' conftest.er1
>conftest.err
3803 cat conftest.err
>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } && {
3806 test -z "$ac_cxx_werror_flag" ||
3807 test ! -s conftest.err
3808 } && test -s conftest.
$ac_objext; then
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3814 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3831 rm -f conftest.
$ac_objext
3832 if { (ac_try
="$ac_compile"
3834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838 (eval "$ac_compile") 2>conftest.er1
3840 grep -v '^ *+' conftest.er1 >conftest.err
3842 cat conftest.err >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } && {
3845 test -z "$ac_cxx_werror_flag" ||
3846 test ! -s conftest.err
3847 } && test -s conftest.$ac_objext; then
3848 ac_cv_prog_cxx_g=yes
3850 echo "$as_me: failed program was:" >&5
3851 sed 's/^/| /' conftest.$ac_ext >&5
3856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3865 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3866 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3867 if test "$ac_test_CXXFLAGS" = set; then
3868 CXXFLAGS=$ac_save_CXXFLAGS
3869 elif test $ac_cv_prog_cxx_g = yes; then
3870 if test "$GXX" = yes; then
3876 if test "$GXX" = yes; then
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 depcc="$CXX" am_compiler_list=
3890 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3891 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3892 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3896 # We make a subdir and do the tests there. Otherwise we can end up
3897 # making bogus files that we don't know about and never remove. For
3898 # instance it was reported that on HP-UX the gcc test will end up
3899 # making a dummy file named `D
' -- because `-MD' means
`put the output
3902 # Copy depcomp to subdir because otherwise we won't find it if we're
3903 # using a relative directory.
3904 cp "$am_depcomp" conftest.dir
3906 # We will build objects and dependencies in a subdirectory because
3907 # it helps to detect inapplicable dependency modes. For instance
3908 # both Tru64's cc and ICC support -MD to output dependencies as a
3909 # side effect of compilation, but ICC will put the dependencies in
3910 # the current directory while Tru64 will put them in the object
3914 am_cv_CXX_dependencies_compiler_type=none
3915 if test "$am_compiler_list" = ""; then
3916 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3918 for depmode in $am_compiler_list; do
3919 # Setup a source with many dependencies, because some compilers
3920 # like to wrap large dependency lists on column 80 (with \), and
3921 # we should not choose a depcomp mode which is confused by this.
3923 # We need to recreate these files for each test, as the compiler may
3924 # overwrite some of them when testing with obscure command lines.
3925 # This happens at least with the AIX C compiler.
3927 for i in 1 2 3 4 5 6; do
3928 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3929 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3930 # Solaris 8's
{/usr
,}/bin
/sh.
3931 touch sub
/conftst
$i.h
3933 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3937 # after this tag, mechanisms are not by side-effect, so they'll
3938 # only be used when explicitly requested
3939 if test "x$enable_dependency_tracking" = xyes
; then
3947 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3948 # mode. It turns out that the SunPro C++ compiler does not properly
3949 # handle `-M -o', and we need to detect this.
3950 if depmode
=$depmode \
3951 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3952 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3953 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3954 >/dev
/null
2>conftest.err
&&
3955 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3956 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3957 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3958 # icc doesn't choke on unknown options, it will just issue warnings
3959 # or remarks (even with -Werror). So we grep stderr for any message
3960 # that says an option was ignored or not supported.
3961 # When given -MP, icc 7.0 and 7.1 complain thusly:
3962 # icc: Command line warning: ignoring option '-M'; no argument required
3963 # The diagnosis changed in icc 8.0:
3964 # icc: Command line remark: option '-MP' not supported
3965 if (grep 'ignoring option' conftest.err ||
3966 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3967 am_cv_CXX_dependencies_compiler_type
=$depmode
3976 am_cv_CXX_dependencies_compiler_type
=none
3980 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3981 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3982 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3987 test "x$enable_dependency_tracking" != xno \
3988 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3989 am__fastdepCXX_TRUE
=
3990 am__fastdepCXX_FALSE
='#'
3992 am__fastdepCXX_TRUE
='#'
3993 am__fastdepCXX_FALSE
=
3997 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3999 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4000 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 cat >conftest.
make <<\_ACEOF
4006 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4008 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4011 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4013 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4017 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4022 { echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6; }
4024 SET_MAKE
="MAKE=${MAKE-make}"
4027 # Check whether --enable-shared was given.
4028 if test "${enable_shared+set}" = set; then
4029 enableval
=$enable_shared; p
=${PACKAGE-default}
4031 yes) enable_shared
=yes ;;
4032 no
) enable_shared
=no
;;
4035 # Look at the argument we got. We use all the common list separators.
4036 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4037 for pkg
in $enableval; do
4039 if test "X$pkg" = "X$p"; then
4051 # Check whether --enable-static was given.
4052 if test "${enable_static+set}" = set; then
4053 enableval
=$enable_static; p
=${PACKAGE-default}
4055 yes) enable_static
=yes ;;
4056 no
) enable_static
=no
;;
4059 # Look at the argument we got. We use all the common list separators.
4060 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4061 for pkg
in $enableval; do
4063 if test "X$pkg" = "X$p"; then
4075 # Check whether --enable-fast-install was given.
4076 if test "${enable_fast_install+set}" = set; then
4077 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4079 yes) enable_fast_install
=yes ;;
4080 no
) enable_fast_install
=no
;;
4082 enable_fast_install
=no
4083 # Look at the argument we got. We use all the common list separators.
4084 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4085 for pkg
in $enableval; do
4087 if test "X$pkg" = "X$p"; then
4088 enable_fast_install
=yes
4095 enable_fast_install
=yes
4099 # Make sure we can run config.sub.
4100 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4101 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4102 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4103 { (exit 1); exit 1; }; }
4105 { echo "$as_me:$LINENO: checking build system type" >&5
4106 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4107 if test "${ac_cv_build+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 ac_build_alias
=$build_alias
4111 test "x$ac_build_alias" = x
&&
4112 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4113 test "x$ac_build_alias" = x
&&
4114 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4115 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4116 { (exit 1); exit 1; }; }
4117 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4118 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4119 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4120 { (exit 1); exit 1; }; }
4123 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4124 echo "${ECHO_T}$ac_cv_build" >&6; }
4125 case $ac_cv_build in
4127 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4128 echo "$as_me: error: invalid value of canonical build" >&2;}
4129 { (exit 1); exit 1; }; };;
4132 ac_save_IFS
=$IFS; IFS
='-'
4138 # Remember, the first character of IFS is used to create $*,
4139 # except with old shells:
4142 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4145 { echo "$as_me:$LINENO: checking host system type" >&5
4146 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4147 if test "${ac_cv_host+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test "x$host_alias" = x
; then
4151 ac_cv_host
=$ac_cv_build
4153 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4154 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4155 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4156 { (exit 1); exit 1; }; }
4160 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4161 echo "${ECHO_T}$ac_cv_host" >&6; }
4164 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4165 echo "$as_me: error: invalid value of canonical host" >&2;}
4166 { (exit 1); exit 1; }; };;
4169 ac_save_IFS
=$IFS; IFS
='-'
4175 # Remember, the first character of IFS is used to create $*,
4176 # except with old shells:
4179 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4182 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4183 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4184 if test "${lt_cv_path_SED+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 # Loop through the user's path and test for sed and gsed.
4188 # Then use that list of sed's as ones to test for truncation.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for lt_ac_prog
in sed gsed
; do
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4197 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4204 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4205 # along with /bin/sed that truncates output.
4206 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4207 test ! -f $lt_ac_sed && continue
4208 cat /dev
/null
> conftest.
in
4210 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4211 # Check for GNU sed and select it if it is found.
4212 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4213 lt_cv_path_SED
=$lt_ac_sed
4217 cat conftest.
in conftest.
in >conftest.tmp
4218 mv conftest.tmp conftest.
in
4219 cp conftest.
in conftest.
nl
4221 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4222 cmp -s conftest.out conftest.
nl ||
break
4223 # 10000 chars as input seems more than enough
4224 test $lt_ac_count -gt 10 && break
4225 lt_ac_count
=`expr $lt_ac_count + 1`
4226 if test $lt_ac_count -gt $lt_ac_max; then
4227 lt_ac_max
=$lt_ac_count
4228 lt_cv_path_SED
=$lt_ac_sed
4236 { echo "$as_me:$LINENO: result: $SED" >&5
4237 echo "${ECHO_T}$SED" >&6; }
4239 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4240 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4241 if test "${ac_cv_path_GREP+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 # Extract the first word of "grep ggrep" to use in msg output
4245 if test -z "$GREP"; then
4246 set dummy
grep ggrep
; ac_prog_name
=$2
4247 if test "${ac_cv_path_GREP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 ac_path_GREP_found
=false
4251 # Loop through the user's path and test for each of PROGNAME-LIST
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4253 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_prog
in grep ggrep
; do
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4260 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4261 # Check for GNU ac_path_GREP and select it if it is found.
4262 # Check for GNU $ac_path_GREP
4263 case `"$ac_path_GREP" --version 2>&1` in
4265 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4268 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4271 cat "conftest.in" "conftest.in" >"conftest.tmp"
4272 mv "conftest.tmp" "conftest.in"
4273 cp "conftest.in" "conftest.nl"
4274 echo 'GREP' >> "conftest.nl"
4275 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4276 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4277 ac_count
=`expr $ac_count + 1`
4278 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4279 # Best one so far, save it but keep looking for a better one
4280 ac_cv_path_GREP
="$ac_path_GREP"
4281 ac_path_GREP_max
=$ac_count
4283 # 10*(2^10) chars as input seems more than enough
4284 test $ac_count -gt 10 && break
4286 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4290 $ac_path_GREP_found && break 3
4300 GREP
="$ac_cv_path_GREP"
4301 if test -z "$GREP"; then
4302 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4303 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4304 { (exit 1); exit 1; }; }
4308 ac_cv_path_GREP
=$GREP
4313 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4314 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4315 GREP
="$ac_cv_path_GREP"
4318 { echo "$as_me:$LINENO: checking for egrep" >&5
4319 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4320 if test "${ac_cv_path_EGREP+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4324 then ac_cv_path_EGREP
="$GREP -E"
4326 # Extract the first word of "egrep" to use in msg output
4327 if test -z "$EGREP"; then
4328 set dummy
egrep; ac_prog_name
=$2
4329 if test "${ac_cv_path_EGREP+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_path_EGREP_found
=false
4333 # Loop through the user's path and test for each of PROGNAME-LIST
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_prog
in egrep; do
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4342 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4343 # Check for GNU ac_path_EGREP and select it if it is found.
4344 # Check for GNU $ac_path_EGREP
4345 case `"$ac_path_EGREP" --version 2>&1` in
4347 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4350 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4353 cat "conftest.in" "conftest.in" >"conftest.tmp"
4354 mv "conftest.tmp" "conftest.in"
4355 cp "conftest.in" "conftest.nl"
4356 echo 'EGREP' >> "conftest.nl"
4357 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4358 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4359 ac_count
=`expr $ac_count + 1`
4360 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4361 # Best one so far, save it but keep looking for a better one
4362 ac_cv_path_EGREP
="$ac_path_EGREP"
4363 ac_path_EGREP_max
=$ac_count
4365 # 10*(2^10) chars as input seems more than enough
4366 test $ac_count -gt 10 && break
4368 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4372 $ac_path_EGREP_found && break 3
4382 EGREP
="$ac_cv_path_EGREP"
4383 if test -z "$EGREP"; then
4384 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4385 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4386 { (exit 1); exit 1; }; }
4390 ac_cv_path_EGREP
=$EGREP
4396 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4397 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4398 EGREP
="$ac_cv_path_EGREP"
4402 # Check whether --with-gnu-ld was given.
4403 if test "${with_gnu_ld+set}" = set; then
4404 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4410 if test "$GCC" = yes; then
4411 # Check if gcc -print-prog-name=ld gives a path.
4412 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4413 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4416 # gcc leaves a trailing carriage return which upsets mingw
4417 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4419 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4422 # Accept absolute paths.
4424 re_direlt
='/[^/][^/]*/\.\./'
4425 # Canonicalize the pathname of ld
4426 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4427 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4428 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4430 test -z "$LD" && LD
="$ac_prog"
4433 # If it fails, then pretend we aren't using GCC.
4437 # If it is relative, then search for the first ld in PATH.
4441 elif test "$with_gnu_ld" = yes; then
4442 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4443 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4445 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4446 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4448 if test "${lt_cv_path_LD+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 if test -z "$LD"; then
4452 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4453 for ac_dir
in $PATH; do
4455 test -z "$ac_dir" && ac_dir
=.
4456 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4457 lt_cv_path_LD
="$ac_dir/$ac_prog"
4458 # Check to see if the program is GNU ld. I'd rather use --version,
4459 # but apparently some variants of GNU ld only accept -v.
4460 # Break only if it was the GNU/non-GNU ld that we prefer.
4461 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4462 *GNU
* |
*'with BFD'*)
4463 test "$with_gnu_ld" != no
&& break
4466 test "$with_gnu_ld" != yes && break
4473 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4478 if test -n "$LD"; then
4479 { echo "$as_me:$LINENO: result: $LD" >&5
4480 echo "${ECHO_T}$LD" >&6; }
4482 { echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6; }
4485 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4486 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4487 { (exit 1); exit 1; }; }
4488 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4489 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4490 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4494 case `$LD -v 2>&1 </dev/null` in
4495 *GNU
* |
*'with BFD'*)
4496 lt_cv_prog_gnu_ld
=yes
4499 lt_cv_prog_gnu_ld
=no
4503 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4504 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4505 with_gnu_ld
=$lt_cv_prog_gnu_ld
4508 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4509 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4510 if test "${lt_cv_ld_reload_flag+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 lt_cv_ld_reload_flag
='-r'
4515 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4516 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4517 reload_flag
=$lt_cv_ld_reload_flag
4518 case $reload_flag in
4520 *) reload_flag
=" $reload_flag" ;;
4522 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4525 if test "$GCC" = yes; then
4526 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4528 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4533 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4534 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4535 if test "${lt_cv_path_NM+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 if test -n "$NM"; then
4539 # Let the user override the test.
4542 lt_nm_to_check
="${ac_tool_prefix}nm"
4543 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4544 lt_nm_to_check
="$lt_nm_to_check nm"
4546 for lt_tmp_nm
in $lt_nm_to_check; do
4547 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4548 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4550 test -z "$ac_dir" && ac_dir
=.
4551 tmp_nm
="$ac_dir/$lt_tmp_nm"
4552 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4553 # Check to see if the nm accepts a BSD-compat flag.
4554 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4555 # nm: unknown option "B" ignored
4556 # Tru64's nm complains that /dev/null is an invalid object file
4557 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4558 */dev
/null
* |
*'Invalid file or object type'*)
4559 lt_cv_path_NM
="$tmp_nm -B"
4563 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4565 lt_cv_path_NM
="$tmp_nm -p"
4569 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4570 continue # so that we can try to find one that supports BSD flags
4579 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4582 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4583 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4586 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4587 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4589 if test "$LN_S" = "ln -s"; then
4590 { echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6; }
4593 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4594 echo "${ECHO_T}no, using $LN_S" >&6; }
4597 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4598 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4599 if test "${lt_cv_deplibs_check_method+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4603 lt_cv_file_magic_test_file
=
4604 lt_cv_deplibs_check_method
='unknown'
4605 # Need to set the preceding variable on all platforms that support
4606 # interlibrary dependencies.
4607 # 'none' -- dependencies not supported.
4608 # `unknown' -- same as none, but documents that we really don't know.
4609 # 'pass_all' -- all dependencies passed with no checks.
4610 # 'test_compile' -- check by making test program.
4611 # 'file_magic [[regex]]' -- check by looking for files in library path
4612 # which responds to the $file_magic_cmd with a given extended regex.
4613 # If you have `file' or equivalent on your system and you're not sure
4614 # whether `pass_all' will *always* work, you probably want this one.
4618 lt_cv_deplibs_check_method
=pass_all
4622 lt_cv_deplibs_check_method
=pass_all
4626 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4627 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4628 lt_cv_file_magic_test_file
=/shlib
/libc.so
4632 # func_win32_libid is a shell function defined in ltmain.sh
4633 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4634 lt_cv_file_magic_cmd
='func_win32_libid'
4638 # Base MSYS/MinGW do not provide the 'file' command needed by
4639 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4640 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4641 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4644 darwin
* | rhapsody
*)
4645 lt_cv_deplibs_check_method
=pass_all
4648 freebsd
* | dragonfly
*)
4649 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4652 # Not sure whether the presence of OpenBSD here was a mistake.
4653 # Let's accept both of them until this is cleared up.
4654 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4655 lt_cv_file_magic_cmd
=/usr
/bin
/file
4656 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4660 lt_cv_deplibs_check_method
=pass_all
4665 lt_cv_deplibs_check_method
=pass_all
4668 hpux10.20
* | hpux11
*)
4669 lt_cv_file_magic_cmd
=/usr
/bin
/file
4672 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4673 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4676 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]'
4677 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4680 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4681 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4687 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4688 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4691 irix5
* | irix6
* | nonstopux
*)
4693 *-32|
*"-32 ") libmagic
=32-bit;;
4694 *-n32|
*"-n32 ") libmagic
=N32
;;
4695 *-64|
*"-64 ") libmagic
=64-bit;;
4696 *) libmagic
=never-match
;;
4698 lt_cv_deplibs_check_method
=pass_all
4701 # This must be Linux ELF.
4702 linux
* | k
*bsd
*-gnu)
4703 lt_cv_deplibs_check_method
=pass_all
4706 netbsd
* | netbsdelf
*-gnu)
4707 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4708 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4710 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4715 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4716 lt_cv_file_magic_cmd
=/usr
/bin
/file
4717 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4721 lt_cv_deplibs_check_method
=unknown
4725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4726 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4728 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4732 osf3
* | osf4
* | osf5
*)
4733 lt_cv_deplibs_check_method
=pass_all
4737 lt_cv_deplibs_check_method
=pass_all
4741 case $host_vendor in
4743 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]'
4744 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4747 lt_cv_deplibs_check_method
=pass_all
4750 lt_cv_file_magic_cmd
='/bin/file'
4751 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4754 lt_cv_file_magic_cmd
='/bin/file'
4755 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4756 lt_cv_file_magic_test_file
=/lib
/libc.so
4759 lt_cv_deplibs_check_method
=pass_all
4762 lt_cv_deplibs_check_method
=pass_all
4767 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4768 lt_cv_deplibs_check_method
=pass_all
4773 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4774 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4775 file_magic_cmd
=$lt_cv_file_magic_cmd
4776 deplibs_check_method
=$lt_cv_deplibs_check_method
4777 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4782 # If no C compiler was specified, use CC.
4785 # If no C compiler flags were specified, use CFLAGS.
4786 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4788 # Allow CC to be a program name with arguments.
4792 # Check whether --enable-libtool-lock was given.
4793 if test "${enable_libtool_lock+set}" = set; then
4794 enableval
=$enable_libtool_lock;
4797 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4799 # Some flags need to be propagated to the compiler or linker for good
4803 # Find out which ABI we are using.
4804 echo 'int i;' > conftest.
$ac_ext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; then
4810 case `/usr/bin/file conftest.$ac_objext` in
4822 # Find out which ABI we are using.
4823 echo '#line 4823 "configure"' > conftest.
$ac_ext
4824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4825 (eval $ac_compile) 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; then
4829 if test "$lt_cv_prog_gnu_ld" = yes; then
4830 case `/usr/bin/file conftest.$ac_objext` in
4832 LD
="${LD-ld} -melf32bsmip"
4835 LD
="${LD-ld} -melf32bmipn32"
4838 LD
="${LD-ld} -melf64bmip"
4842 case `/usr/bin/file conftest.$ac_objext` in
4858 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4859 # Find out which ABI we are using.
4860 echo 'int i;' > conftest.
$ac_ext
4861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4862 (eval $ac_compile) 2>&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; then
4866 case `/usr/bin/file conftest.o` in
4870 LD
="${LD-ld} -m elf_i386"
4872 ppc64-
*linux
*|powerpc64-
*linux
*)
4873 LD
="${LD-ld} -m elf32ppclinux"
4876 LD
="${LD-ld} -m elf_s390"
4879 LD
="${LD-ld} -m elf32_sparc"
4886 LD
="${LD-ld} -m elf_x86_64"
4888 ppc
*-*linux
*|powerpc
*-*linux
*)
4889 LD
="${LD-ld} -m elf64ppc"
4892 LD
="${LD-ld} -m elf64_s390"
4895 LD
="${LD-ld} -m elf64_sparc"
4905 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4906 SAVE_CFLAGS
="$CFLAGS"
4907 CFLAGS
="$CFLAGS -belf"
4908 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4909 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4910 if test "${lt_cv_cc_needs_belf+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 ac_cpp
='$CPP $CPPFLAGS'
4915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4934 rm -f conftest.
$ac_objext conftest
$ac_exeext
4935 if { (ac_try
="$ac_link"
4937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941 (eval "$ac_link") 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } && {
4948 test -z "$ac_c_werror_flag" ||
4949 test ! -s conftest.err
4950 } && test -s conftest$ac_exeext &&
4951 $as_test_x conftest$ac_exeext; then
4952 lt_cv_cc_needs_belf=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4957 lt_cv_cc_needs_belf=no
4960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4961 conftest$ac_exeext conftest.$ac_ext
4963 ac_cpp='$CPP $CPPFLAGS'
4964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4970 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4971 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4972 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4973 CFLAGS="$SAVE_CFLAGS"
4977 # Find out which ABI we are using.
4978 echo 'int i;' > conftest.$ac_ext
4979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4980 (eval $ac_compile) 2>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; then
4984 case `/usr
/bin
/file conftest.o
` in
4986 case $lt_cv_prog_gnu_ld in
4987 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4988 *) LD="${LD-ld} -64" ;;
4999 need_locks="$enable_libtool_lock"
5003 ac_cpp='$CPP $CPPFLAGS'
5004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5007 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5008 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5009 # On Suns, sometimes $CPP names a directory.
5010 if test -n "$CPP" && test -d "$CPP"; then
5013 if test -z "$CPP"; then
5014 if test "${ac_cv_prog_CPP+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 # Double quotes because CPP needs to be expanded
5018 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5021 for ac_c_preproc_warn_flag in '' yes
5023 # Use a header file that comes with gcc, so configuring glibc
5024 # with a fresh cross-compiler works.
5025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5026 # <limits.h> exists even on freestanding compilers.
5027 # On the NeXT, cc -E runs the code through the compiler's parser,
5028 # not just through cpp. "Syntax error" is here to catch this case.
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5036 # include <limits.h>
5038 # include <assert.h>
5042 if { (ac_try="$ac_cpp conftest.$ac_ext"
5044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5045 *) ac_try_echo
=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } >/dev
/null
&& {
5055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 # Broken: fails on valid input.
5067 rm -f conftest.err conftest.
$ac_ext
5069 # OK, works on sane cases. Now check whether nonexistent headers
5070 # can be detected and how.
5071 cat >conftest.
$ac_ext <<_ACEOF
5074 cat confdefs.h
>>conftest.
$ac_ext
5075 cat >>conftest.
$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5077 #include <ac_nonexistent.h>
5079 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5082 *) ac_try_echo=$ac_try;;
5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } >/dev/null && {
5092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5093 test ! -s conftest.err
5095 # Broken: success on invalid input.
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.$ac_ext >&5
5101 # Passes both tests.
5106 rm -f conftest.err conftest.$ac_ext
5109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5110 rm -f conftest.err conftest.
$ac_ext
5111 if $ac_preproc_ok; then
5123 { echo "$as_me:$LINENO: result: $CPP" >&5
5124 echo "${ECHO_T}$CPP" >&6; }
5126 for ac_c_preproc_warn_flag
in '' yes
5128 # Use a header file that comes with gcc, so configuring glibc
5129 # with a fresh cross-compiler works.
5130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5131 # <limits.h> exists even on freestanding compilers.
5132 # On the NeXT, cc -E runs the code through the compiler's parser,
5133 # not just through cpp. "Syntax error" is here to catch this case.
5134 cat >conftest.
$ac_ext <<_ACEOF
5137 cat confdefs.h
>>conftest.
$ac_ext
5138 cat >>conftest.
$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5141 # include <limits.h>
5143 # include <assert.h>
5147 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5150 *) ac_try_echo=$ac_try;;
5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5155 grep -v '^ *+' conftest.er1 >conftest.err
5157 cat conftest.err >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } >/dev/null && {
5160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5161 test ! -s conftest.err
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.$ac_ext >&5
5168 # Broken: fails on valid input.
5172 rm -f conftest.err conftest.$ac_ext
5174 # OK, works on sane cases. Now check whether nonexistent headers
5175 # can be detected and how.
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 #include <ac_nonexistent.h>
5184 if { (ac_try="$ac_cpp conftest.$ac_ext"
5186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5187 *) ac_try_echo
=$ac_try;;
5189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192 grep -v '^ *+' conftest.er1
>conftest.err
5194 cat conftest.err
>&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev
/null
&& {
5197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5198 test ! -s conftest.err
5200 # Broken: success on invalid input.
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.
$ac_ext >&5
5206 # Passes both tests.
5211 rm -f conftest.err conftest.
$ac_ext
5214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5215 rm -f conftest.err conftest.
$ac_ext
5216 if $ac_preproc_ok; then
5219 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5220 See \`config.log' for more details." >&5
5221 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5222 See \`config.log' for more details." >&2;}
5223 { (exit 1); exit 1; }; }
5227 ac_cpp
='$CPP $CPPFLAGS'
5228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5233 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5234 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5235 if test "${ac_cv_header_stdc+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5257 rm -f conftest.
$ac_objext
5258 if { (ac_try
="$ac_compile"
5260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5264 (eval "$ac_compile") 2>conftest.er1
5266 grep -v '^ *+' conftest.er1 >conftest.err
5268 cat conftest.err >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); } && {
5271 test -z "$ac_c_werror_flag" ||
5272 test ! -s conftest.err
5273 } && test -s conftest.$ac_objext; then
5274 ac_cv_header_stdc=yes
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.$ac_ext >&5
5279 ac_cv_header_stdc=no
5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5284 if test $ac_cv_header_stdc = yes; then
5285 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5286 cat >conftest.$ac_ext <<_ACEOF
5289 cat confdefs.h >>conftest.$ac_ext
5290 cat >>conftest.$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5296 $EGREP "memchr" >/dev/null 2>&1; then
5299 ac_cv_header_stdc=no
5305 if test $ac_cv_header_stdc = yes; then
5306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5307 cat >conftest.$ac_ext <<_ACEOF
5310 cat confdefs.h >>conftest.$ac_ext
5311 cat >>conftest.$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5317 $EGREP "free" >/dev/null 2>&1; then
5320 ac_cv_header_stdc=no
5326 if test $ac_cv_header_stdc = yes; then
5327 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5328 if test "$cross_compiling" = yes; then
5331 cat >conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 cat >>conftest.$ac_ext <<_ACEOF
5336 /* end confdefs.h. */
5339 #if ((' ' & 0x0FF) == 0x020)
5340 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5341 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5343 # define ISLOWER(c) \
5344 (('a' <= (c) && (c) <= 'i') \
5345 || ('j' <= (c) && (c) <= 'r') \
5346 || ('s' <= (c) && (c) <= 'z'))
5347 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5350 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5355 for (i = 0; i < 256; i++)
5356 if (XOR (islower (i), ISLOWER (i))
5357 || toupper (i) != TOUPPER (i))
5362 rm -f conftest$ac_exeext
5363 if { (ac_try="$ac_link"
5365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5366 *) ac_try_echo
=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_link") 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5373 { (case "(($ac_try" in
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_try") 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then
5384 echo "$as_me: program exited with status $ac_status" >&5
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5389 ac_cv_header_stdc=no
5391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5397 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5398 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5399 if test $ac_cv_header_stdc = yes; then
5401 cat >>confdefs.h <<\_ACEOF
5402 #define STDC_HEADERS 1
5407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5417 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5418 inttypes.h stdint.h unistd.h
5420 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 cat >conftest.$ac_ext <<_ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5432 $ac_includes_default
5434 #include <$ac_header>
5436 rm -f conftest.$ac_objext
5437 if { (ac_try="$ac_compile"
5439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5440 *) ac_try_echo
=$ac_try;;
5442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5443 (eval "$ac_compile") 2>conftest.er1
5445 grep -v '^ *+' conftest.er1
>conftest.err
5447 cat conftest.err
>&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } && {
5450 test -z "$ac_c_werror_flag" ||
5451 test ! -s conftest.err
5452 } && test -s conftest.
$ac_objext; then
5453 eval "$as_ac_Header=yes"
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5458 eval "$as_ac_Header=no"
5461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5463 ac_res
=`eval echo '${'$as_ac_Header'}'`
5464 { echo "$as_me:$LINENO: result: $ac_res" >&5
5465 echo "${ECHO_T}$ac_res" >&6; }
5466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5467 cat >>confdefs.h
<<_ACEOF
5468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5477 for ac_header
in dlfcn.h
5479 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5483 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 ac_res
=`eval echo '${'$as_ac_Header'}'`
5487 { echo "$as_me:$LINENO: result: $ac_res" >&5
5488 echo "${ECHO_T}$ac_res" >&6; }
5490 # Is the header compilable?
5491 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5493 cat >conftest.
$ac_ext <<_ACEOF
5496 cat confdefs.h
>>conftest.
$ac_ext
5497 cat >>conftest.
$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 $ac_includes_default
5500 #include <$ac_header>
5502 rm -f conftest.
$ac_objext
5503 if { (ac_try
="$ac_compile"
5505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5506 *) ac_try_echo=$ac_try;;
5508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5509 (eval "$ac_compile") 2>conftest.er1
5511 grep -v '^ *+' conftest.er1 >conftest.err
5513 cat conftest.err >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } && {
5516 test -z "$ac_c_werror_flag" ||
5517 test ! -s conftest.err
5518 } && test -s conftest.$ac_objext; then
5519 ac_header_compiler=yes
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5524 ac_header_compiler=no
5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5529 echo "${ECHO_T}$ac_header_compiler" >&6; }
5531 # Is the header present?
5532 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5534 cat >conftest.$ac_ext <<_ACEOF
5537 cat confdefs.h >>conftest.$ac_ext
5538 cat >>conftest.$ac_ext <<_ACEOF
5539 /* end confdefs.h. */
5540 #include <$ac_header>
5542 if { (ac_try="$ac_cpp conftest.$ac_ext"
5544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5545 *) ac_try_echo
=$ac_try;;
5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5550 grep -v '^ *+' conftest.er1
>conftest.err
5552 cat conftest.err
>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } >/dev
/null
&& {
5555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5556 test ! -s conftest.err
5558 ac_header_preproc
=yes
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 ac_header_preproc
=no
5566 rm -f conftest.err conftest.
$ac_ext
5567 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5568 echo "${ECHO_T}$ac_header_preproc" >&6; }
5570 # So? What about this header?
5571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5577 ac_header_preproc
=yes
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5593 ## ------------------------------------------------ ##
5594 ## Report this to barry-devel@lists.sourceforge.net ##
5595 ## ------------------------------------------------ ##
5597 ) |
sed "s/^/$as_me: WARNING: /" >&2
5600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5602 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 eval "$as_ac_Header=\$ac_header_preproc"
5607 ac_res
=`eval echo '${'$as_ac_Header'}'`
5608 { echo "$as_me:$LINENO: result: $ac_res" >&5
5609 echo "${ECHO_T}$ac_res" >&6; }
5612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5613 cat >>confdefs.h
<<_ACEOF
5614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5623 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5624 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5625 (test "X$CXX" != "Xg++"))) ; then
5627 ac_cpp
='$CXXCPP $CPPFLAGS'
5628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5631 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5632 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5633 if test -z "$CXXCPP"; then
5634 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 # Double quotes because CXXCPP needs to be expanded
5638 for CXXCPP
in "$CXX -E" "/lib/cpp"
5641 for ac_cxx_preproc_warn_flag
in '' yes
5643 # Use a header file that comes with gcc, so configuring glibc
5644 # with a fresh cross-compiler works.
5645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5646 # <limits.h> exists even on freestanding compilers.
5647 # On the NeXT, cc -E runs the code through the compiler's parser,
5648 # not just through cpp. "Syntax error" is here to catch this case.
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5656 # include <limits.h>
5658 # include <assert.h>
5662 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5665 *) ac_try_echo=$ac_try;;
5667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5670 grep -v '^ *+' conftest.er1 >conftest.err
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } >/dev/null && {
5675 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5676 test ! -s conftest.err
5680 echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.$ac_ext >&5
5683 # Broken: fails on valid input.
5687 rm -f conftest.err conftest.$ac_ext
5689 # OK, works on sane cases. Now check whether nonexistent headers
5690 # can be detected and how.
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 #include <ac_nonexistent.h>
5699 if { (ac_try="$ac_cpp conftest.$ac_ext"
5701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5702 *) ac_try_echo
=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1
>conftest.err
5709 cat conftest.err
>&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } >/dev
/null
&& {
5712 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5713 test ! -s conftest.err
5715 # Broken: success on invalid input.
5718 echo "$as_me: failed program was:" >&5
5719 sed 's/^/| /' conftest.
$ac_ext >&5
5721 # Passes both tests.
5726 rm -f conftest.err conftest.
$ac_ext
5729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5730 rm -f conftest.err conftest.
$ac_ext
5731 if $ac_preproc_ok; then
5736 ac_cv_prog_CXXCPP
=$CXXCPP
5739 CXXCPP
=$ac_cv_prog_CXXCPP
5741 ac_cv_prog_CXXCPP
=$CXXCPP
5743 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5744 echo "${ECHO_T}$CXXCPP" >&6; }
5746 for ac_cxx_preproc_warn_flag
in '' yes
5748 # Use a header file that comes with gcc, so configuring glibc
5749 # with a fresh cross-compiler works.
5750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5751 # <limits.h> exists even on freestanding compilers.
5752 # On the NeXT, cc -E runs the code through the compiler's parser,
5753 # not just through cpp. "Syntax error" is here to catch this case.
5754 cat >conftest.
$ac_ext <<_ACEOF
5757 cat confdefs.h
>>conftest.
$ac_ext
5758 cat >>conftest.
$ac_ext <<_ACEOF
5759 /* end confdefs.h. */
5761 # include <limits.h>
5763 # include <assert.h>
5767 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5775 grep -v '^ *+' conftest.er1 >conftest.err
5777 cat conftest.err >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } >/dev/null && {
5780 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5781 test ! -s conftest.err
5785 echo "$as_me: failed program was:" >&5
5786 sed 's/^/| /' conftest.$ac_ext >&5
5788 # Broken: fails on valid input.
5792 rm -f conftest.err conftest.$ac_ext
5794 # OK, works on sane cases. Now check whether nonexistent headers
5795 # can be detected and how.
5796 cat >conftest.$ac_ext <<_ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802 #include <ac_nonexistent.h>
5804 if { (ac_try="$ac_cpp conftest.$ac_ext"
5806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5807 *) ac_try_echo
=$ac_try;;
5809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5812 grep -v '^ *+' conftest.er1
>conftest.err
5814 cat conftest.err
>&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } >/dev
/null
&& {
5817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5818 test ! -s conftest.err
5820 # Broken: success on invalid input.
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.
$ac_ext >&5
5826 # Passes both tests.
5831 rm -f conftest.err conftest.
$ac_ext
5834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5835 rm -f conftest.err conftest.
$ac_ext
5836 if $ac_preproc_ok; then
5839 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5840 See \`config.log' for more details." >&5
5841 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5842 See \`config.log' for more details." >&2;}
5843 { (exit 1); exit 1; }; }
5847 ac_cpp
='$CXXCPP $CPPFLAGS'
5848 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5849 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5850 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5856 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5857 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5858 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5859 if test -n "$ac_tool_prefix"; then
5860 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
5862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5863 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5866 if test "${ac_cv_prog_F77+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 if test -n "$F77"; then
5870 ac_cv_prog_F77
="$F77" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 if test -n "$F77"; then
5891 { echo "$as_me:$LINENO: result: $F77" >&5
5892 echo "${ECHO_T}$F77" >&6; }
5894 { echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6; }
5899 test -n "$F77" && break
5902 if test -z "$F77"; then
5904 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
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy
$ac_prog; ac_word
=$2
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 if test -n "$ac_ct_F77"; then
5914 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_ac_ct_F77
="$ac_prog"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5934 if test -n "$ac_ct_F77"; then
5935 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5936 echo "${ECHO_T}$ac_ct_F77" >&6; }
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5943 test -n "$ac_ct_F77" && break
5946 if test "x$ac_ct_F77" = x
; then
5949 case $cross_compiling:$ac_tool_warned in
5951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5952 whose name does not start with the host triplet. If you think this
5953 configuration is useful to you, please write to autoconf@gnu.org." >&5
5954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5955 whose name does not start with the host triplet. If you think this
5956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5957 ac_tool_warned
=yes ;;
5964 # Provide some information about the compiler.
5965 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5966 ac_compiler
=`set X $ac_compile; echo $2`
5967 { (ac_try
="$ac_compiler --version >&5"
5969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5973 (eval "$ac_compiler --version >&5") 2>&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }
5977 { (ac_try="$ac_compiler -v >&5"
5979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5980 *) ac_try_echo
=$ac_try;;
5982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5983 (eval "$ac_compiler -v >&5") 2>&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }
5987 { (ac_try
="$ac_compiler -V >&5"
5989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5990 *) ac_try_echo=$ac_try;;
5992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5993 (eval "$ac_compiler -V >&5") 2>&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }
5999 # If we don't use `.F
' as extension, the preprocessor is not run on the
6000 # input file. (Note that this only needs to work for GNU compilers.)
6003 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6004 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6005 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 cat >conftest.$ac_ext <<_ACEOF
6016 rm -f conftest.$ac_objext
6017 if { (ac_try="$ac_compile"
6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6020 *) ac_try_echo=$ac_try;;
6022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6023 (eval "$ac_compile") 2>conftest.er1
6025 grep -v '^
*+' conftest.er1 >conftest.err
6027 cat conftest.err >&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } && {
6030 test -z "$ac_f77_werror_flag" ||
6031 test ! -s conftest.err
6032 } && test -s conftest.$ac_objext; then
6035 echo "$as_me: failed program was:" >&5
6036 sed 's
/^
/|
/' conftest.$ac_ext >&5
6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6045 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6046 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6048 ac_test_FFLAGS=${FFLAGS+set}
6049 ac_save_FFLAGS=$FFLAGS
6051 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6052 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6053 if test "${ac_cv_prog_f77_g+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 cat >conftest.$ac_ext <<_ACEOF
6062 rm -f conftest.$ac_objext
6063 if { (ac_try="$ac_compile"
6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6066 *) ac_try_echo=$ac_try;;
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 (eval "$ac_compile") 2>conftest.er1
6071 grep -v '^
*+' conftest.er1 >conftest.err
6073 cat conftest.err >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } && {
6076 test -z "$ac_f77_werror_flag" ||
6077 test ! -s conftest.err
6078 } && test -s conftest.$ac_objext; then
6079 ac_cv_prog_f77_g=yes
6081 echo "$as_me: failed program was:" >&5
6082 sed 's
/^
/|
/' conftest.$ac_ext >&5
6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6091 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6092 if test "$ac_test_FFLAGS" = set; then
6093 FFLAGS=$ac_save_FFLAGS
6094 elif test $ac_cv_prog_f77_g = yes; then
6095 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6101 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6108 G77=`test $ac_compiler_gnu = yes && echo yes`
6110 ac_cpp='$CPP $CPPFLAGS'
6111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6112 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6117 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6119 # find the maximum length of command line arguments
6120 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6121 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6122 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 # On DJGPP, this test can blow up pretty badly due to problems in libc
6131 # (any single argument exceeding 2000 bytes causes a buffer overrun
6132 # during glob expansion). Even if it were fixed, the result of this
6133 # check would be larger than it should be.
6134 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6138 # Under GNU Hurd, this test is not required because there is
6139 # no limit to the length of command line arguments.
6140 # Libtool will interpret -1 as no limit whatsoever
6141 lt_cv_sys_max_cmd_len
=-1;
6145 # On Win9x/ME, this test blows up -- it succeeds, but takes
6146 # about 5 minutes as the teststring grows exponentially.
6147 # Worse, since 9x/ME are not pre-emptively multitasking,
6148 # you end up with a "frozen" computer, even though with patience
6149 # the test eventually succeeds (with a max line length of 256k).
6150 # Instead, let's just punt: use the minimum linelength reported by
6151 # all of the supported platforms: 8192 (on NT/2K/XP).
6152 lt_cv_sys_max_cmd_len
=8192;
6156 # On AmigaOS with pdksh, this test takes hours, literally.
6157 # So we just punt and use a minimum line length of 8192.
6158 lt_cv_sys_max_cmd_len
=8192;
6161 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6162 # This has been around since 386BSD, at least. Likely further.
6163 if test -x /sbin
/sysctl
; then
6164 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6165 elif test -x /usr
/sbin
/sysctl
; then
6166 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6168 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6170 # And add a safety zone
6171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6172 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6176 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6177 lt_cv_sys_max_cmd_len
=196608
6181 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6182 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6183 # nice to cause kernel panics so lets avoid the loop below.
6184 # First set a reasonable default.
6185 lt_cv_sys_max_cmd_len
=16384
6187 if test -x /sbin
/sysconfig
; then
6188 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6189 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6194 lt_cv_sys_max_cmd_len
=102400
6196 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6197 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6198 if test -n "$kargmax"; then
6199 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6201 lt_cv_sys_max_cmd_len
=32768
6205 # If test is not a shell built-in, we'll probably end up computing a
6206 # maximum length that is only half of the actual maximum length, but
6208 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6209 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6210 = "XX$teststring") >/dev
/null
2>&1 &&
6211 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6212 lt_cv_sys_max_cmd_len
=$new_result &&
6213 test $i != 17 # 1/2 MB should be enough
6216 teststring
=$teststring$teststring
6219 # Add a significant safety factor because C++ compilers can tack on massive
6220 # amounts of additional arguments before passing them to the linker.
6221 # It appears as though 1/2 is a usable value.
6222 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6228 if test -n $lt_cv_sys_max_cmd_len ; then
6229 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6230 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6232 { echo "$as_me:$LINENO: result: none" >&5
6233 echo "${ECHO_T}none" >&6; }
6239 # Check for command to grab the raw symbol name followed by C symbol from nm.
6240 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6241 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6242 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 # These are sane defaults that work on at least a few old systems.
6247 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6249 # Character class describing NM global symbol codes.
6250 symcode
='[BCDEGRST]'
6252 # Regexp to match symbols that can be accessed directly from C.
6253 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6255 # Transform an extracted symbol line into a proper C declaration
6256 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6258 # Transform an extracted symbol line into symbol name and symbol address
6259 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'"
6261 # Define system-specific variables.
6266 cygwin
* | mingw
* | pw32
*)
6267 symcode
='[ABCDGISTW]'
6269 hpux
*) # Its linker distinguishes data from code symbols
6270 if test "$host_cpu" = ia64
; then
6271 symcode
='[ABCDEGRST]'
6273 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6274 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'"
6276 linux
* | k
*bsd
*-gnu)
6277 if test "$host_cpu" = ia64
; then
6278 symcode
='[ABCDGIRSTW]'
6279 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6280 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'"
6284 symcode
='[BCDEGRST]'
6287 symcode
='[BCDEGQRST]'
6298 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6306 # Handle CRLF in mingw tool chain
6310 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6314 # If we're using GNU nm, then use its standard symbol codes.
6315 case `$NM -V 2>&1` in
6316 *GNU
* |
*'with BFD'*)
6317 symcode
='[ABCDGIRSTW]' ;;
6320 # Try without a prefix undercore, then with it.
6321 for ac_symprfx
in "" "_"; do
6323 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6324 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6326 # Write the raw and C identifiers.
6327 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6329 # Check to see that the pipe works correctly.
6333 cat > conftest.
$ac_ext <<EOF
6338 void nm_test_func(){}
6342 int main(){nm_test_var='a';nm_test_func();return(0);}
6345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6346 (eval $ac_compile) 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; then
6350 # Now try to grab the symbols.
6352 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6353 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } && test -s "$nlist"; then
6357 # Try sorting and uniquifying the output.
6358 if sort "$nlist" |
uniq > "$nlist"T
; then
6359 mv -f "$nlist"T
"$nlist"
6364 # Make sure that we snagged all the symbols we need.
6365 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6366 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6367 cat <<EOF > conftest.$ac_ext
6373 # Now generate the symbol file.
6374 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6376 cat <<EOF >> conftest.$ac_ext
6377 #if defined (__STDC__) && __STDC__
6378 # define lt_ptr_t void *
6380 # define lt_ptr_t char *
6384 /* The mapping between symbol names and symbols. */
6389 lt_preloaded_symbols[] =
6392 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6393 cat <<\EOF
>> conftest.
$ac_ext
6401 # Now try linking the two files.
6402 mv conftest.
$ac_objext conftstm.
$ac_objext
6403 lt_save_LIBS
="$LIBS"
6404 lt_save_CFLAGS
="$CFLAGS"
6405 LIBS
="conftstm.$ac_objext"
6406 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6408 (eval $ac_link) 2>&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6414 LIBS
="$lt_save_LIBS"
6415 CFLAGS
="$lt_save_CFLAGS"
6417 echo "cannot find nm_test_func in $nlist" >&5
6420 echo "cannot find nm_test_var in $nlist" >&5
6423 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6426 echo "$progname: failed program was:" >&5
6427 cat conftest.
$ac_ext >&5
6429 rm -f conftest
* conftst
*
6431 # Do not use the global_symbol_pipe unless it works.
6432 if test "$pipe_works" = yes; then
6435 lt_cv_sys_global_symbol_pipe
=
6441 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6442 lt_cv_sys_global_symbol_to_cdecl
=
6444 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6445 { echo "$as_me:$LINENO: result: failed" >&5
6446 echo "${ECHO_T}failed" >&6; }
6448 { echo "$as_me:$LINENO: result: ok" >&5
6449 echo "${ECHO_T}ok" >&6; }
6452 { echo "$as_me:$LINENO: checking for objdir" >&5
6453 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6454 if test "${lt_cv_objdir+set}" = set; then
6455 echo $ECHO_N "(cached) $ECHO_C" >&6
6457 rm -f .libs
2>/dev
/null
6458 mkdir .libs
2>/dev
/null
6459 if test -d .libs
; then
6462 # MS-DOS does not allow filenames that begin with a dot.
6465 rmdir .libs
2>/dev
/null
6467 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6468 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6469 objdir
=$lt_cv_objdir
6477 # AIX sometimes has problems with the GCC collect2 program. For some
6478 # reason, if we set the COLLECT_NAMES environment variable, the problems
6479 # vanish in a puff of smoke.
6480 if test "X${COLLECT_NAMES+set}" != Xset
; then
6482 export COLLECT_NAMES
6487 # Sed substitution that helps us do robust quoting. It backslashifies
6488 # metacharacters that are still active within double-quoted strings.
6489 Xsed
='sed -e 1s/^X//'
6490 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6492 # Same as above, but do not quote variable references.
6493 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6495 # Sed substitution to delay expansion of an escaped shell variable in a
6496 # double_quote_subst'ed string.
6497 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6499 # Sed substitution to avoid accidental globbing in evaled expressions
6500 no_glob_subst
='s/\*/\\\*/g'
6506 default_ofile
=libtool
6507 can_build_shared
=yes
6509 # All known linkers require a `.a' archive for static linking (except MSVC,
6510 # which needs '.lib').
6512 ltmain
="$ac_aux_dir/ltmain.sh"
6513 ofile
="$default_ofile"
6514 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6516 if test -n "$ac_tool_prefix"; then
6517 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6518 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6521 if test "${ac_cv_prog_AR+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 if test -n "$AR"; then
6525 ac_cv_prog_AR
="$AR" # Let the user override the test.
6527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir
=.
6532 for ac_exec_ext
in '' $ac_executable_extensions; do
6533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 if test -n "$AR"; then
6546 { echo "$as_me:$LINENO: result: $AR" >&5
6547 echo "${ECHO_T}$AR" >&6; }
6549 { echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6; }
6555 if test -z "$ac_cv_prog_AR"; then
6557 # Extract the first word of "ar", so it can be a program name with args.
6558 set dummy
ar; ac_word
=$2
6559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6561 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 if test -n "$ac_ct_AR"; then
6565 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir
=.
6572 for ac_exec_ext
in '' $ac_executable_extensions; do
6573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574 ac_cv_prog_ac_ct_AR
="ar"
6575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6585 if test -n "$ac_ct_AR"; then
6586 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6587 echo "${ECHO_T}$ac_ct_AR" >&6; }
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6593 if test "x$ac_ct_AR" = x
; then
6596 case $cross_compiling:$ac_tool_warned in
6598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6599 whose name does not start with the host triplet. If you think this
6600 configuration is useful to you, please write to autoconf@gnu.org." >&5
6601 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6602 whose name does not start with the host triplet. If you think this
6603 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6604 ac_tool_warned
=yes ;;
6612 if test -n "$ac_tool_prefix"; then
6613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6614 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6617 if test "${ac_cv_prog_RANLIB+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 if test -n "$RANLIB"; then
6621 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6627 test -z "$as_dir" && as_dir
=.
6628 for ac_exec_ext
in '' $ac_executable_extensions; do
6629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6630 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 RANLIB
=$ac_cv_prog_RANLIB
6641 if test -n "$RANLIB"; then
6642 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6643 echo "${ECHO_T}$RANLIB" >&6; }
6645 { echo "$as_me:$LINENO: result: no" >&5
6646 echo "${ECHO_T}no" >&6; }
6651 if test -z "$ac_cv_prog_RANLIB"; then
6652 ac_ct_RANLIB
=$RANLIB
6653 # Extract the first word of "ranlib", so it can be a program name with args.
6654 set dummy ranlib
; ac_word
=$2
6655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6658 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 if test -n "$ac_ct_RANLIB"; then
6661 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir
=.
6668 for ac_exec_ext
in '' $ac_executable_extensions; do
6669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6681 if test -n "$ac_ct_RANLIB"; then
6682 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6683 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6685 { echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6; }
6689 if test "x$ac_ct_RANLIB" = x
; then
6692 case $cross_compiling:$ac_tool_warned in
6694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6695 whose name does not start with the host triplet. If you think this
6696 configuration is useful to you, please write to autoconf@gnu.org." >&5
6697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6698 whose name does not start with the host triplet. If you think this
6699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6700 ac_tool_warned
=yes ;;
6702 RANLIB
=$ac_ct_RANLIB
6705 RANLIB
="$ac_cv_prog_RANLIB"
6708 if test -n "$ac_tool_prefix"; then
6709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6710 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6713 if test "${ac_cv_prog_STRIP+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6716 if test -n "$STRIP"; then
6717 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6723 test -z "$as_dir" && as_dir
=.
6724 for ac_exec_ext
in '' $ac_executable_extensions; do
6725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6726 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 STRIP
=$ac_cv_prog_STRIP
6737 if test -n "$STRIP"; then
6738 { echo "$as_me:$LINENO: result: $STRIP" >&5
6739 echo "${ECHO_T}$STRIP" >&6; }
6741 { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6747 if test -z "$ac_cv_prog_STRIP"; then
6749 # Extract the first word of "strip", so it can be a program name with args.
6750 set dummy strip
; ac_word
=$2
6751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6753 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6754 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 if test -n "$ac_ct_STRIP"; then
6757 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir
=.
6764 for ac_exec_ext
in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_prog_ac_ct_STRIP
="strip"
6767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6777 if test -n "$ac_ct_STRIP"; then
6778 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6779 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6781 { echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6; }
6785 if test "x$ac_ct_STRIP" = x
; then
6788 case $cross_compiling:$ac_tool_warned in
6790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6791 whose name does not start with the host triplet. If you think this
6792 configuration is useful to you, please write to autoconf@gnu.org." >&5
6793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6794 whose name does not start with the host triplet. If you think this
6795 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6796 ac_tool_warned
=yes ;;
6801 STRIP
="$ac_cv_prog_STRIP"
6806 old_CFLAGS
="$CFLAGS"
6808 # Set sane defaults for various variables
6809 test -z "$AR" && AR
=ar
6810 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6811 test -z "$AS" && AS
=as
6812 test -z "$CC" && CC
=cc
6813 test -z "$LTCC" && LTCC
=$CC
6814 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6815 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6816 test -z "$LD" && LD
=ld
6817 test -z "$LN_S" && LN_S
="ln -s"
6818 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6819 test -z "$NM" && NM
=nm
6820 test -z "$SED" && SED
=sed
6821 test -z "$OBJDUMP" && OBJDUMP
=objdump
6822 test -z "$RANLIB" && RANLIB
=:
6823 test -z "$STRIP" && STRIP
=:
6824 test -z "$ac_objext" && ac_objext
=o
6826 # Determine commands to create old-style static archives.
6827 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6828 old_postinstall_cmds
='chmod 644 $oldlib'
6829 old_postuninstall_cmds
=
6831 if test -n "$RANLIB"; then
6834 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6837 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6840 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6843 for cc_temp
in $compiler""; do
6845 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6846 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6851 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6854 # Only perform the check for file, if the check method requires it
6855 case $deplibs_check_method in
6857 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6858 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6859 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6860 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6868 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6869 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6870 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6871 for ac_dir
in $ac_dummy; do
6873 test -z "$ac_dir" && ac_dir
=.
6874 if test -f $ac_dir/${ac_tool_prefix}file; then
6875 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6876 if test -n "$file_magic_test_file"; then
6877 case $deplibs_check_method in
6879 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6880 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6881 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6882 $EGREP "$file_magic_regex" > /dev
/null
; then
6887 *** Warning: the command libtool uses to detect shared libraries,
6888 *** $file_magic_cmd, produces output that libtool cannot recognize.
6889 *** The result is that libtool may fail to recognize shared libraries
6890 *** as such. This will affect the creation of libtool libraries that
6891 *** depend on shared libraries, but programs linked with such libtool
6892 *** libraries will work regardless of this problem. Nevertheless, you
6893 *** may want to report the problem to your system manager and/or to
6894 *** bug-libtool@gnu.org
6904 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6909 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6910 if test -n "$MAGIC_CMD"; then
6911 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6912 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6914 { echo "$as_me:$LINENO: result: no" >&5
6915 echo "${ECHO_T}no" >&6; }
6918 if test -z "$lt_cv_path_MAGIC_CMD"; then
6919 if test -n "$ac_tool_prefix"; then
6920 { echo "$as_me:$LINENO: checking for file" >&5
6921 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6922 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6930 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6931 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6932 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6933 for ac_dir
in $ac_dummy; do
6935 test -z "$ac_dir" && ac_dir
=.
6936 if test -f $ac_dir/file; then
6937 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6938 if test -n "$file_magic_test_file"; then
6939 case $deplibs_check_method in
6941 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6943 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6944 $EGREP "$file_magic_regex" > /dev
/null
; then
6949 *** Warning: the command libtool uses to detect shared libraries,
6950 *** $file_magic_cmd, produces output that libtool cannot recognize.
6951 *** The result is that libtool may fail to recognize shared libraries
6952 *** as such. This will affect the creation of libtool libraries that
6953 *** depend on shared libraries, but programs linked with such libtool
6954 *** libraries will work regardless of this problem. Nevertheless, you
6955 *** may want to report the problem to your system manager and/or to
6956 *** bug-libtool@gnu.org
6966 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6971 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6972 if test -n "$MAGIC_CMD"; then
6973 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6974 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6976 { echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6; }
6992 # Check whether --enable-libtool-lock was given.
6993 if test "${enable_libtool_lock+set}" = set; then
6994 enableval
=$enable_libtool_lock;
6997 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7000 # Check whether --with-pic was given.
7001 if test "${with_pic+set}" = set; then
7002 withval
=$with_pic; pic_mode
="$withval"
7007 test -z "$pic_mode" && pic_mode
=default
7009 # Use C for the default configuration in the libtool script
7013 ac_cpp
='$CPP $CPPFLAGS'
7014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7019 # Source file extension for C test sources.
7022 # Object file extension for compiled C test sources.
7026 # Code to be used in simple compile tests
7027 lt_simple_compile_test_code
="int some_variable = 0;\n"
7029 # Code to be used in simple link tests
7030 lt_simple_link_test_code
='int main(){return(0);}\n'
7033 # If no C compiler was specified, use CC.
7036 # If no C compiler flags were specified, use CFLAGS.
7037 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7039 # Allow CC to be a program name with arguments.
7043 # save warnings/boilerplate of simple test code
7044 ac_outfile
=conftest.
$ac_objext
7045 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7046 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7047 _lt_compiler_boilerplate
=`cat conftest.err`
7050 ac_outfile
=conftest.
$ac_objext
7051 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7052 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7053 _lt_linker_boilerplate
=`cat conftest.err`
7058 lt_prog_compiler_no_builtin_flag
=
7060 if test "$GCC" = yes; then
7061 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7064 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7065 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7066 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 lt_cv_prog_compiler_rtti_exceptions
=no
7070 ac_outfile
=conftest.
$ac_objext
7071 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7072 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7073 # Insert the option either (1) after the last *FLAGS variable, or
7074 # (2) before a word containing "conftest.", or (3) at the end.
7075 # Note that $ac_compile itself does not contain backslashes and begins
7076 # with a dollar sign (not a hyphen), so the echo should work correctly.
7077 # The option is referenced via a variable to avoid confusing sed.
7078 lt_compile
=`echo "$ac_compile" | $SED \
7079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7081 -e 's:$: $lt_compiler_flag:'`
7082 (eval echo "\"\$as_me:7082: $lt_compile\"" >&5)
7083 (eval "$lt_compile" 2>conftest.err
)
7085 cat conftest.err
>&5
7086 echo "$as_me:7086: \$? = $ac_status" >&5
7087 if (exit $ac_status) && test -s "$ac_outfile"; then
7088 # The compiler can only warn and ignore the option if not recognized
7089 # So say no if there are warnings other than the usual output.
7090 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7091 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7092 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7093 lt_cv_prog_compiler_rtti_exceptions
=yes
7099 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7100 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7102 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7103 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7110 lt_prog_compiler_wl
=
7111 lt_prog_compiler_pic
=
7112 lt_prog_compiler_static
=
7114 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7115 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7117 if test "$GCC" = yes; then
7118 lt_prog_compiler_wl
='-Wl,'
7119 lt_prog_compiler_static
='-static'
7123 # All AIX code is PIC.
7124 if test "$host_cpu" = ia64
; then
7125 # AIX 5 now supports IA64 processor
7126 lt_prog_compiler_static
='-Bstatic'
7131 # FIXME: we need at least 68020 code to build shared libraries, but
7132 # adding the `-m68020' flag to GCC prevents building anything better,
7134 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7137 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7138 # PIC is the default for these OSes.
7141 mingw
* | pw32
* | os2
*)
7142 # This hack is so that the source file can tell whether it is being
7143 # built for inclusion in a dll (and should export symbols for example).
7144 lt_prog_compiler_pic
='-DDLL_EXPORT'
7147 darwin
* | rhapsody
*)
7148 # PIC is the default on this platform
7149 # Common symbols not allowed in MH_DYLIB files
7150 lt_prog_compiler_pic
='-fno-common'
7154 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7155 # Instead, we relocate shared libraries at runtime.
7159 # Just because we use GCC doesn't mean we suddenly get shared libraries
7160 # on systems that don't support them.
7161 lt_prog_compiler_can_build_shared
=no
7166 if test -d /usr
/nec
; then
7167 lt_prog_compiler_pic
=-Kconform_pic
7172 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7179 lt_prog_compiler_pic
='-fPIC'
7185 lt_prog_compiler_pic
='-fPIC'
7189 # PORTME Check for flag to pass linker flags through the system compiler.
7192 lt_prog_compiler_wl
='-Wl,'
7193 if test "$host_cpu" = ia64
; then
7194 # AIX 5 now supports IA64 processor
7195 lt_prog_compiler_static
='-Bstatic'
7197 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7201 # PIC is the default on this platform
7202 # Common symbols not allowed in MH_DYLIB files
7203 case $cc_basename in
7205 lt_prog_compiler_pic
='-qnocommon'
7206 lt_prog_compiler_wl
='-Wl,'
7211 mingw
* | pw32
* | os2
*)
7212 # This hack is so that the source file can tell whether it is being
7213 # built for inclusion in a dll (and should export symbols for example).
7214 lt_prog_compiler_pic
='-DDLL_EXPORT'
7217 hpux9
* | hpux10
* | hpux11
*)
7218 lt_prog_compiler_wl
='-Wl,'
7219 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7226 lt_prog_compiler_pic
='+Z'
7229 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7230 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7233 irix5
* | irix6
* | nonstopux
*)
7234 lt_prog_compiler_wl
='-Wl,'
7235 # PIC (with -KPIC) is the default.
7236 lt_prog_compiler_static
='-non_shared'
7240 lt_prog_compiler_pic
='-KPIC'
7241 lt_prog_compiler_static
='-Bstatic'
7244 linux
* | k
*bsd
*-gnu)
7245 case $cc_basename in
7247 lt_prog_compiler_wl
='-Wl,'
7248 lt_prog_compiler_pic
='-KPIC'
7249 lt_prog_compiler_static
='-static'
7251 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7252 # Portland Group compilers (*not* the Pentium gcc compiler,
7253 # which looks to be a dead project)
7254 lt_prog_compiler_wl
='-Wl,'
7255 lt_prog_compiler_pic
='-fpic'
7256 lt_prog_compiler_static
='-Bstatic'
7259 lt_prog_compiler_wl
='-Wl,'
7260 # All Alpha code is PIC.
7261 lt_prog_compiler_static
='-non_shared'
7266 osf3
* | osf4
* | osf5
*)
7267 lt_prog_compiler_wl
='-Wl,'
7268 # All OSF/1 code is PIC.
7269 lt_prog_compiler_static
='-non_shared'
7273 lt_prog_compiler_pic
='-KPIC'
7274 lt_prog_compiler_static
='-Bstatic'
7275 case $cc_basename in
7277 lt_prog_compiler_wl
='-Qoption ld ';;
7279 lt_prog_compiler_wl
='-Wl,';;
7284 lt_prog_compiler_wl
='-Qoption ld '
7285 lt_prog_compiler_pic
='-PIC'
7286 lt_prog_compiler_static
='-Bstatic'
7289 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7290 lt_prog_compiler_wl
='-Wl,'
7291 lt_prog_compiler_pic
='-KPIC'
7292 lt_prog_compiler_static
='-Bstatic'
7296 if test -d /usr
/nec
;then
7297 lt_prog_compiler_pic
='-Kconform_pic'
7298 lt_prog_compiler_static
='-Bstatic'
7302 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7303 lt_prog_compiler_wl
='-Wl,'
7304 lt_prog_compiler_pic
='-KPIC'
7305 lt_prog_compiler_static
='-Bstatic'
7309 lt_prog_compiler_wl
='-Wl,'
7310 lt_prog_compiler_can_build_shared
=no
7314 lt_prog_compiler_pic
='-pic'
7315 lt_prog_compiler_static
='-Bstatic'
7319 lt_prog_compiler_can_build_shared
=no
7324 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7325 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7328 # Check to make sure the PIC flag actually works.
7330 if test -n "$lt_prog_compiler_pic"; then
7332 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7333 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7334 if test "${lt_prog_compiler_pic_works+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7337 lt_prog_compiler_pic_works
=no
7338 ac_outfile
=conftest.
$ac_objext
7339 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7340 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7341 # Insert the option either (1) after the last *FLAGS variable, or
7342 # (2) before a word containing "conftest.", or (3) at the end.
7343 # Note that $ac_compile itself does not contain backslashes and begins
7344 # with a dollar sign (not a hyphen), so the echo should work correctly.
7345 # The option is referenced via a variable to avoid confusing sed.
7346 lt_compile
=`echo "$ac_compile" | $SED \
7347 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7348 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7349 -e 's:$: $lt_compiler_flag:'`
7350 (eval echo "\"\$as_me:7350: $lt_compile\"" >&5)
7351 (eval "$lt_compile" 2>conftest.err
)
7353 cat conftest.err
>&5
7354 echo "$as_me:7354: \$? = $ac_status" >&5
7355 if (exit $ac_status) && test -s "$ac_outfile"; then
7356 # The compiler can only warn and ignore the option if not recognized
7357 # So say no if there are warnings other than the usual output.
7358 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7359 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7360 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7361 lt_prog_compiler_pic_works
=yes
7367 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7368 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7370 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7371 case $lt_prog_compiler_pic in
7373 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7376 lt_prog_compiler_pic
=
7377 lt_prog_compiler_can_build_shared
=no
7382 # For platforms which do not support PIC, -DPIC is meaningless:
7384 lt_prog_compiler_pic
=
7387 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7392 # Check to make sure the static flag actually works.
7394 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7395 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7396 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7397 if test "${lt_prog_compiler_static_works+set}" = set; then
7398 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 lt_prog_compiler_static_works
=no
7401 save_LDFLAGS
="$LDFLAGS"
7402 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7403 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7404 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7405 # The linker can only warn and ignore the option if not recognized
7406 # So say no if there are warnings
7407 if test -s conftest.err
; then
7408 # Append any errors to the config.log.
7409 cat conftest.err
1>&5
7410 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7411 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7412 if diff conftest.exp conftest.er2
>/dev
/null
; then
7413 lt_prog_compiler_static_works
=yes
7416 lt_prog_compiler_static_works
=yes
7420 LDFLAGS
="$save_LDFLAGS"
7423 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7424 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7426 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7429 lt_prog_compiler_static
=
7433 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7434 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7435 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7436 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 lt_cv_prog_compiler_c_o
=no
7439 $rm -r conftest
2>/dev
/null
7443 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7445 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7446 # Insert the option either (1) after the last *FLAGS variable, or
7447 # (2) before a word containing "conftest.", or (3) at the end.
7448 # Note that $ac_compile itself does not contain backslashes and begins
7449 # with a dollar sign (not a hyphen), so the echo should work correctly.
7450 lt_compile
=`echo "$ac_compile" | $SED \
7451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7453 -e 's:$: $lt_compiler_flag:'`
7454 (eval echo "\"\$as_me:7454: $lt_compile\"" >&5)
7455 (eval "$lt_compile" 2>out
/conftest.err
)
7457 cat out
/conftest.err
>&5
7458 echo "$as_me:7458: \$? = $ac_status" >&5
7459 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7461 # The compiler can only warn and ignore the option if not recognized
7462 # So say no if there are warnings
7463 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7464 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7465 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7466 lt_cv_prog_compiler_c_o
=yes
7471 # SGI C++ compiler will create directory out/ii_files/ for
7472 # template instantiation
7473 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7474 $rm out
/* && rmdir out
7480 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7481 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7484 hard_links
="nottested"
7485 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7486 # do not overwrite the value of need_locks provided by the user
7487 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7488 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7491 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7493 ln conftest.a conftest.b
2>&5 || hard_links
=no
7494 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7495 { echo "$as_me:$LINENO: result: $hard_links" >&5
7496 echo "${ECHO_T}$hard_links" >&6; }
7497 if test "$hard_links" = no
; then
7498 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7499 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7506 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7507 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7510 allow_undefined_flag
=
7511 enable_shared_with_static_runtimes
=no
7513 archive_expsym_cmds
=
7514 old_archive_From_new_cmds
=
7515 old_archive_from_expsyms_cmds
=
7516 export_dynamic_flag_spec
=
7517 whole_archive_flag_spec
=
7518 thread_safe_flag_spec
=
7519 hardcode_libdir_flag_spec
=
7520 hardcode_libdir_flag_spec_ld
=
7521 hardcode_libdir_separator
=
7524 hardcode_shlibpath_var
=unsupported
7525 link_all_deplibs
=unknown
7526 hardcode_automatic
=no
7529 always_export_symbols
=no
7530 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7531 # include_expsyms should be a list of space-separated symbols to be *always*
7532 # included in the symbol list
7534 # exclude_expsyms can be an extended regexp of symbols to exclude
7535 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7536 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7537 # as well as any symbol that contains `d'.
7538 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7539 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7540 # platforms (ab)use it in PIC code, but their linkers get confused if
7541 # the symbol is explicitly referenced. Since portable code cannot
7542 # rely on this symbol name, it's probably fine to never include it in
7543 # preloaded symbol tables.
7544 extract_expsyms_cmds
=
7545 # Just being paranoid about ensuring that cc_basename is set.
7546 for cc_temp
in $compiler""; do
7548 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7549 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7554 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7557 cygwin
* | mingw
* | pw32
*)
7558 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7559 # When not using gcc, we currently assume that we are using
7560 # Microsoft Visual C++.
7561 if test "$GCC" != yes; then
7566 # we just hope/assume this is gcc and not c89 (= MSVC++)
7575 if test "$with_gnu_ld" = yes; then
7576 # If archive_cmds runs LD, not CC, wlarc should be empty
7579 # Set some defaults for GNU ld with shared library support. These
7580 # are reset later if shared libraries are not supported. Putting them
7581 # here allows them to be overridden if necessary.
7582 runpath_var
=LD_RUN_PATH
7583 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7584 export_dynamic_flag_spec
='${wl}--export-dynamic'
7585 # ancient GNU ld didn't support --whole-archive et. al.
7586 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7587 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7589 whole_archive_flag_spec
=
7591 supports_anon_versioning
=no
7592 case `$LD -v 2>/dev/null` in
7593 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7594 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7595 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7596 *\
2.11.
*) ;; # other 2.11 versions
7597 *) supports_anon_versioning
=yes ;;
7600 # See if GNU ld supports shared libraries.
7602 aix3
* | aix4
* | aix5
*)
7603 # On AIX/PPC, the GNU linker is very broken
7604 if test "$host_cpu" != ia64
; then
7608 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7609 *** to be unable to reliably create shared libraries on AIX.
7610 *** Therefore, libtool is disabling shared libraries support. If you
7611 *** really care for shared libraries, you may want to modify your PATH
7612 *** so that a non-GNU linker is found, and then restart.
7619 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)'
7620 hardcode_libdir_flag_spec
='-L$libdir'
7621 hardcode_minus_L
=yes
7623 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7624 # that the semantics of dynamic libraries on AmigaOS, at least up
7625 # to version 4, is to share data among multiple programs linked
7626 # with the same dynamic library. Since this doesn't match the
7627 # behavior of shared libraries on other platforms, we can't use
7633 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7634 allow_undefined_flag
=unsupported
7635 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7636 # support --undefined. This deserves some investigation. FIXME
7637 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7643 cygwin
* | mingw
* | pw32
*)
7644 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7645 # as there is no search path for DLLs.
7646 hardcode_libdir_flag_spec
='-L$libdir'
7647 allow_undefined_flag
=unsupported
7648 always_export_symbols
=no
7649 enable_shared_with_static_runtimes
=yes
7650 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7652 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7653 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7654 # If the export-symbols file already is a .def file (1st line
7655 # is EXPORTS), use it as is; otherwise, prepend...
7656 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7657 cp $export_symbols $output_objdir/$soname.def;
7659 echo EXPORTS > $output_objdir/$soname.def;
7660 cat $export_symbols >> $output_objdir/$soname.def;
7662 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7670 hardcode_shlibpath_var
=no
7671 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7672 export_dynamic_flag_spec
='${wl}-E'
7673 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7674 # Instead, shared libraries are loaded at an image base (0x10000000 by
7675 # default) and relocated if they conflict, which is a slow very memory
7676 # consuming and fragmenting process. To avoid this, we pick a random,
7677 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7678 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7679 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7680 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'
7683 linux
* | k
*bsd
*-gnu)
7684 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7686 case $cc_basename,$host_cpu in
7687 pgcc
*) # Portland Group C compiler
7688 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'
7689 tmp_addflag
=' $pic_flag'
7691 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7692 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'
7693 tmp_addflag
=' $pic_flag -Mnomain' ;;
7694 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7695 tmp_addflag
=' -i_dynamic' ;;
7696 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7697 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7698 ifc
* | ifort
*) # Intel Fortran compiler
7699 tmp_addflag
=' -nofor_main' ;;
7701 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7703 if test $supports_anon_versioning = yes; then
7704 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7705 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7706 $echo "local: *; };" >> $output_objdir/$libname.ver~
7707 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7715 netbsd
* | netbsdelf
*-gnu)
7716 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7717 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7720 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7721 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7726 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7730 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7731 *** create shared libraries on Solaris systems. Therefore, libtool
7732 *** is disabling shared libraries support. We urge you to upgrade GNU
7733 *** binutils to release 2.9.1 or newer. Another option is to modify
7734 *** your PATH or compiler configuration so that the native linker is
7735 *** used, and then restart.
7738 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7739 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7740 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7746 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7747 case `$LD -v 2>&1` in
7748 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7752 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7753 *** reliably create shared libraries on SCO systems. Therefore, libtool
7754 *** is disabling shared libraries support. We urge you to upgrade GNU
7755 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7756 *** your PATH or compiler configuration so that the native linker is
7757 *** used, and then restart.
7762 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7763 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7764 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7765 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7774 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7777 hardcode_shlibpath_var
=no
7781 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7783 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7790 if test "$ld_shlibs" = no
; then
7792 hardcode_libdir_flag_spec
=
7793 export_dynamic_flag_spec
=
7794 whole_archive_flag_spec
=
7797 # PORTME fill in a description of your system's linker (not GNU ld)
7800 allow_undefined_flag
=unsupported
7801 always_export_symbols
=yes
7802 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'
7803 # Note: this linker hardcodes the directories in LIBPATH if there
7804 # are no directories specified by -L.
7805 hardcode_minus_L
=yes
7806 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7807 # Neither direct hardcoding nor static linking is supported with a
7809 hardcode_direct
=unsupported
7814 if test "$host_cpu" = ia64
; then
7815 # On IA64, the linker does run time linking by default, so we don't
7816 # have to do anything special.
7817 aix_use_runtimelinking
=no
7818 exp_sym_flag
='-Bexport'
7821 # If we're using GNU nm, then we don't want the "-C" option.
7822 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7823 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7824 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'
7826 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'
7828 aix_use_runtimelinking
=no
7830 # Test if we are trying to use run time linking or normal
7831 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7832 # need to do runtime linking.
7833 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7834 for ld_flag
in $LDFLAGS; do
7835 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7836 aix_use_runtimelinking
=yes
7843 exp_sym_flag
='-bexport'
7844 no_entry_flag
='-bnoentry'
7847 # When large executables or shared objects are built, AIX ld can
7848 # have problems creating the table of contents. If linking a library
7849 # or program results in "error TOC overflow" add -mminimal-toc to
7850 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7851 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7855 hardcode_libdir_separator
=':'
7856 link_all_deplibs
=yes
7858 if test "$GCC" = yes; then
7859 case $host_os in aix4.
[012]|aix4.
[012].
*)
7860 # We only want to do this on AIX 4.2 and lower, the check
7861 # below for broken collect2 doesn't work under 4.3+
7862 collect2name
=`${CC} -print-prog-name=collect2`
7863 if test -f "$collect2name" && \
7864 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7866 # We have reworked collect2
7869 # We have old collect2
7870 hardcode_direct
=unsupported
7871 # It fails to find uninstalled libraries when the uninstalled
7872 # path is not listed in the libpath. Setting hardcode_minus_L
7873 # to unsupported forces relinking
7874 hardcode_minus_L
=yes
7875 hardcode_libdir_flag_spec
='-L$libdir'
7876 hardcode_libdir_separator
=
7880 shared_flag
='-shared'
7881 if test "$aix_use_runtimelinking" = yes; then
7882 shared_flag
="$shared_flag "'${wl}-G'
7886 if test "$host_cpu" = ia64
; then
7887 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7888 # chokes on -Wl,-G. The following line is correct:
7891 if test "$aix_use_runtimelinking" = yes; then
7892 shared_flag
='${wl}-G'
7894 shared_flag
='${wl}-bM:SRE'
7899 # It seems that -bexpall does not export symbols beginning with
7900 # underscore (_), so it is better to generate a list of symbols to export.
7901 always_export_symbols
=yes
7902 if test "$aix_use_runtimelinking" = yes; then
7903 # Warning - without using the other runtime loading flags (-brtl),
7904 # -berok will link without error, but may produce a broken library.
7905 allow_undefined_flag
='-berok'
7906 # Determine the default libpath from the value encoded in an empty executable.
7907 cat >conftest.
$ac_ext <<_ACEOF
7910 cat confdefs.h
>>conftest.
$ac_ext
7911 cat >>conftest.
$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7922 rm -f conftest.
$ac_objext conftest
$ac_exeext
7923 if { (ac_try
="$ac_link"
7925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7926 *) ac_try_echo=$ac_try;;
7928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 (eval "$ac_link") 2>conftest.er1
7931 grep -v '^ *+' conftest.er1 >conftest.err
7933 cat conftest.err >&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } && {
7936 test -z "$ac_c_werror_flag" ||
7937 test ! -s conftest.err
7938 } && test -s conftest$ac_exeext &&
7939 $as_test_x conftest$ac_exeext; then
7941 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7943 # Check for a 64-bit object if we didn't find anything.
7944 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7947 echo "$as_me: failed program was:" >&5
7948 sed 's/^/| /' conftest.$ac_ext >&5
7953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7954 conftest$ac_exeext conftest.$ac_ext
7955 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7957 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7958 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"
7960 if test "$host_cpu" = ia64; then
7961 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7962 allow_undefined_flag="-z nodefs"
7963 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"
7965 # Determine the default libpath from the value encoded in an empty executable.
7966 cat >conftest.$ac_ext <<_ACEOF
7969 cat confdefs.h >>conftest.$ac_ext
7970 cat >>conftest.$ac_ext <<_ACEOF
7971 /* end confdefs.h. */
7981 rm -f conftest.$ac_objext conftest$ac_exeext
7982 if { (ac_try="$ac_link"
7984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7985 *) ac_try_echo
=$ac_try;;
7987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7988 (eval "$ac_link") 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } && {
7995 test -z "$ac_c_werror_flag" ||
7996 test ! -s conftest.err
7997 } && test -s conftest
$ac_exeext &&
7998 $as_test_x conftest
$ac_exeext; then
8000 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8002 # Check for a 64-bit object if we didn't find anything.
8003 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.
$ac_ext >&5
8012 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8016 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8017 # Warning - without using the other run time loading flags,
8018 # -berok will link without error, but may produce a broken library.
8019 no_undefined_flag
=' ${wl}-bernotok'
8020 allow_undefined_flag
=' ${wl}-berok'
8021 # Exported symbols can be pulled into shared objects from archives
8022 whole_archive_flag_spec
='$convenience'
8023 archive_cmds_need_lc
=yes
8024 # This is similar to how AIX traditionally builds its shared libraries.
8025 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'
8031 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)'
8032 hardcode_libdir_flag_spec
='-L$libdir'
8033 hardcode_minus_L
=yes
8034 # see comment about different semantics on the GNU ld section
8039 export_dynamic_flag_spec
=-rdynamic
8042 cygwin
* | mingw
* | pw32
*)
8043 # When not using gcc, we currently assume that we are using
8044 # Microsoft Visual C++.
8045 # hardcode_libdir_flag_spec is actually meaningless, as there is
8046 # no search path for DLLs.
8047 hardcode_libdir_flag_spec
=' '
8048 allow_undefined_flag
=unsupported
8049 # Tell ltmain to make .lib files, not .a files.
8051 # Tell ltmain to make .dll files, not .so files.
8053 # FIXME: Setting linknames here is a bad hack.
8054 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8055 # The linker will automatically build a .lib file if we build a DLL.
8056 old_archive_From_new_cmds
='true'
8057 # FIXME: Should let the user specify the lib program.
8058 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8059 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8060 enable_shared_with_static_runtimes
=yes
8063 darwin
* | rhapsody
*)
8065 rhapsody
* | darwin1.
[012])
8066 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8069 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8070 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8072 case ${MACOSX_DEPLOYMENT_TARGET} in
8074 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8077 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8083 archive_cmds_need_lc
=no
8085 hardcode_automatic
=yes
8086 hardcode_shlibpath_var
=unsupported
8087 whole_archive_flag_spec
=''
8088 link_all_deplibs
=yes
8089 if test "$GCC" = yes ; then
8090 output_verbose_link_cmd
='echo'
8091 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8092 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8093 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8094 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8095 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}'
8097 case $cc_basename in
8099 output_verbose_link_cmd
='echo'
8100 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8101 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8102 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8103 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8104 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}'
8114 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8115 hardcode_libdir_flag_spec
='-L$libdir'
8116 hardcode_shlibpath_var
=no
8123 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8124 # support. Future versions do this automatically, but an explicit c++rt0.o
8125 # does not break anything, and helps significantly (at the cost of a little
8128 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8129 hardcode_libdir_flag_spec
='-R$libdir'
8131 hardcode_shlibpath_var
=no
8134 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8138 hardcode_minus_L
=yes
8139 hardcode_shlibpath_var
=no
8142 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8143 freebsd
* | dragonfly
*)
8144 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8145 hardcode_libdir_flag_spec
='-R$libdir'
8147 hardcode_shlibpath_var
=no
8151 if test "$GCC" = yes; then
8152 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'
8154 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'
8156 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8157 hardcode_libdir_separator
=:
8160 # hardcode_minus_L: Not really in the search PATH,
8161 # but as the default location of the library.
8162 hardcode_minus_L
=yes
8163 export_dynamic_flag_spec
='${wl}-E'
8167 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8168 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8170 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8172 if test "$with_gnu_ld" = no
; then
8173 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8174 hardcode_libdir_separator
=:
8177 export_dynamic_flag_spec
='${wl}-E'
8179 # hardcode_minus_L: Not really in the search PATH,
8180 # but as the default location of the library.
8181 hardcode_minus_L
=yes
8186 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8189 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8192 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8195 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8201 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8204 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8207 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8211 if test "$with_gnu_ld" = no
; then
8212 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8213 hardcode_libdir_separator
=:
8217 hardcode_libdir_flag_spec_ld
='+b $libdir'
8219 hardcode_shlibpath_var
=no
8223 export_dynamic_flag_spec
='${wl}-E'
8225 # hardcode_minus_L: Not really in the search PATH,
8226 # but as the default location of the library.
8227 hardcode_minus_L
=yes
8233 irix5
* | irix6
* | nonstopux
*)
8234 if test "$GCC" = yes; then
8235 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'
8237 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'
8238 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8240 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8241 hardcode_libdir_separator
=:
8242 link_all_deplibs
=yes
8245 netbsd
* | netbsdelf
*-gnu)
8246 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8247 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8249 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8251 hardcode_libdir_flag_spec
='-R$libdir'
8253 hardcode_shlibpath_var
=no
8257 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8259 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8260 hardcode_libdir_separator
=:
8261 hardcode_shlibpath_var
=no
8266 hardcode_shlibpath_var
=no
8267 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8268 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8269 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8270 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8271 export_dynamic_flag_spec
='${wl}-E'
8274 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8275 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8276 hardcode_libdir_flag_spec
='-R$libdir'
8279 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8280 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8287 hardcode_libdir_flag_spec
='-L$libdir'
8288 hardcode_minus_L
=yes
8289 allow_undefined_flag
=unsupported
8290 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'
8291 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8295 if test "$GCC" = yes; then
8296 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8297 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'
8299 allow_undefined_flag
=' -expect_unresolved \*'
8300 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'
8302 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8303 hardcode_libdir_separator
=:
8306 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8307 if test "$GCC" = yes; then
8308 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8309 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'
8310 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8312 allow_undefined_flag
=' -expect_unresolved \*'
8313 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'
8314 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8315 $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'
8317 # Both c and cxx compiler support -rpath directly
8318 hardcode_libdir_flag_spec
='-rpath $libdir'
8320 hardcode_libdir_separator
=:
8324 no_undefined_flag
=' -z text'
8325 if test "$GCC" = yes; then
8327 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8328 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8329 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8332 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8333 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8334 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8336 hardcode_libdir_flag_spec
='-R$libdir'
8337 hardcode_shlibpath_var
=no
8339 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8341 # The compiler driver will combine linker options so we
8342 # cannot just pass the convience library names through
8343 # without $wl, iff we do not link with $LD.
8344 # Luckily, gcc supports the same syntax we need for Sun Studio.
8345 # Supported since Solaris 2.6 (maybe 2.5.1?)
8348 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8350 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8353 link_all_deplibs
=yes
8357 if test "x$host_vendor" = xsequent
; then
8358 # Use $CC to link under sequent, because it throws in some extra .o
8359 # files that make .init and .fini sections work.
8360 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8362 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8364 hardcode_libdir_flag_spec
='-L$libdir'
8366 hardcode_minus_L
=yes
8367 hardcode_shlibpath_var
=no
8371 case $host_vendor in
8373 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8374 hardcode_direct
=yes # is this really true???
8377 ## LD is ld it makes a PLAMLIB
8378 ## CC just makes a GrossModule.
8379 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8380 reload_cmds
='$CC -r -o $output$reload_objs'
8384 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8385 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8388 runpath_var
='LD_RUN_PATH'
8389 hardcode_shlibpath_var
=no
8393 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8394 hardcode_shlibpath_var
=no
8395 export_dynamic_flag_spec
='-Bexport'
8399 if test -d /usr
/nec
; then
8400 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8401 hardcode_shlibpath_var
=no
8402 runpath_var
=LD_RUN_PATH
8403 hardcode_runpath_var
=yes
8408 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8409 no_undefined_flag
='${wl}-z,text'
8410 archive_cmds_need_lc
=no
8411 hardcode_shlibpath_var
=no
8412 runpath_var
='LD_RUN_PATH'
8414 if test "$GCC" = yes; then
8415 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8416 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8418 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8419 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8423 sysv5
* | sco3.2v5
* | sco5v6
*)
8424 # Note: We can NOT use -z defs as we might desire, because we do not
8425 # link with -lc, and that would cause any symbols used from libc to
8426 # always be unresolved, which means just about no library would
8427 # ever link correctly. If we're not using GNU ld we use -z text
8428 # though, which does catch some bad symbols but isn't as heavy-handed
8430 no_undefined_flag
='${wl}-z,text'
8431 allow_undefined_flag
='${wl}-z,nodefs'
8432 archive_cmds_need_lc
=no
8433 hardcode_shlibpath_var
=no
8434 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8435 hardcode_libdir_separator
=':'
8436 link_all_deplibs
=yes
8437 export_dynamic_flag_spec
='${wl}-Bexport'
8438 runpath_var
='LD_RUN_PATH'
8440 if test "$GCC" = yes; then
8441 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8442 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8444 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8445 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8450 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8451 hardcode_libdir_flag_spec
='-L$libdir'
8452 hardcode_shlibpath_var
=no
8461 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8462 echo "${ECHO_T}$ld_shlibs" >&6; }
8463 test "$ld_shlibs" = no
&& can_build_shared
=no
8466 # Do we need to explicitly link libc?
8468 case "x$archive_cmds_need_lc" in
8470 # Assume -lc should be added
8471 archive_cmds_need_lc
=yes
8473 if test "$enable_shared" = yes && test "$GCC" = yes; then
8474 case $archive_cmds in
8476 # FIXME: we may have to deal with multi-command sequences.
8479 # Test whether the compiler implicitly links with -lc since on some
8480 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8481 # to ld, don't add -lc before -lgcc.
8482 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8483 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8485 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8488 (eval $ac_compile) 2>&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } 2>conftest.err
; then
8494 libobjs
=conftest.
$ac_objext
8496 wl
=$lt_prog_compiler_wl
8497 pic_flag
=$lt_prog_compiler_pic
8503 lt_save_allow_undefined_flag
=$allow_undefined_flag
8504 allow_undefined_flag
=
8505 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8506 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }
8511 archive_cmds_need_lc
=no
8513 archive_cmds_need_lc
=yes
8515 allow_undefined_flag
=$lt_save_allow_undefined_flag
8517 cat conftest.err
1>&5
8520 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8521 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8528 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8529 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8531 libname_spec
='lib$name'
8539 shlibpath_overrides_runpath
=unknown
8541 dynamic_linker
="$host_os ld.so"
8542 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8543 if test "$GCC" = yes; then
8544 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8545 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8546 # if the path contains ";" then we assume it to be the separator
8547 # otherwise default to the standard path separator (i.e. ":") - it is
8548 # assumed that no part of a normal pathname contains ";" but that should
8549 # okay in the real world where ";" in dirpaths is itself problematic.
8550 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8552 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8555 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8557 need_lib_prefix
=unknown
8558 hardcode_into_libs
=no
8560 # when you set need_version to no, make sure it does not cause -set_version
8561 # flags to be left without arguments
8562 need_version
=unknown
8567 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8568 shlibpath_var
=LIBPATH
8570 # AIX 3 has no versioning support, so we append a major version to the name.
8571 soname_spec
='${libname}${release}${shared_ext}$major'
8578 hardcode_into_libs
=yes
8579 if test "$host_cpu" = ia64
; then
8580 # AIX 5 supports IA64
8581 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8582 shlibpath_var
=LD_LIBRARY_PATH
8584 # With GCC up to 2.95.x, collect2 would create an import file
8585 # for dependence libraries. The import file would start with
8586 # the line `#! .'. This would cause the generated library to
8587 # depend on `.', always an invalid library. This was fixed in
8588 # development snapshots of GCC prior to 3.0.
8590 aix4 | aix4.
[01] | aix4.
[01].
*)
8591 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8593 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8600 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8601 # soname into executable. Probably we can add versioning support to
8602 # collect2, so additional links can be useful in future.
8603 if test "$aix_use_runtimelinking" = yes; then
8604 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8605 # instead of lib<name>.a to let people know that these are not
8606 # typical AIX shared libraries.
8607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8609 # We preserve .a as extension for shared libraries through AIX4.2
8610 # and later when we are not doing run time linking.
8611 library_names_spec
='${libname}${release}.a $libname.a'
8612 soname_spec
='${libname}${release}${shared_ext}$major'
8614 shlibpath_var
=LIBPATH
8619 library_names_spec
='$libname.ixlibrary $libname.a'
8620 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8621 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'
8625 library_names_spec
='${libname}${shared_ext}'
8626 dynamic_linker
="$host_os ld.so"
8627 shlibpath_var
=LIBRARY_PATH
8633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8634 soname_spec
='${libname}${release}${shared_ext}$major'
8635 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8636 shlibpath_var
=LD_LIBRARY_PATH
8637 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8638 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8639 # the default ld.so.conf also contains /usr/contrib/lib and
8640 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8641 # libtool to hard-code these into programs
8644 cygwin
* | mingw
* | pw32
*)
8645 version_type
=windows
8650 case $GCC,$host_os in
8651 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8652 library_names_spec
='$libname.dll.a'
8653 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8654 postinstall_cmds
='base_file=`basename \${file}`~
8655 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8656 dldir=$destdir/`dirname \$dlpath`~
8657 test -d \$dldir || mkdir -p \$dldir~
8658 $install_prog $dir/$dlname \$dldir/$dlname~
8659 chmod a+x \$dldir/$dlname'
8660 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8661 dlpath=$dir/\$dldll~
8663 shlibpath_overrides_runpath
=yes
8667 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8668 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8669 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8672 # MinGW DLLs use traditional 'lib' prefix
8673 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8674 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8675 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8676 # It is most probably a Windows format PATH printed by
8677 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8678 # path with ; separators, and with drive letters. We can handle the
8679 # drive letters (cygwin fileutils understands them), so leave them,
8680 # especially as we might pass files found there to a mingw objdump,
8681 # which wouldn't understand a cygwinified path. Ahh.
8682 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8684 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8688 # pw32 DLLs use 'pw' prefix rather than 'lib'
8689 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8695 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8698 dynamic_linker
='Win32 ld.exe'
8699 # FIXME: first we should search . and the directory the executable is in
8703 darwin
* | rhapsody
*)
8704 dynamic_linker
="$host_os dyld"
8708 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8709 soname_spec
='${libname}${release}${major}$shared_ext'
8710 shlibpath_overrides_runpath
=yes
8711 shlibpath_var
=DYLD_LIBRARY_PATH
8712 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8713 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8714 if test "$GCC" = yes; then
8715 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8717 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8719 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8727 soname_spec
='${libname}${release}${shared_ext}$major'
8728 shlibpath_var
=LD_LIBRARY_PATH
8735 freebsd
* | dragonfly
*)
8736 # DragonFly does not have aout. When/if they implement a new
8737 # versioning mechanism, adjust this.
8738 if test -x /usr
/bin
/objformat
; then
8739 objformat
=`/usr/bin/objformat`
8742 freebsd
[123]*) objformat
=aout
;;
8746 version_type
=freebsd-
$objformat
8747 case $version_type in
8749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8754 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8758 shlibpath_var
=LD_LIBRARY_PATH
8761 shlibpath_overrides_runpath
=yes
8763 freebsd3.
[01]* | freebsdelf3.
[01]*)
8764 shlibpath_overrides_runpath
=yes
8765 hardcode_into_libs
=yes
8767 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8768 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8769 shlibpath_overrides_runpath
=no
8770 hardcode_into_libs
=yes
8772 freebsd
*) # from 4.6 on
8773 shlibpath_overrides_runpath
=yes
8774 hardcode_into_libs
=yes
8783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8784 soname_spec
='${libname}${release}${shared_ext}$major'
8785 shlibpath_var
=LD_LIBRARY_PATH
8786 hardcode_into_libs
=yes
8789 hpux9
* | hpux10
* | hpux11
*)
8790 # Give a soname corresponding to the major version so that dld.sl refuses to
8791 # link against other versions.
8798 hardcode_into_libs
=yes
8799 dynamic_linker
="$host_os dld.so"
8800 shlibpath_var
=LD_LIBRARY_PATH
8801 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8803 soname_spec
='${libname}${release}${shared_ext}$major'
8804 if test "X$HPUX_IA64_MODE" = X32
; then
8805 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8807 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8809 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8813 hardcode_into_libs
=yes
8814 dynamic_linker
="$host_os dld.sl"
8815 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8816 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8818 soname_spec
='${libname}${release}${shared_ext}$major'
8819 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8820 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8824 dynamic_linker
="$host_os dld.sl"
8825 shlibpath_var
=SHLIB_PATH
8826 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8828 soname_spec
='${libname}${release}${shared_ext}$major'
8831 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8832 postinstall_cmds
='chmod 555 $lib'
8839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8840 soname_spec
='${libname}${release}${shared_ext}$major'
8841 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8842 shlibpath_var
=LD_LIBRARY_PATH
8843 shlibpath_overrides_runpath
=no
8844 hardcode_into_libs
=yes
8847 irix5
* | irix6
* | nonstopux
*)
8849 nonstopux
*) version_type
=nonstopux
;;
8851 if test "$lt_cv_prog_gnu_ld" = yes; then
8859 soname_spec
='${libname}${release}${shared_ext}$major'
8860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8862 irix5
* | nonstopux
*)
8866 case $LD in # libtool.m4 will add one of these switches to LD
8867 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8868 libsuff
= shlibsuff
= libmagic
=32-bit;;
8869 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8870 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8871 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8872 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8873 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8877 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8878 shlibpath_overrides_runpath
=no
8879 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8880 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8881 hardcode_into_libs
=yes
8884 # No shared lib support for Linux oldld, aout, or coff.
8885 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8889 # This must be Linux ELF.
8890 linux
* | k
*bsd
*-gnu)
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8897 shlibpath_var
=LD_LIBRARY_PATH
8898 shlibpath_overrides_runpath
=no
8899 # This implies no fast_install, which is unacceptable.
8900 # Some rework will be needed to allow for fast_install
8901 # before this can be enabled.
8902 hardcode_into_libs
=yes
8904 # Append ld.so.conf contents to the search path
8905 if test -f /etc
/ld.so.conf
; then
8906 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8907 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8910 # We used to test for /lib/ld.so.1 and disable shared libraries on
8911 # powerpc, because MkLinux only supported shared libraries with the
8912 # GNU dynamic linker. Since this was broken with cross compilers,
8913 # most powerpc-linux boxes support dynamic linking these days and
8914 # people can always --disable-shared, the test was removed, and we
8915 # assume the GNU/Linux dynamic linker is in use.
8916 dynamic_linker
='GNU/Linux ld.so'
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8924 soname_spec
='${libname}${release}${shared_ext}$major'
8925 shlibpath_var
=LD_LIBRARY_PATH
8926 shlibpath_overrides_runpath
=no
8927 hardcode_into_libs
=yes
8928 dynamic_linker
='NetBSD ld.elf_so'
8935 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8937 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8938 dynamic_linker
='NetBSD (a.out) ld.so'
8940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8941 soname_spec
='${libname}${release}${shared_ext}$major'
8942 dynamic_linker
='NetBSD ld.elf_so'
8944 shlibpath_var
=LD_LIBRARY_PATH
8945 shlibpath_overrides_runpath
=yes
8946 hardcode_into_libs
=yes
8951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8952 shlibpath_var
=LD_LIBRARY_PATH
8953 shlibpath_overrides_runpath
=yes
8960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8961 soname_spec
='${libname}${release}${shared_ext}$major'
8962 shlibpath_var
=LD_LIBRARY_PATH
8963 shlibpath_overrides_runpath
=yes
8968 sys_lib_dlsearch_path_spec
="/usr/lib"
8970 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8972 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8973 *) need_version
=no
;;
8975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8977 shlibpath_var
=LD_LIBRARY_PATH
8978 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8980 openbsd2.
[89] | openbsd2.
[89].
*)
8981 shlibpath_overrides_runpath
=no
8984 shlibpath_overrides_runpath
=yes
8988 shlibpath_overrides_runpath
=yes
8993 libname_spec
='$name'
8996 library_names_spec
='$libname${shared_ext} $libname.a'
8997 dynamic_linker
='OS/2 ld.exe'
8998 shlibpath_var
=LIBPATH
9001 osf3
* | osf4
* | osf5
*)
9005 soname_spec
='${libname}${release}${shared_ext}$major'
9006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9007 shlibpath_var
=LD_LIBRARY_PATH
9008 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9009 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9017 soname_spec
='${libname}${release}${shared_ext}$major'
9018 shlibpath_var
=LD_LIBRARY_PATH
9019 shlibpath_overrides_runpath
=yes
9020 hardcode_into_libs
=yes
9021 # ldd complains unless libraries are executable
9022 postinstall_cmds
='chmod +x $lib'
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9028 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9029 shlibpath_var
=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath
=yes
9031 if test "$with_gnu_ld" = yes; then
9039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9040 soname_spec
='${libname}${release}${shared_ext}$major'
9041 shlibpath_var
=LD_LIBRARY_PATH
9042 case $host_vendor in
9044 shlibpath_overrides_runpath
=no
9046 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9047 runpath_var
=LD_RUN_PATH
9055 shlibpath_overrides_runpath
=no
9056 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9062 if test -d /usr
/nec
;then
9064 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9065 soname_spec
='$libname${shared_ext}.$major'
9066 shlibpath_var
=LD_LIBRARY_PATH
9070 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9071 version_type
=freebsd-elf
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 hardcode_into_libs
=yes
9078 if test "$with_gnu_ld" = yes; then
9079 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9080 shlibpath_overrides_runpath
=no
9082 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9083 shlibpath_overrides_runpath
=yes
9086 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9090 sys_lib_dlsearch_path_spec
='/usr/lib'
9095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9096 soname_spec
='${libname}${release}${shared_ext}$major'
9097 shlibpath_var
=LD_LIBRARY_PATH
9104 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9105 echo "${ECHO_T}$dynamic_linker" >&6; }
9106 test "$dynamic_linker" = no
&& can_build_shared
=no
9108 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9109 if test "$GCC" = yes; then
9110 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9113 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9114 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9116 if test -n "$hardcode_libdir_flag_spec" || \
9117 test -n "$runpath_var" || \
9118 test "X$hardcode_automatic" = "Xyes" ; then
9120 # We can hardcode non-existant directories.
9121 if test "$hardcode_direct" != no
&&
9122 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9123 # have to relink, otherwise we might link with an installed library
9124 # when we should be linking with a yet-to-be-installed one
9125 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9126 test "$hardcode_minus_L" != no
; then
9127 # Linking always hardcodes the temporary library directory.
9128 hardcode_action
=relink
9130 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9131 hardcode_action
=immediate
9134 # We cannot hardcode anything, or else we can only hardcode existing
9136 hardcode_action
=unsupported
9138 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9139 echo "${ECHO_T}$hardcode_action" >&6; }
9141 if test "$hardcode_action" = relink
; then
9142 # Fast installation is not supported
9143 enable_fast_install
=no
9144 elif test "$shlibpath_overrides_runpath" = yes ||
9145 test "$enable_shared" = no
; then
9146 # Fast installation is not necessary
9147 enable_fast_install
=needless
9152 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9153 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9154 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9155 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9156 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9157 { echo "$as_me:$LINENO: result: yes" >&5
9158 echo "${ECHO_T}yes" >&6; }
9160 # FIXME - insert some real tests, host_os isn't really good enough
9163 if test -n "$STRIP" ; then
9164 striplib
="$STRIP -x"
9165 { echo "$as_me:$LINENO: result: yes" >&5
9166 echo "${ECHO_T}yes" >&6; }
9168 { echo "$as_me:$LINENO: result: no" >&5
9169 echo "${ECHO_T}no" >&6; }
9173 { echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6; }
9179 if test "x$enable_dlopen" != xyes
; then
9180 enable_dlopen
=unknown
9181 enable_dlopen_self
=unknown
9182 enable_dlopen_self_static
=unknown
9189 lt_cv_dlopen
="load_add_on"
9191 lt_cv_dlopen_self
=yes
9195 lt_cv_dlopen
="LoadLibrary"
9200 lt_cv_dlopen
="dlopen"
9205 # if libdl is installed we need to link against it
9206 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9207 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 ac_check_lib_save_LIBS
=$LIBS
9213 cat >conftest.
$ac_ext <<_ACEOF
9216 cat confdefs.h
>>conftest.
$ac_ext
9217 cat >>conftest.
$ac_ext <<_ACEOF
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9235 rm -f conftest.
$ac_objext conftest
$ac_exeext
9236 if { (ac_try
="$ac_link"
9238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9239 *) ac_try_echo=$ac_try;;
9241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242 (eval "$ac_link") 2>conftest.er1
9244 grep -v '^ *+' conftest.er1 >conftest.err
9246 cat conftest.err >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); } && {
9249 test -z "$ac_c_werror_flag" ||
9250 test ! -s conftest.err
9251 } && test -s conftest$ac_exeext &&
9252 $as_test_x conftest$ac_exeext; then
9253 ac_cv_lib_dl_dlopen=yes
9255 echo "$as_me: failed program was:" >&5
9256 sed 's/^/| /' conftest.$ac_ext >&5
9258 ac_cv_lib_dl_dlopen=no
9261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9266 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9267 if test $ac_cv_lib_dl_dlopen = yes; then
9268 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9273 lt_cv_dlopen_self=yes
9280 { echo "$as_me:$LINENO: checking for shl_load" >&5
9281 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9282 if test "${ac_cv_func_shl_load+set}" = set; then
9283 echo $ECHO_N "(cached) $ECHO_C" >&6
9285 cat >conftest.$ac_ext <<_ACEOF
9288 cat confdefs.h >>conftest.$ac_ext
9289 cat >>conftest.$ac_ext <<_ACEOF
9290 /* end confdefs.h. */
9291 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9293 #define shl_load innocuous_shl_load
9295 /* System header to define __stub macros and hopefully few prototypes,
9296 which can conflict with char shl_load (); below.
9297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9298 <limits.h> exists even on freestanding compilers. */
9301 # include <limits.h>
9303 # include <assert.h>
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9315 /* The GNU C library defines this for functions which it implements
9316 to always fail with ENOSYS. Some functions are actually named
9317 something starting with __ and the normal name is an alias. */
9318 #if defined __stub_shl_load || defined __stub___shl_load
9330 rm -f conftest.$ac_objext conftest$ac_exeext
9331 if { (ac_try="$ac_link"
9333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9334 *) ac_try_echo
=$ac_try;;
9336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9337 (eval "$ac_link") 2>conftest.er1
9339 grep -v '^ *+' conftest.er1
>conftest.err
9341 cat conftest.err
>&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); } && {
9344 test -z "$ac_c_werror_flag" ||
9345 test ! -s conftest.err
9346 } && test -s conftest
$ac_exeext &&
9347 $as_test_x conftest
$ac_exeext; then
9348 ac_cv_func_shl_load
=yes
9350 echo "$as_me: failed program was:" >&5
9351 sed 's/^/| /' conftest.
$ac_ext >&5
9353 ac_cv_func_shl_load
=no
9356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9357 conftest
$ac_exeext conftest.
$ac_ext
9359 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9360 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9361 if test $ac_cv_func_shl_load = yes; then
9362 lt_cv_dlopen
="shl_load"
9364 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9365 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9366 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 ac_check_lib_save_LIBS
=$LIBS
9371 cat >conftest.
$ac_ext <<_ACEOF
9374 cat confdefs.h
>>conftest.
$ac_ext
9375 cat >>conftest.
$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9393 rm -f conftest.
$ac_objext conftest
$ac_exeext
9394 if { (ac_try
="$ac_link"
9396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9397 *) ac_try_echo=$ac_try;;
9399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9400 (eval "$ac_link") 2>conftest.er1
9402 grep -v '^ *+' conftest.er1 >conftest.err
9404 cat conftest.err >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } && {
9407 test -z "$ac_c_werror_flag" ||
9408 test ! -s conftest.err
9409 } && test -s conftest$ac_exeext &&
9410 $as_test_x conftest$ac_exeext; then
9411 ac_cv_lib_dld_shl_load=yes
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.$ac_ext >&5
9416 ac_cv_lib_dld_shl_load=no
9419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9424 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9425 if test $ac_cv_lib_dld_shl_load = yes; then
9426 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9428 { echo "$as_me:$LINENO: checking for dlopen" >&5
9429 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9430 if test "${ac_cv_func_dlopen+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 cat >conftest.$ac_ext <<_ACEOF
9436 cat confdefs.h >>conftest.$ac_ext
9437 cat >>conftest.$ac_ext <<_ACEOF
9438 /* end confdefs.h. */
9439 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9441 #define dlopen innocuous_dlopen
9443 /* System header to define __stub macros and hopefully few prototypes,
9444 which can conflict with char dlopen (); below.
9445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9446 <limits.h> exists even on freestanding compilers. */
9449 # include <limits.h>
9451 # include <assert.h>
9456 /* Override any GCC internal prototype to avoid an error.
9457 Use char because int might match the return type of a GCC
9458 builtin and then its argument prototype would still apply. */
9463 /* The GNU C library defines this for functions which it implements
9464 to always fail with ENOSYS. Some functions are actually named
9465 something starting with __ and the normal name is an alias. */
9466 #if defined __stub_dlopen || defined __stub___dlopen
9478 rm -f conftest.$ac_objext conftest$ac_exeext
9479 if { (ac_try="$ac_link"
9481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9482 *) ac_try_echo
=$ac_try;;
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_link") 2>conftest.er1
9487 grep -v '^ *+' conftest.er1
>conftest.err
9489 cat conftest.err
>&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } && {
9492 test -z "$ac_c_werror_flag" ||
9493 test ! -s conftest.err
9494 } && test -s conftest
$ac_exeext &&
9495 $as_test_x conftest
$ac_exeext; then
9496 ac_cv_func_dlopen
=yes
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9501 ac_cv_func_dlopen
=no
9504 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9505 conftest
$ac_exeext conftest.
$ac_ext
9507 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9508 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9509 if test $ac_cv_func_dlopen = yes; then
9510 lt_cv_dlopen
="dlopen"
9512 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9513 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9514 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 ac_check_lib_save_LIBS
=$LIBS
9519 cat >conftest.
$ac_ext <<_ACEOF
9522 cat confdefs.h
>>conftest.
$ac_ext
9523 cat >>conftest.
$ac_ext <<_ACEOF
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9541 rm -f conftest.
$ac_objext conftest
$ac_exeext
9542 if { (ac_try
="$ac_link"
9544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9545 *) ac_try_echo=$ac_try;;
9547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9548 (eval "$ac_link") 2>conftest.er1
9550 grep -v '^ *+' conftest.er1 >conftest.err
9552 cat conftest.err >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); } && {
9555 test -z "$ac_c_werror_flag" ||
9556 test ! -s conftest.err
9557 } && test -s conftest$ac_exeext &&
9558 $as_test_x conftest$ac_exeext; then
9559 ac_cv_lib_dl_dlopen=yes
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.$ac_ext >&5
9564 ac_cv_lib_dl_dlopen=no
9567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9572 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9573 if test $ac_cv_lib_dl_dlopen = yes; then
9574 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9576 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9577 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9578 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9579 echo $ECHO_N "(cached) $ECHO_C" >&6
9581 ac_check_lib_save_LIBS=$LIBS
9583 cat >conftest.$ac_ext <<_ACEOF
9586 cat confdefs.h >>conftest.$ac_ext
9587 cat >>conftest.$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9605 rm -f conftest.$ac_objext conftest$ac_exeext
9606 if { (ac_try="$ac_link"
9608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9609 *) ac_try_echo
=$ac_try;;
9611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9612 (eval "$ac_link") 2>conftest.er1
9614 grep -v '^ *+' conftest.er1
>conftest.err
9616 cat conftest.err
>&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); } && {
9619 test -z "$ac_c_werror_flag" ||
9620 test ! -s conftest.err
9621 } && test -s conftest
$ac_exeext &&
9622 $as_test_x conftest
$ac_exeext; then
9623 ac_cv_lib_svld_dlopen
=yes
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.
$ac_ext >&5
9628 ac_cv_lib_svld_dlopen
=no
9631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9632 conftest
$ac_exeext conftest.
$ac_ext
9633 LIBS
=$ac_check_lib_save_LIBS
9635 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9636 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9637 if test $ac_cv_lib_svld_dlopen = yes; then
9638 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9640 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9641 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9642 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 ac_check_lib_save_LIBS
=$LIBS
9647 cat >conftest.
$ac_ext <<_ACEOF
9650 cat confdefs.h
>>conftest.
$ac_ext
9651 cat >>conftest.
$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9669 rm -f conftest.
$ac_objext conftest
$ac_exeext
9670 if { (ac_try
="$ac_link"
9672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_link") 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } && {
9683 test -z "$ac_c_werror_flag" ||
9684 test ! -s conftest.err
9685 } && test -s conftest$ac_exeext &&
9686 $as_test_x conftest$ac_exeext; then
9687 ac_cv_lib_dld_dld_link=yes
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 ac_cv_lib_dld_dld_link=no
9695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9700 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9701 if test $ac_cv_lib_dld_dld_link = yes; then
9702 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9723 if test "x$lt_cv_dlopen" != xno; then
9729 case $lt_cv_dlopen in
9731 save_CPPFLAGS="$CPPFLAGS"
9732 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9734 save_LDFLAGS="$LDFLAGS"
9735 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9738 LIBS="$lt_cv_dlopen_libs $LIBS"
9740 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9741 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9742 if test "${lt_cv_dlopen_self+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 if test "$cross_compiling" = yes; then :
9746 lt_cv_dlopen_self=cross
9748 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9749 lt_status=$lt_dlunknown
9750 cat > conftest.$ac_ext <<EOF
9751 #line 9751 "configure"
9752 #include "confdefs.h"
9761 # define LT_DLGLOBAL RTLD_GLOBAL
9764 # define LT_DLGLOBAL DL_GLOBAL
9766 # define LT_DLGLOBAL 0
9770 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9771 find out it does not work in some platform. */
9772 #ifndef LT_DLLAZY_OR_NOW
9774 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9777 # define LT_DLLAZY_OR_NOW DL_LAZY
9780 # define LT_DLLAZY_OR_NOW RTLD_NOW
9783 # define LT_DLLAZY_OR_NOW DL_NOW
9785 # define LT_DLLAZY_OR_NOW 0
9793 extern "C" void exit (int);
9796 void fnord() { int i=42;}
9799 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9800 int status = $lt_dlunknown;
9804 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9805 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9806 /* dlclose (self); */
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9819 (./conftest; exit; ) >&5 2>/dev/null
9822 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9823 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9824 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9827 # compilation failed
9828 lt_cv_dlopen_self=no
9835 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9836 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9838 if test "x$lt_cv_dlopen_self" = xyes; then
9839 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9840 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9841 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9842 if test "${lt_cv_dlopen_self_static+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 if test "$cross_compiling" = yes; then :
9846 lt_cv_dlopen_self_static=cross
9848 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9849 lt_status=$lt_dlunknown
9850 cat > conftest.$ac_ext <<EOF
9851 #line 9851 "configure"
9852 #include "confdefs.h"
9861 # define LT_DLGLOBAL RTLD_GLOBAL
9864 # define LT_DLGLOBAL DL_GLOBAL
9866 # define LT_DLGLOBAL 0
9870 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9871 find out it does not work in some platform. */
9872 #ifndef LT_DLLAZY_OR_NOW
9874 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9877 # define LT_DLLAZY_OR_NOW DL_LAZY
9880 # define LT_DLLAZY_OR_NOW RTLD_NOW
9883 # define LT_DLLAZY_OR_NOW DL_NOW
9885 # define LT_DLLAZY_OR_NOW 0
9893 extern "C" void exit (int);
9896 void fnord() { int i=42;}
9899 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9900 int status = $lt_dlunknown;
9904 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9905 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9906 /* dlclose (self); */
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9919 (./conftest; exit; ) >&5 2>/dev/null
9922 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9923 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9924 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9927 # compilation failed
9928 lt_cv_dlopen_self_static=no
9935 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9936 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9939 CPPFLAGS="$save_CPPFLAGS"
9940 LDFLAGS="$save_LDFLAGS"
9945 case $lt_cv_dlopen_self in
9946 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9947 *) enable_dlopen_self=unknown ;;
9950 case $lt_cv_dlopen_self_static in
9951 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9952 *) enable_dlopen_self_static=unknown ;;
9957 # Report which library types will actually be built
9958 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9959 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9960 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9961 echo "${ECHO_T}$can_build_shared" >&6; }
9963 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9964 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9965 test "$can_build_shared" = "no" && enable_shared=no
9967 # On AIX, shared libraries and static libraries use the same namespace, and
9968 # are all built from PIC.
9971 test "$enable_shared" = yes && enable_static=no
9972 if test -n "$RANLIB"; then
9973 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9974 postinstall_cmds='$RANLIB $lib'
9979 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9980 test "$enable_shared" = yes && enable_static=no
9984 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9985 echo "${ECHO_T}$enable_shared" >&6; }
9987 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9988 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9989 # Make sure either enable_shared or enable_static is yes.
9990 test "$enable_shared" = yes || enable_static=yes
9991 { echo "$as_me:$LINENO: result: $enable_static" >&5
9992 echo "${ECHO_T}$enable_static" >&6; }
9994 # The else clause should only fire when bootstrapping the
9995 # libtool distribution, otherwise you forgot to ship ltmain.sh
9996 # with your package, and you will get complaints that there are
9997 # no rules to generate ltmain.sh.
9998 if test -f "$ltmain"; then
9999 # See if we are running on zsh, and set the options which allow our commands through
10000 # without removal of \ escapes.
10001 if test -n "${ZSH_VERSION+set}" ; then
10002 setopt NO_GLOB_SUBST
10004 # Now quote all the things that may contain metacharacters while being
10005 # careful not to overquote the AC_SUBSTed values. We take copies of the
10006 # variables and quote the copies for generation of the libtool script.
10007 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10009 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10010 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10011 deplibs_check_method reload_flag reload_cmds need_locks \
10012 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10013 lt_cv_sys_global_symbol_to_c_name_address \
10014 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10015 old_postinstall_cmds old_postuninstall_cmds \
10019 lt_prog_compiler_wl \
10020 lt_prog_compiler_pic \
10021 lt_prog_compiler_static \
10022 lt_prog_compiler_no_builtin_flag \
10023 export_dynamic_flag_spec \
10024 thread_safe_flag_spec \
10025 whole_archive_flag_spec \
10026 enable_shared_with_static_runtimes \
10028 old_archive_from_new_cmds \
10033 compiler_lib_search_path \
10035 archive_expsym_cmds \
10037 postuninstall_cmds \
10038 old_archive_from_expsyms_cmds \
10039 allow_undefined_flag \
10040 no_undefined_flag \
10041 export_symbols_cmds \
10042 hardcode_libdir_flag_spec \
10043 hardcode_libdir_flag_spec_ld \
10044 hardcode_libdir_separator \
10045 hardcode_automatic \
10047 module_expsym_cmds \
10048 lt_cv_prog_compiler_c_o \
10050 include_expsyms; do
10053 old_archive_cmds | \
10054 old_archive_from_new_cmds | \
10056 archive_expsym_cmds | \
10058 module_expsym_cmds | \
10059 old_archive_from_expsyms_cmds | \
10060 export_symbols_cmds | \
10061 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10062 postinstall_cmds | postuninstall_cmds | \
10063 old_postinstall_cmds | old_postuninstall_cmds | \
10064 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10065 # Double-quote double-evaled strings.
10066 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10069 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10075 *'\$0 --fallback-echo"')
10076 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10080 cfgfile="${ofile}T"
10081 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10083 { echo "$as_me:$LINENO: creating $ofile" >&5
10084 echo "$as_me: creating $ofile" >&6;}
10086 cat <<__EOF__ >> "$cfgfile"
10089 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10090 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10093 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10094 # Free Software Foundation, Inc.
10096 # This file is part of GNU Libtool:
10097 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10099 # This program is free software; you can redistribute it and/or modify
10100 # it under the terms of the GNU General Public License as published by
10101 # the Free Software Foundation; either version 2 of the License, or
10102 # (at your option) any later version.
10104 # This program is distributed in the hope that it will be useful, but
10105 # WITHOUT ANY WARRANTY; without even the implied warranty of
10106 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10107 # General Public License for more details.
10109 # You should have received a copy of the GNU General Public License
10110 # along with this program; if not, write to the Free Software
10111 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10113 # As a special exception to the GNU General Public License, if you
10114 # distribute this file as part of a program that contains a
10115 # configuration script generated by Autoconf, you may include it under
10116 # the same distribution terms that you use for the rest of that program.
10118 # A sed program that does not truncate output.
10121 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10122 Xsed="$SED -e 1s/^X//"
10124 # The HP-UX ksh and POSIX shell print the target directory to stdout
10125 # if CDPATH is set.
10126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10128 # The names of the tagged configurations supported by this script.
10131 # ### BEGIN LIBTOOL CONFIG
10133 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10135 # Shell to use when invoking shell scripts.
10138 # Whether or not to build shared libraries.
10139 build_libtool_libs=$enable_shared
10141 # Whether or not to build static libraries.
10142 build_old_libs=$enable_static
10144 # Whether or not to add -lc for building shared libraries.
10145 build_libtool_need_lc=$archive_cmds_need_lc
10147 # Whether or not to disallow shared libs when runtime libs are static
10148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10150 # Whether or not to optimize for fast installation.
10151 fast_install=$enable_fast_install
10154 host_alias=$host_alias
10158 # The build system.
10159 build_alias=$build_alias
10163 # An echo program that does not interpret backslashes.
10168 AR_FLAGS=$lt_AR_FLAGS
10173 # LTCC compiler flags.
10174 LTCFLAGS=$lt_LTCFLAGS
10176 # A language-specific compiler.
10179 # Is the compiler the GNU C compiler?
10185 # The linker used to build libraries.
10188 # Whether we need hard or soft links.
10191 # A BSD-compatible nm program.
10194 # A symbol stripping program
10197 # Used to examine libraries when file_magic_cmd begins "file"
10198 MAGIC_CMD=$MAGIC_CMD
10200 # Used on cygwin: DLL creation program.
10203 # Used on cygwin: object dumper.
10206 # Used on cygwin: assembler.
10209 # The name of the directory that contains temporary libtool files.
10212 # How to create reloadable object files.
10213 reload_flag=$lt_reload_flag
10214 reload_cmds=$lt_reload_cmds
10216 # How to pass a linker flag through the compiler.
10217 wl=$lt_lt_prog_compiler_wl
10219 # Object file suffix (normally "o").
10220 objext="$ac_objext"
10222 # Old archive suffix (normally "a").
10225 # Shared library suffix (normally ".so").
10226 shrext_cmds='$shrext_cmds'
10228 # Executable file suffix (normally "").
10231 # Additional compiler flags for building library objects.
10232 pic_flag=$lt_lt_prog_compiler_pic
10235 # What is the maximum length of a command?
10236 max_cmd_len=$lt_cv_sys_max_cmd_len
10238 # Does compiler simultaneously support -c and -o options?
10239 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10241 # Must we lock files when doing compilation?
10242 need_locks=$lt_need_locks
10244 # Do we need the lib prefix for modules?
10245 need_lib_prefix=$need_lib_prefix
10247 # Do we need a version for libraries?
10248 need_version=$need_version
10250 # Whether dlopen is supported.
10251 dlopen_support=$enable_dlopen
10253 # Whether dlopen of programs is supported.
10254 dlopen_self=$enable_dlopen_self
10256 # Whether dlopen of statically linked programs is supported.
10257 dlopen_self_static=$enable_dlopen_self_static
10259 # Compiler flag to prevent dynamic linking.
10260 link_static_flag=$lt_lt_prog_compiler_static
10262 # Compiler flag to turn off builtin functions.
10263 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10265 # Compiler flag to allow reflexive dlopens.
10266 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10268 # Compiler flag to generate shared objects directly from archives.
10269 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10271 # Compiler flag to generate thread-safe objects.
10272 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10274 # Library versioning type.
10275 version_type=$version_type
10277 # Format of library name prefix.
10278 libname_spec=$lt_libname_spec
10280 # List of archive names. First name is the real one, the rest are links.
10281 # The last name is the one that the linker finds with -lNAME.
10282 library_names_spec=$lt_library_names_spec
10284 # The coded name of the library, if different from the real name.
10285 soname_spec=$lt_soname_spec
10287 # Commands used to build and install an old-style archive.
10289 old_archive_cmds=$lt_old_archive_cmds
10290 old_postinstall_cmds=$lt_old_postinstall_cmds
10291 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10293 # Create an old-style archive from a shared archive.
10294 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10296 # Create a temporary old-style archive to link instead of a shared archive.
10297 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10299 # Commands used to build and install a shared archive.
10300 archive_cmds=$lt_archive_cmds
10301 archive_expsym_cmds=$lt_archive_expsym_cmds
10302 postinstall_cmds=$lt_postinstall_cmds
10303 postuninstall_cmds=$lt_postuninstall_cmds
10305 # Commands used to build a loadable module (assumed same as above if empty)
10306 module_cmds=$lt_module_cmds
10307 module_expsym_cmds=$lt_module_expsym_cmds
10309 # Commands to strip libraries.
10310 old_striplib=$lt_old_striplib
10311 striplib=$lt_striplib
10313 # Dependencies to place before the objects being linked to create a
10315 predep_objects=$lt_predep_objects
10317 # Dependencies to place after the objects being linked to create a
10319 postdep_objects=$lt_postdep_objects
10321 # Dependencies to place before the objects being linked to create a
10323 predeps=$lt_predeps
10325 # Dependencies to place after the objects being linked to create a
10327 postdeps=$lt_postdeps
10329 # The library search path used internally by the compiler when linking
10330 # a shared library.
10331 compiler_lib_search_path=$lt_compiler_lib_search_path
10333 # Method to check whether dependent libraries are shared objects.
10334 deplibs_check_method=$lt_deplibs_check_method
10336 # Command to use when deplibs_check_method == file_magic.
10337 file_magic_cmd=$lt_file_magic_cmd
10339 # Flag that allows shared libraries with undefined symbols to be built.
10340 allow_undefined_flag=$lt_allow_undefined_flag
10342 # Flag that forces no undefined symbols.
10343 no_undefined_flag=$lt_no_undefined_flag
10345 # Commands used to finish a libtool library installation in a directory.
10346 finish_cmds=$lt_finish_cmds
10348 # Same as above, but a single script fragment to be evaled but not shown.
10349 finish_eval=$lt_finish_eval
10351 # Take the output of nm and produce a listing of raw symbols and C names.
10352 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10354 # Transform the output of nm in a proper C declaration
10355 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10357 # Transform the output of nm in a C name address pair
10358 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10360 # This is the shared library runtime path variable.
10361 runpath_var=$runpath_var
10363 # This is the shared library path variable.
10364 shlibpath_var=$shlibpath_var
10366 # Is shlibpath searched before the hard-coded library search path?
10367 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10369 # How to hardcode a shared library path into an executable.
10370 hardcode_action=$hardcode_action
10372 # Whether we should hardcode library paths into libraries.
10373 hardcode_into_libs=$hardcode_into_libs
10375 # Flag to hardcode \$libdir into a binary during linking.
10376 # This must work even if \$libdir does not exist.
10377 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10379 # If ld is used when linking, flag to hardcode \$libdir into
10380 # a binary during linking. This must work even if \$libdir does
10382 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10384 # Whether we need a single -rpath flag with a separated argument.
10385 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10387 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10388 # resulting binary.
10389 hardcode_direct=$hardcode_direct
10391 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10392 # resulting binary.
10393 hardcode_minus_L=$hardcode_minus_L
10395 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10396 # the resulting binary.
10397 hardcode_shlibpath_var=$hardcode_shlibpath_var
10399 # Set to yes if building a shared library automatically hardcodes DIR into the library
10400 # and all subsequent libraries and executables linked against it.
10401 hardcode_automatic=$hardcode_automatic
10403 # Variables whose values should be saved in libtool wrapper scripts and
10404 # restored at relink time.
10405 variables_saved_for_relink="$variables_saved_for_relink"
10407 # Whether libtool must link a program against all its dependency libraries.
10408 link_all_deplibs=$link_all_deplibs
10410 # Compile-time system search path for libraries
10411 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10413 # Run-time system search path for libraries
10414 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10416 # Fix the shell variable \$srcfile for the compiler.
10417 fix_srcfile_path="$fix_srcfile_path"
10419 # Set to yes if exported symbols are required.
10420 always_export_symbols=$always_export_symbols
10422 # The commands to list exported symbols.
10423 export_symbols_cmds=$lt_export_symbols_cmds
10425 # The commands to extract the exported symbol list from a shared archive.
10426 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10428 # Symbols that should not be listed in the preloaded symbols.
10429 exclude_expsyms=$lt_exclude_expsyms
10431 # Symbols that must always be exported.
10432 include_expsyms=$lt_include_expsyms
10434 # ### END LIBTOOL CONFIG
10441 cat <<\EOF >> "$cfgfile"
10443 # AIX sometimes has problems with the GCC collect2 program. For some
10444 # reason, if we set the COLLECT_NAMES environment variable, the problems
10445 # vanish in a puff of smoke.
10446 if test "X${COLLECT_NAMES+set}" != Xset; then
10448 export COLLECT_NAMES
10454 # We use sed instead of cat because bash on DJGPP gets confused if
10455 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10456 # text mode, it properly converts lines to CR/LF. This bash problem
10457 # is reportedly fixed, but why not run on old versions too?
10458 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10460 mv -f "$cfgfile" "$ofile" || \
10461 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10465 # If there is no Makefile yet, we rely on a make rule to execute
10466 # `config.status
--recheck' to rerun these tests and create the
10467 # libtool script then.
10468 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10469 if test -f "$ltmain_in"; then
10470 test -f Makefile && make "$ltmain"
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10478 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10484 # Check whether --with-tags was given.
10485 if test "${with_tags+set}" = set; then
10486 withval=$with_tags; tagnames="$withval"
10490 if test -f "$ltmain" && test -n "$tagnames"; then
10491 if test ! -f "${ofile}"; then
10492 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10493 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10496 if test -z "$LTCC"; then
10497 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10498 if test -z "$LTCC"; then
10499 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10500 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10502 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10503 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10506 if test -z "$LTCFLAGS"; then
10507 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10510 # Extract list of available tagged configurations in $ofile.
10511 # Note that this assumes the entire list is on one line.
10512 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10514 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10515 for tagname in $tagnames; do
10517 # Check whether tagname contains only valid characters
10518 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10520 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10521 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10522 { (exit 1); exit 1; }; }
10526 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10528 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10529 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10530 { (exit 1); exit 1; }; }
10533 # Update the list of available tags.
10534 if test -n "$tagname"; then
10535 echo appending configuration tag \"$tagname\" to $ofile
10539 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10540 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10541 (test "X$CXX" != "Xg++"))) ; then
10543 ac_cpp='$CXXCPP $CPPFLAGS'
10544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10551 archive_cmds_need_lc_CXX=no
10552 allow_undefined_flag_CXX=
10553 always_export_symbols_CXX=no
10554 archive_expsym_cmds_CXX=
10555 export_dynamic_flag_spec_CXX=
10556 hardcode_direct_CXX=no
10557 hardcode_libdir_flag_spec_CXX=
10558 hardcode_libdir_flag_spec_ld_CXX=
10559 hardcode_libdir_separator_CXX=
10560 hardcode_minus_L_CXX=no
10561 hardcode_shlibpath_var_CXX=unsupported
10562 hardcode_automatic_CXX=no
10564 module_expsym_cmds_CXX=
10565 link_all_deplibs_CXX=unknown
10566 old_archive_cmds_CXX=$old_archive_cmds
10567 no_undefined_flag_CXX=
10568 whole_archive_flag_spec_CXX=
10569 enable_shared_with_static_runtimes_CXX=no
10571 # Dependencies to place before and after the object being linked:
10572 predep_objects_CXX=
10573 postdep_objects_CXX=
10576 compiler_lib_search_path_CXX=
10578 # Source file extension for C++ test sources.
10581 # Object file extension for compiled C++ test sources.
10585 # Code to be used in simple compile tests
10586 lt_simple_compile_test_code="int some_variable = 0;\n"
10588 # Code to be used in simple link tests
10589 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10591 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10593 # If no C compiler was specified, use CC.
10596 # If no C compiler flags were specified, use CFLAGS.
10597 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10599 # Allow CC to be a program name with arguments.
10603 # save warnings/boilerplate of simple test code
10604 ac_outfile=conftest.$ac_objext
10605 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10606 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10607 _lt_compiler_boilerplate=`cat conftest.err
`
10610 ac_outfile=conftest.$ac_objext
10611 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10612 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10613 _lt_linker_boilerplate=`cat conftest.err
`
10617 # Allow CC to be a program name with arguments.
10622 lt_save_with_gnu_ld=$with_gnu_ld
10623 lt_save_path_LD=$lt_cv_path_LD
10624 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10625 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10627 $as_unset lt_cv_prog_gnu_ld
10629 if test -n "${lt_cv_path_LDCXX+set}"; then
10630 lt_cv_path_LD=$lt_cv_path_LDCXX
10632 $as_unset lt_cv_path_LD
10634 test -z "${LDCXX+set}" || LD=$LDCXX
10638 for cc_temp in $compiler""; do
10640 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10641 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10646 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10649 # We don't want -fno-exception wen compiling C++ code, so set the
10650 # no_builtin_flag separately
10651 if test "$GXX" = yes; then
10652 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10654 lt_prog_compiler_no_builtin_flag_CXX=
10657 if test "$GXX" = yes; then
10658 # Set up default GNU C++ configuration
10661 # Check whether --with-gnu-ld was given.
10662 if test "${with_gnu_ld+set}" = set; then
10663 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10669 if test "$GCC" = yes; then
10670 # Check if gcc -print-prog-name=ld gives a path.
10671 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10672 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10675 # gcc leaves a trailing carriage return which upsets mingw
10676 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10678 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10681 # Accept absolute paths.
10683 re_direlt='/[^/][^/]*/\.\./'
10684 # Canonicalize the pathname of ld
10685 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10686 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10687 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10689 test -z "$LD" && LD="$ac_prog"
10692 # If it fails, then pretend we aren't using GCC.
10696 # If it is relative, then search for the first ld in PATH.
10697 with_gnu_ld=unknown
10700 elif test "$with_gnu_ld" = yes; then
10701 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10702 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10704 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10705 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10707 if test "${lt_cv_path_LD+set}" = set; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 if test -z "$LD"; then
10711 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10712 for ac_dir in $PATH; do
10714 test -z "$ac_dir" && ac_dir=.
10715 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10716 lt_cv_path_LD="$ac_dir/$ac_prog"
10717 # Check to see if the program is GNU ld. I'd rather use --version,
10718 # but apparently some variants of GNU ld only accept -v.
10719 # Break only if it was the GNU/non-GNU ld that we prefer.
10720 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10721 *GNU* | *'with BFD'*)
10722 test "$with_gnu_ld" != no && break
10725 test "$with_gnu_ld" != yes && break
10732 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10736 LD="$lt_cv_path_LD"
10737 if test -n "$LD"; then
10738 { echo "$as_me:$LINENO: result: $LD" >&5
10739 echo "${ECHO_T}$LD" >&6; }
10741 { echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6; }
10744 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10745 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10746 { (exit 1); exit 1; }; }
10747 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10748 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10749 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10753 case `$LD -v 2>&1 </dev
/null
` in
10754 *GNU* | *'with BFD'*)
10755 lt_cv_prog_gnu_ld=yes
10758 lt_cv_prog_gnu_ld=no
10762 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10763 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10764 with_gnu_ld=$lt_cv_prog_gnu_ld
10768 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10769 # archiving commands below assume that GNU ld is being used.
10770 if test "$with_gnu_ld" = yes; then
10771 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10772 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'
10774 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10775 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10777 # If archive_cmds runs LD, not CC, wlarc should be empty
10778 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10779 # investigate it a little bit more. (MM)
10782 # ancient GNU ld didn't support --whole-archive et. al.
10783 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10784 grep 'no-whole-archive' > /dev/null; then
10785 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10787 whole_archive_flag_spec_CXX=
10793 # A generic and very simple default shared library creation
10794 # command for GNU C++ for the case where it uses the native
10795 # linker, instead of GNU ld. If possible, this setting should
10796 # overridden to take advantage of the native linker features on
10797 # the platform it is being used on.
10798 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10801 # Commands to make compiler produce verbose output that lists
10802 # what "hidden" libraries, object files and flags are used when
10803 # linking a shared library.
10804 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10812 # PORTME: fill in a description of your system's C++ link characteristics
10813 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10814 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10818 # FIXME: insert proper C++ library support
10822 if test "$host_cpu" = ia64; then
10823 # On IA64, the linker does run time linking by default, so we don't
10824 # have to do anything special.
10825 aix_use_runtimelinking=no
10826 exp_sym_flag='-Bexport'
10829 aix_use_runtimelinking=no
10831 # Test if we are trying to use run time linking or normal
10832 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10833 # need to do runtime linking.
10834 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10835 for ld_flag in $LDFLAGS; do
10838 aix_use_runtimelinking=yes
10846 exp_sym_flag='-bexport'
10847 no_entry_flag='-bnoentry'
10850 # When large executables or shared objects are built, AIX ld can
10851 # have problems creating the table of contents. If linking a library
10852 # or program results in "error TOC overflow" add -mminimal-toc to
10853 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10854 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10856 archive_cmds_CXX=''
10857 hardcode_direct_CXX=yes
10858 hardcode_libdir_separator_CXX=':'
10859 link_all_deplibs_CXX=yes
10861 if test "$GXX" = yes; then
10862 case $host_os in aix4.[012]|aix4.[012].*)
10863 # We only want to do this on AIX 4.2 and lower, the check
10864 # below for broken collect2 doesn't work under 4.3+
10865 collect2name=`${CC} -print-prog-name=collect2
`
10866 if test -f "$collect2name" && \
10867 strings "$collect2name" | grep resolve_lib_name >/dev/null
10869 # We have reworked collect2
10870 hardcode_direct_CXX=yes
10872 # We have old collect2
10873 hardcode_direct_CXX=unsupported
10874 # It fails to find uninstalled libraries when the uninstalled
10875 # path is not listed in the libpath. Setting hardcode_minus_L
10876 # to unsupported forces relinking
10877 hardcode_minus_L_CXX=yes
10878 hardcode_libdir_flag_spec_CXX='-L$libdir'
10879 hardcode_libdir_separator_CXX=
10883 shared_flag='-shared'
10884 if test "$aix_use_runtimelinking" = yes; then
10885 shared_flag="$shared_flag "'${wl}-G'
10889 if test "$host_cpu" = ia64; then
10890 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10891 # chokes on -Wl,-G. The following line is correct:
10894 if test "$aix_use_runtimelinking" = yes; then
10895 shared_flag='${wl}-G'
10897 shared_flag='${wl}-bM:SRE'
10902 # It seems that -bexpall does not export symbols beginning with
10903 # underscore (_), so it is better to generate a list of symbols to export.
10904 always_export_symbols_CXX=yes
10905 if test "$aix_use_runtimelinking" = yes; then
10906 # Warning - without using the other runtime loading flags (-brtl),
10907 # -berok will link without error, but may produce a broken library.
10908 allow_undefined_flag_CXX='-berok'
10909 # Determine the default libpath from the value encoded in an empty executable.
10910 cat >conftest.$ac_ext <<_ACEOF
10913 cat confdefs.h >>conftest.$ac_ext
10914 cat >>conftest.$ac_ext <<_ACEOF
10915 /* end confdefs.h. */
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (ac_try="$ac_link"
10927 case "(($ac_try" in
10928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10929 *) ac_try_echo
=$ac_try;;
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_link") 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_cxx_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest
$ac_exeext &&
10942 $as_test_x conftest
$ac_exeext; then
10944 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10946 # Check for a 64-bit object if we didn't find anything.
10947 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.
$ac_ext >&5
10956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10957 conftest
$ac_exeext conftest.
$ac_ext
10958 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10960 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10962 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"
10964 if test "$host_cpu" = ia64
; then
10965 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10966 allow_undefined_flag_CXX
="-z nodefs"
10967 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"
10969 # Determine the default libpath from the value encoded in an empty executable.
10970 cat >conftest.
$ac_ext <<_ACEOF
10973 cat confdefs.h
>>conftest.
$ac_ext
10974 cat >>conftest.
$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10985 rm -f conftest.
$ac_objext conftest
$ac_exeext
10986 if { (ac_try
="$ac_link"
10987 case "(($ac_try" in
10988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10994 grep -v '^ *+' conftest.er1 >conftest.err
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_cxx_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest$ac_exeext &&
11002 $as_test_x conftest$ac_exeext; then
11004 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11006 # Check for a 64-bit object if we didn't find anything.
11007 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11017 conftest$ac_exeext conftest.$ac_ext
11018 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11020 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11021 # Warning - without using the other run time loading flags,
11022 # -berok will link without error, but may produce a broken library.
11023 no_undefined_flag_CXX=' ${wl}-bernotok'
11024 allow_undefined_flag_CXX=' ${wl}-berok'
11025 # Exported symbols can be pulled into shared objects from archives
11026 whole_archive_flag_spec_CXX='$convenience'
11027 archive_cmds_need_lc_CXX=yes
11028 # This is similar to how AIX traditionally builds its shared libraries.
11029 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'
11035 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11036 allow_undefined_flag_CXX=unsupported
11037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11038 # support --undefined. This deserves some investigation. FIXME
11039 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11046 case $cc_basename in
11048 # FIXME: insert proper C++ library support
11054 cygwin* | mingw* | pw32*)
11055 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11056 # as there is no search path for DLLs.
11057 hardcode_libdir_flag_spec_CXX='-L$libdir'
11058 allow_undefined_flag_CXX=unsupported
11059 always_export_symbols_CXX=no
11060 enable_shared_with_static_runtimes_CXX=yes
11062 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11063 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'
11064 # If the export-symbols file already is a .def file (1st line
11065 # is EXPORTS), use it as is; otherwise, prepend...
11066 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11067 cp $export_symbols $output_objdir/$soname.def;
11069 echo EXPORTS > $output_objdir/$soname.def;
11070 cat $export_symbols >> $output_objdir/$soname.def;
11072 $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'
11077 darwin* | rhapsody*)
11079 rhapsody* | darwin1.[012])
11080 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11083 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11084 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11086 case ${MACOSX_DEPLOYMENT_TARGET} in
11088 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11091 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11097 archive_cmds_need_lc_CXX=no
11098 hardcode_direct_CXX=no
11099 hardcode_automatic_CXX=yes
11100 hardcode_shlibpath_var_CXX=unsupported
11101 whole_archive_flag_spec_CXX=''
11102 link_all_deplibs_CXX=yes
11104 if test "$GXX" = yes ; then
11105 lt_int_apple_cc_single_mod=no
11106 output_verbose_link_cmd='echo'
11107 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11108 lt_int_apple_cc_single_mod=yes
11110 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11111 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11113 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'
11115 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11116 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11117 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11118 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11120 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11122 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}'
11124 case $cc_basename in
11126 output_verbose_link_cmd='echo'
11127 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11128 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11129 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11130 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11131 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}'
11141 case $cc_basename in
11143 # FIXME: insert proper C++ library support
11147 # Green Hills C++ Compiler
11148 # FIXME: insert proper C++ library support
11152 # FIXME: insert proper C++ library support
11158 # C++ shared libraries reported to be fairly broken before switch to ELF
11162 archive_cmds_need_lc_CXX=no
11164 freebsd* | dragonfly*)
11165 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11172 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11173 hardcode_libdir_separator_CXX=:
11174 export_dynamic_flag_spec_CXX='${wl}-E'
11175 hardcode_direct_CXX=yes
11176 hardcode_minus_L_CXX=yes # Not in the search PATH,
11177 # but as the default
11178 # location of the library.
11180 case $cc_basename in
11182 # FIXME: insert proper C++ library support
11186 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'
11187 # Commands to make compiler produce verbose output that lists
11188 # what "hidden" libraries, object files and flags are used when
11189 # linking a shared library.
11191 # There doesn't appear to be a way to prevent this compiler from
11192 # explicitly linking system object files so we need to strip them
11193 # from the output so that they don't get included in the library
11195 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'
11198 if test "$GXX" = yes; then
11199 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'
11201 # FIXME: insert proper C++ library support
11208 if test $with_gnu_ld = no; then
11209 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11210 hardcode_libdir_separator_CXX=:
11214 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11217 export_dynamic_flag_spec_CXX='${wl}-E'
11223 hardcode_direct_CXX=no
11224 hardcode_shlibpath_var_CXX=no
11227 hardcode_direct_CXX=yes
11228 hardcode_minus_L_CXX=yes # Not in the search PATH,
11229 # but as the default
11230 # location of the library.
11234 case $cc_basename in
11236 # FIXME: insert proper C++ library support
11242 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11245 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11248 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11251 # Commands to make compiler produce verbose output that lists
11252 # what "hidden" libraries, object files and flags are used when
11253 # linking a shared library.
11255 # There doesn't appear to be a way to prevent this compiler from
11256 # explicitly linking system object files so we need to strip them
11257 # from the output so that they don't get included in the library
11259 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'
11262 if test "$GXX" = yes; then
11263 if test $with_gnu_ld = no; then
11266 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11269 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11272 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'
11277 # FIXME: insert proper C++ library support
11284 hardcode_direct_CXX=no
11285 hardcode_shlibpath_var_CXX=no
11286 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11287 export_dynamic_flag_spec_CXX='${wl}-E'
11288 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11289 # Instead, shared libraries are loaded at an image base (0x10000000 by
11290 # default) and relocated if they conflict, which is a slow very memory
11291 # consuming and fragmenting process. To avoid this, we pick a random,
11292 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11293 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11294 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'
11295 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'
11298 case $cc_basename in
11301 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'
11303 # Archives containing C++ object files must be created using
11304 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11305 # necessary to make sure instantiated templates are included
11307 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11310 if test "$GXX" = yes; then
11311 if test "$with_gnu_ld" = no; then
11312 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'
11314 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'
11317 link_all_deplibs_CXX=yes
11320 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11321 hardcode_libdir_separator_CXX=:
11323 linux* | k*bsd*-gnu)
11324 case $cc_basename in
11326 # Kuck and Associates, Inc. (KAI) C++ Compiler
11328 # KCC will only create a shared library if the output file
11329 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11330 # to its proper name (with version) after linking.
11331 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'
11332 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'
11333 # Commands to make compiler produce verbose output that lists
11334 # what "hidden" libraries, object files and flags are used when
11335 # linking a shared library.
11337 # There doesn't appear to be a way to prevent this compiler from
11338 # explicitly linking system object files so we need to strip them
11339 # from the output so that they don't get included in the library
11341 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'
11343 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11344 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11346 # Archives containing C++ object files must be created using
11347 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11348 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11353 # version 8.0 and above of icpc choke on multiply defined symbols
11354 # if we add $predep_objects and $postdep_objects, however 7.1 and
11355 # earlier do not add the objects themselves.
11356 case `$CC -V 2>&1` in
11358 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11359 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'
11361 *) # Version 8.0 or newer
11364 ia64
*) tmp_idyn
=' -i_dynamic';;
11366 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11367 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'
11370 archive_cmds_need_lc_CXX
=no
11371 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11372 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11373 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11376 # Portland Group C++ compiler
11377 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11378 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'
11380 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11381 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11382 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'
11386 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11387 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'
11389 runpath_var
=LD_RUN_PATH
11390 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11391 hardcode_libdir_separator_CXX
=:
11393 # Commands to make compiler produce verbose output that lists
11394 # what "hidden" libraries, object files and flags are used when
11395 # linking a shared library.
11397 # There doesn't appear to be a way to prevent this compiler from
11398 # explicitly linking system object files so we need to strip them
11399 # from the output so that they don't get included in the library
11401 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'
11406 # FIXME: insert proper C++ library support
11410 # FIXME: insert proper C++ library support
11414 case $cc_basename in
11416 # FIXME: insert proper C++ library support
11420 # FIXME: insert proper C++ library support
11425 netbsd
* | netbsdelf
*-gnu)
11426 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11427 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11429 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11430 hardcode_direct_CXX
=yes
11431 hardcode_shlibpath_var_CXX
=no
11433 # Workaround some broken pre-1.5 toolchains
11434 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11437 # C++ shared libraries are fairly broken
11441 hardcode_direct_CXX
=yes
11442 hardcode_shlibpath_var_CXX
=no
11443 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11444 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11445 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11446 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11447 export_dynamic_flag_spec_CXX
='${wl}-E'
11448 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11450 output_verbose_link_cmd
='echo'
11453 case $cc_basename in
11455 # Kuck and Associates, Inc. (KAI) C++ Compiler
11457 # KCC will only create a shared library if the output file
11458 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11459 # to its proper name (with version) after linking.
11460 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'
11462 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11463 hardcode_libdir_separator_CXX
=:
11465 # Archives containing C++ object files must be created using
11466 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11467 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11471 # Rational C++ 2.4.1
11472 # FIXME: insert proper C++ library support
11476 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11477 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'
11479 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11480 hardcode_libdir_separator_CXX
=:
11482 # Commands to make compiler produce verbose output that lists
11483 # what "hidden" libraries, object files and flags are used when
11484 # linking a shared library.
11486 # There doesn't appear to be a way to prevent this compiler from
11487 # explicitly linking system object files so we need to strip them
11488 # from the output so that they don't get included in the library
11490 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'
11493 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11494 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11495 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'
11497 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11498 hardcode_libdir_separator_CXX
=:
11500 # Commands to make compiler produce verbose output that lists
11501 # what "hidden" libraries, object files and flags are used when
11502 # linking a shared library.
11503 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11506 # FIXME: insert proper C++ library support
11513 case $cc_basename in
11515 # Kuck and Associates, Inc. (KAI) C++ Compiler
11517 # KCC will only create a shared library if the output file
11518 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11519 # to its proper name (with version) after linking.
11520 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'
11522 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11523 hardcode_libdir_separator_CXX
=:
11525 # Archives containing C++ object files must be created using
11526 # the KAI C++ compiler.
11527 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11530 # Rational C++ 2.4.1
11531 # FIXME: insert proper C++ library support
11535 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11536 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'
11537 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11538 echo "-hidden">> $lib.exp~
11539 $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~
11542 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11543 hardcode_libdir_separator_CXX
=:
11545 # Commands to make compiler produce verbose output that lists
11546 # what "hidden" libraries, object files and flags are used when
11547 # linking a shared library.
11549 # There doesn't appear to be a way to prevent this compiler from
11550 # explicitly linking system object files so we need to strip them
11551 # from the output so that they don't get included in the library
11553 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'
11556 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11557 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11558 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'
11560 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11561 hardcode_libdir_separator_CXX
=:
11563 # Commands to make compiler produce verbose output that lists
11564 # what "hidden" libraries, object files and flags are used when
11565 # linking a shared library.
11566 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11569 # FIXME: insert proper C++ library support
11576 # FIXME: insert proper C++ library support
11580 case $cc_basename in
11583 # FIXME: insert proper C++ library support
11588 # FIXME: insert proper C++ library support
11592 # FIXME: insert proper C++ library support
11598 case $cc_basename in
11600 # Sun C++ 4.2, 5.x and Centerline C++
11601 archive_cmds_need_lc_CXX
=yes
11602 no_undefined_flag_CXX
=' -zdefs'
11603 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11604 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11605 $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'
11607 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11608 hardcode_shlibpath_var_CXX
=no
11610 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11612 # The C++ compiler is used as linker so we must use $wl
11613 # flag to pass the commands to the underlying system
11614 # linker. We must also pass each convience library through
11615 # to the system linker between allextract/defaultextract.
11616 # The C++ compiler will combine linker options so we
11617 # cannot just pass the convience library names through
11619 # Supported since Solaris 2.6 (maybe 2.5.1?)
11620 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11623 link_all_deplibs_CXX
=yes
11625 output_verbose_link_cmd
='echo'
11627 # Archives containing C++ object files must be created using
11628 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11629 # necessary to make sure instantiated templates are included
11631 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11634 # Green Hills C++ Compiler
11635 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11637 # The C++ compiler must be used to create the archive.
11638 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11641 # GNU C++ compiler with Solaris linker
11642 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11643 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11644 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11645 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11646 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11647 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11649 # Commands to make compiler produce verbose output that lists
11650 # what "hidden" libraries, object files and flags are used when
11651 # linking a shared library.
11652 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11654 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11656 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11657 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11658 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11660 # Commands to make compiler produce verbose output that lists
11661 # what "hidden" libraries, object files and flags are used when
11662 # linking a shared library.
11663 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11666 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11671 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11672 no_undefined_flag_CXX
='${wl}-z,text'
11673 archive_cmds_need_lc_CXX
=no
11674 hardcode_shlibpath_var_CXX
=no
11675 runpath_var
='LD_RUN_PATH'
11677 case $cc_basename in
11679 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11680 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11683 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11684 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11688 sysv5
* | sco3.2v5
* | sco5v6
*)
11689 # Note: We can NOT use -z defs as we might desire, because we do not
11690 # link with -lc, and that would cause any symbols used from libc to
11691 # always be unresolved, which means just about no library would
11692 # ever link correctly. If we're not using GNU ld we use -z text
11693 # though, which does catch some bad symbols but isn't as heavy-handed
11695 # For security reasons, it is highly recommended that you always
11696 # use absolute paths for naming shared libraries, and exclude the
11697 # DT_RUNPATH tag from executables and libraries. But doing so
11698 # requires that you compile everything twice, which is a pain.
11699 # So that behaviour is only enabled if SCOABSPATH is set to a
11700 # non-empty value in the environment. Most likely only useful for
11701 # creating official distributions of packages.
11702 # This is a hack until libtool officially supports absolute path
11703 # names for shared libraries.
11704 no_undefined_flag_CXX
='${wl}-z,text'
11705 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11706 archive_cmds_need_lc_CXX
=no
11707 hardcode_shlibpath_var_CXX
=no
11708 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11709 hardcode_libdir_separator_CXX
=':'
11710 link_all_deplibs_CXX
=yes
11711 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11712 runpath_var
='LD_RUN_PATH'
11714 case $cc_basename in
11716 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11717 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11720 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11721 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11726 case $cc_basename in
11728 # NonStop-UX NCC 3.20
11729 # FIXME: insert proper C++ library support
11733 # FIXME: insert proper C++ library support
11739 # FIXME: insert proper C++ library support
11743 # FIXME: insert proper C++ library support
11747 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11748 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11749 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11755 cat > conftest.
$ac_ext <<EOF
11759 Foo (void) { a = 0; }
11765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11766 (eval $ac_compile) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; then
11770 # Parse the compiler output and extract the necessary
11771 # objects, libraries and library flags.
11773 # Sentinel used to keep track of whether or not we are before
11774 # the conftest object file.
11775 pre_test_object_deps_done
=no
11777 # The `*' in the case matches for architectures that use `case' in
11778 # $output_verbose_cmd can trigger glob expansion during the loop
11779 # eval without this substitution.
11780 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11782 for p
in `eval $output_verbose_link_cmd`; do
11786 # Some compilers place space between "-{L,R}" and the path.
11787 # Remove the space.
11788 if test $p = "-L" \
11789 ||
test $p = "-R"; then
11796 if test "$pre_test_object_deps_done" = no
; then
11799 # Internal compiler library paths should come after those
11800 # provided the user. The postdeps already come after the
11801 # user supplied libs so there is no need to process them.
11802 if test -z "$compiler_lib_search_path_CXX"; then
11803 compiler_lib_search_path_CXX
="${prev}${p}"
11805 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11808 # The "-l" case would never come before the object being
11809 # linked, so don't bother handling this case.
11812 if test -z "$postdeps_CXX"; then
11813 postdeps_CXX
="${prev}${p}"
11815 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11821 # This assumes that the test object file only shows up
11822 # once in the compiler output.
11823 if test "$p" = "conftest.$objext"; then
11824 pre_test_object_deps_done
=yes
11828 if test "$pre_test_object_deps_done" = no
; then
11829 if test -z "$predep_objects_CXX"; then
11830 predep_objects_CXX
="$p"
11832 predep_objects_CXX
="$predep_objects_CXX $p"
11835 if test -z "$postdep_objects_CXX"; then
11836 postdep_objects_CXX
="$p"
11838 postdep_objects_CXX
="$postdep_objects_CXX $p"
11843 *) ;; # Ignore the rest.
11851 echo "libtool.m4: error: problem compiling CXX test program"
11854 $rm -f confest.
$objext
11856 # PORTME: override above test on systems where it is broken
11859 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11860 # hack all around it, let's just trust "g++" to DTRT.
11861 predep_objects_CXX
=
11862 postdep_objects_CXX
=
11867 case $cc_basename in
11869 # Adding this requires a known-good setup of shared libraries for
11870 # Sun compiler versions before 5.6, else PIC objects from an old
11871 # archive will be linked into the output, leading to subtle bugs.
11872 postdeps_CXX
='-lCstd -lCrun'
11879 case " $postdeps_CXX " in
11880 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11883 lt_prog_compiler_wl_CXX
=
11884 lt_prog_compiler_pic_CXX
=
11885 lt_prog_compiler_static_CXX
=
11887 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11888 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11890 # C++ specific cases for pic, static, wl, etc.
11891 if test "$GXX" = yes; then
11892 lt_prog_compiler_wl_CXX
='-Wl,'
11893 lt_prog_compiler_static_CXX
='-static'
11897 # All AIX code is PIC.
11898 if test "$host_cpu" = ia64
; then
11899 # AIX 5 now supports IA64 processor
11900 lt_prog_compiler_static_CXX
='-Bstatic'
11904 # FIXME: we need at least 68020 code to build shared libraries, but
11905 # adding the `-m68020' flag to GCC prevents building anything better,
11907 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11909 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11910 # PIC is the default for these OSes.
11912 mingw
* | os2
* | pw32
*)
11913 # This hack is so that the source file can tell whether it is being
11914 # built for inclusion in a dll (and should export symbols for example).
11915 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11917 darwin
* | rhapsody
*)
11918 # PIC is the default on this platform
11919 # Common symbols not allowed in MH_DYLIB files
11920 lt_prog_compiler_pic_CXX
='-fno-common'
11923 # DJGPP does not support shared libraries at all
11924 lt_prog_compiler_pic_CXX
=
11927 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11928 # Instead, we relocate shared libraries at runtime.
11931 if test -d /usr
/nec
; then
11932 lt_prog_compiler_pic_CXX
=-Kconform_pic
11936 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11937 # not for PA HP-UX.
11942 lt_prog_compiler_pic_CXX
='-fPIC'
11947 lt_prog_compiler_pic_CXX
='-fPIC'
11953 # All AIX code is PIC.
11954 if test "$host_cpu" = ia64
; then
11955 # AIX 5 now supports IA64 processor
11956 lt_prog_compiler_static_CXX
='-Bstatic'
11958 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11962 case $cc_basename in
11964 # Green Hills C++ Compiler
11965 # _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"
11970 # PIC is the default on this platform
11971 # Common symbols not allowed in MH_DYLIB files
11972 case $cc_basename in
11974 lt_prog_compiler_pic_CXX
='-qnocommon'
11975 lt_prog_compiler_wl_CXX
='-Wl,'
11980 case $cc_basename in
11982 lt_prog_compiler_pic_CXX
='-KPIC'
11985 # Green Hills C++ Compiler
11986 lt_prog_compiler_pic_CXX
='-pic'
11992 freebsd
* | dragonfly
*)
11993 # FreeBSD uses GNU C++
11995 hpux9
* | hpux10
* | hpux11
*)
11996 case $cc_basename in
11998 lt_prog_compiler_wl_CXX
='-Wl,'
11999 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12000 if test "$host_cpu" != ia64
; then
12001 lt_prog_compiler_pic_CXX
='+Z'
12005 lt_prog_compiler_wl_CXX
='-Wl,'
12006 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12012 lt_prog_compiler_pic_CXX
='+Z'
12021 # This is c89, which is MS Visual C++ (no shared libs)
12022 # Anyone wants to do a port?
12024 irix5
* | irix6
* | nonstopux
*)
12025 case $cc_basename in
12027 lt_prog_compiler_wl_CXX
='-Wl,'
12028 lt_prog_compiler_static_CXX
='-non_shared'
12029 # CC pic flag -KPIC is the default.
12035 linux
* | k
*bsd
*-gnu)
12036 case $cc_basename in
12039 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12040 lt_prog_compiler_pic_CXX
='-fPIC'
12044 lt_prog_compiler_wl_CXX
='-Wl,'
12045 lt_prog_compiler_pic_CXX
='-KPIC'
12046 lt_prog_compiler_static_CXX
='-static'
12049 # Portland Group C++ compiler.
12050 lt_prog_compiler_wl_CXX
='-Wl,'
12051 lt_prog_compiler_pic_CXX
='-fpic'
12052 lt_prog_compiler_static_CXX
='-Bstatic'
12056 # Make sure the PIC flag is empty. It appears that all Alpha
12057 # Linux and Compaq Tru64 Unix objects are PIC.
12058 lt_prog_compiler_pic_CXX
=
12059 lt_prog_compiler_static_CXX
='-non_shared'
12070 case $cc_basename in
12072 lt_prog_compiler_pic_CXX
='-W c,exportall'
12078 netbsd
* | netbsdelf
*-gnu)
12080 osf3
* | osf4
* | osf5
*)
12081 case $cc_basename in
12083 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12086 # Rational C++ 2.4.1
12087 lt_prog_compiler_pic_CXX
='-pic'
12090 # Digital/Compaq C++
12091 lt_prog_compiler_wl_CXX
='-Wl,'
12092 # Make sure the PIC flag is empty. It appears that all Alpha
12093 # Linux and Compaq Tru64 Unix objects are PIC.
12094 lt_prog_compiler_pic_CXX
=
12095 lt_prog_compiler_static_CXX
='-non_shared'
12104 case $cc_basename in
12106 # Sun C++ 4.2, 5.x and Centerline C++
12107 lt_prog_compiler_pic_CXX
='-KPIC'
12108 lt_prog_compiler_static_CXX
='-Bstatic'
12109 lt_prog_compiler_wl_CXX
='-Qoption ld '
12112 # Green Hills C++ Compiler
12113 lt_prog_compiler_pic_CXX
='-PIC'
12120 case $cc_basename in
12123 lt_prog_compiler_pic_CXX
='-pic'
12124 lt_prog_compiler_static_CXX
='-Bstatic'
12128 lt_prog_compiler_pic_CXX
='-pic'
12135 case $cc_basename in
12137 # NonStop-UX NCC 3.20
12138 lt_prog_compiler_pic_CXX
='-KPIC'
12144 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12145 case $cc_basename in
12147 lt_prog_compiler_wl_CXX
='-Wl,'
12148 lt_prog_compiler_pic_CXX
='-KPIC'
12149 lt_prog_compiler_static_CXX
='-Bstatic'
12156 lt_prog_compiler_can_build_shared_CXX
=no
12161 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12162 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12165 # Check to make sure the PIC flag actually works.
12167 if test -n "$lt_prog_compiler_pic_CXX"; then
12169 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12170 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12171 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 lt_prog_compiler_pic_works_CXX
=no
12175 ac_outfile
=conftest.
$ac_objext
12176 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12177 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12178 # Insert the option either (1) after the last *FLAGS variable, or
12179 # (2) before a word containing "conftest.", or (3) at the end.
12180 # Note that $ac_compile itself does not contain backslashes and begins
12181 # with a dollar sign (not a hyphen), so the echo should work correctly.
12182 # The option is referenced via a variable to avoid confusing sed.
12183 lt_compile
=`echo "$ac_compile" | $SED \
12184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12186 -e 's:$: $lt_compiler_flag:'`
12187 (eval echo "\"\$as_me:12187: $lt_compile\"" >&5)
12188 (eval "$lt_compile" 2>conftest.err
)
12190 cat conftest.err
>&5
12191 echo "$as_me:12191: \$? = $ac_status" >&5
12192 if (exit $ac_status) && test -s "$ac_outfile"; then
12193 # The compiler can only warn and ignore the option if not recognized
12194 # So say no if there are warnings other than the usual output.
12195 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12196 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12197 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12198 lt_prog_compiler_pic_works_CXX
=yes
12204 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12205 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12207 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12208 case $lt_prog_compiler_pic_CXX in
12210 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12213 lt_prog_compiler_pic_CXX
=
12214 lt_prog_compiler_can_build_shared_CXX
=no
12219 # For platforms which do not support PIC, -DPIC is meaningless:
12221 lt_prog_compiler_pic_CXX
=
12224 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12229 # Check to make sure the static flag actually works.
12231 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12232 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12233 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12234 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 lt_prog_compiler_static_works_CXX
=no
12238 save_LDFLAGS
="$LDFLAGS"
12239 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12240 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12241 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12242 # The linker can only warn and ignore the option if not recognized
12243 # So say no if there are warnings
12244 if test -s conftest.err
; then
12245 # Append any errors to the config.log.
12246 cat conftest.err
1>&5
12247 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12248 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12249 if diff conftest.exp conftest.er2
>/dev
/null
; then
12250 lt_prog_compiler_static_works_CXX
=yes
12253 lt_prog_compiler_static_works_CXX
=yes
12257 LDFLAGS
="$save_LDFLAGS"
12260 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12261 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12263 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12266 lt_prog_compiler_static_CXX
=
12270 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12271 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12272 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 lt_cv_prog_compiler_c_o_CXX
=no
12276 $rm -r conftest
2>/dev
/null
12280 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12282 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12283 # Insert the option either (1) after the last *FLAGS variable, or
12284 # (2) before a word containing "conftest.", or (3) at the end.
12285 # Note that $ac_compile itself does not contain backslashes and begins
12286 # with a dollar sign (not a hyphen), so the echo should work correctly.
12287 lt_compile
=`echo "$ac_compile" | $SED \
12288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12290 -e 's:$: $lt_compiler_flag:'`
12291 (eval echo "\"\$as_me:12291: $lt_compile\"" >&5)
12292 (eval "$lt_compile" 2>out
/conftest.err
)
12294 cat out
/conftest.err
>&5
12295 echo "$as_me:12295: \$? = $ac_status" >&5
12296 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12298 # The compiler can only warn and ignore the option if not recognized
12299 # So say no if there are warnings
12300 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12301 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12302 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12303 lt_cv_prog_compiler_c_o_CXX
=yes
12308 # SGI C++ compiler will create directory out/ii_files/ for
12309 # template instantiation
12310 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12311 $rm out
/* && rmdir out
12317 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12318 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12321 hard_links
="nottested"
12322 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12323 # do not overwrite the value of need_locks provided by the user
12324 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12325 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12328 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12330 ln conftest.a conftest.b
2>&5 || hard_links
=no
12331 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12332 { echo "$as_me:$LINENO: result: $hard_links" >&5
12333 echo "${ECHO_T}$hard_links" >&6; }
12334 if test "$hard_links" = no
; then
12335 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12336 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12343 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12344 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12346 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12349 # If we're using GNU nm, then we don't want the "-C" option.
12350 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12351 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12352 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'
12354 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'
12358 export_symbols_cmds_CXX
="$ltdll_cmds"
12361 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'
12363 linux
* | k
*bsd
*-gnu)
12364 link_all_deplibs_CXX
=no
12367 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12371 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12372 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12373 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12376 # Do we need to explicitly link libc?
12378 case "x$archive_cmds_need_lc_CXX" in
12380 # Assume -lc should be added
12381 archive_cmds_need_lc_CXX
=yes
12383 if test "$enable_shared" = yes && test "$GCC" = yes; then
12384 case $archive_cmds_CXX in
12386 # FIXME: we may have to deal with multi-command sequences.
12389 # Test whether the compiler implicitly links with -lc since on some
12390 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12391 # to ld, don't add -lc before -lgcc.
12392 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12393 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12395 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12398 (eval $ac_compile) 2>&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); } 2>conftest.err
; then
12404 libobjs
=conftest.
$ac_objext
12406 wl
=$lt_prog_compiler_wl_CXX
12407 pic_flag
=$lt_prog_compiler_pic_CXX
12413 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12414 allow_undefined_flag_CXX
=
12415 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12416 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }
12421 archive_cmds_need_lc_CXX
=no
12423 archive_cmds_need_lc_CXX
=yes
12425 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12427 cat conftest.err
1>&5
12430 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12431 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12438 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12439 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12440 library_names_spec
=
12441 libname_spec
='lib$name'
12445 postuninstall_cmds
=
12449 shlibpath_overrides_runpath
=unknown
12451 dynamic_linker
="$host_os ld.so"
12452 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12453 if test "$GCC" = yes; then
12454 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12455 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12456 # if the path contains ";" then we assume it to be the separator
12457 # otherwise default to the standard path separator (i.e. ":") - it is
12458 # assumed that no part of a normal pathname contains ";" but that should
12459 # okay in the real world where ";" in dirpaths is itself problematic.
12460 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12462 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12465 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12467 need_lib_prefix
=unknown
12468 hardcode_into_libs
=no
12470 # when you set need_version to no, make sure it does not cause -set_version
12471 # flags to be left without arguments
12472 need_version
=unknown
12477 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12478 shlibpath_var
=LIBPATH
12480 # AIX 3 has no versioning support, so we append a major version to the name.
12481 soname_spec
='${libname}${release}${shared_ext}$major'
12488 hardcode_into_libs
=yes
12489 if test "$host_cpu" = ia64
; then
12490 # AIX 5 supports IA64
12491 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12492 shlibpath_var
=LD_LIBRARY_PATH
12494 # With GCC up to 2.95.x, collect2 would create an import file
12495 # for dependence libraries. The import file would start with
12496 # the line `#! .'. This would cause the generated library to
12497 # depend on `.', always an invalid library. This was fixed in
12498 # development snapshots of GCC prior to 3.0.
12500 aix4 | aix4.
[01] | aix4.
[01].
*)
12501 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12503 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12506 can_build_shared
=no
12510 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12511 # soname into executable. Probably we can add versioning support to
12512 # collect2, so additional links can be useful in future.
12513 if test "$aix_use_runtimelinking" = yes; then
12514 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12515 # instead of lib<name>.a to let people know that these are not
12516 # typical AIX shared libraries.
12517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12519 # We preserve .a as extension for shared libraries through AIX4.2
12520 # and later when we are not doing run time linking.
12521 library_names_spec
='${libname}${release}.a $libname.a'
12522 soname_spec
='${libname}${release}${shared_ext}$major'
12524 shlibpath_var
=LIBPATH
12529 library_names_spec
='$libname.ixlibrary $libname.a'
12530 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12531 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'
12535 library_names_spec
='${libname}${shared_ext}'
12536 dynamic_linker
="$host_os ld.so"
12537 shlibpath_var
=LIBRARY_PATH
12543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12544 soname_spec
='${libname}${release}${shared_ext}$major'
12545 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12546 shlibpath_var
=LD_LIBRARY_PATH
12547 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12548 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12549 # the default ld.so.conf also contains /usr/contrib/lib and
12550 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12551 # libtool to hard-code these into programs
12554 cygwin
* | mingw
* | pw32
*)
12555 version_type
=windows
12560 case $GCC,$host_os in
12561 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12562 library_names_spec
='$libname.dll.a'
12563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12564 postinstall_cmds
='base_file=`basename \${file}`~
12565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12566 dldir=$destdir/`dirname \$dlpath`~
12567 test -d \$dldir || mkdir -p \$dldir~
12568 $install_prog $dir/$dlname \$dldir/$dlname~
12569 chmod a+x \$dldir/$dlname'
12570 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12571 dlpath=$dir/\$dldll~
12573 shlibpath_overrides_runpath
=yes
12577 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12578 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12579 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12582 # MinGW DLLs use traditional 'lib' prefix
12583 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12584 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12585 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12586 # It is most probably a Windows format PATH printed by
12587 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12588 # path with ; separators, and with drive letters. We can handle the
12589 # drive letters (cygwin fileutils understands them), so leave them,
12590 # especially as we might pass files found there to a mingw objdump,
12591 # which wouldn't understand a cygwinified path. Ahh.
12592 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12594 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12598 # pw32 DLLs use 'pw' prefix rather than 'lib'
12599 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12605 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12608 dynamic_linker
='Win32 ld.exe'
12609 # FIXME: first we should search . and the directory the executable is in
12613 darwin
* | rhapsody
*)
12614 dynamic_linker
="$host_os dyld"
12615 version_type
=darwin
12618 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12619 soname_spec
='${libname}${release}${major}$shared_ext'
12620 shlibpath_overrides_runpath
=yes
12621 shlibpath_var
=DYLD_LIBRARY_PATH
12622 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12623 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12624 if test "$GCC" = yes; then
12625 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12627 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12629 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12637 soname_spec
='${libname}${release}${shared_ext}$major'
12638 shlibpath_var
=LD_LIBRARY_PATH
12645 freebsd
* | dragonfly
*)
12646 # DragonFly does not have aout. When/if they implement a new
12647 # versioning mechanism, adjust this.
12648 if test -x /usr
/bin
/objformat
; then
12649 objformat
=`/usr/bin/objformat`
12652 freebsd
[123]*) objformat
=aout
;;
12653 *) objformat
=elf
;;
12656 version_type
=freebsd-
$objformat
12657 case $version_type in
12659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12664 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12668 shlibpath_var
=LD_LIBRARY_PATH
12671 shlibpath_overrides_runpath
=yes
12673 freebsd3.
[01]* | freebsdelf3.
[01]*)
12674 shlibpath_overrides_runpath
=yes
12675 hardcode_into_libs
=yes
12677 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12678 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12679 shlibpath_overrides_runpath
=no
12680 hardcode_into_libs
=yes
12682 freebsd
*) # from 4.6 on
12683 shlibpath_overrides_runpath
=yes
12684 hardcode_into_libs
=yes
12693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12694 soname_spec
='${libname}${release}${shared_ext}$major'
12695 shlibpath_var
=LD_LIBRARY_PATH
12696 hardcode_into_libs
=yes
12699 hpux9
* | hpux10
* | hpux11
*)
12700 # Give a soname corresponding to the major version so that dld.sl refuses to
12701 # link against other versions.
12708 hardcode_into_libs
=yes
12709 dynamic_linker
="$host_os dld.so"
12710 shlibpath_var
=LD_LIBRARY_PATH
12711 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12713 soname_spec
='${libname}${release}${shared_ext}$major'
12714 if test "X$HPUX_IA64_MODE" = X32
; then
12715 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12717 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12719 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12723 hardcode_into_libs
=yes
12724 dynamic_linker
="$host_os dld.sl"
12725 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12726 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12728 soname_spec
='${libname}${release}${shared_ext}$major'
12729 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12730 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12734 dynamic_linker
="$host_os dld.sl"
12735 shlibpath_var
=SHLIB_PATH
12736 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12738 soname_spec
='${libname}${release}${shared_ext}$major'
12741 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12742 postinstall_cmds
='chmod 555 $lib'
12749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12750 soname_spec
='${libname}${release}${shared_ext}$major'
12751 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12752 shlibpath_var
=LD_LIBRARY_PATH
12753 shlibpath_overrides_runpath
=no
12754 hardcode_into_libs
=yes
12757 irix5
* | irix6
* | nonstopux
*)
12759 nonstopux
*) version_type
=nonstopux
;;
12761 if test "$lt_cv_prog_gnu_ld" = yes; then
12769 soname_spec
='${libname}${release}${shared_ext}$major'
12770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12772 irix5
* | nonstopux
*)
12773 libsuff
= shlibsuff
=
12776 case $LD in # libtool.m4 will add one of these switches to LD
12777 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12778 libsuff
= shlibsuff
= libmagic
=32-bit;;
12779 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12780 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12781 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12782 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12783 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12787 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12788 shlibpath_overrides_runpath
=no
12789 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12790 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12791 hardcode_into_libs
=yes
12794 # No shared lib support for Linux oldld, aout, or coff.
12795 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12799 # This must be Linux ELF.
12800 linux
* | k
*bsd
*-gnu)
12804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12805 soname_spec
='${libname}${release}${shared_ext}$major'
12806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12807 shlibpath_var
=LD_LIBRARY_PATH
12808 shlibpath_overrides_runpath
=no
12809 # This implies no fast_install, which is unacceptable.
12810 # Some rework will be needed to allow for fast_install
12811 # before this can be enabled.
12812 hardcode_into_libs
=yes
12814 # Append ld.so.conf contents to the search path
12815 if test -f /etc
/ld.so.conf
; then
12816 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12817 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12820 # We used to test for /lib/ld.so.1 and disable shared libraries on
12821 # powerpc, because MkLinux only supported shared libraries with the
12822 # GNU dynamic linker. Since this was broken with cross compilers,
12823 # most powerpc-linux boxes support dynamic linking these days and
12824 # people can always --disable-shared, the test was removed, and we
12825 # assume the GNU/Linux dynamic linker is in use.
12826 dynamic_linker
='GNU/Linux ld.so'
12833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12834 soname_spec
='${libname}${release}${shared_ext}$major'
12835 shlibpath_var
=LD_LIBRARY_PATH
12836 shlibpath_overrides_runpath
=no
12837 hardcode_into_libs
=yes
12838 dynamic_linker
='NetBSD ld.elf_so'
12845 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12847 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12848 dynamic_linker
='NetBSD (a.out) ld.so'
12850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12851 soname_spec
='${libname}${release}${shared_ext}$major'
12852 dynamic_linker
='NetBSD ld.elf_so'
12854 shlibpath_var
=LD_LIBRARY_PATH
12855 shlibpath_overrides_runpath
=yes
12856 hardcode_into_libs
=yes
12861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12862 shlibpath_var
=LD_LIBRARY_PATH
12863 shlibpath_overrides_runpath
=yes
12870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12871 soname_spec
='${libname}${release}${shared_ext}$major'
12872 shlibpath_var
=LD_LIBRARY_PATH
12873 shlibpath_overrides_runpath
=yes
12878 sys_lib_dlsearch_path_spec
="/usr/lib"
12880 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12882 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12883 *) need_version
=no
;;
12885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12886 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12887 shlibpath_var
=LD_LIBRARY_PATH
12888 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12890 openbsd2.
[89] | openbsd2.
[89].
*)
12891 shlibpath_overrides_runpath
=no
12894 shlibpath_overrides_runpath
=yes
12898 shlibpath_overrides_runpath
=yes
12903 libname_spec
='$name'
12906 library_names_spec
='$libname${shared_ext} $libname.a'
12907 dynamic_linker
='OS/2 ld.exe'
12908 shlibpath_var
=LIBPATH
12911 osf3
* | osf4
* | osf5
*)
12915 soname_spec
='${libname}${release}${shared_ext}$major'
12916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12917 shlibpath_var
=LD_LIBRARY_PATH
12918 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12919 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12927 soname_spec
='${libname}${release}${shared_ext}$major'
12928 shlibpath_var
=LD_LIBRARY_PATH
12929 shlibpath_overrides_runpath
=yes
12930 hardcode_into_libs
=yes
12931 # ldd complains unless libraries are executable
12932 postinstall_cmds
='chmod +x $lib'
12937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12938 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12939 shlibpath_var
=LD_LIBRARY_PATH
12940 shlibpath_overrides_runpath
=yes
12941 if test "$with_gnu_ld" = yes; then
12949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12950 soname_spec
='${libname}${release}${shared_ext}$major'
12951 shlibpath_var
=LD_LIBRARY_PATH
12952 case $host_vendor in
12954 shlibpath_overrides_runpath
=no
12956 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12957 runpath_var
=LD_RUN_PATH
12965 shlibpath_overrides_runpath
=no
12966 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12972 if test -d /usr
/nec
;then
12974 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12975 soname_spec
='$libname${shared_ext}.$major'
12976 shlibpath_var
=LD_LIBRARY_PATH
12980 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12981 version_type
=freebsd-elf
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12985 soname_spec
='${libname}${release}${shared_ext}$major'
12986 shlibpath_var
=LD_LIBRARY_PATH
12987 hardcode_into_libs
=yes
12988 if test "$with_gnu_ld" = yes; then
12989 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12990 shlibpath_overrides_runpath
=no
12992 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12993 shlibpath_overrides_runpath
=yes
12996 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13000 sys_lib_dlsearch_path_spec
='/usr/lib'
13005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13006 soname_spec
='${libname}${release}${shared_ext}$major'
13007 shlibpath_var
=LD_LIBRARY_PATH
13014 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13015 echo "${ECHO_T}$dynamic_linker" >&6; }
13016 test "$dynamic_linker" = no
&& can_build_shared
=no
13018 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13019 if test "$GCC" = yes; then
13020 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13023 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13024 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13025 hardcode_action_CXX
=
13026 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13027 test -n "$runpath_var_CXX" || \
13028 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13030 # We can hardcode non-existant directories.
13031 if test "$hardcode_direct_CXX" != no
&&
13032 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13033 # have to relink, otherwise we might link with an installed library
13034 # when we should be linking with a yet-to-be-installed one
13035 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13036 test "$hardcode_minus_L_CXX" != no
; then
13037 # Linking always hardcodes the temporary library directory.
13038 hardcode_action_CXX
=relink
13040 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13041 hardcode_action_CXX
=immediate
13044 # We cannot hardcode anything, or else we can only hardcode existing
13046 hardcode_action_CXX
=unsupported
13048 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13049 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13051 if test "$hardcode_action_CXX" = relink
; then
13052 # Fast installation is not supported
13053 enable_fast_install
=no
13054 elif test "$shlibpath_overrides_runpath" = yes ||
13055 test "$enable_shared" = no
; then
13056 # Fast installation is not necessary
13057 enable_fast_install
=needless
13061 # The else clause should only fire when bootstrapping the
13062 # libtool distribution, otherwise you forgot to ship ltmain.sh
13063 # with your package, and you will get complaints that there are
13064 # no rules to generate ltmain.sh.
13065 if test -f "$ltmain"; then
13066 # See if we are running on zsh, and set the options which allow our commands through
13067 # without removal of \ escapes.
13068 if test -n "${ZSH_VERSION+set}" ; then
13069 setopt NO_GLOB_SUBST
13071 # Now quote all the things that may contain metacharacters while being
13072 # careful not to overquote the AC_SUBSTed values. We take copies of the
13073 # variables and quote the copies for generation of the libtool script.
13074 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13076 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13077 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13078 deplibs_check_method reload_flag reload_cmds need_locks \
13079 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13080 lt_cv_sys_global_symbol_to_c_name_address \
13081 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13082 old_postinstall_cmds old_postuninstall_cmds \
13086 lt_prog_compiler_wl_CXX \
13087 lt_prog_compiler_pic_CXX \
13088 lt_prog_compiler_static_CXX \
13089 lt_prog_compiler_no_builtin_flag_CXX \
13090 export_dynamic_flag_spec_CXX \
13091 thread_safe_flag_spec_CXX \
13092 whole_archive_flag_spec_CXX \
13093 enable_shared_with_static_runtimes_CXX \
13094 old_archive_cmds_CXX \
13095 old_archive_from_new_cmds_CXX \
13096 predep_objects_CXX \
13097 postdep_objects_CXX \
13100 compiler_lib_search_path_CXX \
13102 archive_expsym_cmds_CXX \
13103 postinstall_cmds_CXX \
13104 postuninstall_cmds_CXX \
13105 old_archive_from_expsyms_cmds_CXX \
13106 allow_undefined_flag_CXX \
13107 no_undefined_flag_CXX \
13108 export_symbols_cmds_CXX \
13109 hardcode_libdir_flag_spec_CXX \
13110 hardcode_libdir_flag_spec_ld_CXX \
13111 hardcode_libdir_separator_CXX \
13112 hardcode_automatic_CXX \
13114 module_expsym_cmds_CXX \
13115 lt_cv_prog_compiler_c_o_CXX \
13116 exclude_expsyms_CXX \
13117 include_expsyms_CXX
; do
13120 old_archive_cmds_CXX | \
13121 old_archive_from_new_cmds_CXX | \
13122 archive_cmds_CXX | \
13123 archive_expsym_cmds_CXX | \
13124 module_cmds_CXX | \
13125 module_expsym_cmds_CXX | \
13126 old_archive_from_expsyms_cmds_CXX | \
13127 export_symbols_cmds_CXX | \
13128 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13129 postinstall_cmds | postuninstall_cmds | \
13130 old_postinstall_cmds | old_postuninstall_cmds | \
13131 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13132 # Double-quote double-evaled strings.
13133 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13136 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13142 *'\$0 --fallback-echo"')
13143 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13149 cat <<__EOF__ >> "$cfgfile"
13150 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13152 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13154 # Shell to use when invoking shell scripts.
13157 # Whether or not to build shared libraries.
13158 build_libtool_libs=$enable_shared
13160 # Whether or not to build static libraries.
13161 build_old_libs=$enable_static
13163 # Whether or not to add -lc for building shared libraries.
13164 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13166 # Whether or not to disallow shared libs when runtime libs are static
13167 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13169 # Whether or not to optimize for fast installation.
13170 fast_install=$enable_fast_install
13173 host_alias=$host_alias
13177 # The build system.
13178 build_alias=$build_alias
13182 # An echo program that does not interpret backslashes.
13187 AR_FLAGS=$lt_AR_FLAGS
13192 # LTCC compiler flags.
13193 LTCFLAGS=$lt_LTCFLAGS
13195 # A language-specific compiler.
13196 CC=$lt_compiler_CXX
13198 # Is the compiler the GNU C compiler?
13204 # The linker used to build libraries.
13207 # Whether we need hard or soft links.
13210 # A BSD-compatible nm program.
13213 # A symbol stripping program
13216 # Used to examine libraries when file_magic_cmd begins "file"
13217 MAGIC_CMD=$MAGIC_CMD
13219 # Used on cygwin: DLL creation program.
13222 # Used on cygwin: object dumper.
13225 # Used on cygwin: assembler.
13228 # The name of the directory that contains temporary libtool files.
13231 # How to create reloadable object files.
13232 reload_flag=$lt_reload_flag
13233 reload_cmds=$lt_reload_cmds
13235 # How to pass a linker flag through the compiler.
13236 wl=$lt_lt_prog_compiler_wl_CXX
13238 # Object file suffix (normally "o").
13239 objext="$ac_objext"
13241 # Old archive suffix (normally "a").
13244 # Shared library suffix (normally ".so").
13245 shrext_cmds='$shrext_cmds'
13247 # Executable file suffix (normally "").
13250 # Additional compiler flags for building library objects.
13251 pic_flag=$lt_lt_prog_compiler_pic_CXX
13254 # What is the maximum length of a command?
13255 max_cmd_len=$lt_cv_sys_max_cmd_len
13257 # Does compiler simultaneously support -c and -o options?
13258 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13260 # Must we lock files when doing compilation?
13261 need_locks=$lt_need_locks
13263 # Do we need the lib prefix for modules?
13264 need_lib_prefix=$need_lib_prefix
13266 # Do we need a version for libraries?
13267 need_version=$need_version
13269 # Whether dlopen is supported.
13270 dlopen_support=$enable_dlopen
13272 # Whether dlopen of programs is supported.
13273 dlopen_self=$enable_dlopen_self
13275 # Whether dlopen of statically linked programs is supported.
13276 dlopen_self_static=$enable_dlopen_self_static
13278 # Compiler flag to prevent dynamic linking.
13279 link_static_flag=$lt_lt_prog_compiler_static_CXX
13281 # Compiler flag to turn off builtin functions.
13282 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13284 # Compiler flag to allow reflexive dlopens.
13285 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13287 # Compiler flag to generate shared objects directly from archives.
13288 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13290 # Compiler flag to generate thread-safe objects.
13291 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13293 # Library versioning type.
13294 version_type=$version_type
13296 # Format of library name prefix.
13297 libname_spec=$lt_libname_spec
13299 # List of archive names. First name is the real one, the rest are links.
13300 # The last name is the one that the linker finds with -lNAME.
13301 library_names_spec=$lt_library_names_spec
13303 # The coded name of the library, if different from the real name.
13304 soname_spec=$lt_soname_spec
13306 # Commands used to build and install an old-style archive.
13308 old_archive_cmds=$lt_old_archive_cmds_CXX
13309 old_postinstall_cmds=$lt_old_postinstall_cmds
13310 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13312 # Create an old-style archive from a shared archive.
13313 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13315 # Create a temporary old-style archive to link instead of a shared archive.
13316 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13318 # Commands used to build and install a shared archive.
13319 archive_cmds=$lt_archive_cmds_CXX
13320 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13321 postinstall_cmds=$lt_postinstall_cmds
13322 postuninstall_cmds=$lt_postuninstall_cmds
13324 # Commands used to build a loadable module (assumed same as above if empty)
13325 module_cmds=$lt_module_cmds_CXX
13326 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13328 # Commands to strip libraries.
13329 old_striplib=$lt_old_striplib
13330 striplib=$lt_striplib
13332 # Dependencies to place before the objects being linked to create a
13334 predep_objects=$lt_predep_objects_CXX
13336 # Dependencies to place after the objects being linked to create a
13338 postdep_objects=$lt_postdep_objects_CXX
13340 # Dependencies to place before the objects being linked to create a
13342 predeps=$lt_predeps_CXX
13344 # Dependencies to place after the objects being linked to create a
13346 postdeps=$lt_postdeps_CXX
13348 # The library search path used internally by the compiler when linking
13349 # a shared library.
13350 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13352 # Method to check whether dependent libraries are shared objects.
13353 deplibs_check_method=$lt_deplibs_check_method
13355 # Command to use when deplibs_check_method == file_magic.
13356 file_magic_cmd=$lt_file_magic_cmd
13358 # Flag that allows shared libraries with undefined symbols to be built.
13359 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13361 # Flag that forces no undefined symbols.
13362 no_undefined_flag=$lt_no_undefined_flag_CXX
13364 # Commands used to finish a libtool library installation in a directory.
13365 finish_cmds=$lt_finish_cmds
13367 # Same as above, but a single script fragment to be evaled but not shown.
13368 finish_eval=$lt_finish_eval
13370 # Take the output of nm and produce a listing of raw symbols and C names.
13371 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13373 # Transform the output of nm in a proper C declaration
13374 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13376 # Transform the output of nm in a C name address pair
13377 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13379 # This is the shared library runtime path variable.
13380 runpath_var=$runpath_var
13382 # This is the shared library path variable.
13383 shlibpath_var=$shlibpath_var
13385 # Is shlibpath searched before the hard-coded library search path?
13386 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13388 # How to hardcode a shared library path into an executable.
13389 hardcode_action=$hardcode_action_CXX
13391 # Whether we should hardcode library paths into libraries.
13392 hardcode_into_libs=$hardcode_into_libs
13394 # Flag to hardcode \$libdir into a binary during linking.
13395 # This must work even if \$libdir does not exist.
13396 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13398 # If ld is used when linking, flag to hardcode \$libdir into
13399 # a binary during linking. This must work even if \$libdir does
13401 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13403 # Whether we need a single -rpath flag with a separated argument.
13404 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13406 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13407 # resulting binary.
13408 hardcode_direct=$hardcode_direct_CXX
13410 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13411 # resulting binary.
13412 hardcode_minus_L=$hardcode_minus_L_CXX
13414 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13415 # the resulting binary.
13416 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13418 # Set to yes if building a shared library automatically hardcodes DIR into the library
13419 # and all subsequent libraries and executables linked against it.
13420 hardcode_automatic=$hardcode_automatic_CXX
13422 # Variables whose values should be saved in libtool wrapper scripts and
13423 # restored at relink time.
13424 variables_saved_for_relink="$variables_saved_for_relink"
13426 # Whether libtool must link a program against all its dependency libraries.
13427 link_all_deplibs=$link_all_deplibs_CXX
13429 # Compile-time system search path for libraries
13430 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13432 # Run-time system search path for libraries
13433 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13435 # Fix the shell variable \$srcfile for the compiler.
13436 fix_srcfile_path="$fix_srcfile_path_CXX"
13438 # Set to yes if exported symbols are required.
13439 always_export_symbols=$always_export_symbols_CXX
13441 # The commands to list exported symbols.
13442 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13444 # The commands to extract the exported symbol list from a shared archive.
13445 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13447 # Symbols that should not be listed in the preloaded symbols.
13448 exclude_expsyms=$lt_exclude_expsyms_CXX
13450 # Symbols that must always be exported.
13451 include_expsyms=$lt_include_expsyms_CXX
13453 # ### END LIBTOOL TAG CONFIG: $tagname
13459 # If there is no Makefile yet, we rely on a make rule to execute
13460 # `config.status --recheck' to rerun these tests and create the
13461 # libtool script then.
13462 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13463 if test -f "$ltmain_in"; then
13464 test -f Makefile
&& make "$ltmain"
13470 ac_cpp
='$CPP $CPPFLAGS'
13471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13479 with_gnu_ldcxx
=$with_gnu_ld
13480 with_gnu_ld
=$lt_save_with_gnu_ld
13481 lt_cv_path_LDCXX
=$lt_cv_path_LD
13482 lt_cv_path_LD
=$lt_save_path_LD
13483 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13484 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13492 if test -n "$F77" && test "X$F77" != "Xno"; then
13495 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13496 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13500 archive_cmds_need_lc_F77
=no
13501 allow_undefined_flag_F77
=
13502 always_export_symbols_F77
=no
13503 archive_expsym_cmds_F77
=
13504 export_dynamic_flag_spec_F77
=
13505 hardcode_direct_F77
=no
13506 hardcode_libdir_flag_spec_F77
=
13507 hardcode_libdir_flag_spec_ld_F77
=
13508 hardcode_libdir_separator_F77
=
13509 hardcode_minus_L_F77
=no
13510 hardcode_automatic_F77
=no
13512 module_expsym_cmds_F77
=
13513 link_all_deplibs_F77
=unknown
13514 old_archive_cmds_F77
=$old_archive_cmds
13515 no_undefined_flag_F77
=
13516 whole_archive_flag_spec_F77
=
13517 enable_shared_with_static_runtimes_F77
=no
13519 # Source file extension for f77 test sources.
13522 # Object file extension for compiled f77 test sources.
13526 # Code to be used in simple compile tests
13527 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13529 # Code to be used in simple link tests
13530 lt_simple_link_test_code
=" program t\n end\n"
13532 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13534 # If no C compiler was specified, use CC.
13537 # If no C compiler flags were specified, use CFLAGS.
13538 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13540 # Allow CC to be a program name with arguments.
13544 # save warnings/boilerplate of simple test code
13545 ac_outfile
=conftest.
$ac_objext
13546 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13547 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13548 _lt_compiler_boilerplate
=`cat conftest.err`
13551 ac_outfile
=conftest.
$ac_objext
13552 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13553 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13554 _lt_linker_boilerplate
=`cat conftest.err`
13558 # Allow CC to be a program name with arguments.
13563 for cc_temp
in $compiler""; do
13565 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13566 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13571 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13574 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13575 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13576 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13577 echo "${ECHO_T}$can_build_shared" >&6; }
13579 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13580 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13581 test "$can_build_shared" = "no" && enable_shared
=no
13583 # On AIX, shared libraries and static libraries use the same namespace, and
13584 # are all built from PIC.
13587 test "$enable_shared" = yes && enable_static
=no
13588 if test -n "$RANLIB"; then
13589 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13590 postinstall_cmds
='$RANLIB $lib'
13594 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13595 test "$enable_shared" = yes && enable_static
=no
13599 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13600 echo "${ECHO_T}$enable_shared" >&6; }
13602 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13603 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13604 # Make sure either enable_shared or enable_static is yes.
13605 test "$enable_shared" = yes || enable_static
=yes
13606 { echo "$as_me:$LINENO: result: $enable_static" >&5
13607 echo "${ECHO_T}$enable_static" >&6; }
13612 lt_prog_compiler_wl_F77
=
13613 lt_prog_compiler_pic_F77
=
13614 lt_prog_compiler_static_F77
=
13616 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13617 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13619 if test "$GCC" = yes; then
13620 lt_prog_compiler_wl_F77
='-Wl,'
13621 lt_prog_compiler_static_F77
='-static'
13625 # All AIX code is PIC.
13626 if test "$host_cpu" = ia64
; then
13627 # AIX 5 now supports IA64 processor
13628 lt_prog_compiler_static_F77
='-Bstatic'
13633 # FIXME: we need at least 68020 code to build shared libraries, but
13634 # adding the `-m68020' flag to GCC prevents building anything better,
13636 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13639 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13640 # PIC is the default for these OSes.
13643 mingw
* | pw32
* | os2
*)
13644 # This hack is so that the source file can tell whether it is being
13645 # built for inclusion in a dll (and should export symbols for example).
13646 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13649 darwin
* | rhapsody
*)
13650 # PIC is the default on this platform
13651 # Common symbols not allowed in MH_DYLIB files
13652 lt_prog_compiler_pic_F77
='-fno-common'
13656 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13657 # Instead, we relocate shared libraries at runtime.
13661 # Just because we use GCC doesn't mean we suddenly get shared libraries
13662 # on systems that don't support them.
13663 lt_prog_compiler_can_build_shared_F77
=no
13668 if test -d /usr
/nec
; then
13669 lt_prog_compiler_pic_F77
=-Kconform_pic
13674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13675 # not for PA HP-UX.
13681 lt_prog_compiler_pic_F77
='-fPIC'
13687 lt_prog_compiler_pic_F77
='-fPIC'
13691 # PORTME Check for flag to pass linker flags through the system compiler.
13694 lt_prog_compiler_wl_F77
='-Wl,'
13695 if test "$host_cpu" = ia64
; then
13696 # AIX 5 now supports IA64 processor
13697 lt_prog_compiler_static_F77
='-Bstatic'
13699 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13703 # PIC is the default on this platform
13704 # Common symbols not allowed in MH_DYLIB files
13705 case $cc_basename in
13707 lt_prog_compiler_pic_F77
='-qnocommon'
13708 lt_prog_compiler_wl_F77
='-Wl,'
13713 mingw
* | pw32
* | os2
*)
13714 # This hack is so that the source file can tell whether it is being
13715 # built for inclusion in a dll (and should export symbols for example).
13716 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13719 hpux9
* | hpux10
* | hpux11
*)
13720 lt_prog_compiler_wl_F77
='-Wl,'
13721 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13722 # not for PA HP-UX.
13728 lt_prog_compiler_pic_F77
='+Z'
13731 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13732 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13735 irix5
* | irix6
* | nonstopux
*)
13736 lt_prog_compiler_wl_F77
='-Wl,'
13737 # PIC (with -KPIC) is the default.
13738 lt_prog_compiler_static_F77
='-non_shared'
13742 lt_prog_compiler_pic_F77
='-KPIC'
13743 lt_prog_compiler_static_F77
='-Bstatic'
13746 linux
* | k
*bsd
*-gnu)
13747 case $cc_basename in
13749 lt_prog_compiler_wl_F77
='-Wl,'
13750 lt_prog_compiler_pic_F77
='-KPIC'
13751 lt_prog_compiler_static_F77
='-static'
13753 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13754 # Portland Group compilers (*not* the Pentium gcc compiler,
13755 # which looks to be a dead project)
13756 lt_prog_compiler_wl_F77
='-Wl,'
13757 lt_prog_compiler_pic_F77
='-fpic'
13758 lt_prog_compiler_static_F77
='-Bstatic'
13761 lt_prog_compiler_wl_F77
='-Wl,'
13762 # All Alpha code is PIC.
13763 lt_prog_compiler_static_F77
='-non_shared'
13768 osf3
* | osf4
* | osf5
*)
13769 lt_prog_compiler_wl_F77
='-Wl,'
13770 # All OSF/1 code is PIC.
13771 lt_prog_compiler_static_F77
='-non_shared'
13775 lt_prog_compiler_pic_F77
='-KPIC'
13776 lt_prog_compiler_static_F77
='-Bstatic'
13777 case $cc_basename in
13778 f77
* | f90
* | f95
*)
13779 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13781 lt_prog_compiler_wl_F77
='-Wl,';;
13786 lt_prog_compiler_wl_F77
='-Qoption ld '
13787 lt_prog_compiler_pic_F77
='-PIC'
13788 lt_prog_compiler_static_F77
='-Bstatic'
13791 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13792 lt_prog_compiler_wl_F77
='-Wl,'
13793 lt_prog_compiler_pic_F77
='-KPIC'
13794 lt_prog_compiler_static_F77
='-Bstatic'
13798 if test -d /usr
/nec
;then
13799 lt_prog_compiler_pic_F77
='-Kconform_pic'
13800 lt_prog_compiler_static_F77
='-Bstatic'
13804 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13805 lt_prog_compiler_wl_F77
='-Wl,'
13806 lt_prog_compiler_pic_F77
='-KPIC'
13807 lt_prog_compiler_static_F77
='-Bstatic'
13811 lt_prog_compiler_wl_F77
='-Wl,'
13812 lt_prog_compiler_can_build_shared_F77
=no
13816 lt_prog_compiler_pic_F77
='-pic'
13817 lt_prog_compiler_static_F77
='-Bstatic'
13821 lt_prog_compiler_can_build_shared_F77
=no
13826 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13827 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13830 # Check to make sure the PIC flag actually works.
13832 if test -n "$lt_prog_compiler_pic_F77"; then
13834 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13835 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13836 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 lt_prog_compiler_pic_works_F77
=no
13840 ac_outfile
=conftest.
$ac_objext
13841 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13842 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 # The option is referenced via a variable to avoid confusing sed.
13848 lt_compile
=`echo "$ac_compile" | $SED \
13849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13851 -e 's:$: $lt_compiler_flag:'`
13852 (eval echo "\"\$as_me:13852: $lt_compile\"" >&5)
13853 (eval "$lt_compile" 2>conftest.err
)
13855 cat conftest.err
>&5
13856 echo "$as_me:13856: \$? = $ac_status" >&5
13857 if (exit $ac_status) && test -s "$ac_outfile"; then
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings other than the usual output.
13860 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13861 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13862 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13863 lt_prog_compiler_pic_works_F77
=yes
13869 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13870 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13872 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13873 case $lt_prog_compiler_pic_F77 in
13875 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13878 lt_prog_compiler_pic_F77
=
13879 lt_prog_compiler_can_build_shared_F77
=no
13884 # For platforms which do not support PIC, -DPIC is meaningless:
13886 lt_prog_compiler_pic_F77
=
13889 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13894 # Check to make sure the static flag actually works.
13896 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13897 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13898 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13899 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 lt_prog_compiler_static_works_F77
=no
13903 save_LDFLAGS
="$LDFLAGS"
13904 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13905 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13906 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13907 # The linker can only warn and ignore the option if not recognized
13908 # So say no if there are warnings
13909 if test -s conftest.err
; then
13910 # Append any errors to the config.log.
13911 cat conftest.err
1>&5
13912 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13913 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13914 if diff conftest.exp conftest.er2
>/dev
/null
; then
13915 lt_prog_compiler_static_works_F77
=yes
13918 lt_prog_compiler_static_works_F77
=yes
13922 LDFLAGS
="$save_LDFLAGS"
13925 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13926 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13928 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13931 lt_prog_compiler_static_F77
=
13935 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13936 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13937 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 lt_cv_prog_compiler_c_o_F77
=no
13941 $rm -r conftest
2>/dev
/null
13945 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13947 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13948 # Insert the option either (1) after the last *FLAGS variable, or
13949 # (2) before a word containing "conftest.", or (3) at the end.
13950 # Note that $ac_compile itself does not contain backslashes and begins
13951 # with a dollar sign (not a hyphen), so the echo should work correctly.
13952 lt_compile
=`echo "$ac_compile" | $SED \
13953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13955 -e 's:$: $lt_compiler_flag:'`
13956 (eval echo "\"\$as_me:13956: $lt_compile\"" >&5)
13957 (eval "$lt_compile" 2>out
/conftest.err
)
13959 cat out
/conftest.err
>&5
13960 echo "$as_me:13960: \$? = $ac_status" >&5
13961 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13963 # The compiler can only warn and ignore the option if not recognized
13964 # So say no if there are warnings
13965 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13966 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13967 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13968 lt_cv_prog_compiler_c_o_F77
=yes
13973 # SGI C++ compiler will create directory out/ii_files/ for
13974 # template instantiation
13975 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13976 $rm out
/* && rmdir out
13982 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13983 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13986 hard_links
="nottested"
13987 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13988 # do not overwrite the value of need_locks provided by the user
13989 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13990 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13993 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13995 ln conftest.a conftest.b
2>&5 || hard_links
=no
13996 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13997 { echo "$as_me:$LINENO: result: $hard_links" >&5
13998 echo "${ECHO_T}$hard_links" >&6; }
13999 if test "$hard_links" = no
; then
14000 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14001 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14008 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14009 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14012 allow_undefined_flag_F77
=
14013 enable_shared_with_static_runtimes_F77
=no
14015 archive_expsym_cmds_F77
=
14016 old_archive_From_new_cmds_F77
=
14017 old_archive_from_expsyms_cmds_F77
=
14018 export_dynamic_flag_spec_F77
=
14019 whole_archive_flag_spec_F77
=
14020 thread_safe_flag_spec_F77
=
14021 hardcode_libdir_flag_spec_F77
=
14022 hardcode_libdir_flag_spec_ld_F77
=
14023 hardcode_libdir_separator_F77
=
14024 hardcode_direct_F77
=no
14025 hardcode_minus_L_F77
=no
14026 hardcode_shlibpath_var_F77
=unsupported
14027 link_all_deplibs_F77
=unknown
14028 hardcode_automatic_F77
=no
14030 module_expsym_cmds_F77
=
14031 always_export_symbols_F77
=no
14032 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14033 # include_expsyms should be a list of space-separated symbols to be *always*
14034 # included in the symbol list
14035 include_expsyms_F77
=
14036 # exclude_expsyms can be an extended regexp of symbols to exclude
14037 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14038 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14039 # as well as any symbol that contains `d'.
14040 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14041 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14042 # platforms (ab)use it in PIC code, but their linkers get confused if
14043 # the symbol is explicitly referenced. Since portable code cannot
14044 # rely on this symbol name, it's probably fine to never include it in
14045 # preloaded symbol tables.
14046 extract_expsyms_cmds
=
14047 # Just being paranoid about ensuring that cc_basename is set.
14048 for cc_temp
in $compiler""; do
14050 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14051 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14056 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14059 cygwin
* | mingw
* | pw32
*)
14060 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14061 # When not using gcc, we currently assume that we are using
14062 # Microsoft Visual C++.
14063 if test "$GCC" != yes; then
14068 # we just hope/assume this is gcc and not c89 (= MSVC++)
14077 if test "$with_gnu_ld" = yes; then
14078 # If archive_cmds runs LD, not CC, wlarc should be empty
14081 # Set some defaults for GNU ld with shared library support. These
14082 # are reset later if shared libraries are not supported. Putting them
14083 # here allows them to be overridden if necessary.
14084 runpath_var
=LD_RUN_PATH
14085 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14086 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14087 # ancient GNU ld didn't support --whole-archive et. al.
14088 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14089 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14091 whole_archive_flag_spec_F77
=
14093 supports_anon_versioning
=no
14094 case `$LD -v 2>/dev/null` in
14095 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14096 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14097 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14098 *\
2.11.
*) ;; # other 2.11 versions
14099 *) supports_anon_versioning
=yes ;;
14102 # See if GNU ld supports shared libraries.
14104 aix3
* | aix4
* | aix5
*)
14105 # On AIX/PPC, the GNU linker is very broken
14106 if test "$host_cpu" != ia64
; then
14110 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14111 *** to be unable to reliably create shared libraries on AIX.
14112 *** Therefore, libtool is disabling shared libraries support. If you
14113 *** really care for shared libraries, you may want to modify your PATH
14114 *** so that a non-GNU linker is found, and then restart.
14121 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)'
14122 hardcode_libdir_flag_spec_F77
='-L$libdir'
14123 hardcode_minus_L_F77
=yes
14125 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14126 # that the semantics of dynamic libraries on AmigaOS, at least up
14127 # to version 4, is to share data among multiple programs linked
14128 # with the same dynamic library. Since this doesn't match the
14129 # behavior of shared libraries on other platforms, we can't use
14135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14136 allow_undefined_flag_F77
=unsupported
14137 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14138 # support --undefined. This deserves some investigation. FIXME
14139 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14145 cygwin
* | mingw
* | pw32
*)
14146 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14147 # as there is no search path for DLLs.
14148 hardcode_libdir_flag_spec_F77
='-L$libdir'
14149 allow_undefined_flag_F77
=unsupported
14150 always_export_symbols_F77
=no
14151 enable_shared_with_static_runtimes_F77
=yes
14152 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14154 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14155 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14156 # If the export-symbols file already is a .def file (1st line
14157 # is EXPORTS), use it as is; otherwise, prepend...
14158 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14159 cp $export_symbols $output_objdir/$soname.def;
14161 echo EXPORTS > $output_objdir/$soname.def;
14162 cat $export_symbols >> $output_objdir/$soname.def;
14164 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14171 hardcode_direct_F77
=no
14172 hardcode_shlibpath_var_F77
=no
14173 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14174 export_dynamic_flag_spec_F77
='${wl}-E'
14175 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14176 # Instead, shared libraries are loaded at an image base (0x10000000 by
14177 # default) and relocated if they conflict, which is a slow very memory
14178 # consuming and fragmenting process. To avoid this, we pick a random,
14179 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14180 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14181 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'
14182 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'
14185 linux
* | k
*bsd
*-gnu)
14186 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14188 case $cc_basename,$host_cpu in
14189 pgcc
*) # Portland Group C compiler
14190 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'
14191 tmp_addflag
=' $pic_flag'
14193 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14194 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'
14195 tmp_addflag
=' $pic_flag -Mnomain' ;;
14196 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14197 tmp_addflag
=' -i_dynamic' ;;
14198 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14199 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14200 ifc
* | ifort
*) # Intel Fortran compiler
14201 tmp_addflag
=' -nofor_main' ;;
14203 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14205 if test $supports_anon_versioning = yes; then
14206 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14207 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14208 $echo "local: *; };" >> $output_objdir/$libname.ver~
14209 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14211 link_all_deplibs_F77
=no
14217 netbsd
* | netbsdelf
*-gnu)
14218 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14219 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14222 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14223 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14228 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14232 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14233 *** create shared libraries on Solaris systems. Therefore, libtool
14234 *** is disabling shared libraries support. We urge you to upgrade GNU
14235 *** binutils to release 2.9.1 or newer. Another option is to modify
14236 *** your PATH or compiler configuration so that the native linker is
14237 *** used, and then restart.
14240 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14241 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14242 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14248 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14249 case `$LD -v 2>&1` in
14250 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14254 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14255 *** reliably create shared libraries on SCO systems. Therefore, libtool
14256 *** is disabling shared libraries support. We urge you to upgrade GNU
14257 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14258 *** your PATH or compiler configuration so that the native linker is
14259 *** used, and then restart.
14264 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14265 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14266 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14267 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14276 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14278 hardcode_direct_F77
=yes
14279 hardcode_shlibpath_var_F77
=no
14283 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14284 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14285 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14292 if test "$ld_shlibs_F77" = no
; then
14294 hardcode_libdir_flag_spec_F77
=
14295 export_dynamic_flag_spec_F77
=
14296 whole_archive_flag_spec_F77
=
14299 # PORTME fill in a description of your system's linker (not GNU ld)
14302 allow_undefined_flag_F77
=unsupported
14303 always_export_symbols_F77
=yes
14304 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'
14305 # Note: this linker hardcodes the directories in LIBPATH if there
14306 # are no directories specified by -L.
14307 hardcode_minus_L_F77
=yes
14308 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14309 # Neither direct hardcoding nor static linking is supported with a
14311 hardcode_direct_F77
=unsupported
14316 if test "$host_cpu" = ia64
; then
14317 # On IA64, the linker does run time linking by default, so we don't
14318 # have to do anything special.
14319 aix_use_runtimelinking
=no
14320 exp_sym_flag
='-Bexport'
14323 # If we're using GNU nm, then we don't want the "-C" option.
14324 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14325 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14326 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'
14328 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'
14330 aix_use_runtimelinking
=no
14332 # Test if we are trying to use run time linking or normal
14333 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14334 # need to do runtime linking.
14335 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14336 for ld_flag
in $LDFLAGS; do
14337 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14338 aix_use_runtimelinking
=yes
14345 exp_sym_flag
='-bexport'
14346 no_entry_flag
='-bnoentry'
14349 # When large executables or shared objects are built, AIX ld can
14350 # have problems creating the table of contents. If linking a library
14351 # or program results in "error TOC overflow" add -mminimal-toc to
14352 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14353 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14355 archive_cmds_F77
=''
14356 hardcode_direct_F77
=yes
14357 hardcode_libdir_separator_F77
=':'
14358 link_all_deplibs_F77
=yes
14360 if test "$GCC" = yes; then
14361 case $host_os in aix4.
[012]|aix4.
[012].
*)
14362 # We only want to do this on AIX 4.2 and lower, the check
14363 # below for broken collect2 doesn't work under 4.3+
14364 collect2name
=`${CC} -print-prog-name=collect2`
14365 if test -f "$collect2name" && \
14366 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14368 # We have reworked collect2
14369 hardcode_direct_F77
=yes
14371 # We have old collect2
14372 hardcode_direct_F77
=unsupported
14373 # It fails to find uninstalled libraries when the uninstalled
14374 # path is not listed in the libpath. Setting hardcode_minus_L
14375 # to unsupported forces relinking
14376 hardcode_minus_L_F77
=yes
14377 hardcode_libdir_flag_spec_F77
='-L$libdir'
14378 hardcode_libdir_separator_F77
=
14382 shared_flag
='-shared'
14383 if test "$aix_use_runtimelinking" = yes; then
14384 shared_flag
="$shared_flag "'${wl}-G'
14388 if test "$host_cpu" = ia64
; then
14389 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14390 # chokes on -Wl,-G. The following line is correct:
14393 if test "$aix_use_runtimelinking" = yes; then
14394 shared_flag
='${wl}-G'
14396 shared_flag
='${wl}-bM:SRE'
14401 # It seems that -bexpall does not export symbols beginning with
14402 # underscore (_), so it is better to generate a list of symbols to export.
14403 always_export_symbols_F77
=yes
14404 if test "$aix_use_runtimelinking" = yes; then
14405 # Warning - without using the other runtime loading flags (-brtl),
14406 # -berok will link without error, but may produce a broken library.
14407 allow_undefined_flag_F77
='-berok'
14408 # Determine the default libpath from the value encoded in an empty executable.
14409 cat >conftest.
$ac_ext <<_ACEOF
14414 rm -f conftest.
$ac_objext conftest
$ac_exeext
14415 if { (ac_try
="$ac_link"
14416 case "(($ac_try" in
14417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14418 *) ac_try_echo=$ac_try;;
14420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14421 (eval "$ac_link") 2>conftest.er1
14423 grep -v '^ *+' conftest.er1 >conftest.err
14425 cat conftest.err >&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } && {
14428 test -z "$ac_f77_werror_flag" ||
14429 test ! -s conftest.err
14430 } && test -s conftest$ac_exeext &&
14431 $as_test_x conftest$ac_exeext; then
14433 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14435 # Check for a 64-bit object if we didn't find anything.
14436 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14439 echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14446 conftest$ac_exeext conftest.$ac_ext
14447 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14449 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14450 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"
14452 if test "$host_cpu" = ia64; then
14453 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14454 allow_undefined_flag_F77="-z nodefs"
14455 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"
14457 # Determine the default libpath from the value encoded in an empty executable.
14458 cat >conftest.$ac_ext <<_ACEOF
14463 rm -f conftest.$ac_objext conftest$ac_exeext
14464 if { (ac_try="$ac_link"
14465 case "(($ac_try" in
14466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14467 *) ac_try_echo
=$ac_try;;
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_link") 2>conftest.er1
14472 grep -v '^ *+' conftest.er1
>conftest.err
14474 cat conftest.err
>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_f77_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest
$ac_exeext &&
14480 $as_test_x conftest
$ac_exeext; then
14482 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14484 # Check for a 64-bit object if we didn't find anything.
14485 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.
$ac_ext >&5
14494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14495 conftest
$ac_exeext conftest.
$ac_ext
14496 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14498 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14499 # Warning - without using the other run time loading flags,
14500 # -berok will link without error, but may produce a broken library.
14501 no_undefined_flag_F77
=' ${wl}-bernotok'
14502 allow_undefined_flag_F77
=' ${wl}-berok'
14503 # Exported symbols can be pulled into shared objects from archives
14504 whole_archive_flag_spec_F77
='$convenience'
14505 archive_cmds_need_lc_F77
=yes
14506 # This is similar to how AIX traditionally builds its shared libraries.
14507 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'
14513 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)'
14514 hardcode_libdir_flag_spec_F77
='-L$libdir'
14515 hardcode_minus_L_F77
=yes
14516 # see comment about different semantics on the GNU ld section
14521 export_dynamic_flag_spec_F77
=-rdynamic
14524 cygwin
* | mingw
* | pw32
*)
14525 # When not using gcc, we currently assume that we are using
14526 # Microsoft Visual C++.
14527 # hardcode_libdir_flag_spec is actually meaningless, as there is
14528 # no search path for DLLs.
14529 hardcode_libdir_flag_spec_F77
=' '
14530 allow_undefined_flag_F77
=unsupported
14531 # Tell ltmain to make .lib files, not .a files.
14533 # Tell ltmain to make .dll files, not .so files.
14535 # FIXME: Setting linknames here is a bad hack.
14536 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14537 # The linker will automatically build a .lib file if we build a DLL.
14538 old_archive_From_new_cmds_F77
='true'
14539 # FIXME: Should let the user specify the lib program.
14540 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14541 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14542 enable_shared_with_static_runtimes_F77
=yes
14545 darwin
* | rhapsody
*)
14547 rhapsody
* | darwin1.
[012])
14548 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14551 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14552 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14554 case ${MACOSX_DEPLOYMENT_TARGET} in
14556 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14559 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14565 archive_cmds_need_lc_F77
=no
14566 hardcode_direct_F77
=no
14567 hardcode_automatic_F77
=yes
14568 hardcode_shlibpath_var_F77
=unsupported
14569 whole_archive_flag_spec_F77
=''
14570 link_all_deplibs_F77
=yes
14571 if test "$GCC" = yes ; then
14572 output_verbose_link_cmd
='echo'
14573 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14574 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14575 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14576 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14577 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}'
14579 case $cc_basename in
14581 output_verbose_link_cmd
='echo'
14582 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14583 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14584 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14585 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14586 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}'
14596 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14597 hardcode_libdir_flag_spec_F77
='-L$libdir'
14598 hardcode_shlibpath_var_F77
=no
14605 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14606 # support. Future versions do this automatically, but an explicit c++rt0.o
14607 # does not break anything, and helps significantly (at the cost of a little
14610 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14611 hardcode_libdir_flag_spec_F77
='-R$libdir'
14612 hardcode_direct_F77
=yes
14613 hardcode_shlibpath_var_F77
=no
14616 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14618 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14619 hardcode_direct_F77
=yes
14620 hardcode_minus_L_F77
=yes
14621 hardcode_shlibpath_var_F77
=no
14624 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14625 freebsd
* | dragonfly
*)
14626 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14627 hardcode_libdir_flag_spec_F77
='-R$libdir'
14628 hardcode_direct_F77
=yes
14629 hardcode_shlibpath_var_F77
=no
14633 if test "$GCC" = yes; then
14634 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'
14636 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'
14638 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14639 hardcode_libdir_separator_F77
=:
14640 hardcode_direct_F77
=yes
14642 # hardcode_minus_L: Not really in the search PATH,
14643 # but as the default location of the library.
14644 hardcode_minus_L_F77
=yes
14645 export_dynamic_flag_spec_F77
='${wl}-E'
14649 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14650 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14652 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14654 if test "$with_gnu_ld" = no
; then
14655 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14656 hardcode_libdir_separator_F77
=:
14658 hardcode_direct_F77
=yes
14659 export_dynamic_flag_spec_F77
='${wl}-E'
14661 # hardcode_minus_L: Not really in the search PATH,
14662 # but as the default location of the library.
14663 hardcode_minus_L_F77
=yes
14668 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14671 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14674 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14677 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14683 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14686 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14689 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14693 if test "$with_gnu_ld" = no
; then
14694 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14695 hardcode_libdir_separator_F77
=:
14699 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14700 hardcode_direct_F77
=no
14701 hardcode_shlibpath_var_F77
=no
14704 hardcode_direct_F77
=yes
14705 export_dynamic_flag_spec_F77
='${wl}-E'
14707 # hardcode_minus_L: Not really in the search PATH,
14708 # but as the default location of the library.
14709 hardcode_minus_L_F77
=yes
14715 irix5
* | irix6
* | nonstopux
*)
14716 if test "$GCC" = yes; then
14717 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'
14719 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'
14720 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14722 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14723 hardcode_libdir_separator_F77
=:
14724 link_all_deplibs_F77
=yes
14727 netbsd
* | netbsdelf
*-gnu)
14728 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14729 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14731 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14733 hardcode_libdir_flag_spec_F77
='-R$libdir'
14734 hardcode_direct_F77
=yes
14735 hardcode_shlibpath_var_F77
=no
14739 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14740 hardcode_direct_F77
=yes
14741 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14742 hardcode_libdir_separator_F77
=:
14743 hardcode_shlibpath_var_F77
=no
14747 hardcode_direct_F77
=yes
14748 hardcode_shlibpath_var_F77
=no
14749 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14750 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14751 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14752 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14753 export_dynamic_flag_spec_F77
='${wl}-E'
14756 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14757 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14758 hardcode_libdir_flag_spec_F77
='-R$libdir'
14761 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14762 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14769 hardcode_libdir_flag_spec_F77
='-L$libdir'
14770 hardcode_minus_L_F77
=yes
14771 allow_undefined_flag_F77
=unsupported
14772 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'
14773 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14777 if test "$GCC" = yes; then
14778 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14779 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'
14781 allow_undefined_flag_F77
=' -expect_unresolved \*'
14782 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'
14784 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14785 hardcode_libdir_separator_F77
=:
14788 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14789 if test "$GCC" = yes; then
14790 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14791 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'
14792 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14794 allow_undefined_flag_F77
=' -expect_unresolved \*'
14795 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'
14796 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~
14797 $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'
14799 # Both c and cxx compiler support -rpath directly
14800 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14802 hardcode_libdir_separator_F77
=:
14806 no_undefined_flag_F77
=' -z text'
14807 if test "$GCC" = yes; then
14809 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14810 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14811 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14814 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14815 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14816 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14818 hardcode_libdir_flag_spec_F77
='-R$libdir'
14819 hardcode_shlibpath_var_F77
=no
14821 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14823 # The compiler driver will combine linker options so we
14824 # cannot just pass the convience library names through
14825 # without $wl, iff we do not link with $LD.
14826 # Luckily, gcc supports the same syntax we need for Sun Studio.
14827 # Supported since Solaris 2.6 (maybe 2.5.1?)
14830 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14832 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14835 link_all_deplibs_F77
=yes
14839 if test "x$host_vendor" = xsequent
; then
14840 # Use $CC to link under sequent, because it throws in some extra .o
14841 # files that make .init and .fini sections work.
14842 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14844 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14846 hardcode_libdir_flag_spec_F77
='-L$libdir'
14847 hardcode_direct_F77
=yes
14848 hardcode_minus_L_F77
=yes
14849 hardcode_shlibpath_var_F77
=no
14853 case $host_vendor in
14855 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14856 hardcode_direct_F77
=yes # is this really true???
14859 ## LD is ld it makes a PLAMLIB
14860 ## CC just makes a GrossModule.
14861 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14862 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14863 hardcode_direct_F77
=no
14866 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14867 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14870 runpath_var
='LD_RUN_PATH'
14871 hardcode_shlibpath_var_F77
=no
14875 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14876 hardcode_shlibpath_var_F77
=no
14877 export_dynamic_flag_spec_F77
='-Bexport'
14881 if test -d /usr
/nec
; then
14882 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14883 hardcode_shlibpath_var_F77
=no
14884 runpath_var
=LD_RUN_PATH
14885 hardcode_runpath_var
=yes
14890 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14891 no_undefined_flag_F77
='${wl}-z,text'
14892 archive_cmds_need_lc_F77
=no
14893 hardcode_shlibpath_var_F77
=no
14894 runpath_var
='LD_RUN_PATH'
14896 if test "$GCC" = yes; then
14897 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14900 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14905 sysv5
* | sco3.2v5
* | sco5v6
*)
14906 # Note: We can NOT use -z defs as we might desire, because we do not
14907 # link with -lc, and that would cause any symbols used from libc to
14908 # always be unresolved, which means just about no library would
14909 # ever link correctly. If we're not using GNU ld we use -z text
14910 # though, which does catch some bad symbols but isn't as heavy-handed
14912 no_undefined_flag_F77
='${wl}-z,text'
14913 allow_undefined_flag_F77
='${wl}-z,nodefs'
14914 archive_cmds_need_lc_F77
=no
14915 hardcode_shlibpath_var_F77
=no
14916 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14917 hardcode_libdir_separator_F77
=':'
14918 link_all_deplibs_F77
=yes
14919 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14920 runpath_var
='LD_RUN_PATH'
14922 if test "$GCC" = yes; then
14923 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14924 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14926 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14927 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14932 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14933 hardcode_libdir_flag_spec_F77
='-L$libdir'
14934 hardcode_shlibpath_var_F77
=no
14943 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14944 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14945 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14948 # Do we need to explicitly link libc?
14950 case "x$archive_cmds_need_lc_F77" in
14952 # Assume -lc should be added
14953 archive_cmds_need_lc_F77
=yes
14955 if test "$enable_shared" = yes && test "$GCC" = yes; then
14956 case $archive_cmds_F77 in
14958 # FIXME: we may have to deal with multi-command sequences.
14961 # Test whether the compiler implicitly links with -lc since on some
14962 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14963 # to ld, don't add -lc before -lgcc.
14964 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14965 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14967 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } 2>conftest.err
; then
14976 libobjs
=conftest.
$ac_objext
14978 wl
=$lt_prog_compiler_wl_F77
14979 pic_flag
=$lt_prog_compiler_pic_F77
14985 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14986 allow_undefined_flag_F77
=
14987 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14988 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }
14993 archive_cmds_need_lc_F77
=no
14995 archive_cmds_need_lc_F77
=yes
14997 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14999 cat conftest.err
1>&5
15002 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15003 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15010 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15011 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15012 library_names_spec
=
15013 libname_spec
='lib$name'
15017 postuninstall_cmds
=
15021 shlibpath_overrides_runpath
=unknown
15023 dynamic_linker
="$host_os ld.so"
15024 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15025 if test "$GCC" = yes; then
15026 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15027 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15028 # if the path contains ";" then we assume it to be the separator
15029 # otherwise default to the standard path separator (i.e. ":") - it is
15030 # assumed that no part of a normal pathname contains ";" but that should
15031 # okay in the real world where ";" in dirpaths is itself problematic.
15032 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15034 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15037 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15039 need_lib_prefix
=unknown
15040 hardcode_into_libs
=no
15042 # when you set need_version to no, make sure it does not cause -set_version
15043 # flags to be left without arguments
15044 need_version
=unknown
15049 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15050 shlibpath_var
=LIBPATH
15052 # AIX 3 has no versioning support, so we append a major version to the name.
15053 soname_spec
='${libname}${release}${shared_ext}$major'
15060 hardcode_into_libs
=yes
15061 if test "$host_cpu" = ia64
; then
15062 # AIX 5 supports IA64
15063 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15064 shlibpath_var
=LD_LIBRARY_PATH
15066 # With GCC up to 2.95.x, collect2 would create an import file
15067 # for dependence libraries. The import file would start with
15068 # the line `#! .'. This would cause the generated library to
15069 # depend on `.', always an invalid library. This was fixed in
15070 # development snapshots of GCC prior to 3.0.
15072 aix4 | aix4.
[01] | aix4.
[01].
*)
15073 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15075 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15078 can_build_shared
=no
15082 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15083 # soname into executable. Probably we can add versioning support to
15084 # collect2, so additional links can be useful in future.
15085 if test "$aix_use_runtimelinking" = yes; then
15086 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15087 # instead of lib<name>.a to let people know that these are not
15088 # typical AIX shared libraries.
15089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15091 # We preserve .a as extension for shared libraries through AIX4.2
15092 # and later when we are not doing run time linking.
15093 library_names_spec
='${libname}${release}.a $libname.a'
15094 soname_spec
='${libname}${release}${shared_ext}$major'
15096 shlibpath_var
=LIBPATH
15101 library_names_spec
='$libname.ixlibrary $libname.a'
15102 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15103 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'
15107 library_names_spec
='${libname}${shared_ext}'
15108 dynamic_linker
="$host_os ld.so"
15109 shlibpath_var
=LIBRARY_PATH
15115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15116 soname_spec
='${libname}${release}${shared_ext}$major'
15117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15118 shlibpath_var
=LD_LIBRARY_PATH
15119 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15120 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15121 # the default ld.so.conf also contains /usr/contrib/lib and
15122 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15123 # libtool to hard-code these into programs
15126 cygwin
* | mingw
* | pw32
*)
15127 version_type
=windows
15132 case $GCC,$host_os in
15133 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15134 library_names_spec
='$libname.dll.a'
15135 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15136 postinstall_cmds
='base_file=`basename \${file}`~
15137 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15138 dldir=$destdir/`dirname \$dlpath`~
15139 test -d \$dldir || mkdir -p \$dldir~
15140 $install_prog $dir/$dlname \$dldir/$dlname~
15141 chmod a+x \$dldir/$dlname'
15142 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15143 dlpath=$dir/\$dldll~
15145 shlibpath_overrides_runpath
=yes
15149 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15150 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15151 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15154 # MinGW DLLs use traditional 'lib' prefix
15155 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15156 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15157 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15158 # It is most probably a Windows format PATH printed by
15159 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15160 # path with ; separators, and with drive letters. We can handle the
15161 # drive letters (cygwin fileutils understands them), so leave them,
15162 # especially as we might pass files found there to a mingw objdump,
15163 # which wouldn't understand a cygwinified path. Ahh.
15164 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15166 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15170 # pw32 DLLs use 'pw' prefix rather than 'lib'
15171 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15177 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15180 dynamic_linker
='Win32 ld.exe'
15181 # FIXME: first we should search . and the directory the executable is in
15185 darwin
* | rhapsody
*)
15186 dynamic_linker
="$host_os dyld"
15187 version_type
=darwin
15190 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15191 soname_spec
='${libname}${release}${major}$shared_ext'
15192 shlibpath_overrides_runpath
=yes
15193 shlibpath_var
=DYLD_LIBRARY_PATH
15194 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15195 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15196 if test "$GCC" = yes; then
15197 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15199 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15201 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 shlibpath_var
=LD_LIBRARY_PATH
15217 freebsd
* | dragonfly
*)
15218 # DragonFly does not have aout. When/if they implement a new
15219 # versioning mechanism, adjust this.
15220 if test -x /usr
/bin
/objformat
; then
15221 objformat
=`/usr/bin/objformat`
15224 freebsd
[123]*) objformat
=aout
;;
15225 *) objformat
=elf
;;
15228 version_type
=freebsd-
$objformat
15229 case $version_type in
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15240 shlibpath_var
=LD_LIBRARY_PATH
15243 shlibpath_overrides_runpath
=yes
15245 freebsd3.
[01]* | freebsdelf3.
[01]*)
15246 shlibpath_overrides_runpath
=yes
15247 hardcode_into_libs
=yes
15249 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15250 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15251 shlibpath_overrides_runpath
=no
15252 hardcode_into_libs
=yes
15254 freebsd
*) # from 4.6 on
15255 shlibpath_overrides_runpath
=yes
15256 hardcode_into_libs
=yes
15265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15266 soname_spec
='${libname}${release}${shared_ext}$major'
15267 shlibpath_var
=LD_LIBRARY_PATH
15268 hardcode_into_libs
=yes
15271 hpux9
* | hpux10
* | hpux11
*)
15272 # Give a soname corresponding to the major version so that dld.sl refuses to
15273 # link against other versions.
15280 hardcode_into_libs
=yes
15281 dynamic_linker
="$host_os dld.so"
15282 shlibpath_var
=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15285 soname_spec
='${libname}${release}${shared_ext}$major'
15286 if test "X$HPUX_IA64_MODE" = X32
; then
15287 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15289 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15291 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15295 hardcode_into_libs
=yes
15296 dynamic_linker
="$host_os dld.sl"
15297 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15298 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300 soname_spec
='${libname}${release}${shared_ext}$major'
15301 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15302 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15306 dynamic_linker
="$host_os dld.sl"
15307 shlibpath_var
=SHLIB_PATH
15308 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec
='${libname}${release}${shared_ext}$major'
15313 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15314 postinstall_cmds
='chmod 555 $lib'
15321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15322 soname_spec
='${libname}${release}${shared_ext}$major'
15323 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15324 shlibpath_var
=LD_LIBRARY_PATH
15325 shlibpath_overrides_runpath
=no
15326 hardcode_into_libs
=yes
15329 irix5
* | irix6
* | nonstopux
*)
15331 nonstopux
*) version_type
=nonstopux
;;
15333 if test "$lt_cv_prog_gnu_ld" = yes; then
15341 soname_spec
='${libname}${release}${shared_ext}$major'
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15344 irix5
* | nonstopux
*)
15345 libsuff
= shlibsuff
=
15348 case $LD in # libtool.m4 will add one of these switches to LD
15349 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15350 libsuff
= shlibsuff
= libmagic
=32-bit;;
15351 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15352 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15353 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15354 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15355 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15359 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15360 shlibpath_overrides_runpath
=no
15361 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15362 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15363 hardcode_into_libs
=yes
15366 # No shared lib support for Linux oldld, aout, or coff.
15367 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15371 # This must be Linux ELF.
15372 linux
* | k
*bsd
*-gnu)
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15377 soname_spec
='${libname}${release}${shared_ext}$major'
15378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15379 shlibpath_var
=LD_LIBRARY_PATH
15380 shlibpath_overrides_runpath
=no
15381 # This implies no fast_install, which is unacceptable.
15382 # Some rework will be needed to allow for fast_install
15383 # before this can be enabled.
15384 hardcode_into_libs
=yes
15386 # Append ld.so.conf contents to the search path
15387 if test -f /etc
/ld.so.conf
; then
15388 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15389 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15392 # We used to test for /lib/ld.so.1 and disable shared libraries on
15393 # powerpc, because MkLinux only supported shared libraries with the
15394 # GNU dynamic linker. Since this was broken with cross compilers,
15395 # most powerpc-linux boxes support dynamic linking these days and
15396 # people can always --disable-shared, the test was removed, and we
15397 # assume the GNU/Linux dynamic linker is in use.
15398 dynamic_linker
='GNU/Linux ld.so'
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15406 soname_spec
='${libname}${release}${shared_ext}$major'
15407 shlibpath_var
=LD_LIBRARY_PATH
15408 shlibpath_overrides_runpath
=no
15409 hardcode_into_libs
=yes
15410 dynamic_linker
='NetBSD ld.elf_so'
15417 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15420 dynamic_linker
='NetBSD (a.out) ld.so'
15422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15423 soname_spec
='${libname}${release}${shared_ext}$major'
15424 dynamic_linker
='NetBSD ld.elf_so'
15426 shlibpath_var
=LD_LIBRARY_PATH
15427 shlibpath_overrides_runpath
=yes
15428 hardcode_into_libs
=yes
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15434 shlibpath_var
=LD_LIBRARY_PATH
15435 shlibpath_overrides_runpath
=yes
15442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15443 soname_spec
='${libname}${release}${shared_ext}$major'
15444 shlibpath_var
=LD_LIBRARY_PATH
15445 shlibpath_overrides_runpath
=yes
15450 sys_lib_dlsearch_path_spec
="/usr/lib"
15452 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15454 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15455 *) need_version
=no
;;
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15458 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15459 shlibpath_var
=LD_LIBRARY_PATH
15460 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15462 openbsd2.
[89] | openbsd2.
[89].
*)
15463 shlibpath_overrides_runpath
=no
15466 shlibpath_overrides_runpath
=yes
15470 shlibpath_overrides_runpath
=yes
15475 libname_spec
='$name'
15478 library_names_spec
='$libname${shared_ext} $libname.a'
15479 dynamic_linker
='OS/2 ld.exe'
15480 shlibpath_var
=LIBPATH
15483 osf3
* | osf4
* | osf5
*)
15487 soname_spec
='${libname}${release}${shared_ext}$major'
15488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15489 shlibpath_var
=LD_LIBRARY_PATH
15490 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15491 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15499 soname_spec
='${libname}${release}${shared_ext}$major'
15500 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=yes
15502 hardcode_into_libs
=yes
15503 # ldd complains unless libraries are executable
15504 postinstall_cmds
='chmod +x $lib'
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15510 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15511 shlibpath_var
=LD_LIBRARY_PATH
15512 shlibpath_overrides_runpath
=yes
15513 if test "$with_gnu_ld" = yes; then
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 case $host_vendor in
15526 shlibpath_overrides_runpath
=no
15528 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15529 runpath_var
=LD_RUN_PATH
15537 shlibpath_overrides_runpath
=no
15538 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15544 if test -d /usr
/nec
;then
15546 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15547 soname_spec
='$libname${shared_ext}.$major'
15548 shlibpath_var
=LD_LIBRARY_PATH
15552 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15553 version_type
=freebsd-elf
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15557 soname_spec
='${libname}${release}${shared_ext}$major'
15558 shlibpath_var
=LD_LIBRARY_PATH
15559 hardcode_into_libs
=yes
15560 if test "$with_gnu_ld" = yes; then
15561 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15562 shlibpath_overrides_runpath
=no
15564 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15565 shlibpath_overrides_runpath
=yes
15568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15572 sys_lib_dlsearch_path_spec
='/usr/lib'
15577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15578 soname_spec
='${libname}${release}${shared_ext}$major'
15579 shlibpath_var
=LD_LIBRARY_PATH
15586 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15587 echo "${ECHO_T}$dynamic_linker" >&6; }
15588 test "$dynamic_linker" = no
&& can_build_shared
=no
15590 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15591 if test "$GCC" = yes; then
15592 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15595 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15596 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15597 hardcode_action_F77
=
15598 if test -n "$hardcode_libdir_flag_spec_F77" || \
15599 test -n "$runpath_var_F77" || \
15600 test "X$hardcode_automatic_F77" = "Xyes" ; then
15602 # We can hardcode non-existant directories.
15603 if test "$hardcode_direct_F77" != no
&&
15604 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15605 # have to relink, otherwise we might link with an installed library
15606 # when we should be linking with a yet-to-be-installed one
15607 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15608 test "$hardcode_minus_L_F77" != no
; then
15609 # Linking always hardcodes the temporary library directory.
15610 hardcode_action_F77
=relink
15612 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15613 hardcode_action_F77
=immediate
15616 # We cannot hardcode anything, or else we can only hardcode existing
15618 hardcode_action_F77
=unsupported
15620 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15621 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15623 if test "$hardcode_action_F77" = relink
; then
15624 # Fast installation is not supported
15625 enable_fast_install
=no
15626 elif test "$shlibpath_overrides_runpath" = yes ||
15627 test "$enable_shared" = no
; then
15628 # Fast installation is not necessary
15629 enable_fast_install
=needless
15633 # The else clause should only fire when bootstrapping the
15634 # libtool distribution, otherwise you forgot to ship ltmain.sh
15635 # with your package, and you will get complaints that there are
15636 # no rules to generate ltmain.sh.
15637 if test -f "$ltmain"; then
15638 # See if we are running on zsh, and set the options which allow our commands through
15639 # without removal of \ escapes.
15640 if test -n "${ZSH_VERSION+set}" ; then
15641 setopt NO_GLOB_SUBST
15643 # Now quote all the things that may contain metacharacters while being
15644 # careful not to overquote the AC_SUBSTed values. We take copies of the
15645 # variables and quote the copies for generation of the libtool script.
15646 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15648 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15649 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15650 deplibs_check_method reload_flag reload_cmds need_locks \
15651 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15652 lt_cv_sys_global_symbol_to_c_name_address \
15653 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15654 old_postinstall_cmds old_postuninstall_cmds \
15658 lt_prog_compiler_wl_F77 \
15659 lt_prog_compiler_pic_F77 \
15660 lt_prog_compiler_static_F77 \
15661 lt_prog_compiler_no_builtin_flag_F77 \
15662 export_dynamic_flag_spec_F77 \
15663 thread_safe_flag_spec_F77 \
15664 whole_archive_flag_spec_F77 \
15665 enable_shared_with_static_runtimes_F77 \
15666 old_archive_cmds_F77 \
15667 old_archive_from_new_cmds_F77 \
15668 predep_objects_F77 \
15669 postdep_objects_F77 \
15672 compiler_lib_search_path_F77 \
15674 archive_expsym_cmds_F77 \
15675 postinstall_cmds_F77 \
15676 postuninstall_cmds_F77 \
15677 old_archive_from_expsyms_cmds_F77 \
15678 allow_undefined_flag_F77 \
15679 no_undefined_flag_F77 \
15680 export_symbols_cmds_F77 \
15681 hardcode_libdir_flag_spec_F77 \
15682 hardcode_libdir_flag_spec_ld_F77 \
15683 hardcode_libdir_separator_F77 \
15684 hardcode_automatic_F77 \
15686 module_expsym_cmds_F77 \
15687 lt_cv_prog_compiler_c_o_F77 \
15688 exclude_expsyms_F77 \
15689 include_expsyms_F77
; do
15692 old_archive_cmds_F77 | \
15693 old_archive_from_new_cmds_F77 | \
15694 archive_cmds_F77 | \
15695 archive_expsym_cmds_F77 | \
15696 module_cmds_F77 | \
15697 module_expsym_cmds_F77 | \
15698 old_archive_from_expsyms_cmds_F77 | \
15699 export_symbols_cmds_F77 | \
15700 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15701 postinstall_cmds | postuninstall_cmds | \
15702 old_postinstall_cmds | old_postuninstall_cmds | \
15703 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15704 # Double-quote double-evaled strings.
15705 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15708 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15714 *'\$0 --fallback-echo"')
15715 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15721 cat <<__EOF__ >> "$cfgfile"
15722 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15724 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15726 # Shell to use when invoking shell scripts.
15729 # Whether or not to build shared libraries.
15730 build_libtool_libs=$enable_shared
15732 # Whether or not to build static libraries.
15733 build_old_libs=$enable_static
15735 # Whether or not to add -lc for building shared libraries.
15736 build_libtool_need_lc=$archive_cmds_need_lc_F77
15738 # Whether or not to disallow shared libs when runtime libs are static
15739 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15741 # Whether or not to optimize for fast installation.
15742 fast_install=$enable_fast_install
15745 host_alias=$host_alias
15749 # The build system.
15750 build_alias=$build_alias
15754 # An echo program that does not interpret backslashes.
15759 AR_FLAGS=$lt_AR_FLAGS
15764 # LTCC compiler flags.
15765 LTCFLAGS=$lt_LTCFLAGS
15767 # A language-specific compiler.
15768 CC=$lt_compiler_F77
15770 # Is the compiler the GNU C compiler?
15776 # The linker used to build libraries.
15779 # Whether we need hard or soft links.
15782 # A BSD-compatible nm program.
15785 # A symbol stripping program
15788 # Used to examine libraries when file_magic_cmd begins "file"
15789 MAGIC_CMD=$MAGIC_CMD
15791 # Used on cygwin: DLL creation program.
15794 # Used on cygwin: object dumper.
15797 # Used on cygwin: assembler.
15800 # The name of the directory that contains temporary libtool files.
15803 # How to create reloadable object files.
15804 reload_flag=$lt_reload_flag
15805 reload_cmds=$lt_reload_cmds
15807 # How to pass a linker flag through the compiler.
15808 wl=$lt_lt_prog_compiler_wl_F77
15810 # Object file suffix (normally "o").
15811 objext="$ac_objext"
15813 # Old archive suffix (normally "a").
15816 # Shared library suffix (normally ".so").
15817 shrext_cmds='$shrext_cmds'
15819 # Executable file suffix (normally "").
15822 # Additional compiler flags for building library objects.
15823 pic_flag=$lt_lt_prog_compiler_pic_F77
15826 # What is the maximum length of a command?
15827 max_cmd_len=$lt_cv_sys_max_cmd_len
15829 # Does compiler simultaneously support -c and -o options?
15830 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15832 # Must we lock files when doing compilation?
15833 need_locks=$lt_need_locks
15835 # Do we need the lib prefix for modules?
15836 need_lib_prefix=$need_lib_prefix
15838 # Do we need a version for libraries?
15839 need_version=$need_version
15841 # Whether dlopen is supported.
15842 dlopen_support=$enable_dlopen
15844 # Whether dlopen of programs is supported.
15845 dlopen_self=$enable_dlopen_self
15847 # Whether dlopen of statically linked programs is supported.
15848 dlopen_self_static=$enable_dlopen_self_static
15850 # Compiler flag to prevent dynamic linking.
15851 link_static_flag=$lt_lt_prog_compiler_static_F77
15853 # Compiler flag to turn off builtin functions.
15854 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15856 # Compiler flag to allow reflexive dlopens.
15857 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15859 # Compiler flag to generate shared objects directly from archives.
15860 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15862 # Compiler flag to generate thread-safe objects.
15863 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15865 # Library versioning type.
15866 version_type=$version_type
15868 # Format of library name prefix.
15869 libname_spec=$lt_libname_spec
15871 # List of archive names. First name is the real one, the rest are links.
15872 # The last name is the one that the linker finds with -lNAME.
15873 library_names_spec=$lt_library_names_spec
15875 # The coded name of the library, if different from the real name.
15876 soname_spec=$lt_soname_spec
15878 # Commands used to build and install an old-style archive.
15880 old_archive_cmds=$lt_old_archive_cmds_F77
15881 old_postinstall_cmds=$lt_old_postinstall_cmds
15882 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15884 # Create an old-style archive from a shared archive.
15885 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15887 # Create a temporary old-style archive to link instead of a shared archive.
15888 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15890 # Commands used to build and install a shared archive.
15891 archive_cmds=$lt_archive_cmds_F77
15892 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15893 postinstall_cmds=$lt_postinstall_cmds
15894 postuninstall_cmds=$lt_postuninstall_cmds
15896 # Commands used to build a loadable module (assumed same as above if empty)
15897 module_cmds=$lt_module_cmds_F77
15898 module_expsym_cmds=$lt_module_expsym_cmds_F77
15900 # Commands to strip libraries.
15901 old_striplib=$lt_old_striplib
15902 striplib=$lt_striplib
15904 # Dependencies to place before the objects being linked to create a
15906 predep_objects=$lt_predep_objects_F77
15908 # Dependencies to place after the objects being linked to create a
15910 postdep_objects=$lt_postdep_objects_F77
15912 # Dependencies to place before the objects being linked to create a
15914 predeps=$lt_predeps_F77
15916 # Dependencies to place after the objects being linked to create a
15918 postdeps=$lt_postdeps_F77
15920 # The library search path used internally by the compiler when linking
15921 # a shared library.
15922 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15924 # Method to check whether dependent libraries are shared objects.
15925 deplibs_check_method=$lt_deplibs_check_method
15927 # Command to use when deplibs_check_method == file_magic.
15928 file_magic_cmd=$lt_file_magic_cmd
15930 # Flag that allows shared libraries with undefined symbols to be built.
15931 allow_undefined_flag=$lt_allow_undefined_flag_F77
15933 # Flag that forces no undefined symbols.
15934 no_undefined_flag=$lt_no_undefined_flag_F77
15936 # Commands used to finish a libtool library installation in a directory.
15937 finish_cmds=$lt_finish_cmds
15939 # Same as above, but a single script fragment to be evaled but not shown.
15940 finish_eval=$lt_finish_eval
15942 # Take the output of nm and produce a listing of raw symbols and C names.
15943 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15945 # Transform the output of nm in a proper C declaration
15946 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15948 # Transform the output of nm in a C name address pair
15949 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15951 # This is the shared library runtime path variable.
15952 runpath_var=$runpath_var
15954 # This is the shared library path variable.
15955 shlibpath_var=$shlibpath_var
15957 # Is shlibpath searched before the hard-coded library search path?
15958 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15960 # How to hardcode a shared library path into an executable.
15961 hardcode_action=$hardcode_action_F77
15963 # Whether we should hardcode library paths into libraries.
15964 hardcode_into_libs=$hardcode_into_libs
15966 # Flag to hardcode \$libdir into a binary during linking.
15967 # This must work even if \$libdir does not exist.
15968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15970 # If ld is used when linking, flag to hardcode \$libdir into
15971 # a binary during linking. This must work even if \$libdir does
15973 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15975 # Whether we need a single -rpath flag with a separated argument.
15976 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15978 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15979 # resulting binary.
15980 hardcode_direct=$hardcode_direct_F77
15982 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15983 # resulting binary.
15984 hardcode_minus_L=$hardcode_minus_L_F77
15986 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15987 # the resulting binary.
15988 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15990 # Set to yes if building a shared library automatically hardcodes DIR into the library
15991 # and all subsequent libraries and executables linked against it.
15992 hardcode_automatic=$hardcode_automatic_F77
15994 # Variables whose values should be saved in libtool wrapper scripts and
15995 # restored at relink time.
15996 variables_saved_for_relink="$variables_saved_for_relink"
15998 # Whether libtool must link a program against all its dependency libraries.
15999 link_all_deplibs=$link_all_deplibs_F77
16001 # Compile-time system search path for libraries
16002 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16004 # Run-time system search path for libraries
16005 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16007 # Fix the shell variable \$srcfile for the compiler.
16008 fix_srcfile_path="$fix_srcfile_path_F77"
16010 # Set to yes if exported symbols are required.
16011 always_export_symbols=$always_export_symbols_F77
16013 # The commands to list exported symbols.
16014 export_symbols_cmds=$lt_export_symbols_cmds_F77
16016 # The commands to extract the exported symbol list from a shared archive.
16017 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16019 # Symbols that should not be listed in the preloaded symbols.
16020 exclude_expsyms=$lt_exclude_expsyms_F77
16022 # Symbols that must always be exported.
16023 include_expsyms=$lt_include_expsyms_F77
16025 # ### END LIBTOOL TAG CONFIG: $tagname
16031 # If there is no Makefile yet, we rely on a make rule to execute
16032 # `config.status --recheck' to rerun these tests and create the
16033 # libtool script then.
16034 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16035 if test -f "$ltmain_in"; then
16036 test -f Makefile
&& make "$ltmain"
16042 ac_cpp
='$CPP $CPPFLAGS'
16043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16055 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16058 # Source file extension for Java test sources.
16061 # Object file extension for compiled Java test sources.
16065 # Code to be used in simple compile tests
16066 lt_simple_compile_test_code
="class foo {}\n"
16068 # Code to be used in simple link tests
16069 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16071 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16073 # If no C compiler was specified, use CC.
16076 # If no C compiler flags were specified, use CFLAGS.
16077 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16079 # Allow CC to be a program name with arguments.
16083 # save warnings/boilerplate of simple test code
16084 ac_outfile
=conftest.
$ac_objext
16085 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16086 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16087 _lt_compiler_boilerplate
=`cat conftest.err`
16090 ac_outfile
=conftest.
$ac_objext
16091 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16092 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16093 _lt_linker_boilerplate
=`cat conftest.err`
16097 # Allow CC to be a program name with arguments.
16102 for cc_temp
in $compiler""; do
16104 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16105 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16110 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16113 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16114 archive_cmds_need_lc_GCJ
=no
16116 old_archive_cmds_GCJ
=$old_archive_cmds
16119 lt_prog_compiler_no_builtin_flag_GCJ
=
16121 if test "$GCC" = yes; then
16122 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16125 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16126 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16127 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 lt_cv_prog_compiler_rtti_exceptions
=no
16131 ac_outfile
=conftest.
$ac_objext
16132 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16133 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16134 # Insert the option either (1) after the last *FLAGS variable, or
16135 # (2) before a word containing "conftest.", or (3) at the end.
16136 # Note that $ac_compile itself does not contain backslashes and begins
16137 # with a dollar sign (not a hyphen), so the echo should work correctly.
16138 # The option is referenced via a variable to avoid confusing sed.
16139 lt_compile
=`echo "$ac_compile" | $SED \
16140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16142 -e 's:$: $lt_compiler_flag:'`
16143 (eval echo "\"\$as_me:16143: $lt_compile\"" >&5)
16144 (eval "$lt_compile" 2>conftest.err
)
16146 cat conftest.err
>&5
16147 echo "$as_me:16147: \$? = $ac_status" >&5
16148 if (exit $ac_status) && test -s "$ac_outfile"; then
16149 # The compiler can only warn and ignore the option if not recognized
16150 # So say no if there are warnings other than the usual output.
16151 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16152 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16153 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16154 lt_cv_prog_compiler_rtti_exceptions
=yes
16160 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16161 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16163 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16164 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16171 lt_prog_compiler_wl_GCJ
=
16172 lt_prog_compiler_pic_GCJ
=
16173 lt_prog_compiler_static_GCJ
=
16175 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16176 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16178 if test "$GCC" = yes; then
16179 lt_prog_compiler_wl_GCJ
='-Wl,'
16180 lt_prog_compiler_static_GCJ
='-static'
16184 # All AIX code is PIC.
16185 if test "$host_cpu" = ia64
; then
16186 # AIX 5 now supports IA64 processor
16187 lt_prog_compiler_static_GCJ
='-Bstatic'
16192 # FIXME: we need at least 68020 code to build shared libraries, but
16193 # adding the `-m68020' flag to GCC prevents building anything better,
16195 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16198 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16199 # PIC is the default for these OSes.
16202 mingw
* | pw32
* | os2
*)
16203 # This hack is so that the source file can tell whether it is being
16204 # built for inclusion in a dll (and should export symbols for example).
16205 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16208 darwin
* | rhapsody
*)
16209 # PIC is the default on this platform
16210 # Common symbols not allowed in MH_DYLIB files
16211 lt_prog_compiler_pic_GCJ
='-fno-common'
16215 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16216 # Instead, we relocate shared libraries at runtime.
16220 # Just because we use GCC doesn't mean we suddenly get shared libraries
16221 # on systems that don't support them.
16222 lt_prog_compiler_can_build_shared_GCJ
=no
16227 if test -d /usr
/nec
; then
16228 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16233 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16234 # not for PA HP-UX.
16240 lt_prog_compiler_pic_GCJ
='-fPIC'
16246 lt_prog_compiler_pic_GCJ
='-fPIC'
16250 # PORTME Check for flag to pass linker flags through the system compiler.
16253 lt_prog_compiler_wl_GCJ
='-Wl,'
16254 if test "$host_cpu" = ia64
; then
16255 # AIX 5 now supports IA64 processor
16256 lt_prog_compiler_static_GCJ
='-Bstatic'
16258 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16262 # PIC is the default on this platform
16263 # Common symbols not allowed in MH_DYLIB files
16264 case $cc_basename in
16266 lt_prog_compiler_pic_GCJ
='-qnocommon'
16267 lt_prog_compiler_wl_GCJ
='-Wl,'
16272 mingw
* | pw32
* | os2
*)
16273 # This hack is so that the source file can tell whether it is being
16274 # built for inclusion in a dll (and should export symbols for example).
16275 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16278 hpux9
* | hpux10
* | hpux11
*)
16279 lt_prog_compiler_wl_GCJ
='-Wl,'
16280 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16281 # not for PA HP-UX.
16287 lt_prog_compiler_pic_GCJ
='+Z'
16290 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16291 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16294 irix5
* | irix6
* | nonstopux
*)
16295 lt_prog_compiler_wl_GCJ
='-Wl,'
16296 # PIC (with -KPIC) is the default.
16297 lt_prog_compiler_static_GCJ
='-non_shared'
16301 lt_prog_compiler_pic_GCJ
='-KPIC'
16302 lt_prog_compiler_static_GCJ
='-Bstatic'
16305 linux
* | k
*bsd
*-gnu)
16306 case $cc_basename in
16308 lt_prog_compiler_wl_GCJ
='-Wl,'
16309 lt_prog_compiler_pic_GCJ
='-KPIC'
16310 lt_prog_compiler_static_GCJ
='-static'
16312 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16313 # Portland Group compilers (*not* the Pentium gcc compiler,
16314 # which looks to be a dead project)
16315 lt_prog_compiler_wl_GCJ
='-Wl,'
16316 lt_prog_compiler_pic_GCJ
='-fpic'
16317 lt_prog_compiler_static_GCJ
='-Bstatic'
16320 lt_prog_compiler_wl_GCJ
='-Wl,'
16321 # All Alpha code is PIC.
16322 lt_prog_compiler_static_GCJ
='-non_shared'
16327 osf3
* | osf4
* | osf5
*)
16328 lt_prog_compiler_wl_GCJ
='-Wl,'
16329 # All OSF/1 code is PIC.
16330 lt_prog_compiler_static_GCJ
='-non_shared'
16334 lt_prog_compiler_pic_GCJ
='-KPIC'
16335 lt_prog_compiler_static_GCJ
='-Bstatic'
16336 case $cc_basename in
16337 f77
* | f90
* | f95
*)
16338 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16340 lt_prog_compiler_wl_GCJ
='-Wl,';;
16345 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16346 lt_prog_compiler_pic_GCJ
='-PIC'
16347 lt_prog_compiler_static_GCJ
='-Bstatic'
16350 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16351 lt_prog_compiler_wl_GCJ
='-Wl,'
16352 lt_prog_compiler_pic_GCJ
='-KPIC'
16353 lt_prog_compiler_static_GCJ
='-Bstatic'
16357 if test -d /usr
/nec
;then
16358 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16359 lt_prog_compiler_static_GCJ
='-Bstatic'
16363 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16364 lt_prog_compiler_wl_GCJ
='-Wl,'
16365 lt_prog_compiler_pic_GCJ
='-KPIC'
16366 lt_prog_compiler_static_GCJ
='-Bstatic'
16370 lt_prog_compiler_wl_GCJ
='-Wl,'
16371 lt_prog_compiler_can_build_shared_GCJ
=no
16375 lt_prog_compiler_pic_GCJ
='-pic'
16376 lt_prog_compiler_static_GCJ
='-Bstatic'
16380 lt_prog_compiler_can_build_shared_GCJ
=no
16385 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16386 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16389 # Check to make sure the PIC flag actually works.
16391 if test -n "$lt_prog_compiler_pic_GCJ"; then
16393 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16394 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16395 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 lt_prog_compiler_pic_works_GCJ
=no
16399 ac_outfile
=conftest.
$ac_objext
16400 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16401 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16402 # Insert the option either (1) after the last *FLAGS variable, or
16403 # (2) before a word containing "conftest.", or (3) at the end.
16404 # Note that $ac_compile itself does not contain backslashes and begins
16405 # with a dollar sign (not a hyphen), so the echo should work correctly.
16406 # The option is referenced via a variable to avoid confusing sed.
16407 lt_compile
=`echo "$ac_compile" | $SED \
16408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16410 -e 's:$: $lt_compiler_flag:'`
16411 (eval echo "\"\$as_me:16411: $lt_compile\"" >&5)
16412 (eval "$lt_compile" 2>conftest.err
)
16414 cat conftest.err
>&5
16415 echo "$as_me:16415: \$? = $ac_status" >&5
16416 if (exit $ac_status) && test -s "$ac_outfile"; then
16417 # The compiler can only warn and ignore the option if not recognized
16418 # So say no if there are warnings other than the usual output.
16419 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16420 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16421 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16422 lt_prog_compiler_pic_works_GCJ
=yes
16428 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16429 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16431 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16432 case $lt_prog_compiler_pic_GCJ in
16434 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16437 lt_prog_compiler_pic_GCJ
=
16438 lt_prog_compiler_can_build_shared_GCJ
=no
16443 # For platforms which do not support PIC, -DPIC is meaningless:
16445 lt_prog_compiler_pic_GCJ
=
16448 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16453 # Check to make sure the static flag actually works.
16455 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16456 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16457 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16458 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 lt_prog_compiler_static_works_GCJ
=no
16462 save_LDFLAGS
="$LDFLAGS"
16463 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16464 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16465 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16466 # The linker can only warn and ignore the option if not recognized
16467 # So say no if there are warnings
16468 if test -s conftest.err
; then
16469 # Append any errors to the config.log.
16470 cat conftest.err
1>&5
16471 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16472 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16473 if diff conftest.exp conftest.er2
>/dev
/null
; then
16474 lt_prog_compiler_static_works_GCJ
=yes
16477 lt_prog_compiler_static_works_GCJ
=yes
16481 LDFLAGS
="$save_LDFLAGS"
16484 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16485 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16487 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16490 lt_prog_compiler_static_GCJ
=
16494 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16495 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16496 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 lt_cv_prog_compiler_c_o_GCJ
=no
16500 $rm -r conftest
2>/dev
/null
16504 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16506 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16507 # Insert the option either (1) after the last *FLAGS variable, or
16508 # (2) before a word containing "conftest.", or (3) at the end.
16509 # Note that $ac_compile itself does not contain backslashes and begins
16510 # with a dollar sign (not a hyphen), so the echo should work correctly.
16511 lt_compile
=`echo "$ac_compile" | $SED \
16512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16514 -e 's:$: $lt_compiler_flag:'`
16515 (eval echo "\"\$as_me:16515: $lt_compile\"" >&5)
16516 (eval "$lt_compile" 2>out
/conftest.err
)
16518 cat out
/conftest.err
>&5
16519 echo "$as_me:16519: \$? = $ac_status" >&5
16520 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16522 # The compiler can only warn and ignore the option if not recognized
16523 # So say no if there are warnings
16524 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16525 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16526 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16527 lt_cv_prog_compiler_c_o_GCJ
=yes
16532 # SGI C++ compiler will create directory out/ii_files/ for
16533 # template instantiation
16534 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16535 $rm out
/* && rmdir out
16541 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16542 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16545 hard_links
="nottested"
16546 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16547 # do not overwrite the value of need_locks provided by the user
16548 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16549 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16552 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16554 ln conftest.a conftest.b
2>&5 || hard_links
=no
16555 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16556 { echo "$as_me:$LINENO: result: $hard_links" >&5
16557 echo "${ECHO_T}$hard_links" >&6; }
16558 if test "$hard_links" = no
; then
16559 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16560 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16567 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16568 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16571 allow_undefined_flag_GCJ
=
16572 enable_shared_with_static_runtimes_GCJ
=no
16574 archive_expsym_cmds_GCJ
=
16575 old_archive_From_new_cmds_GCJ
=
16576 old_archive_from_expsyms_cmds_GCJ
=
16577 export_dynamic_flag_spec_GCJ
=
16578 whole_archive_flag_spec_GCJ
=
16579 thread_safe_flag_spec_GCJ
=
16580 hardcode_libdir_flag_spec_GCJ
=
16581 hardcode_libdir_flag_spec_ld_GCJ
=
16582 hardcode_libdir_separator_GCJ
=
16583 hardcode_direct_GCJ
=no
16584 hardcode_minus_L_GCJ
=no
16585 hardcode_shlibpath_var_GCJ
=unsupported
16586 link_all_deplibs_GCJ
=unknown
16587 hardcode_automatic_GCJ
=no
16589 module_expsym_cmds_GCJ
=
16590 always_export_symbols_GCJ
=no
16591 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16592 # include_expsyms should be a list of space-separated symbols to be *always*
16593 # included in the symbol list
16594 include_expsyms_GCJ
=
16595 # exclude_expsyms can be an extended regexp of symbols to exclude
16596 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16597 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16598 # as well as any symbol that contains `d'.
16599 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16600 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16601 # platforms (ab)use it in PIC code, but their linkers get confused if
16602 # the symbol is explicitly referenced. Since portable code cannot
16603 # rely on this symbol name, it's probably fine to never include it in
16604 # preloaded symbol tables.
16605 extract_expsyms_cmds
=
16606 # Just being paranoid about ensuring that cc_basename is set.
16607 for cc_temp
in $compiler""; do
16609 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16610 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16615 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16618 cygwin
* | mingw
* | pw32
*)
16619 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16620 # When not using gcc, we currently assume that we are using
16621 # Microsoft Visual C++.
16622 if test "$GCC" != yes; then
16627 # we just hope/assume this is gcc and not c89 (= MSVC++)
16636 if test "$with_gnu_ld" = yes; then
16637 # If archive_cmds runs LD, not CC, wlarc should be empty
16640 # Set some defaults for GNU ld with shared library support. These
16641 # are reset later if shared libraries are not supported. Putting them
16642 # here allows them to be overridden if necessary.
16643 runpath_var
=LD_RUN_PATH
16644 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16645 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16646 # ancient GNU ld didn't support --whole-archive et. al.
16647 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16648 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16650 whole_archive_flag_spec_GCJ
=
16652 supports_anon_versioning
=no
16653 case `$LD -v 2>/dev/null` in
16654 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16655 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16656 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16657 *\
2.11.
*) ;; # other 2.11 versions
16658 *) supports_anon_versioning
=yes ;;
16661 # See if GNU ld supports shared libraries.
16663 aix3
* | aix4
* | aix5
*)
16664 # On AIX/PPC, the GNU linker is very broken
16665 if test "$host_cpu" != ia64
; then
16669 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16670 *** to be unable to reliably create shared libraries on AIX.
16671 *** Therefore, libtool is disabling shared libraries support. If you
16672 *** really care for shared libraries, you may want to modify your PATH
16673 *** so that a non-GNU linker is found, and then restart.
16680 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)'
16681 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16682 hardcode_minus_L_GCJ
=yes
16684 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16685 # that the semantics of dynamic libraries on AmigaOS, at least up
16686 # to version 4, is to share data among multiple programs linked
16687 # with the same dynamic library. Since this doesn't match the
16688 # behavior of shared libraries on other platforms, we can't use
16694 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16695 allow_undefined_flag_GCJ
=unsupported
16696 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16697 # support --undefined. This deserves some investigation. FIXME
16698 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16704 cygwin
* | mingw
* | pw32
*)
16705 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16706 # as there is no search path for DLLs.
16707 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16708 allow_undefined_flag_GCJ
=unsupported
16709 always_export_symbols_GCJ
=no
16710 enable_shared_with_static_runtimes_GCJ
=yes
16711 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16713 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16714 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16715 # If the export-symbols file already is a .def file (1st line
16716 # is EXPORTS), use it as is; otherwise, prepend...
16717 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16718 cp $export_symbols $output_objdir/$soname.def;
16720 echo EXPORTS > $output_objdir/$soname.def;
16721 cat $export_symbols >> $output_objdir/$soname.def;
16723 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16730 hardcode_direct_GCJ
=no
16731 hardcode_shlibpath_var_GCJ
=no
16732 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16733 export_dynamic_flag_spec_GCJ
='${wl}-E'
16734 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16735 # Instead, shared libraries are loaded at an image base (0x10000000 by
16736 # default) and relocated if they conflict, which is a slow very memory
16737 # consuming and fragmenting process. To avoid this, we pick a random,
16738 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16739 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16740 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'
16741 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'
16744 linux
* | k
*bsd
*-gnu)
16745 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16747 case $cc_basename,$host_cpu in
16748 pgcc
*) # Portland Group C compiler
16749 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'
16750 tmp_addflag
=' $pic_flag'
16752 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16753 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'
16754 tmp_addflag
=' $pic_flag -Mnomain' ;;
16755 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16756 tmp_addflag
=' -i_dynamic' ;;
16757 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16758 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16759 ifc
* | ifort
*) # Intel Fortran compiler
16760 tmp_addflag
=' -nofor_main' ;;
16762 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16764 if test $supports_anon_versioning = yes; then
16765 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16766 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16767 $echo "local: *; };" >> $output_objdir/$libname.ver~
16768 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16770 link_all_deplibs_GCJ
=no
16776 netbsd
* | netbsdelf
*-gnu)
16777 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16778 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16781 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16782 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16787 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16791 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16792 *** create shared libraries on Solaris systems. Therefore, libtool
16793 *** is disabling shared libraries support. We urge you to upgrade GNU
16794 *** binutils to release 2.9.1 or newer. Another option is to modify
16795 *** your PATH or compiler configuration so that the native linker is
16796 *** used, and then restart.
16799 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16800 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16801 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16807 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16808 case `$LD -v 2>&1` in
16809 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16813 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16814 *** reliably create shared libraries on SCO systems. Therefore, libtool
16815 *** is disabling shared libraries support. We urge you to upgrade GNU
16816 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16817 *** your PATH or compiler configuration so that the native linker is
16818 *** used, and then restart.
16823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16824 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16825 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16826 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16835 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16837 hardcode_direct_GCJ
=yes
16838 hardcode_shlibpath_var_GCJ
=no
16842 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16843 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16844 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16851 if test "$ld_shlibs_GCJ" = no
; then
16853 hardcode_libdir_flag_spec_GCJ
=
16854 export_dynamic_flag_spec_GCJ
=
16855 whole_archive_flag_spec_GCJ
=
16858 # PORTME fill in a description of your system's linker (not GNU ld)
16861 allow_undefined_flag_GCJ
=unsupported
16862 always_export_symbols_GCJ
=yes
16863 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'
16864 # Note: this linker hardcodes the directories in LIBPATH if there
16865 # are no directories specified by -L.
16866 hardcode_minus_L_GCJ
=yes
16867 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16868 # Neither direct hardcoding nor static linking is supported with a
16870 hardcode_direct_GCJ
=unsupported
16875 if test "$host_cpu" = ia64
; then
16876 # On IA64, the linker does run time linking by default, so we don't
16877 # have to do anything special.
16878 aix_use_runtimelinking
=no
16879 exp_sym_flag
='-Bexport'
16882 # If we're using GNU nm, then we don't want the "-C" option.
16883 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16884 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16885 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'
16887 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'
16889 aix_use_runtimelinking
=no
16891 # Test if we are trying to use run time linking or normal
16892 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16893 # need to do runtime linking.
16894 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16895 for ld_flag
in $LDFLAGS; do
16896 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16897 aix_use_runtimelinking
=yes
16904 exp_sym_flag
='-bexport'
16905 no_entry_flag
='-bnoentry'
16908 # When large executables or shared objects are built, AIX ld can
16909 # have problems creating the table of contents. If linking a library
16910 # or program results in "error TOC overflow" add -mminimal-toc to
16911 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16912 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16914 archive_cmds_GCJ
=''
16915 hardcode_direct_GCJ
=yes
16916 hardcode_libdir_separator_GCJ
=':'
16917 link_all_deplibs_GCJ
=yes
16919 if test "$GCC" = yes; then
16920 case $host_os in aix4.
[012]|aix4.
[012].
*)
16921 # We only want to do this on AIX 4.2 and lower, the check
16922 # below for broken collect2 doesn't work under 4.3+
16923 collect2name
=`${CC} -print-prog-name=collect2`
16924 if test -f "$collect2name" && \
16925 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16927 # We have reworked collect2
16928 hardcode_direct_GCJ
=yes
16930 # We have old collect2
16931 hardcode_direct_GCJ
=unsupported
16932 # It fails to find uninstalled libraries when the uninstalled
16933 # path is not listed in the libpath. Setting hardcode_minus_L
16934 # to unsupported forces relinking
16935 hardcode_minus_L_GCJ
=yes
16936 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16937 hardcode_libdir_separator_GCJ
=
16941 shared_flag
='-shared'
16942 if test "$aix_use_runtimelinking" = yes; then
16943 shared_flag
="$shared_flag "'${wl}-G'
16947 if test "$host_cpu" = ia64
; then
16948 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16949 # chokes on -Wl,-G. The following line is correct:
16952 if test "$aix_use_runtimelinking" = yes; then
16953 shared_flag
='${wl}-G'
16955 shared_flag
='${wl}-bM:SRE'
16960 # It seems that -bexpall does not export symbols beginning with
16961 # underscore (_), so it is better to generate a list of symbols to export.
16962 always_export_symbols_GCJ
=yes
16963 if test "$aix_use_runtimelinking" = yes; then
16964 # Warning - without using the other runtime loading flags (-brtl),
16965 # -berok will link without error, but may produce a broken library.
16966 allow_undefined_flag_GCJ
='-berok'
16967 # Determine the default libpath from the value encoded in an empty executable.
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16983 rm -f conftest.
$ac_objext conftest
$ac_exeext
16984 if { (ac_try
="$ac_link"
16985 case "(($ac_try" in
16986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16987 *) ac_try_echo=$ac_try;;
16989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16990 (eval "$ac_link") 2>conftest.er1
16992 grep -v '^ *+' conftest.er1 >conftest.err
16994 cat conftest.err >&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } && {
16997 test -z "$ac_c_werror_flag" ||
16998 test ! -s conftest.err
16999 } && test -s conftest$ac_exeext &&
17000 $as_test_x conftest$ac_exeext; then
17002 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17004 # Check for a 64-bit object if we didn't find anything.
17005 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17015 conftest$ac_exeext conftest.$ac_ext
17016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17018 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17019 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"
17021 if test "$host_cpu" = ia64; then
17022 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17023 allow_undefined_flag_GCJ="-z nodefs"
17024 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"
17026 # Determine the default libpath from the value encoded in an empty executable.
17027 cat >conftest.$ac_ext <<_ACEOF
17030 cat confdefs.h >>conftest.$ac_ext
17031 cat >>conftest.$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17042 rm -f conftest.$ac_objext conftest$ac_exeext
17043 if { (ac_try="$ac_link"
17044 case "(($ac_try" in
17045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17046 *) ac_try_echo
=$ac_try;;
17048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17049 (eval "$ac_link") 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } && {
17056 test -z "$ac_c_werror_flag" ||
17057 test ! -s conftest.err
17058 } && test -s conftest
$ac_exeext &&
17059 $as_test_x conftest
$ac_exeext; then
17061 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17063 # Check for a 64-bit object if we didn't find anything.
17064 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.
$ac_ext >&5
17073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17074 conftest
$ac_exeext conftest.
$ac_ext
17075 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17077 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17078 # Warning - without using the other run time loading flags,
17079 # -berok will link without error, but may produce a broken library.
17080 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17081 allow_undefined_flag_GCJ
=' ${wl}-berok'
17082 # Exported symbols can be pulled into shared objects from archives
17083 whole_archive_flag_spec_GCJ
='$convenience'
17084 archive_cmds_need_lc_GCJ
=yes
17085 # This is similar to how AIX traditionally builds its shared libraries.
17086 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'
17092 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)'
17093 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17094 hardcode_minus_L_GCJ
=yes
17095 # see comment about different semantics on the GNU ld section
17100 export_dynamic_flag_spec_GCJ
=-rdynamic
17103 cygwin
* | mingw
* | pw32
*)
17104 # When not using gcc, we currently assume that we are using
17105 # Microsoft Visual C++.
17106 # hardcode_libdir_flag_spec is actually meaningless, as there is
17107 # no search path for DLLs.
17108 hardcode_libdir_flag_spec_GCJ
=' '
17109 allow_undefined_flag_GCJ
=unsupported
17110 # Tell ltmain to make .lib files, not .a files.
17112 # Tell ltmain to make .dll files, not .so files.
17114 # FIXME: Setting linknames here is a bad hack.
17115 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17116 # The linker will automatically build a .lib file if we build a DLL.
17117 old_archive_From_new_cmds_GCJ
='true'
17118 # FIXME: Should let the user specify the lib program.
17119 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17120 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17121 enable_shared_with_static_runtimes_GCJ
=yes
17124 darwin
* | rhapsody
*)
17126 rhapsody
* | darwin1.
[012])
17127 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17130 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17131 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17133 case ${MACOSX_DEPLOYMENT_TARGET} in
17135 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17138 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17144 archive_cmds_need_lc_GCJ
=no
17145 hardcode_direct_GCJ
=no
17146 hardcode_automatic_GCJ
=yes
17147 hardcode_shlibpath_var_GCJ
=unsupported
17148 whole_archive_flag_spec_GCJ
=''
17149 link_all_deplibs_GCJ
=yes
17150 if test "$GCC" = yes ; then
17151 output_verbose_link_cmd
='echo'
17152 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17153 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17154 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17155 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17156 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}'
17158 case $cc_basename in
17160 output_verbose_link_cmd
='echo'
17161 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17162 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17163 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17164 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17165 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}'
17175 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17176 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17177 hardcode_shlibpath_var_GCJ
=no
17184 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17185 # support. Future versions do this automatically, but an explicit c++rt0.o
17186 # does not break anything, and helps significantly (at the cost of a little
17189 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17190 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17191 hardcode_direct_GCJ
=yes
17192 hardcode_shlibpath_var_GCJ
=no
17195 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17197 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17198 hardcode_direct_GCJ
=yes
17199 hardcode_minus_L_GCJ
=yes
17200 hardcode_shlibpath_var_GCJ
=no
17203 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17204 freebsd
* | dragonfly
*)
17205 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17206 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17207 hardcode_direct_GCJ
=yes
17208 hardcode_shlibpath_var_GCJ
=no
17212 if test "$GCC" = yes; then
17213 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'
17215 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'
17217 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17218 hardcode_libdir_separator_GCJ
=:
17219 hardcode_direct_GCJ
=yes
17221 # hardcode_minus_L: Not really in the search PATH,
17222 # but as the default location of the library.
17223 hardcode_minus_L_GCJ
=yes
17224 export_dynamic_flag_spec_GCJ
='${wl}-E'
17228 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17229 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17231 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17233 if test "$with_gnu_ld" = no
; then
17234 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17235 hardcode_libdir_separator_GCJ
=:
17237 hardcode_direct_GCJ
=yes
17238 export_dynamic_flag_spec_GCJ
='${wl}-E'
17240 # hardcode_minus_L: Not really in the search PATH,
17241 # but as the default location of the library.
17242 hardcode_minus_L_GCJ
=yes
17247 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17250 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17253 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17256 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17262 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17265 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17268 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17272 if test "$with_gnu_ld" = no
; then
17273 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17274 hardcode_libdir_separator_GCJ
=:
17278 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17279 hardcode_direct_GCJ
=no
17280 hardcode_shlibpath_var_GCJ
=no
17283 hardcode_direct_GCJ
=yes
17284 export_dynamic_flag_spec_GCJ
='${wl}-E'
17286 # hardcode_minus_L: Not really in the search PATH,
17287 # but as the default location of the library.
17288 hardcode_minus_L_GCJ
=yes
17294 irix5
* | irix6
* | nonstopux
*)
17295 if test "$GCC" = yes; then
17296 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'
17298 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'
17299 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17301 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17302 hardcode_libdir_separator_GCJ
=:
17303 link_all_deplibs_GCJ
=yes
17306 netbsd
* | netbsdelf
*-gnu)
17307 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17308 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17310 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17312 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17313 hardcode_direct_GCJ
=yes
17314 hardcode_shlibpath_var_GCJ
=no
17318 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17319 hardcode_direct_GCJ
=yes
17320 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17321 hardcode_libdir_separator_GCJ
=:
17322 hardcode_shlibpath_var_GCJ
=no
17326 hardcode_direct_GCJ
=yes
17327 hardcode_shlibpath_var_GCJ
=no
17328 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17329 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17330 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17331 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17332 export_dynamic_flag_spec_GCJ
='${wl}-E'
17335 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17336 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17337 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17340 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17341 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17348 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17349 hardcode_minus_L_GCJ
=yes
17350 allow_undefined_flag_GCJ
=unsupported
17351 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'
17352 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17356 if test "$GCC" = yes; then
17357 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17358 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'
17360 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17361 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'
17363 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17364 hardcode_libdir_separator_GCJ
=:
17367 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17368 if test "$GCC" = yes; then
17369 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17370 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'
17371 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17373 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17374 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'
17375 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~
17376 $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'
17378 # Both c and cxx compiler support -rpath directly
17379 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17381 hardcode_libdir_separator_GCJ
=:
17385 no_undefined_flag_GCJ
=' -z text'
17386 if test "$GCC" = yes; then
17388 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17389 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17390 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17393 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17394 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17397 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17398 hardcode_shlibpath_var_GCJ
=no
17400 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17402 # The compiler driver will combine linker options so we
17403 # cannot just pass the convience library names through
17404 # without $wl, iff we do not link with $LD.
17405 # Luckily, gcc supports the same syntax we need for Sun Studio.
17406 # Supported since Solaris 2.6 (maybe 2.5.1?)
17409 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17411 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17414 link_all_deplibs_GCJ
=yes
17418 if test "x$host_vendor" = xsequent
; then
17419 # Use $CC to link under sequent, because it throws in some extra .o
17420 # files that make .init and .fini sections work.
17421 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17423 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17425 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17426 hardcode_direct_GCJ
=yes
17427 hardcode_minus_L_GCJ
=yes
17428 hardcode_shlibpath_var_GCJ
=no
17432 case $host_vendor in
17434 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17435 hardcode_direct_GCJ
=yes # is this really true???
17438 ## LD is ld it makes a PLAMLIB
17439 ## CC just makes a GrossModule.
17440 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17441 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17442 hardcode_direct_GCJ
=no
17445 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17446 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17449 runpath_var
='LD_RUN_PATH'
17450 hardcode_shlibpath_var_GCJ
=no
17454 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17455 hardcode_shlibpath_var_GCJ
=no
17456 export_dynamic_flag_spec_GCJ
='-Bexport'
17460 if test -d /usr
/nec
; then
17461 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17462 hardcode_shlibpath_var_GCJ
=no
17463 runpath_var
=LD_RUN_PATH
17464 hardcode_runpath_var
=yes
17469 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17470 no_undefined_flag_GCJ
='${wl}-z,text'
17471 archive_cmds_need_lc_GCJ
=no
17472 hardcode_shlibpath_var_GCJ
=no
17473 runpath_var
='LD_RUN_PATH'
17475 if test "$GCC" = yes; then
17476 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17477 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17479 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17480 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17484 sysv5
* | sco3.2v5
* | sco5v6
*)
17485 # Note: We can NOT use -z defs as we might desire, because we do not
17486 # link with -lc, and that would cause any symbols used from libc to
17487 # always be unresolved, which means just about no library would
17488 # ever link correctly. If we're not using GNU ld we use -z text
17489 # though, which does catch some bad symbols but isn't as heavy-handed
17491 no_undefined_flag_GCJ
='${wl}-z,text'
17492 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17493 archive_cmds_need_lc_GCJ
=no
17494 hardcode_shlibpath_var_GCJ
=no
17495 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17496 hardcode_libdir_separator_GCJ
=':'
17497 link_all_deplibs_GCJ
=yes
17498 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17499 runpath_var
='LD_RUN_PATH'
17501 if test "$GCC" = yes; then
17502 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17503 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17505 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17506 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17511 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17512 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17513 hardcode_shlibpath_var_GCJ
=no
17522 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17523 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17524 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17527 # Do we need to explicitly link libc?
17529 case "x$archive_cmds_need_lc_GCJ" in
17531 # Assume -lc should be added
17532 archive_cmds_need_lc_GCJ
=yes
17534 if test "$enable_shared" = yes && test "$GCC" = yes; then
17535 case $archive_cmds_GCJ in
17537 # FIXME: we may have to deal with multi-command sequences.
17540 # Test whether the compiler implicitly links with -lc since on some
17541 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17542 # to ld, don't add -lc before -lgcc.
17543 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17544 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17546 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17549 (eval $ac_compile) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } 2>conftest.err
; then
17555 libobjs
=conftest.
$ac_objext
17557 wl
=$lt_prog_compiler_wl_GCJ
17558 pic_flag
=$lt_prog_compiler_pic_GCJ
17564 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17565 allow_undefined_flag_GCJ
=
17566 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17567 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }
17572 archive_cmds_need_lc_GCJ
=no
17574 archive_cmds_need_lc_GCJ
=yes
17576 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17578 cat conftest.err
1>&5
17581 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17582 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17589 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17590 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17591 library_names_spec
=
17592 libname_spec
='lib$name'
17596 postuninstall_cmds
=
17600 shlibpath_overrides_runpath
=unknown
17602 dynamic_linker
="$host_os ld.so"
17603 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17604 if test "$GCC" = yes; then
17605 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17606 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17607 # if the path contains ";" then we assume it to be the separator
17608 # otherwise default to the standard path separator (i.e. ":") - it is
17609 # assumed that no part of a normal pathname contains ";" but that should
17610 # okay in the real world where ";" in dirpaths is itself problematic.
17611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17616 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17618 need_lib_prefix
=unknown
17619 hardcode_into_libs
=no
17621 # when you set need_version to no, make sure it does not cause -set_version
17622 # flags to be left without arguments
17623 need_version
=unknown
17628 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17629 shlibpath_var
=LIBPATH
17631 # AIX 3 has no versioning support, so we append a major version to the name.
17632 soname_spec
='${libname}${release}${shared_ext}$major'
17639 hardcode_into_libs
=yes
17640 if test "$host_cpu" = ia64
; then
17641 # AIX 5 supports IA64
17642 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17643 shlibpath_var
=LD_LIBRARY_PATH
17645 # With GCC up to 2.95.x, collect2 would create an import file
17646 # for dependence libraries. The import file would start with
17647 # the line `#! .'. This would cause the generated library to
17648 # depend on `.', always an invalid library. This was fixed in
17649 # development snapshots of GCC prior to 3.0.
17651 aix4 | aix4.
[01] | aix4.
[01].
*)
17652 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17654 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17657 can_build_shared
=no
17661 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17662 # soname into executable. Probably we can add versioning support to
17663 # collect2, so additional links can be useful in future.
17664 if test "$aix_use_runtimelinking" = yes; then
17665 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17666 # instead of lib<name>.a to let people know that these are not
17667 # typical AIX shared libraries.
17668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17670 # We preserve .a as extension for shared libraries through AIX4.2
17671 # and later when we are not doing run time linking.
17672 library_names_spec
='${libname}${release}.a $libname.a'
17673 soname_spec
='${libname}${release}${shared_ext}$major'
17675 shlibpath_var
=LIBPATH
17680 library_names_spec
='$libname.ixlibrary $libname.a'
17681 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17682 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'
17686 library_names_spec
='${libname}${shared_ext}'
17687 dynamic_linker
="$host_os ld.so"
17688 shlibpath_var
=LIBRARY_PATH
17694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17695 soname_spec
='${libname}${release}${shared_ext}$major'
17696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17697 shlibpath_var
=LD_LIBRARY_PATH
17698 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17699 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17700 # the default ld.so.conf also contains /usr/contrib/lib and
17701 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17702 # libtool to hard-code these into programs
17705 cygwin
* | mingw
* | pw32
*)
17706 version_type
=windows
17711 case $GCC,$host_os in
17712 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17713 library_names_spec
='$libname.dll.a'
17714 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17715 postinstall_cmds
='base_file=`basename \${file}`~
17716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17717 dldir=$destdir/`dirname \$dlpath`~
17718 test -d \$dldir || mkdir -p \$dldir~
17719 $install_prog $dir/$dlname \$dldir/$dlname~
17720 chmod a+x \$dldir/$dlname'
17721 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17722 dlpath=$dir/\$dldll~
17724 shlibpath_overrides_runpath
=yes
17728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17729 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17730 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17733 # MinGW DLLs use traditional 'lib' prefix
17734 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17735 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17736 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17737 # It is most probably a Windows format PATH printed by
17738 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17739 # path with ; separators, and with drive letters. We can handle the
17740 # drive letters (cygwin fileutils understands them), so leave them,
17741 # especially as we might pass files found there to a mingw objdump,
17742 # which wouldn't understand a cygwinified path. Ahh.
17743 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17745 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17749 # pw32 DLLs use 'pw' prefix rather than 'lib'
17750 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17756 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17759 dynamic_linker
='Win32 ld.exe'
17760 # FIXME: first we should search . and the directory the executable is in
17764 darwin
* | rhapsody
*)
17765 dynamic_linker
="$host_os dyld"
17766 version_type
=darwin
17769 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17770 soname_spec
='${libname}${release}${major}$shared_ext'
17771 shlibpath_overrides_runpath
=yes
17772 shlibpath_var
=DYLD_LIBRARY_PATH
17773 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17774 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17775 if test "$GCC" = yes; then
17776 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17778 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17780 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17788 soname_spec
='${libname}${release}${shared_ext}$major'
17789 shlibpath_var
=LD_LIBRARY_PATH
17796 freebsd
* | dragonfly
*)
17797 # DragonFly does not have aout. When/if they implement a new
17798 # versioning mechanism, adjust this.
17799 if test -x /usr
/bin
/objformat
; then
17800 objformat
=`/usr/bin/objformat`
17803 freebsd
[123]*) objformat
=aout
;;
17804 *) objformat
=elf
;;
17807 version_type
=freebsd-
$objformat
17808 case $version_type in
17810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17815 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17819 shlibpath_var
=LD_LIBRARY_PATH
17822 shlibpath_overrides_runpath
=yes
17824 freebsd3.
[01]* | freebsdelf3.
[01]*)
17825 shlibpath_overrides_runpath
=yes
17826 hardcode_into_libs
=yes
17828 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17829 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17830 shlibpath_overrides_runpath
=no
17831 hardcode_into_libs
=yes
17833 freebsd
*) # from 4.6 on
17834 shlibpath_overrides_runpath
=yes
17835 hardcode_into_libs
=yes
17844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17845 soname_spec
='${libname}${release}${shared_ext}$major'
17846 shlibpath_var
=LD_LIBRARY_PATH
17847 hardcode_into_libs
=yes
17850 hpux9
* | hpux10
* | hpux11
*)
17851 # Give a soname corresponding to the major version so that dld.sl refuses to
17852 # link against other versions.
17859 hardcode_into_libs
=yes
17860 dynamic_linker
="$host_os dld.so"
17861 shlibpath_var
=LD_LIBRARY_PATH
17862 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17864 soname_spec
='${libname}${release}${shared_ext}$major'
17865 if test "X$HPUX_IA64_MODE" = X32
; then
17866 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17868 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17870 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17874 hardcode_into_libs
=yes
17875 dynamic_linker
="$host_os dld.sl"
17876 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17877 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17879 soname_spec
='${libname}${release}${shared_ext}$major'
17880 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17881 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17885 dynamic_linker
="$host_os dld.sl"
17886 shlibpath_var
=SHLIB_PATH
17887 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17889 soname_spec
='${libname}${release}${shared_ext}$major'
17892 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17893 postinstall_cmds
='chmod 555 $lib'
17900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17901 soname_spec
='${libname}${release}${shared_ext}$major'
17902 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17903 shlibpath_var
=LD_LIBRARY_PATH
17904 shlibpath_overrides_runpath
=no
17905 hardcode_into_libs
=yes
17908 irix5
* | irix6
* | nonstopux
*)
17910 nonstopux
*) version_type
=nonstopux
;;
17912 if test "$lt_cv_prog_gnu_ld" = yes; then
17920 soname_spec
='${libname}${release}${shared_ext}$major'
17921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17923 irix5
* | nonstopux
*)
17924 libsuff
= shlibsuff
=
17927 case $LD in # libtool.m4 will add one of these switches to LD
17928 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17929 libsuff
= shlibsuff
= libmagic
=32-bit;;
17930 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17931 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17932 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17933 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17934 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17938 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17939 shlibpath_overrides_runpath
=no
17940 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17941 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17942 hardcode_into_libs
=yes
17945 # No shared lib support for Linux oldld, aout, or coff.
17946 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17950 # This must be Linux ELF.
17951 linux
* | k
*bsd
*-gnu)
17955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17956 soname_spec
='${libname}${release}${shared_ext}$major'
17957 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17958 shlibpath_var
=LD_LIBRARY_PATH
17959 shlibpath_overrides_runpath
=no
17960 # This implies no fast_install, which is unacceptable.
17961 # Some rework will be needed to allow for fast_install
17962 # before this can be enabled.
17963 hardcode_into_libs
=yes
17965 # Append ld.so.conf contents to the search path
17966 if test -f /etc
/ld.so.conf
; then
17967 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17968 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17971 # We used to test for /lib/ld.so.1 and disable shared libraries on
17972 # powerpc, because MkLinux only supported shared libraries with the
17973 # GNU dynamic linker. Since this was broken with cross compilers,
17974 # most powerpc-linux boxes support dynamic linking these days and
17975 # people can always --disable-shared, the test was removed, and we
17976 # assume the GNU/Linux dynamic linker is in use.
17977 dynamic_linker
='GNU/Linux ld.so'
17984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17985 soname_spec
='${libname}${release}${shared_ext}$major'
17986 shlibpath_var
=LD_LIBRARY_PATH
17987 shlibpath_overrides_runpath
=no
17988 hardcode_into_libs
=yes
17989 dynamic_linker
='NetBSD ld.elf_so'
17996 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17998 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17999 dynamic_linker
='NetBSD (a.out) ld.so'
18001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18002 soname_spec
='${libname}${release}${shared_ext}$major'
18003 dynamic_linker
='NetBSD ld.elf_so'
18005 shlibpath_var
=LD_LIBRARY_PATH
18006 shlibpath_overrides_runpath
=yes
18007 hardcode_into_libs
=yes
18012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18013 shlibpath_var
=LD_LIBRARY_PATH
18014 shlibpath_overrides_runpath
=yes
18021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18022 soname_spec
='${libname}${release}${shared_ext}$major'
18023 shlibpath_var
=LD_LIBRARY_PATH
18024 shlibpath_overrides_runpath
=yes
18029 sys_lib_dlsearch_path_spec
="/usr/lib"
18031 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18033 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18034 *) need_version
=no
;;
18036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18038 shlibpath_var
=LD_LIBRARY_PATH
18039 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18041 openbsd2.
[89] | openbsd2.
[89].
*)
18042 shlibpath_overrides_runpath
=no
18045 shlibpath_overrides_runpath
=yes
18049 shlibpath_overrides_runpath
=yes
18054 libname_spec
='$name'
18057 library_names_spec
='$libname${shared_ext} $libname.a'
18058 dynamic_linker
='OS/2 ld.exe'
18059 shlibpath_var
=LIBPATH
18062 osf3
* | osf4
* | osf5
*)
18066 soname_spec
='${libname}${release}${shared_ext}$major'
18067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18068 shlibpath_var
=LD_LIBRARY_PATH
18069 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18070 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18078 soname_spec
='${libname}${release}${shared_ext}$major'
18079 shlibpath_var
=LD_LIBRARY_PATH
18080 shlibpath_overrides_runpath
=yes
18081 hardcode_into_libs
=yes
18082 # ldd complains unless libraries are executable
18083 postinstall_cmds
='chmod +x $lib'
18088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18089 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18090 shlibpath_var
=LD_LIBRARY_PATH
18091 shlibpath_overrides_runpath
=yes
18092 if test "$with_gnu_ld" = yes; then
18100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18101 soname_spec
='${libname}${release}${shared_ext}$major'
18102 shlibpath_var
=LD_LIBRARY_PATH
18103 case $host_vendor in
18105 shlibpath_overrides_runpath
=no
18107 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18108 runpath_var
=LD_RUN_PATH
18116 shlibpath_overrides_runpath
=no
18117 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18123 if test -d /usr
/nec
;then
18125 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18126 soname_spec
='$libname${shared_ext}.$major'
18127 shlibpath_var
=LD_LIBRARY_PATH
18131 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18132 version_type
=freebsd-elf
18135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18136 soname_spec
='${libname}${release}${shared_ext}$major'
18137 shlibpath_var
=LD_LIBRARY_PATH
18138 hardcode_into_libs
=yes
18139 if test "$with_gnu_ld" = yes; then
18140 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18141 shlibpath_overrides_runpath
=no
18143 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18144 shlibpath_overrides_runpath
=yes
18147 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18151 sys_lib_dlsearch_path_spec
='/usr/lib'
18156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18157 soname_spec
='${libname}${release}${shared_ext}$major'
18158 shlibpath_var
=LD_LIBRARY_PATH
18165 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18166 echo "${ECHO_T}$dynamic_linker" >&6; }
18167 test "$dynamic_linker" = no
&& can_build_shared
=no
18169 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18170 if test "$GCC" = yes; then
18171 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18174 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18175 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18176 hardcode_action_GCJ
=
18177 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18178 test -n "$runpath_var_GCJ" || \
18179 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18181 # We can hardcode non-existant directories.
18182 if test "$hardcode_direct_GCJ" != no
&&
18183 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18184 # have to relink, otherwise we might link with an installed library
18185 # when we should be linking with a yet-to-be-installed one
18186 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18187 test "$hardcode_minus_L_GCJ" != no
; then
18188 # Linking always hardcodes the temporary library directory.
18189 hardcode_action_GCJ
=relink
18191 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18192 hardcode_action_GCJ
=immediate
18195 # We cannot hardcode anything, or else we can only hardcode existing
18197 hardcode_action_GCJ
=unsupported
18199 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18200 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18202 if test "$hardcode_action_GCJ" = relink
; then
18203 # Fast installation is not supported
18204 enable_fast_install
=no
18205 elif test "$shlibpath_overrides_runpath" = yes ||
18206 test "$enable_shared" = no
; then
18207 # Fast installation is not necessary
18208 enable_fast_install
=needless
18212 # The else clause should only fire when bootstrapping the
18213 # libtool distribution, otherwise you forgot to ship ltmain.sh
18214 # with your package, and you will get complaints that there are
18215 # no rules to generate ltmain.sh.
18216 if test -f "$ltmain"; then
18217 # See if we are running on zsh, and set the options which allow our commands through
18218 # without removal of \ escapes.
18219 if test -n "${ZSH_VERSION+set}" ; then
18220 setopt NO_GLOB_SUBST
18222 # Now quote all the things that may contain metacharacters while being
18223 # careful not to overquote the AC_SUBSTed values. We take copies of the
18224 # variables and quote the copies for generation of the libtool script.
18225 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18227 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18228 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18229 deplibs_check_method reload_flag reload_cmds need_locks \
18230 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18231 lt_cv_sys_global_symbol_to_c_name_address \
18232 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18233 old_postinstall_cmds old_postuninstall_cmds \
18237 lt_prog_compiler_wl_GCJ \
18238 lt_prog_compiler_pic_GCJ \
18239 lt_prog_compiler_static_GCJ \
18240 lt_prog_compiler_no_builtin_flag_GCJ \
18241 export_dynamic_flag_spec_GCJ \
18242 thread_safe_flag_spec_GCJ \
18243 whole_archive_flag_spec_GCJ \
18244 enable_shared_with_static_runtimes_GCJ \
18245 old_archive_cmds_GCJ \
18246 old_archive_from_new_cmds_GCJ \
18247 predep_objects_GCJ \
18248 postdep_objects_GCJ \
18251 compiler_lib_search_path_GCJ \
18253 archive_expsym_cmds_GCJ \
18254 postinstall_cmds_GCJ \
18255 postuninstall_cmds_GCJ \
18256 old_archive_from_expsyms_cmds_GCJ \
18257 allow_undefined_flag_GCJ \
18258 no_undefined_flag_GCJ \
18259 export_symbols_cmds_GCJ \
18260 hardcode_libdir_flag_spec_GCJ \
18261 hardcode_libdir_flag_spec_ld_GCJ \
18262 hardcode_libdir_separator_GCJ \
18263 hardcode_automatic_GCJ \
18265 module_expsym_cmds_GCJ \
18266 lt_cv_prog_compiler_c_o_GCJ \
18267 exclude_expsyms_GCJ \
18268 include_expsyms_GCJ
; do
18271 old_archive_cmds_GCJ | \
18272 old_archive_from_new_cmds_GCJ | \
18273 archive_cmds_GCJ | \
18274 archive_expsym_cmds_GCJ | \
18275 module_cmds_GCJ | \
18276 module_expsym_cmds_GCJ | \
18277 old_archive_from_expsyms_cmds_GCJ | \
18278 export_symbols_cmds_GCJ | \
18279 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18280 postinstall_cmds | postuninstall_cmds | \
18281 old_postinstall_cmds | old_postuninstall_cmds | \
18282 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18283 # Double-quote double-evaled strings.
18284 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18287 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18293 *'\$0 --fallback-echo"')
18294 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18300 cat <<__EOF__ >> "$cfgfile"
18301 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18303 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18305 # Shell to use when invoking shell scripts.
18308 # Whether or not to build shared libraries.
18309 build_libtool_libs=$enable_shared
18311 # Whether or not to build static libraries.
18312 build_old_libs=$enable_static
18314 # Whether or not to add -lc for building shared libraries.
18315 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18317 # Whether or not to disallow shared libs when runtime libs are static
18318 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18320 # Whether or not to optimize for fast installation.
18321 fast_install=$enable_fast_install
18324 host_alias=$host_alias
18328 # The build system.
18329 build_alias=$build_alias
18333 # An echo program that does not interpret backslashes.
18338 AR_FLAGS=$lt_AR_FLAGS
18343 # LTCC compiler flags.
18344 LTCFLAGS=$lt_LTCFLAGS
18346 # A language-specific compiler.
18347 CC=$lt_compiler_GCJ
18349 # Is the compiler the GNU C compiler?
18355 # The linker used to build libraries.
18358 # Whether we need hard or soft links.
18361 # A BSD-compatible nm program.
18364 # A symbol stripping program
18367 # Used to examine libraries when file_magic_cmd begins "file"
18368 MAGIC_CMD=$MAGIC_CMD
18370 # Used on cygwin: DLL creation program.
18373 # Used on cygwin: object dumper.
18376 # Used on cygwin: assembler.
18379 # The name of the directory that contains temporary libtool files.
18382 # How to create reloadable object files.
18383 reload_flag=$lt_reload_flag
18384 reload_cmds=$lt_reload_cmds
18386 # How to pass a linker flag through the compiler.
18387 wl=$lt_lt_prog_compiler_wl_GCJ
18389 # Object file suffix (normally "o").
18390 objext="$ac_objext"
18392 # Old archive suffix (normally "a").
18395 # Shared library suffix (normally ".so").
18396 shrext_cmds='$shrext_cmds'
18398 # Executable file suffix (normally "").
18401 # Additional compiler flags for building library objects.
18402 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18405 # What is the maximum length of a command?
18406 max_cmd_len=$lt_cv_sys_max_cmd_len
18408 # Does compiler simultaneously support -c and -o options?
18409 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18411 # Must we lock files when doing compilation?
18412 need_locks=$lt_need_locks
18414 # Do we need the lib prefix for modules?
18415 need_lib_prefix=$need_lib_prefix
18417 # Do we need a version for libraries?
18418 need_version=$need_version
18420 # Whether dlopen is supported.
18421 dlopen_support=$enable_dlopen
18423 # Whether dlopen of programs is supported.
18424 dlopen_self=$enable_dlopen_self
18426 # Whether dlopen of statically linked programs is supported.
18427 dlopen_self_static=$enable_dlopen_self_static
18429 # Compiler flag to prevent dynamic linking.
18430 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18432 # Compiler flag to turn off builtin functions.
18433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18435 # Compiler flag to allow reflexive dlopens.
18436 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18438 # Compiler flag to generate shared objects directly from archives.
18439 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18441 # Compiler flag to generate thread-safe objects.
18442 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18444 # Library versioning type.
18445 version_type=$version_type
18447 # Format of library name prefix.
18448 libname_spec=$lt_libname_spec
18450 # List of archive names. First name is the real one, the rest are links.
18451 # The last name is the one that the linker finds with -lNAME.
18452 library_names_spec=$lt_library_names_spec
18454 # The coded name of the library, if different from the real name.
18455 soname_spec=$lt_soname_spec
18457 # Commands used to build and install an old-style archive.
18459 old_archive_cmds=$lt_old_archive_cmds_GCJ
18460 old_postinstall_cmds=$lt_old_postinstall_cmds
18461 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18463 # Create an old-style archive from a shared archive.
18464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18466 # Create a temporary old-style archive to link instead of a shared archive.
18467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18469 # Commands used to build and install a shared archive.
18470 archive_cmds=$lt_archive_cmds_GCJ
18471 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18472 postinstall_cmds=$lt_postinstall_cmds
18473 postuninstall_cmds=$lt_postuninstall_cmds
18475 # Commands used to build a loadable module (assumed same as above if empty)
18476 module_cmds=$lt_module_cmds_GCJ
18477 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18479 # Commands to strip libraries.
18480 old_striplib=$lt_old_striplib
18481 striplib=$lt_striplib
18483 # Dependencies to place before the objects being linked to create a
18485 predep_objects=$lt_predep_objects_GCJ
18487 # Dependencies to place after the objects being linked to create a
18489 postdep_objects=$lt_postdep_objects_GCJ
18491 # Dependencies to place before the objects being linked to create a
18493 predeps=$lt_predeps_GCJ
18495 # Dependencies to place after the objects being linked to create a
18497 postdeps=$lt_postdeps_GCJ
18499 # The library search path used internally by the compiler when linking
18500 # a shared library.
18501 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18503 # Method to check whether dependent libraries are shared objects.
18504 deplibs_check_method=$lt_deplibs_check_method
18506 # Command to use when deplibs_check_method == file_magic.
18507 file_magic_cmd=$lt_file_magic_cmd
18509 # Flag that allows shared libraries with undefined symbols to be built.
18510 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18512 # Flag that forces no undefined symbols.
18513 no_undefined_flag=$lt_no_undefined_flag_GCJ
18515 # Commands used to finish a libtool library installation in a directory.
18516 finish_cmds=$lt_finish_cmds
18518 # Same as above, but a single script fragment to be evaled but not shown.
18519 finish_eval=$lt_finish_eval
18521 # Take the output of nm and produce a listing of raw symbols and C names.
18522 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18524 # Transform the output of nm in a proper C declaration
18525 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18527 # Transform the output of nm in a C name address pair
18528 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18530 # This is the shared library runtime path variable.
18531 runpath_var=$runpath_var
18533 # This is the shared library path variable.
18534 shlibpath_var=$shlibpath_var
18536 # Is shlibpath searched before the hard-coded library search path?
18537 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18539 # How to hardcode a shared library path into an executable.
18540 hardcode_action=$hardcode_action_GCJ
18542 # Whether we should hardcode library paths into libraries.
18543 hardcode_into_libs=$hardcode_into_libs
18545 # Flag to hardcode \$libdir into a binary during linking.
18546 # This must work even if \$libdir does not exist.
18547 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18549 # If ld is used when linking, flag to hardcode \$libdir into
18550 # a binary during linking. This must work even if \$libdir does
18552 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18554 # Whether we need a single -rpath flag with a separated argument.
18555 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18557 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18558 # resulting binary.
18559 hardcode_direct=$hardcode_direct_GCJ
18561 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18562 # resulting binary.
18563 hardcode_minus_L=$hardcode_minus_L_GCJ
18565 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18566 # the resulting binary.
18567 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18569 # Set to yes if building a shared library automatically hardcodes DIR into the library
18570 # and all subsequent libraries and executables linked against it.
18571 hardcode_automatic=$hardcode_automatic_GCJ
18573 # Variables whose values should be saved in libtool wrapper scripts and
18574 # restored at relink time.
18575 variables_saved_for_relink="$variables_saved_for_relink"
18577 # Whether libtool must link a program against all its dependency libraries.
18578 link_all_deplibs=$link_all_deplibs_GCJ
18580 # Compile-time system search path for libraries
18581 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18583 # Run-time system search path for libraries
18584 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18586 # Fix the shell variable \$srcfile for the compiler.
18587 fix_srcfile_path="$fix_srcfile_path_GCJ"
18589 # Set to yes if exported symbols are required.
18590 always_export_symbols=$always_export_symbols_GCJ
18592 # The commands to list exported symbols.
18593 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18595 # The commands to extract the exported symbol list from a shared archive.
18596 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18598 # Symbols that should not be listed in the preloaded symbols.
18599 exclude_expsyms=$lt_exclude_expsyms_GCJ
18601 # Symbols that must always be exported.
18602 include_expsyms=$lt_include_expsyms_GCJ
18604 # ### END LIBTOOL TAG CONFIG: $tagname
18610 # If there is no Makefile yet, we rely on a make rule to execute
18611 # `config.status --recheck' to rerun these tests and create the
18612 # libtool script then.
18613 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18614 if test -f "$ltmain_in"; then
18615 test -f Makefile
&& make "$ltmain"
18621 ac_cpp
='$CPP $CPPFLAGS'
18622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18636 # Source file extension for RC test sources.
18639 # Object file extension for compiled RC test sources.
18643 # Code to be used in simple compile tests
18644 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18646 # Code to be used in simple link tests
18647 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18649 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18651 # If no C compiler was specified, use CC.
18654 # If no C compiler flags were specified, use CFLAGS.
18655 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18657 # Allow CC to be a program name with arguments.
18661 # save warnings/boilerplate of simple test code
18662 ac_outfile
=conftest.
$ac_objext
18663 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18664 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18665 _lt_compiler_boilerplate
=`cat conftest.err`
18668 ac_outfile
=conftest.
$ac_objext
18669 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18670 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18671 _lt_linker_boilerplate
=`cat conftest.err`
18675 # Allow CC to be a program name with arguments.
18680 for cc_temp
in $compiler""; do
18682 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18683 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18688 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18690 lt_cv_prog_compiler_c_o_RC
=yes
18692 # The else clause should only fire when bootstrapping the
18693 # libtool distribution, otherwise you forgot to ship ltmain.sh
18694 # with your package, and you will get complaints that there are
18695 # no rules to generate ltmain.sh.
18696 if test -f "$ltmain"; then
18697 # See if we are running on zsh, and set the options which allow our commands through
18698 # without removal of \ escapes.
18699 if test -n "${ZSH_VERSION+set}" ; then
18700 setopt NO_GLOB_SUBST
18702 # Now quote all the things that may contain metacharacters while being
18703 # careful not to overquote the AC_SUBSTed values. We take copies of the
18704 # variables and quote the copies for generation of the libtool script.
18705 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18707 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18708 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18709 deplibs_check_method reload_flag reload_cmds need_locks \
18710 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18711 lt_cv_sys_global_symbol_to_c_name_address \
18712 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18713 old_postinstall_cmds old_postuninstall_cmds \
18717 lt_prog_compiler_wl_RC \
18718 lt_prog_compiler_pic_RC \
18719 lt_prog_compiler_static_RC \
18720 lt_prog_compiler_no_builtin_flag_RC \
18721 export_dynamic_flag_spec_RC \
18722 thread_safe_flag_spec_RC \
18723 whole_archive_flag_spec_RC \
18724 enable_shared_with_static_runtimes_RC \
18725 old_archive_cmds_RC \
18726 old_archive_from_new_cmds_RC \
18727 predep_objects_RC \
18728 postdep_objects_RC \
18731 compiler_lib_search_path_RC \
18733 archive_expsym_cmds_RC \
18734 postinstall_cmds_RC \
18735 postuninstall_cmds_RC \
18736 old_archive_from_expsyms_cmds_RC \
18737 allow_undefined_flag_RC \
18738 no_undefined_flag_RC \
18739 export_symbols_cmds_RC \
18740 hardcode_libdir_flag_spec_RC \
18741 hardcode_libdir_flag_spec_ld_RC \
18742 hardcode_libdir_separator_RC \
18743 hardcode_automatic_RC \
18745 module_expsym_cmds_RC \
18746 lt_cv_prog_compiler_c_o_RC \
18747 exclude_expsyms_RC \
18748 include_expsyms_RC
; do
18751 old_archive_cmds_RC | \
18752 old_archive_from_new_cmds_RC | \
18753 archive_cmds_RC | \
18754 archive_expsym_cmds_RC | \
18756 module_expsym_cmds_RC | \
18757 old_archive_from_expsyms_cmds_RC | \
18758 export_symbols_cmds_RC | \
18759 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18760 postinstall_cmds | postuninstall_cmds | \
18761 old_postinstall_cmds | old_postuninstall_cmds | \
18762 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18763 # Double-quote double-evaled strings.
18764 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18767 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18773 *'\$0 --fallback-echo"')
18774 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18780 cat <<__EOF__ >> "$cfgfile"
18781 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18783 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18785 # Shell to use when invoking shell scripts.
18788 # Whether or not to build shared libraries.
18789 build_libtool_libs=$enable_shared
18791 # Whether or not to build static libraries.
18792 build_old_libs=$enable_static
18794 # Whether or not to add -lc for building shared libraries.
18795 build_libtool_need_lc=$archive_cmds_need_lc_RC
18797 # Whether or not to disallow shared libs when runtime libs are static
18798 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18800 # Whether or not to optimize for fast installation.
18801 fast_install=$enable_fast_install
18804 host_alias=$host_alias
18808 # The build system.
18809 build_alias=$build_alias
18813 # An echo program that does not interpret backslashes.
18818 AR_FLAGS=$lt_AR_FLAGS
18823 # LTCC compiler flags.
18824 LTCFLAGS=$lt_LTCFLAGS
18826 # A language-specific compiler.
18829 # Is the compiler the GNU C compiler?
18835 # The linker used to build libraries.
18838 # Whether we need hard or soft links.
18841 # A BSD-compatible nm program.
18844 # A symbol stripping program
18847 # Used to examine libraries when file_magic_cmd begins "file"
18848 MAGIC_CMD=$MAGIC_CMD
18850 # Used on cygwin: DLL creation program.
18853 # Used on cygwin: object dumper.
18856 # Used on cygwin: assembler.
18859 # The name of the directory that contains temporary libtool files.
18862 # How to create reloadable object files.
18863 reload_flag=$lt_reload_flag
18864 reload_cmds=$lt_reload_cmds
18866 # How to pass a linker flag through the compiler.
18867 wl=$lt_lt_prog_compiler_wl_RC
18869 # Object file suffix (normally "o").
18870 objext="$ac_objext"
18872 # Old archive suffix (normally "a").
18875 # Shared library suffix (normally ".so").
18876 shrext_cmds='$shrext_cmds'
18878 # Executable file suffix (normally "").
18881 # Additional compiler flags for building library objects.
18882 pic_flag=$lt_lt_prog_compiler_pic_RC
18885 # What is the maximum length of a command?
18886 max_cmd_len=$lt_cv_sys_max_cmd_len
18888 # Does compiler simultaneously support -c and -o options?
18889 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18891 # Must we lock files when doing compilation?
18892 need_locks=$lt_need_locks
18894 # Do we need the lib prefix for modules?
18895 need_lib_prefix=$need_lib_prefix
18897 # Do we need a version for libraries?
18898 need_version=$need_version
18900 # Whether dlopen is supported.
18901 dlopen_support=$enable_dlopen
18903 # Whether dlopen of programs is supported.
18904 dlopen_self=$enable_dlopen_self
18906 # Whether dlopen of statically linked programs is supported.
18907 dlopen_self_static=$enable_dlopen_self_static
18909 # Compiler flag to prevent dynamic linking.
18910 link_static_flag=$lt_lt_prog_compiler_static_RC
18912 # Compiler flag to turn off builtin functions.
18913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18915 # Compiler flag to allow reflexive dlopens.
18916 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18918 # Compiler flag to generate shared objects directly from archives.
18919 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18921 # Compiler flag to generate thread-safe objects.
18922 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18924 # Library versioning type.
18925 version_type=$version_type
18927 # Format of library name prefix.
18928 libname_spec=$lt_libname_spec
18930 # List of archive names. First name is the real one, the rest are links.
18931 # The last name is the one that the linker finds with -lNAME.
18932 library_names_spec=$lt_library_names_spec
18934 # The coded name of the library, if different from the real name.
18935 soname_spec=$lt_soname_spec
18937 # Commands used to build and install an old-style archive.
18939 old_archive_cmds=$lt_old_archive_cmds_RC
18940 old_postinstall_cmds=$lt_old_postinstall_cmds
18941 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18943 # Create an old-style archive from a shared archive.
18944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18946 # Create a temporary old-style archive to link instead of a shared archive.
18947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18949 # Commands used to build and install a shared archive.
18950 archive_cmds=$lt_archive_cmds_RC
18951 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18952 postinstall_cmds=$lt_postinstall_cmds
18953 postuninstall_cmds=$lt_postuninstall_cmds
18955 # Commands used to build a loadable module (assumed same as above if empty)
18956 module_cmds=$lt_module_cmds_RC
18957 module_expsym_cmds=$lt_module_expsym_cmds_RC
18959 # Commands to strip libraries.
18960 old_striplib=$lt_old_striplib
18961 striplib=$lt_striplib
18963 # Dependencies to place before the objects being linked to create a
18965 predep_objects=$lt_predep_objects_RC
18967 # Dependencies to place after the objects being linked to create a
18969 postdep_objects=$lt_postdep_objects_RC
18971 # Dependencies to place before the objects being linked to create a
18973 predeps=$lt_predeps_RC
18975 # Dependencies to place after the objects being linked to create a
18977 postdeps=$lt_postdeps_RC
18979 # The library search path used internally by the compiler when linking
18980 # a shared library.
18981 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18983 # Method to check whether dependent libraries are shared objects.
18984 deplibs_check_method=$lt_deplibs_check_method
18986 # Command to use when deplibs_check_method == file_magic.
18987 file_magic_cmd=$lt_file_magic_cmd
18989 # Flag that allows shared libraries with undefined symbols to be built.
18990 allow_undefined_flag=$lt_allow_undefined_flag_RC
18992 # Flag that forces no undefined symbols.
18993 no_undefined_flag=$lt_no_undefined_flag_RC
18995 # Commands used to finish a libtool library installation in a directory.
18996 finish_cmds=$lt_finish_cmds
18998 # Same as above, but a single script fragment to be evaled but not shown.
18999 finish_eval=$lt_finish_eval
19001 # Take the output of nm and produce a listing of raw symbols and C names.
19002 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19004 # Transform the output of nm in a proper C declaration
19005 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19007 # Transform the output of nm in a C name address pair
19008 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19010 # This is the shared library runtime path variable.
19011 runpath_var=$runpath_var
19013 # This is the shared library path variable.
19014 shlibpath_var=$shlibpath_var
19016 # Is shlibpath searched before the hard-coded library search path?
19017 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19019 # How to hardcode a shared library path into an executable.
19020 hardcode_action=$hardcode_action_RC
19022 # Whether we should hardcode library paths into libraries.
19023 hardcode_into_libs=$hardcode_into_libs
19025 # Flag to hardcode \$libdir into a binary during linking.
19026 # This must work even if \$libdir does not exist.
19027 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19029 # If ld is used when linking, flag to hardcode \$libdir into
19030 # a binary during linking. This must work even if \$libdir does
19032 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19034 # Whether we need a single -rpath flag with a separated argument.
19035 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19037 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19038 # resulting binary.
19039 hardcode_direct=$hardcode_direct_RC
19041 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19042 # resulting binary.
19043 hardcode_minus_L=$hardcode_minus_L_RC
19045 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19046 # the resulting binary.
19047 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19049 # Set to yes if building a shared library automatically hardcodes DIR into the library
19050 # and all subsequent libraries and executables linked against it.
19051 hardcode_automatic=$hardcode_automatic_RC
19053 # Variables whose values should be saved in libtool wrapper scripts and
19054 # restored at relink time.
19055 variables_saved_for_relink="$variables_saved_for_relink"
19057 # Whether libtool must link a program against all its dependency libraries.
19058 link_all_deplibs=$link_all_deplibs_RC
19060 # Compile-time system search path for libraries
19061 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19063 # Run-time system search path for libraries
19064 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19066 # Fix the shell variable \$srcfile for the compiler.
19067 fix_srcfile_path="$fix_srcfile_path_RC"
19069 # Set to yes if exported symbols are required.
19070 always_export_symbols=$always_export_symbols_RC
19072 # The commands to list exported symbols.
19073 export_symbols_cmds=$lt_export_symbols_cmds_RC
19075 # The commands to extract the exported symbol list from a shared archive.
19076 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19078 # Symbols that should not be listed in the preloaded symbols.
19079 exclude_expsyms=$lt_exclude_expsyms_RC
19081 # Symbols that must always be exported.
19082 include_expsyms=$lt_include_expsyms_RC
19084 # ### END LIBTOOL TAG CONFIG: $tagname
19090 # If there is no Makefile yet, we rely on a make rule to execute
19091 # `config.status --recheck' to rerun these tests and create the
19092 # libtool script then.
19093 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19094 if test -f "$ltmain_in"; then
19095 test -f Makefile
&& make "$ltmain"
19101 ac_cpp
='$CPP $CPPFLAGS'
19102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19111 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19112 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19113 { (exit 1); exit 1; }; }
19117 # Append the new tag name to the list of available tags.
19118 if test -n "$tagname" ; then
19119 available_tags
="$available_tags $tagname"
19125 # Now substitute the updated list of available tags.
19126 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19127 mv "${ofile}T" "$ofile"
19131 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19132 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19133 { (exit 1); exit 1; }; }
19139 # This can be used to rebuild libtool when needed
19140 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19142 # Always use our own libtool.
19143 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19145 # Prevent multiple expansion
19168 ac_cpp
='$CXXCPP $CPPFLAGS'
19169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19175 # Check whether --with-libtar was given.
19176 if test "${with_libtar+set}" = set; then
19177 withval
=$with_libtar; LIBTAR_CFLAGS
="-I$with_libtar/include"
19178 LIBTAR_LIBS
="-L$with_libtar/lib -ltar"
19180 echo "Guessing libtar location... may not compile...";
19182 LIBTAR_LIBS
="-ltar"
19189 # Check whether --with-libz was given.
19190 if test "${with_libz+set}" = set; then
19191 withval
=$with_libz; LIBZ_CFLAGS
="-I$with_libtar/include"
19192 LIBZ_LIBS
="-L$with_libtar/lib -ltar"
19194 echo "Guessing zlib location... may not compile...";
19204 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19205 if test -n "$ac_tool_prefix"; then
19206 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19207 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19210 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 case $PKG_CONFIG in
19215 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19219 for as_dir
in $PATH
19222 test -z "$as_dir" && as_dir
=.
19223 for ac_exec_ext
in '' $ac_executable_extensions; do
19224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19225 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19236 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19237 if test -n "$PKG_CONFIG"; then
19238 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19239 echo "${ECHO_T}$PKG_CONFIG" >&6; }
19241 { echo "$as_me:$LINENO: result: no" >&5
19242 echo "${ECHO_T}no" >&6; }
19247 if test -z "$ac_cv_path_PKG_CONFIG"; then
19248 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19249 # Extract the first word of "pkg-config", so it can be a program name with args.
19250 set dummy pkg-config
; ac_word
=$2
19251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19253 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 case $ac_pt_PKG_CONFIG in
19258 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19262 for as_dir
in $PATH
19265 test -z "$as_dir" && as_dir
=.
19266 for ac_exec_ext
in '' $ac_executable_extensions; do
19267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19268 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19279 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19280 if test -n "$ac_pt_PKG_CONFIG"; then
19281 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19282 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
19284 { echo "$as_me:$LINENO: result: no" >&5
19285 echo "${ECHO_T}no" >&6; }
19288 if test "x$ac_pt_PKG_CONFIG" = x
; then
19291 case $cross_compiling:$ac_tool_warned in
19293 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19294 whose name does not start with the host triplet. If you think this
19295 configuration is useful to you, please write to autoconf@gnu.org." >&5
19296 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19297 whose name does not start with the host triplet. If you think this
19298 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19299 ac_tool_warned
=yes ;;
19301 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19304 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19308 if test -n "$PKG_CONFIG"; then
19309 _pkg_min_version
=0.9.0
19310 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19311 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
19312 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19313 { echo "$as_me:$LINENO: result: yes" >&5
19314 echo "${ECHO_T}yes" >&6; }
19316 { echo "$as_me:$LINENO: result: no" >&5
19317 echo "${ECHO_T}no" >&6; }
19324 { echo "$as_me:$LINENO: checking for BARRY" >&5
19325 echo $ECHO_N "checking for BARRY... $ECHO_C" >&6; }
19327 if test -n "$PKG_CONFIG"; then
19328 if test -n "$BARRY_CFLAGS"; then
19329 pkg_cv_BARRY_CFLAGS
="$BARRY_CFLAGS"
19331 if test -n "$PKG_CONFIG" && \
19332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
19333 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; then
19337 pkg_cv_BARRY_CFLAGS
=`$PKG_CONFIG --cflags "libbarry-0 libusb" 2>/dev/null`
19345 if test -n "$PKG_CONFIG"; then
19346 if test -n "$BARRY_LIBS"; then
19347 pkg_cv_BARRY_LIBS
="$BARRY_LIBS"
19349 if test -n "$PKG_CONFIG" && \
19350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libbarry-0 libusb\"") >&5
19351 ($PKG_CONFIG --exists --print-errors "libbarry-0 libusb") 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; then
19355 pkg_cv_BARRY_LIBS
=`$PKG_CONFIG --libs "libbarry-0 libusb" 2>/dev/null`
19366 if test $pkg_failed = yes; then
19368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19369 _pkg_short_errors_supported
=yes
19371 _pkg_short_errors_supported
=no
19373 if test $_pkg_short_errors_supported = yes; then
19374 BARRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libbarry-0 libusb"`
19376 BARRY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libbarry-0 libusb"`
19378 # Put the nasty error message in config.log where it belongs
19379 echo "$BARRY_PKG_ERRORS" >&5
19381 { { echo "$as_me:$LINENO: error: Package requirements (libbarry-0 libusb) were not met:
19385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19386 installed software in a non-standard prefix.
19388 Alternatively, you may set the environment variables BARRY_CFLAGS
19389 and BARRY_LIBS to avoid the need to call pkg-config.
19390 See the pkg-config man page for more details.
19392 echo "$as_me: error: Package requirements (libbarry-0 libusb) were not met:
19396 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19397 installed software in a non-standard prefix.
19399 Alternatively, you may set the environment variables BARRY_CFLAGS
19400 and BARRY_LIBS to avoid the need to call pkg-config.
19401 See the pkg-config man page for more details.
19403 { (exit 1); exit 1; }; }
19404 elif test $pkg_failed = untried
; then
19405 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
19406 is in your PATH or set the PKG_CONFIG environment variable to the full
19407 path to pkg-config.
19409 Alternatively, you may set the environment variables BARRY_CFLAGS
19410 and BARRY_LIBS to avoid the need to call pkg-config.
19411 See the pkg-config man page for more details.
19413 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19414 See \`config.log' for more details." >&5
19415 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
19416 is in your PATH or set the PKG_CONFIG environment variable to the full
19417 path to pkg-config.
19419 Alternatively, you may set the environment variables BARRY_CFLAGS
19420 and BARRY_LIBS to avoid the need to call pkg-config.
19421 See the pkg-config man page for more details.
19423 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19424 See \`config.log' for more details." >&2;}
19425 { (exit 1); exit 1; }; }
19427 BARRY_CFLAGS
=$pkg_cv_BARRY_CFLAGS
19428 BARRY_LIBS
=$pkg_cv_BARRY_LIBS
19429 { echo "$as_me:$LINENO: result: yes" >&5
19430 echo "${ECHO_T}yes" >&6; }
19435 { echo "$as_me:$LINENO: checking for GTKMM" >&5
19436 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
19438 if test -n "$PKG_CONFIG"; then
19439 if test -n "$GTKMM_CFLAGS"; then
19440 pkg_cv_GTKMM_CFLAGS
="$GTKMM_CFLAGS"
19442 if test -n "$PKG_CONFIG" && \
19443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 libglademm-2.4 gthread-2.0\"") >&5
19444 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0") 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; then
19448 pkg_cv_GTKMM_CFLAGS
=`$PKG_CONFIG --cflags "gtkmm-2.4 libglademm-2.4 gthread-2.0" 2>/dev/null`
19456 if test -n "$PKG_CONFIG"; then
19457 if test -n "$GTKMM_LIBS"; then
19458 pkg_cv_GTKMM_LIBS
="$GTKMM_LIBS"
19460 if test -n "$PKG_CONFIG" && \
19461 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 libglademm-2.4 gthread-2.0\"") >&5
19462 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0") 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; then
19466 pkg_cv_GTKMM_LIBS
=`$PKG_CONFIG --libs "gtkmm-2.4 libglademm-2.4 gthread-2.0" 2>/dev/null`
19477 if test $pkg_failed = yes; then
19479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19480 _pkg_short_errors_supported
=yes
19482 _pkg_short_errors_supported
=no
19484 if test $_pkg_short_errors_supported = yes; then
19485 GTKMM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0"`
19487 GTKMM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 libglademm-2.4 gthread-2.0"`
19489 # Put the nasty error message in config.log where it belongs
19490 echo "$GTKMM_PKG_ERRORS" >&5
19492 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 libglademm-2.4 gthread-2.0) were not met:
19496 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19497 installed software in a non-standard prefix.
19499 Alternatively, you may set the environment variables GTKMM_CFLAGS
19500 and GTKMM_LIBS to avoid the need to call pkg-config.
19501 See the pkg-config man page for more details.
19503 echo "$as_me: error: Package requirements (gtkmm-2.4 libglademm-2.4 gthread-2.0) were not met:
19507 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19508 installed software in a non-standard prefix.
19510 Alternatively, you may set the environment variables GTKMM_CFLAGS
19511 and GTKMM_LIBS to avoid the need to call pkg-config.
19512 See the pkg-config man page for more details.
19514 { (exit 1); exit 1; }; }
19515 elif test $pkg_failed = untried
; then
19516 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
19517 is in your PATH or set the PKG_CONFIG environment variable to the full
19518 path to pkg-config.
19520 Alternatively, you may set the environment variables GTKMM_CFLAGS
19521 and GTKMM_LIBS to avoid the need to call pkg-config.
19522 See the pkg-config man page for more details.
19524 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19525 See \`config.log' for more details." >&5
19526 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
19527 is in your PATH or set the PKG_CONFIG environment variable to the full
19528 path to pkg-config.
19530 Alternatively, you may set the environment variables GTKMM_CFLAGS
19531 and GTKMM_LIBS to avoid the need to call pkg-config.
19532 See the pkg-config man page for more details.
19534 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
19535 See \`config.log' for more details." >&2;}
19536 { (exit 1); exit 1; }; }
19538 GTKMM_CFLAGS
=$pkg_cv_GTKMM_CFLAGS
19539 GTKMM_LIBS
=$pkg_cv_GTKMM_LIBS
19540 { echo "$as_me:$LINENO: result: yes" >&5
19541 echo "${ECHO_T}yes" >&6; }
19545 # Carry the special tree build environment variables from parent configure,
19546 # just in case user is doing a complete tree build with --enable-gui
19550 # Setup gladedir, so src/Makefile.am can use it for the compile
19551 # and for the glade file installations. (glade_DATA)
19552 gladedir
="$datadir/barry/glade/"
19555 # Checks for libraries.
19556 #AC_CHECK_LIB([IOKit], [main])
19558 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
19559 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
19560 if test "${ac_cv_lib_pthread_main+set}" = set; then
19561 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 ac_check_lib_save_LIBS
=$LIBS
19564 LIBS
="-lpthread $LIBS"
19565 cat >conftest.
$ac_ext <<_ACEOF
19568 cat confdefs.h
>>conftest.
$ac_ext
19569 cat >>conftest.
$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19581 rm -f conftest.
$ac_objext conftest
$ac_exeext
19582 if { (ac_try
="$ac_link"
19583 case "(($ac_try" in
19584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19585 *) ac_try_echo=$ac_try;;
19587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19588 (eval "$ac_link") 2>conftest.er1
19590 grep -v '^ *+' conftest.er1 >conftest.err
19592 cat conftest.err >&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } && {
19595 test -z "$ac_cxx_werror_flag" ||
19596 test ! -s conftest.err
19597 } && test -s conftest$ac_exeext &&
19598 $as_test_x conftest$ac_exeext; then
19599 ac_cv_lib_pthread_main=yes
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19604 ac_cv_lib_pthread_main=no
19607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19608 conftest$ac_exeext conftest.$ac_ext
19609 LIBS=$ac_check_lib_save_LIBS
19611 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
19612 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
19613 if test $ac_cv_lib_pthread_main = yes; then
19614 cat >>confdefs.h <<_ACEOF
19615 #define HAVE_LIBPTHREAD 1
19618 LIBS="-lpthread $LIBS"
19622 #AC_CHECK_LIB([libusb], [libusb_init])
19624 # Checks for header files.
19630 ac_header_dirent=no
19631 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19632 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
19633 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19634 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
19635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19638 cat >conftest.$ac_ext <<_ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 #include <sys/types.h>
19656 rm -f conftest.$ac_objext
19657 if { (ac_try="$ac_compile"
19658 case "(($ac_try" in
19659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19660 *) ac_try_echo
=$ac_try;;
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_compile") 2>conftest.er1
19665 grep -v '^ *+' conftest.er1
>conftest.err
19667 cat conftest.err
>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && {
19670 test -z "$ac_cxx_werror_flag" ||
19671 test ! -s conftest.err
19672 } && test -s conftest.
$ac_objext; then
19673 eval "$as_ac_Header=yes"
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 eval "$as_ac_Header=no"
19681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19683 ac_res
=`eval echo '${'$as_ac_Header'}'`
19684 { echo "$as_me:$LINENO: result: $ac_res" >&5
19685 echo "${ECHO_T}$ac_res" >&6; }
19686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19687 cat >>confdefs.h
<<_ACEOF
19688 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19691 ac_header_dirent
=$ac_hdr; break
19695 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19696 if test $ac_header_dirent = dirent.h
; then
19697 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19698 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19699 if test "${ac_cv_search_opendir+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 ac_func_search_save_LIBS
=$LIBS
19703 cat >conftest.
$ac_ext <<_ACEOF
19706 cat confdefs.h
>>conftest.
$ac_ext
19707 cat >>conftest.
$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19710 /* Override any GCC internal prototype to avoid an error.
19711 Use char because int might match the return type of a GCC
19712 builtin and then its argument prototype would still apply. */
19725 for ac_lib
in '' dir
; do
19726 if test -z "$ac_lib"; then
19727 ac_res
="none required"
19730 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19732 rm -f conftest.
$ac_objext conftest
$ac_exeext
19733 if { (ac_try
="$ac_link"
19734 case "(($ac_try" in
19735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19736 *) ac_try_echo=$ac_try;;
19738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19739 (eval "$ac_link") 2>conftest.er1
19741 grep -v '^ *+' conftest.er1 >conftest.err
19743 cat conftest.err >&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } && {
19746 test -z "$ac_cxx_werror_flag" ||
19747 test ! -s conftest.err
19748 } && test -s conftest$ac_exeext &&
19749 $as_test_x conftest$ac_exeext; then
19750 ac_cv_search_opendir=$ac_res
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19760 if test "${ac_cv_search_opendir+set}" = set; then
19764 if test "${ac_cv_search_opendir+set}" = set; then
19767 ac_cv_search_opendir=no
19769 rm conftest.$ac_ext
19770 LIBS=$ac_func_search_save_LIBS
19772 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19773 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19774 ac_res=$ac_cv_search_opendir
19775 if test "$ac_res" != no; then
19776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19781 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19782 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19783 if test "${ac_cv_search_opendir+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 ac_func_search_save_LIBS=$LIBS
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19794 /* Override any GCC internal prototype to avoid an error.
19795 Use char because int might match the return type of a GCC
19796 builtin and then its argument prototype would still apply. */
19809 for ac_lib in '' x; do
19810 if test -z "$ac_lib"; then
19811 ac_res="none required"
19814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19816 rm -f conftest.$ac_objext conftest$ac_exeext
19817 if { (ac_try="$ac_link"
19818 case "(($ac_try" in
19819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19820 *) ac_try_echo
=$ac_try;;
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_link") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_cxx_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest
$ac_exeext &&
19833 $as_test_x conftest
$ac_exeext; then
19834 ac_cv_search_opendir
=$ac_res
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.
$ac_ext >&5
19842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19844 if test "${ac_cv_search_opendir+set}" = set; then
19848 if test "${ac_cv_search_opendir+set}" = set; then
19851 ac_cv_search_opendir
=no
19853 rm conftest.
$ac_ext
19854 LIBS
=$ac_func_search_save_LIBS
19856 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19857 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19858 ac_res
=$ac_cv_search_opendir
19859 if test "$ac_res" != no
; then
19860 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19867 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19868 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19869 if test "${ac_cv_header_stdc+set}" = set; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 cat >conftest.
$ac_ext <<_ACEOF
19875 cat confdefs.h
>>conftest.
$ac_ext
19876 cat >>conftest.
$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19878 #include <stdlib.h>
19879 #include <stdarg.h>
19880 #include <string.h>
19891 rm -f conftest.
$ac_objext
19892 if { (ac_try
="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19900 grep -v '^ *+' conftest.er1 >conftest.err
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_cxx_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 ac_cv_header_stdc=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_cv_header_stdc=no
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 if test $ac_cv_header_stdc = yes; then
19919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19920 cat >conftest.$ac_ext <<_ACEOF
19923 cat confdefs.h >>conftest.$ac_ext
19924 cat >>conftest.$ac_ext <<_ACEOF
19925 /* end confdefs.h. */
19926 #include <string.h>
19929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19930 $EGREP "memchr" >/dev/null 2>&1; then
19933 ac_cv_header_stdc=no
19939 if test $ac_cv_header_stdc = yes; then
19940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19941 cat >conftest.$ac_ext <<_ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #include <stdlib.h>
19950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19951 $EGREP "free" >/dev/null 2>&1; then
19954 ac_cv_header_stdc=no
19960 if test $ac_cv_header_stdc = yes; then
19961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19962 if test "$cross_compiling" = yes; then
19965 cat >conftest.$ac_ext <<_ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19972 #include <stdlib.h>
19973 #if ((' ' & 0x0FF) == 0x020)
19974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19977 # define ISLOWER(c) \
19978 (('a' <= (c) && (c) <= 'i') \
19979 || ('j' <= (c) && (c) <= 'r') \
19980 || ('s' <= (c) && (c) <= 'z'))
19981 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19984 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19989 for (i = 0; i < 256; i++)
19990 if (XOR (islower (i), ISLOWER (i))
19991 || toupper (i) != TOUPPER (i))
19996 rm -f conftest$ac_exeext
19997 if { (ac_try="$ac_link"
19998 case "(($ac_try" in
19999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20000 *) ac_try_echo
=$ac_try;;
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_link") 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20007 { (case "(($ac_try" in
20008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_try") 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20018 echo "$as_me: program exited with status $ac_status" >&5
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20022 ( exit $ac_status )
20023 ac_cv_header_stdc=no
20025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20031 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20032 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20033 if test $ac_cv_header_stdc = yes; then
20035 cat >>confdefs.h <<\_ACEOF
20036 #define STDC_HEADERS 1
20044 for ac_header in assert.h stdint.h time.h
20046 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20051 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 ac_res=`eval echo '${'$as_ac_Header'}'`
20054 { echo "$as_me:$LINENO: result: $ac_res" >&5
20055 echo "${ECHO_T}$ac_res" >&6; }
20057 # Is the header compilable?
20058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20060 cat >conftest.$ac_ext <<_ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 $ac_includes_default
20067 #include <$ac_header>
20069 rm -f conftest.$ac_objext
20070 if { (ac_try="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20073 *) ac_try_echo
=$ac_try;;
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20078 grep -v '^ *+' conftest.er1
>conftest.err
20080 cat conftest.err
>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_cxx_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.
$ac_objext; then
20086 ac_header_compiler
=yes
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 ac_header_compiler
=no
20094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20096 echo "${ECHO_T}$ac_header_compiler" >&6; }
20098 # Is the header present?
20099 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20101 cat >conftest.
$ac_ext <<_ACEOF
20104 cat confdefs.h
>>conftest.
$ac_ext
20105 cat >>conftest.
$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 #include <$ac_header>
20109 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20110 case "(($ac_try" in
20111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20112 *) ac_try_echo=$ac_try;;
20114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20117 grep -v '^ *+' conftest.er1 >conftest.err
20119 cat conftest.err >&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } >/dev/null && {
20122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20123 test ! -s conftest.err
20125 ac_header_preproc=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_header_preproc=no
20133 rm -f conftest.err conftest.$ac_ext
20134 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20135 echo "${ECHO_T}$ac_header_preproc" >&6; }
20137 # So? What about this header?
20138 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20144 ac_header_preproc=yes
20147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20160 ## ------------------------------------------------ ##
20161 ## Report this to barry-devel@lists.sourceforge.net ##
20162 ## ------------------------------------------------ ##
20164 ) | sed "s/^/$as_me: WARNING: /" >&2
20167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 eval "$as_ac_Header=\$ac_header_preproc"
20174 ac_res=`eval echo '${'$as_ac_Header'}'`
20175 { echo "$as_me:$LINENO: result: $ac_res" >&5
20176 echo "${ECHO_T}$ac_res" >&6; }
20179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20180 cat >>confdefs.h <<_ACEOF
20181 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20189 # Checks for typedefs, structures, and compiler characteristics.
20191 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20192 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
20193 if test "${ac_cv_header_time+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #include <sys/types.h>
20203 #include <sys/time.h>
20209 if ((struct tm *) 0)
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20219 *) ac_try_echo
=$ac_try;;
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20224 grep -v '^ *+' conftest.er1
>conftest.err
20226 cat conftest.err
>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } && {
20229 test -z "$ac_cxx_werror_flag" ||
20230 test ! -s conftest.err
20231 } && test -s conftest.
$ac_objext; then
20232 ac_cv_header_time
=yes
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.
$ac_ext >&5
20237 ac_cv_header_time
=no
20240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20242 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20243 echo "${ECHO_T}$ac_cv_header_time" >&6; }
20244 if test $ac_cv_header_time = yes; then
20246 cat >>confdefs.h
<<\_ACEOF
20247 #define TIME_WITH_SYS_TIME 1
20252 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20253 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
20254 if test "${ac_cv_struct_tm+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #include <sys/types.h>
20270 int *p = &tm.tm_sec;
20276 rm -f conftest.
$ac_objext
20277 if { (ac_try
="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20285 grep -v '^ *+' conftest.er1 >conftest.err
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_cxx_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_cv_struct_tm=time.h
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 ac_cv_struct_tm=sys/time.h
20301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20304 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
20305 if test $ac_cv_struct_tm = sys/time.h; then
20307 cat >>confdefs.h <<\_ACEOF
20308 #define TM_IN_SYS_TIME 1
20314 # Checks for library functions.
20315 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
20316 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
20317 if test "${ac_cv_func_closedir_void+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 if test "$cross_compiling" = yes; then
20321 ac_cv_func_closedir_void=yes
20323 cat >conftest.$ac_ext <<_ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 #include <$ac_header_dirent>
20331 #ifndef __cplusplus
20338 return closedir (opendir (".")) != 0;
20343 rm -f conftest$ac_exeext
20344 if { (ac_try="$ac_link"
20345 case "(($ac_try" in
20346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20347 *) ac_try_echo
=$ac_try;;
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_link") 2>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20354 { (case "(($ac_try" in
20355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20356 *) ac_try_echo=$ac_try;;
20358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_try") 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_func_closedir_void=no
20365 echo "$as_me: program exited with status $ac_status" >&5
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 ( exit $ac_status )
20370 ac_cv_func_closedir_void=yes
20372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20377 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
20378 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
20379 if test $ac_cv_func_closedir_void = yes; then
20381 cat >>confdefs.h <<\_ACEOF
20382 #define CLOSEDIR_VOID 1
20387 if test $ac_cv_c_compiler_gnu = yes; then
20388 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
20389 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
20390 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 ac_pattern="Autoconf.*'x'"
20394 cat >conftest.$ac_ext <<_ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20404 $EGREP "$ac_pattern" >/dev/null 2>&1; then
20405 ac_cv_prog_gcc_traditional=yes
20407 ac_cv_prog_gcc_traditional=no
20412 if test $ac_cv_prog_gcc_traditional = no; then
20413 cat >conftest.$ac_ext <<_ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 #include <termio.h>
20422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20423 $EGREP "$ac_pattern" >/dev/null 2>&1; then
20424 ac_cv_prog_gcc_traditional=yes
20430 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
20431 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
20432 if test $ac_cv_prog_gcc_traditional = yes; then
20433 CC="$CC -traditional"
20438 for ac_header in stdlib.h
20440 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 ac_res=`eval echo '${'$as_ac_Header'}'`
20448 { echo "$as_me:$LINENO: result: $ac_res" >&5
20449 echo "${ECHO_T}$ac_res" >&6; }
20451 # Is the header compilable?
20452 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20454 cat >conftest.$ac_ext <<_ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 $ac_includes_default
20461 #include <$ac_header>
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20467 *) ac_try_echo
=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20472 grep -v '^ *+' conftest.er1
>conftest.err
20474 cat conftest.err
>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_cxx_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.
$ac_objext; then
20480 ac_header_compiler
=yes
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.
$ac_ext >&5
20485 ac_header_compiler
=no
20488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20489 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20490 echo "${ECHO_T}$ac_header_compiler" >&6; }
20492 # Is the header present?
20493 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20495 cat >conftest.
$ac_ext <<_ACEOF
20498 cat confdefs.h
>>conftest.
$ac_ext
20499 cat >>conftest.
$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 #include <$ac_header>
20503 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20504 case "(($ac_try" in
20505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20506 *) ac_try_echo=$ac_try;;
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20511 grep -v '^ *+' conftest.er1 >conftest.err
20513 cat conftest.err >&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } >/dev/null && {
20516 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20517 test ! -s conftest.err
20519 ac_header_preproc=yes
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20524 ac_header_preproc=no
20527 rm -f conftest.err conftest.$ac_ext
20528 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20529 echo "${ECHO_T}$ac_header_preproc" >&6; }
20531 # So? What about this header?
20532 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20538 ac_header_preproc=yes
20541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20554 ## ------------------------------------------------ ##
20555 ## Report this to barry-devel@lists.sourceforge.net ##
20556 ## ------------------------------------------------ ##
20558 ) | sed "s/^/$as_me: WARNING: /" >&2
20561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 eval "$as_ac_Header=\$ac_header_preproc"
20568 ac_res=`eval echo '${'$as_ac_Header'}'`
20569 { echo "$as_me:$LINENO: result: $ac_res" >&5
20570 echo "${ECHO_T}$ac_res" >&6; }
20573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20574 cat >>confdefs.h <<_ACEOF
20575 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20582 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20583 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
20584 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 if test "$cross_compiling" = yes; then
20588 ac_cv_func_malloc_0_nonnull=no
20590 cat >conftest.$ac_ext <<_ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
20597 # include <stdlib.h>
20605 return ! malloc (0);
20610 rm -f conftest$ac_exeext
20611 if { (ac_try="$ac_link"
20612 case "(($ac_try" in
20613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20614 *) ac_try_echo
=$ac_try;;
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_link") 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20621 { (case "(($ac_try" in
20622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_try") 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_func_malloc_0_nonnull=yes
20632 echo "$as_me: program exited with status $ac_status" >&5
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 ( exit $ac_status )
20637 ac_cv_func_malloc_0_nonnull=no
20639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20644 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20645 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
20646 if test $ac_cv_func_malloc_0_nonnull = yes; then
20648 cat >>confdefs.h <<\_ACEOF
20649 #define HAVE_MALLOC 1
20653 cat >>confdefs.h <<\_ACEOF
20654 #define HAVE_MALLOC 0
20657 case " $LIBOBJS " in
20658 *" malloc.$ac_objext "* ) ;;
20659 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20664 cat >>confdefs.h <<\_ACEOF
20665 #define malloc rpl_malloc
20676 for ac_header in $ac_header_list
20678 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 ac_res=`eval echo '${'$as_ac_Header'}'`
20686 { echo "$as_me:$LINENO: result: $ac_res" >&5
20687 echo "${ECHO_T}$ac_res" >&6; }
20689 # Is the header compilable?
20690 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20692 cat >conftest.$ac_ext <<_ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 #include <$ac_header>
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20705 *) ac_try_echo
=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20710 grep -v '^ *+' conftest.er1
>conftest.err
20712 cat conftest.err
>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_cxx_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.
$ac_objext; then
20718 ac_header_compiler
=yes
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
20723 ac_header_compiler
=no
20726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20727 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20728 echo "${ECHO_T}$ac_header_compiler" >&6; }
20730 # Is the header present?
20731 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20733 cat >conftest.
$ac_ext <<_ACEOF
20736 cat confdefs.h
>>conftest.
$ac_ext
20737 cat >>conftest.
$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #include <$ac_header>
20741 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20742 case "(($ac_try" in
20743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20749 grep -v '^ *+' conftest.er1 >conftest.err
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } >/dev/null && {
20754 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20755 test ! -s conftest.err
20757 ac_header_preproc=yes
20759 echo "$as_me: failed program was:" >&5
20760 sed 's/^/| /' conftest.$ac_ext >&5
20762 ac_header_preproc=no
20765 rm -f conftest.err conftest.$ac_ext
20766 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20767 echo "${ECHO_T}$ac_header_preproc" >&6; }
20769 # So? What about this header?
20770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20776 ac_header_preproc=yes
20779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20792 ## ------------------------------------------------ ##
20793 ## Report this to barry-devel@lists.sourceforge.net ##
20794 ## ------------------------------------------------ ##
20796 ) | sed "s/^/$as_me: WARNING: /" >&2
20799 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20802 echo $ECHO_N "(cached) $ECHO_C" >&6
20804 eval "$as_ac_Header=\$ac_header_preproc"
20806 ac_res=`eval echo '${'$as_ac_Header'}'`
20807 { echo "$as_me:$LINENO: result: $ac_res" >&5
20808 echo "${ECHO_T}$ac_res" >&6; }
20811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20812 cat >>confdefs.h <<_ACEOF
20813 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20828 for ac_func in $ac_func_list
20830 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 cat >conftest.$ac_ext <<_ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20844 #define $ac_func innocuous_$ac_func
20846 /* System header to define __stub macros and hopefully few prototypes,
20847 which can conflict with char $ac_func (); below.
20848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20849 <limits.h> exists even on freestanding compilers. */
20852 # include <limits.h>
20854 # include <assert.h>
20859 /* Override any GCC internal prototype to avoid an error.
20860 Use char because int might match the return type of a GCC
20861 builtin and then its argument prototype would still apply. */
20866 /* The GNU C library defines this for functions which it implements
20867 to always fail with ENOSYS. Some functions are actually named
20868 something starting with __ and the normal name is an alias. */
20869 #if defined __stub_$ac_func || defined __stub___$ac_func
20876 return $ac_func ();
20881 rm -f conftest.$ac_objext conftest$ac_exeext
20882 if { (ac_try="$ac_link"
20883 case "(($ac_try" in
20884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20885 *) ac_try_echo
=$ac_try;;
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_link") 2>conftest.er1
20890 grep -v '^ *+' conftest.er1
>conftest.err
20892 cat conftest.err
>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_cxx_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest
$ac_exeext &&
20898 $as_test_x conftest
$ac_exeext; then
20899 eval "$as_ac_var=yes"
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.
$ac_ext >&5
20904 eval "$as_ac_var=no"
20907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20908 conftest
$ac_exeext conftest.
$ac_ext
20910 ac_res
=`eval echo '${'$as_ac_var'}'`
20911 { echo "$as_me:$LINENO: result: $ac_res" >&5
20912 echo "${ECHO_T}$ac_res" >&6; }
20913 if test `eval echo '${'$as_ac_var'}'` = yes; then
20914 cat >>confdefs.h
<<_ACEOF
20915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20937 { echo "$as_me:$LINENO: checking for working mktime" >&5
20938 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
20939 if test "${ac_cv_func_working_mktime+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 if test "$cross_compiling" = yes; then
20943 ac_cv_func_working_mktime
=no
20945 cat >conftest.
$ac_ext <<_ACEOF
20948 cat confdefs.h
>>conftest.
$ac_ext
20949 cat >>conftest.
$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951 /* Test program from Paul Eggert and Tony Leneis. */
20952 #ifdef TIME_WITH_SYS_TIME
20953 # include <sys/time.h>
20956 # ifdef HAVE_SYS_TIME_H
20957 # include <sys/time.h>
20963 #include <stdlib.h>
20965 #ifdef HAVE_UNISTD_H
20966 # include <unistd.h>
20970 # define alarm(X) /* empty */
20973 /* Work around redefinition to rpl_putenv by other config tests. */
20976 static time_t time_t_max;
20977 static time_t time_t_min;
20979 /* Values we'll use to set the TZ environment variable. */
20980 static char *tz_strings[] = {
20981 (char *) 0, "TZ=GMT0", "TZ=JST-9",
20982 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
20984 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
20986 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
20987 Based on a problem report from Andreas Jaeger. */
20989 spring_forward_gap ()
20991 /* glibc (up to about 1998-10-07) failed this test. */
20994 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
20995 instead of "TZ=America/Vancouver" in order to detect the bug even
20996 on systems that don't support the Olson extension, or don't have the
20997 full zoneinfo tables installed. */
20998 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
21007 return mktime (&tm) != (time_t) -1;
21015 return ! (lt = localtime (&now)) || mktime (lt) == now;
21022 return (mktime_test1 (now)
21023 && mktime_test1 ((time_t) (time_t_max - now))
21024 && mktime_test1 ((time_t) (time_t_min + now)));
21030 /* Based on code from Ariel Faigon. */
21040 return tm.tm_mon == 2 && tm.tm_mday == 31;
21049 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
21050 now = mktime (&tm);
21051 if (now != (time_t) -1)
21053 struct tm *lt = localtime (&now);
21055 && lt->tm_year == tm.tm_year
21056 && lt->tm_mon == tm.tm_mon
21057 && lt->tm_mday == tm.tm_mday
21058 && lt->tm_hour == tm.tm_hour
21059 && lt->tm_min == tm.tm_min
21060 && lt->tm_sec == tm.tm_sec
21061 && lt->tm_yday == tm.tm_yday
21062 && lt->tm_wday == tm.tm_wday
21063 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
21064 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
21073 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
21074 ignoring leap seconds. */
21075 unsigned long int answer = 2527315200UL;
21079 tm.tm_year = 2050 - 1900;
21082 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
21085 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
21086 instead of "TZ=America/Vancouver" in order to detect the bug even
21087 on systems that don't support the Olson extension, or don't have the
21088 full zoneinfo tables installed. */
21089 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
21093 /* Check that the result is either a failure, or close enough
21094 to the correct answer that we can assume the discrepancy is
21095 due to leap seconds. */
21096 return (t == (time_t) -1
21097 || (0 < t && answer - 120 <= t && t <= answer + 120));
21106 /* This test makes some buggy mktime implementations loop.
21107 Give up after 60 seconds; a mktime slower than that
21108 isn't worth using anyway. */
21111 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
21114 if ((time_t) -1 < 0)
21115 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
21117 delta = time_t_max / 997; /* a suitable prime number */
21118 for (i = 0; i < N_STRINGS; i++)
21121 putenv (tz_strings[i]);
21123 for (t = 0; t <= time_t_max - delta; t += delta)
21124 if (! mktime_test (t))
21126 if (! (mktime_test ((time_t) 1)
21127 && mktime_test ((time_t) (60 * 60))
21128 && mktime_test ((time_t) (60 * 60 * 24))))
21131 for (j = 1; 0 < j; j *= 2)
21132 if (! bigtime_test (j))
21134 if (! bigtime_test (j - 1))
21137 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
21140 rm -f conftest
$ac_exeext
21141 if { (ac_try
="$ac_link"
21142 case "(($ac_try" in
21143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_link") 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21151 { (case "(($ac_try" in
21152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21153 *) ac_try_echo
=$ac_try;;
21155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_try") 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_cv_func_working_mktime
=yes
21162 echo "$as_me: program exited with status $ac_status" >&5
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.
$ac_ext >&5
21166 ( exit $ac_status )
21167 ac_cv_func_working_mktime
=no
21169 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21174 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
21175 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
21176 if test $ac_cv_func_working_mktime = no
; then
21177 case " $LIBOBJS " in
21178 *" mktime.$ac_objext "* ) ;;
21179 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext"
21186 for ac_header
in stdlib.h
21188 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21189 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21192 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 ac_res
=`eval echo '${'$as_ac_Header'}'`
21196 { echo "$as_me:$LINENO: result: $ac_res" >&5
21197 echo "${ECHO_T}$ac_res" >&6; }
21199 # Is the header compilable?
21200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21202 cat >conftest.
$ac_ext <<_ACEOF
21205 cat confdefs.h
>>conftest.
$ac_ext
21206 cat >>conftest.
$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209 #include <$ac_header>
21211 rm -f conftest.
$ac_objext
21212 if { (ac_try
="$ac_compile"
21213 case "(($ac_try" in
21214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21215 *) ac_try_echo=$ac_try;;
21217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21218 (eval "$ac_compile") 2>conftest.er1
21220 grep -v '^ *+' conftest.er1 >conftest.err
21222 cat conftest.err >&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } && {
21225 test -z "$ac_cxx_werror_flag" ||
21226 test ! -s conftest.err
21227 } && test -s conftest.$ac_objext; then
21228 ac_header_compiler=yes
21230 echo "$as_me: failed program was:" >&5
21231 sed 's/^/| /' conftest.$ac_ext >&5
21233 ac_header_compiler=no
21236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21238 echo "${ECHO_T}$ac_header_compiler" >&6; }
21240 # Is the header present?
21241 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 #include <$ac_header>
21251 if { (ac_try="$ac_cpp conftest.$ac_ext"
21252 case "(($ac_try" in
21253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21254 *) ac_try_echo
=$ac_try;;
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21259 grep -v '^ *+' conftest.er1
>conftest.err
21261 cat conftest.err
>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } >/dev
/null
&& {
21264 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21265 test ! -s conftest.err
21267 ac_header_preproc
=yes
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 ac_header_preproc
=no
21275 rm -f conftest.err conftest.
$ac_ext
21276 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21277 echo "${ECHO_T}$ac_header_preproc" >&6; }
21279 # So? What about this header?
21280 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21286 ac_header_preproc
=yes
21289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21302 ## ------------------------------------------------ ##
21303 ## Report this to barry-devel@lists.sourceforge.net ##
21304 ## ------------------------------------------------ ##
21306 ) |
sed "s/^/$as_me: WARNING: /" >&2
21309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21311 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21314 eval "$as_ac_Header=\$ac_header_preproc"
21316 ac_res
=`eval echo '${'$as_ac_Header'}'`
21317 { echo "$as_me:$LINENO: result: $ac_res" >&5
21318 echo "${ECHO_T}$ac_res" >&6; }
21321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21322 cat >>confdefs.h
<<_ACEOF
21323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21330 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
21331 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
21332 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 if test "$cross_compiling" = yes; then
21336 ac_cv_func_realloc_0_nonnull
=no
21338 cat >conftest.
$ac_ext <<_ACEOF
21341 cat confdefs.h
>>conftest.
$ac_ext
21342 cat >>conftest.
$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
21345 # include <stdlib.h>
21353 return ! realloc (0, 0);
21358 rm -f conftest
$ac_exeext
21359 if { (ac_try
="$ac_link"
21360 case "(($ac_try" in
21361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21362 *) ac_try_echo=$ac_try;;
21364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21365 (eval "$ac_link") 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21369 { (case "(($ac_try" in
21370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21371 *) ac_try_echo
=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_try") 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_func_realloc_0_nonnull
=yes
21380 echo "$as_me: program exited with status $ac_status" >&5
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.
$ac_ext >&5
21384 ( exit $ac_status )
21385 ac_cv_func_realloc_0_nonnull
=no
21387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21392 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
21393 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
21394 if test $ac_cv_func_realloc_0_nonnull = yes; then
21396 cat >>confdefs.h
<<\_ACEOF
21397 #define HAVE_REALLOC 1
21401 cat >>confdefs.h
<<\_ACEOF
21402 #define HAVE_REALLOC 0
21405 case " $LIBOBJS " in
21406 *" realloc.$ac_objext "* ) ;;
21407 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
21412 cat >>confdefs.h
<<\_ACEOF
21413 #define realloc rpl_realloc
21422 for ac_header
in sys
/select.h sys
/socket.h
21424 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21425 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21428 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21429 echo $ECHO_N "(cached) $ECHO_C" >&6
21431 ac_res
=`eval echo '${'$as_ac_Header'}'`
21432 { echo "$as_me:$LINENO: result: $ac_res" >&5
21433 echo "${ECHO_T}$ac_res" >&6; }
21435 # Is the header compilable?
21436 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21438 cat >conftest.
$ac_ext <<_ACEOF
21441 cat confdefs.h
>>conftest.
$ac_ext
21442 cat >>conftest.
$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21445 #include <$ac_header>
21447 rm -f conftest.
$ac_objext
21448 if { (ac_try
="$ac_compile"
21449 case "(($ac_try" in
21450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_compile") 2>conftest.er1
21456 grep -v '^ *+' conftest.er1 >conftest.err
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } && {
21461 test -z "$ac_cxx_werror_flag" ||
21462 test ! -s conftest.err
21463 } && test -s conftest.$ac_objext; then
21464 ac_header_compiler=yes
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 ac_header_compiler=no
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21474 echo "${ECHO_T}$ac_header_compiler" >&6; }
21476 # Is the header present?
21477 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21479 cat >conftest.$ac_ext <<_ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 #include <$ac_header>
21487 if { (ac_try="$ac_cpp conftest.$ac_ext"
21488 case "(($ac_try" in
21489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21490 *) ac_try_echo
=$ac_try;;
21492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21495 grep -v '^ *+' conftest.er1
>conftest.err
21497 cat conftest.err
>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); } >/dev
/null
&& {
21500 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21501 test ! -s conftest.err
21503 ac_header_preproc
=yes
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.
$ac_ext >&5
21508 ac_header_preproc
=no
21511 rm -f conftest.err conftest.
$ac_ext
21512 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21513 echo "${ECHO_T}$ac_header_preproc" >&6; }
21515 # So? What about this header?
21516 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21522 ac_header_preproc
=yes
21525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21538 ## ------------------------------------------------ ##
21539 ## Report this to barry-devel@lists.sourceforge.net ##
21540 ## ------------------------------------------------ ##
21542 ) |
sed "s/^/$as_me: WARNING: /" >&2
21545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21547 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 eval "$as_ac_Header=\$ac_header_preproc"
21552 ac_res
=`eval echo '${'$as_ac_Header'}'`
21553 { echo "$as_me:$LINENO: result: $ac_res" >&5
21554 echo "${ECHO_T}$ac_res" >&6; }
21557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21558 cat >>confdefs.h
<<_ACEOF
21559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21566 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
21567 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
21568 if test "${ac_cv_func_select_args+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21572 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21573 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21574 cat >conftest.
$ac_ext <<_ACEOF
21577 cat confdefs.h
>>conftest.
$ac_ext
21578 cat >>conftest.
$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21580 $ac_includes_default
21581 #ifdef HAVE_SYS_SELECT_H
21582 # include <sys/select.h>
21584 #ifdef HAVE_SYS_SOCKET_H
21585 # include <sys/socket.h>
21591 extern int select ($ac_arg1,
21592 $ac_arg234, $ac_arg234, $ac_arg234,
21598 rm -f conftest.
$ac_objext
21599 if { (ac_try
="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21607 grep -v '^ *+' conftest.er1 >conftest.err
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_cxx_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627 # Provide a safe default value.
21628 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
21631 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
21632 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
21633 ac_save_IFS=$IFS; IFS=','
21634 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
21638 cat >>confdefs.h <<_ACEOF
21639 #define SELECT_TYPE_ARG1 $1
21643 cat >>confdefs.h <<_ACEOF
21644 #define SELECT_TYPE_ARG234 ($2)
21648 cat >>confdefs.h <<_ACEOF
21649 #define SELECT_TYPE_ARG5 ($3)
21654 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
21655 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
21656 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
21657 echo $ECHO_N "(cached) $ECHO_C" >&6
21659 rm -f conftest.sym conftest.file
21660 echo >conftest.file
21661 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
21662 if test "$cross_compiling" = yes; then
21663 ac_cv_func_lstat_dereferences_slashed_symlink=no
21665 cat >conftest.$ac_ext <<_ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21676 /* Linux will dereference the symlink and fail.
21677 That is better in the sense that it means we will not
21678 have to compile and use the lstat wrapper. */
21679 return lstat ("conftest.sym/", &sbuf) == 0;
21684 rm -f conftest$ac_exeext
21685 if { (ac_try="$ac_link"
21686 case "(($ac_try" in
21687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21688 *) ac_try_echo
=$ac_try;;
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_link") 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21695 { (case "(($ac_try" in
21696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_func_lstat_dereferences_slashed_symlink=yes
21706 echo "$as_me: program exited with status $ac_status" >&5
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 ( exit $ac_status )
21711 ac_cv_func_lstat_dereferences_slashed_symlink=no
21713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21718 # If the `ln -s' command failed, then we probably don't even
21719 # have an lstat function.
21720 ac_cv_func_lstat_dereferences_slashed_symlink
=no
21722 rm -f conftest.sym conftest.
file
21725 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
21726 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
21728 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
21730 cat >>confdefs.h
<<_ACEOF
21731 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
21735 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
21736 case " $LIBOBJS " in
21737 *" lstat.$ac_objext "* ) ;;
21738 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
21744 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
21745 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
21746 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 if test "$cross_compiling" = yes; then
21750 ac_cv_func_stat_empty_string_bug
=yes
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 $ac_includes_default
21763 return stat ("", &sbuf) == 0;
21768 rm -f conftest
$ac_exeext
21769 if { (ac_try
="$ac_link"
21770 case "(($ac_try" in
21771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21772 *) ac_try_echo=$ac_try;;
21774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21775 (eval "$ac_link") 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21781 *) ac_try_echo
=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; }; then
21788 ac_cv_func_stat_empty_string_bug
=no
21790 echo "$as_me: program exited with status $ac_status" >&5
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.
$ac_ext >&5
21794 ( exit $ac_status )
21795 ac_cv_func_stat_empty_string_bug
=yes
21797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21802 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
21803 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
21804 if test $ac_cv_func_stat_empty_string_bug = yes; then
21805 case " $LIBOBJS " in
21806 *" stat.$ac_objext "* ) ;;
21807 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
21812 cat >>confdefs.h
<<_ACEOF
21813 #define HAVE_STAT_EMPTY_STRING_BUG 1
21827 for ac_func
in bzero gettimeofday memset
select strcasecmp strchr strerror strtol strtoul
21829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21832 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 cat >conftest.
$ac_ext <<_ACEOF
21838 cat confdefs.h
>>conftest.
$ac_ext
21839 cat >>conftest.
$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21843 #define $ac_func innocuous_$ac_func
21845 /* System header to define __stub macros and hopefully few prototypes,
21846 which can conflict with char $ac_func (); below.
21847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21848 <limits.h> exists even on freestanding compilers. */
21851 # include <limits.h>
21853 # include <assert.h>
21858 /* Override any GCC internal prototype to avoid an error.
21859 Use char because int might match the return type of a GCC
21860 builtin and then its argument prototype would still apply. */
21865 /* The GNU C library defines this for functions which it implements
21866 to always fail with ENOSYS. Some functions are actually named
21867 something starting with __ and the normal name is an alias. */
21868 #if defined __stub_$ac_func || defined __stub___$ac_func
21875 return $ac_func ();
21880 rm -f conftest.
$ac_objext conftest
$ac_exeext
21881 if { (ac_try
="$ac_link"
21882 case "(($ac_try" in
21883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_link") 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_cxx_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest$ac_exeext &&
21897 $as_test_x conftest$ac_exeext; then
21898 eval "$as_ac_var=yes"
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21903 eval "$as_ac_var=no"
21906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21907 conftest$ac_exeext conftest.$ac_ext
21909 ac_res=`eval echo '${'$as_ac_var'}'`
21910 { echo "$as_me:$LINENO: result: $ac_res" >&5
21911 echo "${ECHO_T}$ac_res" >&6; }
21912 if test `eval echo '${'$as_ac_var'}'` = yes; then
21913 cat >>confdefs.h <<_ACEOF
21914 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
21921 ac_config_files="$ac_config_files Makefile src/Makefile"
21923 cat >confcache <<\_ACEOF
21924 # This file is a shell script that caches the results of configure
21925 # tests run on this system so they can be shared between configure
21926 # scripts and configure runs, see configure's option --config-cache.
21927 # It is not useful on other systems. If it contains results you don't
21928 # want to keep, you may remove or edit it.
21930 # config.status only pays attention to the cache file if you give it
21931 # the --recheck option to rerun configure.
21933 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21935 # following values.
21939 # The following way of writing the cache mishandles newlines in values,
21940 # but we know of no workaround that is simple, portable, and efficient.
21941 # So, we kill variables containing newlines.
21942 # Ultrix sh set writes to stderr and can't be redirected directly,
21943 # and sets the high bit in the cache file unless we assign to the vars.
21945 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21946 eval ac_val
=\$
$ac_var
21950 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21951 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21954 _ | IFS | as_nl
) ;; #(
21955 *) $as_unset $ac_var ;;
21961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21962 *${as_nl}ac_space
=\
*)
21963 # `set' does not quote correctly, so add quotes (double-quote
21964 # substitution turns \\\\ into \\, and sed turns \\ into \).
21967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21970 # `set' quotes correctly as required by POSIX, so do not add quotes.
21971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21984 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21985 if test -w "$cache_file"; then
21986 test "x$cache_file" != "x/dev/null" &&
21987 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21988 echo "$as_me: updating cache $cache_file" >&6;}
21989 cat confcache
>$cache_file
21991 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21992 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21997 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21998 # Let make expand exec_prefix.
21999 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22001 DEFS
=-DHAVE_CONFIG_H
22005 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22006 # 1. Remove the extension, and $U if already installed.
22007 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22008 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22009 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22010 # will be set to the directory where LIBOBJS objects are built.
22011 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22012 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22014 LIBOBJS
=$ac_libobjs
22016 LTLIBOBJS
=$ac_ltlibobjs
22019 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22020 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22021 Usually this means the macro was only invoked conditionally." >&5
22022 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22023 Usually this means the macro was only invoked conditionally." >&2;}
22024 { (exit 1); exit 1; }; }
22026 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22027 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22028 Usually this means the macro was only invoked conditionally." >&5
22029 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22030 Usually this means the macro was only invoked conditionally." >&2;}
22031 { (exit 1); exit 1; }; }
22033 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22034 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22035 Usually this means the macro was only invoked conditionally." >&5
22036 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22037 Usually this means the macro was only invoked conditionally." >&2;}
22038 { (exit 1); exit 1; }; }
22041 : ${CONFIG_STATUS=./config.status}
22042 ac_clean_files_save
=$ac_clean_files
22043 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22044 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22045 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22046 cat >$CONFIG_STATUS <<_ACEOF
22048 # Generated by $as_me.
22049 # Run this file to recreate the current configuration.
22050 # Compiler output produced by configure, useful for debugging
22051 # configure, is in config.log if it exists.
22054 ac_cs_recheck=false
22056 SHELL=\${CONFIG_SHELL-$SHELL}
22059 cat >>$CONFIG_STATUS <<\_ACEOF
22060 ## --------------------- ##
22061 ## M4sh Initialization. ##
22062 ## --------------------- ##
22064 # Be more Bourne compatible
22065 DUALCASE
=1; export DUALCASE
# for MKS sh
22066 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22069 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22070 # is contrary to our usage. Disable this feature.
22071 alias -g '${1+"$@"}'='"$@"'
22072 setopt NO_GLOB_SUBST
22074 case `(set -o) 2>/dev/null` in
22075 *posix
*) set -o posix
;;
22084 # Avoid depending upon Character Ranges.
22085 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22086 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22087 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22088 as_cr_digits
='0123456789'
22089 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22091 # The user is always right.
22092 if test "${PATH_SEPARATOR+set}" != set; then
22093 echo "#! /bin/sh" >conf$$.sh
22094 echo "exit 0" >>conf$$.sh
22096 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22104 # Support unset when possible.
22105 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22113 # We need space, tab and new line, in precisely that order. Quoting is
22114 # there to prevent editors from complaining about space-tab.
22115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22116 # splitting by setting IFS to empty value.)
22121 # Find who we are. Look in the path if we contain no directory separator.
22123 *[\\/]* ) as_myself
=$0 ;;
22124 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22125 for as_dir
in $PATH
22128 test -z "$as_dir" && as_dir
=.
22129 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22135 # We did not find ourselves, most probably we were run as `sh COMMAND'
22136 # in which case we are not to be found in the path.
22137 if test "x$as_myself" = x
; then
22140 if test ! -f "$as_myself"; then
22141 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22142 { (exit 1); exit 1; }
22145 # Work around bugs in pre-3.0 UWIN ksh.
22146 for as_var
in ENV MAIL MAILPATH
22147 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22155 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22156 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22157 LC_TELEPHONE LC_TIME
22159 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22160 eval $as_var=C
; export $as_var
22162 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22166 # Required to use basename.
22167 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22168 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22174 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22175 as_basename
=basename
22181 # Name of the executable.
22182 as_me
=`$as_basename -- "$0" ||
22183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22184 X"$0" : 'X\(//\)$' \| \
22185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22187 sed '/^.*\/\([^/][^/]*\)\/*$/{
22206 as_lineno_1
=$LINENO
22207 as_lineno_2
=$LINENO
22208 test "x$as_lineno_1" != "x$as_lineno_2" &&
22209 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22211 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22212 # uniformly replaced by the line number. The first 'sed' inserts a
22213 # line-number line after each line using $LINENO; the second 'sed'
22214 # does the real work. The second script uses 'N' to pair each
22215 # line-number line with the line containing $LINENO, and appends
22216 # trailing '-' during substitution so that $LINENO is not a special
22217 # case at line end.
22218 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22219 # scripts with optimization help from Paolo Bonzini. Blame Lee
22220 # E. McMahon (1931-1989) for sed's syntax. :-)
22232 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22235 ' >$as_me.lineno
&&
22236 chmod +x
"$as_me.lineno" ||
22237 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22238 { (exit 1); exit 1; }; }
22240 # Don't try to exec as it changes $[0], causing all sort of problems
22241 # (the dirname of $[0] is not the place where we might find the
22242 # original and so on. Autoconf is especially sensitive to this).
22243 .
"./$as_me.lineno"
22244 # Exit status is that of the last command.
22249 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22255 ECHO_C
= ECHO_N
= ECHO_T
=
22256 case `echo -n x` in
22258 case `echo 'x\c'` in
22259 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22266 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22267 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22273 rm -f conf$$ conf$$.exe conf$$.
file
22274 if test -d conf$$.dir
; then
22275 rm -f conf$$.dir
/conf$$.
file
22281 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22283 # ... but there are two gotchas:
22284 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22285 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22286 # In both cases, we have to default to `cp -p'.
22287 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22289 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22294 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22295 rmdir conf$$.dir
2>/dev
/null
22297 if mkdir
-p .
2>/dev
/null
; then
22300 test -d .
/-p && rmdir .
/-p
22304 if test -x / >/dev
/null
2>&1; then
22305 as_test_x
='test -x'
22307 if ls -dL / >/dev
/null
2>&1; then
22314 if test -d "$1"; then
22320 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22321 ???[sx]*):;;*)false;;esac;fi
22325 as_executable_p
=$as_test_x
22327 # Sed expression to map a string onto a valid CPP name.
22328 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22330 # Sed expression to map a string onto a valid variable name.
22331 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22336 # Save the log message, to keep $[0] and so on meaningful, and to
22337 # report actual input values of CONFIG_FILES etc. instead of their
22338 # values after options handling.
22340 This file was extended by barry-backup $as_me 0.1, which was
22341 generated by GNU Autoconf 2.61. Invocation command line was
22343 CONFIG_FILES = $CONFIG_FILES
22344 CONFIG_HEADERS = $CONFIG_HEADERS
22345 CONFIG_LINKS = $CONFIG_LINKS
22346 CONFIG_COMMANDS = $CONFIG_COMMANDS
22349 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22354 cat >>$CONFIG_STATUS <<_ACEOF
22355 # Files that config.status was made for.
22356 config_files="$ac_config_files"
22357 config_headers="$ac_config_headers"
22358 config_commands="$ac_config_commands"
22362 cat >>$CONFIG_STATUS <<\_ACEOF
22364 \`$as_me' instantiates files from templates according to the
22365 current configuration.
22367 Usage: $0 [OPTIONS] [FILE]...
22369 -h, --help print this help, then exit
22370 -V, --version print version number and configuration settings, then exit
22371 -q, --quiet do not print progress messages
22372 -d, --debug don't remove temporary files
22373 --recheck update $as_me by reconfiguring in the same conditions
22374 --file=FILE[:TEMPLATE]
22375 instantiate the configuration file FILE
22376 --header=FILE[:TEMPLATE]
22377 instantiate the configuration header FILE
22379 Configuration files:
22382 Configuration headers:
22385 Configuration commands:
22388 Report bugs to <bug-autoconf@gnu.org>."
22391 cat >>$CONFIG_STATUS <<_ACEOF
22393 barry-backup config.status 0.1
22394 configured by $0, generated by GNU Autoconf 2.61,
22395 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22397 Copyright (C) 2006 Free Software Foundation, Inc.
22398 This config.status script is free software; the Free Software Foundation
22399 gives unlimited permission to copy, distribute and modify it."
22406 cat >>$CONFIG_STATUS <<\_ACEOF
22407 # If no file are specified by the user, then we need to provide default
22408 # value. By we need to know if files were specified by the user.
22414 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22415 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22426 # Handling of the options.
22427 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22429 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22430 echo "$ac_cs_version"; exit ;;
22431 --debug |
--debu |
--deb |
--de |
--d |
-d )
22433 --file |
--fil |
--fi |
--f )
22435 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22436 ac_need_defaults
=false
;;
22437 --header |
--heade |
--head |
--hea )
22439 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22440 ac_need_defaults
=false
;;
22442 # Conflict between --help and --header
22443 { echo "$as_me: error: ambiguous option: $1
22444 Try \`$0 --help' for more information." >&2
22445 { (exit 1); exit 1; }; };;
22446 --help |
--hel |
-h )
22447 echo "$ac_cs_usage"; exit ;;
22448 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22449 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22452 # This is an error.
22453 -*) { echo "$as_me: error: unrecognized option: $1
22454 Try \`$0 --help' for more information." >&2
22455 { (exit 1); exit 1; }; } ;;
22457 *) ac_config_targets
="$ac_config_targets $1"
22458 ac_need_defaults
=false
;;
22464 ac_configure_extra_args
=
22466 if $ac_cs_silent; then
22468 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22472 cat >>$CONFIG_STATUS <<_ACEOF
22473 if \$ac_cs_recheck; then
22474 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22475 CONFIG_SHELL=$SHELL
22476 export CONFIG_SHELL
22477 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22481 cat >>$CONFIG_STATUS <<\_ACEOF
22485 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22486 ## Running $as_me. ##
22492 cat >>$CONFIG_STATUS <<_ACEOF
22496 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22500 cat >>$CONFIG_STATUS <<\_ACEOF
22502 # Handling of arguments.
22503 for ac_config_target
in $ac_config_targets
22505 case $ac_config_target in
22506 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.h.in" ;;
22507 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22508 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22509 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22511 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22512 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22513 { (exit 1); exit 1; }; };;
22518 # If the user did not use the arguments to specify the items to instantiate,
22519 # then the envvar interface is used. Set only those that are not.
22520 # We use the long form for the default assignment because of an extremely
22521 # bizarre bug on SunOS 4.1.3.
22522 if $ac_need_defaults; then
22523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22528 # Have a temporary directory for convenience. Make it in the build tree
22529 # simply because there is no reason against having it here, and in addition,
22530 # creating and moving files from /tmp can sometimes cause problems.
22531 # Hook for its removal unless debugging.
22532 # Note that there is a small window in which the directory will not be cleaned:
22533 # after its creation but before its name has been assigned to `$tmp'.
22537 trap 'exit_status=$?
22538 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22540 trap '{ (exit 1); exit 1; }' 1 2 13 15
22542 # Create a (secure) tmp directory for tmp files.
22545 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22546 test -n "$tmp" && test -d "$tmp"
22549 tmp
=.
/conf$$
-$RANDOM
22550 (umask 077 && mkdir
"$tmp")
22553 echo "$me: cannot create a temporary directory in ." >&2
22554 { (exit 1); exit 1; }
22558 # Set up the sed scripts for CONFIG_FILES section.
22561 # No need to generate the scripts if there are no CONFIG_FILES.
22562 # This happens for instance when ./config.status config.h
22563 if test -n "$CONFIG_FILES"; then
22570 for ac_last_try
in false false false false false
:; do
22571 cat >conf$
$subs.
sed <<_ACEOF
22572 SHELL!$SHELL$ac_delim
22573 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22574 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22575 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22576 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22577 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22578 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22579 exec_prefix!$exec_prefix$ac_delim
22580 prefix!$prefix$ac_delim
22581 program_transform_name!$program_transform_name$ac_delim
22582 bindir!$bindir$ac_delim
22583 sbindir!$sbindir$ac_delim
22584 libexecdir!$libexecdir$ac_delim
22585 datarootdir!$datarootdir$ac_delim
22586 datadir!$datadir$ac_delim
22587 sysconfdir!$sysconfdir$ac_delim
22588 sharedstatedir!$sharedstatedir$ac_delim
22589 localstatedir!$localstatedir$ac_delim
22590 includedir!$includedir$ac_delim
22591 oldincludedir!$oldincludedir$ac_delim
22592 docdir!$docdir$ac_delim
22593 infodir!$infodir$ac_delim
22594 htmldir!$htmldir$ac_delim
22595 dvidir!$dvidir$ac_delim
22596 pdfdir!$pdfdir$ac_delim
22597 psdir!$psdir$ac_delim
22598 libdir!$libdir$ac_delim
22599 localedir!$localedir$ac_delim
22600 mandir!$mandir$ac_delim
22601 DEFS!$DEFS$ac_delim
22602 ECHO_C!$ECHO_C$ac_delim
22603 ECHO_N!$ECHO_N$ac_delim
22604 ECHO_T!$ECHO_T$ac_delim
22605 LIBS!$LIBS$ac_delim
22606 build_alias!$build_alias$ac_delim
22607 host_alias!$host_alias$ac_delim
22608 target_alias!$target_alias$ac_delim
22609 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22610 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22611 INSTALL_DATA!$INSTALL_DATA$ac_delim
22612 CYGPATH_W!$CYGPATH_W$ac_delim
22613 PACKAGE!$PACKAGE$ac_delim
22614 VERSION!$VERSION$ac_delim
22615 ACLOCAL!$ACLOCAL$ac_delim
22616 AUTOCONF!$AUTOCONF$ac_delim
22617 AUTOMAKE!$AUTOMAKE$ac_delim
22618 AUTOHEADER!$AUTOHEADER$ac_delim
22619 MAKEINFO!$MAKEINFO$ac_delim
22620 install_sh!$install_sh$ac_delim
22621 STRIP!$STRIP$ac_delim
22622 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22623 mkdir_p!$mkdir_p$ac_delim
22625 SET_MAKE!$SET_MAKE$ac_delim
22626 am__leading_dot!$am__leading_dot$ac_delim
22627 AMTAR!$AMTAR$ac_delim
22628 am__tar!$am__tar$ac_delim
22629 am__untar!$am__untar$ac_delim
22631 CFLAGS!$CFLAGS$ac_delim
22632 LDFLAGS!$LDFLAGS$ac_delim
22633 CPPFLAGS!$CPPFLAGS$ac_delim
22634 ac_ct_CC!$ac_ct_CC$ac_delim
22635 EXEEXT!$EXEEXT$ac_delim
22636 OBJEXT!$OBJEXT$ac_delim
22637 DEPDIR!$DEPDIR$ac_delim
22638 am__include!$am__include$ac_delim
22639 am__quote!$am__quote$ac_delim
22640 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22641 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22642 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22643 CCDEPMODE!$CCDEPMODE$ac_delim
22644 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22645 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22647 CXXFLAGS!$CXXFLAGS$ac_delim
22648 ac_ct_CXX!$ac_ct_CXX$ac_delim
22649 CXXDEPMODE!$CXXDEPMODE$ac_delim
22650 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22651 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22652 build!$build$ac_delim
22653 build_cpu!$build_cpu$ac_delim
22654 build_vendor!$build_vendor$ac_delim
22655 build_os!$build_os$ac_delim
22656 host!$host$ac_delim
22657 host_cpu!$host_cpu$ac_delim
22658 host_vendor!$host_vendor$ac_delim
22659 host_os!$host_os$ac_delim
22660 GREP!$GREP$ac_delim
22661 EGREP!$EGREP$ac_delim
22662 LN_S!$LN_S$ac_delim
22663 ECHO!$ECHO$ac_delim
22665 RANLIB!$RANLIB$ac_delim
22667 CXXCPP!$CXXCPP$ac_delim
22671 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22673 elif $ac_last_try; then
22674 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22675 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22676 { (exit 1); exit 1; }; }
22678 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22682 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22683 if test -n "$ac_eof"; then
22684 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22685 ac_eof
=`expr $ac_eof + 1`
22688 cat >>$CONFIG_STATUS <<_ACEOF
22689 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22693 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22694 s/^/s,@/; s/!/@,|#_!!_#|/
22697 s/'"$ac_delim"'$/,g/; t
22699 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22700 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22701 rm -f conf$
$subs.
sed
22702 cat >>$CONFIG_STATUS <<_ACEOF
22708 for ac_last_try
in false false false false false
:; do
22709 cat >conf$
$subs.
sed <<_ACEOF
22710 FFLAGS!$FFLAGS$ac_delim
22711 ac_ct_F77!$ac_ct_F77$ac_delim
22712 LIBTOOL!$LIBTOOL$ac_delim
22713 LIBTAR_CFLAGS!$LIBTAR_CFLAGS$ac_delim
22714 LIBTAR_LIBS!$LIBTAR_LIBS$ac_delim
22715 LIBZ_CFLAGS!$LIBZ_CFLAGS$ac_delim
22716 LIBZ_LIBS!$LIBZ_LIBS$ac_delim
22717 PKG_CONFIG!$PKG_CONFIG$ac_delim
22718 BARRY_CFLAGS!$BARRY_CFLAGS$ac_delim
22719 BARRY_LIBS!$BARRY_LIBS$ac_delim
22720 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
22721 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
22722 TREE_BUILD_CXXFLAGS!$TREE_BUILD_CXXFLAGS$ac_delim
22723 TREE_BUILD_LDFLAGS!$TREE_BUILD_LDFLAGS$ac_delim
22724 gladedir!$gladedir$ac_delim
22725 LIBOBJS!$LIBOBJS$ac_delim
22726 LTLIBOBJS!$LTLIBOBJS$ac_delim
22729 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
22731 elif $ac_last_try; then
22732 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22733 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22734 { (exit 1); exit 1; }; }
22736 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22740 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22741 if test -n "$ac_eof"; then
22742 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22743 ac_eof
=`expr $ac_eof + 1`
22746 cat >>$CONFIG_STATUS <<_ACEOF
22747 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22751 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22752 s/^/s,@/; s/!/@,|#_!!_#|/
22755 s/'"$ac_delim"'$/,g/; t
22757 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22758 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22759 rm -f conf$
$subs.
sed
22760 cat >>$CONFIG_STATUS <<_ACEOF
22767 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22768 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22769 # trailing colons and then remove the whole line if VPATH becomes empty
22770 # (actually we leave an empty line to preserve line numbers).
22771 if test "x$srcdir" = x.
; then
22772 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22773 s/:*\$(srcdir):*/:/
22774 s/:*\${srcdir}:*/:/
22776 s/^\([^=]*=[ ]*\):*/\1/
22782 cat >>$CONFIG_STATUS <<\_ACEOF
22783 fi # test -n "$CONFIG_FILES"
22786 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22789 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22791 case $ac_mode$ac_tag in
22793 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22794 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22795 { (exit 1); exit 1; }; };;
22796 :[FH
]-) ac_tag
=-:-;;
22797 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22814 -) ac_f
="$tmp/stdin";;
22815 *) # Look for the file first in the build tree, then in the source tree
22816 # (if the path is not absolute). The absolute path cannot be DOS-style,
22817 # because $ac_f cannot contain `:'.
22821 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22823 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22824 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22825 { (exit 1); exit 1; }; };;
22827 ac_file_inputs
="$ac_file_inputs $ac_f"
22830 # Let's still pretend it is `configure' which instantiates (i.e., don't
22831 # use $as_me), people would be surprised to read:
22832 # /* config.h. Generated by config.status. */
22833 configure_input
="Generated from "`IFS=:
22834 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22835 if test x
"$ac_file" != x-
; then
22836 configure_input
="$ac_file. $configure_input"
22837 { echo "$as_me:$LINENO: creating $ac_file" >&5
22838 echo "$as_me: creating $ac_file" >&6;}
22842 *:-:* |
*:-) cat >"$tmp/stdin";;
22847 ac_dir
=`$as_dirname -- "$ac_file" ||
22848 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22849 X"$ac_file" : 'X\(//\)[^/]' \| \
22850 X"$ac_file" : 'X\(//\)$' \| \
22851 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22857 /^X\(\/\/\)[^/].*/{
22872 -*) as_dir
=.
/$as_dir;;
22874 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22878 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22879 *) as_qdir
=$as_dir;;
22881 as_dirs
="'$as_qdir' $as_dirs"
22882 as_dir
=`$as_dirname -- "$as_dir" ||
22883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22884 X"$as_dir" : 'X\(//\)[^/]' \| \
22885 X"$as_dir" : 'X\(//\)$' \| \
22886 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22892 /^X\(\/\/\)[^/].*/{
22905 test -d "$as_dir" && break
22907 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22908 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22909 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22910 { (exit 1); exit 1; }; }; }
22914 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22916 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22917 # A ".." for each directory in $ac_dir_suffix.
22918 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22919 case $ac_top_builddir_sub in
22920 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22921 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22924 ac_abs_top_builddir
=$ac_pwd
22925 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22926 # for backward compatibility:
22927 ac_top_builddir
=$ac_top_build_prefix
22930 .
) # We are building in place.
22932 ac_top_srcdir
=$ac_top_builddir_sub
22933 ac_abs_top_srcdir
=$ac_pwd ;;
22934 [\\/]* | ?
:[\\/]* ) # Absolute name.
22935 ac_srcdir
=$srcdir$ac_dir_suffix;
22936 ac_top_srcdir
=$srcdir
22937 ac_abs_top_srcdir
=$srcdir ;;
22938 *) # Relative name.
22939 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22940 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22941 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22943 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22953 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22954 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22958 cat >>$CONFIG_STATUS <<\_ACEOF
22959 # If the template does not know about datarootdir, expand it.
22960 # FIXME: This hack should be removed a few years after 2.60.
22961 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22963 case `sed -n '/datarootdir/ {
22972 ' $ac_file_inputs` in
22973 *datarootdir
*) ac_datarootdir_seen
=yes;;
22974 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22975 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22976 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22978 cat >>$CONFIG_STATUS <<_ACEOF
22979 ac_datarootdir_hack='
22980 s&@datadir@&$datadir&g
22981 s&@docdir@&$docdir&g
22982 s&@infodir@&$infodir&g
22983 s&@localedir@&$localedir&g
22984 s&@mandir@&$mandir&g
22985 s&\\\${datarootdir}&$datarootdir&g' ;;
22989 # Neutralize VPATH when `$srcdir' = `.'.
22990 # Shell code in configure.ac might set extrasub.
22991 # FIXME: do we really want to maintain this feature?
22992 cat >>$CONFIG_STATUS <<_ACEOF
22996 cat >>$CONFIG_STATUS <<\_ACEOF
22998 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22999 s
&@configure_input@
&$configure_input&;t t
23000 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23001 s
&@srcdir@
&$ac_srcdir&;t t
23002 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23003 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23004 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23005 s
&@builddir@
&$ac_builddir&;t t
23006 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23007 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23008 s
&@INSTALL@
&$ac_INSTALL&;t t
23009 $ac_datarootdir_hack
23010 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23015 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23016 which seems to be undefined. Please make sure it is defined." >&5
23017 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23018 which seems to be undefined. Please make sure it is defined." >&2;}
23022 -) cat "$tmp/out"; rm -f "$tmp/out";;
23023 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23032 # Transform confdefs.h into a sed script `conftest.defines', that
23033 # substitutes the proper values into config.h.in to produce config.h.
23034 rm -f conftest.defines conftest.
tail
23035 # First, append a space to every undef/define line, to ease matching.
23036 echo 's/$/ /' >conftest.defines
23037 # Then, protect against being on the right side of a sed subst, or in
23038 # an unquoted here document, in config.status. If some macros were
23039 # called several times there might be several #defines for the same
23040 # symbol, which is useless. But do not sort them, since the last
23041 # AC_DEFINE must be honored.
23042 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23043 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23044 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23045 # PARAMS is the parameter list in the macro definition--in most cases, it's
23046 # just an empty string.
23047 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23048 ac_dB
='\\)[ (].*,\\1define\\2'
23056 s/^[ ]*#[ ]*define[ ][ ]*//
23061 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23062 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23063 ' >>conftest.defines
23065 # Remove the space that was appended to ease matching.
23066 # Then replace #undef with comments. This is necessary, for
23067 # example, in the case of _POSIX_SOURCE, which is predefined and required
23068 # on some systems where configure will not decide to define it.
23069 # (The regexp can be short, since the line contains either #define or #undef.)
23071 s,^[ #]*u.*,/* & */,' >>conftest.defines
23073 # Break up conftest.defines:
23074 ac_max_sed_lines
=50
23076 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23077 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23078 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23080 ac_in
='$ac_file_inputs'
23081 ac_out
='"$tmp/out1"'
23082 ac_nxt
='"$tmp/out2"'
23086 # Write a here document:
23087 cat >>$CONFIG_STATUS <<_ACEOF
23088 # First, check the format of the line:
23089 cat >"\$tmp/defines.sed" <<\\CEOF
23090 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23091 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23095 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23097 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23098 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23099 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23100 grep . conftest.
tail >/dev
/null ||
break
23101 rm -f conftest.defines
23102 mv conftest.
tail conftest.defines
23104 rm -f conftest.defines conftest.
tail
23106 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23107 cat >>$CONFIG_STATUS <<\_ACEOF
23108 if test x
"$ac_file" != x-
; then
23109 echo "/* $configure_input */" >"$tmp/config.h"
23110 cat "$ac_result" >>"$tmp/config.h"
23111 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23112 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23113 echo "$as_me: $ac_file is unchanged" >&6;}
23116 mv "$tmp/config.h" $ac_file
23119 echo "/* $configure_input */"
23123 # Compute $ac_file's index in $config_headers.
23125 for _am_header
in $config_headers :; do
23126 case $_am_header in
23127 $ac_file |
$ac_file:* )
23130 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23133 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23134 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23135 X$ac_file : 'X\(//\)[^/]' \| \
23136 X$ac_file : 'X\(//\)$' \| \
23137 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23143 /^X\(\/\/\)[^/].*/{
23155 s/.*/./; q'`/stamp-h
$_am_stamp_count
23158 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23159 echo "$as_me: executing $ac_file commands" >&6;}
23164 case $ac_file$ac_mode in
23165 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23166 # Strip MF so we end up with the name of the file.
23167 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23168 # Check whether this is an Automake generated Makefile or not.
23169 # We used to match only the files named `Makefile.in', but
23170 # some people rename them; so instead we look at the file content.
23171 # Grep'ing the first line is not enough: some people post-process
23172 # each Makefile.in and add a new line on top of each file to say so.
23173 # So let's grep whole file.
23174 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23175 dirpart
=`$as_dirname -- "$mf" ||
23176 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23177 X"$mf" : 'X\(//\)[^/]' \| \
23178 X"$mf" : 'X\(//\)$' \| \
23179 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23185 /^X\(\/\/\)[^/].*/{
23201 # Extract the definition of DEPDIR, am__include, and am__quote
23202 # from the Makefile without running `make'.
23203 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23204 test -z "$DEPDIR" && continue
23205 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23206 test -z "am__include" && continue
23207 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23208 # When using ansi2knr, U may be empty or an underscore; expand it
23209 U
=`sed -n 's/^U = //p' < "$mf"`
23210 # Find all dependency output files, they are included files with
23211 # $(DEPDIR) in their names. We invoke sed twice because it is the
23212 # simplest approach to changing $(DEPDIR) to its actual value in the
23214 for file in `sed -n "
23215 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23216 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23217 # Make sure the directory exists.
23218 test -f "$dirpart/$file" && continue
23219 fdir
=`$as_dirname -- "$file" ||
23220 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23221 X"$file" : 'X\(//\)[^/]' \| \
23222 X"$file" : 'X\(//\)$' \| \
23223 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23229 /^X\(\/\/\)[^/].*/{
23242 { as_dir
=$dirpart/$fdir
23244 -*) as_dir
=.
/$as_dir;;
23246 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23250 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23251 *) as_qdir
=$as_dir;;
23253 as_dirs
="'$as_qdir' $as_dirs"
23254 as_dir
=`$as_dirname -- "$as_dir" ||
23255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23256 X"$as_dir" : 'X\(//\)[^/]' \| \
23257 X"$as_dir" : 'X\(//\)$' \| \
23258 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23264 /^X\(\/\/\)[^/].*/{
23277 test -d "$as_dir" && break
23279 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23280 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23281 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23282 { (exit 1); exit 1; }; }; }
23283 # echo "creating $dirpart/$file"
23284 echo '# dummy' > "$dirpart/$file"
23293 { (exit 0); exit 0; }
23295 chmod +x
$CONFIG_STATUS
23296 ac_clean_files
=$ac_clean_files_save
23299 # configure is writing to config.log, and then calls config.status.
23300 # config.status does its own redirection, appending to config.log.
23301 # Unfortunately, on DOS this fails, as config.log is still kept open
23302 # by configure, so config.status won't be able to write to it; its
23303 # output is simply discarded. So we exec the FD to /dev/null,
23304 # effectively closing config.log, so it can be properly (re)opened and
23305 # appended to by config.status. When coming back to configure, we
23306 # need to make the FD available again.
23307 if test "$no_create" != yes; then
23309 ac_config_status_args
=
23310 test "$silent" = yes &&
23311 ac_config_status_args
="$ac_config_status_args --quiet"
23313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23316 # would make configure fail if this is the last instruction.
23317 $ac_cs_success ||
{ (exit 1); exit 1; }